html.cp-on {
    --tg-bg: #05060f;
    --tg-surface: #10182b;
    --tg-ink: #e6f6ff;
    --tg-muted: #8aa4c8;
    --tg-line: #1e3a5f;
    --tg-accent: #22d3ee;
    --tg-accent-2: #e879f9;
    --tg-soft: #132033;
}
html.cp-on,
html.cp-on body {
    background: #05060f !important;
    color: #e6f6ff;
    scrollbar-color: #22d3ee #05060f;
}
html.cp-on ::-webkit-scrollbar-thumb { background: #22d3ee; }

html.cp-on .cp-sky {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(420px 220px at 82% 0%, rgba(232, 121, 249, .22), transparent 70%),
        radial-gradient(480px 260px at 8% 8%, rgba(34, 211, 238, .18), transparent 72%),
        linear-gradient(180deg, #070b18 0%, #05060f 55%, #070814 100%);
}
html.cp-on .cp-sky::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(180deg, rgba(34, 211, 238, .05) 0 1px, transparent 1px 4px);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent);
}
html.cp-on .cp-grid {
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -8%;
    height: 42%;
    background:
        linear-gradient(rgba(34, 211, 238, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 121, 249, .28) 1px, transparent 1px);
    background-size: 100% 28px, 48px 100%;
    transform: perspective(280px) rotateX(62deg);
    transform-origin: center top;
    opacity: .45;
}
html.cp-on .cp-city {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 72' preserveAspectRatio='none'><path fill='%23070b14' d='M0 72V40h14v-16h10v16h18V28h12v12h8V18h16v22h20V34h10v6h14V22h12v18h22V30h14v10h16V14h18v26h12V36h10v36z'/><path fill='%2322d3ee' d='M18 30h2v4h-2zM52 22h2v4h-2zM96 16h2v4h-2zM148 26h2v4h-2zM196 12h2v4h-2z'/><path fill='%23e879f9' d='M30 36h2v3h-2zM78 40h2v3h-2zM170 32h2v3h-2zM214 28h2v3h-2z'/></svg>") center bottom / 240px 72px repeat-x;
}
html.cp-on .tg-header,
html.cp-on .tg-main,
html.cp-on .tg-footer { position: relative; z-index: 1; }
html.cp-on .tg-header {
    z-index: 40;
    background: rgba(7, 11, 20, .9);
    border-bottom: 1px solid #22d3ee;
    box-shadow: 0 0 18px rgba(34, 211, 238, .25);
    backdrop-filter: blur(10px);
}
html.cp-on .tg-brand-name,
html.cp-on .tg-header-nav a,
html.cp-on .tg-support,
html.cp-on .tg-header { color: #e6f6ff; }
html.cp-on .tg-header-search input,
html.cp-on .form-input,
html.cp-on .tg-mobile-search {
    background: #0c1424 !important;
    color: #e6f6ff !important;
    border-color: #1e3a5f !important;
}
html.cp-on .form-input:focus,
html.cp-on .tg-header-search input:focus {
    border-color: #22d3ee !important;
    box-shadow: 0 0 0 2px rgba(34, 211, 238, .2);
}
html.cp-on .form-input-invalid {
    background: #1a1020 !important;
    border-color: #fb7185 !important;
}
html.cp-on .tg-panel,
html.cp-on .tg-checkout,
html.cp-on .tg-sum,
html.cp-on .package-item,
html.cp-on .shop-package-item,
html.cp-on .card-type,
html.cp-on .tg-hero-card {
    background: #10182b !important;
    border-color: #1e3a5f !important;
    color: #e6f6ff !important;
}
html.cp-on .tg-panel-head { border-bottom-color: #1e3a5f; }
html.cp-on .tg-panel-head h3,
html.cp-on .tg-login-label label,
html.cp-on .tg-panel label,
html.cp-on .tg-shop-name,
html.cp-on .tg-pkg-price { color: #e6f6ff !important; }
html.cp-on .package-item[data-headlessui-state="checked"],
html.cp-on .shop-package-item[data-headlessui-state="checked"],
html.cp-on .card-type[data-headlessui-state="checked"] {
    border-color: #22d3ee !important;
    background: #102033 !important;
    box-shadow: 0 0 0 1px #22d3ee, 0 0 16px rgba(34, 211, 238, .28);
}
html.cp-on .tg-footer { background: transparent; border-top: 0; color: #8aa4c8; }
html.cp-on .tg-footer p,
html.cp-on .tg-footer a { color: #8aa4c8; }
html.cp-on .denom-tab-btn { color: #8aa4c8; }
html.cp-on .denom-tab-btn[data-headlessui-state="selected"] { color: #22d3ee; }

html.cp-on .tg-marquee,
html.cp-on .tg-marquee-bell {
    background: #10182b !important;
    border-color: #1e3a5f !important;
    color: #e6f6ff !important;
    box-shadow: none !important;
}
html.cp-on .tg-marquee-bell { color: #22d3ee !important; box-shadow: 10px 0 12px #10182b !important; }
html.cp-on .tg-marquee-item { color: #8aa4c8; }
html.cp-on .tg-marquee-item em,
html.cp-on .tg-marquee-item b { color: #e879f9; }
html.cp-on .tg-marquee-item + .tg-marquee-item { border-left-color: #1e3a5f; }

html.cp-on .tg-support,
html.cp-on .tg-avatar,
html.cp-on .tg-region-btn,
html.cp-on .question-btn,
html.cp-on .login-button,
html.cp-on .login-icon-btn,
html.cp-on .tg-user,
html.cp-on .shop-package-info,
html.cp-on .tg-modal-box,
html.cp-on .popup-upgrade-box,
html.cp-on .popup-box,
html.cp-on #vatphamInfoPanel,
html.cp-on #dropdownMenu-uid,
html.cp-on #dropdownMenu-uid ul,
html.cp-on #playerListDesktop,
html.cp-on #playerListMobile,
html.cp-on .player-item,
html.cp-on #mobilePanel,
html.cp-on .tg-side-nav,
html.cp-on .tg-header-search input,
html.cp-on .tg-header-search input:focus {
    background: #10182b !important;
    color: #e6f6ff !important;
    border-color: #1e3a5f !important;
}
html.cp-on .tg-region-btn.is-on {
    background: #102033 !important;
    color: #22d3ee !important;
    border-color: #22d3ee !important;
    box-shadow: inset 0 0 0 1px #22d3ee, 0 0 10px rgba(34, 211, 238, .25);
}
html.cp-on .tg-avatar { box-shadow: 0 0 0 2px #22d3ee; }
html.cp-on .tg-avatar svg { fill: #22d3ee; }
html.cp-on .tg-shop-thumb { background: #0c1424 !important; }
html.cp-on .tg-pkg-bonus { background: #102033; color: #67e8f9; }
html.cp-on .tg-note-list li { background: #0c1424; color: #e6f6ff; }
html.cp-on .tg-warn { background: #1a1020; color: #fda4af; }
html.cp-on #dropdownMenu-uid { box-shadow: 0 12px 28px rgba(0, 0, 0, .5) !important; }
html.cp-on .player-item,
html.cp-on .player-item .font-medium,
html.cp-on #dropdownMenu-uid .text-text-title { color: #e6f6ff !important; }
html.cp-on .player-item .text-text-secondary { color: #8aa4c8 !important; }
html.cp-on .player-item:hover { background: #132033 !important; }
html.cp-on .delete-player,
html.cp-on .delete-player svg { color: #e879f9 !important; fill: currentColor; }
html.cp-on #infoToggle {
    background: #102033 !important;
    color: #22d3ee !important;
    border: 1px solid #22d3ee !important;
}
html.cp-on #infoBase,
html.cp-on .tg-sum,
html.cp-on .tg-sum-row span { color: #e6f6ff !important; }
html.cp-on #infoPriceValue { color: #e879f9 !important; }
html.cp-on #popoverDetails { color: #e6f6ff; }
html.cp-on #loginSubmitBtn,
html.cp-on #paymentButton {
    background: linear-gradient(90deg, #0891b2, #c026d3) !important;
    color: #fff !important;
    border: 0 !important;
}
html.cp-on #loginSubmitBtn:hover,
html.cp-on #paymentButton:hover { filter: brightness(1.08); }
html.cp-on .login-button:hover,
html.cp-on .question-btn:hover,
html.cp-on .tg-support:hover {
    background: #132033 !important;
    border-color: #22d3ee !important;
}

.cp-streak {
    position: absolute;
    top: -12%;
    width: 2px;
    height: 46px;
    background: linear-gradient(180deg, transparent, #22d3ee, transparent);
    opacity: .7;
    animation: cp-fall var(--d, 7s) linear infinite;
    animation-delay: var(--delay, 0s);
}
.cp-streak.m { background: linear-gradient(180deg, transparent, #e879f9, transparent); }
@keyframes cp-fall {
    0% { transform: translateY(-10vh); }
    100% { transform: translateY(120vh); }
}
html.cp-on .tg-game-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
html.cp-on .tg-game-art { border-color: #1e3a5f; }
html.cp-on .tg-game-name { color: #e6f6ff !important; }
html.cp-on .product-tab[data-headlessui-state="checked"] .tg-game-art {
    border-color: #22d3ee !important;
    box-shadow: 0 0 0 1px #22d3ee, 0 0 16px rgba(34, 211, 238, .4);
}
html.cp-on .product-tab[data-headlessui-state="checked"] .tg-game-name { color: #22d3ee !important; }
html.cp-on .tg-game-check { border-color: #05060f !important; background: #22d3ee !important; color: #05060f !important; }

@media (prefers-reduced-motion: reduce) {
    .cp-streak { animation: none; opacity: .25; }
}
