        :root {
            --bg-color: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
            --panel-bg: linear-gradient(to top, #050505, #1a1a1a);
            --text-color: #f8fafc;
            --text-sub: #cbd5e1;
            --card-bg: rgba(30, 41, 59, 0.7);
            --tile-gradient: linear-gradient(145deg, #1e293b, #0f172a);
            --border: rgba(255, 255, 255, 0.12);
            --accent: #22c55e;
            --gold: #f59e0b;
            --success: #22c55e;
            --result-border: rgba(251, 191, 36, 0.55);
            --grid-overlay-from: rgba(15, 23, 42, 0.32);
            --grid-overlay-to: rgba(15, 23, 42, 0.05);
            --tile-overlay-from: rgba(148, 163, 184, 0.14);
            --tile-overlay-to: rgba(15, 23, 42, 0.24);
            --header-safe-top: 64px;
            --tile-revealed-bg: rgba(245, 158, 11, 0.18);
            --tile-revealed-border: var(--gold);
            --tile-revealed-text: var(--gold);
        }

        [data-dark-theme],
        [data-light-theme] {
            --result-border: var(--border);
        }

        [data-theme="dark"][data-dark-theme="dark-aurora"] {
            --bg-color: radial-gradient(circle at 22% 0%, #1f2b55 0%, #111d3a 48%, #020617 100%);
            --panel-bg: linear-gradient(180deg, #171f3f 0%, #121b34 62%, #020617 100%);
            --text-color: #e6ebff;
            --text-sub: #b8c1e0;
            --card-bg: rgba(24, 33, 64, 0.74);
            --tile-gradient: linear-gradient(145deg, #25345f, #182746);
            --border: rgba(122, 137, 178, 0.24);
            --accent: #8ea2d1;
            --gold: #7ba4d4;
        }

        [data-theme="dark"][data-dark-theme="dark-sunset"] {
            --bg-color: radial-gradient(circle at 24% 0%, #4c2d26 0%, #2f2220 44%, #111827 100%);
            --panel-bg: linear-gradient(180deg, #3c2824 0%, #2a2120 62%, #111827 100%);
            --text-color: #fff2e8;
            --text-sub: #e0c2b1;
            --card-bg: rgba(54, 34, 30, 0.74);
            --tile-gradient: linear-gradient(145deg, #4d3029, #342725);
            --border: rgba(181, 126, 91, 0.24);
            --accent: #d0926d;
            --gold: #c4a072;
        }

        [data-theme="dark"][data-dark-theme="dark-mint"] {
            --bg-color: radial-gradient(circle at 22% 0%, #1f4c45 0%, #173a37 44%, #042f2e 100%);
            --panel-bg: linear-gradient(180deg, #1c413c 0%, #163533 62%, #042f2e 100%);
            --text-color: #e7f8f2;
            --text-sub: #b6d9cd;
            --card-bg: rgba(22, 62, 56, 0.74);
            --tile-gradient: linear-gradient(145deg, #245a52, #1a4741);
            --border: rgba(111, 169, 156, 0.24);
            --accent: #6fb8a8;
            --gold: #79b79f;
        }

        [data-theme="dark"][data-dark-theme="dark-peach"] {
            --bg-color: radial-gradient(circle at 22% 0%, #5a392f 0%, #3b2b26 42%, #1f2937 100%);
            --panel-bg: linear-gradient(180deg, #46312b 0%, #322824 62%, #1f2937 100%);
            --text-color: #fff3ea;
            --text-sub: #dec8ba;
            --card-bg: rgba(70, 45, 37, 0.76);
            --tile-gradient: linear-gradient(145deg, #5a3f35, #43322d);
            --border: rgba(186, 137, 104, 0.24);
            --accent: #d2a07b;
            --gold: #d9b27e;
        }

        [data-theme="dark"][data-dark-theme="dark-ocean"] {
            --bg-color: radial-gradient(circle at 22% 0%, #1a3456 0%, #132a45 44%, #0f172a 100%);
            --panel-bg: linear-gradient(180deg, #182f4f 0%, #132845 62%, #0f172a 100%);
            --text-color: #e7f0fb;
            --text-sub: #b7c9de;
            --card-bg: rgba(22, 46, 76, 0.74);
            --tile-gradient: linear-gradient(145deg, #23476f, #1a3658);
            --border: rgba(114, 154, 191, 0.24);
            --accent: #7fa7cf;
            --gold: #7eaecf;
        }

        [data-theme="light"][data-light-theme="aurora"] {
            --bg-color: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 48%, #e0f2fe 100%);
            --panel-bg: linear-gradient(180deg, #ffffff 0%, #f5f3ff 60%, #e0f2fe 100%);
            --text-color: #1e1b4b;
            --text-sub: #4c1d95;
            --card-bg: rgba(255, 255, 255, 0.9);
            --tile-gradient: linear-gradient(145deg, #ffffff, #eef2ff);
            --border: rgba(139, 92, 246, 0.2);
            --accent: #7c3aed;
            --gold: #0ea5e9;
        }

        [data-theme="light"][data-light-theme="sunset"] {
            --bg-color: linear-gradient(180deg, #fff7ed 0%, #ffedd5 45%, #fde68a 100%);
            --panel-bg: linear-gradient(180deg, #ffffff 0%, #fff7ed 60%, #ffedd5 100%);
            --text-color: #7c2d12;
            --text-sub: #9a3412;
            --card-bg: rgba(255, 251, 235, 0.92);
            --tile-gradient: linear-gradient(145deg, #ffffff, #ffedd5);
            --border: rgba(249, 115, 22, 0.2);
            --accent: #ea580c;
            --gold: #f59e0b;
        }

        [data-theme="light"][data-light-theme="mint"] {
            --bg-color: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 48%, #ccfbf1 100%);
            --panel-bg: linear-gradient(180deg, #ffffff 0%, #ecfdf5 60%, #d1fae5 100%);
            --text-color: #064e3b;
            --text-sub: #065f46;
            --card-bg: rgba(247, 255, 253, 0.94);
            --tile-gradient: linear-gradient(145deg, #ffffff, #d1fae5);
            --border: rgba(16, 185, 129, 0.2);
            --accent: #0f766e;
            --gold: #10b981;
        }

        [data-theme="light"][data-light-theme="peach"] {
            --bg-color: linear-gradient(180deg, #fff7ed 0%, #ffedd5 52%, #ffe4d6 100%);
            --panel-bg: linear-gradient(180deg, #ffffff 0%, #fff7ed 60%, #ffedd5 100%);
            --text-color: #7c2d12;
            --text-sub: #9a3412;
            --card-bg: rgba(255, 250, 247, 0.95);
            --tile-gradient: linear-gradient(145deg, #ffffff, #ffedd5);
            --border: rgba(251, 146, 60, 0.2);
            --accent: #f97316;
            --gold: #fb923c;
        }

        [data-theme="light"][data-light-theme="ocean"] {
            --bg-color: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 48%, #dbeafe 100%);
            --panel-bg: linear-gradient(180deg, #ffffff 0%, #f0f9ff 60%, #dbeafe 100%);
            --text-color: #1e3a8a;
            --text-sub: #1d4ed8;
            --card-bg: rgba(248, 251, 255, 0.95);
            --tile-gradient: linear-gradient(145deg, #ffffff, #dbeafe);
            --border: rgba(59, 130, 246, 0.2);
            --accent: #2563eb;
            --gold: #0ea5e9;
        }

        [data-theme="light"] {
            --grid-overlay-from: rgba(255, 255, 255, 0.38);
            --grid-overlay-to: rgba(148, 163, 184, 0.08);
            --tile-overlay-from: rgba(255, 255, 255, 0.48);
            --tile-overlay-to: rgba(148, 163, 184, 0.1);
            --tile-revealed-bg: rgba(255, 255, 255, 0.74);
            --tile-revealed-border: var(--accent);
            --tile-revealed-text: var(--text-color);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            min-height: calc(var(--vh, 1vh) * 100);
            background: var(--bg-color);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            font-family: "Segoe UI", system-ui, sans-serif;
            color: var(--text-color);
            overflow-x: hidden;
            transition: background 0.35s ease, color 0.35s ease;
        }

        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 120;
            background: rgba(2, 6, 23, 0.78);
            border-bottom: 1px solid rgba(148, 163, 184, 0.28);
            backdrop-filter: blur(8px);
        }

        [data-theme="light"] .site-header {
            background: rgba(255, 255, 255, 0.82);
            border-bottom-color: rgba(148, 163, 184, 0.45);
        }

        .site-header__inner {
            width: min(100%, 920px);
            margin: 0 auto;
            min-height: 44px;
            padding: calc(env(safe-area-inset-top, 0px) + 8px) 14px 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .site-brand {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.95rem;
            font-weight: 800;
            letter-spacing: 0.3px;
            color: #e2e8f0;
            text-transform: uppercase;
        }

        [data-theme="light"] .site-brand {
            color: #0f172a;
        }

        .site-brand__emoji {
            font-size: 1rem;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
        }

        .site-status {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.6px;
            text-transform: uppercase;
            color: #cbd5e1;
            white-space: nowrap;
        }

        [data-theme="light"] .site-status {
            color: #334155;
        }

        .main-content {
            width: 100%;
            min-height: calc(var(--vh, 1vh) * 100);
            padding: calc(var(--header-safe-top) + 18px) 16px 22px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            gap: 0;
        }

        .main-content::before,
        .main-content::after {
            content: "";
            display: block;
            width: 1px;
            height: 0;
        }

        .header {
            text-align: center;
            width: min(100%, 720px);
        }

        .header h1 {
            font-size: 0.82rem;
            letter-spacing: 4px;
            color: var(--accent);
            text-transform: uppercase;
            margin-bottom: 10px;
            font-weight: 800;
        }

        .header p {
            font-size: clamp(1.45rem, 6.4vw, 1.95rem);
            font-weight: 900;
            line-height: 1.08;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: clamp(10px, 2vw, 18px);
            padding: clamp(8px, 3vw, 24px);
            width: min(100%, 560px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
        }

        .tile {
            aspect-ratio: auto;
            min-height: clamp(132px, 18vw, 190px);
            background:
                linear-gradient(165deg, var(--tile-overlay-from), var(--tile-overlay-to)),
                var(--tile-gradient);
            border-radius: 8px;
            border: 1px solid var(--border);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 10px 5px;
            text-align: center;
            color: var(--text-color);
            transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
        }

        .tile:hover {
            transform: translateY(-2px);
            border-color: rgba(255, 255, 255, 0.28);
        }

        .gift-icon {
            font-size: clamp(46px, 9vw, 62px);
            line-height: 1;
            animation: giftPulse 1.4s ease-in-out infinite;
            filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.3));
        }

        .tile.revealed {
            pointer-events: none;
            border-color: var(--tile-revealed-border);
            background: var(--tile-revealed-bg) !important;
            color: var(--tile-revealed-text);
            padding: 12px 5px;
            animation: revealPop 0.34s ease forwards;
        }

        .tile.revealed .gift-icon {
            display: none;
        }

        .tile-prize-emoji {
            font-size: clamp(28px, 5.2vw, 38px);
            line-height: 1;
            display: block;
            margin-bottom: 10px;
        }

        .tile-prize-label {
            font-size: clamp(0.9rem, 2.6vw, 1.16rem);
            font-weight: 900;
            line-height: 1.16;
            text-transform: uppercase;
            padding: 0 1px;
            display: block;
            max-width: 100%;
            white-space: normal;
            overflow-wrap: normal;
            word-break: normal;
            hyphens: manual;
        }

        [data-theme="dark"] .tile.revealed .tile-prize-label {
            color: #ffffff;
        }

        [data-theme="light"] .tile.revealed .tile-prize-label {
            color: var(--tile-revealed-text);
        }

        @media (max-width: 520px) {
            .tile {
                min-height: clamp(122px, 30vw, 156px);
            }

            .tile-prize-label {
                font-size: clamp(0.82rem, 3.15vw, 1rem);
            }
        }

        @media (max-width: 390px) {
            .grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                width: min(100%, 420px);
            }
        }

        @keyframes giftPulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.12);
            }
        }

        @keyframes revealPop {
            from {
                transform: scale(0.92);
                opacity: 0.75;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .desktop-footer {
            display: none;
            width: calc(100% - 32px);
            max-width: 720px;
            margin: 24px auto 16px;
            padding: 16px;
            border-top: 1px solid rgba(148, 163, 184, 0.4);
            border-radius: 12px;
            background: rgba(2, 6, 23, 0.88);
            backdrop-filter: blur(8px);
            color: #cbd5e1;
            font-size: 12px;
            line-height: 1.35;
        }

        [data-theme="light"] .desktop-footer {
            border-top-color: rgba(100, 116, 139, 0.35);
            background: rgba(255, 255, 255, 0.9);
            color: #334155;
        }

        .term-legal {
            margin-top: 10px;
            font-weight: 700;
            color: inherit;
        }

        @media (min-width: 769px) {
            .desktop-footer {
                display: block;
                position: fixed;
                left: 50%;
                bottom: 16px;
                margin: 0;
                transform: translateX(-50%);
                z-index: 110;
            }

            .main-content {
                padding-bottom: 150px;
            }
        }

        @media (min-width: 768px) {
            .main-content {
                justify-content: center;
                gap: clamp(24px, 2.6vh, 38px);
            }

            .main-content::before,
            .main-content::after {
                display: none;
            }
        }

        .overlay {
            position: fixed;
            inset: 0;
            background: rgba(2, 6, 23, 0.72);
            display: none;
            z-index: 1500;
            backdrop-filter: blur(10px);
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        [data-theme="light"] .overlay {
            background: rgba(2, 6, 23, 0.24);
        }

        .overlay.show {
            display: flex;
            animation: fadeIn 0.26s ease-out;
        }

        .result-card {
            width: min(100%, 460px);
            background: var(--panel-bg);
            border: 2px solid var(--result-border);
            border-radius: 24px;
            padding: 24px 18px 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            box-shadow:
                0 18px 42px rgba(0, 0, 0, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        .status-title {
            font-size: clamp(1.45rem, 5vw, 2.05rem);
            font-weight: 950;
            color: var(--success);
            letter-spacing: 0.4px;
            margin: 0;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .status-title-icon {
            line-height: 1;
            font-size: 0.92em;
        }

        .status-prize {
            --status-prize-size: clamp(1.5rem, 6vw, 2.02rem);
            --status-prize-line-height: 1.08;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            width: min(100%, 360px);
            margin: 0;
            padding: 0;
            color: var(--text-color);
            letter-spacing: 0.15px;
        }

        .status-prize-icon {
            font-size: calc(var(--status-prize-size) * (var(--status-prize-line-height) + 1));
            line-height: 1;
        }

        .status-prize-text {
            font-size: var(--status-prize-size);
            font-weight: 950;
            line-height: var(--status-prize-line-height);
            text-align: center;
            display: inline-block;
            width: auto;
            color: #ffffff;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        [data-theme="light"] .result-card {
            box-shadow:
                0 14px 30px rgba(15, 23, 42, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.65);
        }

        [data-theme="light"] .status-prize-text {
            color: #0f172a;
        }

        .status-note {
            color: var(--text-sub);
            font-size: 0.92rem;
            max-width: 360px;
            line-height: 1.42;
            margin: 0;
        }

        .btn-action {
            display: inline-flex;
            width: 100%;
            max-width: 360px;
            min-height: 108px;
            margin: 0;
            padding: 16px 58px 16px 22px;
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: #fff;
            text-decoration: none;
            border-radius: 16px;
            font-weight: 900;
            font-size: 1.45rem;
            text-transform: uppercase;
            line-height: 1.2;
            text-align: center;
            position: relative;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
            border: 0;
            cursor: pointer;
            font-family: inherit;
        }

        .btn-action::after {
            content: "➜";
            position: absolute;
            right: 26px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.6rem;
            line-height: 1;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.96);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }
