        @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;
            display: flex;
            /* text-align: center; */
            flex-direction: column;

        }

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

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

        a {
            text-decoration: none;
        }


        .menu-panel {
            width: 250px;
            background-color: #fff;
            border-left: 1px solid #d1d9e6;
            overflow-y: auto;
            transition: transform 0.3s ease;
            position: absolute;
            right: 0;
            z-index: 9999;
            height: 100%;
            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;
        }

        @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, #ed8a11, #e4c515);
            background-size: 200% 200%;
            animation: gradientMove 2.5s ease infinite;
        }

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


        /* 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;
        }        


        .container {
            /* display: flex; */
            flex: 1;
            overflow-y: auto; 
            /* height: 100vh; */
            position: relative;
            text-align: center;
        }

        .content {
            display: inline-block;
            flex: 1;
            padding: 0.5rem 0.5rem;
            /* margin: 0rem auto; */
            margin-bottom: 0rem;
            /* To prevent overlap with the navigation bar */
            /* align-items: center; */
            overflow-y: auto;
            text-align: center;
            background: #f7fbff;
        }

        .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;
        }

        .info-box a {
            margin-bottom: 0.5rem;
        }

        .info-box h2 {
            font-size: 1.2rem;
            color: #3a89c9;
            margin: 0 0 0rem;
        }

        .info-box p {
            font-size: 0.9rem;
            line-height: 1.4;
            margin: 0;
        }

        .btn-primary {
            display: block;
            background: linear-gradient(135deg, #3a89c9, #57c4f5);
            color: #fff;
            text-align: center;
            padding: 0.7rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 1rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        }

        a:active .btn-primary {
            color: #000;
        }

        a:active {
            transform: translateY(2px);
        }

        #viewFrame {
            position: fixed;
            display: inline-block;
            width: 90%;
            max-width: 600px;
            height: 80%;
            max-height: 550px;
            padding: 10px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            /* 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;
        }

        #noticePC {
            position: fixed;
            display: inline-block;
            width: 90%;
            max-width: 600px;
            height: 80%;
            max-height: 500px;
            padding: 10px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1.8vw;
            /* pointer-events: none; */
            background-color: rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            white-space: normal;
            font-weight: bold;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        input[type="button"] {
            font-size: 18px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            width: 98%;
            padding: 2px;
            background-color: #007BFF;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        input[type="button"]:active {
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
            transform: translateY(2px);
        }


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

        .clr~.clr {
            margin-left: 3px
        }

        .plus {
            position: relative;
            margin-left: 23px;
            color: #333;

        }

        /* .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} */
        .clr0 {
            background: #ffffff;
            color: black;
        }

        .clr1 {
            background: #e4a816
        }

        .clr2 {
            background: #1994da
        }

        .clr3 {
            background: #e86352
        }

        .clr4 {
            background: #8f8f8f
        }

        .clr5 {
            background: #5bb544
        }

        .view-text3 {
            /* font-family: Arial; */
            /* font-size: clamp(24px, 6vw, 32px); */
            font-size: 1.1rem;
            color: #333;
            text-align: center;
            font-weight: bold;
            /* text-shadow:
                -1px -1px 0 black,
                1px -1px 0 black,
                -1px 1px 0 black,
                1px 1px 0 black; */
        }

        .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;
        }

        .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;
        } */


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

            header h1 {
                font-size: 1.8rem;
            }

            .menu-panel {
                width: 350px;
            }

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

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

            /* .swiper-slide {
                font-size: 24px;
            } */
            
        }

        @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: 230px;
                /* width: 200px; */
            }

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

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


            .btn-primary2 {
        /* display: block; */
        background: linear-gradient(135deg, #3a89c9, #57c4f5);
        color: #fff;
        text-align: center;
        padding: 0 0.1rem;
        border-radius: 3px;
        text-decoration: none;
        font-weight: bold;
        margin-top: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* 1등 스타일 (금색) */
    .rank-1 {
        background-color: #FFD700;
        color: white;
        font-weight: bold;
        font-size: 1.2rem;
        border: 2px solid #B8860B;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 1.9);
    }

    /* 2등 스타일 (실버) */
    .rank-2 {
        background-color: #A9A9A9;
        color: white;
        font-weight: bold;
        font-size: 1.1rem;
        border: 2px solid #888;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 1.9);
    }

    /* 3등 스타일 (동색) */
    .rank-3 {
        background-color: #CD7F32;
        color: white;
        font-weight: bold;
        font-size: 1.1rem;
        border: 2px solid #8B4513;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 1.9);
    }

    .rank-4 {
        background: #A3D9A5;
        font-size: 1rem;
    }

    .rank-5 {
        background: #D9E3F0;
        font-size: 1rem;
    }

   #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;
    }    