:root {
    color-scheme: dark;
    --bg: #101c29;
    --panel: #172635;
    --muted: #90a4b8;
    --accent: #39e5bb;
    --line: #263746
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: #f4f7fa;
    font: 14px 'DM Sans', sans-serif
}

button, input {
    font: inherit
}

button {
    cursor: pointer;
    color: inherit;
    border: 0
}

button:disabled {
    opacity: .45;
    cursor: not-allowed
}

button:focus-visible, input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px
}

button:hover {
    filter: brightness(1.12)
}

.brand {
    font: 800 28px 'Outfit', sans-serif;
    letter-spacing: -1px
}

.brand span {
    color: var(--accent)
}

.brand small {
    display: block;
    font: 600 9px 'DM Sans';
    letter-spacing: 5px;
    color: var(--muted);
    margin: 1px 0 0 30px
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 228px;
    background: #0c1722;
    padding: 30px 18px;
    z-index: 5;
    border-right: 1px solid #1b2b38
}

.sidebar .brand {
    margin: 0 15px 35px
}

.nav-label {
    font-size: 10px;
    letter-spacing: 1.7px;
    font-weight: 700;
    color: #60788e;
    margin: 26px 15px 12px
}

.nav {
    display: flex;
    align-items: center;
    gap: 13px;
    background: transparent;
    width: 100%;
    padding: 13px 15px;
    margin: 4px 0;
    color: #9caebe;
    text-align: left;
    border-radius: 7px;
    font-weight: 600
}

.nav.active {
    background: #193b3d;
    color: var(--accent)
}

.nav .icon {
    font-size: 19px;
    width: 22px;
    text-align: center
}

.nav .tag {
    font-size: 9px;
    background: var(--accent);
    color: #07382c;
    padding: 3px 5px;
    border-radius: 4px;
    margin-left: auto
}

.side-bottom {
    position: absolute;
    bottom: 24px;
    left: 25px;
    right: 25px;
    color: #617c91;
    font-size: 11px
}

.side-bottom b {
    color: #b6c8d7
}

.online-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 6px
}

.topbar {
    height: 84px;
    margin-left: 228px;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: #111f2d
}

.top-label {
    font-weight: 700;
    font-size: 13px
}

.top-label span {
    color: var(--muted);
    margin-left: 24px;
    font-weight: 400
}

.account {
    display: flex;
    align-items: center;
    gap: 12px
}

.balance {
    background: #0c1722;
    padding: 11px 15px;
    border-radius: 7px;
    font-weight: 700
}

.coin {
    color: #f2c76b;
    margin-right: 8px
}

.primary {
    background: var(--accent);
    color: #08392f;
    padding: 12px 22px;
    border-radius: 7px;
    font-weight: 800
}

.avatar {
    background: #293b4b;
    border: 1px solid #3a4d5c;
    border-radius: 50%;
    height: 36px;
    width: 36px;
    font-weight: 700
}

.mobile-menu {
    display: none;
    background: transparent;
    font-size: 24px
}

main {
    margin-left: 228px;
    padding: 32px 42px;
    width: calc(100% - 228px);
    max-width: none;
}

main > * {
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 800
}

