@charset "UTF-8";

:root {
  color-scheme: dark;
  --ink: #07110f;
  --ink-raised: #0c1916;
  --panel: #101e1a;
  --panel-soft: #14231f;
  --line: rgba(204, 232, 220, .12);
  --line-strong: rgba(204, 232, 220, .22);
  --text: #edf5ef;
  --muted: #91a59d;
  --teal: #35dfad;
  --teal-deep: #073b30;
  --teal-soft: rgba(53, 223, 173, .1);
  --amber: #f4b95f;
  --amber-soft: rgba(244, 185, 95, .12);
  --danger: #ff8e82;
  --radius: 18px;
  --font: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Arial Narrow", "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--text); font: 14px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.3' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); opacity: .025; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, input { border-radius: 0; }
button { border: 0; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
button, a { transition: background .2s, color .2s, border-color .2s, transform .2s; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; background: var(--teal); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; line-height: 1; font-weight: 850; letter-spacing: 1px; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 5px; }
.brand small { font-size: 7px; font-weight: 500; letter-spacing: 3.3px; color: var(--muted); }
.brand-mark { position: relative; display: inline-block; width: 34px; height: 34px; transform: rotate(-10deg); }
.brand-mark i { position: absolute; inset: 2px 14px 2px 0; border: 3px solid var(--teal); border-right: 0; border-radius: 9px 0 0 9px; transform: skew(-17deg); }
.brand-mark i:last-child { inset: 2px 0 2px 14px; border: 3px solid var(--teal); border-left: 0; border-radius: 0 9px 9px 0; }
.brand-mark.small { width: 28px; height: 28px; }
.brand-mark.small i { border-width: 2px; }
.brand.compact { font-size: 19px; }
.age-badge { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--amber); border-radius: 50%; color: var(--amber); font-size: 11px; font-weight: 700; }
.eyebrow { color: var(--teal); font-size: 10px; font-weight: 750; letter-spacing: 2.1px; text-transform: uppercase; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 12px 21px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 700; letter-spacing: .1px; }
.button .icon { width: 17px; height: 17px; }
.button.primary { background: var(--teal); color: #052119; box-shadow: 0 5px 22px rgba(53, 223, 173, .1); }
.button.primary:hover:not(:disabled) { background: #6bedc6; transform: translateY(-2px); box-shadow: 0 8px 26px rgba(53, 223, 173, .18); }
.button.secondary, .button.ghost { border-color: var(--line-strong); background: rgba(11, 26, 22, .3); }
.button.secondary:hover, .button.ghost:hover { border-color: var(--teal); background: var(--teal-soft); }
.button.full { width: 100%; }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); }
.icon-button:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
.text-button { display: inline-flex; align-items: center; gap: 12px; background: none; color: var(--teal); font-size: 12px; font-weight: 600; }
.text-button .icon { width: 17px; }
.text-button:hover { color: var(--amber); }
.loader { display: inline-block; width: 17px; height: 17px; border: 2px solid var(--line-strong); border-top-color: var(--teal); border-radius: 50%; animation: rotate .8s linear infinite; }
.boot-screen { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; background: var(--ink); color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* Access */
.auth-screen { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 100svh; }
.auth-story { position: relative; display: flex; flex-direction: column; min-height: 100svh; padding: 40px 6vw 28px; overflow: hidden; background: radial-gradient(ellipse at 75% 58%, rgba(22, 105, 80, .3), transparent 46%), linear-gradient(145deg, #0b201b, #07110f 75%); border-right: 1px solid var(--line); }
.auth-story::before { position: absolute; inset: 0; content: ""; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(159, 221, 197, .04) 25%); pointer-events: none; }
.auth-brand { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.story-copy { position: relative; z-index: 2; margin-top: clamp(70px, 14vh, 155px); }
.story-copy .eyebrow { display: flex; align-items: center; gap: 9px; }
.story-copy .eyebrow span { width: 22px; height: 1px; background: var(--teal); }
.story-copy h1 { margin: 22px 0 20px; font: 750 clamp(48px, 5vw, 79px)/.99 var(--display); letter-spacing: -3px; }
.story-copy h1 em { color: var(--teal); font-style: normal; }
.story-copy > p:last-child { max-width: 365px; color: var(--muted); font-size: 15px; }
.auth-art { position: absolute; right: 5%; bottom: 9%; width: 52%; height: 43%; perspective: 900px; }
.orbit { position: absolute; top: 50%; left: 50%; width: 120%; height: 80%; border: 1px solid rgba(53, 223, 173, .16); border-radius: 50%; transform: translate(-50%, -50%) rotate(-30deg); }
.orbit-two { width: 160%; height: 104%; border-color: rgba(244, 185, 95, .1); }
.mini-reel { position: absolute; top: 17%; left: 20%; display: flex; align-items: center; gap: 10px; padding: 25px 20px; background: linear-gradient(140deg, #1d3c32, #0b1814); border: 1px solid rgba(244, 185, 95, .3); border-radius: 14px; box-shadow: 20px 25px 50px #0006, 0 0 50px #35dfad12; transform: rotateY(-16deg) rotateZ(-9deg); }
.reel-symbol { display: grid; place-items: center; width: 65px; height: 86px; background: #071511; border: 1px solid var(--line); border-radius: 7px; }
.art-tag { position: absolute; padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--muted); font-size: 8px; letter-spacing: 2px; }
.tag-one { top: 12%; right: 0; transform: rotate(7deg); }
.tag-two { right: 10%; bottom: 6%; color: var(--amber); border-color: #f4b95f40; transform: rotate(-7deg); }
.story-footer { position: relative; z-index: 1; display: flex; gap: 22px; margin-top: auto; color: #758c81; font-size: 10px; }
.story-footer span + span::before { content: "·"; margin-right: 22px; }
.auth-panel { display: flex; justify-content: center; align-items: center; padding: 45px 7vw; background: #0a1512; }
.auth-mobile-brand { display: none; }
.auth-box { width: 100%; max-width: 410px; }
.auth-box h2 { margin: 12px 0 8px; font: 650 30px/1.25 var(--font); letter-spacing: -.8px; }
.auth-intro { color: var(--muted); font-size: 13px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0 25px; border-bottom: 1px solid var(--line); }
.auth-tabs button { position: relative; padding: 13px; background: none; color: var(--muted); font-size: 12px; font-weight: 650; }
.auth-tabs button.active { color: var(--teal); }
.auth-tabs button.active::after { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; content: ""; background: var(--teal); }
.auth-form { display: flex; flex-direction: column; gap: 18px; animation: appear .25s ease-out; }
.auth-form label, .payment-form label, .modal label { display: flex; flex-direction: column; gap: 7px; color: #c9d6cf; font-size: 11px; font-weight: 600; }
.optional { margin-left: 6px; color: var(--muted); font-size: 9px; font-weight: 400; }
.auth-form input, .payment-form input, .modal input { width: 100%; height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; background: #0e1c18; color: var(--text); font-size: 13px; transition: border .2s, box-shadow .2s; }
.auth-form input::placeholder, .payment-form input::placeholder, .modal input::placeholder { color: #62796f; }
.auth-form input:hover, .payment-form input:hover, .modal input:hover { border-color: var(--line-strong); }
.auth-form input:focus, .payment-form input:focus, .modal input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #35dfad0c; outline-offset: 1px; }
.auth-form input[type="date"] { color-scheme: dark; }
.auth-form label small { color: var(--muted); font-size: 10px; font-weight: 400; }
.field-row { position: relative; }
.field-row label { flex: 1; }
.form-age { position: absolute; right: 15px; bottom: 5px; width: 34px; height: 34px; }
.field-row input { padding-right: 56px; }
.check-label { flex-direction: row !important; align-items: flex-start; gap: 10px !important; color: var(--muted) !important; font-size: 10px !important; font-weight: 400 !important; }
.check-label input { flex-shrink: 0; width: 15px; height: 15px; margin-top: 1px; accent-color: var(--teal); }
.form-message { padding: 11px 13px; border: 1px solid #ff8e8240; border-radius: 5px; background: #ff8e820a; color: var(--danger); font-size: 12px; }
.form-message.success { border-color: #35dfad40; background: var(--teal-soft); color: var(--teal); }
.auth-legal { margin-top: 24px; color: #667b72; font-size: 10px; text-align: center; }

/* Frame */
.topbar { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; gap: 32px; height: 78px; padding: 0 clamp(24px, 4.5vw, 74px); border-bottom: 1px solid var(--line); background: rgba(7, 17, 15, .92); backdrop-filter: blur(20px); }
.main-nav { display: flex; align-self: stretch; gap: 24px; margin-left: clamp(5px, 3vw, 48px); }
.main-nav a { position: relative; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 550; }
.main-nav a .icon { width: 16px; height: 16px; }
.main-nav a.active { color: var(--text); }
.main-nav a.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: var(--teal); }
.main-nav a:hover { color: var(--teal); }
.top-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.sound-control { display: flex; align-items: center; gap: 4px; }
.sound-control .icon-button { border-color: transparent; }
.volume-label { width: 52px; display: flex; }
input[type="range"] { width: 100%; height: 3px; accent-color: var(--teal); cursor: pointer; }
.balance-pill { display: flex; flex-direction: column; gap: 1px; min-width: 108px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 7px; background: #0d1c17; text-align: left; }
.balance-pill span { color: var(--muted); font-size: 8px; letter-spacing: .5px; text-transform: uppercase; }
.balance-pill span i { display: inline-block; width: 4px; height: 4px; margin-right: 3px; border-radius: 50%; background: var(--amber); vertical-align: middle; }
.balance-pill strong { color: var(--amber); font-size: 13px; font-variant-numeric: tabular-nums; }
.balance-pill:hover { border-color: #f4b95f66; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #35dfad40; border-radius: 50%; background: #19392e; color: var(--teal); font-weight: 700; }
.avatar:hover { background: var(--teal); color: var(--ink); }
.profile-menu { position: fixed; z-index: 30; top: 69px; right: clamp(24px, 4.5vw, 74px); width: 245px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: #11231d; box-shadow: 0 20px 50px #0008; }
.profile-menu > div { display: flex; flex-direction: column; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.profile-menu strong { font-size: 13px; }
.profile-menu span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; }
.profile-menu button { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; padding: 10px 0 0; background: none; color: var(--muted); font-size: 11px; }
.profile-menu button:hover { color: var(--danger); }
.profile-menu .icon { width: 16px; }
main { max-width: 1600px; min-height: calc(100svh - 150px); margin: 0 auto; padding: 0 clamp(24px, 4.5vw, 74px); }
.view { padding: 36px 0 65px; animation: appear .4s ease-out; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 430px; padding: 36px clamp(28px, 4vw, 62px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(ellipse at 83% 44%, rgba(49, 138, 101, .22), transparent 45%), linear-gradient(110deg, #10241d, #0b1915 60%, #10281e); }
.hero::before { position: absolute; right: -5%; bottom: -55%; width: 68%; height: 160%; content: ""; border: 1px solid #35dfad15; border-radius: 50%; transform: rotate(-27deg); box-shadow: 0 0 0 40px #35dfad03, 0 0 0 90px #35dfad02; }
.hero-content { position: relative; z-index: 2; align-self: center; }
.hero-content .eyebrow { display: flex; align-items: center; gap: 9px; font-size: 9px; }
.hero-content .eyebrow b { margin-left: 8px; color: #667e72; font-size: 9px; font-weight: 400; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.hero h1 { margin: 18px 0; font: 800 clamp(46px, 5vw, 72px)/.98 var(--display); letter-spacing: -2.7px; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-content > p:not(.eyebrow) { color: #9caf9f; font-size: 13px; line-height: 1.8; }
.hero-actions { display: flex; gap: 10px; margin-top: 26px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 23px; color: #a1b5a8; font-size: 9px; line-height: 1.5; }
.hero-note .icon { width: 17px; color: var(--teal); }
.hero-note small { color: #71877b; font-size: 9px; }
.hero-visual { position: relative; min-height: 330px; perspective: 1000px; }
.halo { position: absolute; top: 43%; left: 53%; width: 340px; height: 340px; border: 1px solid #35dfad20; border-radius: 50%; background: radial-gradient(circle, #35dfad0a, transparent 70%); transform: translate(-50%, -50%); box-shadow: 0 0 0 38px #35dfad03, 0 0 0 39px #35dfad0b, 0 0 0 82px #35dfad02, 0 0 0 83px #35dfad08; }
.floating-label { position: absolute; top: 15px; right: 0; color: #708b7c; font-size: 8px; letter-spacing: 2px; writing-mode: vertical-rl; }
.slot-cabinet { position: absolute; top: 47%; left: 52%; width: 310px; padding: 18px 16px 13px; border: 1px solid #f4b95f70; border-radius: 21px; background: linear-gradient(125deg, #355343, #142a20 22%, #0b1813 80%); box-shadow: 20px 35px 55px #0007, inset 0 0 0 4px #06110c, 0 0 35px #35dfad0b; transform: translate(-50%, -50%) rotateY(-13deg) rotateX(4deg) rotateZ(-6deg); animation: float 8s ease-in-out infinite; }
.slot-top { padding: 2px 0 14px; color: var(--amber); font-size: 15px; font-weight: 300; letter-spacing: 5px; line-height: 1.2; text-align: center; }
.slot-top strong { display: block; font-size: 26px; font-weight: 850; letter-spacing: 1px; }
.slot-screen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 8px; border: 1px solid #d3a85355; border-radius: 9px; background: #06130f; box-shadow: inset 0 0 25px #000; }
.slot-column { display: flex; flex-direction: column; gap: 3px; overflow: hidden; border-radius: 4px; background: linear-gradient(90deg, #0b2019, #19372a 50%, #0b2019); }
.slot-column.middle { transform: translateY(-6px); }
.slot-column > div { height: 60px; }
.slot-footer { display: flex; align-items: center; gap: 6px; padding-top: 13px; color: #92a48d; font-size: 6px; letter-spacing: 1.5px; }
.slot-footer span { margin-right: auto; }
.slot-footer i { width: 10px; height: 10px; border: 1px solid var(--amber); border-radius: 50%; background: #6c5626; }
.coin { position: absolute; width: 30px; height: 30px; border: 3px double #f4b95f90; border-radius: 50%; background: radial-gradient(circle, #f4b95f30, #b3792040); box-shadow: 2px 7px 15px #0005; }
.coin::after { position: absolute; inset: 5px; content: "N"; color: var(--amber); font: 12px/14px var(--font); text-align: center; }
.coin-one { top: 20%; left: 7%; transform: rotateY(50deg) rotateZ(-20deg); }
.coin-two { right: 4%; bottom: 15%; transform: rotateY(30deg) rotateZ(30deg); }
.coin-three { bottom: 3%; left: 24%; width: 21px; height: 21px; }
.coin-three::after { inset: 2px; font-size: 9px; }
.symbol-gem, .symbol-diamond, .symbol-seven { position: relative; display: grid; place-items: center; min-height: 62px; }
.symbol-gem::before { width: 28px; height: 35px; content: ""; background: linear-gradient(135deg, #d0ffe7 0%, #41e4af 26%, #10855c 55%, #54dca6 72%, #0a503e 100%); clip-path: polygon(50% 0, 91% 28%, 78% 82%, 50% 100%, 13% 78%, 5% 28%); filter: drop-shadow(0 0 9px #35dfad45); }
.symbol-gem::after { position: absolute; width: 18px; height: 25px; content: ""; background: linear-gradient(60deg, transparent 48%, #d5ffeb80 49%, transparent 52%), linear-gradient(-60deg, transparent 48%, #d5ffeb80 49%, transparent 52%); clip-path: polygon(50% 0, 100% 30%, 75% 100%, 10% 75%, 0 30%); }
.symbol-diamond::before { width: 31px; height: 31px; content: ""; background: linear-gradient(135deg, #fff0c9, #f3b24e 30%, #9c5b1e 52%, #edbb64 75%, #7a4517); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); filter: drop-shadow(0 0 9px #f4b95f30); }
.symbol-diamond::after { position: absolute; width: 21px; height: 21px; content: ""; border: 1px solid #fff3c570; transform: rotate(45deg); }
.symbol-seven { color: var(--amber); font: italic 800 38px/1 Georgia, serif; text-shadow: 2px 2px 0 #744b19, 0 0 14px #f4b95f40; }
.large.symbol-gem::before { width: 28px; height: 34px; }
.large.symbol-seven { font-size: 38px; }
.large.symbol-diamond::before { width: 28px; height: 28px; }

/* Games */
.games-section { padding-top: 44px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin-top: 7px; font: 600 clamp(21px, 2vw, 27px)/1.3 var(--font); letter-spacing: -.8px; }
.category-tabs { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; }
.category-tabs button { padding: 8px 13px; border-radius: 5px; background: none; color: var(--muted); font-size: 10px; }
.category-tabs button:hover { color: var(--text); }
.category-tabs button.active { background: var(--panel-soft); color: var(--teal); box-shadow: 0 1px 5px #0003; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: transform .3s, border-color .3s, box-shadow .3s; }
.game-card:hover { border-color: #35dfad50; transform: translateY(-5px); box-shadow: 0 16px 35px #0003; }
.game-card[hidden] { display: none; }
.game-art { position: relative; height: 205px; overflow: hidden; background: #173228; }
.game-art::before { position: absolute; top: -65%; left: -15%; width: 125%; height: 150%; content: ""; border: 1px solid #ffffff15; border-radius: 50%; transform: rotate(-35deg); }
.game-art::after { position: absolute; right: -20px; bottom: -50px; width: 150px; height: 150px; content: ""; border: 1px solid #ffffff15; border-radius: 50%; box-shadow: 0 0 0 25px #ffffff03, 0 0 0 50px #ffffff02; }
.game-collection { position: absolute; z-index: 1; top: 15px; left: 16px; color: #c1d3c7; font-size: 7px; letter-spacing: 1.5px; }
.game-art > strong { position: absolute; z-index: 2; bottom: 19px; left: 17px; font: 800 23px/.96 var(--display); letter-spacing: .3px; }
.card-symbols { position: absolute; top: 29%; right: 2%; display: flex; transform: rotate(-14deg); }
.card-symbols > div { width: 64px; min-height: 77px; border: 1px solid #b6dbb833; border-radius: 7px; background: #11271e; box-shadow: 5px 10px 20px #0004; }
.card-symbols > div:nth-child(2) { z-index: 1; margin: -11px -9px 0; transform: translateY(-10px); }
.sun-symbol { position: absolute; top: 27%; right: 17%; width: 82px; height: 82px; border: 2px solid #f4b95f70; border-radius: 50%; background: repeating-conic-gradient(from 0deg, #f4b95f 0deg 2deg, transparent 2deg 20deg); box-shadow: 0 0 35px #f4b95f20; animation: slow-spin 40s linear infinite; }
.sun-symbol i { position: absolute; inset: 15px; border: 1px solid #f4b95f; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe3a0, #bf792b 55%, #64451c); box-shadow: inset -8px -8px 10px #51351a80; }
.roulette-symbol { position: absolute; top: 28%; right: 12%; width: 106px; height: 106px; border: 6px solid #7a9a9660; border-radius: 50%; background: repeating-conic-gradient(#b7854d 0deg 12deg, #152c30 12deg 24deg, #859d91 24deg 36deg, #152c30 36deg 48deg); box-shadow: 0 12px 25px #0005, inset 0 0 0 8px #172c2d, inset 0 0 0 10px #ba9d6570; transform: rotateX(35deg) rotateZ(-18deg); }
.roulette-symbol i { position: absolute; inset: 22px; border: 2px solid #ad9c6d; border-radius: 50%; background: #173733; }
.roulette-symbol b { position: absolute; inset: 37px; border-radius: 50%; background: #c4aa72; }
.crash-art { position: absolute; top: 30px; right: 4px; width: 75%; height: 105px; overflow: visible; }
.crash-art .grid-line { fill: none; stroke: #f4b95f12; stroke-width: 1; }
.crash-art .crash-line { fill: none; stroke: var(--amber); stroke-width: 2; filter: drop-shadow(0 0 5px #f4b95f80); }
.crash-art circle { fill: #ffe0a7; filter: drop-shadow(0 0 5px #f4b95f); }
.round-play { position: absolute; z-index: 3; right: 15px; bottom: 15px; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #35dfad70; border-radius: 50%; background: #0b211a99; color: var(--teal); backdrop-filter: blur(5px); }
.round-play .icon { width: 17px; height: 17px; margin-left: 2px; }
.round-play:hover { background: var(--teal); color: var(--ink); transform: scale(1.08); }
.game-meta { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; }
.game-meta h3 { font-size: 12px; font-weight: 600; }
.game-meta p { margin-top: 2px; color: var(--muted); font-size: 9px; }
.game-meta > span { padding: 3px 5px; border: 1px solid #35dfad20; border-radius: 3px; color: var(--teal); font-size: 7px; letter-spacing: .6px; }
.lobby-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.lobby-bottom > div { display: flex; align-items: center; gap: 12px; }
.lobby-bottom > div > .icon { width: 24px; height: 24px; color: var(--muted); }
.lobby-bottom p { display: flex; flex-direction: column; }
.lobby-bottom p strong { font-size: 11px; font-weight: 500; }
.lobby-bottom p span { color: var(--muted); font-size: 10px; }

/* Shared content */
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 22px 0 30px; }
.page-heading h1 { margin: 8px 0 10px; font: 700 clamp(30px, 3.6vw, 47px)/1.15 var(--display); letter-spacing: -1.5px; }
.page-heading > div > p:last-child { color: var(--muted); font-size: 12px; }
.notice { display: flex; align-items: flex-start; gap: 13px; padding: 17px 19px; border: 1px solid #35dfad25; border-radius: 8px; background: var(--teal-soft); }
.notice > .icon { margin-top: 2px; color: var(--teal); }
.notice strong { font-size: 12px; font-weight: 600; }
.notice p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.notice.compact { padding: 12px 14px; }
.notice.compact .icon { width: 17px; }
.notice.warning { border-color: #f4b95f30; background: var(--amber-soft); }
.notice.warning > .icon { color: var(--amber); }
.loading-state, .empty-state, .error-state { margin: 20px 0; padding: 32px; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.loading-state { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 12px; }
.empty-state { color: var(--muted); }
.empty-state > .icon { width: 30px; height: 30px; margin-bottom: 10px; color: var(--teal); }
.empty-state h3 { color: var(--text); font-size: 15px; }
.empty-state p { margin-top: 5px; font-size: 11px; }
.error-state { border-color: #ff8e8235; background: #ff8e8208; color: var(--danger); font-size: 12px; white-space: pre-line; }
.status-chip { padding: 4px 7px; border: 1px solid #35dfad40; border-radius: 4px; color: var(--teal); font-size: 8px; letter-spacing: 1px; }
.status-chip.neutral { border-color: var(--line-strong); color: var(--muted); }
.status-chip.warning { border-color: #f4b95f40; color: var(--amber); }

/* Sports */
.sports-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; margin-top: 28px; }
.event-list { display: flex; flex-direction: column; gap: 13px; }
.event-card { padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.event-card-header { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 20px; color: var(--muted); font-size: 9px; letter-spacing: .7px; text-transform: uppercase; }
.event-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-bottom: 20px; }
.event-teams > div { display: flex; align-items: center; gap: 11px; }
.event-teams > div:last-child { flex-direction: row-reverse; text-align: right; }
.team-badge { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--panel-soft); color: var(--teal); font-size: 11px; font-weight: 800; }
.event-teams strong { font-size: 14px; font-weight: 550; }
.event-teams > span { color: #60796d; font-size: 10px; }
.event-selections { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
.selection-button { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; background: #0b1a15; font-size: 10px; }
.selection-button span { color: var(--muted); }
.selection-button strong { color: var(--amber); font-size: 13px; }
.selection-button:hover { border-color: var(--teal); background: var(--teal-soft); }
.event-raw { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.bet-guide { align-self: start; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(150deg, #12261e, #0c1814); }
.bet-guide h2 { margin: 9px 0 25px; font-size: 22px; letter-spacing: -.5px; }
.bet-guide ol { display: flex; flex-direction: column; gap: 23px; margin: 0; padding: 0; list-style: none; }
.bet-guide li { display: flex; gap: 13px; }
.bet-guide li > span { color: var(--amber); font-size: 10px; font-variant-numeric: tabular-nums; }
.bet-guide li strong { font-size: 11px; font-weight: 600; }
.bet-guide li p { margin-top: 4px; color: var(--muted); font-size: 10px; }
.bet-history { margin-top: 36px; }
.bet-history .section-heading { margin-bottom: 16px; }
.bet-history .section-heading h2 { font-size: 22px; }

/* Wallet */
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 25px; }
.wallet-card { padding: 28px; border: 1px solid var(--line); border-radius: 13px; }
.wallet-card-top { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: 1.2px; }
.wallet-card > strong { display: block; margin: 15px 0 6px; font: 650 clamp(30px, 3vw, 40px)/1.2 var(--font); letter-spacing: -1.3px; font-variant-numeric: tabular-nums; }
.wallet-card > p { font-size: 11px; }
.demo-wallet { background: linear-gradient(120deg, #32d7a6, #72e4b8); color: #09261b; border-color: transparent; }
.demo-wallet .status-chip { border-color: #073b3030; color: #073b30; }
.demo-wallet > p { color: #164b39; }
.button.on-color { margin-top: 22px; border-color: #073b3040; background: #073b3010; color: #073b30; }
.button.on-color:hover { background: #073b3020; }
.real-wallet { background: linear-gradient(130deg, #172720, #0f1e18); }
.real-wallet .wallet-card-top > span:first-child { color: var(--muted); }
.real-wallet > strong { color: var(--amber); }
.real-wallet > p { color: var(--muted); }
.wallet-foot { display: flex; align-items: center; gap: 7px; margin-top: 21px; color: #8fa396; font-size: 9px; }
.wallet-foot .icon { width: 16px; }
.wallet-workspace { padding: 0 28px 28px; border: 1px solid var(--line); border-radius: 12px; background: #0c1915; }
.wallet-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.wallet-tabs button { position: relative; padding: 22px 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; }
.wallet-tabs button.active { color: var(--teal); }
.wallet-tabs button.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: var(--teal); }
.wallet-mode-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 22px 0 16px; color: var(--muted); font-size: 10px; }
.segmented { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 6px; }
.segmented button { padding: 6px 12px; border-radius: 3px; background: none; color: var(--muted); font-size: 9px; }
.segmented button.active { background: var(--panel-soft); color: var(--teal); }
.payment-form { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 28px; max-width: 800px; padding: 28px 0 5px; }
.payment-form > div:first-child { grid-row: span 2; }
.payment-form h2, .table-heading h2 { margin: 7px 0; font-size: 22px; letter-spacing: -.5px; }
.payment-form > div > p:last-child { max-width: 300px; color: var(--muted); font-size: 11px; }
.payment-form > .button { align-self: end; }
.payment-form > .form-message { grid-column: 1 / -1; }
.money-input { position: relative; }
.money-input > span { position: absolute; top: 13px; left: 14px; color: var(--muted); font-size: 12px; }
.money-input input { padding-left: 40px; font-variant-numeric: tabular-nums; }
.table-heading { display: flex; align-items: center; justify-content: space-between; padding: 27px 0 18px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }
th { padding: 11px 13px; border-bottom: 1px solid var(--line-strong); color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap; }
td { max-width: 260px; padding: 14px 13px; border-bottom: 1px solid var(--line); color: #c5d2cb; overflow-wrap: anywhere; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #35dfad04; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 10px; }
.table-status { color: var(--amber); }

/* Admin */
.admin-tabs { display: flex; gap: 5px; margin: 5px 0 20px; padding: 5px; overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; background: #0b1814; }
.admin-tabs button { flex: 1; min-width: max-content; padding: 11px 17px; border-radius: 5px; background: none; color: var(--muted); font-size: 11px; }
.admin-tabs button.active { background: #183228; color: var(--teal); }
.admin-context { display: flex; justify-content: space-between; margin: 20px 0 12px; color: var(--muted); font-size: 10px; }
.admin-context span:first-child { color: var(--text); font-weight: 600; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.metric-card { min-height: 130px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.metric-card > span { color: var(--muted); font-size: 10px; }
.metric-card > strong { display: block; margin-top: 15px; color: var(--text); font-size: 25px; font-weight: 600; letter-spacing: -.7px; overflow-wrap: anywhere; }
.metric-card > small { display: block; margin-top: 6px; color: var(--teal); font-size: 9px; }
.data-panel { margin-top: 17px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.data-panel > h2 { margin-bottom: 17px; font-size: 16px; }
.json-record { margin: 0; padding: 14px; overflow: auto; border-radius: 6px; background: #07130f; color: #a8c2b3; font: 11px/1.7 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
.detail-list div { padding: 15px; border: 1px solid var(--line); border-radius: 7px; }
.detail-list dt { color: var(--muted); font-size: 10px; }
.detail-list dd { margin: 7px 0 0; overflow-wrap: anywhere; }

/* Dialogs & feedback */
.mfa-panel { max-width: 640px; padding: 28px; }
.mfa-panel h2 { margin-bottom: 10px; }
.mfa-panel > p { margin-bottom: 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.mfa-panel .button { margin-top: 20px; }
.mfa-qr { display: block; width: 240px; max-width: 100%; margin: 20px auto; border-radius: 10px; background: white; }
.mfa-enrollment { display: flex; flex-direction: column; gap: 14px; }
.mfa-enrollment input { height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; background: #0e1c18; color: var(--text); }
dialog { color: var(--text); font-family: var(--font); }
dialog::backdrop { background: rgba(1, 8, 6, .85); backdrop-filter: blur(8px); }
.game-dialog { width: min(1100px, calc(100% - 36px)); max-width: none; height: min(850px, calc(100svh - 36px)); max-height: none; padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 13px; background: #081510; box-shadow: 0 30px 100px #000; }
.game-dialog.portrait { width: min(500px, calc(100vw - 24px)); height: min(980px, calc(100svh - 24px)); margin: auto; }
/* 94px is the title bar, the footer and the borders: the remaining game area is 9:16 on any screen height. */
.game-dialog.ratio-916 { --game-width: min(calc(100vw - 24px), calc((min(980px, 100svh - 24px) - 94px) * 9 / 16)); width: var(--game-width); height: calc(var(--game-width) * 16 / 9 + 94px); }
/* Avoid a Chromium compositing layer that can hide cross-origin iframes. */
.game-dialog[open] { display: flex; flex-direction: column; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dialog-bar > div { display: flex; align-items: center; gap: 12px; }
.dialog-bar h2 { font-size: 15px; }
.game-frame-wrap { position: relative; flex: 1; min-height: 0; }
.game-frame-wrap iframe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border: 0; background: #07110f; }
.game-fallback { position: absolute; z-index: 2; right: 14px; bottom: 14px; left: 14px; }
.game-fallback a { display: inline-flex; margin-top: 6px; }
.game-dialog-foot { padding: 8px; color: var(--muted); font-size: 9px; letter-spacing: .6px; text-align: center; }
.modal { width: min(470px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 27px; border: 1px solid var(--line-strong); border-radius: 13px; background: #0e1e18; box-shadow: 0 30px 100px #000; }
.modal[open] { animation: dialog-in .25s ease-out; }
.modal-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.modal-heading h2 { margin-top: 7px; font-size: 24px; letter-spacing: -.7px; }
.modal form { display: flex; flex-direction: column; gap: 17px; }
.modal input[readonly] { color: var(--teal); }
.bet-event-name { padding: 12px; border-left: 2px solid var(--amber); background: var(--amber-soft); color: #e3d4b7; font-size: 12px; }
.odds-display { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; }
.odds-display strong { color: var(--amber); font-size: 22px; }
.potential-return { color: var(--muted); font-size: 11px; text-align: right; }
.toast-region { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 9px; width: min(370px, calc(100% - 44px)); }
.toast { padding: 15px 17px; border: 1px solid #35dfad50; border-radius: 9px; background: #16372a; box-shadow: 0 12px 35px #0006; color: #c9f8df; font-size: 12px; animation: appear .25s ease-out; }
.toast.error { border-color: #ff8e8250; background: #37201d; color: #ffc0b7; }
.site-footer { display: flex; align-items: center; gap: 30px; max-width: 1600px; margin: 0 auto; padding: 26px clamp(24px, 4.5vw, 74px) 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.site-footer p { margin-left: auto; }
.site-footer p strong { margin-left: 7px; color: var(--amber); }
.bottom-nav { display: none; }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%) rotateY(-13deg) rotateX(4deg) rotateZ(-6deg); } 50% { transform: translate(-50%, calc(-50% - 9px)) rotateY(-11deg) rotateX(3deg) rotateZ(-4deg); } }
@keyframes slow-spin { to { transform: rotate(360deg); } }

@media (min-width: 1500px) {
  .hero { min-height: 480px; }
  .slot-cabinet { width: 350px; }
  .slot-column > div { height: 69px; }
  .game-art { height: 240px; }
}
@media (max-width: 1150px) {
  .topbar { gap: 20px; }
  .main-nav { gap: 18px; margin-left: 5px; }
  .main-nav a .icon { display: none; }
  .volume-label { display: none; }
  .hero { grid-template-columns: 1fr 1fr; padding: 30px; }
  .slot-cabinet { width: 275px; }
  .slot-column > div { height: 52px; }
  .game-art { height: 185px; }
  .card-symbols { right: -7%; }
  .game-art > strong { font-size: 20px; }
  .auth-story { padding-right: 4vw; padding-left: 4vw; }
  .auth-art { right: -2%; width: 70%; opacity: .75; }
  .story-copy { z-index: 3; }
}
@media (max-width: 900px) {
  .topbar { height: 70px; padding: 0 24px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 10px; }
  .top-actions { gap: 8px; }
  .sound-control { display: none; }
  .topbar .brand { font-size: 21px; }
  .topbar .brand-mark { width: 28px; height: 28px; }
  .balance-pill { min-width: 94px; padding: 6px 10px; }
  .hero { min-height: 410px; }
  .hero h1 { font-size: 49px; }
  .hero-content > p:not(.eyebrow) { font-size: 11px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .slot-cabinet { left: 55%; width: 230px; padding: 15px 12px 12px; }
  .slot-top { font-size: 11px; }
  .slot-top strong { font-size: 21px; }
  .slot-column > div { height: 43px; min-height: 43px; }
  .slot-column .symbol-seven { font-size: 29px; }
  .slot-column .symbol-gem::before { width: 22px; height: 27px; }
  .slot-column .symbol-diamond::before { width: 23px; height: 23px; }
  .halo { width: 270px; height: 270px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-art { height: 225px; }
  .card-symbols { right: 5%; }
  .game-art > strong { font-size: 25px; }
  .auth-screen { grid-template-columns: 1fr 1fr; }
  .auth-art { opacity: .35; }
  .auth-panel { padding: 35px; }
  .story-copy h1 { font-size: 48px; }
  .sports-layout { grid-template-columns: 1fr; }
  .bet-guide { display: none; }
}
@media (max-width: 700px) {
  body { padding-bottom: 66px; }
  .topbar { position: sticky; height: 66px; padding: 0 18px; }
  .topbar .brand small { display: none; }
  .topbar .brand > span:last-child { font-size: 20px; }
  .main-nav { display: none; }
  .balance-pill { padding: 5px 9px; }
  .balance-pill span { font-size: 7px; }
  .balance-pill strong { font-size: 11px; }
  .avatar { width: 32px; height: 32px; }
  .profile-menu { top: 59px; right: 18px; }
  main { padding: 0 16px; }
  .view { padding-top: 18px; padding-bottom: 35px; }
  .hero { display: block; min-height: 560px; padding: 27px 23px; border-radius: 13px; }
  .hero-content { z-index: 3; }
  .hero h1 { margin-top: 15px; font-size: 48px; }
  .hero-content > p:not(.eyebrow) { font-size: 12px; }
  .hero-actions { flex-direction: row; margin-top: 20px; }
  .hero-actions .button { min-height: 42px; padding: 10px 13px; font-size: 10px; }
  .hero-note { margin-top: 16px; }
  .hero-visual { position: absolute; right: 0; bottom: 0; left: 0; height: 235px; min-height: 0; }
  .slot-cabinet { top: 52%; left: 50%; width: 218px; }
  .halo { top: 50%; left: 50%; width: 220px; height: 220px; }
  .floating-label { right: 20px; }
  .coin-one { left: 14%; }
  .coin-two { right: 12%; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 23px; }
  .category-tabs { margin-top: 18px; overflow-x: auto; }
  .category-tabs button { flex: 1; min-width: max-content; }
  .games-section { padding-top: 30px; }
  .game-grid { gap: 11px; }
  .game-art { height: 175px; }
  .game-art > strong { bottom: 15px; left: 12px; font-size: 18px; }
  .game-collection { top: 12px; left: 12px; font-size: 6px; }
  .card-symbols { top: 31%; right: -8%; transform: rotate(-14deg) scale(.8); }
  .game-meta { padding: 12px; }
  .game-meta h3 { font-size: 11px; }
  .game-meta p { font-size: 8px; }
  .game-meta > span { display: none; }
  .round-play { right: 11px; bottom: 11px; width: 32px; height: 32px; }
  .round-play .icon { width: 14px; }
  .sun-symbol { right: 10%; transform: scale(.75); }
  .roulette-symbol { right: 5%; transform: rotateX(35deg) rotateZ(-18deg) scale(.75); }
  .crash-art { width: 90%; }
  .lobby-bottom { align-items: flex-start; }
  .lobby-bottom p span { max-width: 190px; }
  .lobby-bottom .text-button { font-size: 0; }
  .lobby-bottom .text-button .icon { width: 22px; height: 22px; }
  .page-heading { align-items: flex-start; padding-top: 15px; }
  .page-heading h1 { font-size: 32px; }
  .page-heading > div > p:last-child { max-width: 280px; font-size: 11px; }
  .page-heading > .button { min-height: 37px; padding: 8px; font-size: 0; }
  .page-heading > .button .icon { width: 18px; }
  .notice { padding: 14px; }
  .notice strong { font-size: 11px; }
  .notice p { font-size: 10px; }
  .sports-layout { margin-top: 18px; }
  .event-card { padding: 16px; }
  .event-teams { gap: 8px; }
  .event-teams > div, .event-teams > div:last-child { flex-direction: column; gap: 7px; text-align: center; }
  .event-teams strong { font-size: 12px; }
  .event-selections { grid-template-columns: 1fr; }
  .wallet-grid { grid-template-columns: 1fr; gap: 12px; }
  .wallet-card { padding: 22px; }
  .wallet-workspace { padding: 0 17px 20px; }
  .wallet-tabs { gap: 18px; overflow-x: auto; }
  .wallet-tabs button { flex-shrink: 0; font-size: 10px; }
  .payment-form { display: flex; flex-direction: column; gap: 18px; }
  .payment-form > div > p:last-child { max-width: none; }
  .payment-form .form-message { order: 4; }
  .admin-tabs { margin-top: 0; }
  .admin-tabs button { flex: initial; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .metric-card { min-height: 115px; padding: 16px; }
  .metric-card > strong { font-size: 20px; }
  .data-panel { padding: 14px; }
  .site-footer { flex-wrap: wrap; gap: 13px; padding: 24px 18px; }
  .site-footer p { margin-left: auto; }
  .site-footer > span { width: 100%; }
  .bottom-nav { position: fixed; z-index: 19; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); height: 66px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line-strong); background: #0b1915f5; backdrop-filter: blur(18px); }
  .bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 8px; }
  .bottom-nav a .icon { width: 20px; height: 20px; }
  .bottom-nav a.active { color: var(--teal); }
  .bottom-nav a.active::before { position: absolute; top: -1px; width: 25px; height: 2px; content: ""; background: var(--teal); }
  .toast-region { bottom: 80px; }
  .auth-screen { display: block; }
  .auth-story { display: none; }
  .auth-panel { flex-direction: column; justify-content: flex-start; min-height: 100svh; padding: 27px 24px 40px; }
  .auth-mobile-brand { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 48px; }
  .auth-mobile-brand .brand { font-size: 22px; }
  .auth-mobile-brand .brand-mark { width: 30px; height: 30px; }
  .auth-box h2 { font-size: 27px; }
  .game-dialog, .game-dialog.portrait, .game-dialog.ratio-916 { width: 100%; height: 100svh; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .modal { padding: 22px; }
}
@media (max-width: 380px) {
  .topbar { padding: 0 12px; }
  .topbar .brand { gap: 7px; font-size: 17px; }
  .balance-pill { min-width: 85px; }
  .hero h1 { font-size: 43px; }
  .hero-actions .button.ghost { display: none; }
  .game-art { height: 157px; }
  .game-art > strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.device-intro { margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.device-list { display: grid; gap: 10px; }
.device-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; }
.device-row strong { display: block; font-size: 13px; }
.device-row span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.device-row .button { flex-shrink: 0; }
.device-empty { color: var(--muted); font-size: 13px; }

/* Real money admin: platform switch and countries. */
.real-money-panel h2 { margin: 0 0 8px; }
.real-money-panel > p { color: var(--muted, #9aa4b2); max-width: 70ch; }
.real-money-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 4px; }
.real-money-meta { font-size: 0.86rem; }
.real-money-form { display: grid; gap: 12px; max-width: 640px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.real-money-form h3 { margin: 0; font-size: 1rem; }
.real-money-form label { display: grid; gap: 6px; }
.real-money-form .check-label { display: flex; align-items: flex-start; gap: 10px; }
.real-money-form .check-label input { margin-top: 3px; flex: none; }
.real-money-form textarea { min-height: 76px; }
.status-chip.success { color: #062d1c; background: #3ee08f; }
.button.danger { border-color: #ff5a6a; color: #ff8a95; }
.segmented button:disabled { opacity: 0.45; cursor: not-allowed; }
.real-money-form input:not([type="checkbox"]), .real-money-form select, .real-money-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; background: #0e1c18; color: var(--text); font: inherit; font-size: 13px; transition: border .2s, box-shadow .2s; }
.real-money-form input:not([type="checkbox"]), .real-money-form select { height: 46px; }
.real-money-form select { color-scheme: dark; }
.real-money-form textarea { resize: vertical; line-height: 1.45; }
.real-money-form input::placeholder, .real-money-form textarea::placeholder { color: #62796f; }
.real-money-form input:not([type="checkbox"]):hover, .real-money-form select:hover, .real-money-form textarea:hover { border-color: var(--line-strong); }
.real-money-form input:focus, .real-money-form select:focus, .real-money-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #35dfad0c; outline-offset: 1px; }
.real-money-form .check-label { font-size: 13px; line-height: 1.45; }
.real-money-form .check-label input { width: 16px; height: 16px; }
.real-money-panel td .button { white-space: nowrap; }
.real-money-panel td .status-chip { white-space: nowrap; }
@media (max-width: 600px) {
  .real-money-panel th:nth-child(3), .real-money-panel td:nth-child(3) { display: none; }
}
