            * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        body {
            background: #0b0e14;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            min-height: -webkit-fill-available;
            margin: 0;
            padding: 0;
        }

        html {
            height: -webkit-fill-available;
        }

        .game-container {
            max-width: 440px;
            width: 100%;
            background: #12171f;
            border-radius: 0;
            box-shadow: 0 20px 35px -8px rgba(0,0,0,0.8);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100vh;
            height: -webkit-fill-available;
            max-height: 100vh;
            max-height: -webkit-fill-available;
            border: none;
            position: relative;
        }

        /* ========== ЗАКРЕПЛЕННАЯ ШАПКА ========== */
        .header {
            background: #0f141c;
            padding: 8px 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #2f3a47;
            box-shadow: 0 2px 6px rgba(0,0,0,0.5);
            gap: 6px;
            flex-wrap: nowrap;
            min-height: 64px;
            position: sticky;
            top: 0;
            z-index: 100;
            width: 100%;
            flex-shrink: 0;
        }

        .currencies-wrapper {
            display: flex;
            gap: 5px;
            flex-wrap: nowrap;
            overflow-x: auto;
            flex: 1;
            justify-content: flex-start;
            -ms-overflow-style: none;
            scrollbar-width: none;
            padding: 2px 0;
        }

        .currencies-wrapper::-webkit-scrollbar {
            display: none;
        }

        .currency-block {
            display: flex;
            align-items: center;
            gap: 3px;
            background: #1a2330;
            padding: 5px 10px 5px 8px;
            border-radius: 30px;
            border: 1px solid #3e4c5e;
            box-shadow: 0 0 0 1px #ff880022, 0 1px 3px black;
            flex-shrink: 0;
        }

        .currency-icon {
            font-size: 18px;
            filter: drop-shadow(0 0 3px #ff9900);
            line-height: 1;
        }

        .currency-value {
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.2px;
            color: #ffb347;
            text-shadow: 0 0 5px #ff8800;
            background: #0c111a;
            padding: 2px 8px 2px 6px;
            border-radius: 30px;
            border-left: 2px solid #ff8800;
            white-space: nowrap;
        }

        .notification-btn {
            background: #1a2330;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid #3f4b5c;
            box-shadow: 0 0 0 1px #ff880033, 0 2px 4px black;
            font-size: 24px;
            cursor: pointer;
            transition: 0.1s ease;
            color: #e0b060;
            position: relative;
            flex-shrink: 0;
            z-index: 10;
        }

        .notification-btn:active {
            background: #253040;
        }

        .notification-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            background: #ff5500;
            color: white;
            font-size: 11px;
            font-weight: bold;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #0f141c;
            box-shadow: 0 0 8px #ff3300;
        }

        /* ========== ОКНО УВЕДОМЛЕНИЙ ========== */
        .notifications-panel {
            position: absolute;
            top: 72px;
            right: 12px;
            left: 12px;
            background: #1a232f;
            border-radius: 24px;
            border: 1px solid #ff880066;
            box-shadow: 0 15px 30px -10px black, 0 0 0 2px #ff880022;
            z-index: 200;
            overflow: hidden;
            backdrop-filter: blur(8px);
            display: none;
            max-width: calc(100% - 24px);
            width: auto;
            margin: 0 auto;
        }

        .notifications-panel.show {
            display: block;
        }

        .notifications-header {
            padding: 16px 18px;
            background: #0f1621;
            border-bottom: 1px solid #3f4f64;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #ffbc6c;
            font-weight: 600;
            font-size: 1rem;
        }

        .notifications-header button {
            background: none;
            border: none;
            color: #98a9bb;
            font-size: 1.4rem;
            cursor: pointer;
            padding: 0 6px;
        }

        .notifications-list {
            max-height: 320px;
            overflow-y: auto;
        }

        .notification-item {
            padding: 14px 18px;
            border-bottom: 1px solid #2a3442;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .notification-item.unread {
            background: #1f2e3f;
            border-left: 4px solid #ff8800;
        }

        .notif-icon {
            font-size: 24px;
            width: 40px;
            height: 40px;
            background: #252f3c;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #ff880066;
            flex-shrink: 0;
        }

        .notif-content {
            flex: 1;
            min-width: 0;
        }

        .notif-title {
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .notif-desc {
            color: #b0c2d5;
            font-size: 0.8rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .notif-time {
            color: #98a9bb;
            font-size: 0.7rem;
            margin-top: 3px;
        }

        /* ========== ТЕЛО (СКРОЛЛИРУЕМАЯ ОБЛАСТЬ) ========== */
        .body {
            flex: 1;
            overflow-y: auto;
            padding: 16px 14px 14px 14px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            background: #0e131b;
            position: relative;
            z-index: 1;
            -webkit-overflow-scrolling: touch;
        }

        .body::-webkit-scrollbar {
            width: 4px;
        }
        .body::-webkit-scrollbar-track {
            background: #1b212b;
        }
        .body::-webkit-scrollbar-thumb {
            background: #ff990070;
            border-radius: 10px;
        }

        .game-card {
            background: #18202b;
            border-radius: 22px;
            padding: 16px 18px;
            border: 1px solid #314154;
            box-shadow: 0 5px 0 #0a0e14, 0 8px 16px -5px black, 0 0 0 1px #ff880033;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            gap: 10px;
        }

        .card-info {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
            flex: 2;
        }

        .card-emoji {
            font-size: 30px;
            background: #252f3c;
            width: 48px;
            height: 48px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #ff880066;
            box-shadow: 0 0 8px #ff990030;
            flex-shrink: 0;
        }

        .card-text {
            min-width: 0;
            flex: 1;
        }

        .card-title {
            font-weight: 600;
            color: #eceff4;
            font-size: 1rem;
            letter-spacing: 0.2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-sub {
            color: #98a9bb;
            font-size: 0.75rem;
            display: block;
            margin-top: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-action {
            background: #1f2a37;
            border-radius: 30px;
            padding: 6px 14px;
            color: #ffbc6c;
            font-weight: 600;
            font-size: 0.9rem;
            border: 1px solid #ff880066;
            box-shadow: 0 0 8px #ff880022;
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
            white-space: nowrap;
        }

        .stats-mini {
            display: flex;
            justify-content: space-between;
            background: #111823;
            border-radius: 24px;
            padding: 10px 16px;
            border: 1px solid #2f3f51;
            box-shadow: 0 0 0 1px #ff880022;
            color: #a5b9ce;
            font-size: 0.8rem;
            gap: 6px;
            flex-wrap: wrap;
        }

        .stats-mini div {
            display: flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
        }

        .stats-mini div strong {
            color: #ffb457;
        }

        /* ========== ЗАКРЕПЛЕННЫЙ ФУТЕР ========== */
        .footer {
            background: #0f141e;
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 8px 10px 10px 10px;
            border-top: 1px solid #29323f;
            box-shadow: 0 -4px 6px rgba(0,0,0,0.5);
            position: sticky;
            bottom: 0;
            z-index: 100;
            width: 100%;
            flex-shrink: 0;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #7f8d9f;
            gap: 2px;
            font-size: 0.7rem;
            font-weight: 500;
            cursor: pointer;
            padding: 4px 0;
            transition: 0.2s;
            text-decoration: none;
        }

        .nav-icon {
            font-size: 26px;
            filter: drop-shadow(0 0 2px black);
        }

        .nav-item.active {
            color: #ffaa33;
            text-shadow: 0 0 6px #ff8800;
        }

        .nav-item.active .nav-icon {
            filter: drop-shadow(0 0 8px #ff9900);
        }

        .nav-item:hover {
            color: #e0b064;
        }

        .line {
            height: 1px;
            background: #29323f;
            margin: 4px 0;
        }

        @media (max-width: 380px) {
            .currency-value {
                font-size: 0.8rem;
                padding: 2px 5px 2px 4px;
            }
            .currency-block {
                padding: 4px 7px 4px 5px;
            }
            .card-title {
                font-size: 0.9rem;
            }
            .card-action {
                padding: 5px 10px;
                font-size: 0.8rem;
            }
            .nav-icon {
                font-size: 24px;
            }
        }