.hero {
    min-height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: radial-gradient(ellipse at 78% 45%, #1c6862 0, transparent 47%), linear-gradient(110deg, #20394b, #152f3a);
    border: 1px solid #2a454e;
    display: flex;
    align-items: center;
    padding: 36px 40px
}

.hero-copy {
    z-index: 2;
    width: 57%
}

h1 {
    font: 700 clamp(30px, 3.5vw, 50px)/1.1 'Outfit', sans-serif;
    letter-spacing: -1.5px;
    margin: 15px 0
}

h1 em {
    font-style: normal;
    color: var(--accent)
}

.hero p {
    color: #b2c5d0;
    font-size: 13px;
    line-height: 1.8;
    max-width: 360px;
    margin: 15px 0 24px
}

.hero .primary {
    padding: 13px 24px
}

.hero-art {
    position: absolute;
    right: 4%;
    top: 30px;
    width: 34%;
    height: 240px;
    transform: rotate(-9deg)
}

.playing-card {
    position: absolute;
    background: linear-gradient(140deg, #fff, #cbd9dc);
    color: #15363c;
    width: 120px;
    height: 174px;
    border-radius: 12px;
    box-shadow: 0 20px 35px #001c2580;
    font: 700 29px 'Outfit';
    padding: 13px;
    left: 20%;
    top: 32px;
    transform: rotate(-12deg);
    border: 4px solid #edf4ed
}

.playing-card.front {
    left: 47%;
    top: 28px;
    transform: rotate(15deg);
    color: #176956
}

.suit {
    display: block;
    text-align: center;
    font-size: 64px;
    line-height: 1.5
}

.chip {
    position: absolute;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25b99b;
    border: 9px dashed #9df8dd;
    box-shadow: 0 8px 0 #117968, 0 20px 28px #082e3e80;
    left: 4%;
    bottom: 0;
    font: bold 22px 'Outfit';
    color: #064d42;
    transform: rotate(20deg)
}

.chip.gold {
    width: 69px;
    height: 69px;
    left: 76%;
    bottom: 5px;
    background: #ecc373;
    border-color: #ffecb8;
    color: #805418;
    box-shadow: 0 7px 0 #a77b35, 0 20px 28px #082e3e80
}

.spark {
    position: absolute;
    right: 3%;
    top: 15px;
    color: #72edca;
    font-size: 32px
}

.promo-row {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 16px;
    margin: 18px 0 32px
}

.promo {
    padding: 19px 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    display: flex;
    align-items: center;
    gap: 17px;
    text-align: left
}

.promo-icon {
    font-size: 26px;
    background: #254139;
    border-radius: 10px;
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center
}

.promo:nth-child(2) .promo-icon {
    background: #383445
}

.promo strong {
    display: block;
    font-size: 14px;
    margin-bottom: 5px
}

.promo small {
    color: var(--muted);
    font-size: 11px
}

.arrow {
    margin-left: auto;
    color: var(--accent);
    font-size: 22px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 18px
}

h2 {
    font: 600 23px 'Outfit';
    margin: 0;
    letter-spacing: -.4px
}

.section-head p {
    color: var(--muted);
    margin: 6px 0 0;
    font-size: 12px
}

.pill {
    background: #1b2d3c;
    border: 1px solid #2e4353;
    border-radius: 5px;
    padding: 7px 12px;
    font-size: 10px;
    color: #aec1cf
}

.filters {
    display: flex;
    gap: 7px;
    margin-bottom: 20px
}

.filter {
    padding: 9px 17px;
    border-radius: 6px;
    background: var(--panel);
    color: #9dafbd;
    font-size: 12px
}

.filter.selected {
    background: #2b4a49;
    color: #75f0cf
}

.games {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 18px
}

.game {
    text-align: left;
    padding: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 11px;
    overflow: hidden;
    transition: transform .2s
}

.game:hover {
    transform: translateY(-5px)
}

.cover {
    height: 206px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.cover:before {
    content: '';
    position: absolute;
    width: 210px;
    height: 210px;
    border: 1px solid #ffffff12;
    border-radius: 50%;
    box-shadow: 0 0 0 24px #ffffff04, 0 0 0 50px #ffffff03
}

.cover.slots {
    background: radial-gradient(at 50% 20%, #ad5178, #512f59 80%)
}

.cover.blackjack {
    background: radial-gradient(at 50% 20%, #338a73, #174e49 80%)
}

.cover.coinflip {
    background: radial-gradient(at 50% 20%, #b07b36, #694928 80%)
}

.cover.keno {
    background: radial-gradient(at 50% 20%, #726cc3, #393666 80%)
}

.mini-label {
    position: absolute;
    top: 13px;
    left: 13px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.3px;
    background: #ffffff18;
    padding: 5px 7px;
    border-radius: 4px
}

.game-art {
    font: 800 62px 'Outfit';
    filter: drop-shadow(0 10px 8px #0005);
    z-index: 1;
    letter-spacing: -4px
}

.slots .game-art {
    background: #f9e8cc;
    color: #bb3261;
    border: 7px solid #dbaf69;
    border-radius: 14px;
    font-size: 45px;
    letter-spacing: 4px;
    padding: 3px 8px;
    transform: rotate(-7deg)
}

.blackjack .game-art {
    font-size: 69px;
    color: #fff1da;
    transform: rotate(-13deg)
}

.coinflip .game-art {
    border: 7px double #ffdc81;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    text-align: center;
    font-size: 55px;
    color: #ffdf8d;
    background: #bc862f;
    box-shadow: 5px 6px 0 #795322;
    transform: rotate(-14deg)
}

.keno .game-art {
    color: #fff;
    background: #9588eb;
    border: 6px solid #bcafff;
    border-radius: 50%;
    font-size: 44px;
    width: 81px;
    height: 81px;
    text-align: center;
    line-height: 68px;
    box-shadow: 26px 13px 0 -10px #6654b0, -28px 18px 0 -12px #bd96dd;
    transform: rotate(12deg)
}

.cover-title {
    position: relative;
    font: 800 24px 'Outfit';
    letter-spacing: 1px;
    margin-top: 16px;
    text-shadow: 0 3px 4px #0003
}

.game-info {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.game-info b {
    font-size: 13px
}

.game-info small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 5px
}

.play-icon {
    border-radius: 50%;
    background: #243b49;
    color: var(--accent);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-size: 9px
}

.bottom-banner {
    margin-top: 29px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(110deg, #1a2c3b, #142432)
}

.bottom-banner strong {
    font-size: 13px
}

.bottom-banner p {
    color: var(--muted);
    font-size: 11px;
    margin: 5px 0 0
}

.bottom-banner .pill {
    margin-left: auto
}

footer {
    display: flex;
    justify-content: space-between;
    color: #617a8c;
    font-size: 10px;
    margin-top: 27px;
    padding-bottom: 10px
}

dialog {
    background: #172635;
    color: #eff5fa;
    border: 1px solid #3a5162;
    border-radius: 15px;
    width: min(520px, calc(100% - 30px));
    padding: 28px;
    box-shadow: 0 25px 90px #0008
}

dialog::backdrop {
    background: #050d16bf;
    backdrop-filter: blur(5px)
}

.dialog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.close {
    background: #243746;
    border-radius: 6px;
    font-size: 20px;
    padding: 3px 10px
}

.muted {
    color: var(--muted);
    line-height: 1.7
}

.amount {
    font: 700 42px 'Outfit';
    margin: 20px 0
}

.field {
    display: block;
    margin: 16px 0;
    color: #a8becd
}

.field input {
    display: block;
    width: 100%;
    padding: 12px;
    background: #0e1b28;
    color: white;
    border: 1px solid #354e60;
    border-radius: 7px;
    margin-top: 8px
}

.game-stage {
    padding: 24px 10px;
    text-align: center;
    background: #10202d;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 42px;
    letter-spacing: 8px
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.secondary {
    background: #2b4152;
    padding: 12px 20px;
    border-radius: 7px
}

.notice {
    min-height: 22px;
    color: var(--accent);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 15px
}

.numbers {
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    gap: 6px;
    margin: 18px 0
}

.number {
    background: #2a4052;
    border-radius: 5px;
    padding: 10px 0
}

.number.picked {
    background: var(--accent);
    color: #073b32
}

.number.drawn {
    outline: 2px solid #f1c66f
}

.setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

.setting input {
    accent-color: var(--accent);
    width: 20px;
    height: 20px
}

body.compact .cover {
    height: 160px
}

@media (min-width: 1500px) {
    .cover {
        height: 250px
    }
}

@media (max-width: 1100px) {
    .sidebar {
        width: 195px
    }

    .topbar, main {
        margin-left: 195px
    }

    .topbar {
        padding: 0 25px
    }

    main {
        padding: 25px
    }

    .games {
        gap: 12px
    }

    .cover {
        height: 180px
    }

    .hero {
        padding: 30px
    }

    .hero-art {
        right: 0;
        width: 40%
    }

    .top-label span {
        display: none
    }
}

@media (max-width: 760px) {
    .sidebar {
        display: none;
        box-shadow: 0 0 0 100vw #0008
    }

    .sidebar.open {
        display: block
    }

    .topbar, main {
        margin-left: 0
    }

    .topbar {
        height: 70px;
        padding: 0 18px
    }

    .mobile-menu {
        display: block
    }

    .top-label {
        display: none
    }

    .account {
        gap: 8px
    }

    .account .primary {
        padding: 10px 14px
    }

    main {
        padding: 20px 16px
    }

    .hero {
        padding: 25px;
        min-height: 305px
    }

    .hero-copy {
        width: 75%
    }

    .hero-art {
        opacity: .45;
        right: -50px;
        width: 55%;
        top: 70px
    }

    .hero p {
        max-width: 240px
    }

    .promo-row {
        gap: 10px
    }

    .promo {
        padding: 14px 12px;
        gap: 10px
    }

    .promo-icon {
        display: none
    }

    .promo small {
        font-size: 10px
    }

    .games {
        grid-template-columns:repeat(2, 1fr)
    }

    .cover {
        height: 200px
    }

    .section-head .pill {
        display: none
    }

    .bottom-banner {
        padding: 18px
    }

    .bottom-banner .pill {
        display: none
    }

    footer {
        gap: 15px;
        font-size: 9px
    }

    .hero h1 {
        font-size: 37px
    }

    .filters {
        gap: 5px
    }

    .filter {
        padding: 9px 12px
    }
}

/* Account and full-game experience */
[hidden] {
    display: none !important
}

body {
    font-family: Inter, 'Segoe UI', sans-serif
}

h1, h2, .brand, .cover-title, .game-art, .amount {
    font-family: 'Segoe UI', sans-serif
}

a {
    color: var(--accent)
}

input, select {
    font: inherit
}

select {
    width: 100%;
    background: #10212f;
    color: #e8f0f6;
    padding: 12px;
    border: 1px solid #344b5d;
    border-radius: 6px
}

label {
    font-size: 12px;
    font-weight: 600
}

.sidebar .side-bottom {
    position: static;
    margin-top: 35px
}

.sidebar {
    overflow: auto
}

.banner-icon {
    font-size: 28px;
    color: var(--accent)
}

.back {
    background: transparent;
    color: #9bb1c5;
    padding: 8px 0;
    font-size: 12px
}

.back:hover {
    color: var(--accent)
}

.game-layout {
    display: grid;
    grid-template-columns:265px minmax(0, 1fr);
    border: 1px solid #2a3d4e;
    border-radius: 12px;
    overflow: hidden;
    min-height: 540px
}

.bet-panel {
    background: #1b2d3d;
    padding: 22px
}

.bet-panel label {
    display: flex;
    justify-content: space-between;
    color: #b8c8d5;
    margin: 19px 0 8px
}

.bet-panel label small {
    color: #dfbf77
}

.mode-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid #354959;
    padding-bottom: 18px;
    font-size: 12px
}

.demo-badge {
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--accent)
}

.bet-input {
    display: flex;
    background: #10212f;
    border: 1px solid #344b5d;
    border-radius: 6px;
    overflow: hidden
}

.bet-input input {
    min-width: 0;
    width: 100%;
    padding: 13px 10px;
    color: white;
    background: transparent;
    border: 0;
    font-weight: 700
}

.bet-input button {
    background: #2a4153;
    padding: 9px;
    border-left: 1px solid #3a5163
}

.input-hint {
    color: #8099ac;
    font-size: 10px;
    margin-top: 8px;
    line-height: 1.6
}

.random-controls {
    display: flex;
    gap: 6px
}

.random-controls select {
    width: 65px
}

.random-controls button {
    padding: 10px;
    flex: 1;
    font-size: 11px
}

.play-button {
    width: 100%;
    padding: 17px;
    margin-top: 20px
}

.bet-note {
    font-size: 11px;
    color: #8faabc;
    line-height: 1.7;
    margin-top: 17px
}

.session-note {
    font-size: 10px;
    color: #729087;
    padding-top: 25px
}

.play-surface {
    background: #10202e;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative
}

.keno-stage {
    padding: 28px
}

.board-top {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 1.2px;
    color: #8ea7bd;
    margin: 0 0 24px
}

.keno-board {
    display: grid;
    grid-template-columns:repeat(8, minmax(0, 1fr));
    gap: 10px
}

.keno-tile {
    position: relative;
    background: #2b4357;
    border-radius: 7px;
    box-shadow: 0 4px 0 #1b3142;
    aspect-ratio: 1.16;
    min-height: 42px;
    font-size: clamp(13px, 1.5vw, 22px);
    font-weight: 800;
    transition: transform .15s, background .2s
}

.keno-tile:hover {
    background: #3f5b71;
    transform: translateY(-2px)
}

.keno-tile.picked {
    background: #8154e6;
    box-shadow: 0 4px 0 #4e2b9b
}

.keno-tile.drawn {
    background: #3e5261;
    outline: 2px solid #dcbf79;
    outline-offset: -3px
}

.keno-tile.hit {
    background: #37e4af;
    color: #074334;
    box-shadow: 0 4px 0 #139d79;
    outline: none
}

.keno-tile.hit:after {
    content: '◆';
    position: absolute;
    right: 4px;
    top: 2px;
    font-size: 10px
}

.board-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 10px;
    color: #8b9bae;
    margin: 25px 0
}

.board-legend span:first-child {
    color: #aa83ff
}

.board-legend span:nth-child(2) {
    color: #4ce6b4
}

.paytable {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 6px 1px 12px
}

.pay-cell {
    min-width: 50px;
    flex: 1;
    text-align: center;
    border: 1px solid #304858;
    border-radius: 6px;
    background: #1b2e3e;
    padding: 9px 3px;
    font-size: 11px
}

.pay-cell b {
    display: block;
    color: #d1dce5;
    white-space: nowrap;
    font-size: 11px
}

.pay-cell small {
    display: block;
    font-size: 9px;
    color: #839caf;
    margin-top: 6px
}

.pay-cell.won {
    border-color: var(--accent);
    background: #204d43
}

.result-strip {
    margin-top: auto;
    padding: 18px;
    text-align: center;
    font-size: 13px;
    background: #0d1b27;
    border-top: 1px solid #233745;
    min-height: 55px;
    color: #b9cbd8
}

.result-strip.win {
    color: var(--accent);
    background: #102e2b
}

.round-meta {
    font-family: monospace;
    font-size: 10px;
    color: #627f91;
    padding: 14px 0;
    overflow-wrap: anywhere
}

.side-buttons {
    display: flex;
    gap: 7px
}

.side-buttons button {
    flex: 1;
    padding: 11px
}

.side-buttons .selected {
    background: #2c6057;
    color: #69f4cc;
    outline: 1px solid #3baf96
}

.hand-actions {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 8px;
    margin-top: 12px
}

.hand-actions button {
    padding: 12px 5px
}

.blackjack-stage {
    flex: 1;
    min-height: 485px;
    background: radial-gradient(ellipse at center, #16463f, #102d30 68%, #10202e);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center
}

.table-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #9dbbb6;
    margin-bottom: 15px
}

.table-label span {
    letter-spacing: 0;
    margin-left: 8px;
    color: #72e3ba;
    border: 1px solid #507b6c;
    border-radius: 15px;
    padding: 3px 9px
}

.cards {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap
}

.poker-card {
    width: 68px;
    height: 98px;
    flex-shrink: 0;
    background: linear-gradient(130deg, #fffef4, #dce4dc);
    color: #17333c;
    border-radius: 7px;
    box-shadow: 0 6px 0 #051e2560, 0 8px 15px #061c2738;
    position: relative;
    text-align: left;
    padding: 6px;
    font-size: 19px;
    font-weight: 800;
    animation: deal .25s ease-out
}

.poker-card.red {
    color: #cf4460
}

.poker-card .card-center {
    font-size: 38px;
    position: absolute;
    left: 0;
    right: 0;
    top: 26px;
    text-align: center
}

.poker-card .card-bottom {
    position: absolute;
    bottom: 5px;
    right: 5px;
    transform: rotate(180deg);
    font-size: 15px
}

.poker-card.card-back {
    background: repeating-linear-gradient(45deg, #346072 0, #346072 4px, #2d5264 4px, #2d5264 8px);
    border: 4px solid #d5e3dc;
    display: grid;
    place-items: center;
    color: #99d8c7;
    font-size: 29px
}

.felt-brand {
    font-size: 21px;
    letter-spacing: 6px;
    font-weight: 800;
    color: #76b7a536;
    margin: 25px
}

.felt-brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    margin-top: 9px;
    color: #91bbaa66
}

.player-hands {
    display: flex;
    justify-content: center;
    gap: 20px
}

.player-hand {
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    min-width: 0
}

.player-hand.current {
    border-color: #53c6a2;
    background: #5cdfac08
}

.hand-caption {
    font-size: 11px;
    color: #9abeb3;
    margin-top: 15px
}

.hand-outcome {
    color: var(--accent);
    font-size: 12px;
    margin-top: 8px
}

.slots-stage {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    background: radial-gradient(ellipse, #482546, #14222f 75%)
}

.slots-stage h2 {
    font-size: 32px;
    letter-spacing: 3px;
    margin: 17px
}

.reel-frame {
    display: flex;
    gap: 8px;
    padding: 15px;
    border: 5px solid #ab8655;
    border-radius: 17px;
    background: #291c30;
    box-shadow: 0 0 0 3px #463756, 0 14px 35px #0005;
    margin: 20px 0
}

.reel-frame span {
    display: grid;
    place-items: center;
    width: clamp(60px, 6vw, 110px);
    height: 125px;
    background: linear-gradient(#dfd4bc, #fffae8, #ddd0b1);
    border-radius: 6px;
    font-size: 50px;
    color: #d24469;
    font-weight: 900
}

.slots-table {
    font-size: 11px;
    color: #b9aabc;
    text-align: center;
    line-height: 2.2
}

.coinflip-stage {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 430px;
    background: radial-gradient(ellipse, #4c3d27, #132432 68%);
    padding: 30px
}

.big-coin {
    width: 150px;
    height: 150px;
    border: 12px double #f3d48e;
    box-shadow: 6px 8px 0 #7c5b25, 0 20px 35px #0004;
    border-radius: 50%;
    background: linear-gradient(140deg, #c9953e, #edc978, #b37b29);
    color: #82591d;
    display: grid;
    place-items: center;
    font-size: 77px;
    font-weight: 900;
    margin: 30px;
    transform: rotate(-12deg)
}

.resume, .recovery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #21413d;
    border: 1px solid #3b6c5d;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 12px
}

.recovery {
    background: #403429;
    border-color: #9c7b4c
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px
}

.history-table th {
    text-align: left;
    color: #8fa6b8;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 15px 12px;
    background: #152635
}

.history-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #253a4b
}

.table-wrap {
    overflow: auto;
    border: 1px solid #2a4052;
    border-radius: 9px;
    margin: 20px 0 35px
}

.positive {
    color: var(--accent)
}

.negative {
    color: #de94a0
}

.history-empty {
    padding: 35px;
    color: var(--muted)
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #254638;
    color: #d9ffed;
    padding: 15px 23px;
    border: 1px solid #46856d;
    border-radius: 8px;
    z-index: 50;
    max-width: 90%;
    box-shadow: 0 8px 30px #0006
}

.wallet-options {
    display: flex;
    gap: 10px;
    margin: 16px 0
}

.wallet-options span {
    background: #2b4354;
    padding: 9px 13px;
    border-radius: 5px;
    font-size: 12px
}

.wallet-options .active {
    background: #235446;
    color: var(--accent)
}

.wallet-address {
    overflow-wrap: anywhere;
    font-family: monospace;
    font-size: 11px;
    line-height: 1.7;
    color: var(--accent)
}

.rules-copy {
    font-size: 13px;
    line-height: 1.9;
    color: #adbfce
}

.rules-copy li {
    margin: 8px 0
}

.password-section {
    border-top: 1px solid #354d5e;
    margin-top: 22px;
    padding-top: 16px
}

.password-section summary {
    cursor: pointer;
    color: #acbfce;
    font-size: 13px
}

.modal-note {
    font-size: 12px;
    line-height: 1.7;
    color: #90a7ba
}

.reduce-motion *, .reduce-motion *:before, .reduce-motion *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
}

@keyframes deal {
    from {
        transform: translateY(-15px) rotate(-5deg);
        opacity: 0
    }
    to {
        transform: none;
        opacity: 1
    }
}

@keyframes flip {
    to {
        transform: rotateY(360deg)
    }
}

@keyframes reel {
    to {
        filter: blur(5px);
        transform: translateY(3px)
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}

@media (max-width: 1100px) {
    .game-layout {
        grid-template-columns:230px minmax(0, 1fr)
    }

    .keno-stage {
        padding: 20px 14px
    }

    .keno-board {
        gap: 7px
    }

    .bet-panel {
        padding: 18px
    }

    .poker-card {
        width: 57px;
        height: 85px
    }

    .poker-card .card-center {
        font-size: 30px;
        top: 23px
    }

    .player-hands {
        gap: 0
    }

    .player-hand {
        padding: 8px
    }

    .cards {
        gap: 5px
    }
}

@media (max-width: 900px) {
    .game-layout {
        grid-template-columns:1fr
    }

    .bet-panel {
        order: 2;
        display: grid;
        grid-template-columns:1fr 1fr;
        gap: 10px 20px
    }

    .mode-switch, .play-button, .hand-actions, .bet-note, .session-note, .bet-panel > label, .bet-input, .input-hint {
        grid-column: 1/-1
    }

    .bet-panel > label {
        margin-bottom: 0
    }

    .bet-panel .play-button {
        margin-top: 5px
    }

    .bet-note {
        margin: 0
    }

    .session-note {
        padding: 0
    }

    .play-surface {
        min-height: 400px
    }

    .keno-stage {
        padding: 22px
    }

    .keno-tile {
        max-height: 70px
    }

    .side-bottom {
        display: none
    }
}

@media (max-width: 600px) {

    .keno-stage {
        padding: 17px 10px
    }

    .keno-board {
        gap: 6px
    }

    .keno-tile {
        min-height: 33px;
        border-radius: 5px;
        font-size: 15px
    }

    .board-top {
        font-size: 8px;
        letter-spacing: .7px
    }

    .board-legend {
        gap: 14px
    }

    .game-layout {
        border-radius: 8px
    }

    .bet-panel {
        padding: 18px
    }

    .blackjack-stage {
        padding: 25px 8px;
        min-height: 420px
    }

    .player-hands {
        flex-wrap: wrap
    }

    .poker-card {
        width: 54px;
        height: 79px
    }

    .poker-card .card-center {
        font-size: 29px;
        top: 22px
    }

    .felt-brand {
        font-size: 17px;
        margin: 20px 0
    }

    .resume, .recovery {
        padding: 12px;
        gap: 8px;
        font-size: 11px
    }

    .resume button {
        padding: 10px;
        white-space: nowrap;
        font-size: 11px
    }

    .game-page .section-head {
        gap: 12px
    }

    .hero-copy {
        width: 90%
    }

    .hero-art {
        opacity: .25
    }

    .hero h1 {
        font-size: 32px
    }

    .reel-frame span {
        height: 95px;
        font-size: 38px
    }

    .bet-panel #side-field {
        grid-column: 1/-1
    }

    .history-table td {
        white-space: nowrap
    }
}

/* Keep game geometry fixed while only the result pieces animate. */
.game-layout {
    overflow-anchor: none;
}

.working .play-button:disabled {
    opacity: 1;
}

.working .keno-tile:disabled {
    opacity: 1;
    filter: none;
}

.keno-tile:disabled {
    cursor: default;
}

.keno-tile:disabled:hover {
    transform: none;
}

.result-strip {
    height: 76px;
    min-height: 76px;
    padding: 12px 18px;
    display: grid;
    place-content: center;
    line-height: 1.5;
    overflow: hidden;
}

.round-meta {
    height: 54px;
    min-height: 54px;
    line-height: 14px;
    overflow: hidden;
}

.keno-stage .paytable {
    min-height: 77px;
}

#keno-math {
    min-height: 32px;
}

.recovery {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(640px, calc(100% - 32px));
    z-index: 15;
    margin: 0;
    box-shadow: 0 10px 35px #0006;
}

.reel-frame > .slot-reel {
    position: relative;
    overflow: hidden;
}

.reel-frame .reel-track {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: none;
    border-radius: 0;
    will-change: transform;
}

.reel-frame .reel-symbol {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: none;
    border-radius: 0;
}

.coinflip-stage {
    perspective: 900px;
}

.big-coin.coin-3d {
    position: relative;
    display: block;
    background: none;
    border: 0;
    box-shadow: none;
    transform-style: preserve-3d;
    transform: rotate(-12deg) rotateY(0deg);
}

.big-coin.coin-3d.is-tails {
    transform: rotate(-12deg) rotateY(180deg);
}

.coin-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 12px double #f3d48e;
    border-radius: 50%;
    background: linear-gradient(140deg, #c9953e, #edc978, #b37b29);
    box-shadow: 0 6px 0 #7c5b25, 0 14px 25px #0003;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.coin-back {
    transform: rotateY(180deg);
    background: linear-gradient(140deg, #e6b55b, #bd8534, #f2d18b);
}

.keno-drop {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    font: inherit;
    will-change: transform, opacity;
}

.keno-drop.matched {
    background: #37e4af;
    color: #074334;
    box-shadow: 0 4px 0 #139d79;
}

.keno-drop.matched:after {
    content: '◆';
    position: absolute;
    right: 4px;
    top: 2px;
    font-size: 10px;
}

.keno-drop.missed {
    background: #3e5261;
    outline: 2px solid #dcbf79;
    outline-offset: -3px;
}

@media (hover: none) {
    .keno-tile:hover {
        transform: none;
    }
}

@media (max-width: 600px) {
    .recovery {
        flex-direction: column;
        gap: 10px;
    }

    .reel-frame .reel-symbol {
        height: 100%;
    }
}

#game-page[data-game="blackjack"] .hand-actions {
    min-height: 100px;
    align-content: start;
}

.blackjack-stage .player-hands {
    min-height: 176px;
    align-items: end;
}

#keno-math {
    min-height: 64px;
}

/* Nexttal branding, currency selector and package catalog */
.brand {
    display: flex;
    align-items: center;
    gap: 9px
}

.brand img {
    flex: 0 0 40px;
    border-radius: 50%;
    object-fit: contain
}

.brand small {
    margin-left: 2px
}

.brand-banner {
    overflow: hidden;
    border: 1px solid #35334f;
    border-radius: 14px;
    background: #030408
}

.brand-banner > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2164/727;
    object-fit: contain
}

.banner-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: linear-gradient(110deg, #0d2531, #22122f)
}

.banner-caption > span {
    color: #a7c7db;
    font-size: 11px;
    letter-spacing: 1.5px
}

.currency-balance {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    min-height: 42px
}

.currency-icon {
    display: flex;
    color: #f2c76b
}

.currency-icon img, .token-icon {
    border-radius: 50%;
    object-fit: contain
}

.currency-balance select {
    width: auto;
    max-width: 85px;
    margin: 0;
    padding: 6px 2px;
    background: transparent;
    border: 0;
    color: #e7f1fb;
    font: inherit;
    font-size: 12px
}

.currency-balance select option {
    background: #152635
}

.currency-balance select:focus-visible {
    outline: 2px solid var(--accent)
}

.wallet-grid, .package-grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 12px
}

.wallet-card, .package-card, .wager-progress {
    padding: 18px;
    background: #10202d;
    border: 1px solid #2b4050;
    border-radius: 12px;
    min-width: 0
}

.wallet-card h3, .package-card h3 {
    margin: 10px 0
}

.wallet-card strong, .package-card > strong {
    font-size: 24px;
    overflow-wrap: anywhere
}

.wallet-card p, .wager-progress p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6
}

.token-icon {
    width: 30px;
    height: 30px
}

.exact-balances {
    margin: 18px 0;
    color: var(--muted)
}

.exact-balances summary {
    cursor: pointer
}

.wager-progress {
    margin: 16px 0
}

.wager-progress h3 {
    margin-top: 0
}

.wager-progress strong {
    font-size: 25px;
    color: var(--accent)
}

.package-card button {
    width: 100%;
    font-size: 12px;
    padding: 10px 5px
}

.package-card p {
    font-size: 12px;
    color: #afc8da
}

.package-card > img {
    border-radius: 50%
}

@media (max-width: 600px) {
    .banner-caption {
        padding: 12px;
        flex-wrap: wrap
    }

    .banner-caption > span {
        font-size: 9px
    }

    .banner-caption .primary {
        padding: 10px 14px;
        font-size: 12px
    }

    .account {
        gap: 6px
    }

    .currency-balance {
        padding: 5px 6px;
        gap: 4px
    }

    .currency-balance select {
        font-size: 11px;
        max-width: 70px
    }

    .account > .primary {
        padding: 10px
    }

    .wallet-card, .package-card {
        padding: 13px
    }

    .wallet-card strong {
        font-size: 20px
    }

    .amount {
        font-size: 30px
    }
}

/* Casino wordmark and non-crypto coin treatments. */
.brand {
    display: block
}

.brand small {
    margin-left: 30px
}

.sc-icon, .package-symbol {
    display: inline-block;
    color: var(--accent);
    font-size: 30px;
    line-height: 36px
}

.currency-icon {
    min-width: 18px;
    justify-content: center
}

/* Account, support and originals: independent components. */
.sidebar {
    overflow-y: auto
}

.side-bottom {
    position: static;
    margin-top: 24px
}

.games {
    grid-template-columns:repeat(3, minmax(0, 1fr))
}

.cover.dice {
    background: radial-gradient(circle at 75% 20%, #3e8d95, #143449 70%)
}

.cover.wheel {
    background: radial-gradient(circle at 70% 20%, #986acd, #35234f 70%)
}

.cover.dice .game-art {
    color: #a9fff0;
    font-size: 110px;
    transform: rotate(-14deg)
}

.cover.wheel .game-art {
    color: #ffd79e;
    font-size: 130px
}

.game {
    transition: transform .2s, border-color .2s
}

.game:hover {
    transform: translateY(-4px)
}

.signup-profile {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0
}

.profile-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 0 14px
}

.profile-grid input, .profile-grid select {
    min-width: 0;
    width: 100%
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 22px;
    font-size: 12px;
    line-height: 1.6;
    color: #b4c6d5
}

.terms-check input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px
}

.terms-check a, footer a {
    color: #72e0c1
}

.field select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #132333;
    color: #fff;
    border: 1px solid #35495a
}

.account-id {
    background: #132333;
    border: 1px solid #31495c;
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0 22px;
    overflow-wrap: anywhere
}

.account-id small {
    display: block;
    color: #91a5b8;
    font-size: 10px;
    letter-spacing: .1em;
    margin-bottom: 10px
}

.account-id code {
    display: block;
    user-select: all;
    font-size: 13px
}

.support-agent {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0
}

.support-agent small {
    display: block;
    color: #97aabd;
    margin-top: 4px
}

.agent-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #204c47;
    color: #72e0c1;
    font-weight: bold
}

.support-bubble {
    background: #192c3d;
    border-radius: 0 16px 16px;
    padding: 20px;
    line-height: 1.8;
    margin: 20px 0
}

.discord-link {
    display: inline-block;
    text-decoration: none
}

.bonus-emblem {
    text-align: center;
    font-size: 64px;
    color: #70e5bd
}

.owner-codes {
    display: grid;
    gap: 10px
}

.owner-code {
    display: grid;
    gap: 6px;
    border: 1px solid #31495c;
    border-radius: 10px;
    padding: 14px
}

.owner-code span, .owner-code small, .owner-audit {
    color: #a3b6c8;
    font-size: 12px
}

.owner-audit {
    max-height: 240px;
    overflow: auto;
    overflow-wrap: anywhere
}

#modal-body details {
    margin: 16px 0
}

#modal-body summary {
    cursor: pointer;
    padding: 10px 0;
    font-weight: 600
}

