        @font-face {
            font-family: 'Noto Sans KR';
            font-style: normal;
            font-weight: 400;
            src: url('/css/font/noto-sans-kr-v36-latin-regular.woff2') format('woff2');
        }

        @font-face {
            font-family: 'Noto Sans KR';
            font-style: normal;
            font-weight: 700;
            src: url('/css/font/noto-sans-kr-v36-latin-700.woff2') format('woff2');
        }

        body {
            font-family: 'Noto Sans KR', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f8fb;
            color: #333;
            overflow:hidden;
            flex-direction: column;
            height: 100vh;
        }

        header {
            background: linear-gradient(135deg, #57c4f5, #3a89c9);
            color: #fff;
            text-align: center;
            padding: 0.7rem 0;
        }

        header h1 {
            font-size: 1.5rem;
            margin: 0;
        }

        .container {
            display: flex;
            flex: 1;
            /* overflow: hidden; */
            overflow-y: auto;
            position: relative;
            height: calc(100vh - 60px);
        }

        .menu-panel {
            width: 250px;
            background-color: #fff;
            border-left: 1px solid #d1d9e6;
            /* overflow-y: auto; */
            transition: transform 0.3s ease;
            position: absolute;
            right: 0;
            height: 100%;
            z-index: 9999;
            transform: translateX(0);
        }

        .menu-panel.closed {
            transform: translateX(calc(100% - 10px));
            /* Leave 10px visible */
            /* background: linear-gradient(to top, rgba(57, 196, 245, 1) 60%, rgba(255, 255, 255, 0) 0%); */
            background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(64, 150, 210, 1) 100%);
            /* background-color: #57c4f5; Background for the remaining 10px */
            /* animation: barGauge 1s ease-in-out; */
        }

        @keyframes barGauge {
            0% {
                background: linear-gradient(to top, rgba(57, 196, 245, 1) 0%, rgba(255, 255, 255, 0) 0%);
            }

            50% {
                background: linear-gradient(to top, rgba(57, 196, 245, 1) 0%, rgba(255, 255, 255, 0) 40%);
            }

            100% {
                background: linear-gradient(to top, rgba(57, 196, 245, 1) 40%, rgba(255, 255, 255, 0) 60%);
            }
        }

        .menu-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding: 1rem;
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .menu-panel.closed .menu-list {
            opacity: 0;
            pointer-events: none;
        }

        .menu-item {
            background-color: #fff;
            border: 1px solid #d1d9e6;
            border-radius: 8px;
            padding: 0.8rem;
            z-index: 1000;
            text-decoration: none;
            color: #333;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.2s ease;
        }

        .menu-item:hover {
            background-color: #f0f8ff;
        }

        .menu-item .icon {
            font-size: 1.2rem;
            color: #3a89c9;
        }

        .content-panel {
            display: flex;
            justify-content: center;
            /* 가로 가운데 정렬 */
            flex: 1;
            padding: 0.5rem;
            overflow-y: auto;
            text-align: center;
            /* height: 100vh; */
        }

        .content-panel h2 {
            /* font-size: 1.5rem; */
            /* margin-top: 0rem; */
            /* margin-bottom: 0rem; */
            font-size: 1.2rem;
            color: #3a89c9;
            margin: 0 0 0.5rem;

        }

        @keyframes gradientMove {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .toggle-button {
            font-size: 1.5rem;
            position: absolute;
            top: 10px;
            right: 20px;
            /* background-color: #3a89c9; */
            color: #fff;
            border: 1px solid #57C4F5;
            border-radius: 4px;
            padding: 0.3rem 0.6rem;
            font-weight: bold;
            cursor: pointer;
            z-index: 1000;
            transform: scaleX(1.3);
            transition: background 0.2s ease;
            background: linear-gradient(135deg, #418a44, #a2e0a5);
            background-size: 200% 200%;
            animation: gradientMove 2.5s ease infinite;
        }

        .toggle-button:hover {
            background-color: #336699;
        }

        .key_clr1 {
            color: #007bc3 !important
        }

        /* blue */
        .key_clr2 {
            color: #dc1f1f !important
        }

        /* red */
        .key_clr3 {
            color: #e03f0e !important
        }

        /* orange */
        .key_clr4 {
            color: #12a19a !important
        }

        /* green */


        .winner_number {
            padding: 1px 1px 1px;
            text-align: center;
            background: #f7fbff;
            max-width: 450px;
            text-align: center;
            width: 100%;
            min-width: 310px;
            max-width: 640px;
            padding-bottom: 78px;            
        }

        .winner_number h3 {
            font-size: 17px;
            color: #333;
            letter-spacing: -0.025em
        }

        .winner_number .date {
            display: block;
            padding-top: 1px;
            /* font-weight: normal; */
            font-size: 14px;
            text-align: center;
            color: #888
        }

        .winner_number .bx_winner {
            text-align: center;
            margin-top: 1px
        }

        .winner_number .bx_winner .tit {
            font-weight: 700;
            font-size: 18px;
            color: #333;
            letter-spacing: -0.03em;

        }

        .winner_number .bx_winner .list {
            padding-top: 13px;
            display: inline-block;
        }

        /* .winner_number .bx_winner .list .clr {display:inline-block; width:30px; height:30px; line-height:30px; font-weight:700; font-size:12px; color:#fff; letter-spacing:-0.025em; vertical-align:middle; border-radius:100%} */
        .winner_number .bx_winner .list .clr {
            display: inline-block;
            width: 31px;
            height: 31px;
            line-height: 25px;
            font-weight: 700;
            font-size: 18px;
            color: #fff;
            letter-spacing: -0.025em;
            vertical-align: middle;
            border-radius: 100%;
            box-shadow: 0 2px 4px rgba(0, 255, 0, 0.4);
            text-align: center;
            /* border: 1px solid green; */
        }

        .winner_number .bx_winner .list .clr~.clr {
            margin-left: 0px
        }

        .winner_number .bx_winner .list .plus {
            position: relative;
            margin-left: 0px
        }

        /* .winner_number .bx_winner .list .clr.plus :after {content:""; position:absolute; left:-17px; top:50%; z-index:1; width:9px; height:9px; margin-top:-5px; background-size:9px auto} */
        .winner_number .bx_winner .list .clr0 {
            background: #ffffff;
            color: black;
        }

        .winner_number .bx_winner .list .clr1 {
            background: #e4a816
        }

        .winner_number .bx_winner .list .clr2 {
            background: #1994da
        }

        .winner_number .bx_winner .list .clr3 {
            background: #e86352
        }

        .winner_number .bx_winner .list .clr4 {
            background: #8f8f8f
        }

        .winner_number .bx_winner .list .clr5 {
            background: #5bb544
        }

        .clr~.clr {
            margin-left: 0px;
        }

        .winner_number .bx_notice {
            margin-top: 2px;
            height: 77px;
            padding: 11px 0;
            text-align: center;
            background: #fff;
            box-shadow: 0 1px 1px rgba(0, 0, 0, .15)
        }

        .winner_number .bx_notice span {
            display: block;
            padding-top: 6px;
            font-size: 11px
        }

        .winner_number .bx_notice.winner {
            height: auto
        }

        .winner_number .bx_notice.winner strong {
            display: inline-block;
            line-height: 1.2em;
            font-size: 20px;
            color: #333;
            letter-spacing: -0.03em
        }

        .winner_number .bx_notice.winner span {
            padding: 0 0 7px;
            font-size: 30px;
            letter-spacing: 0
        }

        .winner_number .bx_notice.winner span.single {
            line-height: 1.3em;
            padding: 0
        }

        .winner_number .bx_notice.winner strong>span {
            display: inline;
            padding: 0;
            font-size: 20px
        }

        .winner_number .bx_notice.winner strong+span {
            padding: 7px 0 0
        }

        .result_winning {
            color: #28a745;
            font-weight: bold;
            background: #ffd700;
            border-radius: 2px;
            font-size: 20px;
            text-shadow:
                -1px -1px 0 black,
                /* 왼쪽 위 */
                1px -1px 0 black,
                /* 오른쪽 위 */
                -1px 1px 0 black,
                /* 왼쪽 아래 */
                1px 1px 0 black;
            /* 오른쪽 아래 */
        }

        .result_loss {
            color: #ffffff;
            font-weight: bold;
            background: #000000;
            border-radius: 3px;
        }

        .select_round {
            font-size: 1.2rem;
            color: #3a89c9;
            background-color: white;
            font-weight: bold;

        }

        .select_round option {
            background-color: white;
            color: #007bc3 !important;
            font-size: 23px;

        }

        .select_round2 {
            font-size: 1.2rem;
            color: #e03f0e !important;
            background-color: white;
            font-weight: bold;

        }

        .select_round2 option {
            background-color: white;
            color: #007bc3 !important;
            font-size: 23px;

        }


        .info-box {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            padding: 0.5rem;
            margin-bottom: 1rem;
            text-align: left;
        }


        .limit-text {
            display: inline-block;
            max-width: 65px;        /* 제한 너비 */
            white-space: nowrap;
            overflow: hidden;
            vertical-align: bottom;
            cursor: pointer;
        }

        @media (min-width: 1024px) {
            .winner_number {
                width: 640px;
                max-width: 640px;
            }

            header h1 {
                font-size: 2rem;
            }

            .menu-panel {
                width: 350px;
            }

            .menu-item {
                padding: 0.6rem;
                font-size: 1.2rem;
            }

            .toggle-button {
                font-size: 1.5rem;
                padding: 0.3rem 0.6rem;
            }
        }

        @media (max-width: 768px) {
            header h1 {
                font-size: 1.5rem;
            }

            .menu-panel {
                width: 300px;
            }

            .menu-item {
                padding: 0.6rem;
                font-size: 1.1rem;
            }

            .toggle-button {
                font-size: 1.2rem;
                padding: 0.2rem 0.4rem;
            }
        }

        @media (max-width: 480px) {
            header h1 {
                font-size: 1.2rem;
            }

            .menu-panel {
                width: 250px;
            }

            .menu-item {
                padding: 0.5rem;
                font-size: 1.0rem;
            }

            .toggle-button {
                font-size: 1.2rem;
                padding: 0.1rem 0.3rem;
            }
        }

        @media (max-width: 330px) {
            header h1 {
                font-size: 1.1rem;
            }

            .menu-panel {
                width: 250px;
            }

            .menu-item {
                padding: 0.5rem;
                font-size: 1.0rem;
            }

            .toggle-button {
                font-size: 1.1rem;
                padding: 0.1rem 0.3rem;
            }


        }


        #pastResultViewer,
        #pastResultViewer2 {
            /* position: fixed; */
            display: inline-block;
            width: 94%;
            min-width: 280px;
            max-width: 600px;
            height: 80%;
            max-height: 400px;
            padding: 4px;
            text-align: left;
            /* top: 50%;
            left: 50%; */
            /* transform: translate(-50%, -50%); */
            /* pointer-events: none; */
            background-color: rgba(211, 211, 211, 0.7);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            border-radius: 4px;
        }

        #cameraViewer {
            position: fixed;
            display: inline-block;
            width: 80%;
            max-width: 600px;
            height: 430px;
            max-height: 500px;
            padding: 10px;
            top: 50%;
            left: 50%;
            z-index: 9999;
            transform: translate(-50%, -57%);
            /* pointer-events: none; */
            background-color: rgba(90, 90, 90, 0.9);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            border-radius: 8px;
        }

        .new-label {
            display: inline-flex;
            /* 텍스트와 자연스럽게 배치 */
            align-items: flex-end;
            /* 텍스트의 하단에 맞춰 정렬 */
            color: red;
            /* 빨간색 텍스트 */
            font-size: 12px;
            /* 라벨 크기 */
            font-weight: bold;
            /* 굵은 텍스트 */
            margin-right: 5px;
            /* 텍스트와 간격 */
            transform: translateY(-50%);
            /* 세로로 위쪽 배치 */
            line-height: 1;
            /* 줄 간격 최소화 */
            margin-right: -1px;
            pointer-events: none;
        }

        .new-label2 {
            color: red;
            font-size: 14px;
            position: absolute;
            top: 4px;
            right: 5px;
            z-index: 9999;
            padding-top:0px;
            padding-bottom:3px;
            height:16px;
            line-height:16px;
            background-color: rgba(232, 232, 232, 0.6);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            border-radius: 4px;
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            pointer-events: none;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background: #ffffff;
            border-radius: 4px;
            overflow: hidden;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 5px;
            text-align: center;
        }
        th {
            background-color: #3a89c9;
            color: #ffffff;
        }
        td {
            background-color: #EBEFF2;
            color: #1b4f72;
        }


        
        .bottom-menu-bar {

            background-color: #fff;
            border-top: 2px solid #d1d9e6;
            box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
            position: fixed;
            bottom: 0;
            width: 100%;
            display: flex;
            justify-content: space-around;
            padding: 0.1rem 0;
            align-items: center;
            /* height: 50px;
      line-height: 50px; */
            z-index: 99999;
        }

        @keyframes border-glow {
            0% {
                border-image-source: linear-gradient(90deg, orange, yellow, green, blue);
                border-image-slice: 1;
            }

            50% {
                border-image-source: linear-gradient(270deg, orange, yellow, green, blue);
                border-image-slice: 1;
            }

            100% {
                border-image-source: linear-gradient(90deg, orange, yellow, green, blue);
                border-image-slice: 1;
            }
        }

        .bottom-menu-bar-ani {
            animation: border-glow 4s linear infinite;
        }

        .bottom-menu-bar a {
            color: #333;
            text-decoration: none;
            font-size: 0.9rem;
            text-align: center;
            padding: 0;
            /* padding: 1px 1px; */
            /* font-size: 17px; */
            /* text-shadow:
                -1px -1px 0 black,
                1px -1px 0 black,
                -1px 1px 0 black,
                1px 1px 0 black; */
            transition: background-color 0.3s;
        }

        .bottom-menu-bar a span {
            display: block;
            font-size: 1.2rem;
            align-items: center;
            /* margin-bottom: 0.2rem; */
        }

        .bottom-menu-bar a.active {
            /* background-color: #f7f7f7; */
            color: #333;
            font-size: 22px;
            font-weight: bold;
            text-shadow: none;
        }

        .bottom-menu-bar a.active span {
            text-shadow:
                -1px -1px 0 black,
                1px -1px 0 black,
                -1px 1px 0 black,
                1px 1px 0 black;
        }


        .bottom-menu-item {
            color: white;
            text-decoration: none;
            font-size: 18px;
            padding: 10px 15px;
            transition: color 0.3s;
        }

        /* .bottom-menu-item:hover {
            color: #ff4500;
        } */

        #pwa-install-overlay {
            position: fixed;
            top: 1px;
            left: 1px;
            z-index: 9999;
            width: 30px;
            height: 30px;
            background: transparent;
            border: none;
            padding: 0;
            cursor: pointer;
            outline: none;
            /* display: none; */
            align-items: center;
            justify-content: center;
        }

        #lottoi-logo {
            z-index: 100;
            width: 100%;
            height: 100%;
            will-change: transform;
            pointer-events: none;
        }


        /* Swiper 컨테이너 스타일 */
        .swiper {

        width: 100%;
        /* height: calc(100vh - 60px); */
        /* height: 100vh; */
        }

        .swiper-slide {
        text-align: center;
        /* font-size: 24px; */
        background: #f7f7f7;

        /* Center slide text vertically */
        /* display: flex; */
        justify-content: center;
        align-items: center;
        }



.select-glow {
  /* padding: 10px 14px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 0 5px #00c3ff; */
  animation: glowEffect 1.5s infinite alternate;
}

@keyframes glowEffect {
  from {
    box-shadow: 0 0 4px #00FFFF;
  }
  to {
    box-shadow: 0 0 12px #70FF5C, 0 0 20px #00FFFF;
  }
}

.lucky-button {
  padding: 16px 32px;
  font-size: 20px;
  font-weight: bold;
  color: #fff59d !important;
  color: #fffde7  !important; /* 밝은 아이보리 톤의 행운 색상 */
  text-shadow: 1px 1px 2px #33691e, 0 0 6px #2e7d32;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background: linear-gradient(135deg, #00c853, #64dd17, #aeea00); /* 녹색계 그라데이션 */
  background-size: 200% 200%;
  box-shadow: 0 0 10px rgba(100, 221, 23, 0.6);
  animation: luckyBreath 2s ease-in-out infinite, gradientShift 5s linear infinite;
}

@keyframes luckyBreath {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(100, 221, 23, 0.6);
  }
  50% {
    transform: scale(1.10);
    box-shadow: 0 0 20px rgba(174, 234, 0, 0.7);
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
