:root {
    --bg: #070B15;
    --card: #101A2C;
    --card-2: #152238;
    --line: #22334F;
    --text: #f4f8ff;
    --muted: #9eb0c9;
    --blue: #1749F4;
    --blue-2: #168DFF;
    --ice: #51D9F5;
    --brand: linear-gradient(105deg, #1749F4 0%, #168DFF 54%, #51D9F5 100%);
    --ok: #3dd68c;
    --err: #ff6b81;
    --radius: 16px;
    --radius-sm: 12px;
    --ease: .42s cubic-bezier(.22, .82, .28, 1);
    --shadow: 0 16px 36px rgba(0, 0, 0, .32);
    --edge: inset 0 1px 0 rgba(255, 255, 255, .08);
    --font: "Inter", "Segoe UI", sans-serif;
    --display: "Manrope", "Inter", sans-serif;
    --cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
body.theme-purple { --blue: #7c5cff; --blue-2: #c4b6ff; }
body.theme-green { --blue: #1fa971; --blue-2: #7decc0; }
body.theme-red { --blue: #e23b4a; --blue-2: #ff9aa6; }
body.theme-gold { --blue: #c9a227; --blue-2: #ffe08a; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
    -webkit-text-size-adjust: 100%;
    scrollbar-width: thin;
    scrollbar-color: #168DFF #070B15;
    overflow-x: hidden;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #070B15; }
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #51D9F5, #1749F4);
    border: 2px solid #070B15;
    border-radius: 999px;
}
*::-webkit-scrollbar-corner { background: #070B15; }
body:not(.admin) { padding-left: 0; }
.night-city {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
body.is-home .phone { position: relative; z-index: 1; }
@media (min-width: 1200px) {
    .night-city {
        background-color: #070B15;
        background-image: url("../img/tugay-night-city-v2.png");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100% auto;
    }
}
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background: radial-gradient(720px 320px at 100% -80px, rgba(23, 73, 244, .18), transparent 62%), var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}
button, .btn, input, select, textarea { line-height: 1.25; }
p, .hint, .game-note, .site-footer, .alert { line-height: 1.6; }
a { color: var(--blue-2); text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; }
.phone {
    width: min(1180px, 100%);
    margin: 0 auto;
    min-height: 100vh;
    padding: 12px 16px calc(108px + env(safe-area-inset-bottom));
}
.nav-backdrop, .nav-drawer { display: none; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 -16px 8px;
    padding: 10px 16px 12px;
    background: linear-gradient(rgba(2, 6, 23, .92), rgba(2, 6, 23, .72) 70%, transparent);
    backdrop-filter: blur(14px);
}
.brand-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.menu-box {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(16, 28, 52, .85);
    display: grid;
    gap: 5px;
    place-content: center;
    cursor: pointer;
    flex: none;
}
.menu-box span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .42s cubic-bezier(.22, .82, .28, 1), opacity .42s cubic-bezier(.22, .82, .28, 1);
}
body.nav-open .menu-box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-box span:nth-child(2) { opacity: 0; }
body.nav-open .menu-box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.brand {
    display: flex;
    overflow: hidden;
    transition: opacity .25s ease, transform .25s ease, max-width .25s ease;
    max-width: 220px;
}
body.nav-open .nav-drawer { align-items: stretch; }
.brand img { height: 38px; width: auto; display: block; }
.brand span { font-weight: 800; letter-spacing: .12em; color: #e7c56a; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.btn, .go-btn, .text-btn {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
    font-size: 13px;
}
.btn-dark { background: #1c2436; color: #fff; }
.btn-blue, .go-btn { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue-2); border: 1px solid var(--line); }
.full { width: 100%; }
.coin-pill {
    display: inline-flex; align-items: center;
    background: #10203f;
    color: #9ec4ff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
}
.tugi-amount, .tugi-field {
    display: inline-flex; align-items: center; gap: 0.25em; white-space: nowrap; max-width: 100%;
}
.tugi-symbol { display: inline-block; flex-shrink: 0; width: 0.86em; height: 1em; }
.tugi-num { min-width: 0; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.tugi-field input { flex: 1; min-width: 0; }
.alert {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #10203a;
    border: 1px solid var(--line);
}
.alert-ok { border-color: rgba(61, 214, 140, .45); }
.alert-err { border-color: rgba(255, 107, 129, .5); }
.marquee {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #070d1c;
    height: 48px;
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    height: 100%;
    padding: 0 14px;
    animation: ticker 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a { display: flex; align-items: center; height: 100%; }
.marquee-track img { height: 28px; width: auto; max-width: 120px; object-fit: contain; }
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.marquee { margin-bottom: 6px; }
.block h2, .subhead {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 22px;
    margin: 22px 0 14px;
}
.block h2::after, .subhead::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin: 8px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--blue), var(--blue-2));
}
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sponsor-card, .panel, .hero-box, .note, .empty, .row-card, .cta {
    background:
        radial-gradient(circle at 18% 0%, rgba(93, 169, 255, .18), transparent 46%),
        linear-gradient(180deg, rgba(20, 32, 58, .96), rgba(8, 14, 28, .96));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}
.sponsor-card {
    position: relative;
    overflow: hidden;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.sponsor-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue-2);
    box-shadow: 0 18px 36px rgba(20, 60, 140, .28);
}
.hero-slider {
    position: relative;
    display: grid;
    aspect-ratio: 1280 / 426;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #07101f;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
}
.hero-slider .slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .55s ease;
}
.hero-slider .slide.is-on { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.hero-slider img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1280 / 426;
}
.slider-nav, .slider-dots button { border: 0; cursor: pointer; }
.slider-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(2, 6, 23, .55);
    color: #fff;
    font-size: 24px;
    line-height: 1;
}
.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }
.slider-dots {
    position: absolute;
    z-index: 2;
    left: 0; right: 0; bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.slider-dots button {
    width: 8px; height: 8px; padding: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.45);
}
.slider-dots button.is-on { width: 22px; background: #fff; }
.popup-card {
    position: relative;
    width: min(420px, 100%);
    background: #0c1428;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    animation: rise .35s ease;
}
.popup-card img { width: 100%; display: block; max-height: 70vh; object-fit: cover; }
.popup-card strong { display: block; padding: 12px 14px 28px; }
.popup-card [data-close] {
    position: absolute; top: 8px; right: 8px;
    width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: rgba(2,6,23,.7); color: #fff; cursor: pointer;
}
.popup-timer { position: absolute; left: 12px; bottom: 8px; font-size: 12px; color: var(--muted); }
.sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 10px 12px;
    color: inherit;
    min-height: 100%;
}
.sponsor-card img { width: auto; max-width: 78%; height: 64px; object-fit: contain; }
.sponsor-card h3 {
    margin: 10px 0 8px;
    color: var(--blue-2);
    font-size: clamp(12px, 3.2vw, 15px);
    letter-spacing: .03em;
    overflow-wrap: anywhere;
}
.bonus {
    width: 100%;
    background: rgba(4, 10, 24, .55);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    padding: 10px 8px;
    min-height: 86px;
}
.bonus strong {
    display: block;
    color: var(--blue-2);
    font-size: clamp(13px, 3.6vw, 18px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.bonus em { display: block; font-style: normal; color: #d5deee; font-size: 11px; font-weight: 700; margin-top: 2px; }
.bonus p, .panel p, .hero-box p, .note p, .empty, .muted { color: var(--muted); }
.bonus p { margin: 8px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.go {
    margin-top: 10px;
    width: 100%;
    border: 1.5px solid var(--blue);
    border-radius: 999px;
    padding: 8px 8px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 800;
}
.go-btn { background: transparent; color: #fff; }
.muted-btn { opacity: .55; }
.cta, .empty, .note, .panel, .hero-box { padding: 16px; margin: 12px 0; }
.cta { display: block; text-align: center; color: #fff; font-weight: 700; }
.hero-box { display: flex; gap: 12px; align-items: flex-start; }
.hero-box h1, .panel h2 { margin: 0 0 4px; font-size: 20px; color: var(--blue-2); }
.hero-ico {
    width: 36px; height: 36px; border-radius: 12px;
    display: grid; place-items: center;
    background: #16315f; color: var(--blue-2); flex: none;
}
.note strong { display: block; margin-bottom: 4px; }
.center-card, .empty { text-align: center; }
.list { display: flex; flex-direction: column; gap: 8px; }
.row-card { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; margin: 0; }
.row-card p { margin: 4px 0 0; }
.tag {
    background: #16315f;
    color: #cfe2ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.prize { color: #d6e6ff; font-weight: 700; }
.profile { display: grid; gap: 12px; }
.profile-card {
    display: grid; gap: 16px; padding: 18px 16px; border-radius: 22px; border: 1px solid #22334F;
    background: radial-gradient(140% 80% at 0% 0%, rgba(81, 217, 245, .12), transparent 46%), #101A2C;
}
.profile-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.profile-avatar {
    width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none;
    background: var(--brand); color: #fff; font-family: var(--display); font-size: 24px; font-weight: 800;
}
.profile-id h1 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.profile-id p { margin: 2px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.profile-role {
    display: inline-flex; margin-top: 6px; padding: 3px 8px; border-radius: 999px;
    border: 1px solid rgba(81, 217, 245, .35); color: var(--ice); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.profile-balance { display: grid; gap: 2px; margin: 0; }
.profile-balance small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.profile-balance strong {
    color: var(--ice); font-family: var(--display); font-size: clamp(28px, 6vw, 40px); font-weight: 800;
    letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.profile-stats, .profile-flow { display: grid; gap: 8px; }
.profile-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-flow { grid-template-columns: 1fr 1fr; }
.profile-stats div, .profile-flow div { min-width: 0; padding: 10px 8px; border-radius: 14px; border: 1px solid #22334F; background: #0c1424; }
.profile-stats span, .profile-flow span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.profile-stats b, .profile-flow b { display: block; margin-top: 4px; font-family: var(--display); font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.profile-flow .is-up, .profile-log .is-up { color: #8ee0b4; }
.profile-flow .is-down, .profile-log .is-down { color: #ffb4bc; }
.profile-out {
    width: 100%; min-height: 44px; border-radius: 14px; border: 1px solid #22334F; background: #0c1424;
    color: #f4f8ff; font-weight: 700; cursor: pointer;
}
.profile-log { display: grid; gap: 8px; }
.profile-log article {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0;
    padding: 12px 14px; border-radius: 16px; border: 1px solid #22334F; background: #101A2C;
}
.profile-log article div { min-width: 0; }
.profile-log strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.profile-log p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.profile-log span { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 8px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
input, textarea, select {
    background: #070d1c;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 11px 12px;
    outline: none;
    width: 100%;
    font-size: 16px;
}
textarea { min-height: 90px; resize: vertical; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); }
th { color: var(--muted); font-weight: 600; }
.site-footer {
    display: grid;
    justify-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 22px 16px 18px;
    border-radius: 18px;
    border: 1px solid #22334F;
    background:
        radial-gradient(180px 80px at 50% 0%, rgba(81, 217, 245, .12), transparent 70%),
        #101A2C;
    color: #9eb0c9;
    font-size: 13px;
    text-align: center;
    box-shadow: var(--edge), var(--shadow);
}
.site-footer p { margin: 0; overflow-wrap: anywhere; }
.footer-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid #e4eef8;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
    transition: transform var(--ease), border-color var(--ease);
}
.footer-seal img { height: 42px; width: auto; display: block; }
.footer-seal:hover { transform: translateY(-2px); border-color: #168DFF; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.socials a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #22334F;
    border-radius: 999px;
    background: #152238;
    color: #f4f8ff;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.01em;
    transition: transform var(--ease), border-color var(--ease), color var(--ease);
}
.socials a svg { width: 16px; height: 16px; flex: none; display: block; }
.socials a:hover { transform: translateY(-2px); border-color: #51D9F5; color: #51D9F5; }
.visitors {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 160px;
    padding: 10px 18px 12px;
    border-radius: 14px;
    border: 1px solid #22334F;
    background: #152238;
}
.visitors strong {
    display: block;
    color: #51D9F5;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.visitors span {
    color: #9eb0c9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.footer-contact { color: #c5d4ea; }
.footer-contact a { color: #51D9F5; }
.dock {
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    padding: 8px 6px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6, 10, 22, .94);
    border-top: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
}
.dock a, .dock button {
    background: none;
    border: 0;
    color: #9aa8c3;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 0;
    min-height: 48px;
}
.dock .ico { display: block; font-size: 18px; margin-bottom: 2px; }
.dock a.active, .dock button.active { color: var(--blue-2); }
.dock-home {
    width: 62px; height: 62px; margin: -28px auto 0;
    border-radius: 18px;
    background: #10192e;
    border: 1px solid var(--line);
    display: grid !important;
    place-items: center;
}
.dock-home img { width: 40px; height: 40px; object-fit: contain; }
.sheet, .modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .4s cubic-bezier(.22, .82, .28, 1), visibility .4s;
}
.sheet.is-on, .modal.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.sheet-card, .dialog {
    width: min(480px, 100%);
    background: #0d1528;
    border: 1px solid var(--line);
    border-radius: 22px 22px 0 0;
    padding: 16px;
    max-height: min(86vh, 760px);
    overflow: auto;
    transform: translateY(18px);
    transition: transform .48s cubic-bezier(.22, .82, .28, 1);
}
.sheet.is-on .sheet-card, .modal.is-on .dialog { transform: none; }
.modal { align-items: center; padding: 16px; }
.dialog { border-radius: 22px; }
.dialog-head, .sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dialog-head h2, .sheet-head strong { margin: 0; }
.dialog-head button, .sheet-head button {
    background: transparent; border: 0; color: #fff; font-size: 28px; cursor: pointer;
}
.sheet-card a, .text-btn {
    display: block;
    padding: 11px 4px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    color: var(--text);
    background: none;
    text-align: left;
    width: 100%;
}
.menu-label { margin: 14px 0 4px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.sheet-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.sheet-tools button { border-radius: 14px; border: 1px solid var(--line); background: #121c34; padding: 12px; }
.hint { color: var(--muted); font-size: 13px; }
.hint button { background: none; border: 0; color: var(--blue-2); cursor: pointer; font-weight: 700; }
.inline-note { color: var(--muted); font-size: 14px; }
.wheel-stage { position: relative; width: min(280px, 100%); margin: 4px auto 8px; padding-top: 14px; }
.wheel {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 12px solid #101A2C;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 0 2px #51D9F5, 0 0 0 11px #0c1424, 0 0 0 13px rgba(81, 217, 245, .7), 0 20px 34px rgba(0, 0, 0, .42);
    transform-origin: 50% 50%;
}
.wheel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, .28), transparent 42%);
    pointer-events: none;
    z-index: 1;
}
.wheel > span {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12%;
    pointer-events: none;
    transform: rotate(calc((var(--i) + 0.5) * 360deg / var(--n)));
}
.wheel > span b {
    max-width: 5.4em;
    color: #f4f8ff;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
    width: max-content;
    transform: rotate(calc((var(--i) + 0.5) * -360deg / var(--n)));
}
.wheel > span .tugi-amount { gap: 0.15em; }
.wheel > span .tugi-symbol { width: 0.72em; height: 0.84em; }
.wheel-cap {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 32%, #fff, #d7e8ff 26%, #1749F4 72%);
    box-shadow: 0 0 0 4px #070B15, 0 0 0 7px #51D9F5;
}
.wheel-pin {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: -2px;
    width: 16px;
    height: 36px;
    transform: translateX(-50%);
    transform-origin: 50% 0;
    background: linear-gradient(180deg, #f7fdff, #51D9F5 62%, #168DFF);
    clip-path: polygon(50% 100%, 12% 0, 88% 0);
    filter: drop-shadow(0 6px 8px rgba(7, 11, 21, .4));
}
.wheel-prize {
    min-height: 1.4em;
    margin: 0 0 10px;
    text-align: center;
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #51D9F5;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease;
}
.wheel-prize.is-on { opacity: 1; transform: none; }
.wheel-page { display: grid; gap: 14px; width: 100%; }
.wheel-panel {
    display: grid; gap: 12px; align-content: start; padding: 18px 16px 16px; border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(140% 80% at 0% 0%, rgba(81, 217, 245, .1), transparent 42%),
        linear-gradient(180deg, rgba(18,28,48,.92), rgba(8,12,22,.92));
}
.wheel-panel h1 { margin: -4px 0 2px; font-size: 30px; text-transform: none; letter-spacing: -.02em; }
.wheel-note, .wheel-wait { margin: 0; color: #b7c3d9; font-size: 14px; line-height: 1.45; }
.wheel-panel form { display: grid; gap: 8px; }
.wheel-panel form label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wheel-panel input { min-height: 48px; font-weight: 700; background: #070B15; }
.wheel-panel .btn { min-height: 48px; font-weight: 800; }
.wheel-panel .og-profit strong { font-family: var(--display); font-size: 22px; color: var(--ice); }
.wheel-panel .wheel-prize { margin: 0; text-align: right; }
.wheel-page .wheel-stage {
    width: 100%; margin: 0; display: grid; place-items: center; padding: 28px 18px;
    border-radius: 24px; border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(420px 220px at 50% 42%, rgba(23, 73, 244, .22), transparent 68%),
        linear-gradient(180deg, rgba(18,28,48,.92), rgba(8,12,22,.92));
    overflow: hidden;
}
.wheel-well { position: relative; width: min(340px, 100%); }
.wheel-page .wheel-pin { top: -2px; }
@media (min-width: 900px) {
    .wheel-page { grid-template-columns: 300px minmax(0, 1fr); align-items: stretch; }
    .wheel-page .wheel-stage { min-height: 540px; }
    .wheel-well { width: min(460px, 100%); }
}
@media (max-width: 899px) {
    .wheel-stage { order: 1; }
    .wheel-panel { order: 2; }
    .wheel-panel h1 { font-size: 26px; }
}
body.admin {
    background:
        radial-gradient(900px 420px at 0% -10%, rgba(61, 125, 255, .28), transparent 55%),
        radial-gradient(700px 380px at 100% 0%, rgba(124, 92, 255, .18), transparent 50%),
        #070b16;
}
.admin-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.admin-gate form {
    width: min(420px, 100%);
    display: grid;
    gap: 14px;
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(10, 18, 36, .92);
    border: 1px solid rgba(81, 217, 245, .28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.admin-gate h1 { margin: 0; font-family: Manrope, Inter, sans-serif; font-size: 28px; }
.admin-gate p { margin: 0; color: #9eb0cc; }
.admin-gate label { display: grid; gap: 6px; }
.admin-gate input { min-height: 48px; }
.admin-gate .btn { min-height: 48px; }
.admin-backdrop { display: none; }
.admin-shell { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; transition: grid-template-columns .42s cubic-bezier(.22, .82, .28, 1); }
.side {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
    scrollbar-width: none;
    padding: 18px 14px 28px;
    background: rgba(8, 14, 28, .82);
    border-right: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(16px);
}
.side::-webkit-scrollbar { width: 0; height: 0; display: none; }
.side-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 8px 18px;
    color: #fff;
    font-weight: 800;
}
.side-brand img { height: 34px; width: auto; }
.side-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 6px 8px;
    color: var(--ice);
    font-family: var(--display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.side-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(81, 217, 245, .5), transparent);
}
.side-slot { min-height: 44px; }
.side a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 3px 0;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #d5e4f6;
    font-weight: 600;
    font-size: 14px;
    transition: width .42s cubic-bezier(.22, .82, .28, 1), background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.side a span { white-space: nowrap; overflow: hidden; }
.side-ico {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    flex: none;
    color: var(--ice);
}
.side-ico svg { width: 18px; height: 18px; }
.side a:hover {
    background: var(--card-2);
    border-color: rgba(81, 217, 245, .4);
    color: #fff;
}
.side a.active {
    background: #123056;
    border-color: rgba(81, 217, 245, .55);
    color: #fff;
}
.side a.is-peek {
    z-index: 70;
    justify-content: flex-start;
    gap: 10px;
    padding: 9px 12px;
    background: #123056;
    border-color: rgba(81, 217, 245, .55);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .38);
}
.side a.is-peek span { max-width: 140px; opacity: 1; }
.admin-menu { display: grid; }
.admin-main { padding: 26px 28px 48px; min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
@media (min-width: 1081px) {
    .admin-shell { grid-template-columns: 76px 1fr; }
    html.admin-side-open .admin-shell { grid-template-columns: 268px 1fr; }
    html:not(.admin-side-open) .side { padding: 14px 10px 20px; overflow-x: hidden; backdrop-filter: none; }
    html:not(.admin-side-open) .side-brand {
        width: 44px; height: 44px; margin: 0 auto 12px; overflow: hidden; justify-content: center;
        border-radius: 12px; border: 1px solid var(--line); background: var(--card);
    }
    html:not(.admin-side-open) .side-brand img { width: 32px; height: 32px; object-fit: contain; }
    html:not(.admin-side-open) .side-label {
        height: 1px; margin: 10px 8px; padding: 0; overflow: hidden; font-size: 0; color: transparent;
        background: rgba(81, 217, 245, .35);
    }
    html:not(.admin-side-open) .side-label::after { display: none; }
    html:not(.admin-side-open) .side-slot { height: 44px; margin: 3px auto; }
    html:not(.admin-side-open) .side a {
        width: 44px; height: 44px; margin: 0; justify-content: center; padding: 0; gap: 0;
    }
    html:not(.admin-side-open) .side a span { max-width: 0; opacity: 0; transition: max-width .42s cubic-bezier(.22, .82, .28, 1), opacity .28s ease; }
    html:not(.admin-side-open) .side a.is-peek { justify-content: flex-start; gap: 10px; padding: 0 12px; }
    html:not(.admin-side-open) .side a.is-peek span { max-width: 140px; opacity: 1; }
}
.eyebrow { margin: 0; color: var(--blue-2); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.admin-top h1 { margin: 0; font-size: 28px; }
.admin-user {
    margin-left: auto;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(16, 28, 52, .8);
    color: #fff;
    font-weight: 700;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.stat {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(18, 32, 58, .95), rgba(10, 16, 32, .95));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.stat::before {
    content: "";
    position: absolute;
    left: 16px; right: 16px; top: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--blue-2));
}
.stat span { color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.stat b { display: block; margin-top: 6px; font-size: 30px; letter-spacing: -.03em; }
.admin-card {
    background: linear-gradient(180deg, rgba(16, 26, 48, .94), rgba(9, 14, 28, .94));
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    margin: 14px 0;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
}
.admin-card h2 { margin: 0 0 12px; font-size: 18px; }
.welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background:
        radial-gradient(420px 160px at 90% 0%, rgba(93, 169, 255, .35), transparent 60%),
        linear-gradient(120deg, #17356a, #10182e 55%, #1a1440);
    border: 1px solid rgba(140, 180, 255, .28);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 40px rgba(20, 50, 120, .25);
}
.welcome p { margin: 0; color: #c5d4ee; }
.welcome h2 { margin: 2px 0 0; font-size: 32px; }
.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin-top: 16px; }
.quick a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 104px;
    background: linear-gradient(180deg, rgba(18, 32, 58, .95), rgba(10, 16, 32, .95));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.quick a i {
    width: 36px; height: 36px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(61, 125, 255, .16);
    color: var(--blue-2);
    font-style: normal;
}
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 8px; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 8px; }
.cat-head h2 { margin: 0; font-size: 20px; }
.manage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.manage-card {
    background: #10192c;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}
.manage-card img { height: 58px; width: auto; max-width: 80%; object-fit: contain; }
.manage-card strong { display: block; margin-top: 8px; }
.manage-card p { color: var(--muted); }
.manage-actions { display: flex; gap: 8px; justify-content: center; margin: 8px 0; }
.manage-card .danger { margin-top: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.checks label { flex-direction: row; align-items: center; }
.danger { background: #6e2434; }
.small { font-size: 12px; color: var(--muted); }
.nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(2, 6, 23, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
.nav-drawer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    position: fixed;
    z-index: 60;
    top: 72px;
    left: 16px;
    width: min(248px, calc(100vw - 32px));
    height: auto;
    max-height: min(78vh, 640px);
    padding: 10px;
    border: 1px solid rgba(93, 169, 255, .16);
    border-radius: 16px;
    background: rgba(7, 13, 28, .96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    backdrop-filter: blur(18px);
    transform: translateX(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s cubic-bezier(.22, .82, .28, 1), transform .45s cubic-bezier(.22, .82, .28, 1), visibility .45s;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}
body.nav-open .nav-drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.nav-drawer::-webkit-scrollbar { width: 0; height: 0; display: none; }
.drawer-gap { display: none; }
.drawer-brand {
    width: 48px; height: 48px; margin: 0;
    display: grid; place-items: center; overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, #1a2c4e, #10192e);
    border: 1px solid rgba(93, 169, 255, .2);
}
.drawer-brand img { max-width: 36px; max-height: 28px; width: auto; height: auto; object-fit: contain; }
body.nav-open .drawer-brand { width: auto; height: auto; padding: 8px; }
body.nav-open .drawer-brand img { max-width: 180px; max-height: 42px; height: 40px; }
.drawer-brand span { font-weight: 800; letter-spacing: .12em; color: #e7c56a; font-size: 11px; }
.nav-drawer a, .drawer-tools button, .nav-drawer .text-btn, .nav-drawer .menu-label, .nav-drawer .menu-fold > button {
    opacity: 0;
    transform: translateY(-6px);
}
.nav-drawer a, .drawer-tools button, .nav-drawer .text-btn, .nav-drawer .menu-fold > button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 16px;
    color: #d5e2f5;
    font-weight: 600;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.16), transparent 55%),
        linear-gradient(180deg, #24385f, #121c34);
    border: 1px solid rgba(93, 169, 255, .22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 14px rgba(0,0,0,.22);
    overflow: hidden;
}
.nav-drawer a span, .drawer-tools button span, .nav-drawer .text-btn span, .nav-drawer .menu-fold > button span {
    max-width: 180px;
    opacity: 1;
    white-space: nowrap;
    overflow: hidden;
}
body.nav-open .nav-drawer a,
body.nav-open .drawer-tools button,
body.nav-open .nav-drawer .text-btn,
body.nav-open .nav-drawer .menu-label,
body.nav-open .nav-drawer .menu-fold > button {
    animation: nav-drop .42s cubic-bezier(.22, .82, .28, 1) forwards;
    animation-delay: calc(var(--i, 0) * 34ms);
}
@keyframes nav-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu-fold { display: flex; flex-direction: column; gap: 6px; }
.menu-fold > button { cursor: pointer; font: inherit; text-align: left; }
.menu-caret {
    margin-left: auto; width: 8px; height: 8px; flex: none;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .42s cubic-bezier(.22, .82, .28, 1);
}
.menu-fold.is-open .menu-caret { transform: rotate(-135deg); }
.menu-games { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.22, .82, .28, 1); }
.menu-fold.is-open .menu-games { grid-template-rows: 1fr; }
.menu-games-inner { overflow: hidden; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.menu-fold.is-open .menu-games-inner { padding: 2px 0 2px 12px; }
.menu-fold:not(.is-open) .menu-games a { pointer-events: none; }
.nav-drawer a.is-on, .nav-drawer a:hover, .drawer-tools button:hover, .nav-drawer .text-btn:hover, .nav-drawer .menu-fold > button.is-on, .nav-drawer .menu-fold > button:hover {
    color: #fff;
    border-color: rgba(240, 211, 122, .75);
    box-shadow: 0 0 16px rgba(61, 125, 255, .35);
}
.nav-ico { width: 22px; height: 22px; display: grid; place-items: center; flex: none; }
.nav-ico svg { width: 22px; height: 22px; }
.ico-home { animation: ico-float 2.8s ease-in-out infinite; }
.ico-market { animation: ico-pulse 2.2s ease-in-out infinite; }
.ico-orders { animation: ico-tilt 2.6s ease-in-out infinite; }
.ico-profile { animation: ico-glow 2.5s ease-in-out infinite; }
.ico-events { animation: ico-tilt 3s ease-in-out infinite reverse; }
.ico-raffle { animation: ico-spin 4.5s linear infinite; }
.ico-news { animation: ico-flip 2.8s ease-in-out infinite; }
.ico-wins { animation: ico-pop 2s ease-in-out infinite; }
.ico-board { animation: ico-rise 2.4s ease-in-out infinite; }
.ico-play { animation: ico-pulse 1.8s ease-in-out infinite; }
.ico-cards { animation: ico-tilt 2.4s ease-in-out infinite; }
.ico-gem { animation: ico-glow 2s ease-in-out infinite; }
.ico-ball { animation: ico-spin 5s linear infinite; }
.ico-dart { animation: ico-float 2.2s ease-in-out infinite; }
.ico-balloon { animation: ico-float 2.6s ease-in-out infinite; }
.ico-updown { animation: ico-rise 1.8s ease-in-out infinite; }
.ico-bird { animation: ico-tilt 1.6s ease-in-out infinite; }
.ico-chart { animation: ico-rise 2s ease-in-out infinite; }
.ico-rocket { animation: ico-float 1.7s ease-in-out infinite; }
.ico-peg { animation: ico-pop 2.1s ease-in-out infinite; }
.ico-code { animation: ico-flip 2.4s ease-in-out infinite; }
.ico-wheel { animation: ico-spin 3.2s linear infinite; }
.ico-admin { animation: ico-glow 2.8s ease-in-out infinite; }
.ico-logout { animation: ico-tilt 2.5s ease-in-out infinite; }
@keyframes ico-float { 50% { transform: translateY(-3px); } }
@keyframes ico-pulse { 50% { transform: scale(1.12); } }
@keyframes ico-tilt { 50% { transform: rotate(-10deg); } }
@keyframes ico-spin { to { transform: rotate(360deg); } }
@keyframes ico-flip { 50% { transform: rotateY(180deg); } }
@keyframes ico-pop { 40% { transform: scale(1.16); } 70% { transform: scale(.94); } }
@keyframes ico-rise { 50% { transform: translateY(-4px) scale(1.05); } }
@keyframes ico-glow { 50% { filter: drop-shadow(0 0 6px #7eb6ff); } }
.menu-label {
    max-height: 0; max-width: 0; margin: 0; opacity: 0; overflow: hidden;
    color: #f0d37a; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
body.nav-open .menu-label { max-height: 32px; max-width: 180px; margin: 8px 4px 0; opacity: 1; }
.drawer-tools { display: grid; gap: 8px; margin: 0; justify-items: center; }
body.nav-open .drawer-tools { justify-items: stretch; }
.nav-drawer form { margin: 0; }
@media (min-width: 720px) {
    .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .marquee { height: 54px; }
    .marquee-track img { height: 32px; max-width: 140px; }
    .bonus strong { font-size: 16px; }
}
@media (min-width: 1024px) {
    .dock { display: none; }
    .phone { padding-bottom: 48px; }
    .brand img { height: 44px; }
    .marquee { height: 58px; border-radius: 14px; }
    .marquee-track img { height: 36px; max-width: 156px; }
    .block h2, .subhead { font-size: 28px; }
    .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .sponsor-card { padding: 20px 16px 16px; }
    .sponsor-card h3 { font-size: 15px; }
    .sponsor-card img { height: 72px; }
    .bonus strong { font-size: 18px; }
    .site-footer { padding: 26px 22px 22px; }
    .dialog, .sheet-card { width: min(460px, calc(100% - 32px)); }
}
body.admin input, body.admin textarea, body.admin select {
    background: rgba(5, 10, 22, .72);
    border-radius: 14px;
    padding: 12px 14px;
}
body.admin table th { color: #9eb0cc; font-weight: 600; text-align: left; }
body.admin td, body.admin th { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
body.admin tr:hover td { background: rgba(61, 125, 255, .06); }
@media (max-width: 1080px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-menu { display: grid; }
    .admin-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 40;
        background: rgba(2, 6, 23, .55);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }
    body.admin-nav .admin-backdrop { opacity: 1; pointer-events: auto; }
    .side {
        position: fixed;
        z-index: 50;
        width: min(300px, 88vw);
        transform: translateX(-105%);
        transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    }
    body.admin-nav .side { transform: none; }
    .stats, .grid-2 { grid-template-columns: 1fr 1fr; }
    .admin-main { padding: 16px; }
    .welcome h2, .admin-top h1 { font-size: 24px; }
}
@media (max-width: 640px) {
    .stats, .grid-2 { grid-template-columns: 1fr; }
    .admin-top { align-items: flex-start; }
}
@media (max-width: 360px) {
    .phone { padding-left: 10px; padding-right: 10px; }
    .block h2 { font-size: 20px; }
    .top-actions .btn { padding: 8px 10px; font-size: 12px; }
    .sheet-tools { grid-template-columns: 1fr; }
}
.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(61, 214, 140, .12);
    color: #b7f5d4;
    font-size: 13px;
}
.live-pill i {
    width: 8px; height: 8px; border-radius: 50%; background: #3dd68c;
    box-shadow: 0 0 0 0 rgba(61, 214, 140, .7);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    70% { box-shadow: 0 0 0 8px rgba(61, 214, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0); }
}
.dash-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; }
.device-row { display: grid; grid-template-columns: 90px 1fr 48px; gap: 8px; align-items: center; margin: 8px 0; }
.device-track { height: 8px; border-radius: 99px; background: #1a2742; overflow: hidden; }
.device-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-2)); border-radius: 99px; transition: width .6s ease; }
.trend { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.trend i { flex: 1; display: block; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue-2), var(--blue)); min-height: 6px; transform-origin: bottom; animation: grow .6s ease both; }
@keyframes grow { from { transform: scaleY(.2); } }
.banner-preview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; }
.sort-list { display: grid; gap: 10px; }
.sort-item {
    display: grid;
    grid-template-columns: auto 168px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #101A2C;
}
.sort-item.is-dragging {
    position: relative;
    z-index: 3;
    border-color: #51D9F5;
    background: #14233d;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
}
.sort-item img, .sort-logo { width: 100%; height: 72px; object-fit: contain; border-radius: 12px; background: #070B15; }
.sort-list[data-sort="banners"] .sort-item img { object-fit: cover; }
.sort-item p { margin: 4px 0 0; }
.sort-grip { display: grid; gap: 4px; justify-items: center; }
.sort-handle, .sort-step {
    border: 1px solid #22334F;
    background: #0c1424;
    color: #51D9F5;
    border-radius: 10px;
    cursor: pointer;
}
.sort-handle {
    display: grid;
    gap: 3px;
    place-content: center;
    width: 36px;
    height: 28px;
    cursor: grab;
    touch-action: none;
}
.sort-handle span { display: block; width: 14px; height: 2px; border-radius: 2px; background: #51D9F5; }
.sort-handle:active { cursor: grabbing; }
.sort-step { width: 36px; height: 22px; font-weight: 800; line-height: 1; }
.sort-item .manage-actions { margin: 0; flex-wrap: wrap; justify-content: flex-end; }
.sort-note { min-height: 1.2em; margin: 8px 0 0; color: #51D9F5; font-size: 13px; font-weight: 700; }
.sort-note.is-bad { color: #ffb4be; }
.sort-list[data-sort="categories"] .sort-item { grid-template-columns: auto minmax(0, 1fr); }
.sort-list[data-sort="categories"] .sort-item form.grid-2 {
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr) 96px auto auto;
    align-items: end;
    min-width: 0;
}
.quick a { transition: transform .42s cubic-bezier(.22, .82, .28, 1), border-color .42s cubic-bezier(.22, .82, .28, 1); }
.quick a:hover { transform: translateY(-3px); border-color: var(--blue-2); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) {
    .dash-grid { grid-template-columns: 1fr; }
    .sort-item { grid-template-columns: auto minmax(0, 1fr); }
    .sort-item img, .sort-item .manage-actions { grid-column: 1 / -1; }
    .sort-list[data-sort="categories"] .sort-item form.grid-2 { grid-column: 2; grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
    .phone { width: 100%; }
    .cards { grid-template-columns: 1fr 1fr; }
}
.feature-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 8px 0 16px;
}
.feature-strip .feature-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
    min-height: 112px;
    padding: 16px 14px;
    border-radius: 16px;
    clip-path: none;
    border: 1px solid #22334F;
    background:
        radial-gradient(120px 80px at 100% 0%, rgba(81, 217, 245, .16), transparent 68%),
        linear-gradient(180deg, #152238, #101A2C);
    color: #f4f8ff;
    cursor: pointer;
    box-shadow: var(--edge), var(--shadow);
    min-width: 0;
    text-decoration: none;
    animation: feature-in .52s cubic-bezier(.22, .82, .28, 1) both;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.feature-strip .feature-card:nth-child(2) { animation-delay: .06s; }
.feature-strip .feature-card:nth-child(3) { animation-delay: .12s; }
.feature-strip .feature-card:nth-child(4) { animation-delay: .18s; }
.feature-strip .feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 34%, rgba(81, 217, 245, .16) 50%, transparent 66%);
    transform: translateX(-130%);
    animation: feature-sheen 5.2s ease-in-out infinite;
    pointer-events: none;
}
.feature-strip .feature-card:nth-child(2)::after { animation-delay: 1.1s; }
.feature-strip .feature-card:nth-child(3)::after { animation-delay: 2.2s; }
.feature-strip .feature-card:nth-child(4)::after { animation-delay: 3.3s; }
.feature-copy { position: relative; z-index: 1; display: grid; gap: 3px; min-width: 0; flex: 1; }
.feature-strip .feature-card img {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: contain;
    animation: feature-float 3.8s ease-in-out infinite;
}
.feature-strip .feature-card:nth-child(2) img { animation-delay: .4s; }
.feature-strip .feature-card:nth-child(3) img { animation-delay: .8s; }
.feature-strip .feature-card:nth-child(4) img { animation-delay: 1.2s; }
.feature-strip .feature-card:hover {
    transform: translateY(-3px);
    border-color: #51D9F5;
    box-shadow: var(--edge), 0 16px 32px rgba(23, 73, 244, .22);
}
.feature-strip .feature-card small {
    color: #51D9F5;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}
.feature-strip .feature-card strong {
    font-size: 17px;
    line-height: 1.2;
    overflow-wrap: normal;
}
.feature-strip .feature-card em {
    color: #c5d4ea;
    font-style: normal;
    font-size: 13px;
    line-height: 1.35;
}
.feature-strip .play-card {
    background:
        radial-gradient(140px 90px at 100% 100%, rgba(81, 217, 245, .2), transparent 70%),
        linear-gradient(180deg, #152238, #101A2C);
}
@keyframes feature-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes feature-sheen { 0%, 58% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes feature-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.lounge {
    position: fixed; inset: 0; z-index: 60;
    display: none; place-items: center; padding: 16px;
    background: rgba(2,6,18,.72);
    backdrop-filter: blur(8px);
}
.lounge.is-on { display: grid; }
.lounge-card {
    width: min(760px, 100%);
    max-height: min(92vh, 860px);
    overflow: auto;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(210,176,90,.35);
    background:
        radial-gradient(500px 220px at 100% 0%, rgba(201,162,39,.18), transparent 55%),
        linear-gradient(180deg, #121a30, #090e1c);
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
    animation: rise .35s ease;
}
.lounge-head, .game-bar, .game-switch { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lounge-head { justify-content: space-between; }
.lounge-head p { margin: 0; color: #e7c56a; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.lounge-head h2 { margin: 0; }
.lounge-head button { border: 0; background: transparent; color: #fff; font-size: 32px; cursor: pointer; }
.game-switch { margin: 12px 0; }
.game-switch button, .game-bar button { border-radius: 999px; }
.game-switch button {
    border: 1px solid rgba(255,255,255,.1);
    background: transparent; color: #d5deee; padding: 8px 12px; cursor: pointer; font-weight: 700;
}
.game-switch button.is-on { background: linear-gradient(90deg, #c9a227, #f0d37a); color: #1a1406; }
.game-view { display: none; }
.game-view.is-on { display: block; }
.game-back {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 2px 0 12px; padding: 7px 14px 7px 10px;
    border-radius: 999px; border: 1px solid var(--line);
    background: var(--card); color: #d5e4f6;
    font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .02em;
    box-shadow: var(--edge);
    transition: border-color var(--ease), background var(--ease), color var(--ease), transform var(--ease);
    animation: game-back-in .4s cubic-bezier(.22, .82, .28, 1) both;
}
.game-back i {
    width: 7px; height: 7px; border-left: 1.5px solid var(--ice); border-bottom: 1.5px solid var(--ice);
    transform: translateX(1px) rotate(45deg);
    transition: transform var(--ease);
}
.game-back span { position: relative; }
.game-back span::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
    background: var(--ice); transform: scaleX(0); transform-origin: left center;
    transition: transform var(--ease);
}
.game-back:hover { border-color: rgba(81, 217, 245, .55); background: var(--card-2); color: #fff; }
.game-back:hover i { transform: translateX(-2px) rotate(45deg); }
.game-back:hover span::after { transform: scaleX(1); }
.game-back:active { transform: translateY(1px); }
.game-back:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
@keyframes game-back-in { from { opacity: 0; transform: translateX(-8px); } }
.game-page {
    width: min(920px, 100%);
    margin: 0 auto 24px;
    padding: 18px 16px 22px;
    border-radius: 28px;
    border: 1px solid rgba(210, 176, 90, .28);
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(201, 162, 39, .16), transparent 60%),
        linear-gradient(180deg, rgba(16, 26, 48, .96), rgba(8, 14, 28, .96));
}
.game-page h1 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 40px); }
.game-lobby { display: grid; grid-template-columns: 1fr; gap: 12px; }
.game-lobby-card {
    display: grid;
    gap: 6px;
    padding: 22px 18px;
    border-radius: 22px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(180px 90px at 100% 0%, rgba(240, 211, 122, .22), transparent 70%),
        linear-gradient(180deg, #17243f, #0d1528);
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.game-lobby-card span { font-size: 26px; font-weight: 800; }
.game-lobby-card p { margin: 0; color: var(--muted); }
.game-lobby-card em { color: #f0d37a; font-style: normal; font-weight: 700; }
.nav-drawer .menu-label { margin: 16px 12px 4px; }
.game-bar { margin-top: 12px; }
.game-bar label { min-width: 110px; }
.game-note { color: #b7c3d9; min-height: 1.4em; }
.mine-grid, .keno-grid { display: grid; gap: 8px; }
.mine-grid { grid-template-columns: repeat(5, 1fr); }
.mine, .kball {
    aspect-ratio: 1;
    border: 0; border-radius: 14px; cursor: pointer; color: #fff; font-weight: 700;
    background: linear-gradient(180deg, #24365c, #15233f);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 16px rgba(0,0,0,.25);
    transition: transform .2s ease;
}
.mine.is-open { transform: rotateY(180deg); }
.mine.is-gem { background: radial-gradient(circle at 40% 35%, #d9fff0, #1fa971 45%, #0c6b49); box-shadow: 0 0 18px rgba(61,214,140,.45); }
.mine.is-mine { background: radial-gradient(circle at 50% 45%, #ffd0d6, #e23b4a 42%, #6e1420); }
.mine.is-boom { animation: boom .45s ease; }
.mine.is-pop { animation: pop .35s ease; }
@keyframes boom { 50% { transform: scale(1.08); box-shadow: 0 0 24px #ff6b81; } }
@keyframes pop { 40% { transform: scale(1.06); } }
.keno-grid { grid-template-columns: repeat(8, 1fr); }
.kball.is-pick { outline: 2px solid #f0d37a; background: #3a3014; }
.kball.is-hit { background: radial-gradient(circle at 40% 30%, #fff4c2, #c9a227); color: #1a1406; animation: pop .4s ease; }
.kball.is-draw { background: #1d4e86; }
.kball.is-miss { opacity: .45; }
.bj-table { display: grid; gap: 8px; padding: 8px 0 4px; }
.bj-table p { margin: 0; color: #9eb0cc; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.bj-row { display: flex; gap: 8px; min-height: 92px; }
.pcard {
    width: 64px; height: 90px; border-radius: 12px; background: #f7f4ee; color: #162033;
    display: flex; flex-direction: column; justify-content: space-between; padding: 8px;
    box-shadow: 0 10px 18px rgba(0,0,0,.28);
    animation: deal .35s ease;
}
.pcard b { font-size: 18px; }
.pcard.is-red { color: #c53646; }
.pcard.is-back { background: repeating-linear-gradient(135deg, #1a3f86, #1a3f86 8px, #2458b8 8px, #2458b8 16px); }
.og[data-game="blackjack"] .og-stage { overflow: hidden; }
.og[data-game="blackjack"] .bj-table {
    display: grid;
    gap: 14px;
    min-height: 420px;
    padding: 18px 16px 16px;
    border-radius: 36px;
    border: 7px solid #c6a15a;
    background:
        radial-gradient(460px 200px at 50% 0%, rgba(150, 230, 185, .22), transparent 62%),
        radial-gradient(120% 70% at 50% 100%, rgba(0, 0, 0, .28), transparent 58%),
        linear-gradient(180deg, #0d4336, #07281f 72%);
    box-shadow: inset 0 0 0 3px #5c3d1e, inset 0 0 70px rgba(0, 0, 0, .35);
}
.og[data-game="blackjack"] .bj-rail {
    display: grid;
    grid-template-columns: 78px 1fr 78px;
    align-items: end;
    min-height: 86px;
}
.og[data-game="blackjack"] .bj-mark {
    justify-self: center;
    align-self: center;
    color: #f0d37a;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
}
.og[data-game="blackjack"] .bj-shoe,
.og[data-game="blackjack"] .bj-discard { position: relative; height: 78px; }
.og[data-game="blackjack"] .bj-shoe {
    justify-self: end;
    width: 68px;
    border-radius: 8px 12px 7px 7px;
    background: linear-gradient(180deg, #243044, #101826);
    border: 1px solid #c6a15a;
    box-shadow: inset 0 0 0 2px #5c3d1e, 0 8px 14px rgba(0, 0, 0, .28);
    transform: rotate(7deg);
    transform-origin: 80% 100%;
}
.og[data-game="blackjack"] .bj-shoe .pcard,
.og[data-game="blackjack"] .bj-discard .pcard {
    position: absolute;
    width: 40px;
    flex: none;
    margin: 0;
    animation: none;
    pointer-events: none;
    filter: drop-shadow(0 6px 3px rgba(0, 0, 0, .35));
}
.og[data-game="blackjack"] .bj-shoe .pcard { left: 12px; bottom: 8px; transform: translateY(calc(var(--n) * -2px)) rotate(calc(var(--n) * -1.5deg)); }
.og[data-game="blackjack"] .bj-discard .pcard { left: 8px; bottom: 4px; transform: translate(calc(var(--n) * 3px), calc(var(--n) * -1px)) rotate(calc(-8deg + var(--n) * 3deg)); }
.og[data-game="blackjack"] .bj-result {
    justify-self: center;
    min-height: 34px;
    margin: 0;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--display);
    font-size: 14px;
}
.og[data-game="blackjack"] .bj-result.is-win,
.og[data-game="blackjack"] .bj-result.is-lose {
    border-color: rgba(240, 211, 122, .6);
    background: rgba(6, 28, 22, .72);
}
.og[data-game="blackjack"] .bj-result.is-win { color: #e9fff3; }
.og[data-game="blackjack"] .bj-result.is-lose { color: #ffd7dc; }
.og[data-game="blackjack"] .bj-seat,
.og[data-game="blackjack"] .bj-hands { display: grid; gap: 12px; min-width: 0; }
.og[data-game="blackjack"] .bj-seat {
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 16px;
}
.og[data-game="blackjack"] .bj-seat.is-active { box-shadow: inset 0 0 0 1px rgba(198, 232, 214, .9); }
.og[data-game="blackjack"] .bj-meta { display: grid; justify-items: end; gap: 2px; color: rgba(236, 255, 246, .82); }
.og[data-game="blackjack"] .bj-meta span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.og[data-game="blackjack"] .bj-meta b { color: #fff; font-size: 22px; letter-spacing: 0; }
.og[data-game="blackjack"] .bj-row { justify-content: center; align-items: flex-start; width: 100%; min-width: 0; min-height: 0; perspective: 900px; }
.og[data-game="blackjack"] .pcard,
.og[data-game="blackjack"] .pcard.is-back {
    width: 104px;
    height: auto;
    aspect-ratio: 5 / 7;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: block;
    object-fit: contain;
    flex: 0 0 104px;
    animation: none;
    filter: drop-shadow(0 14px 6px rgba(0, 0, 0, .32));
    transform-origin: 50% 70%;
}
.og[data-game="blackjack"] .pcard.is-deal {
    animation: bj-deal 640ms cubic-bezier(.16, .84, .28, 1) both;
}
.og[data-game="blackjack"] .bj-card {
    position: relative;
    display: block;
    width: 104px;
    flex: 0 0 104px;
    aspect-ratio: 5 / 7;
    transform-style: preserve-3d;
}
.og[data-game="blackjack"] .bj-card.is-open { animation: bj-open 720ms cubic-bezier(.45, .05, .25, 1) both; }
.og[data-game="blackjack"] .bj-card .pcard {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    flex: none;
    margin: 0;
    backface-visibility: hidden;
    animation: none;
}
.og[data-game="blackjack"] .bj-card .is-back { transform: rotateY(180deg); }
@keyframes bj-deal {
    0% { opacity: 0; transform: translate3d(86px, -58px, 0) rotate(-12deg) scale(.9); }
    42% { opacity: 1; }
    100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}
@keyframes bj-open {
    0% { transform: rotateY(180deg) scale(.98); }
    68% { transform: rotateY(-7deg) scale(1.02); }
    100% { transform: rotateY(0deg) scale(1); }
}
.og[data-game="blackjack"] .bj-actions { justify-content: center; gap: 8px; }
.og[data-game="blackjack"] .bj-actions button {
    display: none;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid #22334F;
    background: #101A2C;
    color: #f4f8ff;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.02em;
    cursor: pointer;
}
.og[data-game="blackjack"] .bj-actions button.is-open { display: flex; }
.og[data-game="blackjack"] .bj-actions button.is-in { animation: bj-act .42s cubic-bezier(.22, .82, .28, 1); }
.og[data-game="blackjack"] #bj-hit.is-open {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(180deg, #1749F4, #168DFF);
}
.og[data-game="blackjack"] #bj-stand.is-open { color: #d7f7ff; border-color: #51D9F5; }
.og[data-game="blackjack"] #bj-double.is-open,
.og[data-game="blackjack"] #bj-split.is-open,
.og[data-game="blackjack"] #bj-insure.is-open { color: #51D9F5; border-color: #2a4f86; }
.og[data-game="blackjack"] .bj-actions button.is-open:disabled { opacity: .55; cursor: default; }
.og[data-game="blackjack"] .bj-reload {
    width: 100%;
    min-height: 44px;
    color: #f4f8ff;
    background: #101A2C;
    border: 1px solid #22334F;
    border-radius: 14px;
    font-family: var(--display);
    font-weight: 800;
}
@keyframes bj-act {
    from { opacity: 0; transform: translateY(10px) scale(.96); }
    to { opacity: 1; transform: none; }
}
.og[data-game="baccarat"] .og-stage { overflow: visible; }
.og[data-game="baccarat"] .felt {
    position: relative;
    display: grid;
    align-content: center;
    gap: 14px;
    min-height: 460px;
    padding: 22px 18px 18px;
    border-radius: 36px;
    border: 7px solid #c6a15a;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .08), transparent 42%),
        radial-gradient(80% 50% at 18% 70%, rgba(70, 130, 220, .16), transparent 60%),
        radial-gradient(80% 50% at 82% 70%, rgba(190, 50, 60, .16), transparent 60%),
        linear-gradient(180deg, #167a5c, #0c4636 68%);
    box-shadow: inset 0 0 0 3px #5c3d1e, inset 0 0 70px rgba(0, 0, 0, .32);
}
.og[data-game="baccarat"] .bac-mark {
    justify-self: center;
    color: #f0d37a;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
}
.og[data-game="baccarat"] .bac-hands {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
    min-width: 0;
}
.og[data-game="baccarat"] .bac-hand {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px 6px 12px;
    border-radius: 22px;
}
.og[data-game="baccarat"] .bac-hand.is-player { box-shadow: inset 0 0 0 1px rgba(140, 180, 255, .4); }
.og[data-game="baccarat"] .bac-hand.is-banker { box-shadow: inset 0 0 0 1px rgba(255, 140, 146, .45); }
.og[data-game="baccarat"] .bac-hand.is-win { box-shadow: inset 0 0 0 2px #f0d37a, 0 0 22px rgba(240, 211, 122, .22); }
.og[data-game="baccarat"] .bac-hand.is-push { box-shadow: inset 0 0 0 2px rgba(240, 211, 122, .7); }
.og[data-game="baccarat"] .bac-score { display: grid; justify-items: center; gap: 2px; }
.og[data-game="baccarat"] .bac-score span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.og[data-game="baccarat"] .is-player .bac-score span { color: #b9d4ff; }
.og[data-game="baccarat"] .is-banker .bac-score span { color: #ffc4c8; }
.og[data-game="baccarat"] .bac-score b {
    min-width: 48px;
    color: #fff;
    font-family: var(--display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.og[data-game="baccarat"] .bj-row {
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    min-width: 0;
    min-height: 132px;
    gap: 0;
}
.og[data-game="baccarat"] .pcard,
.og[data-game="baccarat"] .pcard.is-back {
    width: 92px;
    height: auto;
    aspect-ratio: 5 / 7;
    margin-left: -34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: block;
    object-fit: contain;
    flex: 0 0 92px;
    animation: none;
    filter: drop-shadow(0 12px 5px rgba(0, 0, 0, .34));
    transform-origin: 50% 100%;
}
.og[data-game="baccarat"] .pcard:first-child { margin-left: 0; }
.og[data-game="baccarat"] .is-player .pcard:nth-child(1) { transform: rotate(-8deg); }
.og[data-game="baccarat"] .is-player .pcard:nth-child(2) { transform: rotate(-1deg); }
.og[data-game="baccarat"] .is-player .pcard:nth-child(3) { transform: rotate(8deg) translateY(-8px); }
.og[data-game="baccarat"] .is-banker .pcard:nth-child(1) { transform: rotate(8deg); }
.og[data-game="baccarat"] .is-banker .pcard:nth-child(2) { transform: rotate(1deg); }
.og[data-game="baccarat"] .is-banker .pcard:nth-child(3) { transform: rotate(-8deg) translateY(-8px); }
.og[data-game="baccarat"] .pcard.is-deal { animation: bac-deal 560ms cubic-bezier(.16, .84, .28, 1) both; }
.og[data-game="baccarat"] .bj-result {
    justify-self: center;
    min-height: 34px;
    margin: 0;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(240, 211, 122, .6);
    background: rgba(6, 28, 22, .72);
    color: #f6e7b2;
    font-family: var(--display);
    font-size: 14px;
    letter-spacing: .02em;
}
.og[data-game="baccarat"] .bj-result:empty { border-color: transparent; background: none; }
.og[data-game="baccarat"] .bj-result.is-win { color: #e9fff3; border-color: rgba(140, 230, 180, .75); }
.og[data-game="baccarat"] .bj-result.is-lose { color: #ffd7dc; border-color: rgba(230, 110, 120, .6); }
@keyframes bac-deal {
    0% { opacity: 0; transform: translate3d(0, -28px, 0) scale(.94); }
    100% { opacity: 1; }
}
.og[data-game="hilo"] .og-stage { min-height: 0; height: auto; overflow: visible; align-self: start; }
.og[data-game="hilo"] .hilo-table {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 12px;
    width: min(520px, 100%);
    margin: 0 auto;
    padding: 16px 14px 14px;
    border-radius: 36px;
    border: 7px solid #c6a15a;
    background:
        radial-gradient(460px 180px at 50% 0%, rgba(150, 230, 185, .2), transparent 64%),
        radial-gradient(120% 70% at 50% 100%, rgba(0, 0, 0, .28), transparent 58%),
        linear-gradient(180deg, #0d4336, #07281f 72%);
    box-shadow: inset 0 0 0 3px #5c3d1e, inset 0 0 70px rgba(0, 0, 0, .35);
    overflow: hidden;
}
.og[data-game="hilo"] .hilo-rail {
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: end;
    width: 100%;
    min-height: 72px;
}
.og[data-game="hilo"] .hilo-mark {
    grid-column: 2;
    justify-self: center;
    align-self: center;
    color: #f0d37a;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
}
.og[data-game="hilo"] .hilo-shoe {
    position: relative;
    justify-self: end;
    width: 54px;
    height: 64px;
    border-radius: 8px 12px 7px 7px;
    background: linear-gradient(180deg, #243044, #101826);
    border: 1px solid #c6a15a;
    box-shadow: inset 0 0 0 2px #5c3d1e, 0 8px 14px rgba(0, 0, 0, .28);
    margin-right: 6px;
    transform: rotate(4deg);
    transform-origin: 80% 100%;
}
.og[data-game="hilo"] .hilo-shoe .pcard {
    position: absolute;
    left: 8px;
    bottom: 6px;
    width: 32px;
    margin: 0;
    opacity: 1;
    pointer-events: none;
    animation: none;
    transform: translateY(calc(var(--n) * -2px)) rotate(calc(var(--n) * -1.4deg));
}
.og[data-game="hilo"] .hilo-ranks {
    display: grid;
    grid-template-columns: repeat(13, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
}
.og[data-game="hilo"] .hilo-ranks b {
    min-width: 0;
    padding: 6px 0;
    border-radius: 8px;
    background: rgba(4, 18, 14, .55);
    color: #d7eee4;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.og[data-game="hilo"] .hilo-ranks b.is-lo { color: #9eb6c9; }
.og[data-game="hilo"] .hilo-ranks b.is-hi { color: #b9f3ff; }
.og[data-game="hilo"] .hilo-ranks b.is-now {
    transform: translateY(-2px);
    background: #f0d37a;
    color: #1a1406;
}
.og[data-game="hilo"] .hilo-spot {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    min-height: 188px;
    perspective: 900px;
}
.og[data-game="hilo"] .hilo-spot .pcard,
.og[data-game="hilo"] .hilo-spot .pcard.is-back,
.og[data-game="hilo"] .hilo-card {
    width: 54px;
    height: auto;
    aspect-ratio: 5 / 7;
    margin-left: -16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
    opacity: .62;
    animation: none;
    filter: drop-shadow(0 10px 5px rgba(0, 0, 0, .34));
    transform-origin: 50% 80%;
}
.og[data-game="hilo"] .hilo-spot .pcard:first-child { margin-left: 0; }
.og[data-game="hilo"] .hilo-spot .pcard.is-now {
    width: 118px;
    margin-left: 8px;
    opacity: 1;
    z-index: 2;
}
.og[data-game="hilo"] .hilo-spot .pcard.is-deal { animation: hilo-deal 560ms cubic-bezier(.16, .84, .28, 1) both; }
@keyframes hilo-deal {
    0% { opacity: 0; transform: translate3d(78px, -46px, 0) rotate(8deg) scale(.92); }
    100% { opacity: 1; transform: none; }
}
.og[data-game="hilo"] .hilo-result {
    min-height: 34px;
    margin: 0;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #f6e7b2;
    font-family: var(--display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
}
.og[data-game="hilo"] .hilo-result.is-run,
.og[data-game="hilo"] .hilo-result.is-win,
.og[data-game="hilo"] .hilo-result.is-lose {
    border-color: rgba(240, 211, 122, .6);
    background: rgba(6, 28, 22, .72);
}
.og[data-game="hilo"] .hilo-result.is-win { color: #e9fff3; }
.og[data-game="hilo"] .hilo-result.is-lose { color: #ffd7dc; }
.og[data-game="hilo"] .hilo-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}
.og[data-game="hilo"] .hilo-actions button {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 78px;
    padding: 10px 8px;
    border-radius: 16px;
    border: 1px solid #22334F;
    background: #101A2C;
    color: #f4f8ff;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    cursor: pointer;
}
.og[data-game="hilo"] .hilo-actions button b {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.og[data-game="hilo"] #hilo-hi b::before { content: "↑ "; color: #51D9F5; }
.og[data-game="hilo"] #hilo-lo b::before { content: "↓ "; color: #9ec9ff; }
.og[data-game="hilo"] .hilo-actions button strong {
    color: #51D9F5;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.og[data-game="hilo"] .hilo-actions button small {
    color: #9eb0cc;
    font-size: 12px;
    font-weight: 700;
}
.og[data-game="hilo"] .hilo-actions button:disabled { opacity: .45; cursor: default; }
.og[data-game="hilo"] .hilo-actions button.is-win {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(180deg, #1749F4, #168DFF 58%, #51D9F5);
}
.og[data-game="hilo"] .hilo-actions button.is-win strong,
.og[data-game="hilo"] .hilo-actions button.is-win small,
.og[data-game="hilo"] .hilo-actions button.is-win b::before { color: #fff; }
.og[data-game="hilo"] .hilo-actions button.is-lose {
    border-color: rgba(230, 110, 120, .85);
    background: #241018;
    color: #ffd7dc;
}
.og[data-game="hilo"] .hilo-actions button.is-lose strong { color: #ffd7dc; }
.og[data-game="hilo"] .hilo-skip {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid #2a4f86;
    background: rgba(16, 26, 44, .72);
    color: #d7f7ff;
    font-family: var(--display);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
.og[data-game="hilo"] .hilo-skip:disabled { opacity: .45; cursor: default; }
.pcard.is-in { animation: card-in 220ms ease; }
@keyframes card-in { from { opacity: .15; transform: translateX(24px) rotateY(70deg); } to { opacity: 1; transform: none; } }
@keyframes deal { from { opacity: 0; transform: translateY(-24px) rotate(-8deg); } }
.pitch { display: grid; place-items: center; padding: 8px 0 4px; }
.goal {
    position: relative; width: min(420px, 100%); height: 180px; border-radius: 16px 16px 8px 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.16), transparent 30%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 2px, transparent 2px 28px),
        repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 2px, transparent 2px 28px),
        linear-gradient(180deg, #163a2a, #0d2418);
    border: 3px solid rgba(255,255,255,.7);
    overflow: hidden;
}
.keeper, .ball { position: absolute; display: block; }
.keeper { width: 36px; height: 54px; left: calc(50% - 18px); bottom: 18px; border-radius: 12px 12px 6px 6px; background: linear-gradient(#f4f7fb, #8ea0b8); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.keeper::before { content: ""; position: absolute; left: 10px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #f2c7a5; }
.ball { width: 18px; height: 18px; left: calc(50% - 9px); bottom: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #d7d7d7 55%, #8d8d8d); }
.goal.shot-left .ball { animation: to-left .55s ease forwards; }
.goal.shot-center .ball { animation: to-center .55s ease forwards; }
.goal.shot-right .ball { animation: to-right .55s ease forwards; }
.goal.keep-left .keeper { transform: translate(-90px, -20px) rotate(-18deg); }
.goal.keep-right .keeper { transform: translate(90px, -20px) rotate(18deg); }
.goal.keep-center .keeper { transform: translateY(-28px); }
.goal.is-goal { box-shadow: inset 0 0 40px rgba(61,214,140,.45); }
.goal.is-save .ball { filter: grayscale(1); }
@keyframes to-left { to { transform: translate(-120px, -110px); } }
@keyframes to-center { to { transform: translate(0, -120px); } }
@keyframes to-right { to { transform: translate(120px, -110px); } }
@media (max-width: 719px) {
    .keno-grid { grid-template-columns: repeat(5, 1fr); }
    .game-bar { display: grid; grid-template-columns: 1fr 1fr; }
    .game-bar label { grid-column: 1 / -1; }
    .game-bar .btn { width: 100%; min-height: 46px; }
    .mine, .kball { min-height: 52px; border-radius: 12px; }
    .goal { height: 210px; }
    .pcard { width: 58px; height: 82px; }
    .feature-strip .feature-card { min-height: 104px; padding: 14px 12px; gap: 8px; }
    .feature-strip .feature-card img { width: 52px; height: 52px; flex-basis: 52px; }
    .feature-strip .feature-card strong { font-size: 15px; }
    .og[data-game="blackjack"] .bj-table { min-height: 0; padding: 14px 10px 12px; border-width: 5px; border-radius: 28px; }
    .og[data-game="blackjack"] .bj-rail { grid-template-columns: 64px 1fr 64px; min-height: 70px; }
    .og[data-game="blackjack"] .bj-shoe,
    .og[data-game="blackjack"] .bj-discard { height: 64px; }
    .og[data-game="blackjack"] .bj-shoe { width: 54px; }
    .og[data-game="blackjack"] .bj-shoe .pcard,
    .og[data-game="blackjack"] .bj-discard .pcard { width: 32px; }
    .og[data-game="blackjack"] .bj-seat { grid-template-columns: 1fr; justify-items: center; }
    .og[data-game="blackjack"] .bj-meta { justify-items: center; grid-auto-flow: column; align-items: baseline; gap: 8px; }
    .og[data-game="blackjack"] .bj-meta b { font-size: 18px; }
    .og[data-game="blackjack"] .pcard,
    .og[data-game="blackjack"] .pcard.is-back,
    .og[data-game="blackjack"] .bj-card { width: 72px; flex-basis: 72px; }
    .og[data-game="baccarat"] .felt { min-height: 0; padding: 14px 8px 12px; border-width: 5px; border-radius: 28px; }
    .og[data-game="baccarat"] .bac-hands { gap: 8px; }
    .og[data-game="baccarat"] .bac-score b { font-size: 32px; }
    .og[data-game="baccarat"] .bj-row { min-height: 96px; }
    .og[data-game="baccarat"] .pcard,
    .og[data-game="baccarat"] .pcard.is-back { width: 58px; flex-basis: 58px; margin-left: -22px; }
    .og[data-game="hilo"] .hilo-table { padding: 12px 10px 12px; border-width: 5px; border-radius: 28px; }
    .og[data-game="hilo"] .hilo-rail { grid-template-columns: 48px 1fr 48px; min-height: 58px; }
    .og[data-game="hilo"] .hilo-shoe { width: 44px; height: 52px; }
    .og[data-game="hilo"] .hilo-shoe .pcard { width: 26px; }
    .og[data-game="hilo"] .hilo-ranks b { font-size: 10px; padding: 5px 0; }
    .og[data-game="hilo"] .hilo-spot { min-height: 150px; }
    .og[data-game="hilo"] .hilo-spot .pcard,
    .og[data-game="hilo"] .hilo-spot .pcard.is-back,
    .og[data-game="hilo"] .hilo-card { width: 40px; margin-left: -12px; }
    .og[data-game="hilo"] .hilo-spot .pcard.is-now { width: 92px; margin-left: 6px; }
    .og[data-game="hilo"] .hilo-actions button { min-height: 72px; }
    .og[data-game="hilo"] .hilo-actions button strong { font-size: 18px; }
    .og[data-game="hilo"] .hilo-actions button b { font-size: 12px; }
}
@media (min-width: 720px) {
    .game-lobby { grid-template-columns: 1fr 1fr; }
    .mine-grid { max-width: 560px; margin-inline: auto; }
    .keno-grid { max-width: 640px; margin-inline: auto; }
    .goal { height: 260px; }
}
@media (min-width: 900px) {
    .feature-strip { grid-template-columns: repeat(4, 1fr); }
}
.casino { display: grid; gap: 14px; }
.board, .felt, .stadium { min-width: 0; }
.bet-panel {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 14px;
    border-radius: 20px;
    background: rgba(6, 10, 22, .55);
    border: 1px solid rgba(255,255,255,.06);
}
.chip-row, .risk-row, .bj-actions, .stepper { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .risk-row button, .stepper button {
    border: 1px solid rgba(255,255,255,.12);
    background: #121c33;
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 700;
}
.risk-row button { display: grid; text-align: left; }
.risk-row button small { color: #f0d37a; font-weight: 600; }
.risk-row button.is-on, .chip:hover { background: linear-gradient(90deg, #c9a227, #f0d37a); color: #1a1406; }
.risk-row button.is-on small { color: #1a1406; }
.stepper { align-items: center; }
.stepper strong { min-width: 42px; text-align: center; font-size: 22px; }
.stepper button { width: 42px; height: 42px; }
.mine-hud, .pay-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mine-hud div, .pay-table div {
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
}
.mine-hud span, .pay-table b { display: block; color: #9eb0cc; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.mine-hud strong, .pay-table span { font-size: 18px; }
.pay-table { grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); margin: 4px 0; }
.pay-table .pays span { color: #f0d37a; }
.pay-table .is-now { outline: 2px solid #3dd68c; }
.casino .mine.is-open { transform: none; }
.casino .mine {
    display: grid;
    place-items: center;
    min-height: 0;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.16), transparent 55%),
        linear-gradient(180deg, #2a3d66, #152038);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 18px rgba(0,0,0,.28);
}
.casino .mine:disabled { cursor: default; }
.casino .mine.is-gem {
    background: radial-gradient(circle at 50% 42%, #eafff6, #3dd68c 36%, #0d6b45 70%);
    box-shadow: 0 0 22px rgba(61, 214, 140, .55);
}
.casino .mine.is-gem::after, .casino .mine.is-mine::after { content: "◆"; display: block; }
.casino .mine.is-gem::after { color: #083222; font-size: 22px; }
.casino .mine.is-mine {
    background: radial-gradient(circle at 50% 45%, #ffe1e6, #ff5d73 40%, #7a1020);
    box-shadow: 0 0 22px rgba(255, 93, 115, .5);
}
.casino .mine.is-mine::after { width: 16px; height: 16px; border-radius: 50%; background: #2a0a10; box-shadow: 0 0 0 4px rgba(255,255,255,.45); font-size: 0; }
.casino .kball { border-radius: 50%; }
.felt {
    padding: 18px 14px 22px;
    border-radius: 28px;
    background:
        radial-gradient(500px 180px at 50% 0%, rgba(255,255,255,.12), transparent 60%),
        linear-gradient(180deg, #1d6b45, #0e3d28 70%);
    border: 8px solid #6b3a1f;
    min-height: 320px;
}
.felt-label { display: flex; justify-content: space-between; color: rgba(255,255,255,.8); letter-spacing: .12em; font-size: 12px; margin: 8px 0; }
.felt-label b { letter-spacing: 0; font-size: 18px; }
.bj-result { min-height: 28px; text-align: center; font-weight: 800; }
.bj-result.is-win { color: #d9ffe9; }
.bj-result.is-lose { color: #ffd0d6; }
.bj-result.is-push { color: #ffe7a3; }
.casino .pcard {
    width: 84px; height: 118px; padding: 0;
    display: grid; place-items: center;
    background: linear-gradient(#fffefb, #f4efe4);
    color: #1b2433;
    position: relative;
}
.casino .pcard .corner { position: absolute; top: 6px; left: 7px; font-style: normal; font-weight: 800; line-height: 1; }
.casino .pcard .corner small { display: block; font-size: 12px; }
.casino .pcard .corner.flip { top: auto; left: auto; right: 7px; bottom: 6px; transform: rotate(180deg); }
.casino .pcard b { font-size: 34px; }
.casino .pcard.is-back {
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 40%),
        repeating-linear-gradient(135deg, #16356f 0 8px, #1d4e9a 8px 16px);
}
.stadium { padding: 8px 0 12px; }
.casino .goal { height: 340px; border-width: 4px; }
.zone {
    position: absolute; z-index: 2;
    min-width: 84px; padding: 8px 10px;
    border-radius: 14px; border: 1px solid rgba(255,255,255,.35);
    background: rgba(6, 16, 12, .45); color: #fff;
    font-weight: 700; cursor: pointer;
}
.zone b { display: block; color: #f0d37a; }
.zone-lh { top: 10%; left: 6%; }
.zone-rh { top: 10%; right: 6%; }
.zone-c { top: 42%; left: 50%; transform: translateX(-50%); }
.zone-ll { bottom: 14%; left: 8%; }
.zone-rl { bottom: 14%; right: 8%; }
.casino .keeper { width: 46px; height: 72px; left: calc(50% - 23px); bottom: 12%; transition: left .5s cubic-bezier(.16,.8,.2,1), bottom .5s cubic-bezier(.16,.8,.2,1), transform .5s cubic-bezier(.16,.8,.2,1); z-index: 3; }
.casino .ball { z-index: 4; left: calc(50% - 9px); bottom: 8%; transition: left .55s ease, bottom .55s ease; }
.goal.shot-lh .ball { left: 14%; bottom: 74%; }
.goal.shot-rh .ball { left: 80%; bottom: 74%; }
.goal.shot-c .ball { left: calc(50% - 9px); bottom: 70%; }
.goal.shot-ll .ball { left: 16%; bottom: 22%; }
.goal.shot-rl .ball { left: 78%; bottom: 22%; }
.goal.keep-lh .keeper { left: 10%; bottom: 62%; transform: rotate(-26deg); }
.goal.keep-rh .keeper { left: 78%; bottom: 62%; transform: rotate(26deg); }
.goal.keep-c .keeper { left: calc(50% - 23px); bottom: 58%; transform: scale(1.06); }
.goal.keep-ll .keeper { left: 12%; bottom: 16%; transform: rotate(-14deg); }
.goal.keep-rl .keeper { left: 76%; bottom: 16%; transform: rotate(14deg); }
.goal.is-goal { box-shadow: inset 0 0 50px rgba(61, 214, 140, .55); }
.goal.is-save { box-shadow: inset 0 0 40px rgba(255, 93, 115, .4); }
@keyframes fly-lh { to { transform: translate(-120px, -190px); } }
@keyframes fly-rh { to { transform: translate(120px, -190px); } }
@keyframes fly-c { to { transform: translate(0, -200px); } }
@keyframes fly-ll { to { transform: translate(-110px, -70px); } }
@keyframes fly-rl { to { transform: translate(110px, -70px); } }
@media (min-width: 900px) {
    .mines-layout, .keno-layout, .bj-layout, .pen-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
    .casino .goal { height: 420px; }
    .casino .mine { min-height: 84px; }
}
@media (max-width: 899px) {
    .bet-panel { order: 2; }
    .board, .felt, .stadium { order: 1; }
    .casino .goal { height: 300px; }
    .zone { min-width: 70px; font-size: 12px; padding: 6px; }
    .casino .pcard { width: 68px; height: 96px; }
    .casino .pcard b { font-size: 26px; }
}
.og-lobby-head {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin: 8px 0 18px; text-align: center;
}
.og-lobby-head i {
    position: relative; display: block; width: min(88px, 16vw); height: 1px;
    background: linear-gradient(90deg, transparent, var(--ice));
    transform-origin: right center; animation: sponsor-line 1s ease both;
}
.og-lobby-head i:last-child {
    background: linear-gradient(90deg, var(--ice), transparent);
    transform-origin: left center;
}
.og-lobby-head i::before {
    content: ""; position: absolute; top: 50%; width: 7px; height: 7px;
    background: var(--brand); transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 10px rgba(81, 217, 245, .8);
    animation: sponsor-gem 2.4s ease-in-out infinite;
}
.og-lobby-head i:first-child::before { right: -3px; }
.og-lobby-head i:last-child::before { left: -3px; }
.og-lobby-head span {
    font-family: var(--display); font-weight: 800; font-size: clamp(16px, 4.2vw, 28px);
    letter-spacing: .12em; line-height: 1.15; white-space: nowrap;
    background-image: linear-gradient(100deg, #f4f8ff 0 32%, #51D9F5 48%, #ffffff 52%, #f4f8ff 68% 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-text-fill-color: transparent;
    animation: sponsor-shine 4.2s linear infinite;
    filter: drop-shadow(0 0 12px rgba(22, 141, 255, .28));
}
.og-lobby { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.og-card {
    display: grid; gap: 0; overflow: hidden; border-radius: 22px; color: #fff; text-decoration: none;
    background: linear-gradient(180deg, #17243f, #0c1424);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 16px 30px rgba(0,0,0,.28);
}
.og-card img, .og-art { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.og-art { background: radial-gradient(circle at 50% 30%, #3d7dff, #09111f 70%); }
.og-card-copy { display: grid; gap: 6px; padding: 14px 16px 16px; }
.og-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.og-card-copy b { font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.og-rtp {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ice);
    border: 1px solid rgba(81, 217, 245, .35);
    background: rgba(81, 217, 245, .1);
    border-radius: 999px;
    padding: 3px 8px;
}
.og-card-copy em { color: var(--muted); font-style: normal; font-size: 13px; line-height: 1.35; }
.og { display: grid; gap: 14px; }
.og-bet, .og-stage {
    border-radius: 24px; border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(18,28,48,.92), rgba(8,12,22,.92));
}
.og-bet { display: grid; gap: 10px; align-content: start; padding: 16px; }
.og-brand { margin: 0; color: #f0d37a; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.og-bet h1 { margin: 0; }
.og-chips, .og-sides, .bj-actions, .hilo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.og-chips button, .og-sides button, .bj-actions button, .hilo-actions button, .og-extra .btn {
    border: 1px solid rgba(255,255,255,.12); background: #121c33; color: #fff;
    border-radius: 12px; padding: 10px 12px; font-weight: 700; cursor: pointer;
}
.og-sides button, .hilo-actions button { display: grid; text-align: left; }
.og-sides button small, .hilo-actions button small { color: #f0d37a; font-weight: 600; }
.og-sides button.is-on { background: linear-gradient(90deg, #c9a227, #f0d37a); color: #1a1406; }
.og-sides button.is-on small { color: #1a1406; }
.og-profit { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); }
.og-stage { position: relative; padding: 16px; min-height: 320px; overflow: hidden; }
.og-ribbon { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; }
.og-ribbon span { flex: 0 0 auto; padding: 6px 8px; border-radius: 999px; background: #121c33; color: #d5deee; font-size: 12px; }
.og-ribbon span.is-now { background: #f0d37a; color: #1a1406; }
.mine-mode { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: #121820; }
.mine-mode button { border: 0; border-radius: 999px; background: transparent; color: #9aa8c3; padding: 8px; font-weight: 700; cursor: pointer; }
.mine-mode button.is-on { background: #2a3548; color: #fff; }
.mine-setup { display: grid; gap: 8px; }
.mine-head { display: flex; align-items: baseline; justify-content: space-between; }
.mine-head span { color: var(--muted); font-size: 13px; font-weight: 600; }
.mine-head b { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--ice); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mine-picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mine-picks button {
    min-height: 40px; border-radius: 12px; border: 1px solid #22334F; background: #0c1424; color: #f4f8ff;
    font-weight: 700; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.mine-picks button.is-on { color: #fff; border-color: transparent; background: var(--brand); }
.mine-picks button:disabled { opacity: .45; cursor: default; }
#og-mines { width: 100%; height: 28px; accent-color: #168DFF; }
.og-bet #og-random {
    min-height: 42px; border-radius: 12px; border: 1px solid #22334F; background: #0c1424; color: #f4f8ff;
    font-weight: 700; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.og-bet #og-random:disabled { opacity: .45; cursor: default; }
.mine-profit em { font-style: normal; font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--ice); font-variant-numeric: tabular-nums; }
.mine-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.mine-foot button { border: 0; background: transparent; color: #93a0b8; font-weight: 700; cursor: pointer; }
.mine-read { min-width: 150px; padding: 8px 14px; border-radius: 999px; background: #121820; text-align: center; font-weight: 800; }
.mine-read.is-result { outline: 2px solid #3dd68c; color: #d9ffe9; }
.mine-read small { display: block; font-weight: 600; color: #f0d37a; }
.og .mine {
    position: relative; display: block; padding: 0; overflow: hidden; border-radius: 16px;
    background: transparent; box-shadow: none; transform: none;
}
.og .mine > span { position: absolute; inset: 0; pointer-events: none; background-repeat: no-repeat; background-position: center; }
.og .m-ground { background-image: url("../img/mines/ground.svg"); background-size: 100% 100%; }
.og .m-slot { background-image: url("../img/mines/slot.png?v=6"); background-size: 92% 92%; opacity: 0; }
.og .m-cover { background-image: url("../img/mines/cover.png?v=7"); background-size: 100% 100%; z-index: 5; transition: transform 80ms ease; }
.og .m-crystal, .og .m-bomb { background-size: 96%; z-index: 2; opacity: 0; }
.og .m-crystal { background-image: url("../img/mines/crystal.png?v=6"); }
.og .m-bomb { background-image: url("../img/mines/mine.png?v=6"); }
.og .m-ring, .og .m-bits { display: none; }
.og .mine.is-mark { outline: 2px solid #51D9F5; outline-offset: -3px; box-shadow: inset 0 0 0 1px rgba(81, 217, 245, .45); }
.og .mine.is-press .m-cover { transform: scale(.92) translateY(6%); }
.og .mine.is-lift .m-cover { transform: translateY(-115%) scale(.96); opacity: 0; transition: transform 70ms ease, opacity 70ms ease; }
.og .mine.is-lift .m-slot { opacity: 1; }
.og .mine.is-gem .m-crystal { opacity: 1; }
.og .mine.is-rise .m-crystal { animation: crystal-up 110ms ease forwards; }
.og .mine.is-shake { animation: mine-shake 180ms ease; }
.og .mine.is-shake .m-bomb { opacity: 1; }
.og .mine.is-mine .m-bomb { opacity: 1; }
.og .mine.is-dim.is-gem .m-crystal, .og .mine.is-dim.is-mine .m-bomb { opacity: 1; filter: none; animation: none; }
.og .mine.is-dim.is-gem .m-bomb, .og .mine.is-dim.is-mine .m-crystal { opacity: 0; }
.og .mine.is-gem, .og .mine.is-mine { background: transparent; box-shadow: none; }
.og .mine.is-gem::after, .og .mine.is-mine::after { content: none; }
@keyframes crystal-up {
    0% { transform: translateY(34%) rotate(-8deg); opacity: 0; }
    70% { transform: translateY(-6%) rotate(5deg); opacity: 1; }
    100% { transform: translateY(0) rotate(0); opacity: 1; }
}
@keyframes mine-shake { 30% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }
@keyframes edge-light { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
.og.is-soft .mine.is-press .m-cover { transform: none; filter: brightness(1.25); transition: filter 80ms linear; }
.og.is-soft .mine.is-lift .m-cover,
.og.is-soft .mine.is-rise .m-crystal,
.og.is-soft .mine.is-shake,
.og.is-soft .mine.is-shake .m-bomb,
.og.is-soft .mine.is-shake .m-bomb::after,
.og.is-soft .mine.is-shake .m-ring,
.og.is-soft .mine.is-shake .m-bits { animation: none; transform: none; }
.og.is-soft .mine.is-lift .m-cover { opacity: 0; transition: opacity 70ms linear; }
.og.is-soft .mine.is-rise .m-crystal { opacity: 1; transition: opacity 70ms linear; }
.og.is-soft .mine.is-shake .m-bomb { opacity: 1; filter: none; }
.keno-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.keno-tools button {
    min-height: 42px; border-radius: 12px; border: 1px solid #22334F; background: #0c1424; color: #f4f8ff;
    font-weight: 700; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.keno-tools button:disabled { opacity: .45; cursor: default; }
.keno-risk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.keno-read { min-height: 42px; margin: 12px auto 0; width: fit-content; padding: 8px 16px; border-radius: 16px; text-align: center; font-weight: 800; }
.keno-read.is-result { outline: 2px solid #e2b15a; background: #172033; }
.keno-read small { display: block; color: #f0d37a; font-weight: 700; }
.og .keno-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; max-width: 640px; }
.og .kball {
    position: relative; min-height: 0; aspect-ratio: 1; border-radius: 14px;
    background: #121820 url("../img/keno/normal.png") center / 100% 100% no-repeat;
    color: #f4f7fb; box-shadow: none;
    transition: transform 70ms ease, filter 70ms linear;
}
.og .kball b { position: relative; z-index: 1; font-size: clamp(12px, 2vw, 18px); }
.og .kball .k-line, .og .kball .k-check { display: none; }
.og .kball.is-press { transform: scale(.94); }
.og .kball.is-pick { background-image: url("../img/keno/pick.png"); box-shadow: none; }
.og .kball.is-draw { background-image: url("../img/keno/draw.png"); }
.og .kball.is-hit { background-image: url("../img/keno/hit.png?v=2"); animation: keno-rise 180ms ease forwards; box-shadow: none; }
.og .kball.is-hit::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(110deg, transparent 32%, rgba(150, 255, 190, .85) 50%, transparent 68%);
    animation: edge-light 180ms ease 1;
}
.og .pay-table { display: flex; gap: 6px; overflow-x: auto; margin-top: 12px; grid-template-columns: none; }
.og .pay-table div { flex: 0 0 auto; min-width: 68px; padding: 8px 10px; border-radius: 14px; background: #171d27; text-align: center; }
.og .pay-table b { color: #e8eef8; font-size: 13px; text-transform: none; letter-spacing: 0; }
.og .pay-table span { display: block; color: #8b97ab; font-size: 11px; }
.og .pay-table .is-now { background: #243044; box-shadow: 0 0 0 1px rgba(226, 177, 90, .7), 0 0 16px rgba(61, 214, 140, .2); }
@keyframes keno-rise { 60% { transform: translateY(-6px); } 100% { transform: translateY(-2px); } }
.og.is-soft .kball.is-press, .og.is-soft .kball.is-hit { animation: none; transform: none; }
.og.is-soft .kball.is-press { filter: brightness(1.25); }
.og.is-soft .kball.is-hit { filter: brightness(1.18); transition: filter 160ms linear; }
.og.is-soft .kball.is-hit::after { animation: none; opacity: .35; }
.road { display: flex; gap: 8px; overflow-x: auto; position: relative; min-height: 210px; padding: 28px 16px 16px 96px; background: linear-gradient(#1a2436, #10192a); border-radius: 18px; scroll-behavior: smooth; }
.lane {
    position: relative; min-width: 76px; border-left: 2px dashed rgba(255,255,255,.16);
    display: grid; align-content: end; justify-items: center; gap: 8px;
    background: transparent;
    transition: background 480ms ease;
    animation: lane-in 460ms cubic-bezier(.22, .8, .3, 1) both;
    animation-delay: calc(var(--i) * 18ms);
}
.lane b { font-size: 12px; transition: color 420ms ease, transform 420ms cubic-bezier(.22, .8, .3, 1); }
.lane i { width: 54px; height: 42px; border-radius: 0; background: center / contain no-repeat; box-shadow: none; transition: filter 480ms ease, transform 480ms cubic-bezier(.22, .8, .3, 1); }
.lane i.obs-puddle { background-image: url("../img/chicken/puddle.png?v=2"); }
.lane i.obs-cone { background-image: url("../img/chicken/cone.png?v=2"); }
.lane i.obs-crate { background-image: url("../img/chicken/crate.png?v=2"); }
.lane i.obs-barrel { background-image: url("../img/chicken/barrel.png?v=2"); }
.lane i.obs-hay { background-image: url("../img/chicken/hay.png?v=2"); }
.lane.is-safe { background: linear-gradient(180deg, rgba(80, 200, 140, .16), transparent 72%); }
.lane.is-safe i { filter: saturate(.85) brightness(1.05); transform: translateY(-2px); }
.lane.is-land b { color: #e7fff2; transform: translateY(-4px) scale(1.06); }
.lane.is-dead { background: linear-gradient(180deg, rgba(255, 90, 110, .18), transparent 72%); }
.lane.is-dead i { animation: chick-sink 520ms cubic-bezier(.22, .8, .3, 1); }
.lane.is-dead b { color: #ffb4be; }
.chick {
    position: absolute; top: auto; bottom: 78px; width: 72px; height: 64px; border-radius: 0;
    background: url("../img/chicken/idle.png?v=2") center / contain no-repeat;
    transition: left 640ms cubic-bezier(.22, .82, .3, 1);
}
.chick.is-walk { background-image: url("../img/chicken/walk.png?v=2"); animation: chick-bob 240ms ease-in-out infinite; }
.chick.is-slip { background-image: url("../img/chicken/slip.png?v=2"); animation: chick-slip 480ms cubic-bezier(.22, .8, .3, 1) both; }
.chick.is-in { animation: chick-in 420ms cubic-bezier(.22, .8, .3, 1); }
@keyframes lane-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes chick-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes chick-bob { 50% { transform: translateY(-4px); } }
@keyframes chick-slip { 40% { transform: translateY(6px) rotate(-8deg); } 100% { transform: translateY(10px) rotate(-12deg); } }
@keyframes chick-sink { 0% { transform: translateY(-6px) scale(1.04); } 100% { transform: translateY(4px) scale(.96); filter: brightness(1.2); } }
.og.is-soft .road { scroll-behavior: auto; }
.og.is-soft .lane, .og.is-soft .chick, .og.is-soft .lane i, .og.is-soft .lane b { animation: none; transition: none; }
.limbo-stage, .crash-stage { min-height: 280px; display: grid; place-items: center; position: relative; }
.limbo-stage strong, .crash-stage strong { position: relative; z-index: 2; font-size: clamp(42px, 8vw, 84px); }
.pump-count { display: none; }
.og.is-auto .pump-count { display: block; }
.pump-count input { width: 100%; accent-color: #3d7dff; }
.limbo-count, .keno-count, .mine-count { display: none; gap: 8px; }
.og.is-auto .limbo-count, .og.is-auto .keno-count, .og.is-auto .mine-count { display: grid; }
.limbo-count-head, .keno-count-head, .mine-count-head { display: flex; align-items: baseline; justify-content: space-between; }
.limbo-count-head span, .keno-count-head span, .mine-count-head span { color: var(--muted); font-size: 13px; font-weight: 600; }
.limbo-count-head b, .keno-count-head b, .mine-count-head b { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--ice); letter-spacing: -.03em; }
.limbo-rounds, .keno-rounds, .mine-rounds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.limbo-rounds button, .keno-rounds button, .mine-rounds button, .keno-risk button {
    min-height: 40px; border-radius: 12px; border: 1px solid #22334F; background: #0c1424; color: #f4f8ff;
    font-weight: 700; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.limbo-rounds button.is-on, .keno-rounds button.is-on, .mine-rounds button.is-on, .keno-risk button.is-on { color: #fff; border-color: transparent; background: var(--brand); }
.limbo-rounds button:disabled, .keno-rounds button:disabled, .mine-rounds button:disabled, .keno-risk button:disabled { opacity: .45; cursor: default; }
.bac-picks { display: grid; gap: 8px; }
.bac-main, .bac-pairs { display: grid; gap: 8px; }
.bac-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bac-pairs { grid-template-columns: 1fr 1fr; }
.bac-picks button {
    display: grid; justify-items: center; align-content: center; gap: 2px; min-width: 0; min-height: 58px; padding: 8px 4px;
    border-radius: 12px; border: 1px solid #22334F; background: #0c1424; color: #f4f8ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); cursor: pointer;
}
.bac-picks button b { font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; }
.bac-picks button small { color: var(--ice); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bac-picks button.is-on { color: #fff; border-color: transparent; background: var(--brand); }
.bac-picks button.is-on small { color: #fff; }
.bac-picks button:disabled { opacity: .45; cursor: default; }
#og-cash.pump-inflate { background: #2a3344; color: #d5deee; border: 0; }
#og-cash.pump-inflate:disabled { opacity: .45; }
.pump-station { position: relative; min-height: 440px; display: flex; align-items: flex-end; justify-content: center; }
.pump-machine { position: relative; display: flex; align-items: flex-end; justify-content: center; width: min(520px, 100%); }
.pump-body {
    position: relative; width: 124px; height: 148px; margin: 0 4px 6px; background: none; border: 0; box-shadow: none;
}
.pump-handle { position: absolute; left: 50%; top: 0; width: 72px; height: 58px; margin-left: -36px; transform-origin: 50% 100%; }
.pump-grip {
    display: block; height: 16px; border-radius: 9px;
    background: linear-gradient(180deg, #f7feff, #51D9F5 42%, #168DFF);
    box-shadow: inset 0 1px 0 #fff, 0 8px 16px rgba(22, 141, 255, .28);
}
.pump-rod {
    display: block; width: 12px; height: 42px; margin: 0 auto; border-radius: 6px;
    background: linear-gradient(90deg, #7ec8ea, #f4feff 42%, #51D9F5 70%, #168DFF);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.pump-barrel {
    position: absolute; left: 10px; right: 10px; bottom: 18px; height: 78px; border-radius: 22px 22px 16px 16px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.16), transparent 30%),
        linear-gradient(180deg, #1b3054, #101A2C 58%, #0b1220);
    border: 1px solid #22334F;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 28px rgba(0,0,0,.32);
}
.pump-glass {
    position: absolute; left: 16px; right: 16px; top: 14px; height: 30px; border-radius: 12px; overflow: hidden;
    background: linear-gradient(180deg, rgba(81, 217, 245, .22), rgba(7, 11, 21, .88));
    border: 1px solid rgba(81, 217, 245, .38);
}
.pump-glass::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
    background: linear-gradient(90deg, #1749F4, #168DFF 55%, #51D9F5);
}
.pump-lamp {
    position: absolute; left: 16px; bottom: 12px; width: 10px; height: 10px; border-radius: 50%;
    background: #22334F; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.pump-base {
    position: absolute; left: 0; right: 0; bottom: 0; height: 18px; border-radius: 9px;
    background: linear-gradient(180deg, #243656, #0c1424);
    border: 1px solid #22334F; box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.pump-body.is-stroke .pump-handle { animation: pump-stroke 480ms cubic-bezier(.16, .84, .28, 1); }
.pump-station.is-live .pump-lamp { background: #51D9F5; box-shadow: 0 0 10px #51D9F5; }
.pump-station.is-pop .pump-lamp { background: #ff8b9a; box-shadow: 0 0 10px #ff8b9a; }
.pump-hose {
    position: relative; width: 52px; height: 14px; margin: 0 0 30px -4px; overflow: hidden; border-radius: 99px;
    background: linear-gradient(180deg, #31486f, #15243f);
    border: 1px solid #22334F; box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.pump-air {
    position: absolute; top: 1px; bottom: 1px; left: -30%; width: 16px; opacity: 0; border-radius: 99px;
    background: linear-gradient(90deg, transparent, #f4feff, #51D9F5);
}
.pump-hose.is-pulse .pump-air { animation: pump-air 420ms ease; }
.pump-nozzle {
    position: relative; width: 22px; height: 28px; margin-bottom: 18px; border-radius: 7px 7px 11px 11px;
    background: linear-gradient(180deg, #f4feff, #51D9F5 36%, #168DFF);
    box-shadow: inset 0 1px 0 #fff, 0 8px 16px rgba(22, 141, 255, .25);
}
.pump-nozzle::before { content: none; }
.pump-flight { position: absolute; left: 50%; bottom: calc(100% - 2px); width: 0; height: 0; z-index: 2; }
.pump-balloon {
    position: absolute; left: 0; bottom: 0; width: 168px; height: 198px; margin-left: -84px;
    transform-origin: 50% 100%; transform: scale(var(--size, .22));
    background: url("../img/pump/balloon.png?v=4") center bottom / contain no-repeat;
}
.pump-balloon.is-flat { background-image: url("../img/pump/flat.png?v=4"); }
.pump-balloon.is-grow { animation: pump-grow 560ms cubic-bezier(.16, .84, .28, 1) forwards; }
.pump-balloon b {
    position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
    font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -.03em;
    text-shadow: 0 2px 0 rgba(110, 0, 20, .45);
}
.pump-shine {
    position: absolute; left: 22%; top: 12%; width: 30%; height: 18%; border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,.55), transparent);
    transform: rotate(-16deg); z-index: 1; pointer-events: none; opacity: 0;
}
.pump-balloon.is-sweep .pump-shine { animation: pump-sweep 640ms ease; }
.pump-neck {
    position: absolute; left: 50%; bottom: -6px; width: 16px; height: 14px; margin-left: -8px;
    background: linear-gradient(180deg, #c43248, #7d1524); border-radius: 0 0 6px 6px;
}
.pump-balloon.is-burst { animation: pump-burst 480ms ease forwards; }
.pump-bits { position: absolute; left: 0; bottom: 0; width: 0; height: 0; }
.pump-bits i {
    position: absolute; left: 0; bottom: var(--rise, 48px); width: 12px; height: 12px; margin-left: -6px;
    border-radius: 50%; background: #f25a52; opacity: 0;
}
.pump-bits.is-on i { animation: pump-bit 560ms cubic-bezier(.16, .84, .28, 1) forwards; }
.pump-bits i:nth-child(1) { --x: -64px; --y: 48px; }
.pump-bits i:nth-child(2) { --x: -28px; --y: 92px; }
.pump-bits i:nth-child(3) { --x: 22px; --y: 78px; }
.pump-bits i:nth-child(4) { --x: 62px; --y: 36px; }
.pump-bits i:nth-child(5) { --x: 8px; --y: 24px; width: 8px; height: 8px; }
.pump-bits i:nth-child(6) { --x: -40px; --y: 12px; width: 8px; height: 8px; }
.pump-card {
    position: absolute; left: 0; bottom: 108px; transform: translateX(-50%); min-width: 148px;
    padding: 12px 16px; border-radius: 16px; background: #101A2C; border: 1px solid #51D9F5;
    text-align: center; z-index: 4; box-shadow: 0 12px 24px rgba(0,0,0,.28);
}
.pump-card b { display: block; color: #51D9F5; font-family: var(--display); font-size: 28px; font-weight: 800; }
.pump-card span { color: #d5e4f6; font-weight: 700; }
.pump-card.is-pop { border-color: #ff8b9a; background: #101A2C; }
.pump-card.is-pop b { color: #ff8b9a; font-size: 34px; }
.pump-card.is-pop span { display: inline-block; margin-top: 6px; color: #ffd0d6; font-size: 16px; }
.pump-strip {
    position: relative; overflow: hidden; margin-top: 14px; padding: 4px 0 2px;
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.pump-track { display: flex; gap: 8px; width: max-content; transition: transform 520ms cubic-bezier(.16, .84, .28, 1); }
.pump-chip {
    flex: 0 0 auto; min-width: 78px; padding: 12px 12px; border-radius: 14px; opacity: .46;
    background: #101A2C; border: 1px solid #22334F; color: #d5e4f6; text-align: center; font-weight: 800;
    transition: opacity 280ms ease, background 280ms ease, color 280ms ease, border-color 280ms ease;
}
.pump-chip.is-done { opacity: .28; }
.pump-chip.is-now { opacity: 1; background: #123056; color: #51D9F5; border-color: #2a4f86; animation: pump-chip-in 420ms cubic-bezier(.16, .84, .28, 1); }
.pump-chip.is-pop { opacity: 1; background: #2a1520; color: #ff8b9a; border-color: #ff8b9a; }
@keyframes pump-stroke { 45% { transform: translateY(20px); } 100% { transform: translateY(0); } }
@keyframes pump-chip-in { 0% { transform: translateY(10px) scale(.94); } 100% { transform: translateY(0) scale(1); } }
@keyframes pump-air { from { left: -20%; opacity: 1; } to { left: 120%; opacity: 0; } }
@keyframes pump-grow {
    0% { transform: scale(var(--from)); }
    70% { transform: scale(calc(var(--size) * 1.04)); }
    100% { transform: scale(var(--size)); }
}
@keyframes pump-burst {
    35% { transform: scale(calc(var(--size) * 1.08)); }
    100% { transform: scale(calc(var(--size) * 1.22)); opacity: 0; }
}
@keyframes pump-sweep { 0% { transform: translateX(-30%) rotate(-18deg); opacity: .2; } 100% { transform: translateX(80%) rotate(-18deg); opacity: .7; } }
@keyframes pump-bit { 20% { opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) * -1)) scale(.4); opacity: 0; } }
@keyframes pump-flash { 40% { filter: brightness(1.6); } 100% { opacity: 0; } }
.og.is-soft .pump-balloon, .og.is-soft .pump-handle, .og.is-soft .pump-air, .og.is-soft .pump-shine, .og.is-soft .pump-bits i, .og.is-soft .pump-chip.is-now { animation: none !important; }
.og.is-soft .pump-balloon.is-flash { animation: pump-flash 160ms linear forwards !important; }
.og.is-soft .pump-track { transition: none; }
@media (max-width: 719px) {
    .pump-station { min-height: 360px; }
    .pump-body { width: 108px; height: 132px; }
    .pump-hose { width: 36px; }
    .pump-balloon { width: 136px; height: 160px; margin-left: -68px; }
    .pump-card.is-pop b { font-size: 34px; }
}
.og[data-game="crash"] .crash-stage {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    height: 440px; min-height: 440px; max-height: 440px; padding: 16px 16px 12px; overflow: hidden; border-radius: 24px; border: 1px solid #22334F;
    background:
        radial-gradient(80% 55% at 12% 100%, rgba(81, 217, 245, .14), transparent 62%),
        linear-gradient(180deg, #101A2C, #070B15);
}
.og[data-game="crash"] .crash-stage strong {
    position: relative; z-index: 4; align-self: center; flex: 0 0 auto;
    margin: 2px 0 12px; line-height: .9; font-size: clamp(40px, 7vw, 68px);
    font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
    color: #f4f8ff; pointer-events: none; transition: color .16s linear;
}
.og[data-game="crash"] .crash-stage.is-live strong { color: #51D9F5; }
.og[data-game="crash"] .crash-stage strong.is-crash { color: #ff8b9a; }
.og[data-game="crash"] .crash-stage svg {
    position: relative; inset: auto; flex: 1 1 auto; width: 100%; height: 1px; min-height: 0;
}
@media (max-width: 719px) {
    .og[data-game="crash"] .crash-stage { height: 360px; min-height: 360px; max-height: 360px; }
}
#crash-fill { fill: none; stroke: #51D9F5; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; opacity: .28; vector-effect: non-scaling-stroke; }
#crash-path { fill: none; stroke: url(#crash-stroke); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.crash-probe { position: absolute; left: 0; top: 0; z-index: 3; width: 112px; height: 79px; margin: 0; pointer-events: none; background: url("../img/crash/probe.png?v=4") center / 100% 100% no-repeat; filter: none; }
.crash-stage.is-down #crash-fill { stroke: #ff8b9a; fill: none; }
.crash-stage.is-down #crash-path { stroke: #ff8b9a; }
.crash-stage.is-down .crash-probe { opacity: 0; transition: opacity .18s linear; }
.crash-stage strong.is-crash { color: #ff8b9a; }
.og[data-game="limbo"] .limbo-stage { display: grid; gap: 12px; place-items: stretch; min-height: 0; }
.og[data-game="limbo"] .limbo-stage::before,
.og[data-game="limbo"] .limbo-stage::after { content: none; }
.og-recent, .limbo-hist {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px;
}
.og-recent { margin-top: 12px; }
.limbo-hist { margin-bottom: 12px; }
.og-recent > span, .limbo-hist > span {
    min-height: 34px; border-radius: 12px; display: grid; place-items: center; min-width: 0;
    background: #101A2C; border: 1px solid #22334F; color: #6d7d96;
    font-family: var(--display); font-size: clamp(10px, 2.2vw, 12px); font-weight: 800;
    font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.og-recent > span.is-win, .limbo-hist > span.is-win { color: #8dffc4; background: rgba(61, 214, 140, .12); border-color: rgba(61, 214, 140, .4); }
.og-recent > span.is-lose, .limbo-hist > span.is-lose { color: #ff8b9a; border-color: rgba(255, 107, 129, .35); }
.og-recent > span.is-push, .limbo-hist > span.is-push { color: #d5e4f6; border-color: #2a4064; }
.og-recent > span.is-new, .limbo-hist > span.is-new { animation: limbo-in 460ms cubic-bezier(.16, .84, .28, 1); }
.limbo-well {
    position: relative; display: grid; grid-template-rows: auto minmax(148px, 1fr);
    min-height: 320px; overflow: hidden; border-radius: 24px; border: 1px solid #22334F;
    background:
        linear-gradient(90deg, rgba(81, 217, 245, .045) 1px, transparent 1px) 0 0 / 56px 100%,
        radial-gradient(70% 80% at 8% 62%, rgba(23, 73, 244, .28), transparent 62%),
        linear-gradient(180deg, #101A2C, #070B15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.limbo-rail { position: relative; margin: 10px 36px 42px 20px; }
.limbo-rail::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 50%; height: 16px; margin-top: -8px; border-radius: 99px;
    background: linear-gradient(180deg, #070b14, #121c30);
    border: 1px solid #2a4064;
    box-shadow: inset 0 3px 8px rgba(0,0,0,.55), 0 0 0 4px rgba(16, 26, 44, .65);
}
.limbo-trail {
    position: absolute; left: 0; top: 50%; width: 0; height: 8px; margin-top: -4px; border-radius: 99px; overflow: hidden;
    background: linear-gradient(90deg, rgba(23, 73, 244, .35), #168DFF 70%, #51D9F5);
}
.limbo-well.is-run .limbo-trail::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 36%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
    animation: limbo-sheen 720ms linear infinite;
}
.limbo-line { position: absolute; top: 10%; bottom: 10%; width: 16px; margin-left: -8px; }
.limbo-line::before {
    content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, transparent, #51D9F5 18%, #51D9F5 82%, transparent);
}
.limbo-line::after {
    content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
    background: #51D9F5; transform: rotate(45deg); box-shadow: 0 0 12px #51D9F5;
    animation: limbo-gem 2.4s ease-in-out infinite;
}
.limbo-arrow {
    position: absolute; top: 50%; left: 8%; width: 36px; height: 16px; margin: 0;
    color: #51D9F5; transform: translate(-100%, -50%);
}
.limbo-arrow svg { display: block; width: 100%; height: 100%; overflow: visible; }
.limbo-arrow path { fill: currentColor; }
.limbo-arrow .limbo-arrow-shine { fill: #fff; }
.limbo-tick {
    position: absolute; top: calc(50% + 22px); transform: translateX(-50%);
    color: #8ea0b8; font-family: var(--display); font-size: 12px; font-weight: 800; white-space: nowrap;
}
.limbo-tick.is-goal { color: #51D9F5; top: auto; bottom: calc(50% + 18px); font-size: 13px; }
.limbo-tick.is-hot { color: #f4f8ff; }
.limbo-read { display: grid; align-content: end; justify-items: center; text-align: center; padding: 22px 12px 4px; }
.limbo-read strong {
    font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
    font-size: clamp(52px, 8vw, 88px); line-height: .9;
    background-image: linear-gradient(180deg, #ffffff 0%, #d9f7ff 42%, #51D9F5 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.limbo-read p { margin: 8px 0 0; color: #9eb0c9; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.limbo-read strong.is-win, .limbo-read strong.is-lose { animation: limbo-pop 420ms cubic-bezier(.16, .84, .28, 1); }
.limbo-read strong.is-win {
    background: none; color: #8dffc4; -webkit-text-fill-color: #8dffc4;
}
.limbo-read strong.is-lose {
    background: none; color: #ff8b9a; -webkit-text-fill-color: #ff8b9a;
}
.limbo-well.is-win .limbo-arrow { color: #3dd68c; }
.limbo-well.is-win .limbo-trail { background: linear-gradient(90deg, rgba(61, 214, 140, .28), #3dd68c); }
.limbo-well.is-win .limbo-line::before { background: linear-gradient(180deg, transparent, #8dffc4 18%, #8dffc4 82%, transparent); }
.limbo-well.is-win .limbo-line::after { background: #8dffc4; box-shadow: 0 0 12px #8dffc4; }
.limbo-well.is-lose .limbo-arrow { color: #ff6b81; }
.limbo-well.is-lose .limbo-trail { background: linear-gradient(90deg, rgba(255, 107, 129, .28), #ff6b81); }
.limbo-well.is-lose .limbo-line::before { background: linear-gradient(180deg, transparent, #ff8b9a 18%, #ff8b9a 82%, transparent); }
.limbo-well.is-lose .limbo-line::after { background: #ff8b9a; box-shadow: 0 0 12px #ff8b9a; animation: none; }
@keyframes limbo-in { from { opacity: 0; transform: translateX(-10px); } }
@keyframes limbo-pop { from { transform: scale(.92); } }
@keyframes limbo-sheen { from { transform: translateX(-130%); } to { transform: translateX(320%); } }
@keyframes limbo-gem { 50% { opacity: .45; } }
@media (max-width: 719px) {
    .limbo-well { min-height: 280px; }
    .limbo-rail { margin: 8px 22px 36px 18px; }
    .limbo-arrow { width: 30px; height: 14px; }
    .limbo-read strong { font-size: 48px; }
}
@media (min-width: 720px) {
    .og-recent, .limbo-hist { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .og[data-game="limbo"] { align-items: stretch; }
    .og[data-game="limbo"] .og-stage { display: flex; flex-direction: column; }
    .og[data-game="limbo"] .og-recent { margin-top: auto; }
}
.dart-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.dart-wrap { position: relative; width: min(420px, 100%); margin: 0 auto; aspect-ratio: 1; }
.dart-board, .dart-pin { pointer-events: none; }
.dart-board { position: absolute; inset: 0; }
.dart-metal, .dart-ceramic, .dart-zone, .dart-flash { position: absolute; border-radius: 50%; }
.dart-metal {
    inset: 0;
    background:
        radial-gradient(circle at 50% 44%, rgba(255,255,255,.12), transparent 22%),
        radial-gradient(circle, transparent 0 85.2%, #1c140e 85.8% 88.4%, #8d6840 88.8% 94.2%, #f0e2b8 94.5% 96%, #3b2918 96.4% 100%);
    box-shadow: inset 0 0 0 1px rgba(240, 226, 184, .28), 0 16px 28px rgba(0,0,0,.28);
}
.dart-board::after {
    content: ""; position: absolute; inset: 6.5%; border-radius: 50%; z-index: 2; pointer-events: none;
    background:
        radial-gradient(circle,
            transparent 0 12.6%,
            rgba(226, 232, 240, .9) 12.9% 14.2%,
            transparent 14.5% 30.8%,
            rgba(226, 232, 240, .82) 31.1% 32.4%,
            transparent 32.7% 46.8%,
            rgba(226, 232, 240, .78) 47.1% 48.4%,
            transparent 48.7% 62.8%,
            rgba(226, 232, 240, .72) 63.1% 64.4%,
            transparent 64.7% 81%,
            rgba(226, 232, 240, .66) 81.3% 82.8%,
            transparent 83.1%);
}
.dart-ceramic { inset: 6.5%; background: transparent; }
.dart-zone { inset: 6.5%; opacity: 1; }
.dart-zone[data-zone="dark"] { background: #1b2433; -webkit-mask: radial-gradient(circle, transparent 0 82.5%, #000 83.2% 100%); mask: radial-gradient(circle, transparent 0 82.5%, #000 83.2% 100%); }
.dart-zone[data-zone="slate"] { background: #8b98ad; -webkit-mask: radial-gradient(circle, transparent 0 64.5%, #000 65.2% 82%, transparent 82.7%); mask: radial-gradient(circle, transparent 0 64.5%, #000 65.2% 82%, transparent 82.7%); }
.dart-zone[data-zone="yellow"] { background: #e4b43a; -webkit-mask: radial-gradient(circle, transparent 0 48.5%, #000 49.2% 64%, transparent 64.7%); mask: radial-gradient(circle, transparent 0 48.5%, #000 49.2% 64%, transparent 64.7%); }
.dart-zone[data-zone="orange"] { background: #e06730; -webkit-mask: radial-gradient(circle, transparent 0 32.5%, #000 33.2% 48%, transparent 48.7%); mask: radial-gradient(circle, transparent 0 32.5%, #000 33.2% 48%, transparent 48.7%); }
.dart-zone[data-zone="red"] { background: #d2253c; -webkit-mask: radial-gradient(circle, transparent 0 14.5%, #000 15.2% 32%, transparent 32.7%); mask: radial-gradient(circle, transparent 0 14.5%, #000 15.2% 32%, transparent 32.7%); }
.dart-zone[data-zone="bull"] { background: radial-gradient(circle, #f4fff6 0 3.2%, #3dce4a 3.8% 100%); -webkit-mask: radial-gradient(circle, #000 0 14%, transparent 14.7%); mask: radial-gradient(circle, #000 0 14%, transparent 14.7%); }
.dart-flash { inset: 6.5%; background: rgba(255,255,255,.72); opacity: 0; }
.dart-flash.is-on { animation: dart-glow 200ms ease; }
.dart-flash[data-zone="dark"] { -webkit-mask: radial-gradient(circle, transparent 0 82%, #000 82% 100%); mask: radial-gradient(circle, transparent 0 82%, #000 82% 100%); }
.dart-flash[data-zone="slate"] { -webkit-mask: radial-gradient(circle, transparent 0 64%, #000 64% 82%, transparent 82%); mask: radial-gradient(circle, transparent 0 64%, #000 64% 82%, transparent 82%); }
.dart-flash[data-zone="yellow"] { -webkit-mask: radial-gradient(circle, transparent 0 48%, #000 48% 64%, transparent 64%); mask: radial-gradient(circle, transparent 0 48%, #000 48% 64%, transparent 64%); }
.dart-flash[data-zone="orange"] { -webkit-mask: radial-gradient(circle, transparent 0 32%, #000 32% 48%, transparent 48%); mask: radial-gradient(circle, transparent 0 32%, #000 32% 48%, transparent 48%); }
.dart-flash[data-zone="red"] { -webkit-mask: radial-gradient(circle, transparent 0 14%, #000 14% 32%, transparent 32%); mask: radial-gradient(circle, transparent 0 14%, #000 14% 32%, transparent 32%); }
.dart-flash[data-zone="bull"] { -webkit-mask: radial-gradient(circle, #000 0 14%, transparent 14%); mask: radial-gradient(circle, #000 0 14%, transparent 14%); }
.dart-pin { position: absolute; z-index: 4; width: 0; height: 0; transform-origin: 0 0; }
.dart-pin img {
    position: absolute; width: 108px; max-width: none; height: calc(108px * 532 / 476);
    left: calc(108px * -4 / 476); top: calc(108px * -530 / 476);
    transform-origin: calc(100% * 4 / 476) calc(100% * 530 / 532);
    filter: drop-shadow(3px 7px 3px rgba(0,0,0,.42));
}
.dart-pin.is-stuck img { animation: dart-sink 320ms cubic-bezier(.16, .84, .28, 1); }
.dart-spark {
    position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px;
    background: url("../img/darts/spark.png") center / contain no-repeat; opacity: 0; pointer-events: none;
}
.dart-pin.is-stuck .dart-spark { animation: dart-spark 180ms ease; }
.dart-pays { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.dart-pay { min-width: 58px; padding: 8px 10px 6px; border-radius: 12px; background: #101A2C; border: 1px solid #22334F; text-align: center; }
.dart-pay b { display: block; font-family: var(--display); font-size: 14px; font-weight: 800; }
.dart-pay i { display: block; height: 3px; margin-top: 6px; border-radius: 3px; background: #1b2433; }
.dart-pay[data-zone="slate"] i { background: #8b98ad; }
.dart-pay[data-zone="yellow"] i { background: #e4b43a; }
.dart-pay[data-zone="orange"] i { background: #e06730; }
.dart-pay[data-zone="red"] i { background: #d2253c; }
.dart-pay[data-zone="bull"] i { background: #3dce4a; }
.dart-pay.is-now { border-color: #51D9F5; background: #123056; }
.dart-hist { display: flex; flex-direction: column; gap: 8px; min-width: 72px; }
.dart-past { padding: 8px 10px; border-radius: 12px; text-align: center; font-weight: 800; background: #2a3344; }
.dart-past[data-zone="slate"] { background: #e6c34a; color: #1a1406; }
.dart-past[data-zone="yellow"] { background: #ff9a2e; color: #1a1406; }
.dart-past[data-zone="orange"] { background: #ff5d6c; color: #1a1406; }
.dart-past[data-zone="red"] { background: #e1062a; }
.dart-past[data-zone="bull"] { background: #3dce4a; color: #06210c; }
.dart-past.is-new { animation: dart-slide 220ms ease; }
@keyframes dart-glow { 30% { opacity: .28; } 100% { opacity: 0; } }
@keyframes dart-sink { 0% { transform: scale(1.14); } 60% { transform: scale(.96); } 100% { transform: scale(1); } }
@keyframes dart-spark { 0% { opacity: .95; transform: scale(.35); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes dart-slide { from { transform: translateX(18px); opacity: 0; } }
.og.is-soft .dart-pin { transition: none !important; }
.og.is-soft .dart-pin.is-stuck img, .og.is-soft .dart-pin.is-stuck .dart-spark, .og.is-soft .dart-flash.is-on, .og.is-soft .dart-past.is-new { animation: none; }
@media (max-width: 719px) {
    .dart-pin img { width: 86px; max-width: none; height: calc(86px * 532 / 476); left: calc(86px * -4 / 476); top: calc(86px * -530 / 476); }
}
.og.is-soft .dart-pin.is-stuck .dart-spark { opacity: .8; }
.og.is-soft .dart-flash.is-on { opacity: .45; transition: opacity 160ms linear; }
@media (max-width: 719px) {
    .dart-layout { grid-template-columns: 1fr; }
    .dart-hist { flex-direction: row; flex-wrap: wrap; }
}
.og[data-game="plinko"] .og-stage { overflow: visible; }
.plinko { position: relative; margin: 4px auto 0; max-width: 100%; }
.plinko .peg, .plinko .pball {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}
.plinko .peg {
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 32%, #fff, #51D9F5 46%, #168DFF);
    box-shadow: 0 0 0 3px rgba(81, 217, 245, .14);
}
.plinko .peg.is-hit { animation: peg-hit .32s ease; }
.plinko b {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0 1px;
    border-radius: 8px;
    border: 1px solid #22334F;
    background: #101A2C;
    color: #d7e7f8;
    font-family: var(--display);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.plinko b.is-cold { background: #0c1422; color: #8ea3bd; }
.plinko b.is-even { background: #123056; color: #d7ecff; }
.plinko b.is-warm { background: linear-gradient(180deg, #168DFF, #1749F4); color: #fff; border-color: #3d8dff; }
.plinko b.is-hot { background: linear-gradient(180deg, #51D9F5, #168DFF); color: #062033; border-color: #8eebf8; }
.plinko b.is-land { transform: translateY(2px); box-shadow: 0 0 0 2px #51D9F5, 0 8px 16px rgba(22, 141, 255, .4); }
.plinko .pball {
    z-index: 3;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, #fff 0 10%, transparent 11%),
        radial-gradient(circle at 40% 38%, #e9fdff, #51D9F5 40%, #168DFF 76%);
    box-shadow: 0 0 0 1px #070B15, 0 4px 8px rgba(7, 11, 21, .4);
}
@keyframes peg-hit {
    40% { transform: scale(1.45); box-shadow: 0 0 0 7px rgba(81, 217, 245, .28); }
}
.og[data-game="plinko"] .og-profit strong { color: #51d9f5; }
.og[data-game="plinko"] .og-profit.is-pop { animation: plinko-pop .35s ease; }
@keyframes plinko-pop {
    0% { transform: translateY(8px); background: rgba(81, 217, 245, .2); }
    100% { transform: none; background: rgba(255, 255, 255, .04); }
}
.og-hist { display: flex; gap: 6px; flex-wrap: wrap; }
.hilo-actions button { min-width: 140px; }
@media (min-width: 900px) {
    .og { grid-template-columns: 280px minmax(0, 1fr); align-items: start; }
    .og-stage { min-height: 460px; }
    .og[data-game="hilo"] { align-items: start; }
    .og[data-game="hilo"] .og-stage { min-height: 0; height: auto; overflow: visible; }
}
@media (max-width: 899px) {
    .og-stage { order: 1; }
    .og-bet { order: 2; }
    .og .mine, .og .kball { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track, .live-pill i, .stat, .quick a, .admin-card, .hero-slider, .marquee, .sponsor-card, .trend i, .popup-card, .sponsor-head, .sponsor-head span, .sponsor-head i, .og[data-game="blackjack"] .pcard.is-deal, .og[data-game="blackjack"] .bj-card.is-open, .og[data-game="baccarat"] .pcard.is-deal, .og[data-game="hilo"] .pcard.is-deal, .lane, .chick, .limbo-chip.is-new, .limbo-read strong, .limbo-well.is-run .limbo-trail::after, .limbo-line::after, .og-recent span.is-new, .limbo-hist span.is-new, .game-back, .feature-card, .feature-card::after, .feature-card img, .og-lobby-head, .og-lobby-head span, .og-lobby-head i, .og-lobby-head i::before { animation: none; }
    .wheel, .hero-slider .slide, .sponsor-card, .quick a, .nav-drawer, .brand, .menu-box span, .og-card, .feature-card, .btn, .menu-games, .menu-caret, .og-profit.is-pop, .og-bet #og-note.is-on, .footer-seal, .socials a { transition: none; animation: none; }
    .og-bet #og-note.is-on { opacity: 1; transform: none; }
    body.nav-open .nav-drawer a,
    body.nav-open .nav-drawer .menu-label,
    body.nav-open .drawer-tools button,
    body.nav-open .nav-drawer .text-btn { animation: none; opacity: 1; transform: none; }
}

h1, h2, h3, .block h2, .subhead, .hero-box h1, .panel h2, .og-bet h1, .dialog-head h2, .sheet-head strong, .admin-top h1, .stat b, .feature-card strong, .og-card-copy b, .welcome h2 {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--text);
    overflow-wrap: break-word;
}
.block h2, .subhead, .eyebrow, .feature-card small, .menu-label, .og-brand, .side-label {
    text-transform: uppercase;
    letter-spacing: .04em;
}
.og-bet {
    gap: 12px;
    padding: 18px 16px 16px;
    background:
        radial-gradient(140% 80% at 0% 0%, rgba(81, 217, 245, .1), transparent 42%),
        var(--card);
}
.og-bet h1 { margin: -4px 0 2px; font-size: 30px; text-transform: none; letter-spacing: -.02em; }
.og-bet > label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.og-bet input, .og-bet select { min-height: 48px; font-weight: 700; font-variant-numeric: tabular-nums; background: #070B15; }
.og-bet input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.og-bet input[type="number"]::-webkit-outer-spin-button,
.og-bet input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bet-step {
    display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 46px; align-items: stretch; min-height: 48px;
    border: 1px solid #22334F; border-radius: 14px; background: #070B15; overflow: hidden;
}
.bet-addon { display: inline-flex; align-items: center; padding-right: 8px; color: var(--ice); pointer-events: none; }
.bet-step button {
    border: 0; background: transparent; color: var(--ice); font-family: var(--display); font-size: 24px; font-weight: 700;
    cursor: pointer; transition: transform .42s cubic-bezier(.22, .82, .28, 1), background .42s cubic-bezier(.22, .82, .28, 1);
}
.bet-step button:hover { background: rgba(81, 217, 245, .08); }
.bet-step button:active:not(:disabled) { transform: scale(.88); }
.bet-step input {
    width: 100%; min-height: 48px; border: 0; background: transparent; text-align: center;
    font-family: var(--display); font-size: 20px; font-weight: 800; color: #fff; box-shadow: none;
}
.bet-step.is-tick input { animation: bet-tick .32s cubic-bezier(.22, .82, .28, 1); }
.bet-step:has(input:disabled) button { opacity: .4; pointer-events: none; }
@keyframes bet-tick { 0% { transform: translateY(5px); color: var(--ice); } 100% { transform: none; color: #fff; } }
.og-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.og-chips button { transition: transform .42s cubic-bezier(.22, .82, .28, 1), border-color .42s cubic-bezier(.22, .82, .28, 1), background .42s cubic-bezier(.22, .82, .28, 1), box-shadow .42s cubic-bezier(.22, .82, .28, 1); }
.og-chips button:hover { border-color: #2a4f86; }
.og-chips button:active { transform: translateY(1px) scale(.985); }
.og-bet #og-act {
    min-height: 48px;
    border-radius: 14px;
    clip-path: none;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    transition: transform .42s cubic-bezier(.22, .82, .28, 1), filter .42s cubic-bezier(.22, .82, .28, 1), box-shadow .42s cubic-bezier(.22, .82, .28, 1);
}
.og-bet #og-act:active:not(:disabled) { transform: translateY(1px) scale(.985); }
.og-bet #og-act:disabled { opacity: .5; cursor: default; }
.og-bet #og-cash { min-height: 46px; font-weight: 800; transition: border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.og-bet #og-cash:disabled { opacity: .42; }
.og-bet #og-cash:not(:disabled) {
    color: #d9ffe9;
    border-color: rgba(61, 214, 140, .55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(61, 214, 140, .12);
}
.og-bet #og-cash:not(:disabled):active { transform: translateY(1px); }
.og-profit {
    align-items: baseline;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: #070B15;
}
.og-profit span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.og-profit strong { font-family: var(--display); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ice); }
.og-profit.is-pop { animation: bet-pop .35s ease; }
.og-bet #og-note { min-height: 1.35em; margin: 0; font-weight: 600; color: #d5e4f6; opacity: 0; transform: translateY(6px); }
.og-bet #og-note.is-on { animation: note-in .32s ease forwards; }
@keyframes bet-pop {
    0% { transform: translateY(6px); border-color: rgba(81, 217, 245, .65); }
    100% { transform: none; }
}
@keyframes note-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .og-profit.is-pop, .og-bet #og-note.is-on, .bet-step.is-tick input { animation: none; }
    .og-bet #og-note.is-on { opacity: 1; transform: none; }
}
.block h2, .subhead { font-size: clamp(20px, 4vw, 30px); margin: 28px 0 18px; }
.block h2::after, .subhead::after, .stat::before, .device-track i { background: var(--brand); }
.eyebrow, .og-brand, .feature-card small, .menu-label, .side-label, .og-card-copy small { color: var(--ice); }
.bonus strong, .sponsor-card h3, .hero-box h1, .panel h2 { color: var(--text); }
.topbar {
    background: rgba(7, 11, 21, .94);
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
    padding: 8px 14px 8px 16px;
    min-height: 61px;
    z-index: 50;
}
.brand-row .menu-box {
    width: 40px;
    height: 40px;
    border-radius: 999px;
}
body.nav-open .drawer-gap { display: none; }
.brand { flex: none; max-width: none; overflow: visible; }
.brand img, .side-brand img { height: 32px; width: auto; max-width: none; object-fit: contain; }
.top-actions { min-width: 0; }
.coin-pill { max-width: min(46vw, 190px); }
.coin-pill .tugi-num { overflow: hidden; text-overflow: ellipsis; }
.menu-box, .coin-pill, .dock-home {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--edge);
}
.coin-pill { color: var(--ice); }
.btn-blue {
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 0;
    clip-path: var(--cut);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
    transition: transform var(--ease), filter var(--ease), box-shadow var(--ease);
}
.btn:active:not(:disabled), .go-btn:active, .text-btn:active, .menu-box:active, .dock a:active, .dock button:active, .slider-nav:active, .og-sides button:active, .bj-actions button:active, .hilo-actions button:active, .mine-mode button:active, .sponsor-card .go:active {
    transform: translateY(1px) scale(.985);
}
.btn-blue:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 18px rgba(22, 141, 255, .28); }
.btn-dark, .btn-ghost, .menu-box, .dock a, .dock button, .slider-nav, .og-sides button, .bj-actions button, .hilo-actions button, .mine-mode button, .sponsor-card .go {
    transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease), color var(--ease), filter var(--ease);
}
.btn-dark, .btn-ghost {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--edge);
}
.hero-slider {
    margin: 4px 0 28px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--edge), var(--shadow);
}
.hero-slider::before {
    content: "";
    position: absolute;
    z-index: 2;
    pointer-events: none;
    inset: 0 auto 0 0;
    width: min(34%, 280px);
    background: linear-gradient(90deg, rgba(23, 73, 244, .38), rgba(81, 217, 245, 0));
}
.sponsor-card, .feature-card, .og-card, .panel, .hero-box, .note, .empty, .row-card, .cta, .stat, .admin-card, .dialog, .sheet-card, .popup-card, .marquee, .alert, .table-wrap {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--edge), var(--shadow);
}
.sponsor-card, .og-card {
    border-radius: var(--radius);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.sponsor-card:hover, .feature-card:hover, .og-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue-2);
    box-shadow: var(--edge), 0 16px 32px rgba(23, 73, 244, .24);
}
.og-card img, .og-art, .sponsor-card img { object-fit: contain; }
.og-card img, .og-art { aspect-ratio: 4 / 3; object-fit: cover; }
.og-card-copy em, .feature-card em { color: var(--muted); }
.sponsor-card .go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 0;
    clip-path: var(--cut);
}
.nav-drawer, .side {
    background: #070B15;
    border-right: 1px solid var(--line);
}
.nav-drawer {
    height: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
}
.nav-drawer a, .drawer-tools button, .nav-drawer .text-btn, .nav-drawer .menu-fold > button {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--edge);
    border-radius: var(--radius-sm);
}
.nav-drawer a.is-on, .nav-drawer a:hover, .drawer-tools button:hover, .nav-drawer .text-btn:hover, .nav-drawer .menu-fold > button.is-on, .nav-drawer .menu-fold > button:hover {
    color: #fff;
    border-color: #2a4f86;
    box-shadow: var(--edge), 0 0 14px rgba(22, 141, 255, .16);
}
.nav-drawer a.is-on, .nav-drawer .menu-fold > button.is-on { position: relative; }
.nav-drawer a.is-on::before, .nav-drawer .menu-fold > button.is-on::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 3px;
    height: 20px;
    background: var(--brand);
    transform: skewX(-22deg);
    border-radius: 1px;
}
.drawer-brand { background: transparent; border: 0; box-shadow: none; overflow: visible; }
body:not(.nav-open) .drawer-brand { display: none; }
body.nav-open .drawer-brand {
    display: flex;
    width: auto;
    height: auto;
    justify-content: flex-start;
    padding: 0 4px 10px;
}
body.nav-open .drawer-brand img { height: 34px; width: auto; max-width: 100%; max-height: none; object-fit: contain; }
.dock { background: rgba(7, 11, 21, .96); border-top: 1px solid var(--line); }
.dock a, .dock button { min-height: 48px; }
.dock a.active, .dock button.active { color: var(--ice); position: relative; }
.dock a.active::after, .dock button.active::after {
    content: "";
    display: block;
    width: 16px;
    height: 3px;
    margin: 3px auto 0;
    background: var(--brand);
    transform: skewX(-24deg);
}
.dock-home img { width: auto; height: 22px; max-width: 48px; object-fit: contain; }
input, textarea, select {
    background: #0b1220;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color var(--ease), box-shadow var(--ease);
}
input:focus, textarea:focus, select:focus {
    border-color: var(--blue-2);
    box-shadow: 0 0 0 3px rgba(22, 141, 255, .2);
}
.og-bet, .og-stage {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--edge);
}
.og-chips button, .og-sides button, .bj-actions button, .hilo-actions button, .og-extra .btn, #og-cash.pump-inflate, .mine-foot button {
    background: #0c1424;
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: var(--radius-sm);
    box-shadow: var(--edge);
    min-height: 44px;
}
.og-sides button.is-on, .mine-mode button.is-on {
    background: #101A2C;
    color: #fff;
    border-color: #2a4f86;
}
.og-sides button.is-on small, .hilo-actions button small { color: var(--ice); }
.mine-mode { background: #0b1220; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mine-mode button.is-on { position: relative; }
.mine-mode button.is-on::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 5px;
    height: 3px;
    background: var(--brand);
    transform: skewX(-24deg);
}
@media (min-width: 1024px) {
    .brand img { height: 40px; }
}
@media (max-width: 719px) {
    .block h2, .subhead, .og-bet h1, .admin-top h1, .hero-box h1 { font-size: clamp(18px, 6vw, 26px); }
    .brand img { height: 26px; }
    .og-card img, .og-art { aspect-ratio: 4 / 3; }
    .btn, .og-chips button, .mine-mode button, .limbo-rounds button, .keno-rounds button, .mine-rounds button, .keno-risk button, .mine-picks button, .feature-card { min-height: 44px; }
}
#sponsorlar .block {
    margin: 16px 0;
    padding: 16px 12px 14px;
    border-radius: 20px;
    border: 1px solid #22334F;
    background:
        radial-gradient(220px 90px at 50% 0%, rgba(81, 217, 245, .1), transparent 72%),
        #101A2C;
    box-shadow: var(--edge), var(--shadow);
}
#sponsorlar .sponsor-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 4px 0 16px;
    text-align: center;
}
#sponsorlar .sponsor-head::before,
#sponsorlar .sponsor-head::after { content: none; }
#sponsorlar .sponsor-head i {
    position: relative;
    display: block;
    width: min(88px, 16vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ice));
    transform-origin: right center;
    animation: sponsor-line 1s ease both;
}
#sponsorlar .sponsor-head i:last-child {
    background: linear-gradient(90deg, var(--ice), transparent);
    transform-origin: left center;
}
#sponsorlar .sponsor-head i::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    background: var(--brand);
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 10px rgba(81, 217, 245, .8);
    animation: sponsor-gem 2.4s ease-in-out infinite;
}
#sponsorlar .sponsor-head i:first-child::before { right: -3px; }
#sponsorlar .sponsor-head i:last-child::before { left: -3px; }
#sponsorlar .sponsor-head span {
    position: relative;
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    font-size: clamp(18px, 4.2vw, 28px);
    letter-spacing: .12em;
    line-height: 1.15;
    background-image: linear-gradient(100deg, #f4f8ff 0 32%, #51D9F5 48%, #ffffff 52%, #f4f8ff 68% 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: sponsor-shine 4.2s linear infinite;
    filter: drop-shadow(0 0 12px rgba(22, 141, 255, .28));
    white-space: nowrap;
}
#sponsorlar .sponsor-head.is-vip span {
    background-image: linear-gradient(100deg, #d7ecff 0 28%, #51D9F5 46%, #ffffff 52%, #168DFF 64%, #d7ecff 80% 100%);
    filter: drop-shadow(0 0 16px rgba(81, 217, 245, .45));
}
#sponsorlar .sponsor-head.is-vip i::before { animation-duration: 1.8s; }
#sponsorlar .sponsor-head.is-seal img {
    display: block;
    width: auto;
    height: 72px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}
@keyframes sponsor-line { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes sponsor-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes sponsor-gem { 50% { transform: translateY(-50%) rotate(45deg) scale(1.35); } }
@media (max-width: 719px) {
    #sponsorlar .block { padding: 14px 10px 12px; }
    #sponsorlar .sponsor-head { gap: 8px; margin-bottom: 12px; }
    #sponsorlar .sponsor-head i { width: 22px; }
    #sponsorlar .sponsor-head span { font-size: 13px; letter-spacing: .08em; }
    .og-lobby-head { gap: 8px; margin-bottom: 12px; }
    .og-lobby-head i { width: 22px; }
    .og-lobby-head span { font-size: 13px; letter-spacing: .08em; }
    .og-lobby { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .og-card { position: relative; border-radius: 14px; }
    .og-card img, .og-art { aspect-ratio: 1; }
    .og-card-copy { gap: 0; padding: 7px 6px 8px; }
    .og-card-top { display: block; text-align: center; }
    .og-card-copy b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .og-card-copy em { display: none; }
    .og-rtp { position: absolute; top: 6px; right: 6px; font-size: 9px; letter-spacing: 0; padding: 2px 5px; }
    #sponsorlar .sponsor-head.is-seal img { height: 56px; padding: 8px 12px; }
    .phone { padding: 8px 12px calc(118px + env(safe-area-inset-bottom)); }
    .topbar { margin: 0 -12px 8px; padding: 8px 12px 10px; gap: 8px; }
    .brand { max-width: 108px; }
    .brand img { height: 30px; }
    .menu-box { width: 40px; height: 40px; }
    .top-actions { min-width: 0; }
    .coin-pill { min-width: 0; max-width: 46vw; padding: 7px 8px; }
    .top-actions .btn { padding: 8px 10px; }
    .hero-slider { border-radius: 18px; margin-bottom: 12px; }
    .slider-nav { width: 32px; height: 32px; }
    .feature-strip { gap: 8px; margin: 6px 0 12px; }
    .cards { gap: 8px; }
    .sponsor-card { padding: 12px 8px 10px; }
    .sponsor-card h3, .bonus strong { overflow-wrap: normal; }
    .bonus { min-height: 0; padding: 8px 6px; }
    .sponsor-card .go { letter-spacing: .02em; font-size: 11px; padding: 8px 4px; }
    .og-stage, .og-bet { padding: 12px; }
    .og .mine { aspect-ratio: 1; min-height: 0; }
    .og .keno-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
    .og .kball { border-radius: 12px; }
    .og .kball b { font-size: 14px; }
    .road { padding: 22px 8px 12px 72px; min-height: 188px; }
    .lane { min-width: 64px; }
    .chick { width: 60px; height: 54px; bottom: 70px; }
    .site-footer { margin-top: 16px; padding: 16px 12px 14px; gap: 12px; }
    .footer-seal img { height: 36px; }
    .socials { gap: 6px; }
    .socials a { min-height: 34px; padding: 6px 10px; font-size: 12px; }
    .dock { border-radius: 16px 16px 0 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
    .dock a, .dock button { font-size: 10px; min-height: 44px; padding: 4px 0; }
    .dock-home { width: 54px; height: 54px; margin-top: -22px; }
    .dock-home img { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .btn, .go-btn, .text-btn, .menu-box, .dock a, .dock button, .slider-nav, .og-chips button, .og-sides button, .bj-actions button, .hilo-actions button, .mine-mode button, .og-bet #og-act, .og-bet #og-cash, .sponsor-card .go, .sheet, .modal, .sheet-card, .dialog { transition: none; }
    .sheet-card, .dialog { transform: none; }
}