.original-stage {
    min-height: 450px;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #20374a, #12212f 75%)
}

.original-stage[hidden] {
    display: none
}

.dice-value {
    width: 200px;
    height: 150px;
    display: grid;
    place-items: center;
    font-size: 48px;
    font-weight: 800;
    border-radius: 25px;
    background: linear-gradient(145deg, #ecfff9, #86dcc5);
    color: #153b36;
    box-shadow: 0 15px 0 #427f71, 0 25px 40px #0005;
    margin: 25px;
    font-variant-numeric: tabular-nums
}

.wheel-wrap {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 10px
}

.wheel-disc {
    height: 100%;
    width: 100%;
    border: 8px solid #546576;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, #172938 0deg 30deg, #284757 30deg 60deg, #60478c 60deg 90deg, #dbad68 90deg 120deg);
    box-shadow: 0 15px 45px #0007
}

.wheel-wrap strong {
    position: absolute;
    inset: 85px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #102333;
    color: #8cf1d1;
    border: 5px solid #637b8f;
    font-size: 26px
}

.wheel-pointer {
    position: absolute;
    z-index: 2;
    top: -13px;
    left: calc(50% - 13px);
    font-size: 28px;
    color: #fff
}

.wheel-table {
    display: grid;
    grid-template-columns:repeat(6, 1fr);
    gap: 6px;
    max-width: 420px;
    width: 100%
}

.wheel-table span {
    padding: 9px 2px;
    text-align: center;
    border-radius: 6px;
    background: #253b4d;
    font-size: 12px;
    border: 1px solid transparent
}

.wheel-table .selected {
    border-color: #7cf2c8;
    background: #23564b;
    color: #c7fff0
}

@media (max-width: 900px) {
    .games {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 600px) {

    .profile-grid {
        grid-template-columns:1fr
    }

    .original-stage {
        min-height: 390px
    }

    .wheel-wrap {
        width: 220px;
        height: 220px
    }

    .wheel-wrap strong {
        inset: 70px
    }

    .wheel-table span {
        font-size: 11px
    }

    .game:hover {
        transform: none
    }
}

@media (prefers-reduced-motion: reduce) {
    .game {
        transition: none
    }
}

.reduce-motion .game {
    transition: none
}

.terms-page .terms-document {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px;
    line-height: 1.8
}

.terms-document h1 {
    font-size: 36px
}

.terms-document h2 {
    margin-top: 32px;
    font-size: 21px
}

.terms-document a {
    color: #8af1cd
}

.terms-document p {
    color: #becedc
}

.terms-document .notice {
    padding: 18px;
    border: 1px solid #465f72;
    border-radius: 12px
}

.wheel-disc {
    position: relative;
    background: conic-gradient(#213847 0deg 150deg, #317561 150deg 210deg, #487e91 210deg 270deg, #75609e 270deg 300deg, #9d739e 300deg 330deg, #c79d50 330deg 360deg)
}

.wheel-number {
    position: absolute;
    inset: 0;
    text-align: center;
    padding-top: 9px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 3px #000
}

.wheel-number b {
    display: inline-block
}

.wheel-number:nth-child(1) {
    transform: rotate(15deg)
}

.wheel-number:nth-child(2) {
    transform: rotate(45deg)
}

.wheel-number:nth-child(3) {
    transform: rotate(75deg)
}

.wheel-number:nth-child(4) {
    transform: rotate(105deg)
}

.wheel-number:nth-child(5) {
    transform: rotate(135deg)
}

.wheel-number:nth-child(6) {
    transform: rotate(165deg)
}

.wheel-number:nth-child(7) {
    transform: rotate(195deg)
}

.wheel-number:nth-child(8) {
    transform: rotate(225deg)
}

.wheel-number:nth-child(9) {
    transform: rotate(255deg)
}

.wheel-number:nth-child(10) {
    transform: rotate(285deg)
}

.wheel-number:nth-child(11) {
    transform: rotate(315deg)
}

.wheel-number:nth-child(12) {
    transform: rotate(345deg)
}

@media (min-width: 901px) {
}

/* Game presentation polish. Reel geometry stays unchanged for the spin calculations. */
.slots-stage {
    position: relative;
    isolation: isolate;
    background: radial-gradient(ellipse at 50% 20%, #573153 0%, #25223c 46%, #111e2c 85%);
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    padding-top: 42px;
    padding-bottom: 36px
}

.slots-stage:before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid #e5bb7540;
    border-radius: 18px;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at 15% 15%, #eac58825 0, transparent 24%), radial-gradient(circle at 85% 85%, #ab7fed20 0, transparent 28%)
}

.slots-stage .eyebrow {
    color: #ecc991;
    letter-spacing: .24em;
    font-size: 10px
}

.slots-stage h2 {
    color: #fff0cc;
    letter-spacing: .14em;
    text-shadow: 0 2px 0 #6d4052, 0 5px 28px #eab56530;
    font-size: clamp(23px, 3vw, 36px)
}

.reel-frame {
    position: relative;
    gap: 10px;
    padding: 18px;
    border: 5px solid #c69b5e;
    border-radius: 20px;
    background: linear-gradient(145deg, #563448, #201b2d);
    box-shadow: 0 0 0 2px #fae0a5, 0 0 0 7px #241f33, 0 16px 35px #0007, inset 0 2px 8px #080812
}

.reel-frame > span {
    box-shadow: inset 0 12px 16px #5b3d2633, inset 0 -12px 16px #5b3d2633, 0 2px 0 #eddaa9;
    border: 1px solid #fff3c3;
    border-radius: 9px;
    background: linear-gradient(#cdbb95 0%, #fff8df 32%, #fffbea 60%, #ceba95 100%);
    text-shadow: 0 4px 2px #4c1c2220
}

.reel-frame:after {
    content: '';
    position: absolute;
    left: 5px;
    right: 5px;
    top: 50%;
    border-top: 1px solid #eac17a50;
    pointer-events: none
}

.slots-table {
    max-width: 490px;
    padding: 12px 16px;
    border: 1px solid #e6bc7830;
    border-radius: 12px;
    background: #111b2c70;
    color: #d0c1d9;
    line-height: 2
}

.slots-table > div:first-child {
    color: #f1d6a2;
    font-weight: 700;
    font-size: 13px
}

.blackjack-stage {
    background: radial-gradient(ellipse at 50% 45%, #1d5446, #10362f 62%, #102531);
    box-shadow: inset 0 0 70px #06171d80;
    position: relative;
    border-top: 1px solid #75998435
}

.felt-brand {
    color: #a2d9b540
}

.felt-brand small {
    color: #b8d7b779
}

.player-hand.current {
    border-color: #8fe5b4;
    box-shadow: 0 0 0 3px #6edcac09, inset 0 0 30px #65dca70b;
    background: #6ad3a70a
}

.poker-card {
    animation: none;
    border: 1px solid #fff9e3;
    box-shadow: 0 2px 0 #a9b6a7, 0 9px 18px #041a2255;
    background: linear-gradient(135deg, #fffef8, #e8ede4);
    will-change: auto
}

.poker-card.card-back {
    background: repeating-linear-gradient(45deg, #244e5f 0, #244e5f 3px, #1b3d4d 3px, #1b3d4d 7px);
    box-shadow: inset 0 0 0 2px #81b5bd, 0 8px 16px #05192055
}

.table-label {
    letter-spacing: .15em
}

.hand-outcome {
    font-weight: 700;
    color: #a6dfbf
}

.keno-stage {
    background: radial-gradient(ellipse at 50% 0, #263d51, #152636 75%)
}

.keno-tile {
    border: 1px solid #ffffff0b
}

.keno-tile.picked {
    background: linear-gradient(145deg, #9769ed, #7044c7)
}

.keno-tile.hit {
    background: linear-gradient(135deg, #7ff5c8, #35dba5);
    box-shadow: 0 4px 0 #139d79, 0 0 18px #47dfae30
}

.pay-cell.won {
    box-shadow: 0 0 14px #47dfae20
}

.result-strip {
    border-top: 1px solid #8db4bc18;
    letter-spacing: .015em
}

.result-strip.win {
    background: linear-gradient(90deg, #163f36, #16332f);
    color: #a0f5cf
}

@media (max-width: 600px) {
    .slots-stage {
        padding: 28px 12px
    }

    .slots-stage:before {
        inset: 8px
    }

    .reel-frame {
        padding: 12px;
        gap: 7px
    }

    .slots-table {
        font-size: 10px;
        padding: 10px
    }

    .slots-stage h2 {
        letter-spacing: .08em
    }
}

/* Slots: a new arcade cabinet with illustrated symbols and a single payline. */
#slots-stage {
    padding: 30px 24px;
    gap: 24px;
    background: radial-gradient(ellipse at 50% 0, #284454, #132330 65%);
    border-radius: 0
}

#slots-stage:before {
    display: none
}

.slot-machine {
    width: min(100%, 580px);
    padding: 24px;
    border: 1px solid #5b818570;
    border-radius: 26px;
    background: linear-gradient(145deg, #28404b, #14232e 60%);
    box-shadow: 0 22px 42px #06111c80, inset 0 1px 0 #adcdd92b
}

.slot-brandbar, .slot-machine-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 9px;
    letter-spacing: .13em;
    color: #8ba4b3
}

.slot-live-dot {
    color: #8cdfc0;
    font-size: 9px;
    white-space: nowrap
}

#slots-stage .eyebrow {
    color: #a9bdc7;
    letter-spacing: .14em;
    font-size: 9px
}

#slots-stage h2 {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 17px 0 22px;
    color: #f4faf8;
    font-size: clamp(21px, 3vw, 33px);
    letter-spacing: .07em;
    font-weight: 400;
    text-shadow: none
}

#slots-stage h2 strong {
    font-weight: 900
}

#slots-stage h2 > span {
    margin-left: auto;
    font-size: 22px;
    letter-spacing: -.08em;
    color: #86e8c5;
    font-style: italic
}

.slot-window {
    position: relative;
    padding: 7px;
    background: #081722;
    border-radius: 16px;
    border: 1px solid #79c5bb50;
    box-shadow: 0 0 24px #69c5b20c, inset 0 3px 12px #000a
}

.payline-pointer {
    position: absolute;
    top: calc(50% - 15px);
    z-index: 2;
    color: #aafcda;
    font-size: 28px;
    filter: drop-shadow(0 0 4px #4ac9a1);
    pointer-events: none
}

.payline-pointer.left {
    left: -11px
}

.payline-pointer.right {
    right: -11px
}

#slots-stage .reel-frame {
    display: flex;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #0a1520;
    box-shadow: none;
    margin: 0;
    width: 100%;
    overflow: hidden
}

#slots-stage .reel-frame:after {
    display: none
}

#slots-stage .reel-frame > span {
    width: calc((100% - 10px) / 3);
    height: clamp(122px, 14vw, 176px);
    border: 0;
    border-radius: 6px;
    background: linear-gradient(#aac2c5 0%, #eff8f3 30%, #f5fbf7 60%, #b1c8c8 100%);
    box-shadow: inset 0 15px 18px #38566525, inset 0 -15px 18px #38566525;
    overflow: hidden
}

#slots-stage .slot-art {
    width: 78%;
    height: 78%;
    display: block;
    filter: drop-shadow(0 5px 1px #21374120)
}

#slots-stage .reel-track {
    height: 100%;
    width: 100%;
    background: none
}

#slots-stage .reel-symbol {
    width: 100%;
    height: 100%;
    background: none
}

.slot-machine-footer {
    margin-top: 20px;
    font-size: 8px
}

#slots-stage .slots-table {
    width: min(100%, 580px);
    max-width: none;
    background: #10202c;
    border: 1px solid #385664;
    border-radius: 12px;
    padding: 14px;
    color: #95abba;
    line-height: 2.2
}

#slots-stage .slots-table > div:first-child {
    color: #bcdfd5
}

.cover.slots {
    background: radial-gradient(ellipse at 50% 0, #376463, #162733 80%)
}

.cover.slots .game-art {
    color: #9df1cd;
    text-shadow: 0 4px 0 #336d61, 0 10px 30px #0008
}

/* Non-blocking results disappear automatically and never cover clickable controls. */
.play-surface {
    position: relative
}

.win-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding: 20px;
    background: radial-gradient(ellipse at center, #102d2740, transparent 65%)
}

.win-overlay[hidden] {
    display: none
}

.win-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 230px;
    max-width: 100%;
    padding: 26px 38px;
    border-radius: 22px;
    background: linear-gradient(145deg, #244c42f5, #102d29f5);
    border: 1px solid #9af2c7;
    box-shadow: 0 20px 60px #0007, 0 0 50px #67e9ad20;
    color: #e4fff0;
    animation: win-appear .3s ease-out
}

.win-spark {
    color: #b1f5cb;
    font-size: 23px
}

.win-caption {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .24em
}

.win-card > strong {
    font-size: 48px;
    line-height: 1.1;
    color: #adf5c9;
    letter-spacing: -.04em
}

.win-card > b {
    font-size: 23px
}

.win-card > small {
    color: #a6c6ba
}

.win-overlay.leaving {
    opacity: 0;
    transition: opacity .22s
}

@keyframes win-appear {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.92)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.reduce-motion .win-card {
    animation: none
}

/* Wallet and daily rewards. */
dialog:has(.balance-cards), dialog:has(.daily-hero) {
    width: min(580px, calc(100vw - 28px))
}

.wallet-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 16px;
    font-size: 10px;
    letter-spacing: .12em;
    color: #99afbd
}

.subtle-pill {
    display: inline-block;
    background: #294338;
    color: #b2debd;
    border: 1px solid #69a98440;
    border-radius: 20px;
    padding: 5px 9px;
    font-size: 10px;
    text-transform: capitalize;
    letter-spacing: 0
}

.balance-cards {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px
}

.balance-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 23px 20px;
    border-radius: 16px;
    border: 1px solid #8eafac36;
    overflow: hidden
}

.balance-tile.gc {
    background: radial-gradient(ellipse at 100% 0, #735e2f70, #293138 80%)
}

.balance-tile.sc {
    background: radial-gradient(ellipse at 100% 0, #33775d70, #1a3238 80%)
}

.balance-tile > small {
    color: #d2ddd8;
    font-size: 12px
}

.balance-tile > strong {
    font-size: clamp(24px, 4vw, 34px);
    letter-spacing: -.04em
}

.balance-tile > span:last-child {
    color: #a1b4b8;
    font-size: 10px
}

.balance-emblem {
    display: grid;
    place-items: center;
    border-radius: 50%;
    width: 29px;
    height: 29px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 9px;
    background: #d8b764;
    color: #493b20
}

.sc .balance-emblem {
    background: #8bdeb3;
    color: #184937
}

.wallet-actions {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px;
    margin: 18px 0
}

.wallet-actions button {
    padding: 14px 12px
}

.wallet-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #3b536040;
    border-bottom: 1px solid #3b536040;
    padding: 20px 0
}

.wallet-line strong {
    font-size: 12px
}

.wallet-line small {
    display: block;
    font-size: 10px;
    color: #99adbd;
    line-height: 1.6;
    max-width: 270px;
    margin-top: 5px
}

.wallet-line > b {
    white-space: nowrap;
    font-size: 17px;
    color: #bce7cb
}

.wallet-details {
    font-size: 12px;
    color: #a7bac8
}

.cashout-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid #385462;
    border-radius: 12px;
    padding: 15px
}

.cashout-card h3 {
    font-size: 14px;
    margin: 0 0 7px
}

.cashout-card p {
    margin: 0;
    color: #9db2c0;
    font-size: 10px
}

.fine-note {
    color: #8fa5b5;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
    margin: 16px 0 5px
}

.daily-hero {
    text-align: center;
    padding: 16px 10px 24px;
    background: radial-gradient(ellipse at center, #24534660, transparent 70%)
}

.daily-orbit {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 24px;
    transform: rotate(-8deg);
    font-size: 36px;
    color: #b1f5c9;
    background: linear-gradient(145deg, #467c62, #193d37);
    border: 1px solid #79ba9050;
    box-shadow: 0 12px 30px #07192160
}

.daily-hero .eyebrow {
    font-size: 9px
}

.daily-hero h3 {
    font-size: 25px;
    margin: 15px 0 8px;
    letter-spacing: -.02em
}

.daily-hero p {
    font-size: 12px;
    color: #a6b9c5;
    margin: 0
}

.daily-rewards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border: 1px solid #46625c60;
    border-radius: 14px;
    padding: 23px 14px;
    background: #152a31;
    margin: 0 0 20px
}

.daily-rewards > div {
    display: flex;
    align-items: center;
    gap: 10px
}

.reward-dot {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800
}

.reward-dot.gc {
    background: #d6b96e;
    color: #59451f
}

.reward-dot.sc {
    background: #86d4ad;
    color: #1a4d38
}

.daily-rewards strong {
    font-size: 24px
}

.daily-rewards small {
    display: block;
    font-size: 10px;
    color: #97adba;
    font-weight: 400;
    margin-top: 6px
}

.reward-plus {
    color: #68877b
}

.daily-claim {
    width: 100%;
    padding: 16px
}

.daily-time {
    text-align: center;
    font-size: 12px;
    color: #b6c9c8;
    line-height: 1.6
}

.support-email {
    display: block;
    margin: 12px 0;
    text-decoration: none;
    text-align: center
}

.profile-summary {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px 0 24px
}

.profile-monogram {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: #2d5c4a;
    border-radius: 16px;
    font-size: 24px;
    color: #b0eac7
}

.profile-summary small {
    display: block;
    margin: 6px 0 9px;
    color: #9fb5c4;
    overflow-wrap: anywhere
}

.danger-settings {
    border-top: 1px solid #79505660;
    padding-top: 10px;
    color: #e9adb1
}

.danger-button {
    padding: 13px 18px;
    border-radius: 9px;
    border: 1px solid #b75e69;
    background: #542e38;
    color: #ffd8db;
    font-weight: bold
}

.security-settings input, .danger-settings input:not([type=checkbox]) {
    width: 100%
}

#sound-level {
    padding: 0;
    accent-color: #65dcae
}

/* Owner directory. */
dialog:has(.player-directory) {
    width: min(880px, calc(100vw - 28px))
}

.directory-launch {
    width: 100%;
    margin: 10px 0
}

.directory-top, .directory-pages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #a5b8c7;
    font-size: 12px
}

.directory-search {
    display: flex;
    gap: 10px;
    margin: 18px 0
}

.directory-search input {
    flex: 1;
    min-width: 0;
    padding: 12px;
    background: #11222e;
    border: 1px solid #385463;
    color: #edf5f5;
    border-radius: 9px
}

.player-directory {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px
}

.directory-player {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 18px;
    border: 1px solid #3b566660;
    background: #152632;
    border-radius: 12px;
    overflow-wrap: anywhere
}

.directory-player header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

.directory-player p {
    font-size: 12px;
    color: #b4c6d1;
    margin: 0
}

.directory-player code {
    font-size: 10px;
    color: #8fa9b7;
    user-select: all
}

.directory-player small {
    font-size: 10px;
    color: #90a9ba
}

.directory-balances {
    display: flex;
    gap: 20px;
    margin: 5px 0;
    color: #d2e9dd
}

.directory-pages {
    margin: 20px 0 0
}

@media (max-width: 600px) {
    #slots-stage {
        padding: 16px 10px;
        gap: 14px
    }

    .slot-machine {
        padding: 16px 12px;
        border-radius: 19px
    }

    #slots-stage h2 {
        font-size: 21px;
        margin: 15px 0
    }

    .slot-brandbar .eyebrow, .slot-live-dot {
        font-size: 7px
    }

    #slots-stage .reel-frame > span {
        height: 122px
    }

    .slot-machine-footer {
        font-size: 6px;
        letter-spacing: .05em
    }

    .balance-tile {
        padding: 18px 14px
    }

    .wallet-actions {
        grid-template-columns:1fr
    }

    .wallet-line {
        align-items: flex-start
    }

    .daily-rewards {
        gap: 14px
    }

    .daily-rewards strong {
        font-size: 22px
    }

    .cashout-card {
        align-items: flex-start;
        flex-direction: column
    }

    .player-directory {
        grid-template-columns:1fr
    }

    .win-card {
        padding: 22px 30px;
        min-width: 210px
    }

    .win-card > strong {
        font-size: 40px
    }
}

@media (prefers-reduced-motion: reduce) {
    .win-card {
        animation: none
    }

    .win-overlay.leaving {
        transition: none
    }
}

.cover.plinko {
    background: radial-gradient(ellipse at top, #336f75, #172a42);
}

#plinko-stage {
    background: radial-gradient(ellipse at top, #244956, #112332 70%);
    padding: 25px 14px;
    gap: 14px;
}

.plinko-board {
    position: relative;
    width: min(92%, 720px);
    height: 520px;
    margin: 0 auto;
}

#plinko-pegs {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

#plinko-pegs i {
    position: absolute;
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #b9fff0;
    border: 1px solid #eafffa;
    box-shadow:
            0 0 5px #8fffe8,
            0 0 13px #5de7ce99;
    transform: translate(-50%, -50%);
}

:is(#plinko-ball,.plinko-ball) {
    position: absolute;
    display: block;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #ffd27b;
    box-shadow:
            0 0 10px #ffbf68aa,
            0 0 20px #ffbf6855,
            inset -3px -3px 0 #d98a37;
    transform: translate(-50%, -50%);
    z-index: 3;
}

#plinko-buckets {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    width: min(92%, 650px);
    margin: 0 auto;
    gap: 5px;
}

#plinko-buckets span {
    padding: 13px 2px;
    text-align: center;
    border-radius: 6px;

    background: #237d76;
    color: #f5fffc;

    font-size: clamp(9px, 1vw, 13px);
    font-weight: 800;
    text-shadow: 0 1px 3px #000a;

    border: 1px solid #ffffff18;

    box-shadow:
            0 4px 0 #061723,
            inset 0 1px 0 #ffffff18;

    transition:
            transform .15s,
            filter .15s,
            box-shadow .15s;
}

#plinko-buckets .heat-0 { background: #237d76; }
#plinko-buckets .heat-1 { background: #397a70; }
#plinko-buckets .heat-2 { background: #687f64; }
#plinko-buckets .heat-3 { background: #a88958; }
#plinko-buckets .heat-4 { background: #d99b4e; }

#plinko-buckets .landed {
    transform: translateY(4px);
    filter: brightness(1.45);
    box-shadow:
            0 0 22px #f8d57799,
            inset 0 1px 0 #fff6;
}

@media (max-width: 600px) {
    .plinko-board {
        width: 100%;
        height: 390px;
    }

    #plinko-pegs i {
        width: 9px;
        height: 9px;
    }

    #plinko-buckets {
        width: 100%;
        gap: 2px;
    }

    #plinko-buckets span {
        padding: 10px 1px;
        font-size: 8px;
    }
}
/* Plinko: violet arena, coral edge prizes, aligned nine-pocket landing rail. */
.cover.plinko{isolation:isolate;background:radial-gradient(ellipse at 75% 15%,#9d5cb0 0,transparent 58%),linear-gradient(140deg,#382550,#6b3d87 52%,#382648);overflow:hidden}.cover.plinko:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(125deg,transparent 0 49px,#dcb3ff0a 50px 51px);z-index:-1}.plinko-cover-art{position:absolute;inset:12% -2% auto;width:104%;height:76%;object-fit:contain;filter:drop-shadow(0 12px 9px #160d3640);transition:transform .25s}.game:hover .plinko-cover-art{transform:translateY(-4px) rotate(2deg)}.cover.plinko .cover-title{color:#fff2ff;text-shadow:0 3px 0 #4a285e}.plinko-cover-caption{position:absolute;bottom:13px;left:0;width:100%;text-align:center;color:#dfc6ed;font-size:8px;letter-spacing:.19em}
#plinko-stage{padding:24px 22px 20px;gap:15px;background:radial-gradient(ellipse at 50% 20%,#392c50 0,transparent 65%),linear-gradient(155deg,#201e34,#121d2c);overflow:hidden}.plinko-heading{width:100%;max-width:650px;display:flex;align-items:center;justify-content:space-between;text-align:left}.plinko-heading .eyebrow{color:#bb9fcf;font-size:9px;letter-spacing:.18em}.plinko-heading h2{margin:6px 0 0;font-size:28px;letter-spacing:-.04em;color:#fff2ff}.plinko-heading h2 span{color:#ffb678;font-size:15px;vertical-align:middle;margin-left:10px}.plinko-badge{font-size:9px;letter-spacing:.1em;padding:8px 10px;border:1px solid #88729540;border-radius:20px;color:#c9b4d7;background:#382a493b}.plinko-arena{width:min(100%,650px);padding:14px 0 19px;border:1px solid #8c70a530;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#69508016,transparent 70%),#17192870;box-shadow:inset 0 1px #c5a1eb0c,0 15px 32px #070b1720}.plinko-board{width:100%;height:auto;aspect-ratio:1.55;margin:0;min-height:220px}#plinko-pegs i{width:8px;height:8px;border:0;background:#dfd8ee;box-shadow:0 2px 0 #80758e,0 0 9px #c7aae81a}:is(#plinko-ball,.plinko-ball){width:15px;height:15px;background:radial-gradient(circle at 32% 25%,#fff3c1,#ffc16d 45%,#fa8661);box-shadow:0 0 15px #ffb07170;z-index:3}#plinko-buckets{width:90%;margin:0 auto;gap:4px;grid-template-columns:repeat(9,minmax(0,1fr))}#plinko-buckets span{padding:12px 0;border:1px solid #ffffff1c;border-radius:5px 5px 8px 8px;color:#301b32;font-size:clamp(8px,1vw,12px);text-shadow:none;box-shadow:0 4px 0 #100d1e,inset 0 1px #ffffff35}#plinko-buckets .heat-0{background:#e5cba8}#plinko-buckets .heat-1{background:#ffc071}#plinko-buckets .heat-2{background:#ffa361}#plinko-buckets .heat-3{background:#ff826b}#plinko-buckets .heat-4{background:#f56389}#plinko-buckets .landed{transform:translateY(3px);filter:brightness(1.2);outline:2px solid #ffe5be;outline-offset:2px;box-shadow:0 0 22px #ffb57d50}#plinko-stage>.input-hint{font-size:10px;color:#9e93b1}
/* Cleaner slots and readable symbol-specific awards. */
#slots-stage{background:radial-gradient(ellipse at top,#223d49,#12212e 70%);gap:18px}.slot-machine{border-radius:16px;padding:20px;background:linear-gradient(150deg,#253e49,#172935);border-color:#5b81854d;box-shadow:0 12px 24px #06111c40}.slot-window{border-radius:12px;padding:6px}.slot-machine-footer{margin-top:15px}#slots-stage .slots-table{line-height:1.5;padding:16px;border-radius:12px;background:#10202bd9}.slot-table-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:10px;letter-spacing:.06em}.slot-table-heading>span{color:#a6c9c0;font-weight:400;letter-spacing:0}.slot-payout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.slot-payout{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:10px 8px;background:#1c3341;border:1px solid #87aca518;border-radius:7px}.slot-payout>span{font-size:13px;letter-spacing:-2px;white-space:nowrap}.slot-payout>strong{color:#c1f4df;font-size:12px}.slot-pair-note{font-size:11px;color:#a5c0c7;padding-top:12px}.slot-table-foot{font-size:9px;color:#7c98a9;margin-top:7px;max-width:440px}
@media(max-width:600px){#plinko-stage{padding:18px 10px;gap:12px}.plinko-heading h2{font-size:24px}.plinko-badge{font-size:8px;padding:7px}.plinko-arena{padding-top:12px}#plinko-pegs i{width:6px;height:6px}#plinko-buckets{gap:2px;width:90%}#plinko-buckets span{font-size:8px;padding:10px 0}.plinko-board{min-height:200px}#slots-stage .slot-payout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slot-payout>span{font-size:14px}.slot-table-heading{font-size:9px}}

/* Bitcoin wallet and owner workspace */
#modal.payment-wide{width:min(980px,calc(100vw - 28px));max-width:980px}.payment-hero{display:flex;align-items:center;gap:20px;padding:22px 0}.payment-hero h3{font-size:26px;letter-spacing:-.04em;margin:8px 0}.payment-hero p{color:#a9c0cd;line-height:1.7;margin:0}.payment-coin{display:grid;place-items:center;flex:none;width:68px;height:68px;border-radius:20px;background:linear-gradient(145deg,#f7c471,#cd862d);box-shadow:0 8px 28px #f8b34519;color:#3b290c;font-size:40px}.payment-coin.sc{background:linear-gradient(145deg,#83ebba,#31bba4);color:#08382f}.payment-preview{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px;padding:18px;border:1px solid #314b5c;background:#122330;border-radius:12px}.payment-preview .field{margin:0}.payment-preview small{grid-column:1/-1;color:#809baa}.payment-preview>strong{color:#a8f3d4;text-align:center}.deposit-address{margin:20px 0;background:#0f1e2a;border:1px solid #49615d;border-radius:14px;padding:24px;display:flex;flex-direction:column;gap:15px;align-items:flex-start}.deposit-address code{font-size:16px;overflow-wrap:anywhere;color:#e7fff4;user-select:all}.deposit-address small{color:#97afbd}.payment-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;font-size:12px;color:#b7cdd7}.payment-steps span{display:flex;align-items:center;gap:9px}.payment-steps b{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:50%;background:#2ce1b322;color:#6ce6c4}.payment-row{display:grid;grid-template-columns:1fr 1fr 2fr;gap:14px;padding:18px 0;border-bottom:1px solid #2d4352}.payment-row small,.payment-row code{display:block;font-size:11px;color:#8eabbc;overflow-wrap:anywhere;margin-top:5px}.payment-row strong{font-size:13px}.payment-status{display:inline-flex;width:fit-content;border-radius:20px;padding:5px 10px;background:#52697935;color:#aec2d0;font-size:11px;text-transform:capitalize}.payment-status.pending,.payment-status.confirming{color:#ffda8d;background:#b87b2d22}.payment-status.credited,.payment-status.paid,.payment-status.active,.payment-status.enabled{color:#9febce;background:#40bb8b22}.payment-status.review,.payment-status.conflicted,.payment-status.rejected{color:#ffb4bc;background:#e8546b20}.payment-status.approved{color:#ccbdff;background:#976be326}.payment-empty{text-align:center;padding:30px 18px;color:#8da7b6;border:1px dashed #3d5362;border-radius:10px;font-size:13px}.owner-tabs{display:flex;gap:5px;overflow:auto;padding:0 0 16px;margin-bottom:18px;border-bottom:1px solid #304654}.owner-tabs button{white-space:nowrap;border:0;border-radius:7px;padding:10px 14px;background:transparent;color:#99afbe;font-weight:700}.owner-tabs button.active{color:#8af0cb;background:#2ce1b31a}.owner-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.owner-overview article{border:1px solid #355160;background:linear-gradient(145deg,#203946,#152632);border-radius:12px;padding:19px;display:flex;flex-direction:column;gap:10px}.owner-overview strong{font-size:34px;color:#e3fff3}.owner-overview small,.owner-overview span{font-size:11px;color:#93aeba}.owner-health{margin:22px 0;padding:20px;background:#12212d;border-radius:12px;line-height:1.7;color:#a4bccb;font-size:13px}.owner-health h3{color:#e4f2fa;margin:0 0 12px}.owner-callout{padding:18px 20px;background:#53cbaa0b;border-left:3px solid #42d8af;color:#9dbcb8;font-size:13px;line-height:1.7}.owner-callout p{margin:6px 0 0}.owner-search{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;gap:10px}.owner-payment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.owner-payment-record{padding:19px;border:1px solid #304b5b;border-radius:12px;background:#142632;display:flex;flex-direction:column;gap:10px}.owner-payment-record header{display:flex;justify-content:space-between;gap:10px}.owner-payment-record header small,.owner-payment-record>small{font-size:10px;color:#91a9b9;display:block;overflow-wrap:anywhere;margin-top:5px}.owner-payment-record code{color:#bbd5e0;overflow-wrap:anywhere;font-size:11px}.owner-payment-record p{font-size:12px;color:#afc5d2;margin:0}.owner-payment-amount{font-size:23px;font-weight:800;color:#d4f8e9}.owner-payment-amount small{font-size:10px;font-weight:400;color:#8da7b6;display:block;margin-top:5px}.review-heading{display:flex;justify-content:space-between;align-items:center;padding:10px 0 22px}.review-heading>strong{font-size:32px}.review-facts{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;font-size:13px}.review-facts dt{color:#89a7b8}.review-facts dd{margin:0;overflow-wrap:anywhere;color:#c8dee8}#review-redemption{margin-top:22px}#bitcoin-redeem>.primary,#review-redemption>.primary{width:100%;margin-top:12px}
@media(max-width:650px){.payment-hero{gap:12px}.payment-hero h3{font-size:21px}.payment-hero .eyebrow{font-size:8px}.payment-coin{width:48px;height:48px;font-size:29px;border-radius:14px}.payment-hero p{font-size:12px}.payment-preview{grid-template-columns:1fr}.payment-steps{grid-template-columns:1fr;gap:9px}.payment-row{grid-template-columns:1fr 1fr}.payment-row>div:last-child{grid-column:1/-1}.owner-overview{grid-template-columns:repeat(2,1fr)}.owner-overview article{padding:14px}.owner-search{grid-template-columns:1fr 110px}.owner-search button{grid-column:1/-1}.owner-payment-list{grid-template-columns:1fr}.review-facts{grid-template-columns:1fr;gap:5px}.review-facts dd{margin-bottom:12px}.owner-tabs button{padding:9px 10px;font-size:11px}.deposit-address{padding:17px}.deposit-address code{font-size:13px}}

@media (max-width: 1100px) {
    main {
        margin-left: 195px;
        width: calc(100% - 195px);
    }
}

@media (max-width: 760px) {
    main {
        margin-left: 0;
        width: 100%;
    }
}
@media (min-width: 1400px) {
}
/* ---------- Visual polish ---------- */

body {
    background:
        radial-gradient(circle at 70% -10%, #173847 0, transparent 38%),
        var(--bg);
}

/* Give primary surfaces actual depth */
.hero,
.game,
.promo,
.bottom-banner,
.game-layout,
dialog {
    box-shadow:
        0 1px 0 #ffffff08 inset,
        0 14px 35px #020b1240;
}

/* Hero gets slightly more presence */
.hero {
    box-shadow:
        0 1px 0 #ffffff12 inset,
        0 22px 55px #020a1260;
}

/* Cleaner cards */
.game,
.promo,
.bottom-banner {
    border-color: #31495a;
}

/* Main CTA feels less flat */
.primary {
    background: linear-gradient(135deg, #46edc4, #2dd5ad);
    box-shadow:
        0 1px 0 #ffffff40 inset,
        0 7px 18px #18b99126;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

/* Secondary controls also get subtle depth */
.secondary,
.filter,
.balance {
    box-shadow: 0 1px 0 #ffffff0a inset;
}

/* Topbar separation */
.topbar {
    box-shadow: 0 8px 30px #02091024;
}

/* Slightly richer sidebar */
.sidebar {
    background:
        linear-gradient(180deg, #0d1925, #09131d);
    box-shadow: 8px 0 30px #02091026;
}

/* Desktop hover polish without screwing with touch devices */
@media (hover: hover) {
    .primary:hover {
        transform: translateY(-1px);
        box-shadow:
            0 1px 0 #ffffff50 inset,
            0 10px 24px #18b99138;
    }

    .game:hover {
        transform: translateY(-6px);
        border-color: #477083;
        box-shadow:
            0 1px 0 #ffffff10 inset,
            0 20px 45px #020a1266;
    }

    .promo:hover {
        transform: translateY(-2px);
        border-color: #405f70;
        box-shadow:
            0 1px 0 #ffffff10 inset,
            0 16px 36px #020a1250;
    }
}
.recommended-games {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.recommended-games .section-head {
    margin-bottom: 14px;
}

.recommended-games .section-head h2 {
    font-size: 18px;
}

.recommended-games .section-head p {
    font-size: 11px;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.recommended-grid .cover {
    height: 145px;
}

@media (max-width: 1100px) {
    .recommended-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .recommended-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .recommended-grid {
        grid-template-columns: 1fr;
    }
}
/* Responsive Plinko arena. Pegs and pocket centers share the same geometry. */
#plinko-stage { padding:28px clamp(12px,3vw,32px) 20px; gap:18px; background:radial-gradient(ellipse at 50% 30%,#52366a55,transparent 65%),linear-gradient(150deg,#241b35,#111624); }
.plinko-heading { max-width:760px; }
.plinko-heading h2 { font-size:34px; letter-spacing:-1.5px; }
.plinko-badge { color:#dfc8f5; background:#a978e010; border-color:#a978e035; }
.plinko-arena { width:min(100%,760px); padding:16px 0 22px; background:radial-gradient(ellipse at 50% 10%,#56407730,transparent 70%),#11121e99; border-color:#b390e02b; box-shadow:inset 0 1px #dcbaff12,0 18px 40px #08061050; }
.plinko-drop-label { color:#a998ba; font-size:8px; font-weight:700; letter-spacing:2px; text-align:center; }
.plinko-drop-label span { display:block; color:#ffd198; font-size:20px; line-height:20px; }
.plinko-board { aspect-ratio:1.6; min-height:230px; }
#plinko-pegs i { width:var(--plinko-peg,8px); height:var(--plinko-peg,8px); background:radial-gradient(circle at 30% 25%,#fff,#cec0e4 65%); box-shadow:0 2px 1px #6c567e,0 0 12px #cab0ec25; }
:is(#plinko-ball,.plinko-ball) { width:12px; height:12px; box-shadow:0 0 16px #ffb071b0; }
#plinko-buckets { width:90%; gap:0; }
#plinko-buckets span { min-width:0; margin:0 1px; padding:0; height:34px; display:flex; align-items:center; justify-content:center; font-size:clamp(7px,1vw,11px); letter-spacing:-.35px; font-variant-numeric:tabular-nums; }
#plinko-buckets span::after { content:'×'; }
.plinko-board-footer { width:min(100%,760px); display:flex; align-items:center; justify-content:space-between; gap:12px; }
.plinko-board-footer>span { color:#9b8aa9; font-size:8px; letter-spacing:1.3px; }
.plinko-board-footer strong { color:#ffdaae; font-size:12px; font-weight:600; letter-spacing:normal; }
#plinko-stage>.input-hint { margin:0; font-size:9px; }
#plinko-options label { display:flex; justify-content:space-between; align-items:center; }
#plinko-options label small { color:#ba9cda; font-size:10px; }
#game-page[data-game="plinko"] #play { background:linear-gradient(110deg,#e2bcff,#b897ef); color:#241633; box-shadow:0 4px 18px #b897ef20; }
@media(max-width:600px) {
    #plinko-stage { padding:18px 8px; gap:14px; }
    .plinko-heading { padding:0 6px; }
    .plinko-heading h2 { font-size:27px; }
    .plinko-badge { font-size:7px; letter-spacing:.04em; padding:7px; }
    .plinko-board { min-height:225px; }
    #plinko-pegs i { width:5px; height:5px; }
    :is(#plinko-ball,.plinko-ball) { width:9px; height:9px; }
    #plinko-buckets span { font-size:7px; margin:0 .5px; letter-spacing:-.5px; }
    #plinko-stage:is([data-rows="13"],[data-rows="14"],[data-rows="15"],[data-rows="16"]) #plinko-buckets span::after { content:none; }
    .plinko-board-footer { padding:0 5px; }
    .plinko-board-footer>span { font-size:7px; letter-spacing:.6px; }
}
.low-sc-modal {
    text-align: center;
    padding: 12px 4px 6px;
}

.low-sc-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    font-size: 34px;

    background:
        radial-gradient(circle at 35% 30%,
            rgba(255,255,255,.28),
            transparent 38%),
        linear-gradient(145deg, #f5c451, #b87914);

    box-shadow:
        0 14px 35px rgba(0,0,0,.25),
        inset 0 1px rgba(255,255,255,.35);
}

.low-sc-modal .eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: .16em;
    font-weight: 800;
    opacity: .65;
}

.low-sc-modal h3 {
    margin: 0;
    font-size: clamp(26px, 5vw, 34px);
    line-height: 1.1;
}

.low-sc-copy {
    margin: 12px auto 20px;
    max-width: 360px;
    line-height: 1.5;
    opacity: .76;
}

.low-sc-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 0 auto 22px;
    padding: 15px 17px;

    max-width: 360px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;

    background: rgba(255,255,255,.045);
}

.low-sc-balance span {
    font-size: 13px;
    opacity: .65;
}

.low-sc-balance strong {
    font-size: 17px;
}

.low-sc-primary {
    width: 100%;
    max-width: 360px;

    display: flex;
    justify-content: center;
    gap: 10px;

    margin: 0 auto;
}

.low-sc-modal .back {
    margin-top: 10px;
}