:root {
  color-scheme: dark;
  --bg: #07090c;
  --bg-2: #0c1015;
  --panel: rgba(13, 17, 22, .84);
  --panel-soft: rgba(255, 255, 255, .025);
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(227, 205, 157, .26);
  --text: #f5f1e9;
  --muted: #a79f92;
  --muted-2: #716d65;
  --gold: #c7aa70;
  --gold-2: #ead7ac;
  --wine: #8b1730;
  --wine-soft: #4b101e;
  --felt: #0d4b3d;
  --felt-2: #092f28;
  --felt-3: #061e1a;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; background: var(--bg); }
body { overflow: hidden; color: var(--text); -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
button:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.noscript { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 2rem; background: var(--bg); color: var(--text); text-align: center; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

.portrait-gate {
  position: fixed; inset: 0; z-index: 1000; display: none; place-items: center;
  padding: calc(10px + var(--safe-top)) calc(10px + var(--safe-right)) calc(10px + var(--safe-bottom)) calc(10px + var(--safe-left));
  background:
    radial-gradient(circle at 50% 10%, rgba(246,214,130,.14), transparent 28%),
    linear-gradient(180deg, #09070b 0%, #040508 100%);
}
.portrait-gate__panel { max-width: min(100%, 560px); width: min(100%, 560px); text-align: center; }
.portrait-gate__panel--art { display: grid; place-items: center; }
.portrait-gate__art {
  display: block;
  width: min(100%, 560px);
  max-width: 100%;
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 20px);
  object-fit: contain;
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,.56), 0 0 0 1px rgba(244,212,136,.12);
}
.portrait-gate__brand span, .topbar__mark span, .brand span { color: var(--gold); }

.app { width: 100vw; height: 100dvh; min-height: 320px; position: relative; background: var(--bg); }
.screen { position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: scale(1.012); transition: opacity .42s ease, transform .55s cubic-bezier(.2,.75,.2,1); }
.screen.is-active { opacity: 1; pointer-events: auto; transform: scale(1); }

/* ENTRANCE */
.screen--landing {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0/38px 38px,
    radial-gradient(circle at 50% 44%, rgba(17,75,61,.46), transparent 30%),
    linear-gradient(135deg, #06080b 0%, #10151a 45%, #06080a 100%);
}
.screen--landing::before {
  content: ""; position: absolute; left: 50%; top: 53%; width: min(73vw, 1050px); height: min(49vw, 590px);
  transform: translate(-50%, -50%) perspective(950px) rotateX(64deg); border: 1px solid rgba(215,194,146,.22); border-radius: 46%;
  background: radial-gradient(ellipse at center, rgba(13,69,56,.92) 0%, rgba(8,43,36,.96) 58%, rgba(5,23,20,.99) 100%);
  box-shadow: 0 34px 90px rgba(0,0,0,.62), inset 0 0 90px rgba(255,255,255,.024); filter: saturate(.84);
}
.screen--landing::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 42%, rgba(0,0,0,.08) 66%, rgba(0,0,0,.34) 100%); }
.ambient { position: absolute; border-radius: 50%; filter: blur(78px); opacity: .22; }
.ambient--one { width: 34vw; height: 34vw; left: -10vw; top: -12vw; background: #6a5635; }
.ambient--two { width: 29vw; height: 29vw; right: -7vw; bottom: -13vw; background: #143b32; }
.landing-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 72%, rgba(0,0,0,.42) 100%); pointer-events: none; }
.topbar { position: relative; z-index: 3; height: 13vh; min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: calc(14px + var(--safe-top)) calc(28px + var(--safe-right)) 0 calc(28px + var(--safe-left)); text-shadow:0 2px 12px rgba(0,0,0,.55); }
.topbar__mark { font-size: clamp(1rem, 2.15vw, 1.55rem); font-weight: 700; letter-spacing: .12em; }
.topbar__meta { display: flex; align-items: center; gap: .8rem; color: rgba(242,232,210,.82); font-size: clamp(.55rem, .85vw, .72rem); letter-spacing: .18em; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.hero { position: relative; z-index: 4; height: 72vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 0 5vw calc(30px + var(--safe-bottom)); pointer-events: none; }
.hero__actions { pointer-events: auto; display:flex; flex-direction:column; align-items:center; gap:.75rem; padding:.9rem 1rem; border:1px solid rgba(234,215,172,.26); border-radius:1.15rem; background:rgba(9,10,12,.42); box-shadow:0 18px 40px rgba(0,0,0,.28); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.eyebrow { margin: 0 0 .65rem; font-size: clamp(.56rem, .95vw, .75rem); letter-spacing: .34em; color: var(--gold-2); }
.brand { margin: 0; font-size: clamp(3.6rem, 10.8vw, 9.4rem); line-height: .88; letter-spacing: .035em; font-weight: 640; text-shadow: 0 14px 45px rgba(0,0,0,.55); }
.brand-jp { margin: .85rem 0 0; color: var(--muted); font-size: clamp(.68rem, 1.1vw, .9rem); letter-spacing: .38em; }
.tagline { margin: 1.45rem 0 0; font-size: clamp(1rem, 2vw, 1.55rem); letter-spacing: .28em; font-weight: 500; }
.subcopy { margin: .65rem 0 0; color: var(--muted); font-size: clamp(.65rem, 1.05vw, .82rem); letter-spacing: .09em; }
.enter-button, .take-seat, .secondary-button { cursor: pointer; }
.enter-button { margin-top: .1rem; min-width: 240px; border: 1px solid rgba(250,227,171,.6); border-radius: 999px; padding: .92rem 1.05rem .92rem 1.4rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 2.8rem; background: rgba(8,10,12,.84); color: var(--text); letter-spacing: .18em; font-size: clamp(.66rem, 1vw, .82rem); box-shadow: 0 14px 40px rgba(0,0,0,.36), inset 0 0 0 1px rgba(255,255,255,.04); backdrop-filter: blur(10px); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.enter-button:hover { transform: translateY(-1px); background: rgba(24,27,30,.9); border-color: rgba(234,215,172,.78); }
.enter-button:active { transform: translateY(1px) scale(.995); }
.enter-button__arrow { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #14110b; font-size: 1rem; }
.hero__actions .subcopy { margin:0; color:rgba(247,238,220,.84); font-size:clamp(.52rem,.8vw,.68rem); letter-spacing:.1em; text-shadow:0 1px 10px rgba(0,0,0,.45); }
.landing-footer { position: relative; z-index: 3; height: 13vh; display: flex; justify-content: center; align-items: end; gap: 1rem; padding-bottom: calc(14px + var(--safe-bottom)); color: rgba(240,229,203,.68); text-shadow:0 1px 8px rgba(0,0,0,.55); font-size: clamp(.48rem, .72vw, .62rem); letter-spacing: .13em; }
.footer-rule { width: 48px; height: 1px; background: rgba(255,255,255,.14); }

/* CASINO FLOOR */
.screen--floor {
  overflow: hidden; padding: calc(14px + var(--safe-top)) calc(22px + var(--safe-right)) calc(12px + var(--safe-bottom)) calc(22px + var(--safe-left));
  background:
    linear-gradient(120deg, rgba(255,255,255,.014) 1px, transparent 1px) 0 0/44px 44px,
    radial-gradient(circle at 50% 48%, rgba(10,70,55,.30), transparent 35%),
    linear-gradient(135deg, #07090c, #0d1217 58%, #07090c);
}
.screen--floor::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.48), transparent 12%, transparent 88%, rgba(0,0,0,.48)); }
.floor-light { position: absolute; width: 25vw; height: 25vw; border-radius: 50%; filter: blur(90px); opacity: .11; }
.floor-light--left { left: -7vw; bottom: -11vw; background: var(--wine); }
.floor-light--right { right: -5vw; top: -12vw; background: var(--gold); }
.floor-header { position: relative; z-index: 5; height: 13%; min-height: 58px; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; }
.round-button { width: 2.65rem; height: 2.65rem; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.024); color: var(--text); cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.round-button:hover { background: rgba(255,255,255,.06); border-color: rgba(234,215,172,.32); transform: translateX(-1px); }
.floor-kicker { margin: 0 0 .24rem; color: var(--gold); font-size: clamp(.5rem, .70vw, .64rem); letter-spacing: .28em; }
.floor-title-wrap h2 { margin: 0; font-size: clamp(1.05rem, 2vw, 1.8rem); font-weight: 540; letter-spacing: .01em; }
.floor-status { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: clamp(.5rem, .70vw, .63rem); letter-spacing: .17em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5fbc94; box-shadow: 0 0 12px rgba(95,188,148,.55); }
.floor-stage { position: relative; z-index: 2; height: 76%; display: grid; grid-template-columns: minmax(75px,.32fr) minmax(0,1.65fr) minmax(180px,.62fr) minmax(82px,.35fr); gap: .9rem; align-items: stretch; }
.host { position: relative; overflow: visible; min-width: 0; display: flex; align-items: end; justify-content: center; pointer-events: none; }
.host img { display: block; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0,0,0,.42)); }
.host--ocean img { width: min(9.5vw, 122px); max-height: 73%; margin-bottom: 2%; opacity: .92; }
.host--casinon img { width: min(12.8vw, 168px); max-height: 88%; margin-bottom: -3%; opacity: .96; }
.host__label { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); width: max-content; min-width: 86px; padding: .45rem .55rem; border: 1px solid rgba(255,255,255,.08); border-radius: .65rem; background: rgba(7,9,12,.76); backdrop-filter: blur(10px); box-shadow: 0 10px 28px rgba(0,0,0,.28); text-align: center; }
.host__label small { display: block; color: var(--muted-2); font-size: clamp(.38rem,.50vw,.46rem); letter-spacing: .14em; }
.host__label strong { display: block; margin-top: .15rem; color: #d6d0c6; font-size: clamp(.56rem,.76vw,.68rem); letter-spacing: .11em; font-weight: 560; }
.host__label--right { bottom: 0; }
.table-hero { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--line); border-radius: 1.5rem; background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.014)); box-shadow: 0 25px 90px rgba(0,0,0,.30); overflow: hidden; position: relative; }
.table-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(116deg, transparent 0 66%, rgba(255,255,255,.018) 66% 100%); }
.table-hero__eyebrow { position: relative; z-index: 2; display: flex; gap: .85rem; padding: .8rem 1rem .2rem; color: var(--muted-2); font-size: clamp(.42rem,.58vw,.52rem); letter-spacing: .16em; }
.table-hero__eyebrow span:first-child { color: var(--gold); }
.holdem-stage { position: relative; min-height: 0; border: 0; background: transparent; padding: 0; cursor: pointer; overflow: hidden; }
.holdem-stage::before { content: ""; position: absolute; left: 50%; top: 49%; width: 66%; height: 58%; transform: translate(-50%,-50%); border-radius: 50%; background: rgba(199,170,112,.08); filter: blur(45px); transition: opacity .3s ease, transform .4s ease; }
.holdem-stage:hover::before { opacity: 1.35; transform: translate(-50%,-50%) scale(1.05); }
.spotlight { position: absolute; left: 50%; top: -32%; width: 70%; height: 86%; transform: translateX(-50%); background: linear-gradient(180deg, rgba(234,215,172,.09), rgba(234,215,172,0)); clip-path: polygon(38% 0,62% 0,100% 100%,0 100%); filter: blur(10px); opacity: .7; }
.poker-table { position: absolute; left: 50%; top: 49%; width: min(78%, 780px); aspect-ratio: 2.06 / 1; transform: translate(-50%,-50%) perspective(900px) rotateX(12deg); border-radius: 50%; border: 8px solid #201a16; background: radial-gradient(ellipse at center, #0f5847 0%, #0b4237 54%, #072a24 100%); box-shadow: 0 32px 55px rgba(0,0,0,.50), 0 0 0 2px rgba(199,170,112,.30), inset 0 0 70px rgba(0,0,0,.42); transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.holdem-stage:hover .poker-table { transform: translate(-50%,-50%) perspective(900px) rotateX(10deg) scale(1.018); filter: brightness(1.04); }
.felt-ring { position: absolute; inset: 9%; border: 1px solid rgba(232,216,179,.17); border-radius: 50%; }
.seat { position: absolute; width: 11.5%; aspect-ratio: 1.6; border-radius: 999px; background: rgba(11,14,18,.95); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 8px 20px rgba(0,0,0,.42); display: grid; place-items: center; }
.seat i { width: 21%; aspect-ratio: 1; border-radius: 50%; background: #393d43; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.seat b { position: absolute; bottom: -1.5em; color: #7f7d77; font-size: clamp(.35rem,.52vw,.48rem); letter-spacing: .08em; font-weight: 560; }
.seat--1 { left: 8%; top: 25%; }.seat--2 { left: 36%; top: 3%; }.seat--3 { right: 8%; top: 25%; }.seat--4 { right: 10%; bottom: 17%; }.seat--5 { left: 10%; bottom: 17%; }.seat--6 { left: 50%; bottom: -1%; transform: translateX(-50%); }
.seat--you { width: 14%; border-color: rgba(234,215,172,.46); background: #16191d; box-shadow: 0 7px 24px rgba(0,0,0,.48), 0 0 24px rgba(199,170,112,.12); }
.seat--you b { color: var(--gold-2); }
.board-cards { position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%); display: flex; gap: 5px; }
.board-cards i { display: block; width: clamp(17px,2.6vw,38px); aspect-ratio: .70; border-radius: 4px; background: linear-gradient(145deg,#efe9de,#d8d0c2); box-shadow: 0 5px 14px rgba(0,0,0,.30); opacity: .9; }
.pot-label { position: absolute; left: 50%; top: 72%; transform: translateX(-50%); color: rgba(232,216,179,.53); font-size: clamp(.34rem,.48vw,.44rem); letter-spacing: .19em; }
.dealer-button { position: absolute; right: 32%; bottom: 20%; width: clamp(18px,2.2vw,30px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #e6e0d7; color: #28231d; font-weight: 700; font-size: clamp(.4rem,.56vw,.52rem); box-shadow: 0 5px 12px rgba(0,0,0,.25); }
.table-hero__content { position: relative; z-index: 3; display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: .15rem 1.15rem 1.05rem; }
.game-number { margin: 0 0 .28rem; color: var(--gold); font-size: clamp(.43rem,.58vw,.52rem); letter-spacing: .24em; }
.table-hero__content h3 { margin: 0; font-size: clamp(1.3rem,2.55vw,2.45rem); line-height: .95; font-weight: 540; letter-spacing: -.02em; }
.game-meta { margin: .35rem 0 0; color: var(--muted); font-size: clamp(.46rem,.66vw,.58rem); letter-spacing: .13em; }
.take-seat { min-width: 145px; padding: .65rem .7rem .65rem 1rem; border-radius: 999px; border: 1px solid rgba(234,215,172,.42); background: rgba(10,13,16,.78); display: inline-flex; justify-content: space-between; align-items: center; gap: 1.4rem; letter-spacing: .16em; font-size: clamp(.54rem,.74vw,.66rem); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.take-seat i { width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #17120d; font-style: normal; }
.take-seat:hover { transform: translateY(-1px); border-color: rgba(234,215,172,.72); background: rgba(20,24,28,.93); }
.floor-rail { min-width: 0; display: grid; grid-template-rows: auto repeat(3,1fr) auto; gap: .55rem; }
.rail-heading { display: flex; justify-content: space-between; align-items: end; padding: .1rem .15rem .3rem; }
.rail-heading span { color: var(--muted); font-size: clamp(.48rem,.66vw,.59rem); letter-spacing: .16em; }
.rail-heading small { color: var(--muted-2); font-size: clamp(.34rem,.46vw,.42rem); letter-spacing: .12em; }
.rail-card { border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.018); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding: .7rem .8rem; min-height: 0; }
.rail-card__index { color: var(--gold); font-size: clamp(.45rem,.6vw,.54rem); letter-spacing: .12em; }
.rail-card strong { display: block; color: #c9c4bb; font-size: clamp(.72rem,1vw,.92rem); font-weight: 520; letter-spacing: .03em; }
.rail-card small { display: block; margin-top: .18rem; color: #64625d; font-size: clamp(.35rem,.48vw,.44rem); letter-spacing: .13em; }
.rail-lock { color: #5a5955; }
.floor-signature { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .35rem 0 0; color: #565550; font-size: clamp(.36rem,.48vw,.44rem); letter-spacing: .2em; }
.floor-signature i { width: 28px; height: 1px; background: rgba(255,255,255,.08); }
.floor-footer { position: relative; z-index: 4; height: 11%; display: flex; align-items: end; justify-content: space-between; padding-top: .8rem; color: #62605b; font-size: clamp(.42rem,.58vw,.52rem); letter-spacing: .13em; }

/* TABLE PREVIEW */
.screen--table { padding: calc(14px + var(--safe-top)) calc(22px + var(--safe-right)) calc(12px + var(--safe-bottom)) calc(22px + var(--safe-left));
  background: radial-gradient(circle at 45% 52%, rgba(11,71,57,.33), transparent 36%), linear-gradient(145deg,#07090c,#0d1216 56%,#06080a);
}
.screen--table::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.32), transparent 17%, transparent 83%, rgba(0,0,0,.32)); pointer-events: none; }
.table-room-glow { position: absolute; left: 17%; top: -22%; width: 58%; height: 72%; background: linear-gradient(180deg, rgba(234,215,172,.08), rgba(234,215,172,0)); clip-path: polygon(38% 0,62% 0,100% 100%,0 100%); filter: blur(18px); pointer-events: none; }
.table-header { position: relative; z-index: 3; height: 13%; min-height: 58px; display: grid; gap: 1rem; align-items: center; }
.table-header p { margin: 0 0 .2rem; color: var(--gold); font-size: clamp(.48rem,.66vw,.58rem); letter-spacing: .22em; }
.table-header h2 { margin: 0; font-size: clamp(1.05rem,2vw,1.8rem); font-weight: 540; }
.table-header__meta { display: flex; gap: .45rem; }
.table-header__meta > span { border: 1px solid var(--line); border-radius: 999px; padding: .38rem .55rem; color: var(--muted); font-size: clamp(.4rem,.55vw,.49rem); letter-spacing: .12em; }
.table-room { position: relative; z-index: 2; height: 76%; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(240px,.62fr); gap: 1.1rem; }
.full-table { position: relative; align-self: center; justify-self: center; width: min(92%, 930px); aspect-ratio: 2.02/1; border-radius: 50%; border: 11px solid #211b17; background: radial-gradient(ellipse at center,#0e5746 0%,#0a4136 56%,#062a23 100%); box-shadow: 0 38px 80px rgba(0,0,0,.56), 0 0 0 2px rgba(199,170,112,.27), inset 0 0 100px rgba(0,0,0,.45); transform: perspective(1000px) rotateX(10deg); }
.full-table__inner { position: absolute; inset: 8%; border: 1px solid rgba(232,216,179,.16); border-radius: 50%; }
.full-seat { position: absolute; width: 14%; min-width: 72px; padding: .42rem .35rem; border-radius: .78rem; background: rgba(9,12,15,.96); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 24px rgba(0,0,0,.42); text-align: center; transform: rotateX(-10deg); }
.full-seat strong { display: block; margin-top: .2rem; color: #c7c1b7; font-size: clamp(.46rem,.72vw,.68rem); letter-spacing: .06em; font-weight: 560; }
.full-seat small { display: block; margin-top: .08rem; color: #77736b; font-size: clamp(.4rem,.58vw,.52rem); letter-spacing: .08em; }
.avatar-placeholder { width: clamp(20px,2.4vw,32px); aspect-ratio: 1; border-radius: 50%; display: block; margin: 0 auto; background: radial-gradient(circle at 40% 35%,#545960,#2c3035 65%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.fs1 { left: 6%; top: 24%; }.fs2 { left: 36%; top: -3%; }.fs3 { right: 6%; top: 24%; }.fs4 { right: 8%; bottom: 12%; }.fs5 { left: 8%; bottom: 12%; }.fs6 { left: 50%; bottom: -9%; transform: translateX(-50%) rotateX(-10deg); }
.full-seat--you { border-color: rgba(234,215,172,.48); box-shadow: 0 10px 28px rgba(0,0,0,.46),0 0 26px rgba(199,170,112,.10); }
.you-ring { width: clamp(26px,3vw,38px); aspect-ratio: 1; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; border: 1px solid rgba(234,215,172,.50); color: var(--gold-2); font-size: clamp(.34rem,.46vw,.42rem); letter-spacing: .07em; }
.full-board { position: absolute; left: 50%; top: 47%; transform: translate(-50%,-50%) rotateX(-10deg); display: flex; gap: 7px; }
.full-board i { width: clamp(25px,3.4vw,46px); aspect-ratio: .70; border-radius: 5px; background: linear-gradient(145deg,#f1ece4,#d9d2c6); box-shadow: 0 6px 15px rgba(0,0,0,.31); opacity: .92; }
.full-pot { position: absolute; left: 50%; top: 70%; transform: translateX(-50%) rotateX(-10deg); text-align: center; }
.full-pot span { display: block; color: rgba(232,216,179,.48); font-size: clamp(.38rem,.5vw,.45rem); letter-spacing: .17em; }
.full-pot strong { display: block; margin-top: .1rem; color: #c8c0b2; font-size: clamp(.6rem,.9vw,.82rem); font-weight: 520; }
.full-dealer { position: absolute; right: 31%; bottom: 17%; width: clamp(23px,2.5vw,34px); aspect-ratio: 1; border-radius: 50%; background: #e7e1d8; color: #29241e; display: grid; place-items: center; font-weight: 700; font-size: clamp(.45rem,.58vw,.54rem); box-shadow: 0 6px 14px rgba(0,0,0,.28); transform: rotateX(-10deg); }
.preview-panel { align-self: center; border: 1px solid var(--line); border-radius: 1.2rem; background: rgba(11,14,18,.72); backdrop-filter: blur(12px); padding: 1.15rem 1.1rem; box-shadow: 0 20px 60px rgba(0,0,0,.26); }
.preview-kicker { margin: 0 0 .5rem; color: var(--gold); font-size: clamp(.42rem,.58vw,.52rem); letter-spacing: .2em; }
.preview-panel h3 { margin: 0; font-size: clamp(1.05rem,1.8vw,1.55rem); font-weight: 540; }
.preview-panel > p:not(.preview-kicker) { margin: .65rem 0 0; color: var(--muted); font-size: clamp(.52rem,.75vw,.68rem); line-height: 1.75; }
.preview-specs { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: .8rem; }
.preview-specs span { border: 1px solid var(--line); border-radius: 999px; padding: .32rem .46rem; color: #7f7a71; font-size: clamp(.34rem,.46vw,.42rem); letter-spacing: .08em; }
.secondary-button { width: 100%; margin-top: .9rem; border: 1px solid rgba(234,215,172,.34); border-radius: .72rem; background: rgba(255,255,255,.025); padding: .62rem .75rem; color: #d8d1c5; letter-spacing: .13em; font-size: clamp(.48rem,.65vw,.58rem); transition: background .2s ease,border-color .2s ease; }
.secondary-button:hover { background: rgba(255,255,255,.06); border-color: rgba(234,215,172,.58); }
.table-footer { position: relative; z-index: 3; height: 11%; display: flex; align-items: end; justify-content: space-between; color: #62605b; font-size: clamp(.42rem,.58vw,.52rem); letter-spacing: .13em; }

@media (orientation: portrait) { .portrait-gate { display: grid; } .app { visibility: hidden; } }
@media (orientation: landscape) { .portrait-gate { display: none; } .app { visibility: visible; } }

@media (max-width: 900px) and (orientation: landscape) {
  .floor-stage { grid-template-columns: 70px minmax(0,1.6fr) minmax(150px,.58fr) 78px; gap: .55rem; }
  .host__label { min-width: 72px; padding: .35rem .38rem; }
  .table-hero__eyebrow { padding-top: .55rem; }
  .take-seat { min-width: 128px; }
  .preview-panel { padding: .85rem .8rem; }
}

@media (max-height: 430px) and (orientation: landscape) {
  .topbar { height: 11vh; }
  .hero { height: 76vh; }
  .landing-footer { height: 13vh; padding-bottom: calc(10px + var(--safe-bottom)); }
  .brand { font-size: clamp(3rem,9.3vw,6.8rem); }
  .brand-jp { margin-top: .55rem; }
  .tagline { margin-top: .7rem; }
  .subcopy { display: none; }
  .enter-button { margin-top: .8rem; padding-top: .62rem; padding-bottom: .62rem; }
  .floor-header,.table-header { height: 12%; min-height: 46px; }
  .floor-stage,.table-room { height: 79%; }
  .floor-footer,.table-footer { height: 9%; }
  .host__label { bottom: -1%; }
  .table-hero__content { padding-bottom: .65rem; }
  .table-hero__content h3 { font-size: clamp(1.2rem,2.25vw,1.8rem); }
  .rail-card { padding: .45rem .6rem; }
  .preview-panel > p:not(.preview-kicker) { line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================
   CASINOIR v0.1.0 — LIVE TEXAS HOLD'EM TABLE
   ========================================================= */
.live-game { z-index: 2; height: 76%;
  display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(250px, .58fr); gap: 1rem;
}
.live-table-wrap { min-width: 0; min-height: 0; }
.live-table {
  position: relative; width: min(91%, 980px); aspect-ratio: 2.04 / 1;
  border-radius: 50%; border: clamp(7px, .85vw, 12px) solid #211a16;
  background:
    radial-gradient(ellipse at 50% 47%, rgba(255,255,255,.03), transparent 32%),
    radial-gradient(ellipse at center, #0d5947 0%, #0a4338 52%, #062b24 100%);
  box-shadow: 0 36px 78px rgba(0,0,0,.60), 0 0 0 2px rgba(199,170,112,.23), inset 0 0 105px rgba(0,0,0,.48);
  transform: perspective(1100px) rotateX(9deg);
}
.live-table__inner { position: absolute; inset: 7.5%; border: 1px solid rgba(232,216,179,.16); border-radius: 50%; pointer-events: none; }
.live-table__inner::after { content:""; position:absolute; inset:4.2%; border:1px solid rgba(255,255,255,.04); border-radius:50%; }
.live-table__brand {
  position: absolute; left: 50%; top: 19%; transform: translateX(-50%) rotateX(-9deg);
  color: rgba(232,216,179,.23); font-size: clamp(.66rem,1.05vw,.96rem); letter-spacing:.22em; font-weight:650; text-align:center;
}
.live-table__brand span { color: rgba(199,170,112,.42); }
.live-table__brand small { display:block; margin-top:.18rem; font-size:clamp(.31rem,.42vw,.38rem); letter-spacing:.18em; font-weight:500; color:rgba(232,216,179,.15); }

.live-seat {
  position: absolute; width: 15.6%; min-width: 82px; min-height: 66px;
  border: 1px solid rgba(255,255,255,.12); border-radius: .82rem;
  background: linear-gradient(180deg, rgba(11,14,18,.97), rgba(6,8,10,.97));
  box-shadow: 0 12px 28px rgba(0,0,0,.46);
  padding: .38rem .42rem .40rem; text-align: center; transform: rotateX(-9deg);
  transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}
.live-seat.is-current { border-color: rgba(234,215,172,.78); box-shadow: 0 12px 30px rgba(0,0,0,.50), 0 0 22px rgba(199,170,112,.25); }
.live-seat.is-folded { opacity: .43; filter: saturate(.45); }
.live-seat.is-allin { border-color: rgba(139,23,48,.72); box-shadow: 0 12px 28px rgba(0,0,0,.48), 0 0 20px rgba(139,23,48,.22); }
.live-seat.is-winner { border-color: rgba(95,188,148,.86); box-shadow: 0 12px 30px rgba(0,0,0,.50), 0 0 28px rgba(95,188,148,.28); }
.live-seat--you { border-color: rgba(234,215,172,.50); background: linear-gradient(180deg, rgba(18,18,18,.98), rgba(8,9,10,.98)); }
.ls1 { left: 3.5%; top: 24%; }
.ls2 { left: 32.8%; top: -5.5%; }
.ls3 { right: 3.5%; top: 24%; }
.ls4 { right: 7%; bottom: 7%; }
.ls5 { left: 7%; bottom: 7%; }
.ls6 { bottom: -12%; transform: translateX(-50%) rotateX(-9deg); width: 18%; }
.ls6.is-current { transform: translateX(-50%) rotateX(-9deg) translateY(-2px); }

.position-marker {
  position: absolute; left: 50%; top: -.75rem; transform: translateX(-50%); white-space: nowrap;
  color: var(--gold-2); font-size: clamp(.31rem,.43vw,.40rem); letter-spacing:.13em; font-weight:700;
}
.seat-hole { height: clamp(24px, 3vw, 42px); display: flex; justify-content:center; align-items:flex-end; gap: 3px; margin-top: .04rem; }
.seat-meta { margin-top: .15rem; line-height: 1.05; }
.seat-meta strong { display:block; color:#dad4ca; font-size:clamp(.43rem,.67vw,.62rem); letter-spacing:.06em; font-weight:620; }
.seat-meta small { display:block; margin-top:.15rem; color:#8f897e; font-size:clamp(.39rem,.56vw,.50rem); letter-spacing:.08em; }
.seat-action {
  position:absolute; left:50%; bottom:-.82rem; transform:translateX(-50%); min-width:72%; white-space:nowrap;
  padding:.18rem .34rem; background:rgba(4,6,8,.88); border:1px solid rgba(255,255,255,.08);
  color:#918a7f; font-size:clamp(.28rem,.39vw,.36rem); letter-spacing:.07em;
}
.live-seat.is-current .seat-action { color:var(--gold-2); border-color:rgba(234,215,172,.22); }
.live-seat.is-winner .seat-action { color:#8fd7b8; border-color:rgba(95,188,148,.28); }

.playing-card {
  position: relative; display:inline-flex; flex-direction:column; justify-content:space-between; align-items:flex-start;
  width: clamp(20px, 2.65vw, 38px); aspect-ratio: .70; padding: clamp(2px,.23vw,4px);
  border-radius: clamp(3px,.33vw,5px); background: linear-gradient(150deg,#faf7f1,#ded8cf 78%);
  color:#181818; box-shadow:0 5px 12px rgba(0,0,0,.35); overflow:hidden; font-family: Georgia, 'Times New Roman', serif;
}
.playing-card b { font-size:clamp(.46rem,.78vw,.72rem); line-height:1; }
.playing-card i { align-self:flex-end; font-size:clamp(.58rem,.92vw,.85rem); line-height:1; font-style:normal; }
.playing-card--red { color:#9c1830; }
.playing-card.playing-card--back {
  background:
    linear-gradient(45deg, rgba(234,215,172,.09) 25%, transparent 25%) 0 0/6px 6px,
    linear-gradient(-45deg, rgba(234,215,172,.07) 25%, transparent 25%) 0 0/6px 6px,
    linear-gradient(145deg,#33121c,#160b10 72%);
  border:1px solid rgba(234,215,172,.34); box-shadow:inset 0 0 0 2px rgba(255,255,255,.025),0 5px 12px rgba(0,0,0,.34);
}
.playing-card--back i { position:absolute; inset:20%; border:1px solid rgba(234,215,172,.22); border-radius:2px; }
.seat-hole .playing-card { width: clamp(17px, 2.08vw, 31px); margin-left:-1px; }
.seat-hole .playing-card + .playing-card { margin-left:-5px; transform:rotate(3deg); }

.live-board {
  position:absolute; top:49%; transform:translate(-50%,-50%) rotateX(-9deg);
  display:flex; gap:clamp(4px,.48vw,8px); min-height:52px; align-items:center;
}
.live-board .playing-card { width:clamp(29px,3.8vw,55px); box-shadow:0 8px 18px rgba(0,0,0,.38); }
.live-board .playing-card--back { opacity:.16; filter:saturate(.3); }
.live-pot {
  position:absolute; top:71%; transform:translateX(-50%) rotateX(-9deg); text-align:center;
  min-width:76px; padding:.25rem .45rem; border-radius:.6rem; background:rgba(2,9,8,.22);
}
.live-pot span { display:block; color:rgba(232,216,179,.45); font-size:clamp(.34rem,.46vw,.42rem); letter-spacing:.18em; }
.live-pot strong { display:block; margin-top:.08rem; color:#ddd4c5; font-size:clamp(.7rem,1.1vw,1rem); font-weight:600; letter-spacing:.04em; }
.live-dealer {
  position:absolute; width:clamp(22px,2.5vw,35px); aspect-ratio:1; border-radius:50%; display:grid; place-items:center;
  background:#e7e0d5; color:#29231d; border:2px solid rgba(92,75,47,.36); box-shadow:0 6px 16px rgba(0,0,0,.38);
  font-size:clamp(.43rem,.58vw,.54rem); font-weight:800; transform:translate(-50%,-50%) rotateX(-9deg); z-index:5;
  transition:left .28s ease, top .28s ease;
}

.game-console {
  min-width: 0; min-height: 0; display:grid; grid-template-rows:auto auto auto auto minmax(0,1fr); gap:.52rem;
  align-self:stretch; padding:.05rem 0;
}
.console-status, .hand-result, .action-dock, .action-history {
  border:1px solid var(--line); background:rgba(9,12,15,.76); backdrop-filter:blur(11px); border-radius:.9rem;
}
.console-status { padding:.62rem .72rem; display:grid; gap:.8rem; align-items:center; }
.console-status div small { display:block; color:#69655e; font-size:clamp(.31rem,.42vw,.38rem); letter-spacing:.16em; }
.console-status div strong { display:block; margin-top:.12rem; color:var(--gold-2); font-size:clamp(.56rem,.8vw,.72rem); letter-spacing:.08em; font-weight:650; }
.console-status p { margin:0; color:#a69f93; font-size:clamp(.44rem,.63vw,.57rem); line-height:1.45; }
.hand-result { padding:.56rem .66rem; border-color:rgba(95,188,148,.26); background:linear-gradient(145deg,rgba(19,53,43,.40),rgba(9,12,15,.82)); }
.hand-result p { margin:0 0 .32rem; color:#82c8aa; font-size:clamp(.32rem,.43vw,.40rem); letter-spacing:.17em; }
.result-winner { grid-template-columns:1fr auto; gap:.1rem .5rem; }
.result-winner strong { color:#e9e2d7; font-size:clamp(.55rem,.8vw,.72rem); }
.result-winner b { color:#8fd7b8; font-size:clamp(.55rem,.8vw,.72rem); }
.result-winner small { grid-column:1/-1; color:#817c73; font-size:clamp(.33rem,.44vw,.40rem); letter-spacing:.05em; }
.deal-controls { display:grid; }
.primary-game-button {
  width:100%; border:1px solid rgba(234,215,172,.48); border-radius:.75rem; background:linear-gradient(180deg,rgba(44,35,23,.72),rgba(18,15,12,.88));
  color:#eee5d6; padding:.58rem .7rem; letter-spacing:.15em; font-size:clamp(.48rem,.67vw,.60rem); cursor:pointer;
  box-shadow:0 10px 26px rgba(0,0,0,.24); transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.primary-game-button:hover { transform:translateY(-1px); border-color:rgba(234,215,172,.74); background:linear-gradient(180deg,rgba(55,42,27,.82),rgba(21,17,13,.94)); }
.action-dock { padding:.52rem; opacity:.68; transition:opacity .18s ease,border-color .18s ease,box-shadow .18s ease; }
.action-dock.is-live { border-color:rgba(234,215,172,.26); box-shadow:0 0 22px rgba(199,170,112,.07); }
.raise-presets { display:grid; grid-template-columns:repeat(3,1fr); gap:.32rem; margin-bottom:.4rem; }
.raise-presets button {
  border:1px solid rgba(255,255,255,.08); border-radius:.48rem; background:rgba(255,255,255,.018); color:#78736b;
  padding:.31rem .24rem; font-size:clamp(.31rem,.43vw,.39rem); letter-spacing:.06em; cursor:pointer;
}
.raise-presets button.is-selected { color:var(--gold-2); border-color:rgba(234,215,172,.36); background:rgba(199,170,112,.06); }
.raise-presets button:disabled { opacity:.35; cursor:default; }
.action-buttons { display:grid; grid-template-columns:repeat(2,1fr); gap:.34rem; }
.action-button {
  min-height:35px; border:1px solid rgba(255,255,255,.11); border-radius:.56rem; background:rgba(255,255,255,.026); color:#ddd6cb;
  padding:.45rem .35rem; font-size:clamp(.39rem,.57vw,.51rem); letter-spacing:.055em; cursor:pointer; transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.action-button:not(:disabled):hover { background:rgba(255,255,255,.06); border-color:rgba(234,215,172,.31); }
.action-button--fold { color:#ad8e92; }
.action-button--raise { border-color:rgba(199,170,112,.24); color:#ead7ac; }
.action-button--allin { border-color:rgba(139,23,48,.38); color:#d79aa8; background:rgba(139,23,48,.08); }
.action-button:disabled { opacity:.34; cursor:default; }
.action-history { min-height:0; padding:.48rem .6rem; overflow:hidden; }
.action-history__head { display:flex; justify-content:space-between; align-items:center; margin-bottom:.34rem; }
.action-history__head span { color:#7f796f; font-size:clamp(.32rem,.44vw,.40rem); letter-spacing:.16em; }
.action-history__head small { color:#5fbc94; font-size:clamp(.28rem,.36vw,.34rem); letter-spacing:.12em; }
.action-history ol { margin:0; padding:0; list-style:none; height:100%; overflow:hidden; display:flex; flex-direction:column; gap:.21rem; }
.action-history li { color:#756f66; font-size:clamp(.34rem,.49vw,.44rem); line-height:1.32; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.action-history li.log-gold { color:#bba67f; }
.action-history li.log-win { color:#79bfa1; }
.action-history li.log-muted { color:#5d5953; }

@media (max-width: 980px) and (orientation: landscape) {
  .live-game { grid-template-columns:minmax(0,1.72fr) minmax(210px,.62fr); gap:.65rem; }
  .live-table { width:94%; }
  .live-seat { min-width:70px; padding:.28rem .3rem; }
  .game-console { gap:.34rem; }
  .console-status,.action-dock,.action-history { border-radius:.68rem; }
  .console-status { padding:.42rem .5rem; }
  .primary-game-button { padding:.44rem .55rem; }
  .action-dock { padding:.38rem; }
  .action-history { padding:.36rem .46rem; }
}

@media (max-height: 440px) and (orientation: landscape) {
  .live-game { height:79%; grid-template-columns:minmax(0,1.78fr) minmax(205px,.58fr); gap:.55rem; }
  .live-table { width:91%; }
  .live-seat { min-height:52px; border-radius:.58rem; padding:.22rem .28rem; }
  .seat-hole { height:25px; }
  .seat-meta { margin-top:.08rem; }
  .seat-action { bottom:-.62rem; }
  .console-status { padding:.32rem .42rem; }
  .hand-result { padding:.32rem .42rem; }
  .action-dock { padding:.32rem; }
  .raise-presets { margin-bottom:.28rem; gap:.22rem; }
  .raise-presets button { padding:.22rem .15rem; }
  .action-buttons { gap:.24rem; }
  .action-button { min-height:28px; padding:.27rem .22rem; }
  .action-history { padding:.28rem .38rem; }
  .action-history__head { margin-bottom:.22rem; }
  .action-history ol { gap:.12rem; }
}

/* =========================================================
   CASINOIR v0.2.0 — TABLE EXPERIENCE / TACTILE LAYER
   ========================================================= */
.playing-card.playing-card--slot {
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(232,216,179,.08);
  box-shadow: inset 0 0 18px rgba(0,0,0,.16);
  opacity: .72;
}

@keyframes casinoirHoleDeal {
  0% { opacity: 0; transform: translate(var(--deal-x, 0), var(--deal-y, -220%)) scale(.72) rotate(-8deg); filter: blur(1px); }
  68% { opacity: 1; transform: translate(0, -4px) scale(1.02) rotate(1deg); filter: blur(0); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
}
@keyframes casinoirBoardDeal {
  0% { opacity: 0; transform: translate(-125%, -120%) scale(.72) rotate(-7deg); }
  72% { opacity: 1; transform: translate(3px, -2px) scale(1.025) rotate(.8deg); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
}
.playing-card.is-hole-deal {
  opacity: 0;
}
.playing-card.is-hole-deal.has-arrived { opacity: 1; }
.live-board .playing-card.is-new-card {
  animation: casinoirBoardDeal .38s cubic-bezier(.18,.8,.28,1) both;
  animation-delay: var(--board-delay, 620ms);
}

.table-bet {
  position: absolute; z-index: 7; min-width: 52px; min-height: 32px;
  display: flex; align-items: center; justify-content: center; gap: .24rem;
  opacity: 0; pointer-events: none; transform: translate(-50%,-50%) rotateX(-9deg) scale(.86);
  transition: opacity .18s ease, transform .22s cubic-bezier(.2,.75,.2,1);
}
.table-bet.is-active { opacity: 1; transform: translate(-50%,-50%) rotateX(-9deg) scale(1); }
.table-bet b {
  padding: .14rem .28rem; border-radius: 999px; background: rgba(2,7,8,.72); border: 1px solid rgba(255,255,255,.07);
  color: #d9d0c1; font-size: clamp(.31rem,.43vw,.40rem); font-weight: 650; letter-spacing: .04em;
  box-shadow: 0 5px 12px rgba(0,0,0,.24);
}
.table-bet.is-changing .chip-stack { animation: casinoirBetPush .28s cubic-bezier(.2,.8,.2,1); }
@keyframes casinoirBetPush {
  0% { transform: translateY(8px) scale(.88); opacity: .3; }
  75% { transform: translateY(-1px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.tb1 { left: 24%; top: 41%; }
.tb2 { left: 42%; top: 29%; }
.tb3 { left: 76%; top: 41%; }
.tb4 { left: 69%; top: 67%; }
.tb5 { left: 31%; top: 67%; }
.tb6 { left: 50%; top: 76%; }

.chip-stack {
  position: relative; display: inline-block; width: clamp(18px,2vw,28px); height: clamp(15px,1.7vw,24px); flex: 0 0 auto;
}
.chip-stack i {
  position: absolute; left: 50%; bottom: calc(var(--chip-index, 0) * 2.2px); transform: translateX(-50%);
  width: clamp(16px,1.75vw,25px); height: clamp(5px,.52vw,7px); border-radius: 50%;
  border: 1px solid rgba(0,0,0,.44); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 3px rgba(0,0,0,.30);
}
.chip-stack i::after {
  content: ""; position: absolute; inset: 1px 3px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.34);
}
.chip-stack--ivory i { background: linear-gradient(180deg,#e8e0cf,#a99e88); }
.chip-stack--burgundy i { background: linear-gradient(180deg,#a32946,#5f1225); }
.chip-stack--slate i { background: linear-gradient(180deg,#67717b,#30363d); }
.chip-stack--gold i { background: linear-gradient(180deg,#c5a361,#6f5428); }
.chip-stack--allin i { box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 0 8px rgba(139,23,48,.34), 0 2px 3px rgba(0,0,0,.32); }

.live-pot {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .34rem; align-items: center;
  transition: transform .18s ease, filter .18s ease;
}
.live-pot .pot-chip-stack { grid-row: 1 / 3; align-self: center; min-width: 20px; }
.live-pot .pot-chip-stack .chip-stack { transform: scale(.9); transform-origin: center; }
.live-pot.is-pulsing { animation: casinoirPotPulse .34s ease; }
@keyframes casinoirPotPulse {
  0% { filter: brightness(1); }
  45% { filter: brightness(1.28); }
  100% { filter: brightness(1); }
}

.street-curtain {
  position: absolute; z-index: 20; left: 50%; top: 49%; transform: translate(-50%,-50%) rotateX(-9deg) scale(.94);
  min-width: 130px; padding: .48rem .85rem; border-radius: .72rem;
  border: 1px solid rgba(234,215,172,.15); background: rgba(4,7,9,.78); backdrop-filter: blur(9px);
  text-align: center; opacity: 0; pointer-events: none; box-shadow: 0 14px 34px rgba(0,0,0,.30);
}
.street-curtain strong { display: block; color: #eee5d7; font-size: clamp(.62rem,.94vw,.86rem); letter-spacing: .22em; font-weight: 620; }
.street-curtain small { display: block; margin-top: .16rem; color: #8c8477; font-size: clamp(.27rem,.38vw,.35rem); letter-spacing: .16em; }
.street-curtain.is-showing { animation: casinoirStreetMoment .9s ease both; }
@keyframes casinoirStreetMoment {
  0% { opacity: 0; transform: translate(-50%,-47%) rotateX(-9deg) scale(.92); }
  18%, 72% { opacity: 1; transform: translate(-50%,-50%) rotateX(-9deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%,-53%) rotateX(-9deg) scale(.985); }
}

.decision-strip {
  display: grid; gap: .28rem; margin-bottom: .38rem;
}
.decision-strip span {
  min-width: 0; padding: .30rem .28rem .28rem; border-radius: .46rem; background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.055); text-align: center;
}
.decision-strip small { display: block; color: #625e57; font-size: clamp(.25rem,.34vw,.31rem); letter-spacing: .12em; }
.decision-strip strong { display: block; margin-top: .10rem; color: #aaa295; font-size: clamp(.35rem,.48vw,.44rem); font-weight: 620; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-dock.is-live .decision-strip strong { color: #e0d4bd; }

.live-seat.is-human-turn::after {
  content: ""; position: absolute; inset: -4px; border-radius: .98rem; border: 1px solid rgba(234,215,172,.28); pointer-events: none;
  animation: casinoirHumanTurn 1.55s ease-in-out infinite;
}
@keyframes casinoirHumanTurn {
  0%,100% { opacity: .28; box-shadow: 0 0 0 rgba(199,170,112,0); }
  50% { opacity: .9; box-shadow: 0 0 17px rgba(199,170,112,.14); }
}
.live-seat.is-winner { animation: casinoirWinnerSeat .62s ease both; }
@keyframes casinoirWinnerSeat {
  0% { filter: brightness(1); }
  45% { filter: brightness(1.18); }
  100% { filter: brightness(1); }
}

.hand-result p span { float: right; color: #777168; font-size: .88em; letter-spacing: .10em; }

@media (max-width: 980px) and (orientation: landscape) {
  .decision-strip { gap: .20rem; margin-bottom: .28rem; }
  .decision-strip span { padding: .23rem .18rem; }
  .table-bet { min-width: 42px; gap: .16rem; }
  .table-bet b { padding: .10rem .22rem; }
}

@media (max-height: 440px) and (orientation: landscape) {
  .decision-strip { margin-bottom: .22rem; }
  .decision-strip span { padding: .18rem .12rem; }
  .table-bet { transform: translate(-50%,-50%) rotateX(-9deg) scale(.88); }
  .table-bet.is-active { transform: translate(-50%,-50%) rotateX(-9deg) scale(.94); }
  .street-curtain { padding: .35rem .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .playing-card.is-hole-deal,
  .live-board .playing-card.is-new-card,
  .table-bet.is-changing .chip-stack,
  .live-pot.is-pulsing,
  .street-curtain.is-showing,
  .live-seat.is-human-turn::after,
  .live-seat.is-winner { animation: none !important; }
  .playing-card.is-hole-deal { opacity: 1 !important; }
}


/* =========================================================
   CASINOIR v0.2.1 — COMPACT LANDSCAPE POLISH
   Purpose: keep every gameplay label in its own visual lane.
   ========================================================= */
.table-header__title { min-width: 0; overflow: hidden; }
.table-header__title p,
.table-header__title h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-header__meta { min-width: 0; align-items: center; justify-content: flex-end; flex-wrap: nowrap; }
.table-header__meta > span { white-space: nowrap; }
#liveHandNo { max-width: 9.8rem; overflow: hidden; text-overflow: ellipsis; }

.seat-meta strong,
.seat-meta small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-action { max-width: 94%; overflow: hidden; text-overflow: ellipsis; }
.console-status { min-width: 0; }
.console-status p { min-width: 0; overflow-wrap: anywhere; }
.table-footer span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 980px) and (max-height: 460px) and (orientation: landscape) {
  .screen--table {
    padding: calc(8px + var(--safe-top)) calc(11px + var(--safe-right)) calc(7px + var(--safe-bottom)) calc(11px + var(--safe-left));
  }
  .table-header { height: 12%; min-height: 42px; gap: .48rem; grid-template-columns: auto minmax(0,1fr) auto; }
  .table-header .round-button { width: 2.2rem; height: 2.2rem; }
  .table-header__title p { margin-bottom: .08rem; font-size: clamp(.34rem,.56vw,.46rem); letter-spacing: .14em; }
  .table-header__title h2 { font-size: clamp(.86rem,1.65vw,1.18rem); }
  .table-header__meta { gap: .25rem; }
  .table-header__meta > span { padding: .26rem .38rem; font-size: clamp(.32rem,.48vw,.41rem); letter-spacing: .07em; }
  #liveHandNo { max-width: 6.6rem; }

  .live-game { height: 80%; grid-template-columns: minmax(0,1.78fr) minmax(190px,.58fr); gap: .44rem; }
  .live-table-wrap { padding: 8px 0 18px; }
  .live-table { width: 88%; }
  .live-seat { width: 15.2%; min-width: 64px; min-height: 48px; padding: .20rem .24rem .26rem; border-radius: .56rem; }
  .ls1 { left: 3.8%; top: 24%; }
  .ls2 { left: 33%; top: -1%; }
  .ls3 { right: 3.8%; top: 24%; }
  .ls4 { right: 7%; bottom: 9%; }
  .ls5 { left: 7%; bottom: 9%; }
  .ls6 { bottom: -4%; width: 17.2%; }
  .position-marker { top: -.56rem; font-size: clamp(.27rem,.39vw,.34rem); letter-spacing: .10em; }
  .seat-hole { height: 23px; gap: 2px; }
  .seat-hole .playing-card { width: clamp(15px,1.9vw,24px); }
  .seat-meta { margin-top: .04rem; }
  .seat-meta strong { font-size: clamp(.37rem,.58vw,.50rem); letter-spacing: .04em; }
  .seat-meta small { margin-top: .08rem; font-size: clamp(.34rem,.49vw,.43rem); letter-spacing: .05em; }
  .seat-action { bottom: -.47rem; min-width: 62%; padding: .11rem .24rem; font-size: clamp(.24rem,.34vw,.30rem); letter-spacing: .045em; }

  .live-board { top: 46.5%; gap: clamp(3px,.4vw,6px); }
  .live-board .playing-card { width: clamp(26px,3.45vw,43px); }
  .live-pot { min-width: 64px; padding: .18rem .30rem; column-gap: .22rem; }
  .live-pot span { font-size: clamp(.28rem,.39vw,.34rem); }
  .live-pot strong { margin-top: 0; font-size: clamp(.58rem,.90vw,.78rem); }
  .tb1 { left: 25%; top: 41%; }
  .tb2 { left: 42%; top: 27%; }
  .tb3 { left: 75%; top: 41%; }
  .tb4 { left: 71%; top: 69%; }
  .tb5 { left: 29%; top: 69%; }
  .tb6 { left: 50%; top: 78%; }
  .table-bet { min-width: 36px; gap: .12rem; }
  .table-bet b { padding: .08rem .18rem; font-size: clamp(.25rem,.36vw,.31rem); }
  .chip-stack { width: clamp(14px,1.65vw,21px); height: clamp(12px,1.35vw,18px); }
  .chip-stack i { width: clamp(13px,1.48vw,19px); height: clamp(4px,.43vw,6px); }

  .game-console { gap: .25rem; grid-template-rows: auto auto auto minmax(0,1fr); padding: 0; }
  .console-status { grid-template-columns: 1fr; gap: .10rem; padding: .27rem .34rem; align-items: start; }
  .console-status div { display: flex; gap: .35rem; align-items: baseline; min-width: 0; }
  .console-status div small { font-size: clamp(.25rem,.34vw,.30rem); }
  .console-status div strong { margin-top: 0; font-size: clamp(.45rem,.65vw,.55rem); }
  .console-status p { text-align: left; font-size: clamp(.34rem,.50vw,.43rem); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hand-result { padding: .27rem .34rem; }
  .primary-game-button { min-height: 30px; padding: .31rem .40rem; font-size: clamp(.38rem,.55vw,.47rem); }
  .action-dock { padding: .27rem; }
  .decision-strip { gap: .14rem; margin-bottom: .18rem; }
  .decision-strip span { padding: .15rem .10rem; }
  .decision-strip small { font-size: clamp(.21rem,.29vw,.26rem); letter-spacing: .07em; }
  .decision-strip strong { margin-top: .05rem; font-size: clamp(.31rem,.42vw,.37rem); }
  .raise-presets { gap: .14rem; margin-bottom: .18rem; }
  .raise-presets button { padding: .17rem .10rem; font-size: clamp(.25rem,.34vw,.30rem); }
  .action-buttons { gap: .16rem; }
  .action-button { min-height: 27px; padding: .22rem .15rem; font-size: clamp(.32rem,.45vw,.39rem); }
  .action-history { display: none; }

  .table-footer { height: 8%; font-size: clamp(.30rem,.43vw,.37rem); letter-spacing: .08em; gap: .5rem; }
}

@media (max-width: 760px) and (orientation: landscape) {
  .screen--table { padding-left: calc(7px + var(--safe-left)); padding-right: calc(7px + var(--safe-right)); }
  .table-header { gap: .30rem; }
  .table-header__title h2 { font-size: clamp(.78rem,1.9vw,.98rem); }
  .table-header__meta > span { padding: .22rem .28rem; font-size: clamp(.28rem,.58vw,.36rem); }
  #liveHandNo { max-width: 5.2rem; }
  .live-game { grid-template-columns: minmax(0,1fr) minmax(172px,.56fr); gap: .30rem; }
  .live-table { width: 86%; }
  .live-seat { width: 16.2%; min-width: 57px; min-height: 44px; padding: .16rem .18rem .22rem; }
  .ls6 { width: 18.3%; }
  .seat-hole { height: 20px; }
  .seat-hole .playing-card { width: clamp(13px,2vw,20px); }
  .live-board .playing-card { width: clamp(23px,3.55vw,34px); }
  .live-table__brand { top: 18%; font-size: clamp(.48rem,1vw,.65rem); }
  .live-table__brand small { display: none; }
  .live-pot { top: 61%; transform: translateX(-50%) rotateX(-9deg) scale(.92); }
  .table-bet { transform: translate(-50%,-50%) rotateX(-9deg) scale(.82); }
  .table-bet.is-active { transform: translate(-50%,-50%) rotateX(-9deg) scale(.88); }
  .console-status p { font-size: clamp(.31rem,.62vw,.38rem); }
  .table-footer span:first-child { display: none; }
  .table-footer { justify-content: flex-end; }
}

/* =========================================================
   CASINOIR v0.3.0 — TABLE MOTION / SHOWDOWN CHOREOGRAPHY
   ========================================================= */
.table-motion-layer {
  position: absolute;
  inset: 0;
  z-index: 36;
  pointer-events: none;
  overflow: visible;
  transform: none;
  transform-origin: center;
}

.chip-flight {
  position: absolute;
  left: var(--from-x);
  top: var(--from-y);
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  min-width: 32px;
  opacity: 0;
  filter: drop-shadow(0 7px 10px rgba(0,0,0,.42));
  animation: casinoirChipCollect .72s cubic-bezier(.2,.75,.22,1) var(--flight-delay) both;
}
.chip-flight .chip-stack { transform: scale(.88); transform-origin: center; }
.chip-flight > b {
  padding: .10rem .24rem;
  border-radius: 999px;
  background: rgba(3,7,8,.90);
  border: 1px solid rgba(234,215,172,.15);
  color: #cfc6b6;
  font-size: clamp(.25rem,.34vw,.31rem);
  letter-spacing: .04em;
  font-weight: 650;
}
.chip-flight--award {
  animation-name: casinoirChipAward;
  animation-duration: .86s;
}
.chip-flight--award > b { color: #9edbc0; border-color: rgba(95,188,148,.22); }

@keyframes casinoirChipCollect {
  0% { opacity: 0; transform: translate(-50%,-50%) translate(0,0) scale(.9); }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,-50%) translate(var(--flight-x),var(--flight-y)) scale(.68); }
}
@keyframes casinoirChipAward {
  0% { opacity: 0; transform: translate(-50%,-50%) translate(0,0) scale(.68); }
  16% { opacity: 1; }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,-50%) translate(var(--flight-x),var(--flight-y)) scale(.96); }
}

.playing-card.is-showdown-reveal {
  opacity: 0;
  animation: casinoirShowdownReveal .42s cubic-bezier(.2,.78,.25,1) var(--show-delay, 240ms) forwards;
}
@keyframes casinoirShowdownReveal {
  0% { opacity: 0; filter: brightness(1.45) blur(2px); clip-path: inset(0 50% 0 50% round 4px); }
  58% { opacity: 1; filter: brightness(1.14) blur(0); }
  100% { opacity: 1; filter: brightness(1); clip-path: inset(0 0 0 0 round 4px); }
}
.live-seat.is-showing-down { z-index: 8; }
.live-seat.is-showing-down .seat-hole { filter: drop-shadow(0 5px 9px rgba(0,0,0,.28)); }

.seat-action.is-fresh-action {
  animation: casinoirActionStamp .42s cubic-bezier(.2,.78,.25,1) both;
}
@keyframes casinoirActionStamp {
  0% { opacity: .25; transform: translateX(-50%) translateY(4px) scale(.94); }
  50% { opacity: 1; transform: translateX(-50%) translateY(-1px) scale(1.03); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.hand-result:not([hidden]) {
  animation: casinoirResultSettle .5s ease .62s both;
}
@keyframes casinoirResultSettle {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) and (orientation: landscape) {
  .chip-flight > b { display: none; }
  .chip-flight .chip-stack { transform: scale(.72); }
}

@media (prefers-reduced-motion: reduce) {
  .chip-flight,
  .playing-card.is-showdown-reveal,
  .seat-action.is-fresh-action,
  .hand-result:not([hidden]) { animation: none !important; opacity: 1 !important; }
}

/* =========================================================
   CASINOIR v0.3.1 — CARD VISIBILITY / OVERLAP FIX
   1) Human bet vs POT separation
   2) Dealer button kept off hole cards
   3) Larger cards, ranks and suits
   ========================================================= */

/* Readability first: card faces are larger and carry stronger rank/suit contrast. */
.playing-card {
  width: clamp(24px, 3.05vw, 44px);
  padding: clamp(3px, .30vw, 5px);
  border-radius: clamp(4px, .40vw, 6px);
}
.playing-card b {
  font-size: clamp(.62rem, 1.00vw, .92rem);
  letter-spacing: -.035em;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.playing-card i {
  font-size: clamp(.82rem, 1.28vw, 1.18rem);
  transform: translate(1px, 0);
}
.playing-card--red { color: #a30f2d; }

/* Hole cards: reduce overlap and grow the two-card fan. */
.seat-hole {
  height: clamp(31px, 3.75vw, 52px);
  gap: 2px;
}
.seat-hole .playing-card {
  width: clamp(22px, 2.55vw, 37px);
}
.seat-hole .playing-card + .playing-card {
  margin-left: -2px;
}

/* Community cards are the visual focal point of the table. */
.live-board {
  top: 47.5%;
  gap: clamp(5px, .58vw, 9px);
  min-height: 68px;
}
.live-board .playing-card {
  width: clamp(36px, 4.45vw, 64px);
  box-shadow: 0 9px 22px rgba(0,0,0,.42);
}

/* POT and the human betting position get dedicated, non-overlapping zones. */
.live-pot {
  top: 63.5%;
  min-width: 82px;
  padding: .28rem .50rem;
  background: rgba(2,9,8,.46);
  border: 1px solid rgba(232,216,179,.075);
  box-shadow: 0 7px 18px rgba(0,0,0,.16);
  z-index: 8;
}
.tb6 {
  left: 42.5%;
  top: 79.5%;
}

/* Dealer button is a table object, not an overlay on the cards. */
.live-dealer {
  width: clamp(26px, 2.85vw, 39px);
  z-index: 12;
  box-shadow: 0 7px 18px rgba(0,0,0,.44), 0 0 0 2px rgba(255,255,255,.08);
}

@media (max-width: 980px) and (max-height: 460px) and (orientation: landscape) {
  .live-seat { min-height: 54px; }
  .seat-hole { height: 28px; }
  .seat-hole .playing-card { width: clamp(19px, 2.35vw, 29px); }
  .playing-card b { font-size: clamp(.55rem, .92vw, .78rem); }
  .playing-card i { font-size: clamp(.72rem, 1.16vw, 1rem); }
  .live-board { top: 45.5%; min-height: 57px; gap: clamp(4px,.48vw,7px); }
  .live-board .playing-card { width: clamp(31px, 4.05vw, 50px); }
  .live-pot { top: 61.5%; min-width: 72px; padding: .20rem .36rem; }
  .tb6 { left: 42%; top: 81%; }
}

@media (max-width: 760px) and (orientation: landscape) {
  .live-seat { min-height: 48px; }
  .seat-hole { height: 25px; }
  .seat-hole .playing-card { width: clamp(17px, 2.45vw, 25px); }
  .playing-card b { font-size: clamp(.51rem, 1.03vw, .70rem); }
  .playing-card i { font-size: clamp(.67rem, 1.30vw, .88rem); }
  .live-board { top: 45%; min-height: 51px; }
  .live-board .playing-card { width: clamp(29px, 4.25vw, 43px); }
  .tb6 { left: 41.5%; top: 82%; }
  .live-dealer { width: clamp(24px, 3.4vw, 32px); }
}

/* =========================================================
   CASINOIR v0.4.0 — DEALER MOTION / TABLE FEEL
   Physical dealing rhythm without adding visual clutter.
   ========================================================= */
.dealer-workspace {
  position: absolute;
  left: 50%;
  top: 7.5%;
  width: 34%;
  height: 17%;
  transform: translateX(-50%) rotateX(-9deg);
  z-index: 6;
  pointer-events: none;
  opacity: .80;
}
.dealer-deck {
  position: absolute;
  left: 23%;
  top: 17%;
  width: clamp(19px, 2.6vw, 38px);
  aspect-ratio: .70;
  transform: rotate(-7deg);
  border-radius: clamp(3px,.35vw,5px);
  background:
    linear-gradient(45deg, rgba(234,215,172,.10) 25%, transparent 25%) 0 0/6px 6px,
    linear-gradient(-45deg, rgba(234,215,172,.08) 25%, transparent 25%) 0 0/6px 6px,
    linear-gradient(145deg,#32121c,#160b10 72%);
  border: 1px solid rgba(234,215,172,.32);
  box-shadow: -2px 3px 0 #10080c, -4px 6px 0 #0b0709, 0 7px 14px rgba(0,0,0,.38);
}
.dealer-deck i { display:none; }
.muck-tray {
  position: absolute;
  right: 19%;
  top: 26%;
  width: clamp(38px, 5.2vw, 72px);
  height: clamp(15px, 1.8vw, 24px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(4,7,8,.78), rgba(1,2,3,.90));
  box-shadow: inset 0 4px 12px rgba(0,0,0,.38), 0 5px 12px rgba(0,0,0,.24);
  display: grid;
  place-items: center;
}
.muck-tray span {
  color: rgba(224,215,200,.24);
  font-size: clamp(.22rem,.30vw,.28rem);
  letter-spacing: .18em;
  font-weight: 680;
}
.dealer-hands { position:absolute; inset:0; opacity:.16; }
.dealer-hand {
  position:absolute;
  top:-9%;
  width:26%;
  height:72%;
  border-radius: 50% 48% 42% 45%;
  background: linear-gradient(160deg, rgba(224,190,165,.88), rgba(143,105,87,.82));
  filter: saturate(.55) brightness(.72);
  box-shadow: inset 0 -8px 18px rgba(50,26,21,.23);
  transform-origin: top center;
}
.dealer-hand::after {
  content:"";
  position:absolute;
  left:18%; right:18%; top:-30%; height:45%;
  border-radius:40%;
  background: linear-gradient(180deg, rgba(23,25,28,.94), rgba(8,10,12,.96));
}
.dealer-hand--left { left: 32%; transform: rotate(17deg); }
.dealer-hand--right { right: 28%; transform: rotate(-17deg); }
.dealer-workspace.is-dealing .dealer-hand--left { animation: casinoirDealerDeal .62s ease both; }
.dealer-workspace.is-dealing .dealer-hand--right { animation: casinoirDealerDealRight .62s ease .10s both; }
.dealer-workspace.is-burning .dealer-hand--left,
.dealer-workspace.is-mucking .dealer-hand--right { animation: casinoirDealerSweep .48s ease both; }
.dealer-workspace.is-awarding .dealer-hands { animation: casinoirDealerSettle .70s ease both; }
@keyframes casinoirDealerDeal { 0%,100%{transform:rotate(17deg) translateY(0)} 45%{transform:rotate(4deg) translate(13%,28%)} }
@keyframes casinoirDealerDealRight { 0%,100%{transform:rotate(-17deg) translateY(0)} 45%{transform:rotate(-5deg) translate(-11%,25%)} }
@keyframes casinoirDealerSweep { 0%,100%{transform:translate(0,0)} 52%{transform:translate(14%,26%) rotate(6deg)} }
@keyframes casinoirDealerSettle { 0%,100%{opacity:.16} 45%{opacity:.28} }

.card-flight {
  position: absolute;
  left: var(--from-x);
  top: var(--from-y);
  width: clamp(20px, 2.45vw, 35px);
  aspect-ratio: .70;
  opacity: 0;
  border-radius: clamp(3px,.34vw,5px);
  transform-origin: center;
  box-shadow: 0 4px 7px rgba(0,0,0,.35);
}
.card-flight > i {
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(45deg, rgba(234,215,172,.10) 25%, transparent 25%) 0 0/6px 6px,
    linear-gradient(-45deg, rgba(234,215,172,.08) 25%, transparent 25%) 0 0/6px 6px,
    linear-gradient(145deg,#33121c,#160b10 72%);
  border:1px solid rgba(234,215,172,.34);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.025);
}
.card-flight--deal {
  animation: casinoirCardFlightDeal .52s cubic-bezier(.18,.8,.24,1) var(--flight-delay) both;
}
.card-flight--muck {
  animation: casinoirCardFlightMuck .50s cubic-bezier(.24,.72,.24,1) var(--flight-delay) both;
}
.card-flight--burn {
  width: clamp(18px,2.15vw,31px);
  animation: casinoirCardFlightBurn .38s cubic-bezier(.24,.72,.24,1) var(--flight-delay) both;
}
@keyframes casinoirCardFlightDeal {
  0% { opacity:0; transform:translate3d(-50%,-50%,0) translate3d(0,0,0) rotate(-8deg) scale(.88); }
  10% { opacity:1; }
  100% { opacity:1; transform:translate3d(-50%,-50%,0) translate3d(var(--flight-x),var(--flight-y),0) rotate(var(--flight-end-rotation,0deg)) scale(1); }
}
@keyframes casinoirCardFlightMuck {
  0% { opacity:.95; transform:translate(-50%,-50%) translate(0,0) rotate(var(--muck-start-rotation,-3deg)) scale(.96); }
  100% { opacity:0; transform:translate(-50%,-50%) translate(var(--flight-x),var(--flight-y)) rotate(var(--muck-end-rotation,-7deg)) scale(.70); }
}
@keyframes casinoirCardFlightBurn {
  0% { opacity:.9; transform:translate(-50%,-50%) translate(0,0) rotate(-6deg) scale(.90); }
  100% { opacity:0; transform:translate(-50%,-50%) translate(var(--flight-x),var(--flight-y)) rotate(9deg) scale(.66); }
}

.mucked-card-slot {
  display:inline-flex;
  align-items:flex-end;
  height:100%;
  gap:2px;
  opacity:.34;
}
.mucked-card-slot i {
  width: clamp(17px, 2.15vw, 30px);
  aspect-ratio:.70;
  border:1px dashed rgba(224,215,200,.16);
  border-radius:4px;
  background:rgba(0,0,0,.10);
}
.mucked-card-slot i + i { margin-left:-8px; transform:rotate(4deg); }

.live-dealer.is-moving { animation: casinoirButtonSettle .48s cubic-bezier(.2,.8,.25,1) both; }
@keyframes casinoirButtonSettle {
  0% { filter:brightness(1); }
  42% { filter:brightness(1.22); box-shadow:0 8px 20px rgba(0,0,0,.46),0 0 0 4px rgba(234,215,172,.10); }
  100% { filter:brightness(1); }
}

.live-seat.is-winner .seat-hole .playing-card {
  box-shadow:0 7px 18px rgba(0,0,0,.40),0 0 0 1px rgba(143,215,184,.62),0 0 22px rgba(95,188,148,.22);
  transform:translateY(-2px);
}
.live-seat.is-winner .seat-hole .playing-card + .playing-card { transform:translateY(-2px) rotate(2deg); }
.live-seat.is-folded .seat-hole { filter:none; }

@media (max-width: 980px) and (max-height: 460px) and (orientation: landscape) {
  .dealer-workspace { top:6.8%; width:32%; height:15%; }
  .dealer-hands { opacity:.11; }
  .muck-tray { right:17%; }
  .card-flight { width:clamp(17px,2.2vw,27px); }
}
@media (max-width:760px) and (orientation:landscape) {
  .dealer-workspace { width:30%; opacity:.70; }
  .dealer-hands { display:none; }
  .dealer-deck { left:25%; }
  .muck-tray { right:14%; }
}
@media (prefers-reduced-motion: reduce) {
  .card-flight,
  .dealer-workspace .dealer-hand,
  .live-dealer.is-moving { animation:none !important; }
}

/* v0.4.0 mobile geometry correction: dealer tools occupy open felt lanes,
   never the top-center player's card area. */
.dealer-workspace {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: rotateX(-9deg);
}
.dealer-deck { left: 28.5%; top: 20%; }
.muck-tray { right: 27.5%; top: 21%; }
.dealer-hands {
  left: 50%;
  top: 16%;
  width: 28%;
  height: 18%;
  transform: translateX(-50%);
  inset: auto auto auto 50%;
}
@media (max-width: 1200px) and (orientation: landscape) {
  .dealer-hands { display:none; }
}
@media (max-width: 980px) and (max-height: 460px) and (orientation: landscape) {
  .dealer-workspace { top:0; width:100%; height:100%; }
  .dealer-deck { left:28%; top:20%; }
  .muck-tray { right:27%; top:21%; }
}
@media (max-width:760px) and (orientation:landscape) {
  .dealer-workspace { width:100%; }
  .dealer-deck { left:27%; top:20%; }
  .muck-tray { right:26%; top:21%; }
}


/* =========================================================
   CASINOIR v0.5.0 — SHOWDOWN & POT DRAMA
   Best-five clarity, quiet loser falloff, and explicit pot settlement.
   ========================================================= */
.playing-card.is-best-card {
  box-shadow: 0 8px 20px rgba(0,0,0,.42), 0 0 0 2px rgba(234,215,172,.82), 0 0 24px rgba(95,188,148,.30);
  filter: brightness(1.06) saturate(1.04);
}
.live-board.is-showdown-board .playing-card:not(.is-best-card) {
  opacity: .58;
  filter: saturate(.62) brightness(.80);
  transform: translateY(1px) scale(.97);
}
.live-board.is-showdown-board .playing-card.is-best-card {
  transform: translateY(-3px) scale(1.035);
}
.live-seat.is-showdown-loser {
  border-color: rgba(255,255,255,.075);
  box-shadow: 0 10px 24px rgba(0,0,0,.42);
}
.live-seat.is-showdown-loser .seat-hole {
  opacity: .52;
  filter: saturate(.46) brightness(.78);
  transition: opacity .45s ease 1.1s, filter .45s ease 1.1s;
}
.live-seat.is-winner .seat-hole .playing-card.is-best-card {
  box-shadow: 0 8px 20px rgba(0,0,0,.42), 0 0 0 2px rgba(234,215,172,.88), 0 0 26px rgba(95,188,148,.36);
}
.result-winners { display:grid; gap:.22rem; }
.result-pots {
  display:grid;
  gap:.18rem;
  margin-top:.38rem;
  padding-top:.34rem;
  border-top:1px solid rgba(255,255,255,.06);
}
.result-pot {
  display:grid;
  grid-template-columns:auto auto 1fr;
  gap:.28rem .42rem;
  align-items:center;
}
.result-pot span {
  color:#8f887d;
  font-size:clamp(.29rem,.39vw,.36rem);
  letter-spacing:.12em;
}
.result-pot b {
  color:#ddd4c5;
  font-size:clamp(.43rem,.58vw,.52rem);
  font-weight:650;
}
.result-pot small {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#78b99e;
  font-size:clamp(.28rem,.37vw,.34rem);
  text-align:right;
}
.hand-result:not([hidden]) {
  border-color:rgba(234,215,172,.20);
  background:linear-gradient(145deg,rgba(24,48,40,.46),rgba(8,11,14,.91));
  box-shadow:0 14px 30px rgba(0,0,0,.22), inset 0 0 26px rgba(95,188,148,.035);
}
@media (max-width:980px) and (max-height:460px) and (orientation:landscape) {
  .result-pots { margin-top:.22rem; padding-top:.20rem; gap:.10rem; }
  .result-pot { gap:.16rem .28rem; }
}
@media (max-width:760px) and (orientation:landscape) {
  .result-pot { grid-template-columns:auto auto; }
  .live-board.is-showdown-board .playing-card.is-best-card { transform:translateY(-2px) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .live-seat.is-showdown-loser .seat-hole { transition:none; }
}

/* v0.5.0 compact result-panel correction: keep pot amount and award text separated. */
.result-pot {
  grid-template-columns: 1fr auto;
  row-gap: .08rem;
}
.result-pot small {
  grid-column: 1 / -1;
  text-align: left;
  white-space: normal;
  line-height: 1.25;
}
@media (max-width:760px) and (orientation:landscape) {
  .result-pot { grid-template-columns: 1fr auto; }
  .result-pot small { display:none; }
}

.result-pot__meta { min-width:0; display:flex; flex-direction:column; gap:.06rem; }
.result-pot__meta span { display:block; }
.result-pot__meta small {
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#78b99e;
  font-size:clamp(.28rem,.37vw,.34rem);
  line-height:1.15;
}
.result-pot > b { align-self:center; }
.result-pot > small { display:none !important; }
@media (max-width:760px) and (orientation:landscape) {
  .result-pot__meta small { display:none; }
}

.result-winners--many {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .14rem .34rem;
}
.result-winners--many .result-winner {
  min-width:0;
  padding:.10rem .18rem;
  border:1px solid rgba(255,255,255,.045);
  border-radius:.38rem;
  background:rgba(255,255,255,.012);
}
.result-winners--many .result-winner strong,
.result-winners--many .result-winner b {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.result-winners--many .result-winner small {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media (max-width:760px) and (orientation:landscape) {
  .result-winners--many { gap:.08rem .18rem; }
  .result-winners--many .result-winner { padding:.05rem .10rem; }
  .result-winners--many .result-winner small { display:none; }
}


/* =========================================================
   CASINOIR v0.6.0 — AUDIO / REAL TABLE RHYTHM
   ========================================================= */
.sound-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .34rem .48rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4,9,10,.42);
  color: var(--muted);
  font: inherit;
  font-size: clamp(.36rem,.50vw,.45rem);
  letter-spacing: .10em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background .18s ease, opacity .18s ease;
}
.sound-toggle::before {
  content: '';
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: rgba(143,215,184,.82);
  box-shadow: 0 0 0 3px rgba(95,188,148,.08);
  transition: background .18s ease, box-shadow .18s ease;
}
.sound-toggle b {
  color: #d7caa9;
  font-size: inherit;
  font-weight: 760;
  letter-spacing: .08em;
}
.sound-toggle[data-sound="off"] { opacity: .72; }
.sound-toggle[data-sound="off"]::before {
  background: rgba(176,158,162,.54);
  box-shadow: none;
}
.sound-toggle[data-sound="off"] b { color: #9d9092; }
.sound-toggle:focus-visible { outline: 2px solid rgba(234,215,172,.48); outline-offset: 2px; }

/* Real-table cadence: chips settle first, then burn, then board. */
.playing-card.is-hole-deal { transform-origin: 50% 50%; }
.live-board .playing-card.is-new-card { animation-duration: .42s; }
.card-flight--deal { animation-duration: var(--deal-flight, 600ms); }
.card-flight--burn { animation-duration: .40s; }
.playing-card.is-showdown-reveal {
  animation-delay: var(--show-delay, 240ms);
  animation-duration: .46s;
}

/* Keep the sound control readable without stealing table space. */
@media (max-width: 900px) and (orientation: landscape) {
  .table-header__meta { gap: .22rem; }
  .sound-toggle { min-height: 24px; padding: .27rem .34rem; }
}
@media (max-width: 760px) and (orientation: landscape) {
  .sound-toggle { padding: .22rem .28rem; font-size: clamp(.28rem,.58vw,.36rem); }
  .sound-toggle span { display: none; }
  .sound-toggle::before { width: .32rem; height: .32rem; }
}
@media (max-width: 690px) and (orientation: landscape) {
  .table-header__meta > span:first-child { display: none; }
  .sound-toggle { min-width: 42px; justify-content: center; }
}

/* ========================================================================== */
/* CASINOIR v0.7.0 — REAL CASH GAME FLOW                                     */
/* ========================================================================== */

.screen--poker-room {
  background:
    radial-gradient(circle at 18% 42%, rgba(126, 17, 47, .16), transparent 28%),
    radial-gradient(circle at 74% 32%, rgba(213, 174, 94, .09), transparent 25%),
    linear-gradient(135deg, #07090d 0%, #0b0e13 58%, #080a0e 100%);
  color: #f2eee7;
  overflow: hidden;
}

.poker-room-glow { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; opacity: .55; }
.poker-room-glow--one { width: 38vw; height: 38vw; left: -12vw; bottom: -18vw; background: rgba(121, 16, 44, .18); }
.poker-room-glow--two { width: 30vw; height: 30vw; right: 14vw; top: -19vw; background: rgba(191, 153, 80, .10); }

.poker-room-header {
  position: relative;
  z-index: 3;
  height: 14%;
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: max(7px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 6px max(14px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(10,12,16,.92), rgba(10,12,16,.48));
}
.poker-room-header p { margin: 0 0 2px; font-size: clamp(7px, .75vw, 10px); letter-spacing: .2em; color: #bba575; }
.poker-room-header h2 { margin: 0; font-size: clamp(15px, 2vw, 26px); font-weight: 500; letter-spacing: .015em; }
.poker-room-badge { border: 1px solid rgba(218,188,126,.32); border-radius: 999px; padding: 6px 9px; font-size: clamp(7px, .7vw, 9px); letter-spacing: .14em; color: #d8c79f; white-space: nowrap; }

.poker-room-stage {
  position: relative;
  z-index: 2;
  height: 76%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(120px, .72fr) minmax(0, 2.65fr) minmax(120px, .72fr);
  align-items: stretch;
  gap: clamp(8px, 1.25vw, 18px);
  padding: clamp(7px, 1vw, 12px) max(12px, env(safe-area-inset-right)) clamp(7px, 1vw, 12px) max(12px, env(safe-area-inset-left));
}

.poker-room-host {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}
.poker-room-host::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,5,7,.88) 100%); pointer-events: none; }
.poker-room-host img { position: absolute; height: 112%; max-width: 116%; left: 50%; bottom: -20%; transform: translateX(-50%); object-fit: contain; filter: saturate(.88) contrast(1.02); }
.poker-room-host > div { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; }
.poker-room-host small { display: block; margin-bottom: 2px; color: #bca36b; font-size: clamp(6px, .6vw, 8px); letter-spacing: .16em; }
.poker-room-host strong { display: block; font-size: clamp(13px, 1.45vw, 20px); letter-spacing: .08em; }
.poker-room-host p { margin: 4px 0 0; color: rgba(245,240,231,.67); font-size: clamp(7px, .7vw, 9px); line-height: 1.45; }

.cash-table-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
}
.cash-table-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 1.3vw, 18px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 50% 4%, rgba(218,183,107,.08), transparent 34%),
    linear-gradient(180deg, rgba(21,25,30,.97), rgba(9,12,16,.98));
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 20px 44px rgba(0,0,0,.18);
  overflow: hidden;
}
.cash-table-card::before { content: ''; position: absolute; left: 14%; right: 14%; top: 29%; height: 28%; border-radius: 50%; border: 1px solid rgba(205,174,107,.15); background: radial-gradient(ellipse at center, rgba(21,74,57,.22), rgba(8,24,20,.08) 72%); transform: perspective(260px) rotateX(58deg); pointer-events: none; }
.cash-table-card--featured { border-color: rgba(213,177,101,.34); }
.cash-table-card__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #bcaa83; }
.cash-table-card__top span { font-size: clamp(7px, .78vw, 10px); letter-spacing: .16em; }
.cash-table-card__top small { font-size: clamp(6px, .62vw, 8px); letter-spacing: .11em; color: rgba(239,232,219,.47); white-space: nowrap; }
.cash-table-card > strong { position: relative; z-index: 1; margin-top: clamp(12px, 2.2vh, 22px); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(25px, 3.25vw, 46px); font-weight: 400; letter-spacing: -.02em; text-align: center; text-shadow: 0 7px 20px rgba(0,0,0,.25); }
.cash-table-card > p { position: relative; z-index: 1; margin: 2px 0 7px; text-align: center; font-size: clamp(7px, .75vw, 10px); color: rgba(242,237,227,.54); letter-spacing: .08em; }
.cash-table-card > p b { color: #d8c49a; font-weight: 500; }
.cash-table-card__status { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 2px 0 8px; color: rgba(238,233,223,.6); font-size: clamp(6px, .66vw, 9px); letter-spacing: .1em; }
.cash-table-card__status .status-dot { width: 5px; height: 5px; box-shadow: 0 0 9px rgba(78,198,143,.42); }
.cash-table-card > button {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  border: 1px solid rgba(217,183,109,.35);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(197,158,83,.15), rgba(137,99,41,.09));
  color: #eee5d4;
  min-height: 34px;
  font-size: clamp(7px, .77vw, 10px);
  letter-spacing: .14em;
  cursor: pointer;
}
.cash-table-card > button:hover { border-color: rgba(225,190,119,.58); background-color: rgba(190,149,68,.14); }
.cash-table-card > button i { margin-left: 8px; font-style: normal; color: #cfb06f; }

.poker-room-note {
  min-width: 0;
  align-self: center;
  padding: clamp(10px, 1.2vw, 16px);
  border-left: 1px solid rgba(255,255,255,.09);
}
.poker-room-note small { display: block; color: #bca46f; font-size: clamp(6px, .62vw, 8px); letter-spacing: .16em; }
.poker-room-note strong { display: block; margin: 4px 0 8px; font-size: clamp(12px, 1.25vw, 17px); line-height: 1.12; letter-spacing: .04em; }
.poker-room-note p { margin: 0; color: rgba(238,233,224,.57); font-size: clamp(7px, .72vw, 9px); line-height: 1.55; }
.poker-room-note > span { display: inline-block; margin-top: 10px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; color: rgba(238,233,224,.43); font-size: clamp(5px, .56vw, 7px); letter-spacing: .11em; }
.poker-room-footer { position: relative; z-index: 2; height: 10%; min-height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(14px, env(safe-area-inset-right)) max(2px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); border-top: 1px solid rgba(255,255,255,.055); color: rgba(238,232,222,.36); font-size: clamp(6px, .61vw, 8px); letter-spacing: .13em; }

.cash-flow-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
}
.cash-flow-modal[hidden] { display: none !important; }
.cash-flow-backdrop { position: absolute; inset: 0; background: rgba(2,3,5,.78); backdrop-filter: blur(10px); }
.cash-flow-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 88vw);
  max-height: 90vh;
  min-height: 0;
  overflow: auto;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(215,179,103,.27);
  border-radius: 22px;
  color: #f1ece3;
  background:
    radial-gradient(circle at 50% -10%, rgba(211,174,96,.10), transparent 35%),
    linear-gradient(180deg, #11151a 0%, #090c10 100%);
  box-shadow: 0 30px 90px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.035);
}
.cash-flow-panel > header { padding-right: 40px; border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 10px; margin-bottom: 12px; }
.cash-flow-panel > header small { color: #bda66f; font-size: clamp(6px, .65vw, 9px); letter-spacing: .18em; }
.cash-flow-panel > header h2 { margin: 3px 0 0; font-size: clamp(17px, 2vw, 28px); font-weight: 500; }
.cash-flow-panel > header p { margin: 3px 0 0; color: rgba(240,235,225,.55); font-size: 9px; }
.cash-flow-close { position: absolute; z-index: 2; right: 13px; top: 12px; width: 31px; height: 31px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: #d9d2c7; font-size: 19px; cursor: pointer; }
.cash-flow-step { min-height: 0; }
.cash-flow-step[hidden] { display: none !important; }
.flow-copy { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.flow-copy > span { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; border: 1px solid rgba(209,173,98,.36); color: #d4b773; font-size: 9px; }
.flow-copy strong { display: block; font-size: clamp(9px, 1vw, 13px); letter-spacing: .12em; }
.flow-copy p { margin: 3px 0 0; color: rgba(241,235,224,.56); font-size: clamp(7px, .75vw, 9px); line-height: 1.45; }

.seat-select-table { position: relative; height: min(39vh, 210px); min-height: 135px; margin: 5px 4% 10px; }
.seat-select-felt { position: absolute; left: 18%; right: 18%; top: 16%; bottom: 12%; border-radius: 50%; border: 4px solid #251d17; background: radial-gradient(ellipse at center, #164734 0%, #0d3025 58%, #092219 100%); box-shadow: inset 0 0 0 1px rgba(214,181,112,.18), inset 0 0 30px rgba(0,0,0,.25), 0 20px 30px rgba(0,0,0,.28); transform: perspective(600px) rotateX(19deg); }
.seat-select-felt b { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); font-family: Georgia, serif; font-weight: 400; letter-spacing: .08em; color: rgba(228,216,192,.22); font-size: clamp(14px, 2.4vw, 28px); }
.seat-select-felt b span { color: rgba(171,48,73,.3); }
.seat-choice { position: absolute; width: clamp(55px, 8vw, 78px); height: clamp(34px, 5.1vw, 49px); border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, #1a1e24, #0d1014); color: #e9e3d9; cursor: pointer; box-shadow: 0 10px 22px rgba(0,0,0,.26); }
.seat-choice b { display: block; font-size: clamp(10px, 1.2vw, 14px); }
.seat-choice small { display: block; margin-top: 1px; font-size: clamp(5px, .55vw, 7px); color: rgba(235,229,219,.46); letter-spacing: .09em; }
.seat-choice.is-selected { border-color: rgba(224,184,105,.72); box-shadow: 0 0 0 2px rgba(205,163,84,.12), 0 0 22px rgba(184,137,50,.13); color: #f8efde; }
.seat-choice.is-selected small { color: #d7b970; }
.sc1 { left: 4%; top: 42%; } .sc2 { left: 28%; top: 0; } .sc3 { right: 28%; top: 0; } .sc4 { right: 4%; top: 42%; } .sc5 { right: 22%; bottom: 0; } .sc6 { left: 22%; bottom: 0; }

.flow-primary, .flow-back, .flow-actions > button, .buyin-presets button, .entry-choice {
  border: 1px solid rgba(214,177,101,.29);
  background: rgba(187,146,67,.07);
  color: #ece5d8;
  cursor: pointer;
}
.flow-primary { min-height: 37px; border-radius: 10px; padding: 0 18px; font-size: clamp(7px, .8vw, 10px); letter-spacing: .13em; }
.cash-flow-step > .flow-primary { display: block; margin: 0 auto; min-width: 220px; }
.flow-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.flow-actions > button, .flow-back { min-height: 34px; border-radius: 9px; padding: 0 15px; font-size: 8px; letter-spacing: .1em; }
.flow-actions .flow-primary { margin-left: auto; min-width: 150px; }
.flow-back { display: block; margin-top: 12px; }

.buyin-display { text-align: center; padding: clamp(8px, 1.2vw, 14px); }
.buyin-display small { display: block; color: rgba(239,233,223,.5); font-size: 7px; letter-spacing: .14em; }
.buyin-display strong { display: inline-block; margin-top: 2px; font-family: Georgia, serif; font-size: clamp(28px, 4vw, 48px); font-weight: 400; color: #f4ead8; }
.buyin-display span { display: inline-block; margin-left: 10px; color: #c1a66c; font-size: clamp(8px, .8vw, 10px); }
.buyin-range { width: 100%; accent-color: #b38a43; }
.buyin-limits { display: flex; justify-content: space-between; margin-top: 1px; color: rgba(238,232,222,.48); font-size: 8px; }
.buyin-presets { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.buyin-presets button { min-width: 74px; min-height: 29px; border-radius: 8px; font-size: 7px; letter-spacing: .11em; }
.entry-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.entry-choice { min-height: 105px; border-radius: 15px; padding: 14px; text-align: left; }
.entry-choice small { display: block; color: #a99267; font-size: 6px; letter-spacing: .14em; }
.entry-choice strong { display: block; margin-top: 7px; font-size: clamp(12px, 1.4vw, 18px); }
.entry-choice span { display: block; margin-top: 5px; color: rgba(239,233,222,.51); font-size: clamp(7px, .7vw, 9px); line-height: 1.45; }
.entry-choice--recommended { border-color: rgba(216,179,99,.55); background: linear-gradient(180deg, rgba(188,146,63,.15), rgba(128,89,34,.05)); }

.session-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 6px 7px; border-bottom: 1px solid rgba(255,255,255,.065); background: rgba(255,255,255,.018); }
.session-toolbar__meta { min-width: 0; }
.session-toolbar__meta small, .session-toolbar__meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session-toolbar__meta small { color: #baa36f; font-size: clamp(5px, .56vw, 7px); letter-spacing: .1em; }
.session-toolbar__meta strong { margin-top: 1px; color: rgba(241,235,224,.76); font-size: clamp(6px, .66vw, 8px); font-weight: 500; }
.session-toolbar__actions { display: flex; gap: 4px; }
.session-toolbar__actions button { min-height: 24px; padding: 0 6px; border-radius: 6px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.025); color: rgba(240,234,224,.66); font-size: clamp(5px, .52vw, 7px); letter-spacing: .06em; cursor: pointer; white-space: nowrap; }
.session-toolbar__actions button:disabled { opacity: .25; cursor: default; }
#tableLeave:not(:disabled) { border-color: rgba(169,71,82,.25); color: #c8a4a8; }

.cash-flow-panel--compact { width: min(430px, 82vw); }
.topup-stack-row { display: flex; justify-content: space-between; gap: 12px; color: rgba(239,233,222,.48); font-size: 7px; letter-spacing: .09em; }
.topup-stack-row b { color: #e9deca; font-weight: 500; }
.cash-flow-panel--compact .flow-primary { width: 100%; margin-top: 12px; }

.cash-flow-panel--summary { width: min(520px, 84vw); text-align: center; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 12px 0; }
.summary-grid span { padding: 9px 5px; border: 1px solid rgba(255,255,255,.065); border-radius: 10px; background: rgba(255,255,255,.018); }
.summary-grid small { display: block; font-size: 6px; color: rgba(239,233,222,.4); letter-spacing: .11em; }
.summary-grid b { display: block; margin-top: 3px; font-size: clamp(11px, 1.3vw, 16px); font-weight: 500; }
.summary-net { padding: 10px; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.summary-net small { display: block; color: rgba(239,233,222,.42); font-size: 7px; letter-spacing: .13em; }
.summary-net strong { display: block; margin-top: 3px; font-family: Georgia, serif; font-size: clamp(28px, 4vw, 44px); font-weight: 400; }
.summary-net strong.is-positive { color: #c6d9be; }
.summary-net strong.is-negative { color: #d7a4a7; }
.cash-flow-panel--summary .flow-primary { margin-top: 14px; min-width: 230px; }

@media (max-width: 760px), (max-height: 390px) {
  .poker-room-header { height: 13%; min-height: 42px; padding-top: max(4px, env(safe-area-inset-top)); padding-bottom: 4px; }
  .poker-room-stage { height: 78%; grid-template-columns: 105px minmax(0,1fr); gap: 6px; padding-top: 5px; padding-bottom: 5px; }
  .poker-room-note { display: none; }
  .cash-table-list { gap: 6px; }
  .cash-table-card { padding: 8px; border-radius: 14px; }
  .cash-table-card > strong { margin-top: 9px; font-size: clamp(22px, 4vw, 31px); }
  .cash-table-card > p { margin-bottom: 4px; }
  .cash-table-card__status { margin-bottom: 5px; }
  .cash-table-card > button { min-height: 28px; }
  .poker-room-host > div { left: 7px; right: 7px; bottom: 6px; }
  .poker-room-host p { display: none; }
  .poker-room-footer { height: 9%; min-height: 22px; }

  .cash-flow-panel { width: min(720px, 94vw); max-height: 94vh; padding: 10px 13px; border-radius: 16px; }
  .cash-flow-panel > header { padding-bottom: 6px; margin-bottom: 7px; }
  .cash-flow-panel > header h2 { font-size: 16px; }
  .flow-copy { margin-bottom: 5px; }
  .flow-copy > span { width: 23px; height: 23px; flex-basis: 23px; }
  .flow-copy p { font-size: 6.5px; }
  .seat-select-table { height: 155px; min-height: 120px; margin-bottom: 5px; }
  .seat-choice { width: 58px; height: 35px; border-radius: 9px; }
  .seat-select-felt { left: 19%; right: 19%; }
  .cash-flow-step > .flow-primary { min-width: 190px; min-height: 30px; }
  .buyin-display { padding: 4px 8px; }
  .buyin-display strong { font-size: 27px; }
  .buyin-presets { margin-top: 5px; }
  .buyin-presets button { min-height: 25px; }
  .flow-actions { margin-top: 7px; }
  .entry-choice-grid { gap: 7px; }
  .entry-choice { min-height: 82px; padding: 9px; }
  .entry-choice strong { margin-top: 4px; font-size: 12px; }
  .entry-choice span { margin-top: 3px; font-size: 6.5px; }
  .flow-back { margin-top: 7px; min-height: 27px; }

  .session-toolbar { padding: 4px 5px; }
  .session-toolbar__actions button { min-height: 20px; padding: 0 4px; }
}

@media (max-width: 680px) {
  .poker-room-stage { grid-template-columns: 86px minmax(0,1fr); }
  .poker-room-header .poker-room-badge { display: none; }
  .cash-table-card__top small { display: none; }
  .cash-table-card__status { display: none; }
  .cash-table-card > p { font-size: 6px; }
  .cash-table-card > button { font-size: 6px; letter-spacing: .08em; }
  .poker-room-host strong { font-size: 11px; }
  .poker-room-footer span:first-child { display: none; }
  .poker-room-footer { justify-content: flex-end; }
  .session-toolbar__meta small { display: none; }
  .session-toolbar__actions { gap: 2px; }
  .session-toolbar__actions button { font-size: 5px; }
}

/* =========================================================
   CASINOIR v0.8.0 — CHIP & BETTING EXPERIENCE
   Real-table bet sizing with a visible betting line.
   ========================================================= */
.human-betting-line {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 85.5%;
  width: 28%;
  height: 10%;
  transform: translate(-50%,-50%) rotateX(-9deg);
  border-top: 1px solid rgba(224,190,117,.22);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
  opacity: .9;
}
.human-betting-line::after {
  content: '';
  position: absolute;
  left: 12%; right: 12%; top: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231,201,137,.25), transparent);
}
.human-betting-line span {
  position: absolute;
  left: 50%; top: 3px;
  transform: translateX(-50%);
  color: rgba(224,205,165,.26);
  font-size: clamp(.22rem,.31vw,.28rem);
  letter-spacing: .18em;
  white-space: nowrap;
}
.human-bet-preview {
  position: absolute;
  z-index: 11;
  left: 66%;
  top: 77.8%;
  transform: translate(-50%,-50%) rotateX(-9deg);
  min-width: 44px;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 0 .18rem;
  padding: .14rem .22rem;
  border: 1px solid rgba(220,186,114,.22);
  border-radius: .48rem;
  background: rgba(7,12,12,.58);
  box-shadow: 0 9px 20px rgba(0,0,0,.2);
  pointer-events: none;
  opacity: .84;
}
.human-bet-preview[hidden] { display: none !important; }
.human-bet-preview > small {
  grid-column: 1 / -1;
  margin-bottom: .05rem;
  color: rgba(222,198,149,.48);
  font-size: clamp(.20rem,.27vw,.24rem);
  letter-spacing: .12em;
  white-space: nowrap;
}
.human-bet-preview > b {
  align-self: center;
  padding: .08rem .18rem;
  border-radius: .34rem;
  color: rgba(241,229,204,.84);
  background: rgba(5,7,9,.58);
  font-size: clamp(.28rem,.38vw,.34rem);
  font-weight: 650;
  letter-spacing: .03em;
  white-space: nowrap;
}
.human-bet-preview .chip-stack { transform: scale(.86); transform-origin: right bottom; }

.bet-sizing {
  display: none;
  margin-bottom: .32rem;
  padding: .34rem .38rem .28rem;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: .58rem;
  background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.012));
}
.action-dock.can-size .bet-sizing { display: block; }
.bet-sizing__readout {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: .32rem;
  align-items: center;
  min-width: 0;
}
.bet-sizing__readout > span { min-width: 0; }
.bet-sizing__readout small {
  display: block;
  color: #625d54;
  font-size: clamp(.22rem,.31vw,.28rem);
  letter-spacing: .11em;
  white-space: nowrap;
}
.bet-sizing__readout strong {
  display: block;
  margin-top: .03rem;
  color: #eadbbd;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(.62rem,.88vw,.80rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.bet-sizing__readout > em {
  color: #b99b5f;
  font-size: clamp(.28rem,.38vw,.34rem);
  font-style: normal;
  letter-spacing: .06em;
  white-space: nowrap;
}
.bb-stepper { display: flex; gap: .16rem; }
.bb-stepper button {
  min-height: 23px;
  padding: 0 .28rem;
  border: 1px solid rgba(222,188,116,.18);
  border-radius: .36rem;
  background: rgba(199,159,80,.045);
  color: #bda979;
  font-size: clamp(.22rem,.29vw,.26rem);
  letter-spacing: .03em;
  cursor: pointer;
  white-space: nowrap;
}
.bb-stepper button:not(:disabled):hover { border-color: rgba(225,191,120,.4); color: #ead8ad; }
.bb-stepper button:disabled { opacity: .25; cursor: default; }
.raise-slider {
  width: 100%;
  margin: .18rem 0 0;
  accent-color: #b99550;
  cursor: pointer;
}
.raise-slider:disabled { opacity: .25; cursor: default; }
.raise-range {
  display: flex;
  justify-content: space-between;
  gap: .4rem;
  margin-top: -.03rem;
  color: #5f5a51;
  font-size: clamp(.20rem,.28vw,.25rem);
  letter-spacing: .06em;
}
.action-dock:not(.can-size) .raise-presets { display: none; }
.action-dock.can-size .raise-presets { display: grid; }
.raise-presets { grid-template-columns: repeat(4,1fr); }
.raise-presets button { min-width: 0; }

.action-dock.can-size .action-button--raise {
  box-shadow: inset 0 0 0 1px rgba(220,184,108,.04);
}

@media (max-width: 980px) and (max-height: 460px) and (orientation: landscape) {
  .human-betting-line { top: 85%; width: 30%; }
  .human-bet-preview { left: 68%; top: 76.5%; transform: translate(-50%,-50%) rotateX(-9deg) scale(.88); }
  .bet-sizing { margin-bottom: .16rem; padding: .20rem .22rem .17rem; border-radius: .44rem; }
  .bet-sizing__readout { gap: .16rem; }
  .bet-sizing__readout small { font-size: clamp(.18rem,.25vw,.22rem); }
  .bet-sizing__readout strong { font-size: clamp(.48rem,.66vw,.58rem); }
  .bet-sizing__readout > em { font-size: clamp(.22rem,.30vw,.26rem); }
  .bb-stepper { gap: .10rem; }
  .bb-stepper button { min-height: 19px; padding: 0 .18rem; font-size: clamp(.18rem,.24vw,.21rem); }
  .raise-slider { height: 12px; margin-top: .08rem; }
  .raise-range { font-size: clamp(.17rem,.23vw,.20rem); }
  .raise-presets { grid-template-columns: repeat(4,1fr); gap: .10rem; margin-bottom: .14rem; }
  .raise-presets button { padding: .14rem .06rem; font-size: clamp(.21rem,.29vw,.25rem); letter-spacing: .02em; }
}

@media (max-width: 760px) and (orientation: landscape) {
  .human-betting-line { width: 32%; }
  .human-betting-line span { display: none; }
  .human-bet-preview { left: 69%; top: 75.5%; transform: translate(-50%,-50%) rotateX(-9deg) scale(.78); }
  .bet-sizing__readout { grid-template-columns: minmax(0,1fr) auto; }
  .bet-sizing__readout > em { grid-column: 1; grid-row: 2; margin-top: -.05rem; }
  .bb-stepper { grid-column: 2; grid-row: 1 / span 2; }
  .bet-sizing__readout small { display: none; }
  .raise-range { display: none; }
  .raise-presets button { font-size: clamp(.19rem,.40vw,.23rem); }
}

@media (prefers-reduced-motion: reduce) {
  .human-bet-preview { transition: none !important; }
}

/* =========================================================
   CASINOIR v0.10.0 — SESSION REVIEW / HAND HISTORY / LEARNING
   Descriptive, table-first review. No solver/GTO scoring.
   ========================================================= */
.last-session-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 31px;
  margin-top: 10px;
  padding: 0 9px;
  border: 1px solid rgba(211,175,99,.22);
  border-radius: 8px;
  background: rgba(202,164,86,.05);
  color: rgba(242,235,224,.72);
  font-size: clamp(5px,.58vw,7px);
  letter-spacing: .10em;
  cursor: pointer;
}
.last-session-review[hidden] { display: none !important; }
.last-session-review i { color: #c7a968; font-style: normal; }

.cash-flow-panel--review {
  width: min(980px, 94vw);
  height: min(354px, 92vh);
  max-height: 92vh;
  overflow: hidden;
  padding: 12px 14px 10px;
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr) auto;
  text-align: left;
}
.cash-flow-panel--review > .review-header {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 15px;
  margin: 0;
  padding: 0 1px 8px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.review-header > div:first-child { min-width: 0; }
.review-header small { color: #bda66f; font-size: clamp(5px,.55vw,7px); letter-spacing: .16em; }
.review-header h2 { margin: 2px 0 0; font-size: clamp(15px,1.7vw,22px); font-weight: 500; line-height: 1; }
.review-header p { margin: 3px 0 0; color: rgba(240,235,225,.48); font-size: clamp(6px,.65vw,8px); }
.review-net { min-width: 122px; text-align: right; }
.review-net small { display: block; color: rgba(239,233,222,.42); }
.review-net strong { display: block; margin-top: 1px; font-family: Georgia, serif; font-size: clamp(24px,3vw,36px); font-weight: 400; line-height: .95; }
.review-net strong.is-positive, .is-positive { color: #bed6b7 !important; }
.review-net strong.is-negative, .is-negative { color: #d9a2a5 !important; }

.review-tabs { display: flex; gap: 4px; padding: 6px 0 5px; }
.review-tabs button {
  min-height: 25px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px;
  background: rgba(255,255,255,.018);
  color: rgba(239,233,222,.46);
  font-size: clamp(5px,.56vw,7px);
  letter-spacing: .11em;
  cursor: pointer;
}
.review-tabs button.is-active { border-color: rgba(207,171,95,.30); background: rgba(200,160,78,.08); color: #d7be83; }
.review-panels { min-height: 0; overflow: hidden; }
.review-panel { height: 100%; min-height: 0; }
.review-panel[hidden] { display: none !important; }

.review-overview { height: 100%; display: grid; grid-template-columns: 1.05fr .95fr 1.35fr; gap: 8px; min-height: 0; }
.review-bankroll, .review-stats, .review-key-section {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 10px;
  background: rgba(255,255,255,.014);
}
.review-bankroll { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; }
.review-bankroll span { display: grid; place-content: center; text-align: center; min-height: 48px; padding: 4px; background: rgba(255,255,255,.01); }
.review-bankroll small, .review-stats small, .review-key-section > small { display: block; color: rgba(240,234,223,.35); font-size: clamp(5px,.52vw,6.5px); letter-spacing: .10em; }
.review-bankroll b { margin-top: 2px; color: rgba(243,238,228,.82); font-size: clamp(12px,1.35vw,16px); font-weight: 500; }
.review-stats { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 3px; }
.review-stats span { display: grid; align-content: center; padding: 3px 6px; border-radius: 7px; background: rgba(255,255,255,.018); }
.review-stats b { margin-top: 1px; color: rgba(241,235,224,.80); font-size: clamp(11px,1.3vw,15px); font-weight: 500; }
.review-stats span:last-child { grid-column: 1 / -1; }
.review-key-section { padding: 7px; display: grid; grid-template-rows: auto minmax(0,1fr); gap: 5px; }
.review-key-hands { min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; }
.review-key-hands button {
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  background: rgba(255,255,255,.015);
  color: rgba(241,235,224,.72);
  text-align: left;
  cursor: pointer;
}
.review-key-hands button:hover { border-color: rgba(207,171,95,.26); }
.review-key-hands small, .review-key-hands strong, .review-key-hands b { display: block; }
.review-key-hands small { color: rgba(221,187,117,.58); font-size: 5px; letter-spacing: .09em; }
.review-key-hands strong { margin-top: 2px; font-size: 7px; font-weight: 500; }
.review-key-hands b { margin-top: 3px; font-size: 10px; font-weight: 500; }
.review-key-cards { display: flex; gap: 2px; margin-top: 4px; }

.hand-history-layout { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(185px,26%) minmax(0,1fr); gap: 7px; }
.review-hand-list {
  min-height: 0;
  margin: 0;
  padding: 4px;
  overflow: auto;
  list-style: none;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 9px;
  background: rgba(255,255,255,.012);
}
.review-hand-list li + li { margin-top: 3px; }
.review-hand-row {
  position: relative;
  display: grid;
  grid-template-columns: 25px minmax(48px,1fr) 25px 44px;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-height: 30px;
  padding: 3px 5px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255,255,255,.012);
  color: rgba(239,233,222,.62);
  cursor: pointer;
}
.review-hand-row.is-selected { border-color: rgba(210,174,98,.30); background: rgba(201,162,82,.07); color: #e0c98f; }
.review-hand-row.is-key::after { content: '◆'; position: absolute; right: 2px; top: 1px; color: rgba(211,174,96,.46); font-size: 5px; }
.review-hand-no, .review-hand-position { font-size: 6px; letter-spacing: .05em; }
.review-hand-hole { display: flex; gap: 2px; }
.review-hand-result { text-align: right; font-size: 7px; font-weight: 600; }

.review-hand-detail {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 7px 8px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 9px;
  background: rgba(255,255,255,.012);
}
.review-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.055); }
.review-detail-head > div:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; }
.review-detail-head small { color: rgba(220,185,114,.61); font-size: 6px; letter-spacing: .09em; }
.review-detail-head strong { display: flex; gap: 3px; }
.review-detail-net { text-align: right; white-space: nowrap; }
.review-detail-net small, .review-detail-net b { display: block; }
.review-detail-net b { font-size: 13px; font-weight: 500; }
.review-detail-board { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.review-detail-board > small { color: rgba(240,234,223,.34); font-size: 5px; letter-spacing: .11em; }
.review-detail-board > div { display: flex; gap: 3px; }
.review-detail-meta { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; margin-top: 5px; }
.review-detail-meta span { padding: 3px 5px; border-radius: 6px; background: rgba(255,255,255,.018); min-width: 0; }
.review-detail-meta small, .review-detail-meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-detail-meta small { color: rgba(240,234,223,.31); font-size: 5px; letter-spacing: .08em; }
.review-detail-meta b { margin-top: 1px; color: rgba(240,234,223,.74); font-size: 6.5px; font-weight: 500; }
.review-action-list { margin: 5px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; }
.review-action-list li { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 5px; min-height: 24px; padding: 3px 5px; border-radius: 6px; background: rgba(255,255,255,.016); }
.review-action-list li > span { color: rgba(210,175,101,.55); font-size: 5px; }
.review-action-list li > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(241,235,224,.75); font-size: 6px; font-weight: 500; }
.review-action-list li > small { color: rgba(240,234,223,.31); font-size: 5px; white-space: nowrap; }
.review-action-list em { margin-left: 4px; color: rgba(201,217,190,.52); font-style: normal; }
.review-prompt { margin-top: 5px; padding: 5px 7px; border-left: 2px solid rgba(211,174,96,.38); background: rgba(204,165,87,.035); }
.review-prompt small { color: #bba46e; font-size: 5px; letter-spacing: .11em; }
.review-prompt p { margin: 2px 0 0; color: rgba(240,234,223,.55); font-size: 6px; line-height: 1.35; }

.review-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 38px;
  border-radius: 4px;
  background: #ece8df;
  color: #18191b;
  box-shadow: 0 2px 6px rgba(0,0,0,.24);
  line-height: 1;
}
.review-card b { font-size: 10px; font-weight: 700; }
.review-card i { margin-top: 2px; font-size: 11px; font-style: normal; }
.review-card--red { color: #a72b34; }
.review-card--compact { width: 18px; height: 24px; border-radius: 3px; }
.review-card--compact b { font-size: 7px; }
.review-card--compact i { margin-top: 1px; font-size: 7px; }
.review-cards-empty { color: rgba(240,234,223,.35); font-size: 8px; }

.review-learning { height: calc(100% - 20px); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.learning-card { display: grid; grid-template-columns: 27px minmax(0,1fr); align-items: start; gap: 7px; padding: 7px; border: 1px solid rgba(255,255,255,.055); border-radius: 9px; background: rgba(255,255,255,.014); }
.learning-card > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; border: 1px solid rgba(208,172,96,.23); color: #bda66e; font-size: 6px; }
.learning-card small { color: rgba(216,181,109,.66); font-size: 5.5px; letter-spacing: .10em; }
.learning-card p { margin: 3px 0 0; color: rgba(241,235,224,.58); font-size: 7px; line-height: 1.45; }
.learning-disclaimer { margin: 5px 0 0; color: rgba(239,233,222,.28); font-size: 5.5px; line-height: 1.3; }

.review-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.055); }
.review-footer > span { color: rgba(215,181,111,.42); font-size: 5.5px; letter-spacing: .13em; }
.review-footer .flow-primary { min-width: 190px; min-height: 29px; margin: 0; }
.review-empty { margin: 0; color: rgba(240,234,223,.35); font-size: 7px; }

@media (max-height: 420px) {
  .cash-flow-panel--review { height: min(346px,94vh); width: min(960px,96vw); padding: 8px 10px 7px; border-radius: 15px; }
  .review-header { padding-bottom: 5px !important; }
  .review-header h2 { font-size: 14px; }
  .review-net strong { font-size: 24px; }
  .review-tabs { padding: 4px 0; }
  .review-tabs button { min-height: 21px; padding: 0 8px; font-size: 5px; }
  .review-overview { gap: 5px; }
  .review-bankroll span { min-height: 40px; }
  .review-key-section { padding: 5px; }
  .review-card { width: 23px; height: 31px; }
  .review-card b { font-size: 8px; }
  .review-card i { font-size: 9px; }
  .review-card--compact { width: 16px; height: 21px; }
  .review-card--compact b, .review-card--compact i { font-size: 6px; }
  .review-hand-detail { padding: 5px 6px; }
  .review-action-list li { min-height: 20px; }
  .review-prompt { padding: 3px 5px; }
  .review-footer { padding-top: 4px; }
  .review-footer .flow-primary { min-height: 24px; }
}

@media (max-width: 700px) {
  .cash-flow-panel--review { width: 97vw; }
  .review-overview { grid-template-columns: .9fr .85fr 1.25fr; }
  .review-bankroll b { font-size: 11px; }
  .review-stats b { font-size: 10px; }
  .review-key-hands { gap: 3px; }
  .review-key-hands button { padding: 4px; }
  .hand-history-layout { grid-template-columns: 160px minmax(0,1fr); gap: 4px; }
  .review-hand-row { grid-template-columns: 22px minmax(42px,1fr) 22px 38px; min-height: 27px; padding: 2px 4px; }
  .review-detail-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-action-list { grid-template-columns: 1fr; }
  .review-learning { grid-template-columns: 1fr 1fr; gap: 4px; }
  .learning-card { padding: 5px; grid-template-columns: 22px minmax(0,1fr); }
  .learning-card > span { width: 20px; height: 20px; }
  .learning-card p { font-size: 6px; }
  .review-footer > span { display: none; }
  .review-footer { justify-content: flex-end; }
}

/* =========================================================
   CASINOIR v0.10.1 — JAPAN FIRST / LARGE TABLE / CENTER ACTIONS
   Mobile readability is the priority: fewer tiny HUD elements, a larger
   felt, and the player's decision panel centered beneath the table.
   ========================================================= */
.screen--table {
  padding: calc(8px + var(--safe-top)) calc(10px + var(--safe-right)) calc(5px + var(--safe-bottom)) calc(10px + var(--safe-left));
}
.table-header {
  height: 10.5%;
  min-height: 40px;
  gap: .55rem;
}
.table-header p { margin-bottom: .06rem; letter-spacing: .11em; }
.table-header h2 { font-size: clamp(15px,1.8vw,23px); }
.table-header__meta { gap: .30rem; }
.table-header__meta > span { padding: .30rem .46rem; font-size: clamp(7px,.66vw,9px); letter-spacing: .05em; }
.sound-toggle { min-height: 28px; font-size: clamp(8px,.7vw,10px); }

.live-game {
  height: 85%;
  padding-bottom: 72px;
}
.live-table-wrap {
  inset: 0 0 65px 0;
}
.live-table {
  width: min(94%, 1100px);
  max-height: 100%;
  aspect-ratio: 2.42 / 1;
  transform: perspective(1250px) rotateX(7deg) translateY(-1%);
}
.live-table__inner,
.live-table__brand,
.live-seat,
.live-board,
.live-pot,
.live-dealer,
.table-bet,
.dealer-workspace,
.human-bet-preview,
.table-motion-layer { transform-origin: center; }

/* Keep the human seat completely above the central action bar. */
.ls6 { bottom: 11%; width: 18.5%; }
.ls4,.ls5 { bottom: 10%; }
.tb6 { left: 41.5%; top: 77%; }
.human-betting-line { top: 80%; }
.human-bet-preview { top: 71%; }

/* Seats and cards: use real pixel floors so a 375/390px-high phone remains legible. */
.live-seat {
  min-width: 78px;
  min-height: 58px;
  padding: 5px 6px 7px;
  border-radius: 10px;
}
.seat-hole { height: 32px; }
.seat-hole .playing-card { width: clamp(23px,2.85vw,35px); }
.seat-meta { margin-top: 2px; }
.seat-meta strong { font-size: clamp(9px,.82vw,12px); letter-spacing: .02em; }
.seat-meta small { margin-top: 1px; font-size: clamp(8px,.70vw,10px); letter-spacing: .02em; }
.seat-action {
  bottom: -12px;
  min-width: 76%;
  padding: 2px 5px;
  font-size: clamp(8px,.68vw,10px);
  letter-spacing: .01em;
}
.position-marker { top: -13px; font-size: clamp(8px,.68vw,10px); letter-spacing: .05em; }

.playing-card { width: clamp(29px,3.5vw,45px); }
.playing-card b { font-size: clamp(12px,1.15vw,17px); }
.playing-card i { font-size: clamp(16px,1.48vw,21px); }
.live-board { top: 45%; min-height: 70px; gap: clamp(6px,.65vw,10px); }
.live-board .playing-card { width: clamp(42px,5.2vw,66px); }
.live-pot { min-width: 90px; padding: 4px 8px; }
.live-pot span { font-size: clamp(8px,.70vw,10px); }
.live-pot strong { font-size: clamp(15px,1.35vw,21px); }
.live-dealer { width: clamp(29px,3.05vw,40px); font-size: clamp(9px,.72vw,11px); }
.table-bet b { font-size: clamp(9px,.72vw,11px); }

/* The old right-side console becomes a light overlay. The table keeps the screen. */
.game-console {
  display: block;
  padding: 0;
  z-index: 30;
}
.session-toolbar {
  position: absolute;
  right: 2px;
  width: min(35%, 320px);
  min-height: 38px;
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  background: rgba(5,8,10,.76);
  backdrop-filter: blur(10px);
}
.session-toolbar__meta small { font-size: clamp(7px,.64vw,9px); }
.session-toolbar__actions button { min-height: 28px; font-size: clamp(7px,.62vw,9px); }
.console-status {
  position: absolute;
  top: 44px;
  right: 2px;
  width: min(34%, 310px);
  min-height: 45px;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 9px;
}
.console-status div strong { font-size: clamp(10px,.9vw,13px); }
.console-status p { font-size: clamp(9px,.76vw,11px); line-height: 1.35; }
.action-history { display: none; }

/* Main decision frame: always centered at the lower edge, like the rail in front of the player. */
.action-dock {
  position: absolute;
  bottom: 0;
  width: min(76%, 760px);
  padding: 6px 8px 7px;
  border-radius: 13px 13px 7px 7px;
  background: linear-gradient(180deg,rgba(10,13,16,.95),rgba(4,6,8,.98));
  border: 1px solid rgba(224,197,137,.20);
  box-shadow: 0 -9px 30px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.025);
  opacity: .82;
  z-index: 60;
}
.action-dock.is-live {
  opacity: 1;
  border-color: rgba(234,215,172,.52);
  box-shadow: 0 -12px 34px rgba(0,0,0,.46), 0 0 22px rgba(199,170,112,.12);
}
.decision-strip {
  grid-template-columns: repeat(3,1fr);
  margin-bottom: 5px;
}
.decision-strip span { padding: 4px 6px; border-radius: 6px; }
.decision-strip small { letter-spacing: .03em; }
.decision-strip strong { margin-top: 1px; font-size: clamp(10px,.88vw,13px); }
.action-buttons { grid-template-columns: repeat(4,1fr); gap: 6px; }
.action-button {
  min-height: 43px;
  padding: 5px 5px;
  border-radius: 8px;
  font-size: clamp(12px,1.12vw,16px);
  font-weight: 700;
  letter-spacing: .025em;
}
.action-button--fold { color: #c3a3a8; }
.action-button--raise { color: #f0d9a7; }
.action-button--allin { color: #e2a4b2; }

.bet-sizing {
  margin-bottom: 4px;
  padding: 4px 6px 3px;
  border-radius: 7px;
}
.bet-sizing__readout small { font-size: 7px; }
.bet-sizing__readout strong { font-size: clamp(11px,.95vw,14px); }
.bet-sizing__readout > em { font-size: clamp(8px,.70vw,10px); }
.bb-stepper button { min-height: 26px; font-size: 8px; }
.raise-slider { height: 16px; margin-top: 2px; }
.raise-range { font-size: 7px; }
.raise-presets { gap: 4px; margin-bottom: 4px; }
.raise-presets button { min-height: 29px; padding: 3px 2px; font-size: clamp(8px,.72vw,10px); }

.deal-controls {
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: min(48%, 430px);
  transform: translateX(-50%);
  z-index: 65;
}
.primary-game-button { min-height: 48px; font-size: clamp(11px,1vw,14px); font-weight: 700; }
.hand-result {
  position: absolute;
  top: 96px;
  width: min(34%,310px);
  max-height: 44%;
  overflow: auto;
  padding: 7px 8px;
  border-radius: 9px;
}
.hand-result p { font-size: 8px; }
.result-winner strong,.result-winner b { font-size: clamp(10px,.86vw,13px); }
.result-winner small,.result-pot span,.result-pot small { font-size: 8px; }

.table-footer { height: 4.5%; font-size: clamp(7px,.60vw,9px); }

@media (max-width: 760px) and (orientation: landscape) {
  .screen--table { padding-left: calc(5px + var(--safe-left)); padding-right: calc(5px + var(--safe-right)); }
  .table-header { height: 10%; min-height: 36px; }
  .table-header__title p { display: none; }
  .table-header__title h2 { font-size: 14px; }
  .table-header__meta > span:first-child { display: none; }
  .table-header__meta > span { font-size: 7px; }
  .sound-toggle { min-width: 44px; min-height: 26px; font-size: 8px; }
  .live-game { height: 86%; padding-bottom: 66px; }
  .live-table-wrap { bottom: 61px; }
  .live-table { width: 97%; aspect-ratio: 2.52 / 1; }
  .live-seat { min-width: 66px; min-height: 51px; padding: 4px 4px 6px; }
  .ls6 { bottom: 13%; width: 19.5%; }
  .ls4,.ls5 { bottom: 11%; }
  .seat-hole { height: 27px; }
  .seat-hole .playing-card { width: clamp(20px,3vw,26px); }
  .playing-card b { font-size: 10px; }
  .playing-card i { font-size: 13px; }
  .seat-meta strong { font-size: 9px; }
  .seat-meta small { font-size: 8px; }
  .seat-action { font-size: 8px; bottom: -11px; }
  .position-marker { font-size: 8px; top: -12px; }
  .live-board { top: 44.5%; min-height: 58px; gap: 5px; }
  .live-board .playing-card { width: clamp(35px,5.45vw,43px); }
  .live-pot { top: 60%; min-width: 76px; }
  .live-pot strong { font-size: 14px; }
  .tb6 { left: 40%; }
  .session-toolbar { width: 32%; min-height: 34px; padding: 4px 5px; }
  .session-toolbar__meta { display: none; }
  .session-toolbar__actions { justify-content: flex-end; width: 100%; }
  .session-toolbar__actions button { min-height: 25px; padding: 0 5px; font-size: 7px; }
  .console-status { top: 39px; width: 31%; min-height: 40px; padding: 4px 5px; }
  .console-status div small { display: none; }
  .console-status div strong { font-size: 10px; }
  .console-status p { font-size: 8px; }
  .hand-result { top: 83px; width: 31%; }
  .action-dock { width: 86%; padding: 5px 6px 6px; }
  .decision-strip { gap: 3px; margin-bottom: 4px; }
  .decision-strip span { padding: 3px 4px; }
  .decision-strip small { font-size: 7px; }
  .decision-strip strong { font-size: 10px; }
  .action-buttons { gap: 4px; }
  .action-button { min-height: 38px; border-radius: 7px; }
  .bet-sizing { padding: 3px 4px 2px; }
  .bet-sizing__readout small,.raise-range { display: none; }
  .bet-sizing__readout strong { font-size: 11px; }
  .bb-stepper button { min-height: 23px; font-size: 7px; }
  .raise-presets { gap: 3px; margin-bottom: 3px; }
  .raise-presets button { min-height: 25px; font-size: 8px; }
  .deal-controls { width: 55%; }
  .primary-game-button { min-height: 42px; font-size: 11px; }
  .table-footer { display: none; }
}

/* v0.10.1 final rail tuning: the player seat sits just above the controls. */
.ls6 { bottom: 22%; }
.tb6 { left: 41%; }
.decision-strip span {
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 2px 4px;
}
.decision-strip small { display: inline; font-size: 7px; }
.decision-strip strong { display: inline; margin-top: 0; font-size: 10px; }
.action-button { min-height: 38px; }

/* Raise sizing floats above the main rail instead of making the rail cover the player's cards. */
.action-dock.can-size .bet-sizing {
  position: absolute;
  left: 4%;
  right: 4%;
  margin: 0;
  background: rgba(6,9,11,.96);
  box-shadow: 0 -8px 20px rgba(0,0,0,.28);
}
.action-dock.can-size .raise-presets {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: calc(100% + 57px);
  margin: 0;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 7px;
  background: rgba(6,9,11,.94);
}

@media (max-width:760px) and (orientation:landscape) {
  .ls6 { bottom: 24%; }
  .tb6 { top: 70%; }
  .human-betting-line { top: 73%; }
  .decision-strip span { min-height: 21px; gap: 3px; }
  .decision-strip small { font-size: 6.5px; }
  .action-dock.can-size .raise-presets { bottom: calc(100% + 50px); }
}

/* When sizing a raise, keep the center sightline to the player's hole cards clear. */
.action-dock.can-size .bet-sizing {
  width: 38%;
  bottom: calc(100% + 4px);
}
.action-dock.can-size .raise-presets {
  width: 38%;
  bottom: calc(100% + 4px);
}
@media (max-width:760px) and (orientation:landscape) {
  .action-dock.can-size .bet-sizing { width: 40%; }
  .action-dock.can-size .raise-presets { width: 40%; grid-template-columns: repeat(2,1fr); }
}

/* =========================================================
   CASINOIR v0.10.2 — LUXURY TABLE / ZERO OVERLAP / EXCITEMENT
   Brighter integrated-resort atmosphere, larger readable elements,
   and a clean player rail that never collides with the action controls.
   ========================================================= */
:root {
  --bg: #0b0b0c;
  --bg-2: #151211;
  --panel: rgba(22, 18, 15, .88);
  --line: rgba(255, 235, 192, .15);
  --line-strong: rgba(255, 221, 150, .43);
  --text: #fff9eb;
  --muted: #d0c2aa;
  --muted-2: #9b8e77;
  --gold: #d9ad52;
  --gold-2: #ffe1a1;
  --wine: #a31638;
  --wine-soft: #641128;
  --felt: #11725c;
  --felt-2: #0c5b49;
  --felt-3: #073c32;
}

/* Global casino atmosphere: warmer, brighter, premium without becoming arcade-like. */
.screen--landing,
.screen--floor,
.screen--poker-room,
.screen--table {
  background-color: #0b0b0c;
  background-image:
    radial-gradient(circle at 16% 10%, rgba(205,43,79,.16), transparent 26%),
    radial-gradient(circle at 83% 5%, rgba(255,196,93,.18), transparent 27%),
    radial-gradient(circle at 50% 118%, rgba(23,126,101,.23), transparent 42%),
    linear-gradient(145deg, #13110f 0%, #101315 44%, #0a0c0d 100%);
}
.screen--landing::after,
.screen--floor::before,
.screen--table::before {
  background:
    linear-gradient(90deg, rgba(93,10,30,.22), transparent 16%, transparent 84%, rgba(111,77,18,.16)),
    radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,.28) 100%);
}

/* Subtle resort-light architecture. */
.screen--floor::after,
.screen--poker-room::after,
.screen--table::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 8%, rgba(255,219,147,.035) 8% 8.3%, transparent 8.3% 91%, rgba(255,219,147,.035) 91% 91.3%, transparent 91.3%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 25%);
  mix-blend-mode: screen;
  z-index: 1;
}

/* Landing / floor cards receive a brighter luxury-material treatment. */
.table-hero,
.rail-card,
.poker-room-host,
.poker-table-card,
.poker-room-note,
.cash-flow-panel {
  border-color: rgba(239,199,112,.24);
  background: linear-gradient(155deg, rgba(39,31,25,.90), rgba(16,17,18,.93));
  box-shadow: 0 18px 50px rgba(0,0,0,.32), inset 0 1px rgba(255,244,217,.05);
}
.table-hero,
.poker-table-card { position: relative; overflow: hidden; }
.table-hero::before,
.poker-table-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 22%, rgba(255,225,156,.08) 42%, transparent 59%);
  transform: translateX(-110%);
  animation: casinoirLuxurySweep 7.5s ease-in-out infinite;
}
@keyframes casinoirLuxurySweep {
  0%, 58% { transform: translateX(-115%); opacity: 0; }
  68% { opacity: .7; }
  84%,100% { transform: translateX(115%); opacity: 0; }
}

/* Live table: brighter emerald felt + visible champagne-gold rail. */
.screen--table { overflow: hidden; }
.table-room-glow {
  opacity: 1;
  background:
    radial-gradient(ellipse at center, rgba(255,206,112,.22), rgba(255,206,112,.035) 38%, transparent 72%);
  filter: blur(20px);
}
.live-table {
  border-color: #3a2918;
  background:
    radial-gradient(ellipse at 50% 37%, rgba(255,255,225,.10), transparent 27%),
    radial-gradient(ellipse at 50% 58%, #13735d 0%, #0d5b49 51%, #073a30 100%);
  box-shadow:
    0 28px 64px rgba(0,0,0,.48),
    0 0 0 2px rgba(255,211,119,.52),
    0 0 34px rgba(221,170,66,.17),
    inset 0 0 84px rgba(0,0,0,.24),
    inset 0 0 34px rgba(255,242,210,.025);
}
.live-table::before {
  content: "";
  position: absolute;
  inset: 2.2%;
  border-radius: 50%;
  border: 1px solid rgba(255,224,158,.22);
  box-shadow: inset 0 0 24px rgba(255,224,158,.035);
  pointer-events: none;
}
.live-table::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%; top: 5%; height: 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,229,171,.10), transparent 66%);
  filter: blur(8px);
  pointer-events: none;
}
.live-table__inner { border-color: rgba(255,231,178,.23); }
.live-table__inner::after { border-color: rgba(255,255,255,.07); }
.live-table__brand { color: rgba(255,234,185,.34); text-shadow: 0 2px 10px rgba(0,0,0,.24); }
.live-table__brand span { color: rgba(255,201,86,.67); }

/* Readability: brighter player panels and stronger typography. */
.live-seat {
  border-color: rgba(255,239,205,.17);
  background: linear-gradient(180deg, rgba(33,28,24,.97), rgba(15,15,15,.98));
  box-shadow: 0 9px 22px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.045);
}
.seat-meta strong { color: #fff7e8; text-shadow: 0 1px 4px rgba(0,0,0,.36); }
.seat-meta small { color: #d6c7ad; }
.seat-action {
  background: rgba(25,19,16,.95);
  border-color: rgba(255,224,160,.16);
  color: #d2c3aa;
}
.position-marker { color: #ffe09b; text-shadow: 0 2px 8px rgba(0,0,0,.38); }

/* YOU: remove the bulky black rectangle. Cards + compact gold identity pill only. */
.live-seat--you {
  width: 19%;
  min-width: 112px;
  min-height: 62px;
  padding: 0 4px 2px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  z-index: 20;
}
.live-seat--you::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 78%;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(255,218,132,.42);
  background: linear-gradient(180deg, rgba(55,40,25,.94), rgba(20,17,14,.96));
  box-shadow: 0 7px 18px rgba(0,0,0,.32), inset 0 1px rgba(255,245,219,.08), 0 0 14px rgba(220,169,64,.08);
  z-index: -1;
}
.live-seat--you .seat-hole {
  height: 42px;
  margin-bottom: 2px;
  filter: drop-shadow(0 7px 10px rgba(0,0,0,.28));
}
.live-seat--you .seat-hole .playing-card { width: clamp(29px,3.45vw,44px); }
.live-seat--you .seat-meta { margin: 0 auto; width: 72%; position: relative; z-index: 2; }
.live-seat--you .seat-meta strong { color: #ffe4a5; font-size: clamp(10px,.93vw,13px); }
.live-seat--you .seat-meta small { color: #fff2d2; font-size: clamp(9px,.78vw,11px); }
.live-seat--you .seat-action {
  top: -14px;
  min-width: 64%;
  color: #ffe3a0;
  background: rgba(84,55,20,.90);
  border-color: rgba(255,220,139,.36);
}

/* Geometry: reserve a real player zone above the control rail. */
.live-game { padding-bottom: 78px; }
.live-table-wrap { inset: 0 0 76px 0; }
.live-table { width: min(96%, 1160px); }
.ls6 { bottom: 3.5%; transform: translateX(-50%) rotateX(-7deg); }
.ls6.is-current { transform: translateX(-50%) rotateX(-7deg) translateY(-2px); }
.ls4,.ls5 { bottom: 11%; }
.tb6 { left: 38%; top: 78%; }
.human-betting-line { top: 81%; width: 31%; border-color: rgba(255,224,157,.28); }
.human-betting-line span { color: rgba(255,231,175,.50); }
.human-bet-preview { top: 70%; }
.live-pot {
  top: 61%;
  background: linear-gradient(180deg, rgba(15,58,47,.78), rgba(5,32,27,.86));
  border-color: rgba(255,224,156,.18);
  box-shadow: 0 7px 18px rgba(0,0,0,.20), 0 0 18px rgba(224,174,69,.08);
}
.live-pot span { color: #d8c28e; }
.live-pot strong { color: #fff0c6; }

/* Central player rail: prominent, premium, but does not invade the table. */
.action-dock {
  width: min(72%, 760px);
  bottom: 2px;
  border-radius: 16px 16px 9px 9px;
  background:
    linear-gradient(180deg, rgba(46,35,24,.97), rgba(17,16,15,.99));
  border: 1px solid rgba(255,218,134,.36);
  box-shadow:
    0 -9px 28px rgba(0,0,0,.32),
    0 0 0 1px rgba(0,0,0,.25),
    inset 0 1px rgba(255,247,224,.07),
    0 0 22px rgba(219,166,59,.07);
}
.action-dock::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,225,158,.7), transparent);
}
.decision-strip span {
  background: rgba(255,236,199,.045);
  border: 1px solid rgba(255,227,171,.08);
}
.decision-strip small { color: #bea982; }
.decision-strip strong { color: #fff3d5; }
.action-button {
  border-color: rgba(255,236,202,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  color: #fff7e8;
  text-shadow: 0 1px 4px rgba(0,0,0,.34);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.action-button:not(:disabled):active { transform: translateY(1px) scale(.985); }
.action-button--fold { color: #f0c7ca; background: linear-gradient(180deg,rgba(95,38,46,.30),rgba(48,22,27,.28)); }
.action-button--raise { color: #ffe1a1; background: linear-gradient(180deg,rgba(132,92,28,.35),rgba(59,42,21,.34)); }
.action-button--allin { color: #ffd8df; background: linear-gradient(180deg,rgba(154,24,57,.50),rgba(84,13,35,.48)); border-color: rgba(221,74,109,.40); }
.action-dock.is-live {
  border-color: rgba(255,226,158,.74);
  box-shadow: 0 -11px 31px rgba(0,0,0,.38), 0 0 28px rgba(236,184,73,.16), inset 0 1px rgba(255,250,231,.10);
}

/* Excitement = light, rhythm, and focus — never slot-machine explosions. */
.live-game:has(.action-dock.is-live) .live-table {
  animation: casinoirYourTurnTable 1.85s ease-in-out infinite;
}
@keyframes casinoirYourTurnTable {
  0%,100% { box-shadow: 0 28px 64px rgba(0,0,0,.48),0 0 0 2px rgba(255,211,119,.52),0 0 34px rgba(221,170,66,.16),inset 0 0 84px rgba(0,0,0,.24); }
  50% { box-shadow: 0 30px 70px rgba(0,0,0,.50),0 0 0 2px rgba(255,225,154,.78),0 0 48px rgba(236,183,68,.27),inset 0 0 84px rgba(0,0,0,.21); }
}
.live-seat.is-current:not(.live-seat--you) {
  border-color: rgba(255,225,158,.72);
  background: linear-gradient(180deg, rgba(56,43,28,.98), rgba(20,18,16,.98));
}
.live-seat.is-human-turn .seat-hole .playing-card {
  box-shadow: 0 8px 18px rgba(0,0,0,.40), 0 0 0 1px rgba(255,225,150,.72), 0 0 20px rgba(239,185,70,.19);
}
.live-seat.is-winner {
  border-color: rgba(116,220,174,.92);
  background: linear-gradient(180deg, rgba(24,77,60,.98), rgba(13,35,29,.98));
  box-shadow: 0 11px 30px rgba(0,0,0,.38),0 0 28px rgba(94,207,157,.28),inset 0 1px rgba(255,255,255,.06);
}
.live-seat.is-winner .seat-meta strong { color: #d8ffec; }
.street-curtain.is-showing {
  color: #fff1c7;
  text-shadow: 0 2px 16px rgba(238,184,68,.48);
  filter: drop-shadow(0 0 16px rgba(238,184,68,.18));
}
.live-board .playing-card.is-new-card {
  box-shadow: 0 10px 24px rgba(0,0,0,.40), 0 0 0 1px rgba(255,222,147,.42), 0 0 21px rgba(236,183,68,.15);
}

/* Header / lightweight overlays remain readable on brighter felt. */
.table-header__meta > span,
.sound-toggle,
.session-toolbar,
.console-status,
.hand-result {
  background: linear-gradient(180deg, rgba(38,30,24,.90), rgba(17,16,15,.92));
  border-color: rgba(255,224,161,.18);
  color: #f7ead0;
}
.console-status p { color: #e2d5bf; }
.console-status div strong { color: #ffe1a0; }

/* 844x390-class phones */
@media (max-width: 980px) and (max-height: 460px) and (orientation: landscape) {
  .live-game { padding-bottom: 72px; }
  .live-table-wrap { inset: 0 0 70px 0; }
  .live-table { width: 97%; aspect-ratio: 2.48 / 1; }
  .live-seat--you { width: 19%; min-width: 104px; }
  .live-seat--you .seat-hole { height: 37px; }
  .live-seat--you .seat-hole .playing-card { width: clamp(26px,3.2vw,39px); }
  .ls6 { bottom: 4%; }
  .tb6 { left: 38%; top: 77%; }
  .human-betting-line { top: 80%; }
  .human-bet-preview { top: 69%; }
  .action-dock { width: 74%; }
}

/* 667x375-class phones */
@media (max-width: 760px) and (orientation: landscape) {
  .screen--table { padding-left: calc(4px + var(--safe-left)); padding-right: calc(4px + var(--safe-right)); }
  .live-game { padding-bottom: 65px; }
  .live-table-wrap { inset: 0 0 63px 0; }
  .live-table { width: 99%; aspect-ratio: 2.58 / 1; }
  .live-seat { min-width: 64px; min-height: 49px; }
  .live-seat--you { width: 19%; min-width: 94px; min-height: 55px; }
  .live-seat--you::before { width: 82%; height: 25px; }
  .live-seat--you .seat-hole { height: 34px; }
  .live-seat--you .seat-hole .playing-card { width: clamp(24px,3.55vw,32px); }
  .live-seat--you .seat-meta strong { font-size: 9px; }
  .live-seat--you .seat-meta small { font-size: 8px; }
  .ls6 { bottom: 4%; }
  .ls4,.ls5 { bottom: 12%; }
  .live-board { top: 43.5%; }
  .live-pot { top: 58%; }
  .tb6 { left: 37.5%; top: 76%; }
  .human-betting-line { top: 79%; }
  .human-bet-preview { top: 67%; }
  .action-dock { padding: 4px 5px 5px; }
  .action-button { min-height: 36px; font-size: 11px; }
  .decision-strip span { min-height: 20px; }
  .session-toolbar { background: rgba(33,27,23,.90); }
  .console-status { background: rgba(33,27,23,.90); }
}

@media (prefers-reduced-motion: reduce) {
  .table-hero::before,
  .poker-table-card::before,
  .live-game:has(.action-dock.is-live) .live-table { animation: none !important; }
}

/* v0.10.2 geometry lock — final separation of YOU / POT / ACTION RAIL. */
.live-pot { top: 54.5%; }
.ls6 {
  bottom: clamp(42px, 8vw, 62px);
}
.tb6 { left: 39%; }
.human-betting-line { top: 75%; }
.human-bet-preview { top: 64%; }

.action-dock {
  width: min(70%, 720px);
  padding: 4px 7px 5px;
}
.decision-strip { margin-bottom: 3px; gap: 4px; }
.decision-strip span { min-height: 18px; padding: 1px 4px; }
.decision-strip small { font-size: clamp(6px,.56vw,8px); }
.decision-strip strong { font-size: clamp(9px,.80vw,12px); }
.action-button { min-height: 34px; padding-top: 3px; padding-bottom: 3px; }

@media (max-width: 980px) and (max-height: 460px) and (orientation: landscape) {
  .live-pot { top: 53%; }
  .ls6 { bottom: clamp(48px, 7.35vw, 62px); }
  .tb6 { left: 38.5%; top: 71%; }
  .human-betting-line { top: 74%; }
  .human-bet-preview { top: 63%; }
  .action-dock { width: 72%; }
  .decision-strip span { min-height: 17px; }
  .action-button { min-height: 34px; }
}

@media (max-width: 760px) and (orientation: landscape) {
  .live-pot { top: 52.5%; }
  .ls6 { bottom: clamp(43px, 7.8vw, 52px); }
  .tb6 { left: 38%; top: 70%; }
  .human-betting-line { top: 73%; }
  .human-bet-preview { top: 61.5%; }
  .action-dock { width: 82%; }
  .decision-strip { margin-bottom: 2px; }
  .decision-strip span { min-height: 16px; }
  .decision-strip small { font-size: 6px; }
  .decision-strip strong { font-size: 8.5px; }
  .action-button { min-height: 33px; }
}

/* v0.10.2 POT lane: chips sit beside the board, never on top of YOU. */
.live-pot { left: 64%; }
@media (max-width: 760px) and (orientation: landscape) {
  .live-pot { left: 65%; }
}
.live-pot { left: 67%; }
@media (max-width: 760px) and (orientation: landscape) { .live-pot { left: 68%; } }

/* =========================================================
   CASINOIR v0.11.0 — CHARACTER HOME / CASINO LOBBY
   Luxury IR lobby, character-first home, future-ready nav.
   ========================================================= */
.screen--home {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,215,132,.25), transparent 22%),
    radial-gradient(circle at 15% 8%, rgba(200,36,59,.16), transparent 27%),
    linear-gradient(180deg,#06251d 0%,#0d2f27 27%,#17130f 68%,#080a09 100%);
}
.screen--home::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(90deg,rgba(0,0,0,.46),transparent 15%,transparent 84%,rgba(0,0,0,.38)),
    radial-gradient(ellipse at 50% 42%,transparent 24%,rgba(0,0,0,.14) 70%,rgba(0,0,0,.48) 100%);
  z-index:1;
}
.screen--home::after {
  content:""; position:absolute; left:-4%; right:-4%; top:24%; height:58%; pointer-events:none;
  background:
    repeating-linear-gradient(90deg,transparent 0 8.7%,rgba(231,188,102,.11) 8.7% 9.05%,transparent 9.05% 17.7%),
    linear-gradient(180deg,rgba(40,26,19,.2),rgba(6,10,8,.02));
  border-top:1px solid rgba(232,194,113,.18);
  opacity:.86; z-index:0;
}
.home-lobby-lights { position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.home-lobby-lights i { position:absolute; top:8%; width:clamp(56px,8vw,118px); aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(255,245,210,.96) 0 2%,rgba(255,207,116,.62) 3% 6%,rgba(255,182,71,.16) 7% 24%,transparent 55%); filter:blur(.25px); opacity:.72; }
.home-lobby-lights i:nth-child(1){left:7%}.home-lobby-lights i:nth-child(2){left:27%;top:3%;transform:scale(.72)}.home-lobby-lights i:nth-child(3){left:48%;top:6%;transform:scale(.84)}.home-lobby-lights i:nth-child(4){right:23%;top:2%;transform:scale(.68)}.home-lobby-lights i:nth-child(5){right:5%;top:8%;transform:scale(.9)}
.home-lobby-architecture { position:absolute; left:0; right:0; top:18%; height:54%; z-index:0; pointer-events:none; opacity:.72; background:
  linear-gradient(90deg,rgba(111,75,42,.30) 0 3%,transparent 3% 12%,rgba(111,75,42,.24) 12% 15%,transparent 15% 26%,rgba(111,75,42,.22) 26% 29%,transparent 29% 71%,rgba(111,75,42,.20) 71% 74%,transparent 74% 86%,rgba(111,75,42,.24) 86% 89%,transparent 89% 97%,rgba(111,75,42,.30) 97% 100%),
  linear-gradient(180deg,rgba(237,196,115,.15),transparent 8%,transparent 82%,rgba(237,196,115,.10));
}
.home-carpet { position:absolute; left:-10%; right:-10%; bottom:0; height:36%; z-index:0; transform:perspective(650px) rotateX(66deg); transform-origin:bottom center; background:
  linear-gradient(90deg,transparent 47%,rgba(224,177,91,.21) 48% 52%,transparent 53%),
  repeating-linear-gradient(90deg,rgba(122,15,37,.88) 0 12%,rgba(94,12,31,.94) 12% 24%),
  linear-gradient(180deg,#7d132c,#3b0b17); box-shadow:0 -18px 80px rgba(242,188,91,.12); opacity:.66;
}
.home-topbar { position:relative; z-index:8; height:15%; min-height:56px; display:grid; grid-template-columns:minmax(150px,1.25fr) minmax(120px,.72fr) minmax(120px,.7fr) minmax(100px,.58fr) auto; gap:.55rem; align-items:center; padding:calc(6px + var(--safe-top)) calc(16px + var(--safe-right)) 4px calc(16px + var(--safe-left)); background:linear-gradient(180deg,rgba(4,18,14,.96),rgba(4,18,14,.78)); border-bottom:1px solid rgba(235,192,99,.58); box-shadow:0 10px 35px rgba(0,0,0,.33),inset 0 -1px rgba(255,255,255,.03); }
.home-brand { display:grid; grid-template-columns:auto auto; grid-template-rows:auto auto; align-items:center; width:max-content; position:relative; padding-left:.15rem; }
.home-brand__crown { position:absolute; left:.6rem; top:-.48rem; color:#f2cf7a; font-size:clamp(.7rem,1.4vw,1.25rem); text-shadow:0 0 14px rgba(248,197,93,.44); }
.home-brand strong { grid-column:1/3; color:#f5d78c; font-family:Georgia,"Times New Roman",serif; font-size:clamp(1.05rem,2.15vw,2.15rem); line-height:.9; letter-spacing:.035em; text-shadow:0 2px 0 #5a3312,0 0 17px rgba(237,187,83,.27); }
.home-brand strong span { color:#fff0bd; }
.home-brand small { grid-column:1/3; margin-top:.18rem; color:#d0a855; font-size:clamp(.38rem,.55vw,.52rem); letter-spacing:.25em; text-align:center; }
.home-profile { min-width:0; height:42px; display:flex; align-items:center; gap:.48rem; padding:.2rem .55rem .2rem .3rem; border:1px solid rgba(234,192,103,.48); border-radius:999px; background:linear-gradient(180deg,rgba(21,27,22,.92),rgba(7,12,10,.92)); box-shadow:inset 0 0 13px rgba(239,199,111,.07); }
.home-avatar { width:34px; height:34px; overflow:hidden; border-radius:50%; border:2px solid #dfb65e; background:#203127; flex:none; }
.home-avatar img { width:100%; height:120%; object-fit:cover; object-position:50% 5%; }
.home-profile__copy { min-width:0; display:grid; grid-template-columns:auto auto; gap:0 .3rem; align-items:center; }
.home-profile__copy small { color:#d8d0be; font-size:clamp(.48rem,.64vw,.62rem); white-space:nowrap; }
.home-profile__copy strong { color:#f1d382; font-size:clamp(.56rem,.78vw,.72rem); white-space:nowrap; }
.home-profile__copy span { grid-column:1/3; width:100%; height:5px; overflow:hidden; border-radius:99px; background:#362d23; box-shadow:inset 0 1px 2px #000; }
.home-profile__copy span i { display:block; width:24%; height:100%; background:linear-gradient(90deg,#ad1830,#f14c4e); box-shadow:0 0 8px rgba(235,52,69,.4); }
.home-wallet { min-width:0; height:38px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.42rem; padding:.15rem .3rem .15rem .45rem; border:1px solid rgba(234,192,103,.42); border-radius:.7rem; background:linear-gradient(180deg,rgba(15,23,18,.94),rgba(5,11,8,.94)); }
.home-wallet > span { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; color:#fff; font-size:.65rem; font-weight:800; }
.wallet-chip { background:radial-gradient(circle,#fff 0 15%,#ce1f31 16% 44%,#fff 45% 55%,#b61628 56%); box-shadow:0 0 0 2px #6b1420; }
.wallet-coin { background:radial-gradient(circle,#ffe493,#c98f28 70%); color:#6e4510!important; box-shadow:0 0 0 2px #6d4c1c; }
.home-wallet strong { min-width:0; overflow:hidden; text-overflow:ellipsis; color:#f7ebcc; font-size:clamp(.65rem,1.15vw,1rem); text-align:right; letter-spacing:.04em; }
.home-wallet button { width:25px; height:25px; border:0; border-radius:50%; background:linear-gradient(180deg,#f0cd79,#b98231); color:#2b1909; font-weight:900; cursor:pointer; box-shadow:inset 0 0 0 1px #ffe8a8; }
.home-utils { display:flex; gap:.32rem; }
.home-utils button { position:relative; width:34px; height:34px; border:1px solid rgba(234,192,103,.52); border-radius:.62rem; background:rgba(7,16,12,.88); color:#f2d687; font-size:1rem; cursor:pointer; box-shadow:inset 0 0 10px rgba(236,191,94,.05); }
.home-utils em { position:absolute; right:-4px; top:-5px; min-width:15px; height:15px; display:grid; place-items:center; padding:0 3px; border-radius:99px; background:#e22c2e; color:#fff; font-size:.52rem; font-style:normal; font-weight:800; }
.home-stage { position:relative; z-index:3; height:70%; display:grid; grid-template-columns:minmax(0,50%) minmax(0,50%); padding:1.1% 2.2% 0; }
.home-game-zone { position:relative; z-index:4; min-width:0; padding:.25rem .55rem 4.2rem .15rem; }
.home-kicker { display:inline-flex; margin:0; padding:.22rem .7rem; transform:skewX(-13deg); background:linear-gradient(180deg,#f1c76b,#a96b21); color:#351b05; border:1px solid #ffdf8e; box-shadow:0 4px 12px rgba(0,0,0,.25); font-weight:800; font-size:clamp(.5rem,.75vw,.67rem); }
.home-game-zone h1 { margin:.36rem 0 .42rem; color:#f6ecd5; font-size:clamp(.8rem,1.28vw,1.15rem); letter-spacing:.08em; text-shadow:0 2px 12px #000; }
.home-featured-game { position:relative; height:54%; min-height:124px; display:grid; grid-template-columns:34% 1fr; grid-template-rows:1fr auto; border:2px solid #dca94d; border-radius:1.05rem; overflow:hidden; background:linear-gradient(105deg,rgba(4,42,29,.98),rgba(3,20,15,.98) 70%); box-shadow:0 12px 32px rgba(0,0,0,.48),0 0 0 3px rgba(53,29,8,.7),inset 0 0 35px rgba(227,183,83,.08); }
.home-featured-game::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 72% 26%,rgba(241,197,90,.16),transparent 28%),linear-gradient(120deg,transparent 0 70%,rgba(255,255,255,.05) 70% 100%); pointer-events:none; }
.home-featured-art { position:relative; grid-row:1/3; min-width:0; overflow:hidden; background:radial-gradient(circle at 48% 70%,rgba(205,41,53,.14),transparent 54%); }
.home-chip-stack { position:absolute; left:10%; bottom:18%; width:46%; height:44%; }
.home-chip-stack i { position:absolute; left:0; bottom:0; width:70%; aspect-ratio:2.4/1; border-radius:50%; border:3px dashed #fff0c6; background:radial-gradient(ellipse,#c41c31 0 55%,#f0d39a 56% 66%,#8f1326 67%); box-shadow:0 5px 8px rgba(0,0,0,.38); }
.home-chip-stack i:nth-child(2){bottom:12%;left:6%}.home-chip-stack i:nth-child(3){bottom:24%;left:0}.home-chip-stack i:nth-child(4){bottom:36%;left:7%}
.home-hole-card { position:absolute; top:10%; width:35%; height:56%; padding:.25rem; border-radius:.42rem; background:#f8f4e9; color:#191817; border:1px solid #d3c8b6; box-shadow:0 9px 16px rgba(0,0,0,.35); transform:rotate(-7deg); }
.home-hole-card b { display:block; font-size:clamp(.85rem,1.55vw,1.38rem); line-height:.8; }.home-hole-card span{font-size:clamp(.85rem,1.45vw,1.3rem)}
.home-hole-card--one { right:24%; }.home-hole-card--two { right:7%; top:14%; transform:rotate(8deg); color:#a7192c; }
.home-featured-copy { position:relative; z-index:2; align-self:center; min-width:0; padding:.55rem .55rem .2rem 0; }
.home-featured-copy small { display:block; color:#d7bc79; font-size:clamp(.42rem,.62vw,.54rem); letter-spacing:.07em; }.home-featured-copy strong { display:block; margin:.18rem 0 .28rem; color:#f9e5ad; font-size:clamp(1rem,2.05vw,1.75rem); line-height:1.02; text-shadow:0 2px 12px #000; }.home-featured-copy span { display:block; color:#eee5d5; font-size:clamp(.46rem,.68vw,.61rem); }
.home-floor-button { position:relative; z-index:3; grid-column:2; margin:0 .55rem .52rem 0; min-height:38px; display:flex; align-items:center; justify-content:center; gap:1rem; border:1px solid #f1c96e; border-radius:.55rem; background:linear-gradient(180deg,#b92739,#7c1327); color:#fff3d2; font-weight:800; font-size:clamp(.62rem,.9vw,.78rem); letter-spacing:.08em; cursor:pointer; box-shadow:0 5px 0 #47101b,0 7px 16px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.2); }
.home-floor-button:active { transform:translateY(2px); box-shadow:0 3px 0 #47101b,0 5px 12px rgba(0,0,0,.3); }.home-floor-button b{color:#f5d678;font-size:1.05rem}
.home-coming-games { display:grid; grid-template-columns:1fr 1fr; gap:.55rem; margin-top:.52rem; }
.home-coming-games button { position:relative; min-width:0; height:54px; text-align:left; padding:.4rem .55rem; border:1px solid rgba(223,176,77,.63); border-radius:.65rem; background:linear-gradient(120deg,rgba(37,19,50,.93),rgba(13,21,25,.94)); color:#fff; cursor:pointer; box-shadow:0 7px 17px rgba(0,0,0,.32),inset 0 0 17px rgba(217,174,74,.04); overflow:hidden; }
.home-coming-games button:nth-child(2){background:linear-gradient(120deg,rgba(8,54,58,.95),rgba(7,23,25,.96))}.home-coming-games span{display:block;color:#f2d789;font-weight:800;font-size:clamp(.59rem,.9vw,.77rem)}.home-coming-games small{display:block;margin-top:.12rem;color:#ddd3c2;font-size:clamp(.42rem,.58vw,.52rem)}.home-coming-games i{position:absolute;right:.45rem;top:.38rem;color:#ad9c7e;font-size:.42rem;font-style:normal;border:1px solid rgba(255,255,255,.12);border-radius:99px;padding:.12rem .3rem}
.home-host-zone { position:relative; min-width:0; height:100%; overflow:visible; }
.home-host-halo { position:absolute; left:48%; top:43%; width:68%; aspect-ratio:1; transform:translate(-50%,-50%); border-radius:50%; background:radial-gradient(circle,rgba(255,220,142,.23),rgba(174,96,30,.09) 35%,transparent 68%); filter:blur(10px); }
.home-casinon { position:absolute; z-index:2; right:8%; bottom:-7%; height:108%; max-width:63%; object-fit:contain; filter:drop-shadow(0 18px 18px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(234,190,92,.12)); }
.home-dialogue { position:absolute; z-index:4; top:9%; right:1%; width:min(42%,240px); padding:.6rem .75rem .68rem; border:2px solid #c58f3e; border-radius:1.1rem; background:linear-gradient(180deg,rgba(255,250,237,.98),rgba(242,227,196,.97)); color:#291c13; box-shadow:0 10px 24px rgba(0,0,0,.3),inset 0 0 0 3px rgba(255,255,255,.5); }
.home-dialogue::after { content:""; position:absolute; left:-14px; bottom:22%; width:24px; height:24px; background:#f3e5c7; border-left:2px solid #c58f3e; border-bottom:2px solid #c58f3e; transform:rotate(45deg); }.home-dialogue small{color:#a81d2d;font-size:clamp(.44rem,.58vw,.52rem);font-weight:900;letter-spacing:.08em}.home-dialogue p{margin:.25rem 0 0;font-size:clamp(.56rem,.87vw,.74rem);line-height:1.48}.home-dialogue strong{font-size:1.05em}
.home-mission { position:absolute; z-index:6; left:2.2%; bottom:1.9%; width:52%; height:16%; min-height:46px; display:grid; grid-template-columns:48px 1fr auto; align-items:center; gap:.48rem; padding:.25rem .5rem .25rem .15rem; border:1px solid rgba(231,182,80,.68); border-radius:.75rem; background:linear-gradient(180deg,rgba(4,39,30,.96),rgba(3,19,15,.96)); box-shadow:0 8px 22px rgba(0,0,0,.36),inset 0 0 14px rgba(237,188,82,.05); }
.home-mission img { width:47px; height:64px; object-fit:contain; align-self:end; filter:drop-shadow(0 6px 6px #000); }.home-mission div{min-width:0}.home-mission small{display:block;color:#e6c164;font-size:clamp(.4rem,.55vw,.5rem);font-weight:800}.home-mission strong{display:block;margin:.1rem 0;color:#f4ebd5;font-size:clamp(.44rem,.7vw,.6rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-mission div>span{display:inline-block;vertical-align:middle;width:63%;height:5px;overflow:hidden;border-radius:99px;background:#2c2c27}.home-mission div>span i{display:block;height:100%;background:linear-gradient(90deg,#d6263b,#f1aa38)}.home-mission div>b{margin-left:.35rem;color:#d5c5a4;font-size:.43rem}.home-mission button{border:1px solid #e1b65e;border-radius:.38rem;background:linear-gradient(180deg,#e4ba5d,#a9782c);color:#2e1908;font-size:clamp(.42rem,.58vw,.5rem);font-weight:900;padding:.35rem .55rem;cursor:pointer}
.home-event { position:absolute; z-index:5; right:2.2%; bottom:2.1%; width:26%; height:16%; min-height:46px; padding:.38rem .55rem; border:1px solid rgba(232,184,83,.65); border-radius:.75rem; background:radial-gradient(circle at 82% 50%,rgba(222,167,61,.17),transparent 34%),linear-gradient(120deg,rgba(63,26,18,.95),rgba(10,26,21,.95)); box-shadow:0 8px 22px rgba(0,0,0,.35),inset 0 0 16px rgba(232,185,83,.04); }
.home-event small{display:block;color:#d7ad55;font-size:clamp(.4rem,.55vw,.49rem)}.home-event strong{display:block;margin:.08rem 0;color:#ffe2a1;font-size:clamp(.55rem,.84vw,.71rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-event>span{display:block;color:#ddd0bb;font-size:clamp(.38rem,.52vw,.46rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-event-dots{position:absolute;right:.48rem;bottom:.32rem;display:flex;gap:.2rem}.home-event-dots i{width:5px;height:5px;border-radius:50%;background:#675a43}.home-event-dots i.is-active{background:#e9b752;box-shadow:0 0 7px rgba(238,189,85,.7)}
.home-bottom-nav { position:absolute; z-index:10; left:0; right:0; bottom:0; height:15%; min-height:54px; display:grid; grid-template-columns:repeat(5,1fr); padding:0 max(2%,var(--safe-right)) var(--safe-bottom) max(2%,var(--safe-left)); background:linear-gradient(180deg,rgba(3,22,17,.94),rgba(2,13,10,.99)); border-top:1px solid rgba(236,192,100,.65); box-shadow:0 -9px 22px rgba(0,0,0,.30),inset 0 1px rgba(255,255,255,.03); }
.home-bottom-nav button { position:relative; display:flex; align-items:center; justify-content:center; gap:.5rem; min-width:0; border:0; border-left:1px solid rgba(222,174,76,.22); background:transparent; color:#d8c9a8; cursor:pointer; }.home-bottom-nav button:first-child{border-left:0}.home-bottom-nav button span{color:#e8c16a;font-size:clamp(1rem,2vw,1.55rem);line-height:1}.home-bottom-nav button strong{font-size:clamp(.58rem,1.05vw,.88rem);letter-spacing:.04em}.home-bottom-nav button.is-active{background:radial-gradient(ellipse at center,rgba(226,185,85,.22),transparent 72%);color:#fff0c3;box-shadow:inset 0 0 0 2px rgba(232,192,100,.42),inset 0 0 22px rgba(227,182,76,.10)}
.home-toast { position:absolute; z-index:30; left:50%; bottom:17%; transform:translate(-50%,8px); opacity:0; padding:.55rem .9rem; border:1px solid rgba(232,192,99,.68); border-radius:999px; background:rgba(4,19,14,.96); color:#f5e7c8; font-size:clamp(.54rem,.8vw,.68rem); box-shadow:0 10px 26px rgba(0,0,0,.38); transition:opacity .2s ease,transform .2s ease; }.home-toast.is-visible{opacity:1;transform:translate(-50%,0)}

@media (max-width: 980px) and (max-height: 460px) and (orientation: landscape) {
  .home-topbar { height:14.5%; min-height:50px; padding-top:calc(3px + var(--safe-top)); grid-template-columns:minmax(130px,1.08fr) minmax(105px,.72fr) minmax(104px,.72fr) minmax(84px,.56fr) auto; gap:.32rem; }
  .home-profile{height:36px}.home-avatar{width:29px;height:29px}.home-wallet{height:33px}.home-wallet>span{width:20px;height:20px}.home-wallet button{width:21px;height:21px}.home-utils button{width:30px;height:30px}
  .home-stage{height:71%;padding:.7% 1.7% 0}.home-game-zone{padding:.1rem .4rem 3.65rem 0}.home-game-zone h1{margin:.22rem 0 .28rem}.home-featured-game{height:52%;min-height:114px}.home-coming-games{margin-top:.36rem;gap:.38rem}.home-coming-games button{height:46px}.home-casinon{right:6%;height:106%;bottom:-6%}.home-dialogue{top:8%;right:0;padding:.46rem .58rem}.home-mission{left:1.7%;width:53%;height:15%;bottom:1.2%;grid-template-columns:41px 1fr auto;gap:.35rem}.home-mission img{width:41px;height:56px}.home-event{right:1.7%;width:27%;height:15%;bottom:1.2%}.home-bottom-nav{height:14.5%;min-height:50px}.home-bottom-nav button{gap:.36rem}.home-bottom-nav button span{font-size:clamp(.88rem,1.7vw,1.25rem)}
}
@media (max-width: 760px) and (orientation: landscape) {
  .home-topbar{grid-template-columns:120px 100px 92px 76px auto;padding-left:10px;padding-right:10px;gap:.24rem}.home-brand strong{font-size:1.05rem}.home-brand small{display:none}.home-profile{padding-right:.35rem}.home-profile__copy small{display:none}.home-wallet{gap:.25rem;padding-left:.3rem}.home-utils{gap:.2rem}.home-utils button{width:27px;height:27px;font-size:.78rem}.home-utils button:nth-child(2){display:none}
  .home-stage{grid-template-columns:53% 47%;padding-left:1.5%;padding-right:1.5%}.home-featured-game{grid-template-columns:31% 1fr;min-height:108px}.home-featured-copy strong{font-size:1.02rem}.home-featured-copy span{font-size:.43rem}.home-floor-button{min-height:32px;margin-bottom:.4rem;font-size:.58rem}.home-coming-games button{height:42px;padding:.3rem .4rem}.home-coming-games i{display:none}.home-casinon{right:1%;height:101%;max-width:68%}.home-dialogue{width:47%;right:0;top:7%;border-radius:.75rem;padding:.4rem .47rem}.home-dialogue p{font-size:.53rem}.home-mission{width:54%;grid-template-columns:36px 1fr auto;padding-left:.06rem}.home-mission img{width:36px;height:48px}.home-mission strong{font-size:.42rem}.home-event{width:29%;padding:.3rem .4rem}.home-event>span{display:none}.home-bottom-nav button{gap:.28rem}.home-bottom-nav button strong{font-size:.52rem}.home-bottom-nav button span{font-size:.9rem}
}
@media (max-width: 690px) and (orientation: landscape) {
  .home-topbar{grid-template-columns:112px 94px 88px auto}.home-wallet--premium{display:none}.home-game-zone{padding-bottom:3.3rem}.home-featured-game{height:51%}.home-casinon{right:-2%;height:98%}.home-dialogue{width:49%;}.home-mission{width:55%;}.home-event{width:30%}.home-bottom-nav button{flex-direction:column;gap:.02rem}.home-bottom-nav button strong{font-size:.46rem}.home-bottom-nav button span{font-size:.82rem}
}
@media (prefers-reduced-motion: reduce) {
  .home-toast{transition:none}
}

/* v0.11.0 refinement pass 2 — richer lobby, larger host, clearer hierarchy */
.screen--home {
  background:
    linear-gradient(180deg,rgba(3,26,20,.38),rgba(8,14,11,.48)),
    radial-gradient(circle at 72% 18%,rgba(255,213,122,.22),transparent 28%),
    url('data:image/webp;base64,UklGRvIyAABXRUJQVlA4IOYyAADwKgKdASpABiADPnk8mUo6M7CkohIZ60APCWlu4RkHdyzVwYp14/rdSQ23l5c9++Lxv4qXnm0X/yeoj/5fTAzaP+To57j3y3//HrNzL7BP/+UPAP/nWH6Bf1z/5fp3+b9wE6hCg1ywhqx6cizz/qu9felQ6mWdI+UclW9LmTtu95VZ4aXA/BE/pw00OZmrQhi6ITLjQ7sSZgZEMKLgWxGHtBwFr34/6qQF0qu+G/Txo88OCPxbMq9Y3XPMhkNI+4nH25Uta9CD0j5VXFBbGQDBUrt7yLH/njhGdxRoBC7Qf6YD1DaN3afYW7WCxRu8UfmpPXfM/flW5C5q5M7Zyjc2U1scYF6aKQGx5LOt9ls89JMo7PLbb6gJDnId+XrPLYt3htKHFr3FHm9zhXTLIlF3Pdkk+4lhN9tG7xrG9t3CpEr1KeZOVEJ/opB51Z0PggJcI+S6+Iv8VBP5amTuVR2K57lDCmhuiVBHl3jNQu00iu5qnYCciihAV1rBN5ote5AiUH6IpYayCCaLTHoxy9k3mXqZVGLHgyAG+kP/gBSq76fks6bphACj4n3xxSHfbl6GV4++8ucJy/VVFdA2rYmiS4qUjbWkomfaOT5S/6CjwlfP6tIRzQbiftIHCJipyykNhf/EzH5aQzjFYTzte1Vcpu8qd/llmLYr7OJe55KQu5V3unY6pX/vKFewHbPDOtBaAEmjf7fdU1uSWKTgWANtIwVXBieM7MAwZTcmObZjb5KUcOf4HDJNdEBvBn0czNXox4WCg7DSFQqp6T7e6y97AlH7zNUkaJB9JvnH7FLWu1g07W4le3pBURC21IYwqyWjG6Udwo3tNVnT5GwYNNIpBFGb1FSo36FnK8oVP0UQ5Jx1wmtMYazMOrQO/YYWd8XLPOdohCVm4mDMRuvQQTKRtlrU4ryWh1VEj679lJ6GH15bb5jEW2VJzgxlvWKmff6Ye2wH7KjDHrirmuENUuxO6jwpbg1v9Adw96mkiDYHHdEfT/JmQ79CIq4HcOxUyN8/UoIN79GuAeavcqI6/aXSawiIFXfsqy3XcNCm9o85w0iTRergIXMemFRise8tKPXxu1qpNHCEf8CPpL6716RZWX9/tdqfy9MYcizBV0E5FEL7wlUO+UoW5UdGzt5CfyBL4XTLb1vMoajXbe4XYb7fjCKPLhvD2b1Bks4H5ASde6CYw0wwecQHk70UPpDe8xO2IcyYg3eShiMcq+4vJ7/G1Z0bOUua/LAxaPJGfcPUIY2/GbpUrRyMdW/znVGP/1EfNiZW1XQIZIb7Pq9T50kaNlQ/07ln+bKIqgv+hQCxmID8VUNdqVFOsySQmWofYbPxvABhVfOCR5ompSF8VFWTYH6eA9a6vLf8SREQnWKvJc5fRpUgmkqM8UkaozYPZSzdSp3We/MYmVX8PqGz1fSolFbueAeYCkiKsZtpEipz2D6ajJYFR6sKXF+IxWDGbiUoHB4g4arY5sgw407h+nff571mfwCmAMXLJJEUXSr6lMWHYobXkiHqnDORZ5/5PrBqTj63BsK1a/zSxA3yd0mpF9WoSjuuS85BYDibcLWiDYbKwGrgOUAggBAvRexlY/SlrCjtyjnJXZqrNktRxUaHUgGuixuva3aURXJEakOAHPysLlUvAtemJLmCa3oinFjelfHM+AO3p/JQWtCS5mbMZvwjDXbk/dtwFFAYF50ZNB3ZkX2cZEjg1W56SrG6b5CXEyRaPXHJ8TmpMbsSTOTxBpasA5FKE1JjdzrqS+Kjxcy2ixPSF1cH+zHk316B9lO9Ez2sngKxxZZewo4tyrCwact8//CRlAjaZJc1+72sCKhOu7QO88yBNaE4eE/y6QrD7HGQLI78MvNeuiIve36w1UoFEocp73RD7lhf07Jn285AaswR4TLf6IoYxG3tSYmie9Q3tS04Mgib+QBqV7Ecd9b5CHzCZHNQYibj4CoJkc9/eCT6vB9V15tXXBV+0t7ekNnlnc7V737Swj/mj6qTv/IAu8KN0xzJ7/ifqHaohfwzcnKJ8oePZMpauqNvG4PVoTb7XOhqEMJtCYJDXiDml8jU3zueD4LxMuM05tICW22wYmDVgrw4MONt+uWligdbS9ESDoGTOSDAJ0qUkRPZ7m/0bo3f3txahGmk46sXFUSXYN8OYuz3XaFWlpwSlM9mVGoRt/bVOJ14enTUkQCkxMkQRwztqMOsu2aColHdDn+wA9xw5kxnQ/hE0/nBA0rJf3YsxxqdSP641cY/GvnyuKA7EL0gmxhz2oikj4LweJ5aGyls6519f5YWLwteEpjXlvB3kGnkqndde41Mna0tU9DRiVYppxHP6zMfFpztHdv4k3Vo/QpfWsNX3rSaPZuOT3rGcmyO6Wx9+1P2SkNaetlJKu59hQoBC/MQQ6iRaB6eD/a8njMejaCOL/KxjZ+wzDLpSU8le3tCoPHY3p4kxPdkkddwAt8VIA3otvERnOx09GZGuX8Ke4Qd9xd7rUsWxqhRbjYkVQtac6iPgyiHD5UslvSdzUR8AeF0JjqvnTtg9trLMW1uGNOZacIfAkYPWPgX3C4DiRFFoY9XxtJmWtwk62bTP6IZ/J4EVh4fS8o4988HyfRm2BIsOXPt2qcGClS3HpEotw2OBziGRJBeHo2hrG86a5riOCDk75iNl4g7yhbXj6IDjfwMwP+ns9XphvLthlPNg/vjSdIGVvKH+qpckEo14gsashv4qijjFvKoB2HN/T4p/k9NDI+2P8JicjPKWeXrMMKqwGJT3vfYmurMpzKWk1nNOg210+SaQBg8/jyettXuZSbst4f48DSmS3u5549WNPb08MAC93TYgIZpxjEYcYuUfjbV2oGaZBtz+SvVdxLTh7xQN6V3ysXD1zSh03MX5Lu48yFsGvA+MzTHCO/GSOldX5fU5WjceWspRdrvyyIxZ6mjfexAY5SI7xQIYqxrlo2Rj1qfC8hfiL0uyNnJjoGHrlH8y24LVTMhVoV+cER1lGLu/oqrlAy8SCZi3NVT0W2C12Z4WcvsLYkC3yNx9rrkKuFakOjZIBIyXsAeSekLFuJo3tHfzPcaNZg0Fxdk7eN2Q517jp/qIqxmPTeqzkAWqT9Bnvb24JUo4rq6E0g5lcjXC/vHaC6Xi8vgYgiKXe1fZZWs2SzkzMo7fELLzmfRQVIyjItx9Bbi50ejAQDL31SmeDLIrRQ0S7J28be1KCC7ytJ61AzMRQEskH8gBnyYTohEh9mr0dD+qHzcgPKq7cf6qUfsbtTnSDpP4bbH7W47kNDDRKr2iAFhgvx/qjVGNQVKqCUsuu4CBf+WHeNzP3fwflFy8hASUA0uZjDW1P1KB9qYf1FZ+XWx/VFf12+w+C1haLDK1ekdRXzF82lKX8SzFzRgu27ec3cubBVZ6jx8JR4pCLr93XoILsnwSfnoO5wPic5MpwpZLhDRCI1VF9hKNB6DJc5XLUF1IfrYnrvXf+OECrq5rzBkTBm5xyArGY7MfNeRzgd+Z1f4cghJV2SRxvPNP9xzFzhEVmVIgkjc77bD8D7tcL/MYhjHyUhBR3v48kSCQ146PkaGRSe7I6b7u7LBDwU3E0o0A9sD5esqRjhQgE7JynPp/AUESmi6gxDRWvecfx44TxgFzgLtWo7xvaFxnrihR8S5YD18THu8aaCYVMzaQn5Dv5rF2MOxh/Qy37a2+VbIlxUfqu5BLiV4Qbar5rFDmb8qFGgS3KLjfStHV2ebjK/M71Zr/w5m1YPZSTbfiCcXv48m0RZsRKOXDOLf3yUE2era4BLZ4767BMtVYJIFIOWBDkD88mC6sMZ6q5HMnvsHnvyJ8CX2oPcVfhYt5YTeYu8rsk+YL0TRd95f8pL9NxdszvRc/9fG7D/7Mly6uXKRtg2LSM6f87YdZImdvZVj04rGJUylhzNKErkwTDcS/5/seEQXPpc1hMpMzFYOLQCMFbS1H2EQqMxvlN0b7S0co58rw2G0mfZeZjgQ+xKMEyLBcGByJqkm3/8YNZKt1gavSY51g7eYuyfcuA5XbL5NHcReTiAHnJyekXWyYFtAuUrl3qr79lDYAuB2VGyUsoTOfOZYwJGX/mYQe1kxacSiU9AJDtYgamJ71vO3usT4LuuMIGGwQwKuKzwzNXrhlW+J8d5rsnb1cqB+FRHeMzmSTYGPQ92kYPP8ytVR4/v2jSfjs+cKPpFhx2hYFoYM7pl76+mLegiAlSNElsc4LxB8N1ikQLIUYKj6BpeggG9I6u9Y6MsdoU440BORuVjC0b1zIuWU8whxNgdbQtnY6gru8brQ62OARGMWdsIuXaYnhLvFZ1RxtYgxh30j5d2TWen1NMGBmCiYW1dP4IOjt1nHUbq5XstiPGkU2RRJ/YsSERnOxuNIdIPYXBV+PkUmALi/vEcJOfTmE03DgauG9qdoUCxmQGQB3lv43QZTHCC4jynsPkmwzUiXLlSRwukCqWaPCGzH7csrzz2r294h/ATfGy9egg5Dtn/UTe0QJrQ4fwT+q0LvKe4J4+FR92ONJvh4a5SXE26/h572lSyX8RMUPPhKTo4NNc0hKbqWt7whuW2CW2/IgoCHM1Vxdk99pGVeKInGiO/ex/zKrzt/rhLXJyZDofyDFAJIr5AkK6HHEjL+ozFuP2yVpB1STYU2HG/bboYN1q1G0yXYNI7aOYEo/Tarv0Iiruv9r2XXr1eq/ckWjwC0a/eWhuSZuOqcI7yh5qsY9MoO4xwhpAWN2GlhXrE8j427vnIOb4X+usiNEWtWy4RIMep0eWGqOjg/oqOB8MEKY6pS7J/7KAdp/E3mwflRlLcegGyy1tIFDMi94soirGpDqpDBsW+epVxKw9QfVJi7uYmUum04lrfUNSkqvJII1k2syJEXDikfyBuvfs6G2Eq3xOj+IQ+LpxioAu6jDmBZjqSmIw0k4qon9275E1cqo/xO9Qt2sqz8bqTQBOUYvVcjDZXdeEL/bxt7UoEp96/BM+UGnS8vNO/dktiNwryY7JTX0NHH6NZYquzOreNxR4twjE0oIk/soi9qwmt3E0Z1GlXk8LZk/3hP8QzuJ5H1flQ24UIXZP4CEDaK/sTTCXuO2bbhMld4jSqeEQq7uiaSZ8ecmtTLoxnSX09WnLb96fYCuC3f4t0VbmooGCLdspAi4WAEnsVK9wzjVZoNAZn3Llk4q557eT6rRR2VP/ZOgodn5nIYmsOp3uYjOiqg4TxEyT2OQOAU3DvTA+u7TAlWO4ouuRhBdQJ0YpSuBhQuF/HcUoVeRTFr7BBEysbJeCjJ0e0SMovjhRyL+GI/VIGDojaFVHghEZNDm7CU8YoiRTFaipFzk8k1K1+vvg5Qir8eZDLIdyokNlmIqsDCwZM9ACIvmszXQWfu3tShbfZ/H/vu38SrGv0caLNtMEVcGpXhudYSxasgvI6/ir8JZl6PVgl3PaCMsLeu3ASyzAY9xv7vLaringX9uO0VfAwzlIPPqJx1fDRwgBZNzvI6D/f0OVhtJcBKze9RQVeLMd8g7APgtFw6R3C7Ff8iZVwsygX9tno9WCabAgNAlvfmD/oXk2vRR4t05xmSjit5gtvToANrWecAZv9bRWy4UfQvS2LaQEuUCIUEhc6kMM0C2QHz1NG/MTWbzl4YF4ruQEExVO/u6tcQk6tB8cEAR25MGIxVjJwvR7MTGxaOsxNLqDOLkxOu4j380fi3GRAV+5ZH4Kt5ga+r8SlqPGt9M6qs4stSgSLDjvR/JtQjutEM7SqO7alBEhXZo4kcoc+kuPuk9j8IhE3zPmenGLpkNf6mkw37bs5r5gJLcvexsAZDW7zcqN+bHOFvcCsAtiH+ZpGWl0o29Sxt7V7UKR0baaH1+Qp0nbAmkSyyTXrPo0DkTVeYFycW3J++ztmvcavtZhL40NDeiNE1U4CkhS+7ElgoecKkaqMUeKnSnyhbAAD+8dWw2BMPSQlQPLlB+v1DlOqg2Dyt76PS4y8XD9YmGNcZfgOkjdpBfaIk2MM9gYVfndz5i+sBUnNetWBbtUvubYRHaax0wMt1/BjzlejfS7liVliQ9LGgAzwdHgBNxTOKaG6nUiKep1DAFnqgwSJ6qdMQPn6WaOw53q5yZXUH9AyEaWFe2NuwLnOYoEyD/u5s/raNbJmY8ksOEVnVr5gVDvZuwbtisSH74W9pQlqkseK6LvYO09r0iEgq1qFjHpcMFCLMzdZCrrCyrKAN0HICZeXBcbEFtDD6976Kmsa0xl+5OPb28JSF1AwuSM7MXyP4fCgO1usB/WlNtGDl73HbHVuG/qhksoQVComNj/gMvw5krj8vgpUbj0RilCzNPO9TJMi+l2dZJYAPA3jkOH3tVHUeTQjyYyJ8hMUJnpihU+hYCFDuVP8yEc6tBrbhC6aSAhCgpXIvTUv6+uAKPiQk6o0RBcUCPiAk3Y8scC+sE0seZ4+ydMXNtcBoPgBTfGXEcEtVMeo+WhRNhRBI7yJOoQqdVgZ6x8hD1jkHeHqPsV7MddYG+5uDu/MUY1qvidrSejmJ0sTptKc2/r5Hfe1s6UeqB/CKcVGZS7Jp46lBZvNlUi4UVDIvEMe2juA4Bj/8LlKwACplh49x0mMyzCry92rn9wSVJYk0b41SaJxaP9R5LHdwsN7a1wJKygAVNINFCJq8c9W1iLSt4qKBl6SwIAjxiWZbeGNRRvyT2g5uD/q4Y657v66ZZo+xbhXq7LkB48CC67Pf6R/O+Ql/+UkOWURe54LN8yrBzpMZxgI6OEIjuAh0tXt92c6Lxxvhdn48/Qma7nq8kn9IAG9QnSlPYX0vMFHWWtCWIetSwg3Jlb2jTJ9kdSIBdAg7bEuaJZgYPp+MoXkVoO5SwhgO1HRnMO7lDZzgXNLKCjC2mHgVRZicpOmm5n32s5tOTvOBO1Tstr1F052Z27+2bV9QAFw/Aa8nBXgjnN1L6ZHxn6C6A+ArJ/X1gHTIjg+2TwY+j9imLB6wT/SX5zMJPNhhi50NS++4EICHjWN7Sopv+SfjxTpuyiyig+g+8Scjx1HQWFeRHoGhHYxRZjkjr/+fEI+2srkPxr1an35FhjBXVwswOLemRaYs4/g92yr0vvC29iogj8xm11FmsbN5IsQKzIW5jA47xuoTVUkLwn+XW7CPS7Fr+pVcZXYTW/ufPnfmJAXi6qmWLvt8g/yBF4WO1FxSu80enRaop/E71GAxiD8inN/vKoUNP1MkQymRoRUg9w0nyMaHd4CVo48gApiVQ8F7YZPD9Tk5sYhAWllIJjnEhaq3+1rvGT0BJzr1rWyXt/4JoVxZoPEXvcE3nNSABzbFeVn1/nOcLDg1CvRpRHKHM1FObgfdP14ZepirezZIP7mUKi4nWGS7IAYF7K05DtZ4FWIippQxOv3PVxUWuSoopErjuP+nC+YKzz7jFmLF3sodT8OE/gFBVccrC8sJQipmuIvLr70FjTCK1Y8pHh81X8Ug6uVfgbhHAIYtK2LEzB581vmBCsAIgMF8P03XRvpxF7LogIsMw/r9t9Sp7Q4RzYM752UZjl2EqkPCF3IGJ+1NjAzlV0L2pbM5oEfovfmi1Mrsq6TV9L9we9G6ppzGEbmnPMyYYCW+p5A0cQlzs0mPYzmbaTKikH/gmqb9TI5QOgnkuQqiLU+O5LD0C97pXlC1FKFGk9zlk462N4U0ltMEwn+ywVN12zCyksyZpsvcSTeE6/Ndwwhmba2l7pLAjHRBXAIFUL7YaEhobP3UfDa+oyeq4rSOUdVs//ZaTs7Rwg5XKu6LmmNvYBB2r4kuVtnzwScTpD7FKK9j9pTrfZlSFPYJGugh9Z1tUs2CQTqbeCt38YmEGjDaIFU4Rz63TDQ55MYZ14f38/BAvFE+U/kHFg5Y6kE6TGu8RN2ICeSj3pdn2SIfaTV0ANWaq2MXO9Z+sGmzSWdHYWK/1g38ItCI5uYqpsG1ER8ygLdmhW1gL6TIIX5JjxXeick9z3FLJffjsIQyZ+k5V7tb4zdi/JLFmHHAhnG1RVLO2J1ar0YHDdPCTgwkJ4elYJgBs6lPXbOVpze0WS9n3Eyzg7156XkLncuYBqIA5xy6Y7H6OAuqehJuLIl3Hn/zH9CC8Ez/nPHeTjv5R9JclY5VomBrjT6ZASXoU3y5AORfiVRHi1W0RSMfD1jd6SFOYNhpjVwyk48Yf/B0sUG3IGtDvyrRjUpVcuu3ZlBPVz0bX0EGcSGqMMkowV2MIZTurCykAVO3RbPVAAHd4IuOp8FzvUWfgnLCKx1stuiCVpcWaaH4Y5pRO2mi2/JS9nFNjW+FzJYzax2YzaPLWL1hyU17nOj4bvr0CkO1uvu8+JYWt9/xIGjjbt6aWhtwmWVsbCla/q60ldcRB9OTPKf2XiMkc3DvRHLwhgQmoGTx6igoUWAuTgBRVizoiw+ujWCq36fUYtvQXFRj6SAOdBUX5QZ9TEMO5HYHs4b2aI0SWJ57sLfxeMvSMU8dIsFVv4rOEfuVBpIeUmWRXJfnTqkQNrhQvCoQ3BLohrgEmvUl1nd65d5EKjQwyM6Rm3VUPRb4Z6xAB14u8zjGOuG12L3Pr68k/JExww+U27KHsxej7Uw5d7fhHA2Pz39jMCOh3d25+tebVgxIYZ7qHv8xO+0KJ30X48rOV2UCFw0wjBKDL2brx42rtZudxQZK3bx4P8xaCTqq1Ba1l/Q13UMAjHfLRDnzUKC/y0x8Ow/PMq0AoC+VYTNGmM1IFRYGDl0jJsZuLV0wHCwKKaBHMi/1VvDURCJC3cKo9T6ABRxdksHWsW83vu/JVFHYSy0MIzo7AA5azhZ4TmynInfSZEdxH+5OHDndh/VO9R22lm12IVr3j/SwKgv1USDZgSC24fPPL1rQaiCb/3uCoQuO8j9mwFru7w0J+/YipE4sr5ZyhHk6XryOyAUxWBYNPcDTqDvutl7BN0RRQGA3JNRfius3zHTccZrT7AFRvj94evdb3KMyphN3lEdJtMtjczo11UONf7ESXP5kBklCI6kveQxGCiO186CF9my1707gEH9he7dVAIuk2hufYLv+1jFpLe7iOzSpaltClHG0KavNMWJ1cIvtU47JxUq8a0VfgK9AVFcI+NouleUZotNrKE7bqQyq0JqsuNbTZ82jrg1Dn/5TBvEP752Xa3/JxMPoKxuCzCEhztlw76G7wCDKoLmAUbQy5gN68LZ3hw8/ewWqnoppKhRjDnLCqr8PiUfbnMvGNb58ce32mUdixRmmODKOK62V6EhLeuu/i6OyFkXoFXY2NBY1E4jg+5QHNteuS4vUuKd9dg3hvArhC/wqpGCsFylkGrqL//2PrB+DlPDN07EyKYrt4FNOABs7Ui/+z0MBIh+Q0EOWcG2yD0ki/AOSD3o/RKFIdxTzrLPn+OsfQY6tW0qYUCOJLxq7Ve1YUb0vYSys34eSpUklPso+daztt1TxGbUpbHEg9ojV9js9+zSu2I0SPvTJHfPsN1PRCus5pBMwlcSszY/Pgo7Plz2gU4gqIXtCEKFgyskoqjZsIpDwJo5BaZxMxgYQeItvTWgVQglSkPaIQ2ZZhUJfDDPzQpxtLok16hW4o9hg5tmExSQB8UiAEi8jidcvbWX3hG0beoHZQ6vBQaa0Kb4t5mtXe7uAjmiYxZl6pNT+/uAA5rQMFnr4S/OHoB4JqMebIDHoH+UNPDhpG5MHoO5wglfR9NkfcCSZaXIdL34Wo5cuPBLnVn+Nk2yH3pGnwImYCS/CC3jOBwez3Hjzpa310NJa7/W0Q3cFCRfy2cqbqtgDklEuem8znQWTvIUTxanhdza4nITArClvIMrKiC2Sqalk9xZX88ZarCcps6s0cEwz/T2yc8Js0qfTusz98bhIuhwbCCJWDBnuvwfXNepoHA10k1XwLmUsEa97qpVrugbZE+E/4w2ttpdAK1sgEYOIvrp7srwxGznoIdvPWZ2GclBUBhZHYu5cibhyWeSkMQHZQw6Ui2v4S+k2/WgU7LLIdrwkU7vbufBMw6K63cbBvq4AToaobsrwBxmm3cKzzyOSW6D1xNbDZ5jsaG1Xbbguf5KDmOaAtZ2DU3soK/AxYn/C0EJ1ZvdOm0mu+FDMmHOlgomidZy8fydZiPnlgmwasPen2yx5ARWmYBa6N05Wi52mbER4lNxkHozZ1Ix52ledaCh3rtFFQh/yyhXNwEK5I6u4L7eHvyOQkH5uhjykjSyRTOKGwGpw2jljDyiDgkx3bm3WgSOz+8rsQ9e6LnRwZPwgHINLm/AS0FAoegU/go1XhnOCibBr49E3nvjY5AZC6EFY4WOlmdPu5QW6nYJ3MYx79D9sJAEEe6FdbZlVOND92YcgkW6L1myO3nPvyqCxV4Ic0c8sqOvzdpdV2RsHxBzE6EZxWUrnTkP3r970nw7TzyZWEvVU8rbDoLpt8lWl3NiG71e8OfbmfaPkZcbJIZzOXmP6SzLb+MXHOHneE1OcNKwjQ6DlWW7tSpWRmknyM3RDjlkmMDITvaxNOhqhQSvmcys/aHOl+RAcZYMSkep2GksKG6pV38YkO6kwzezy1FdVc5puJF8ITLWCqjQUunVKKp6fFn05iXpmTtFmvWLV5nTO13ex5qrTRUo/EbJV03wANgKxELEvsXLw27HFgI8GwWxhN35+eE6r3oNwdYDkuNhBSB/9rYYzdVvnv+qTlEo4s4fLBU26qgp2CyjVFh4LMHecblUQKyXI+7lFyPS0/RZRkxIf8aS2CXFytFaHE8Oogpkgk6UWvjXWs1UNibN1vELpHHofgSEfFajy/77NgmHdANQfRVyNz6mgqprURbrkOfBp+sxK0l3S7YG8BQNveTSjMd/fd10qFaCLpxJsLH8YtBiPp1JBQqSOOvadgNU+Ru7XTN3kIge4+ryMDGiDRHPcZ/TAtg/9nKKbKHP5FU5yEB7d3KopD/sa0tY5o+j3RdP1Jiu7GapRKqGWhkRBhkT7g3mMaVyMv45V2rRAkrxIWPojsdRe76nCCkHHCMJa/JKPImM8N/R4IWaXIvYF9U1pLT0e8UER2LKEcVOpjpPFLFCfKK9DR8zpKm5N5ctkTAwmmNjE2sHXLG/PKIo84qLbP9hYVD4osNKvxeoRjyYrREvce7baohrAUWmb9dali6pXmIrN/n/yvfHNmHQgm1mMHEYzjUcag0kQwb0QrCJtusiBvuTBHHCjrd2KXxY7muUcKhJPrTSNigoKB1DTEh7vlMHD6GtXZ4ijof1I4BcyoNPjV7ypc8zPVZd2aypcOHisU7cR7R5la+8sPeWwNQIIzW6Wq4C0luDj9QwauANY5TSrZjKWMFGunW7dI6IzFwkHkZ4ZBUUrcsiWsYAEVFCGlI2JwNk+FKHBV3N2ARloh+Cv10bseeh3xKjqqPcRVXM2zi6VThCobWZT6vDrSph87N60svpmbW33Tx5lu84WTr40gHvqGaj9002WOaXPz+fsZJPDd8YALWeRb0glMrSdEsOxzqgtIf6x7mAfe0zf3q23h+WJi2RqKjIw2dqTMNxw/fE5pMRCiH3TitAzwkoEruNZR/ImPKzGwOLt/FopWBzowO8uMeIs5grEuOAVCopgDTTxDBVIBoklHfCSqLkqQKkLT5G710dBNqSOgIxDBOrJwNMO3o9jBnYvHKHLXck0+yroIFDlECEJmMeLN+r7OWWYcXKZNu+0wjpTWjJzp74yEBfKYO6OoRAgeCr1AWERHKSAMPNQ4SHFS8CTDaFEzY787sasONOioobUptv/XrMdN3HB9OxQpGxTBrVTrJZTrvYvTcku3l+JegfeeOqVxtybN0u4qhjuBhYaaowlo3lfBniSA/TUFu7uqBpMWqp94UGyayCkGcHuGfN0I5D4wFqKiZvbxsoh6pcfxb1heMdjjqcecVW8MckepnUfGu1zlJ/JI10reM4D/S3q2bc16ZV58rlKrmRxOI+h//dFP8ttTBYvgnIveNbQrbZEzD/Q2bM5jU+PMsspUt/DMHFQf/FZNTpDVeSXYT2xIrwOHPeQlCwYgjSgU1Y7NCWScpBIoNv7LXWaBdrimAV0AJcIoymY9dB88EgZk6fClvxMwbpafarSyPrvhVVB+dIVQiJAz04T29p9xdTe8zPIaSzJKWYWtwX8O8ZLb39+5dID/IthNT4jMk/ivS/ugEHThXMUFk9JHGzMG3tSQFLcNgZ+6ZiEEUmqPSZcuPqSDAWsWIiAwo4tBP9suRwNNtAI4BpsKsh5eu4eihKIZpriAEEqXcJUAGqRrbFkrPHCIdJClM0iM/6IiIOMpaNBVLravw2AbIJ09WCCF6F4TfBsygvo3hD4LJcvOGu5DMSe7ciUiZqFyx1Sj0Yoj/wbBiXGftggxvkPRivFu5W9VAZfEf1hLoerFRANJHiVI3R8+bTTSYA+YWQrstwD1csWJI7TQS4oXjUmkEvrwWKLUck/2Jg9nNhIFGxdErORZUaKxCaIXn7F0PYtW1gNAIRtTAzk9B7X2hxPbdKD/qQPnfGOg9ZGFBsfkaGng0EeHRZOMJ1K0RAsU72gcqWFXTEG9q4Itbhm1KnH6riDeTnEoj8RetGmxTaUJTnuHbd3qdNNh7v9Wjgh8TzZlWl4tAdKlHZX5LFMkKoiG3osVcgSH1e+2CzekUwyyHCC+InJ93D7h25rEc0st2maZZUch80SpG+lLLZ16kqAmWGia2IMSVjgcaEOmmHhRNobAov1X48iNrzrrtGmS0TKI2Ak+8VnI093tut/hQN7X7iVzkhAy2KKlr0AH39aIVQx1MKjjSH7qeAIiWovjJC7y+PuRqh9Dnohli2TqwX4V9qTgAHFKsAVwA/+xVGBEMV/gT84XBw46nG5jtLsDTpdHxGTFwxXlOrjPfFDYrxugL33P4GFl/p9ZcD2Ai+5JvaAjm9CElOCad7wtJHLnx4Pwi2ohycSn6tH8KQcDGk6oq54McBma3bceGKfWjA/z03uWpCZwpqgSfBkUlmfIXAGZepIXhA/+Ew1wiYoCjNpJS591mQlnVllJ1xXwS8hT+XZi7rrVhbb11g+7BWTL4aSnKXrqZarZI0FYing8Po6EmGfo5NNTK1KkmOO1zVKHxKl07mhQlzzYenVkQ10syYqhb60gV7qeXND36MlvSOglpimMdOlctnMqFhaZdiGYvUaClmdA++UlpMZaPLdl08uoCYWb2zaqN08KVgVCtAQ8jVO3Uq6W9Ty0n4AbynzS00dK0Q9KshE3HR+/Emglx0wyHghBvCosKdYt++ov0/vHdhWQjg+A0luB0lVEZ8y7z6GR4W8ZloLqtd+2ojpeDWqHM4wqE8oa0R09Evh22HTYjZ4JofLCLlg1FzP8go6L2mXeLd1Vhe4xxrCcJwMOQE6BmhuomnMK2S2DobVYeLLXxx5xg3O6QJiHhXxuBeaYOKMkElRfide4rtGEAnbm2KanrBh930tIxU1Vm4j4Kjgy+4NIAU10n1Xdam1C7teGdnEzcsgQK0dJkFoQWhsPSWuNPSwq08/8aUrOND/JlvLw0FEM5VrO5QFh8i2m5C8c6Qt5+VJXdWJrKkH0y5g1EYS7GoJKlPWyCdhOn4QS67AevifDXkUfdCY0Ao6Zg3yw2GzlHKV/4BGivboWJjDKQuG4VLAM+ez9ftTOc2Ldhj5jGyZzAt5TbfzAT7wYDYiajNhF64btvEeh0Nfwum8GN7veFj+jcBPsh2JbCTSF5FMB7AfWBvyLq/I1KXE+2P7+0Mx1mt6vi7B1apYcy0NmxF5cR2LolObjLG7a3bXnZ9AZEBTzXxPKWeeO7+n2cxGuM4bdvVQ1YQvYAtgJ5fsO9Afrfb/3jll8kIxcGIYxPN3aCTvtTu4UcYKA6rTCxnx4P7EJcwgvazkpT9uuSFPCS4lTiA72W+iUv+yrWRPw4N/bamp/J5OZyjv4H57E3I4yI+BJprmyoOxixNoUn3+CacDhfy1Gd6cSscrzyDIWxAZbgJRjH5+Ge2Moa7RrQrLac/cgjoUJKXkoU7EZ9GJwoZYPhGB+Ky9JVAzOIJyqOqnIqtUuROOY6PGjY0vTiut3IIxZ4FsCQE8K+i4eSNRpxGjawqFemJYYTrIHQcymobWxLX2jkGtnL6G+IORXbCPCvFhJ+9iUYlWJ+8qmpkJ0Ujf43QVeYCHUyHBZ3VnU/zUeGDbAs9khzPg1PrtqlUpanzygYZSlPXV6lk0v/lkUV6vSzOfMzUWLHVUzAHnaEVmJoTfJdJMqwr+RLZJBsiCLgCzFeR1nVWDpYYwXKuh2FDrPByELOFLaae3bR9TklFxYDXyihegMMsYOck0iz6unVt7921PBPz1EMTTaPNKPIwqe4t0zIu6dBH/QbthHq3M0ArGtTq6KeByZd+3jMAMcTuOYUfBLPjj9TSno4be3aAlEgu82ewfV9L27ssWAuaLWAt35IpTTpWyUOJcIWqPQTcIKama1diMficLjcvx7QQ0NnErCzO0MtYv+giHFosL9Zgim4uwJ07dFoHA7D79KGO1Ek+DC6qVck2PDpJ6+bc9tgT5c4IsHkPJjX4X5203zxY0c6/3F/q9JWtKM4DzFTTjU3XgCn3Pj65h8I/eO6s5mXWY68V0NHLfelL5GoH92Z6aGueqUjThWsdczvOE4CkE6w9Jw/dTTNDfzdbvahsZJHvmlQngEzlSi7GVxFPhlY1a/U5UbUy16f+HWSVNsVHTCnpNACBfne+gNvm16vdnI89ftMuWuQiTKBdkpvKgjaTw7PqT2qErArf0317p/wpl4yTxN3V83B04wx/6nOl9V8MvZkOnVIA67L7pfDLHLmvs+wrZPO3I3xv9V1VP7l+4QZYdBusTux+aRYWk8mYpBDVex5Lq722hPauI/I3NS3npCcJb4V+sMdRTi14CYyTdxfIDxaED0Yb3kGmdxZgPdKSET4AVbK/Qgju38MBU6drFKEnpghkjV7zE7nJxPOXCCXsMXV9nKWJ3L+OBkAqjqcl1/S1kLm0ZnTrkPvDQeDB9erWHdIl2+knqAG4dxQ2qxWKL37sHHsZ5bI8r+7tY3G7Rh+vAnlaf+eYtPPv8azjyY/z1ih5XcA1twWzXlzO8Q/qJOPirhH0IW6Ryu0ezQSVFPa8RCCi3FTX8Hn151JK3cg0iOVx/c45jdkYWodT8MC1YbelyBsB6PmGWvA26aCJO5uhDRQ9P99x5WaDMRw2+48ejLp3imefDbZGieqJ4se3ZWlIGeQ1PNMJ/Bm+Wh/xX36+7KKwmAFsYyHY6CxfhrUY4IXIlOPkxtV/fzVqmlqMyFh+gK/0zBzAuJDR83mfWubgUxJiXScGUj4kGJJ4CR9y10X2WZJLc5sPK9nNu11wHm/xyM5k0jN43X30OYYCsp/sWNWTO2ZHvbmL3Jk4szngb5YvDBfLotGqcUaOl066SkZAOJivdan77poWE4Q4VvVaCOtPAYAYwukj/XZfnDk/bIJXgjDBHg/+uhBSyihPitFz7MnPZvxwXrLzgheKcm1yABmyGSb3oqtw2ulnr7k2BoLsW5dkjBcN1eTZq0TsST3mh2jXFSUu5FRdIIClPsQ6v/9CncnH8s3AZMylMvmgrMU/GKKL+w26lGrfGRSls18vFjaviSM1Zn1diUJsRrv6kKv9pskciUEGqZ/qF3m+7SwLF+gB/Wbem84jqEs42qUACRLuLLSr3JLQLkA29iJ+Bq8fZspJ6anc9ZTn2DtPHiPQYY3Jf+F+HfHNRk1ghUaz6+zJznz66k3saGUwxfw+Nf/eSuV5Xk6JzYZnKwZLYFtcvuRoTmcij37HBmuV+wgm5cMXZSqypzmadJeRHSjQNYf4COkgP2z9AnOBAtc/HTWLYVyrThQABtDZDbTpCaTuwa5A20JQXySyrpEwWx/G8JtTSKZ137HF2LrPHSNMzi2TIgi4oroTYSeQU173dCTuVwUbPVAuhgogB3TeQgJ2KsCEnPSLksTugkgjRWkpVEaDxBQaIIRLtgw/gPMJKAe7GyH0XxN+yRMp78tmOiU2DFY8d7B34CCpztOBY2KAXPXVC9FWIFUh4NMsVe71t0VDNcob6AB1ESTlKw/Ak60G5stibKlswa//50WlnWrV4CToNaqT9jChDGonJ6zmFunr9T+GmuvYm6Sx03Doq0Z03kVTPZ1SMGh0YAnCEmhdaQ1w/Z0CCw2K3MeOxHaA8VZtSBAXeARVSoK0u2XvytOVXA/BY2FS7QjC7G4kW7zjBUih6/U99eGGZ06QMrUSYW7tBiYRQu9UeU5grgBiSdKgDDTJDpBqpXz7oXo/wur6ZYRu9ZeDxq8jieMbH9WwnH7lvIbwjfuhzx/P6JaCxlu3FxWmpZci08uDxyNl8vuJ6R7hukuv6Mud5o6QWMZ+UM4VDHi0XkNY+kbHgw9fyhCmszWxVBryxq4p16Be2MwGpi7SfGidaLYptR8VPCe5ApXFLGrdG927iZuV07m80pemYARejSN7Z9IMWDr12/0KZbHlVgoW9ZMAQHNVZzxRl0QiAhQr3Skfef0fwcMgOkA8X79zxe+Ui6ZrLpZNDnOZoVgF7S96SJtTxYfbo7a3QHoRLtdG0c59if8Z9YQwSZOiDeE2vbm7E/XRmdu9ue0biAzADbpmVB0xO46U/56PvBeFCRq8wDMW2xQU0btfa9k23SEtlJvws8636hmcRV+GR2BNW7+lPBxVPlLGg7Gwe8QLCHDb5EzePeLf6WmWu3udcX7AW5UPtbE7QxWeOEyHT5s4fvXOzJGE+1WHylYUBhexdKnqICnF+VAWVHq55o1A++te9FOdf5mQ79es2dbIj6+BxkNtWEz0bzHzE6/I2v6NOj339+5mPbhNo26NhvhT3P8KabQwXU0vRTqipJM4+z3538/JKDXiBRZSxqHLfZq+SdHV5PskbjOgbv0I45BuPIDtbv4CXXtxu5SyrU0Toba8PxEGYL6JkmRtZwYFahs1duG+IAcK2QCE+KLFWVqxbpM2J1A2c6entaY7Ab/QrorYnaaLMwFPD9ejjtA1qqXIL225wBvetczhiiR6H86BDXI+m1Bjbue23aJ5k8xSLJCAATNjx+etlqr3jIDkd6XnskOzC1IeATqFbKnfe5UZLaIjnaDPtbeF9tJqpmIZRj38IhXtSMXVEe2pLaEjMb+jEvEmy3vcRfzjNXJFU32bcAdkZNoAjvydiKG07O9MfvBT1i57phameXxUSinoW5KZFexCFSnMJV5lPm0c7+fWpmvdRO+6oDgcfZLWl05OoD7vdjKwQjpBF26oikZUCqHWB6XTbHYp/spNXfTgUFp3amjHxXz/EuU7TTv2tTDnD+vB1U3mV7YXFjJJbbeWyOkLBpTrzo4a6dzTNr/R8jJu8Sx014lsh4dtCiwqFIVJ7xgOQtJfRGl6APaBZTuzEIuRQEZy6RsBZ3mBUs438F/6AAAAA') center 43% / cover no-repeat;
}
.screen--home::before {
  background:
    linear-gradient(90deg,rgba(0,0,0,.38),transparent 18%,transparent 82%,rgba(0,0,0,.30)),
    linear-gradient(180deg,rgba(2,17,13,.20),rgba(3,10,8,.13) 42%,rgba(2,9,7,.57) 100%);
}
.screen--home::after { opacity:.34; }
.home-lobby-architecture { opacity:.28; }
.home-casinon { right:2%; bottom:-13%; height:126%; max-width:78%; }
.home-dialogue { left:0; width:min(44%,250px); }
.home-dialogue::after { right:-14px; transform:rotate(225deg); }
.home-featured-game { box-shadow:0 14px 36px rgba(0,0,0,.5),0 0 0 3px rgba(67,39,12,.74),0 0 28px rgba(229,180,70,.10),inset 0 0 35px rgba(227,183,83,.09); }
.home-featured-copy span { font-size:clamp(.49rem,.72vw,.64rem); }
.home-coming-games span { font-size:clamp(.62rem,.95vw,.8rem); }
.home-coming-games small { font-size:clamp(.45rem,.61vw,.55rem); }
.home-mission strong { font-size:clamp(.47rem,.73vw,.63rem); }
.home-event strong { font-size:clamp(.58rem,.88vw,.75rem); }
@media (max-width: 980px) and (max-height: 460px) and (orientation: landscape) {
  .home-casinon { right:1%; bottom:-12%; height:122%; max-width:76%; }
  .home-dialogue { top:5%; left:0; width:min(46%,220px); }
}
@media (max-width: 760px) and (orientation: landscape) {
  .home-casinon { right:-3%; bottom:-10%; height:116%; max-width:82%; }
  .home-dialogue { top:4%; left:-2%; width:48%; }
}
@media (max-width: 690px) and (orientation: landscape) {
  .home-casinon { right:-7%; height:112%; }
  .home-dialogue { left:-4%; width:50%; }
}
.home-casinon { transform:scale(1.17); transform-origin:right bottom; }
@media (max-width:760px) and (orientation:landscape) { .home-casinon{transform:scale(1.12);transform-origin:right bottom;} }
/* final character presence tuning */
.home-casinon { transform:scale(1.30); right:0; bottom:-16%; }
@media (max-width:760px) and (orientation:landscape) { .home-casinon{transform:scale(1.22);right:-5%;bottom:-13%;} }
@media (max-width:690px) and (orientation:landscape) { .home-casinon{transform:scale(1.18);right:-8%;bottom:-12%;} }

/* =========================================================
   CASINOIR v0.12.0 — CHARACTER / BOND / COLLECTION
   ========================================================= */
.screen--character,
.screen--collection {
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 32%,rgba(255,206,111,.12),transparent 32%),
    radial-gradient(circle at 78% 24%,rgba(139,14,42,.16),transparent 31%),
    linear-gradient(135deg,#071c16 0%,#08110f 42%,#170a0d 100%);
  color:#f7ebca;
}
.screen--character::before,
.screen--collection::before {
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.46;
  background:
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(to bottom,black,transparent 86%);
}
.char-ambient,.collection-ambient{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.char-ambient::before,.collection-ambient::before{content:"";position:absolute;left:-8%;top:-30%;width:58%;height:95%;background:radial-gradient(ellipse,rgba(239,193,91,.14),transparent 66%);transform:rotate(-10deg)}
.char-ambient::after,.collection-ambient::after{content:"";position:absolute;right:-10%;top:-25%;width:52%;height:88%;background:radial-gradient(ellipse,rgba(171,28,62,.16),transparent 68%);transform:rotate(12deg)}

.char-topbar,.collection-topbar{position:absolute;z-index:12;top:0;left:0;right:0;height:15%;min-height:56px;padding:0 max(2.1%,var(--safe-right)) 0 max(2.1%,var(--safe-left));display:flex;align-items:center;gap:1rem;border-bottom:1px solid rgba(236,192,100,.34);background:linear-gradient(180deg,rgba(5,16,13,.96),rgba(5,17,14,.72));box-shadow:0 10px 26px rgba(0,0,0,.18)}
.char-brand{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:.48rem;min-width:190px}.char-brand>span{grid-row:1/3;color:#f3cc73;font-size:1.6rem;filter:drop-shadow(0 0 8px rgba(239,189,84,.35))}.char-brand strong{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1rem,2vw,1.55rem);line-height:1;color:#f5deb0;letter-spacing:.05em}.char-brand strong em{font-style:normal;color:#c63345}.char-brand small{font-size:clamp(.45rem,.8vw,.66rem);color:#af9870;letter-spacing:.18em;margin-top:.18rem}.char-topbar__meta{margin-left:auto;display:flex;align-items:center;gap:.8rem}.char-topbar__meta span{font-size:clamp(.52rem,.95vw,.78rem);color:#c9b993}.char-topbar__meta b{padding:.42rem .7rem;border:1px solid rgba(233,190,92,.45);border-radius:999px;background:rgba(225,180,77,.08);font-size:clamp(.52rem,.9vw,.74rem);color:#f2cf7c}.char-close{width:38px;height:38px;border-radius:50%;border:1px solid rgba(235,193,95,.5);background:rgba(3,11,9,.62);color:#f3cf81;font-size:1.25rem;cursor:pointer}

.char-stage{position:absolute;z-index:4;top:15%;left:0;right:0;bottom:15%;display:grid;grid-template-columns:24% 34% 42%;gap:.8%;padding:1.15% 2.2% 1.2%}
.char-list{min-width:0;display:flex;flex-direction:column;gap:.55rem;padding-top:.2rem}.char-list-card{display:grid;grid-template-columns:35% 1fr;align-items:center;min-height:74px;flex:0 0 34%;border:1px solid rgba(229,187,92,.24);border-radius:16px;background:linear-gradient(135deg,rgba(5,24,19,.84),rgba(7,12,11,.9));color:#eee2c4;overflow:hidden;cursor:pointer;text-align:left;box-shadow:inset 0 1px rgba(255,255,255,.03),0 7px 20px rgba(0,0,0,.18);transition:.2s ease}.char-list-card:hover,.char-list-card.is-active{border-color:rgba(242,198,92,.78);background:linear-gradient(135deg,rgba(25,58,44,.94),rgba(10,19,16,.95));box-shadow:inset 0 0 20px rgba(238,187,73,.08),0 0 17px rgba(229,180,67,.11)}.char-list-card img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 8px rgba(0,0,0,.28))}.char-list-card span{display:flex;flex-direction:column;gap:.17rem;padding:.42rem .45rem}.char-list-card small{font-size:clamp(.42rem,.65vw,.58rem);letter-spacing:.15em;color:#a99164}.char-list-card strong{font-size:clamp(.72rem,1.3vw,1.05rem);color:#f7e5b8}.char-list-card i{font-style:normal;font-size:clamp(.42rem,.72vw,.6rem);color:#b7aa8d}.char-list-coming{min-height:45px;flex:1;border:1px dashed rgba(228,188,94,.24);border-radius:14px;display:flex;align-items:center;justify-content:center;gap:.5rem;color:#8f8063;background:rgba(4,14,12,.28)}.char-list-coming>b{font-size:1.3rem;font-weight:300;color:#b69a61}.char-list-coming span{font-size:clamp(.42rem,.7vw,.6rem);line-height:1.25}.char-list-coming small{font-size:.8em;letter-spacing:.12em}

.char-showcase{position:relative;min-width:0;border:1px solid rgba(229,187,92,.34);border-radius:24px;background:radial-gradient(circle at 50% 48%,rgba(254,221,136,.12),transparent 42%),linear-gradient(180deg,rgba(5,28,22,.52),rgba(4,12,10,.9));overflow:hidden;box-shadow:inset 0 0 48px rgba(236,190,91,.05),0 16px 36px rgba(0,0,0,.28)}.char-showcase::before{content:"";position:absolute;left:10%;right:10%;bottom:3%;height:12%;border-radius:50%;background:radial-gradient(ellipse,rgba(242,195,91,.18),transparent 66%);filter:blur(5px)}.char-showcase__halo{position:absolute;left:50%;top:42%;width:70%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(244,204,105,.15),rgba(228,175,64,.04) 38%,transparent 68%);border:1px solid rgba(237,190,91,.14)}.char-showcase__halo::before,.char-showcase__halo::after{content:"";position:absolute;inset:12%;border-radius:50%;border:1px solid rgba(241,195,90,.10)}.char-showcase__halo::after{inset:27%}.char-showcase>img{position:absolute;z-index:2;left:50%;bottom:8%;height:88%;max-width:82%;object-fit:contain;object-position:center bottom;transform:translateX(-50%);filter:drop-shadow(0 16px 14px rgba(0,0,0,.38));transition:.28s ease}.char-showcase>img[data-character="ocean"]{height:73%;bottom:12%}.char-showcase__name{position:absolute;z-index:3;left:6%;bottom:5%;text-shadow:0 2px 8px rgba(0,0,0,.7)}.char-showcase__name small{font-size:clamp(.44rem,.75vw,.65rem);letter-spacing:.22em;color:#c7a65f}.char-showcase__name h1{margin:.08rem 0;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.25rem,2.65vw,2.15rem);line-height:.95;color:#fff1c9}.char-showcase__name p{margin:.15rem 0 0;font-size:clamp(.42rem,.72vw,.6rem);color:#cabd9d}.char-home-set{position:absolute;z-index:5;right:5%;bottom:6%;border:1px solid rgba(239,194,88,.6);border-radius:999px;padding:.48rem .8rem;background:linear-gradient(180deg,#7b1e2b,#4a0e18);color:#ffe9b5;font-weight:800;font-size:clamp(.48rem,.82vw,.7rem);box-shadow:0 5px 14px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.16);cursor:pointer}.char-home-set.is-active{background:linear-gradient(180deg,#174c3b,#0b2f25);border-color:rgba(106,209,155,.55);color:#d8ffe8}

.char-detail{min-width:0;display:grid;grid-template-rows:28% 38% 34%;gap:.52rem}.bond-card,.char-unlocks,.char-cosmetics{border:1px solid rgba(225,183,87,.30);border-radius:16px;background:linear-gradient(145deg,rgba(6,26,20,.84),rgba(5,13,11,.92));box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 20px rgba(0,0,0,.18);padding:.58rem .7rem;min-height:0;overflow:hidden}.bond-card header{display:flex;justify-content:space-between;align-items:flex-start}.bond-card header span{display:flex;align-items:baseline;gap:.4rem}.bond-card header small{font-size:clamp(.42rem,.7vw,.58rem);letter-spacing:.16em;color:#ac9260}.bond-card header strong{font-size:clamp(.8rem,1.35vw,1.05rem);color:#f7d77e}.bond-card header>b{font-size:clamp(.46rem,.76vw,.64rem);color:#c5b898}.bond-meter{height:8px;margin:.48rem 0 .35rem;border-radius:999px;background:#13261f;box-shadow:inset 0 1px 4px rgba(0,0,0,.55);overflow:hidden}.bond-meter i{display:block;height:100%;width:0;background:linear-gradient(90deg,#a56a29,#f0c45d,#fff0b0);box-shadow:0 0 10px rgba(239,193,86,.32);transition:width .4s ease}.bond-card p{margin:0;font-size:clamp(.42rem,.72vw,.6rem);color:#b9ad90;line-height:1.4}.char-unlocks h2,.char-cosmetics h2{margin:0 0 .42rem;font-size:clamp(.54rem,.86vw,.72rem);color:#dec07a;letter-spacing:.08em}.unlock-track{display:grid;grid-template-columns:repeat(5,1fr);gap:.34rem;height:calc(100% - 1.1rem)}.unlock-track article{position:relative;min-width:0;border:1px solid rgba(195,167,110,.18);border-radius:11px;background:rgba(7,17,14,.72);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.12rem;color:#746c5d;overflow:hidden}.unlock-track article span{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(199,167,98,.25);font-size:.52rem;font-weight:800}.unlock-track article b{font-size:clamp(.35rem,.55vw,.46rem);white-space:nowrap}.unlock-track article small{font-size:clamp(.28rem,.43vw,.36rem);letter-spacing:.06em}.unlock-track article.is-unlocked{border-color:rgba(234,190,85,.48);background:linear-gradient(180deg,rgba(78,58,24,.30),rgba(8,21,16,.82));color:#f0d99f}.unlock-track article.is-unlocked span{border-color:#d7ad52;background:rgba(220,170,65,.14);box-shadow:0 0 8px rgba(236,190,81,.13)}.cosmetic-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;height:calc(100% - 1.1rem)}.cosmetic-card{position:relative;border:1px solid rgba(194,164,103,.22);border-radius:12px;background:rgba(5,15,12,.72);color:#978b72;display:grid;grid-template-columns:36% 1fr;grid-template-rows:1fr 1fr;align-items:center;text-align:left;padding:.25rem .35rem;overflow:hidden;cursor:pointer}.cosmetic-card.is-owned{border-color:rgba(225,184,86,.46);color:#ead49d}.cosmetic-swatch{grid-row:1/3;width:82%;aspect-ratio:1;border-radius:50%;border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 0 12px rgba(255,255,255,.06)}.cosmetic-swatch--classic{background:radial-gradient(circle at 36% 28%,#f6f1e5 0 12%,#1e1b1d 15% 58%,#8c0f29 61% 69%,#151315 71%)}.cosmetic-swatch--noir{background:radial-gradient(circle at 35% 30%,#e7c56e 0 8%,#090b0c 12% 64%,#81172a 68%)}.cosmetic-swatch--poker{background:radial-gradient(circle at 34% 30%,#fff 0 7%,#114734 10% 44%,#151617 47% 62%,#bd8e2e 66%)}.cosmetic-card b{font-size:clamp(.34rem,.56vw,.48rem);white-space:nowrap}.cosmetic-card small{font-size:clamp(.28rem,.42vw,.36rem);color:#8c816c}.cosmetic-card.is-owned small{color:#5fcf92}
.char-bottom-nav,.collection-bottom-nav{z-index:20}

.collection-topbar>div:first-child{min-width:0}.collection-topbar small{font-size:clamp(.42rem,.7vw,.58rem);letter-spacing:.16em;color:#aa9261}.collection-topbar h1{margin:.1rem 0 0;font-size:clamp(1rem,1.8vw,1.42rem);color:#f3dfad}.collection-count{margin-left:auto;display:flex;align-items:baseline;gap:.2rem;padding:.4rem .7rem;border:1px solid rgba(229,185,85,.35);border-radius:999px;background:rgba(5,20,15,.56)}.collection-count span{font-size:.48rem;color:#ab9d7c}.collection-count strong{font-size:1rem;color:#f1ce73}.collection-count small{font-size:.5rem;color:#8f8164}.collection-stage{position:absolute;z-index:4;top:15%;left:0;right:0;bottom:15%;padding:1% 2.2% 1.2%;display:grid;grid-template-columns:15% 85%;gap:.8%}.collection-tabs{display:flex;flex-direction:column;gap:.5rem;padding-top:.15rem}.collection-tabs button{flex:0 0 19%;min-height:35px;border:1px solid rgba(221,181,86,.22);border-radius:13px;background:rgba(6,21,17,.76);color:#a99a78;text-align:left;padding:0 .7rem;font-size:clamp(.45rem,.78vw,.65rem);font-weight:800;cursor:pointer}.collection-tabs button.is-active{border-color:rgba(239,194,87,.65);background:linear-gradient(90deg,rgba(112,78,27,.4),rgba(14,35,27,.78));color:#f0d69a;box-shadow:inset 3px 0 #d9ad50}.collection-grid{min-width:0;display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(2,1fr);gap:.55rem}.collection-item{position:relative;min-width:0;border:1px solid rgba(216,177,89,.26);border-radius:16px;background:linear-gradient(155deg,rgba(8,28,22,.88),rgba(5,13,11,.96));padding:.38rem .45rem;display:grid;grid-template-rows:1fr auto auto auto;box-shadow:0 9px 22px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.025);overflow:hidden;cursor:default}.collection-item.is-locked{filter:saturate(.68);opacity:.70;cursor:pointer}.collection-item.is-locked::after{content:"LOCK";position:absolute;right:.38rem;top:.34rem;padding:.16rem .28rem;border:1px solid rgba(224,184,90,.26);border-radius:6px;background:rgba(0,0,0,.38);font-size:.28rem;color:#c5a961;letter-spacing:.08em}.collection-art{min-height:0;display:grid;place-items:center;overflow:hidden}.collection-art img{width:78%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 6px 7px rgba(0,0,0,.3))}.collection-item>small{font-size:clamp(.28rem,.44vw,.38rem);letter-spacing:.1em;color:#9c875e}.collection-item>strong{font-size:clamp(.42rem,.68vw,.56rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#ead6a2;margin-top:.08rem}.collection-item>span{font-size:clamp(.28rem,.46vw,.38rem);color:#766d5d;margin-top:.06rem}.collection-item.is-owned>span{color:#59c887}.collection-art--cloth i{width:56%;aspect-ratio:1;border-radius:18px;display:block;border:1px solid rgba(255,255,255,.07);box-shadow:inset 0 0 18px rgba(255,255,255,.04),0 8px 14px rgba(0,0,0,.24)}.cloth.classic{background:linear-gradient(135deg,#f5f0e5 0 22%,#1c1b1d 23% 73%,#8b1430 74%)}.cloth.ocean{background:linear-gradient(135deg,#fff 0 24%,#202126 25% 75%,#b21d31 76% 83%,#0e1113 84%)}.cloth.noir{background:linear-gradient(135deg,#07090a,#2d2222 55%,#a9863d)}.cloth.poker{background:linear-gradient(135deg,#103d2f,#16191b 56%,#b38b35)}.collection-art--cardback b,.collection-art--chip b,.collection-art--felt b,.collection-art--frame b{width:54%;aspect-ratio:1;display:grid;place-items:center;border-radius:14px;border:1px solid rgba(231,190,94,.45);background:radial-gradient(circle,#254e3b,#0e211a 65%);color:#e9c66e;font-family:Georgia,serif;font-size:1.35rem;box-shadow:inset 0 0 18px rgba(231,188,89,.08),0 8px 15px rgba(0,0,0,.23)}.collection-art--chip b{border-radius:50%;background:radial-gradient(circle,#7c1c2c 0 37%,#e2bb60 39% 46%,#151718 48% 64%,#8e2032 66%)}.collection-art--felt b{background:radial-gradient(circle,#1b684c,#0b3829 68%)}.collection-art--frame b{background:radial-gradient(circle,#352810,#0d1712 70%)}

@media (max-width:760px) and (orientation:landscape){
  .char-topbar,.collection-topbar{height:14%;min-height:48px;padding-left:1.5%;padding-right:1.5%}.char-brand{min-width:145px}.char-brand>span{font-size:1.1rem}.char-brand strong{font-size:.92rem}.char-brand small{font-size:.38rem}.char-topbar__meta span{display:none}.char-close{width:32px;height:32px}.char-stage{top:14%;bottom:15.2%;grid-template-columns:22% 37% 41%;gap:.55%;padding:.7% 1.3% .8%}.char-list{gap:.3rem}.char-list-card{min-height:58px;border-radius:12px}.char-list-card span{padding:.25rem}.char-list-card strong{font-size:.65rem}.char-list-card small,.char-list-card i{font-size:.34rem}.char-list-coming{min-height:36px}.char-showcase{border-radius:17px}.char-showcase>img{height:89%;bottom:7%}.char-showcase>img[data-character="ocean"]{height:70%;bottom:12%}.char-showcase__name{left:5%;bottom:4%}.char-showcase__name h1{font-size:1.12rem}.char-home-set{right:4%;bottom:5%;padding:.35rem .54rem;font-size:.44rem}.char-detail{gap:.28rem;grid-template-rows:27% 39% 34%}.bond-card,.char-unlocks,.char-cosmetics{border-radius:11px;padding:.32rem .4rem}.bond-card header strong{font-size:.68rem}.bond-card header small,.bond-card header>b,.bond-card p{font-size:.34rem}.bond-meter{height:5px;margin:.25rem 0 .18rem}.char-unlocks h2,.char-cosmetics h2{font-size:.42rem;margin-bottom:.22rem}.unlock-track{gap:.18rem;height:calc(100% - .65rem)}.unlock-track article{border-radius:8px}.unlock-track article span{width:17px;height:17px;font-size:.38rem}.unlock-track article b{font-size:.28rem}.unlock-track article small{font-size:.22rem}.cosmetic-row{gap:.2rem;height:calc(100% - .65rem)}.cosmetic-card{border-radius:8px;padding:.14rem .2rem}.cosmetic-card b{font-size:.27rem}.cosmetic-card small{font-size:.22rem}.collection-stage{top:14%;bottom:15.2%;grid-template-columns:16% 84%;gap:.55%;padding:.7% 1.4% .8%}.collection-tabs{gap:.28rem}.collection-tabs button{border-radius:9px;padding:0 .42rem;font-size:.34rem}.collection-item{border-radius:11px;padding:.22rem .28rem}.collection-item>small{font-size:.21rem}.collection-item>strong{font-size:.32rem}.collection-item>span{font-size:.22rem}.collection-art img{width:74%}.collection-art--cardback b,.collection-art--chip b,.collection-art--felt b,.collection-art--frame b{font-size:.85rem;border-radius:9px}.collection-count{padding:.26rem .46rem}.collection-count strong{font-size:.75rem}
}

@media (max-width:690px) and (orientation:landscape){
  .char-stage{grid-template-columns:20% 37% 43%;padding-left:1%;padding-right:1%}.char-list-card{grid-template-columns:40% 1fr}.char-list-coming span{font-size:.31rem}.char-showcase__name p{display:none}.char-home-set{padding:.3rem .42rem;font-size:.38rem}.unlock-track article b{font-size:.24rem}.cosmetic-card{grid-template-columns:34% 1fr}.collection-stage{grid-template-columns:15% 85%;padding-left:1%;padding-right:1%}.collection-tabs button{padding:0 .28rem;font-size:.3rem}.collection-grid{gap:.23rem}.collection-item{padding:.17rem .22rem}.collection-item>strong{font-size:.28rem}
}
.home-host-zone[data-active-character="ocean"] .home-casinon{height:78%;right:7%;bottom:2%;max-width:56%}
.home-host-zone[data-active-character="ocean"] .home-dialogue{right:1%;top:8%}
@media (max-width:760px) and (orientation:landscape){.home-host-zone[data-active-character="ocean"] .home-casinon{height:72%;right:5%;bottom:5%}}
/* v0.12.0 readability guardrail — never trade character/collection legibility for density */
@media (max-width:760px) and (orientation:landscape){
  .bond-card header small,.bond-card header>b,.bond-card p{font-size:.44rem}
  .bond-card header strong{font-size:.74rem}
  .char-unlocks h2,.char-cosmetics h2{font-size:.48rem}
  .unlock-track article b{font-size:.34rem}.unlock-track article small{font-size:.28rem}
  .cosmetic-card b{font-size:.34rem}.cosmetic-card small{font-size:.28rem}
  .collection-grid{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-template-rows:repeat(2,1fr);gap:.3rem;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:1px}
  .collection-grid::-webkit-scrollbar{display:none}
  .collection-item{scroll-snap-align:start}
  .collection-item>small{font-size:.31rem}.collection-item>strong{font-size:.42rem}.collection-item>span{font-size:.31rem}
}
@media (max-width:690px) and (orientation:landscape){
  .bond-card header small,.bond-card header>b,.bond-card p{font-size:.42rem}
  .unlock-track article b{font-size:.32rem}.unlock-track article small{font-size:.26rem}
  .cosmetic-card b{font-size:.32rem}.cosmetic-card small{font-size:.26rem}
  .collection-tabs button{font-size:.36rem}
  .collection-item>small{font-size:.29rem}.collection-item>strong{font-size:.39rem}.collection-item>span{font-size:.29rem}
}

/* CASINOIR v0.12.2 — HOME CHARACTER POLISH
   HOME専用アートはキャラクター画面/コレクション用立ち絵と分離。
   表示を約15〜20%抑え、歓迎感のあるポーズを主役にしつつUIを侵食しない。 */
.home-host-zone{overflow:hidden}
.home-host-zone .home-host-halo{left:62%;top:48%;width:76%;opacity:.72;filter:blur(16px)}
.home-host-zone .home-casinon{
  right:1.5%;
  bottom:6%;
  width:60%;
  height:80%;
  max-width:none;
  object-fit:cover;
  object-position:50% 42%;
  transform:none!important;
  border-radius:28px;
  filter:drop-shadow(0 15px 18px rgba(0,0,0,.42)) drop-shadow(0 0 16px rgba(235,190,92,.14));
  opacity:.98;
}
.home-host-zone .home-casinon[data-character="casinon"]{object-position:50% 42%}
.home-host-zone .home-casinon[data-character="ocean"]{object-position:50% 39%}
.home-host-zone[data-active-character="ocean"] .home-casinon{right:2.5%;bottom:6%;width:58%;height:79%;max-width:none}
.home-dialogue{
  right:auto;left:2%;top:7%;width:43%;
  background:linear-gradient(180deg,rgba(255,248,228,.97),rgba(240,225,187,.95));
  border-color:rgba(222,177,74,.78);
  box-shadow:0 9px 24px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.75);
}
.home-dialogue::after{left:auto;right:-10px;border-left:11px solid rgba(241,226,190,.96);border-right:0}
@media (max-width:760px) and (orientation:landscape){
  .home-host-zone .home-casinon{right:.5%;bottom:7%;width:57%;height:77%;border-radius:22px}
  .home-host-zone[data-active-character="ocean"] .home-casinon{right:1%;bottom:7%;width:55%;height:75%}
  .home-dialogue{left:1%;top:6%;width:45%;padding:.38rem .46rem}
}
@media (max-width:690px) and (orientation:landscape){
  .home-host-zone .home-casinon{right:-1%;bottom:7.5%;width:55%;height:74%;border-radius:18px}
  .home-host-zone[data-active-character="ocean"] .home-casinon{right:0;bottom:8%;width:53%;height:72%}
  .home-dialogue{width:46%;top:5%}
}

/* =========================================================
   CASINOIR v0.13.0 — PLAYER PROFILE / LEVEL / ACHIEVEMENTS
   Player growth is independent from character BOND and never Pay-to-Win.
   ========================================================= */
.home-profile{appearance:none;-webkit-appearance:none;font:inherit;text-align:left;cursor:pointer;color:inherit}
.home-profile:hover,.home-profile:focus-visible{border-color:rgba(244,207,119,.82);box-shadow:inset 0 0 18px rgba(239,199,111,.10),0 0 0 2px rgba(235,190,88,.12);outline:none}
.home-profile__copy small{max-width:5.8rem;overflow:hidden;text-overflow:ellipsis}
.home-profile__copy span i{transition:width .35s ease}

.screen--profile{overflow:hidden;background:radial-gradient(circle at 17% 28%,rgba(145,92,31,.24),transparent 29%),radial-gradient(circle at 78% 22%,rgba(128,22,44,.18),transparent 33%),linear-gradient(145deg,#0b2119 0%,#07140f 42%,#171008 100%);color:#f7ebc8}
.screen--profile::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(245,199,99,.035) 1px,transparent 1px),linear-gradient(rgba(245,199,99,.025) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 88%)}
.profile-ambient{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 52% 42%,rgba(234,185,82,.08),transparent 46%)}
.profile-topbar{position:absolute;z-index:12;top:0;left:0;right:0;height:15%;min-height:56px;padding:0 max(2.1%,var(--safe-right)) 0 max(2.1%,var(--safe-left));display:flex;align-items:center;gap:1rem;border-bottom:1px solid rgba(236,192,100,.38);background:linear-gradient(180deg,rgba(7,20,16,.97),rgba(7,20,16,.76));box-shadow:0 10px 26px rgba(0,0,0,.2)}
.profile-brand{display:flex;align-items:center;gap:.62rem;min-width:240px}.profile-brand>span{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(236,192,100,.54);border-radius:50%;background:radial-gradient(circle,#6f4d1c,#17160e 72%);color:#f5d379;font-size:1.25rem;box-shadow:0 0 18px rgba(226,174,60,.18)}.profile-brand small{display:block;color:#ac9361;font-size:clamp(.4rem,.62vw,.55rem);letter-spacing:.18em}.profile-brand h1{margin:.05rem 0 0;font-size:clamp(1rem,1.65vw,1.38rem);color:#f6df9d;letter-spacing:.04em}.profile-topbar__hint{margin-left:auto;display:flex;align-items:center;gap:.42rem;color:#c6a960;font-size:clamp(.38rem,.58vw,.52rem);letter-spacing:.15em}.profile-topbar__hint i{width:18px;height:1px;background:linear-gradient(90deg,transparent,#b99243,transparent)}
.profile-stage{position:absolute;z-index:4;top:15%;left:0;right:0;bottom:15%;padding:1% 2% 1.1%;display:grid;grid-template-columns:31% 69%;gap:1%}
.profile-identity{position:relative;min-width:0;border:1px solid rgba(231,188,92,.38);border-radius:20px;background:linear-gradient(155deg,rgba(15,41,31,.9),rgba(6,17,14,.97));box-shadow:0 18px 42px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.04);padding:.75rem;display:grid;grid-template-columns:40% 1fr;grid-template-rows:auto auto auto auto 1fr;gap:.32rem .62rem;overflow:hidden}.profile-identity::before{content:"";position:absolute;inset:-30% 35% auto -25%;height:100%;background:radial-gradient(circle,rgba(231,184,75,.16),transparent 62%);pointer-events:none}
.profile-avatar{position:relative;z-index:1;grid-row:1/6;width:100%;height:100%;min-height:0;border-radius:18px;display:grid;place-items:end center;overflow:hidden;border:1px solid rgba(239,199,109,.42);background:radial-gradient(circle at 50% 35%,rgba(214,177,88,.18),rgba(8,25,19,.9) 64%);box-shadow:inset 0 0 30px rgba(231,180,64,.06)}.profile-avatar img{width:92%;height:94%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 12px rgba(0,0,0,.32))}
.profile-name-edit{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;gap:.3rem;align-items:center}.profile-name-edit input{min-width:0;height:34px;border:1px solid rgba(226,184,86,.34);border-radius:10px;background:rgba(1,9,7,.5);color:#fff0c4;padding:0 .55rem;font:800 clamp(.54rem,.9vw,.74rem)/1 system-ui,sans-serif;outline:none}.profile-name-edit input:focus{border-color:rgba(240,199,96,.82);box-shadow:0 0 0 2px rgba(236,187,74,.1)}.profile-name-edit button{height:34px;padding:0 .58rem;border:1px solid rgba(232,188,89,.52);border-radius:10px;background:linear-gradient(180deg,#83551d,#3f2c13);color:#ffe8a4;font-size:clamp(.42rem,.65vw,.56rem);font-weight:900;cursor:pointer}
.profile-equipped-title{position:relative;z-index:1;align-self:start;justify-self:start;padding:.22rem .48rem;border:1px solid rgba(220,63,78,.46);border-radius:999px;background:linear-gradient(90deg,rgba(128,20,40,.66),rgba(62,18,25,.56));color:#ffccd0;font-size:clamp(.45rem,.72vw,.62rem);letter-spacing:.04em}.profile-badge-strip{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:.34rem;min-width:0;padding:.1rem 0}.profile-badge-strip__icons{display:flex;align-items:center;gap:.22rem;min-width:0;overflow:hidden}.profile-badge-strip i{flex:0 0 auto;width:21px;height:21px;display:grid;place-items:center;border:1px solid rgba(234,190,88,.48);border-radius:50%;background:radial-gradient(circle,#725421,#18180f 70%);color:#f7d77f;font-style:normal;font-size:.5rem;font-weight:900;box-shadow:0 3px 8px rgba(0,0,0,.22)}.profile-badge-strip small{color:#93866c;font-size:clamp(.29rem,.46vw,.38rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-main{min-width:0;display:grid;grid-template-rows:auto 1fr;border:1px solid rgba(231,188,92,.28);border-radius:20px;background:linear-gradient(160deg,rgba(9,30,23,.84),rgba(4,13,11,.93));overflow:hidden;box-shadow:0 18px 42px rgba(0,0,0,.2)}
.profile-tabs{height:42px;display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid rgba(229,184,83,.22);background:rgba(4,17,13,.58)}.profile-tabs button{border:0;border-right:1px solid rgba(226,180,75,.14);background:transparent;color:#a99b7d;font-size:clamp(.48rem,.82vw,.68rem);font-weight:900;cursor:pointer}.profile-tabs button:last-child{border-right:0}.profile-tabs button.is-active{color:#ffe6a3;background:linear-gradient(180deg,rgba(219,172,63,.16),rgba(125,87,27,.1));box-shadow:inset 0 -3px #d9ac4b}
.profile-panels{min-height:0;position:relative}.profile-panel{position:absolute;inset:0;padding:.6rem;overflow:auto}.profile-panel[hidden]{display:none!important}
.profile-stat-grid{height:62%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:.42rem}.profile-stat-grid article{min-width:0;border:1px solid rgba(221,181,87,.2);border-radius:13px;background:linear-gradient(145deg,rgba(15,45,34,.72),rgba(8,22,17,.86));padding:.48rem .58rem;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 1px rgba(255,255,255,.025)}.profile-stat-grid small{color:#9e8d69;font-size:clamp(.36rem,.6vw,.5rem)}.profile-stat-grid strong{margin:.1rem 0;color:#f5df9d;font-size:clamp(.72rem,1.22vw,1.04rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-stat-grid span{color:#5da78a;font-size:clamp(.28rem,.45vw,.38rem);letter-spacing:.12em}

.achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.42rem;align-content:start}.achievement-card{min-width:0;min-height:68px;border:1px solid rgba(220,179,84,.18);border-radius:13px;background:linear-gradient(145deg,rgba(12,36,28,.76),rgba(6,18,14,.9));padding:.42rem;display:grid;grid-template-columns:42px 1fr;gap:.46rem;align-items:center}.achievement-card>span{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(216,175,80,.3);background:radial-gradient(circle,#584116,#12150f 72%);color:#b59a5d;font-size:.68rem;font-weight:900}.achievement-card div{min-width:0}.achievement-card strong{display:block;color:#b9ad8f;font-size:clamp(.43rem,.7vw,.58rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.achievement-card p{margin:.07rem 0;color:#746e60;font-size:clamp(.3rem,.48vw,.39rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.achievement-card small{color:#6c6558;font-size:clamp(.28rem,.44vw,.36rem)}.achievement-card.is-unlocked{border-color:rgba(232,190,88,.48);background:linear-gradient(145deg,rgba(41,57,31,.86),rgba(9,27,19,.94));box-shadow:inset 0 0 18px rgba(227,181,67,.045)}.achievement-card.is-unlocked>span{border-color:rgba(240,197,92,.68);background:radial-gradient(circle,#8a631f,#2b2414 68%);color:#ffe08a;box-shadow:0 0 12px rgba(231,183,68,.15)}.achievement-card.is-unlocked strong{color:#f0d89b}.achievement-card.is-unlocked small{color:#5bc58d}
.profile-title-copy{height:27%;border:1px solid rgba(226,181,75,.18);border-radius:13px;background:linear-gradient(90deg,rgba(105,73,25,.24),rgba(16,42,31,.34));padding:.44rem .58rem}.profile-title-copy small{color:#be9c51;font-size:clamp(.3rem,.48vw,.4rem);letter-spacing:.14em}.profile-title-copy strong{display:block;margin:.06rem 0;color:#f0ddb0;font-size:clamp(.52rem,.88vw,.72rem)}.profile-title-copy p{margin:0;color:#8d846e;font-size:clamp(.32rem,.52vw,.43rem)}.profile-title-grid{height:calc(73% - .42rem);margin-top:.42rem;display:grid;grid-template-columns:repeat(3,1fr);gap:.42rem;align-content:start}.profile-title-card{min-height:62px;text-align:left;border:1px solid rgba(221,180,85,.2);border-radius:12px;background:rgba(7,24,18,.84);padding:.4rem .5rem;color:#9b9077;cursor:pointer}.profile-title-card span{display:block;font-size:clamp(.26rem,.42vw,.34rem);letter-spacing:.1em;color:#857455}.profile-title-card strong{display:block;margin:.09rem 0;color:#d3c59f;font-size:clamp(.45rem,.74vw,.62rem)}.profile-title-card small{font-size:clamp(.29rem,.46vw,.38rem);color:#776f60}.profile-title-card.is-selected{border-color:rgba(236,192,94,.66);background:linear-gradient(145deg,rgba(99,69,24,.4),rgba(14,40,29,.88));box-shadow:inset 3px 0 #e0b353}.profile-title-card.is-selected span,.profile-title-card.is-selected strong{color:#f6db92}.profile-title-card:disabled{opacity:.48;cursor:not-allowed}
.profile-bottom-nav{z-index:11}

@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .profile-topbar{height:14%;min-height:48px;padding-left:1.5%;padding-right:1.5%}.profile-brand{min-width:170px;gap:.42rem}.profile-brand>span{width:31px;height:31px;font-size:.94rem}.profile-brand h1{font-size:.92rem}.profile-brand small{font-size:.34rem}.profile-topbar__hint{font-size:.3rem}.profile-stage{top:14%;bottom:15.2%;padding:.7% 1.3% .8%;grid-template-columns:32% 68%;gap:.7%}.profile-identity,.profile-main{border-radius:14px}.profile-identity{padding:.45rem;grid-template-columns:38% 1fr;gap:.2rem .42rem}.profile-avatar{border-radius:12px}.profile-name-edit input,.profile-name-edit button{height:28px;border-radius:8px}.profile-name-edit input{font-size:.54rem;padding:0 .4rem}.profile-name-edit button{font-size:.34rem;padding:0 .38rem}.profile-equipped-title{font-size:.34rem;padding:.15rem .34rem}.profile-badge-strip i{width:21px;height:21px;font-size:.45rem}.profile-badge-strip small{font-size:.28rem}.profile-tabs{height:34px}.profile-tabs button{font-size:.42rem}.profile-panel{padding:.38rem}.profile-stat-grid{gap:.28rem}.profile-stat-grid article{border-radius:9px;padding:.28rem .36rem}.profile-stat-grid small{font-size:.29rem}.profile-stat-grid strong{font-size:.62rem}.profile-stat-grid span{font-size:.22rem}.achievement-grid{grid-template-columns:repeat(3,1fr);gap:.28rem}.achievement-card{min-height:55px;border-radius:9px;padding:.28rem;grid-template-columns:32px 1fr;gap:.3rem}.achievement-card>span{width:30px;height:30px;font-size:.48rem}.achievement-card strong{font-size:.34rem}.achievement-card p{font-size:.24rem}.achievement-card small{font-size:.22rem}.profile-title-copy{height:26%;border-radius:9px;padding:.28rem .36rem}.profile-title-copy small{font-size:.23rem}.profile-title-copy strong{font-size:.4rem}.profile-title-copy p{font-size:.26rem}.profile-title-grid{height:calc(74% - .28rem);margin-top:.28rem;gap:.28rem}.profile-title-card{min-height:52px;border-radius:9px;padding:.28rem .34rem}.profile-title-card span{font-size:.2rem}.profile-title-card strong{font-size:.34rem}.profile-title-card small{font-size:.23rem}
}

@media (max-width:720px) and (orientation:landscape){
  .profile-topbar__hint{display:none}.profile-brand{min-width:145px}.profile-stage{grid-template-columns:34% 66%;padding-left:1%;padding-right:1%}.profile-identity{grid-template-columns:34% 1fr;padding:.36rem;gap:.16rem .3rem}.profile-avatar img{width:100%;height:95%}.profile-badge-strip i:nth-child(n+4){display:none}.achievement-grid{grid-template-columns:repeat(2,1fr)}.profile-title-grid{grid-template-columns:repeat(2,1fr)}.profile-stat-grid strong{font-size:.52rem}.profile-stat-grid article:nth-child(6) strong{font-size:.42rem}
}


/* =========================================================
   CASINOIR v0.14.0 — GRAND CASINO FLOOR
   HOMEの豪華IR世界観をゲーム選択体験へ統合
   ========================================================= */
.screen--grand-floor{
  --floor-gold:#f4d77e;--floor-gold-2:#c99a3d;--floor-ruby:#a80f2b;--floor-green:#064c3d;
  padding:0;overflow:hidden;background:#070b09;color:#fff8e8;
}
.grand-floor-bg{position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(3,8,6,.84),rgba(3,8,6,.38) 42%,rgba(3,8,6,.67)),
  linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.64)),
  url('data:image/webp;base64,UklGRvIyAABXRUJQVlA4IOYyAADwKgKdASpABiADPnk8mUo6M7CkohIZ60APCWlu4RkHdyzVwYp14/rdSQ23l5c9++Lxv4qXnm0X/yeoj/5fTAzaP+To57j3y3//HrNzL7BP/+UPAP/nWH6Bf1z/5fp3+b9wE6hCg1ywhqx6cizz/qu9felQ6mWdI+UclW9LmTtu95VZ4aXA/BE/pw00OZmrQhi6ITLjQ7sSZgZEMKLgWxGHtBwFr34/6qQF0qu+G/Txo88OCPxbMq9Y3XPMhkNI+4nH25Uta9CD0j5VXFBbGQDBUrt7yLH/njhGdxRoBC7Qf6YD1DaN3afYW7WCxRu8UfmpPXfM/flW5C5q5M7Zyjc2U1scYF6aKQGx5LOt9ls89JMo7PLbb6gJDnId+XrPLYt3htKHFr3FHm9zhXTLIlF3Pdkk+4lhN9tG7xrG9t3CpEr1KeZOVEJ/opB51Z0PggJcI+S6+Iv8VBP5amTuVR2K57lDCmhuiVBHl3jNQu00iu5qnYCciihAV1rBN5ote5AiUH6IpYayCCaLTHoxy9k3mXqZVGLHgyAG+kP/gBSq76fks6bphACj4n3xxSHfbl6GV4++8ucJy/VVFdA2rYmiS4qUjbWkomfaOT5S/6CjwlfP6tIRzQbiftIHCJipyykNhf/EzH5aQzjFYTzte1Vcpu8qd/llmLYr7OJe55KQu5V3unY6pX/vKFewHbPDOtBaAEmjf7fdU1uSWKTgWANtIwVXBieM7MAwZTcmObZjb5KUcOf4HDJNdEBvBn0czNXox4WCg7DSFQqp6T7e6y97AlH7zNUkaJB9JvnH7FLWu1g07W4le3pBURC21IYwqyWjG6Udwo3tNVnT5GwYNNIpBFGb1FSo36FnK8oVP0UQ5Jx1wmtMYazMOrQO/YYWd8XLPOdohCVm4mDMRuvQQTKRtlrU4ryWh1VEj679lJ6GH15bb5jEW2VJzgxlvWKmff6Ye2wH7KjDHrirmuENUuxO6jwpbg1v9Adw96mkiDYHHdEfT/JmQ79CIq4HcOxUyN8/UoIN79GuAeavcqI6/aXSawiIFXfsqy3XcNCm9o85w0iTRergIXMemFRise8tKPXxu1qpNHCEf8CPpL6716RZWX9/tdqfy9MYcizBV0E5FEL7wlUO+UoW5UdGzt5CfyBL4XTLb1vMoajXbe4XYb7fjCKPLhvD2b1Bks4H5ASde6CYw0wwecQHk70UPpDe8xO2IcyYg3eShiMcq+4vJ7/G1Z0bOUua/LAxaPJGfcPUIY2/GbpUrRyMdW/znVGP/1EfNiZW1XQIZIb7Pq9T50kaNlQ/07ln+bKIqgv+hQCxmID8VUNdqVFOsySQmWofYbPxvABhVfOCR5ompSF8VFWTYH6eA9a6vLf8SREQnWKvJc5fRpUgmkqM8UkaozYPZSzdSp3We/MYmVX8PqGz1fSolFbueAeYCkiKsZtpEipz2D6ajJYFR6sKXF+IxWDGbiUoHB4g4arY5sgw407h+nff571mfwCmAMXLJJEUXSr6lMWHYobXkiHqnDORZ5/5PrBqTj63BsK1a/zSxA3yd0mpF9WoSjuuS85BYDibcLWiDYbKwGrgOUAggBAvRexlY/SlrCjtyjnJXZqrNktRxUaHUgGuixuva3aURXJEakOAHPysLlUvAtemJLmCa3oinFjelfHM+AO3p/JQWtCS5mbMZvwjDXbk/dtwFFAYF50ZNB3ZkX2cZEjg1W56SrG6b5CXEyRaPXHJ8TmpMbsSTOTxBpasA5FKE1JjdzrqS+Kjxcy2ixPSF1cH+zHk316B9lO9Ez2sngKxxZZewo4tyrCwact8//CRlAjaZJc1+72sCKhOu7QO88yBNaE4eE/y6QrD7HGQLI78MvNeuiIve36w1UoFEocp73RD7lhf07Jn285AaswR4TLf6IoYxG3tSYmie9Q3tS04Mgib+QBqV7Ecd9b5CHzCZHNQYibj4CoJkc9/eCT6vB9V15tXXBV+0t7ekNnlnc7V737Swj/mj6qTv/IAu8KN0xzJ7/ifqHaohfwzcnKJ8oePZMpauqNvG4PVoTb7XOhqEMJtCYJDXiDml8jU3zueD4LxMuM05tICW22wYmDVgrw4MONt+uWligdbS9ESDoGTOSDAJ0qUkRPZ7m/0bo3f3txahGmk46sXFUSXYN8OYuz3XaFWlpwSlM9mVGoRt/bVOJ14enTUkQCkxMkQRwztqMOsu2aColHdDn+wA9xw5kxnQ/hE0/nBA0rJf3YsxxqdSP641cY/GvnyuKA7EL0gmxhz2oikj4LweJ5aGyls6519f5YWLwteEpjXlvB3kGnkqndde41Mna0tU9DRiVYppxHP6zMfFpztHdv4k3Vo/QpfWsNX3rSaPZuOT3rGcmyO6Wx9+1P2SkNaetlJKu59hQoBC/MQQ6iRaB6eD/a8njMejaCOL/KxjZ+wzDLpSU8le3tCoPHY3p4kxPdkkddwAt8VIA3otvERnOx09GZGuX8Ke4Qd9xd7rUsWxqhRbjYkVQtac6iPgyiHD5UslvSdzUR8AeF0JjqvnTtg9trLMW1uGNOZacIfAkYPWPgX3C4DiRFFoY9XxtJmWtwk62bTP6IZ/J4EVh4fS8o4988HyfRm2BIsOXPt2qcGClS3HpEotw2OBziGRJBeHo2hrG86a5riOCDk75iNl4g7yhbXj6IDjfwMwP+ns9XphvLthlPNg/vjSdIGVvKH+qpckEo14gsashv4qijjFvKoB2HN/T4p/k9NDI+2P8JicjPKWeXrMMKqwGJT3vfYmurMpzKWk1nNOg210+SaQBg8/jyettXuZSbst4f48DSmS3u5549WNPb08MAC93TYgIZpxjEYcYuUfjbV2oGaZBtz+SvVdxLTh7xQN6V3ysXD1zSh03MX5Lu48yFsGvA+MzTHCO/GSOldX5fU5WjceWspRdrvyyIxZ6mjfexAY5SI7xQIYqxrlo2Rj1qfC8hfiL0uyNnJjoGHrlH8y24LVTMhVoV+cER1lGLu/oqrlAy8SCZi3NVT0W2C12Z4WcvsLYkC3yNx9rrkKuFakOjZIBIyXsAeSekLFuJo3tHfzPcaNZg0Fxdk7eN2Q517jp/qIqxmPTeqzkAWqT9Bnvb24JUo4rq6E0g5lcjXC/vHaC6Xi8vgYgiKXe1fZZWs2SzkzMo7fELLzmfRQVIyjItx9Bbi50ejAQDL31SmeDLIrRQ0S7J28be1KCC7ytJ61AzMRQEskH8gBnyYTohEh9mr0dD+qHzcgPKq7cf6qUfsbtTnSDpP4bbH7W47kNDDRKr2iAFhgvx/qjVGNQVKqCUsuu4CBf+WHeNzP3fwflFy8hASUA0uZjDW1P1KB9qYf1FZ+XWx/VFf12+w+C1haLDK1ekdRXzF82lKX8SzFzRgu27ec3cubBVZ6jx8JR4pCLr93XoILsnwSfnoO5wPic5MpwpZLhDRCI1VF9hKNB6DJc5XLUF1IfrYnrvXf+OECrq5rzBkTBm5xyArGY7MfNeRzgd+Z1f4cghJV2SRxvPNP9xzFzhEVmVIgkjc77bD8D7tcL/MYhjHyUhBR3v48kSCQ146PkaGRSe7I6b7u7LBDwU3E0o0A9sD5esqRjhQgE7JynPp/AUESmi6gxDRWvecfx44TxgFzgLtWo7xvaFxnrihR8S5YD18THu8aaCYVMzaQn5Dv5rF2MOxh/Qy37a2+VbIlxUfqu5BLiV4Qbar5rFDmb8qFGgS3KLjfStHV2ebjK/M71Zr/w5m1YPZSTbfiCcXv48m0RZsRKOXDOLf3yUE2era4BLZ4767BMtVYJIFIOWBDkD88mC6sMZ6q5HMnvsHnvyJ8CX2oPcVfhYt5YTeYu8rsk+YL0TRd95f8pL9NxdszvRc/9fG7D/7Mly6uXKRtg2LSM6f87YdZImdvZVj04rGJUylhzNKErkwTDcS/5/seEQXPpc1hMpMzFYOLQCMFbS1H2EQqMxvlN0b7S0co58rw2G0mfZeZjgQ+xKMEyLBcGByJqkm3/8YNZKt1gavSY51g7eYuyfcuA5XbL5NHcReTiAHnJyekXWyYFtAuUrl3qr79lDYAuB2VGyUsoTOfOZYwJGX/mYQe1kxacSiU9AJDtYgamJ71vO3usT4LuuMIGGwQwKuKzwzNXrhlW+J8d5rsnb1cqB+FRHeMzmSTYGPQ92kYPP8ytVR4/v2jSfjs+cKPpFhx2hYFoYM7pl76+mLegiAlSNElsc4LxB8N1ikQLIUYKj6BpeggG9I6u9Y6MsdoU440BORuVjC0b1zIuWU8whxNgdbQtnY6gru8brQ62OARGMWdsIuXaYnhLvFZ1RxtYgxh30j5d2TWen1NMGBmCiYW1dP4IOjt1nHUbq5XstiPGkU2RRJ/YsSERnOxuNIdIPYXBV+PkUmALi/vEcJOfTmE03DgauG9qdoUCxmQGQB3lv43QZTHCC4jynsPkmwzUiXLlSRwukCqWaPCGzH7csrzz2r294h/ATfGy9egg5Dtn/UTe0QJrQ4fwT+q0LvKe4J4+FR92ONJvh4a5SXE26/h572lSyX8RMUPPhKTo4NNc0hKbqWt7whuW2CW2/IgoCHM1Vxdk99pGVeKInGiO/ex/zKrzt/rhLXJyZDofyDFAJIr5AkK6HHEjL+ozFuP2yVpB1STYU2HG/bboYN1q1G0yXYNI7aOYEo/Tarv0Iiruv9r2XXr1eq/ckWjwC0a/eWhuSZuOqcI7yh5qsY9MoO4xwhpAWN2GlhXrE8j427vnIOb4X+usiNEWtWy4RIMep0eWGqOjg/oqOB8MEKY6pS7J/7KAdp/E3mwflRlLcegGyy1tIFDMi94soirGpDqpDBsW+epVxKw9QfVJi7uYmUum04lrfUNSkqvJII1k2syJEXDikfyBuvfs6G2Eq3xOj+IQ+LpxioAu6jDmBZjqSmIw0k4qon9275E1cqo/xO9Qt2sqz8bqTQBOUYvVcjDZXdeEL/bxt7UoEp96/BM+UGnS8vNO/dktiNwryY7JTX0NHH6NZYquzOreNxR4twjE0oIk/soi9qwmt3E0Z1GlXk8LZk/3hP8QzuJ5H1flQ24UIXZP4CEDaK/sTTCXuO2bbhMld4jSqeEQq7uiaSZ8ecmtTLoxnSX09WnLb96fYCuC3f4t0VbmooGCLdspAi4WAEnsVK9wzjVZoNAZn3Llk4q557eT6rRR2VP/ZOgodn5nIYmsOp3uYjOiqg4TxEyT2OQOAU3DvTA+u7TAlWO4ouuRhBdQJ0YpSuBhQuF/HcUoVeRTFr7BBEysbJeCjJ0e0SMovjhRyL+GI/VIGDojaFVHghEZNDm7CU8YoiRTFaipFzk8k1K1+vvg5Qir8eZDLIdyokNlmIqsDCwZM9ACIvmszXQWfu3tShbfZ/H/vu38SrGv0caLNtMEVcGpXhudYSxasgvI6/ir8JZl6PVgl3PaCMsLeu3ASyzAY9xv7vLaringX9uO0VfAwzlIPPqJx1fDRwgBZNzvI6D/f0OVhtJcBKze9RQVeLMd8g7APgtFw6R3C7Ff8iZVwsygX9tno9WCabAgNAlvfmD/oXk2vRR4t05xmSjit5gtvToANrWecAZv9bRWy4UfQvS2LaQEuUCIUEhc6kMM0C2QHz1NG/MTWbzl4YF4ruQEExVO/u6tcQk6tB8cEAR25MGIxVjJwvR7MTGxaOsxNLqDOLkxOu4j380fi3GRAV+5ZH4Kt5ga+r8SlqPGt9M6qs4stSgSLDjvR/JtQjutEM7SqO7alBEhXZo4kcoc+kuPuk9j8IhE3zPmenGLpkNf6mkw37bs5r5gJLcvexsAZDW7zcqN+bHOFvcCsAtiH+ZpGWl0o29Sxt7V7UKR0baaH1+Qp0nbAmkSyyTXrPo0DkTVeYFycW3J++ztmvcavtZhL40NDeiNE1U4CkhS+7ElgoecKkaqMUeKnSnyhbAAD+8dWw2BMPSQlQPLlB+v1DlOqg2Dyt76PS4y8XD9YmGNcZfgOkjdpBfaIk2MM9gYVfndz5i+sBUnNetWBbtUvubYRHaax0wMt1/BjzlejfS7liVliQ9LGgAzwdHgBNxTOKaG6nUiKep1DAFnqgwSJ6qdMQPn6WaOw53q5yZXUH9AyEaWFe2NuwLnOYoEyD/u5s/raNbJmY8ksOEVnVr5gVDvZuwbtisSH74W9pQlqkseK6LvYO09r0iEgq1qFjHpcMFCLMzdZCrrCyrKAN0HICZeXBcbEFtDD6976Kmsa0xl+5OPb28JSF1AwuSM7MXyP4fCgO1usB/WlNtGDl73HbHVuG/qhksoQVComNj/gMvw5krj8vgpUbj0RilCzNPO9TJMi+l2dZJYAPA3jkOH3tVHUeTQjyYyJ8hMUJnpihU+hYCFDuVP8yEc6tBrbhC6aSAhCgpXIvTUv6+uAKPiQk6o0RBcUCPiAk3Y8scC+sE0seZ4+ydMXNtcBoPgBTfGXEcEtVMeo+WhRNhRBI7yJOoQqdVgZ6x8hD1jkHeHqPsV7MddYG+5uDu/MUY1qvidrSejmJ0sTptKc2/r5Hfe1s6UeqB/CKcVGZS7Jp46lBZvNlUi4UVDIvEMe2juA4Bj/8LlKwACplh49x0mMyzCry92rn9wSVJYk0b41SaJxaP9R5LHdwsN7a1wJKygAVNINFCJq8c9W1iLSt4qKBl6SwIAjxiWZbeGNRRvyT2g5uD/q4Y657v66ZZo+xbhXq7LkB48CC67Pf6R/O+Ql/+UkOWURe54LN8yrBzpMZxgI6OEIjuAh0tXt92c6Lxxvhdn48/Qma7nq8kn9IAG9QnSlPYX0vMFHWWtCWIetSwg3Jlb2jTJ9kdSIBdAg7bEuaJZgYPp+MoXkVoO5SwhgO1HRnMO7lDZzgXNLKCjC2mHgVRZicpOmm5n32s5tOTvOBO1Tstr1F052Z27+2bV9QAFw/Aa8nBXgjnN1L6ZHxn6C6A+ArJ/X1gHTIjg+2TwY+j9imLB6wT/SX5zMJPNhhi50NS++4EICHjWN7Sopv+SfjxTpuyiyig+g+8Scjx1HQWFeRHoGhHYxRZjkjr/+fEI+2srkPxr1an35FhjBXVwswOLemRaYs4/g92yr0vvC29iogj8xm11FmsbN5IsQKzIW5jA47xuoTVUkLwn+XW7CPS7Fr+pVcZXYTW/ufPnfmJAXi6qmWLvt8g/yBF4WO1FxSu80enRaop/E71GAxiD8inN/vKoUNP1MkQymRoRUg9w0nyMaHd4CVo48gApiVQ8F7YZPD9Tk5sYhAWllIJjnEhaq3+1rvGT0BJzr1rWyXt/4JoVxZoPEXvcE3nNSABzbFeVn1/nOcLDg1CvRpRHKHM1FObgfdP14ZepirezZIP7mUKi4nWGS7IAYF7K05DtZ4FWIippQxOv3PVxUWuSoopErjuP+nC+YKzz7jFmLF3sodT8OE/gFBVccrC8sJQipmuIvLr70FjTCK1Y8pHh81X8Ug6uVfgbhHAIYtK2LEzB581vmBCsAIgMF8P03XRvpxF7LogIsMw/r9t9Sp7Q4RzYM752UZjl2EqkPCF3IGJ+1NjAzlV0L2pbM5oEfovfmi1Mrsq6TV9L9we9G6ppzGEbmnPMyYYCW+p5A0cQlzs0mPYzmbaTKikH/gmqb9TI5QOgnkuQqiLU+O5LD0C97pXlC1FKFGk9zlk462N4U0ltMEwn+ywVN12zCyksyZpsvcSTeE6/Ndwwhmba2l7pLAjHRBXAIFUL7YaEhobP3UfDa+oyeq4rSOUdVs//ZaTs7Rwg5XKu6LmmNvYBB2r4kuVtnzwScTpD7FKK9j9pTrfZlSFPYJGugh9Z1tUs2CQTqbeCt38YmEGjDaIFU4Rz63TDQ55MYZ14f38/BAvFE+U/kHFg5Y6kE6TGu8RN2ICeSj3pdn2SIfaTV0ANWaq2MXO9Z+sGmzSWdHYWK/1g38ItCI5uYqpsG1ER8ygLdmhW1gL6TIIX5JjxXeick9z3FLJffjsIQyZ+k5V7tb4zdi/JLFmHHAhnG1RVLO2J1ar0YHDdPCTgwkJ4elYJgBs6lPXbOVpze0WS9n3Eyzg7156XkLncuYBqIA5xy6Y7H6OAuqehJuLIl3Hn/zH9CC8Ez/nPHeTjv5R9JclY5VomBrjT6ZASXoU3y5AORfiVRHi1W0RSMfD1jd6SFOYNhpjVwyk48Yf/B0sUG3IGtDvyrRjUpVcuu3ZlBPVz0bX0EGcSGqMMkowV2MIZTurCykAVO3RbPVAAHd4IuOp8FzvUWfgnLCKx1stuiCVpcWaaH4Y5pRO2mi2/JS9nFNjW+FzJYzax2YzaPLWL1hyU17nOj4bvr0CkO1uvu8+JYWt9/xIGjjbt6aWhtwmWVsbCla/q60ldcRB9OTPKf2XiMkc3DvRHLwhgQmoGTx6igoUWAuTgBRVizoiw+ujWCq36fUYtvQXFRj6SAOdBUX5QZ9TEMO5HYHs4b2aI0SWJ57sLfxeMvSMU8dIsFVv4rOEfuVBpIeUmWRXJfnTqkQNrhQvCoQ3BLohrgEmvUl1nd65d5EKjQwyM6Rm3VUPRb4Z6xAB14u8zjGOuG12L3Pr68k/JExww+U27KHsxej7Uw5d7fhHA2Pz39jMCOh3d25+tebVgxIYZ7qHv8xO+0KJ30X48rOV2UCFw0wjBKDL2brx42rtZudxQZK3bx4P8xaCTqq1Ba1l/Q13UMAjHfLRDnzUKC/y0x8Ow/PMq0AoC+VYTNGmM1IFRYGDl0jJsZuLV0wHCwKKaBHMi/1VvDURCJC3cKo9T6ABRxdksHWsW83vu/JVFHYSy0MIzo7AA5azhZ4TmynInfSZEdxH+5OHDndh/VO9R22lm12IVr3j/SwKgv1USDZgSC24fPPL1rQaiCb/3uCoQuO8j9mwFru7w0J+/YipE4sr5ZyhHk6XryOyAUxWBYNPcDTqDvutl7BN0RRQGA3JNRfius3zHTccZrT7AFRvj94evdb3KMyphN3lEdJtMtjczo11UONf7ESXP5kBklCI6kveQxGCiO186CF9my1707gEH9he7dVAIuk2hufYLv+1jFpLe7iOzSpaltClHG0KavNMWJ1cIvtU47JxUq8a0VfgK9AVFcI+NouleUZotNrKE7bqQyq0JqsuNbTZ82jrg1Dn/5TBvEP752Xa3/JxMPoKxuCzCEhztlw76G7wCDKoLmAUbQy5gN68LZ3hw8/ewWqnoppKhRjDnLCqr8PiUfbnMvGNb58ce32mUdixRmmODKOK62V6EhLeuu/i6OyFkXoFXY2NBY1E4jg+5QHNteuS4vUuKd9dg3hvArhC/wqpGCsFylkGrqL//2PrB+DlPDN07EyKYrt4FNOABs7Ui/+z0MBIh+Q0EOWcG2yD0ki/AOSD3o/RKFIdxTzrLPn+OsfQY6tW0qYUCOJLxq7Ve1YUb0vYSys34eSpUklPso+daztt1TxGbUpbHEg9ojV9js9+zSu2I0SPvTJHfPsN1PRCus5pBMwlcSszY/Pgo7Plz2gU4gqIXtCEKFgyskoqjZsIpDwJo5BaZxMxgYQeItvTWgVQglSkPaIQ2ZZhUJfDDPzQpxtLok16hW4o9hg5tmExSQB8UiAEi8jidcvbWX3hG0beoHZQ6vBQaa0Kb4t5mtXe7uAjmiYxZl6pNT+/uAA5rQMFnr4S/OHoB4JqMebIDHoH+UNPDhpG5MHoO5wglfR9NkfcCSZaXIdL34Wo5cuPBLnVn+Nk2yH3pGnwImYCS/CC3jOBwez3Hjzpa310NJa7/W0Q3cFCRfy2cqbqtgDklEuem8znQWTvIUTxanhdza4nITArClvIMrKiC2Sqalk9xZX88ZarCcps6s0cEwz/T2yc8Js0qfTusz98bhIuhwbCCJWDBnuvwfXNepoHA10k1XwLmUsEa97qpVrugbZE+E/4w2ttpdAK1sgEYOIvrp7srwxGznoIdvPWZ2GclBUBhZHYu5cibhyWeSkMQHZQw6Ui2v4S+k2/WgU7LLIdrwkU7vbufBMw6K63cbBvq4AToaobsrwBxmm3cKzzyOSW6D1xNbDZ5jsaG1Xbbguf5KDmOaAtZ2DU3soK/AxYn/C0EJ1ZvdOm0mu+FDMmHOlgomidZy8fydZiPnlgmwasPen2yx5ARWmYBa6N05Wi52mbER4lNxkHozZ1Ix52ledaCh3rtFFQh/yyhXNwEK5I6u4L7eHvyOQkH5uhjykjSyRTOKGwGpw2jljDyiDgkx3bm3WgSOz+8rsQ9e6LnRwZPwgHINLm/AS0FAoegU/go1XhnOCibBr49E3nvjY5AZC6EFY4WOlmdPu5QW6nYJ3MYx79D9sJAEEe6FdbZlVOND92YcgkW6L1myO3nPvyqCxV4Ic0c8sqOvzdpdV2RsHxBzE6EZxWUrnTkP3r970nw7TzyZWEvVU8rbDoLpt8lWl3NiG71e8OfbmfaPkZcbJIZzOXmP6SzLb+MXHOHneE1OcNKwjQ6DlWW7tSpWRmknyM3RDjlkmMDITvaxNOhqhQSvmcys/aHOl+RAcZYMSkep2GksKG6pV38YkO6kwzezy1FdVc5puJF8ITLWCqjQUunVKKp6fFn05iXpmTtFmvWLV5nTO13ex5qrTRUo/EbJV03wANgKxELEvsXLw27HFgI8GwWxhN35+eE6r3oNwdYDkuNhBSB/9rYYzdVvnv+qTlEo4s4fLBU26qgp2CyjVFh4LMHecblUQKyXI+7lFyPS0/RZRkxIf8aS2CXFytFaHE8Oogpkgk6UWvjXWs1UNibN1vELpHHofgSEfFajy/77NgmHdANQfRVyNz6mgqprURbrkOfBp+sxK0l3S7YG8BQNveTSjMd/fd10qFaCLpxJsLH8YtBiPp1JBQqSOOvadgNU+Ru7XTN3kIge4+ryMDGiDRHPcZ/TAtg/9nKKbKHP5FU5yEB7d3KopD/sa0tY5o+j3RdP1Jiu7GapRKqGWhkRBhkT7g3mMaVyMv45V2rRAkrxIWPojsdRe76nCCkHHCMJa/JKPImM8N/R4IWaXIvYF9U1pLT0e8UER2LKEcVOpjpPFLFCfKK9DR8zpKm5N5ctkTAwmmNjE2sHXLG/PKIo84qLbP9hYVD4osNKvxeoRjyYrREvce7baohrAUWmb9dali6pXmIrN/n/yvfHNmHQgm1mMHEYzjUcag0kQwb0QrCJtusiBvuTBHHCjrd2KXxY7muUcKhJPrTSNigoKB1DTEh7vlMHD6GtXZ4ijof1I4BcyoNPjV7ypc8zPVZd2aypcOHisU7cR7R5la+8sPeWwNQIIzW6Wq4C0luDj9QwauANY5TSrZjKWMFGunW7dI6IzFwkHkZ4ZBUUrcsiWsYAEVFCGlI2JwNk+FKHBV3N2ARloh+Cv10bseeh3xKjqqPcRVXM2zi6VThCobWZT6vDrSph87N60svpmbW33Tx5lu84WTr40gHvqGaj9002WOaXPz+fsZJPDd8YALWeRb0glMrSdEsOxzqgtIf6x7mAfe0zf3q23h+WJi2RqKjIw2dqTMNxw/fE5pMRCiH3TitAzwkoEruNZR/ImPKzGwOLt/FopWBzowO8uMeIs5grEuOAVCopgDTTxDBVIBoklHfCSqLkqQKkLT5G710dBNqSOgIxDBOrJwNMO3o9jBnYvHKHLXck0+yroIFDlECEJmMeLN+r7OWWYcXKZNu+0wjpTWjJzp74yEBfKYO6OoRAgeCr1AWERHKSAMPNQ4SHFS8CTDaFEzY787sasONOioobUptv/XrMdN3HB9OxQpGxTBrVTrJZTrvYvTcku3l+JegfeeOqVxtybN0u4qhjuBhYaaowlo3lfBniSA/TUFu7uqBpMWqp94UGyayCkGcHuGfN0I5D4wFqKiZvbxsoh6pcfxb1heMdjjqcecVW8MckepnUfGu1zlJ/JI10reM4D/S3q2bc16ZV58rlKrmRxOI+h//dFP8ttTBYvgnIveNbQrbZEzD/Q2bM5jU+PMsspUt/DMHFQf/FZNTpDVeSXYT2xIrwOHPeQlCwYgjSgU1Y7NCWScpBIoNv7LXWaBdrimAV0AJcIoymY9dB88EgZk6fClvxMwbpafarSyPrvhVVB+dIVQiJAz04T29p9xdTe8zPIaSzJKWYWtwX8O8ZLb39+5dID/IthNT4jMk/ivS/ugEHThXMUFk9JHGzMG3tSQFLcNgZ+6ZiEEUmqPSZcuPqSDAWsWIiAwo4tBP9suRwNNtAI4BpsKsh5eu4eihKIZpriAEEqXcJUAGqRrbFkrPHCIdJClM0iM/6IiIOMpaNBVLravw2AbIJ09WCCF6F4TfBsygvo3hD4LJcvOGu5DMSe7ciUiZqFyx1Sj0Yoj/wbBiXGftggxvkPRivFu5W9VAZfEf1hLoerFRANJHiVI3R8+bTTSYA+YWQrstwD1csWJI7TQS4oXjUmkEvrwWKLUck/2Jg9nNhIFGxdErORZUaKxCaIXn7F0PYtW1gNAIRtTAzk9B7X2hxPbdKD/qQPnfGOg9ZGFBsfkaGng0EeHRZOMJ1K0RAsU72gcqWFXTEG9q4Itbhm1KnH6riDeTnEoj8RetGmxTaUJTnuHbd3qdNNh7v9Wjgh8TzZlWl4tAdKlHZX5LFMkKoiG3osVcgSH1e+2CzekUwyyHCC+InJ93D7h25rEc0st2maZZUch80SpG+lLLZ16kqAmWGia2IMSVjgcaEOmmHhRNobAov1X48iNrzrrtGmS0TKI2Ak+8VnI093tut/hQN7X7iVzkhAy2KKlr0AH39aIVQx1MKjjSH7qeAIiWovjJC7y+PuRqh9Dnohli2TqwX4V9qTgAHFKsAVwA/+xVGBEMV/gT84XBw46nG5jtLsDTpdHxGTFwxXlOrjPfFDYrxugL33P4GFl/p9ZcD2Ai+5JvaAjm9CElOCad7wtJHLnx4Pwi2ohycSn6tH8KQcDGk6oq54McBma3bceGKfWjA/z03uWpCZwpqgSfBkUlmfIXAGZepIXhA/+Ew1wiYoCjNpJS591mQlnVllJ1xXwS8hT+XZi7rrVhbb11g+7BWTL4aSnKXrqZarZI0FYing8Po6EmGfo5NNTK1KkmOO1zVKHxKl07mhQlzzYenVkQ10syYqhb60gV7qeXND36MlvSOglpimMdOlctnMqFhaZdiGYvUaClmdA++UlpMZaPLdl08uoCYWb2zaqN08KVgVCtAQ8jVO3Uq6W9Ty0n4AbynzS00dK0Q9KshE3HR+/Emglx0wyHghBvCosKdYt++ov0/vHdhWQjg+A0luB0lVEZ8y7z6GR4W8ZloLqtd+2ojpeDWqHM4wqE8oa0R09Evh22HTYjZ4JofLCLlg1FzP8go6L2mXeLd1Vhe4xxrCcJwMOQE6BmhuomnMK2S2DobVYeLLXxx5xg3O6QJiHhXxuBeaYOKMkElRfide4rtGEAnbm2KanrBh930tIxU1Vm4j4Kjgy+4NIAU10n1Xdam1C7teGdnEzcsgQK0dJkFoQWhsPSWuNPSwq08/8aUrOND/JlvLw0FEM5VrO5QFh8i2m5C8c6Qt5+VJXdWJrKkH0y5g1EYS7GoJKlPWyCdhOn4QS67AevifDXkUfdCY0Ao6Zg3yw2GzlHKV/4BGivboWJjDKQuG4VLAM+ez9ftTOc2Ldhj5jGyZzAt5TbfzAT7wYDYiajNhF64btvEeh0Nfwum8GN7veFj+jcBPsh2JbCTSF5FMB7AfWBvyLq/I1KXE+2P7+0Mx1mt6vi7B1apYcy0NmxF5cR2LolObjLG7a3bXnZ9AZEBTzXxPKWeeO7+n2cxGuM4bdvVQ1YQvYAtgJ5fsO9Afrfb/3jll8kIxcGIYxPN3aCTvtTu4UcYKA6rTCxnx4P7EJcwgvazkpT9uuSFPCS4lTiA72W+iUv+yrWRPw4N/bamp/J5OZyjv4H57E3I4yI+BJprmyoOxixNoUn3+CacDhfy1Gd6cSscrzyDIWxAZbgJRjH5+Ge2Moa7RrQrLac/cgjoUJKXkoU7EZ9GJwoZYPhGB+Ky9JVAzOIJyqOqnIqtUuROOY6PGjY0vTiut3IIxZ4FsCQE8K+i4eSNRpxGjawqFemJYYTrIHQcymobWxLX2jkGtnL6G+IORXbCPCvFhJ+9iUYlWJ+8qmpkJ0Ujf43QVeYCHUyHBZ3VnU/zUeGDbAs9khzPg1PrtqlUpanzygYZSlPXV6lk0v/lkUV6vSzOfMzUWLHVUzAHnaEVmJoTfJdJMqwr+RLZJBsiCLgCzFeR1nVWDpYYwXKuh2FDrPByELOFLaae3bR9TklFxYDXyihegMMsYOck0iz6unVt7921PBPz1EMTTaPNKPIwqe4t0zIu6dBH/QbthHq3M0ArGtTq6KeByZd+3jMAMcTuOYUfBLPjj9TSno4be3aAlEgu82ewfV9L27ssWAuaLWAt35IpTTpWyUOJcIWqPQTcIKama1diMficLjcvx7QQ0NnErCzO0MtYv+giHFosL9Zgim4uwJ07dFoHA7D79KGO1Ek+DC6qVck2PDpJ6+bc9tgT5c4IsHkPJjX4X5203zxY0c6/3F/q9JWtKM4DzFTTjU3XgCn3Pj65h8I/eO6s5mXWY68V0NHLfelL5GoH92Z6aGueqUjThWsdczvOE4CkE6w9Jw/dTTNDfzdbvahsZJHvmlQngEzlSi7GVxFPhlY1a/U5UbUy16f+HWSVNsVHTCnpNACBfne+gNvm16vdnI89ftMuWuQiTKBdkpvKgjaTw7PqT2qErArf0317p/wpl4yTxN3V83B04wx/6nOl9V8MvZkOnVIA67L7pfDLHLmvs+wrZPO3I3xv9V1VP7l+4QZYdBusTux+aRYWk8mYpBDVex5Lq722hPauI/I3NS3npCcJb4V+sMdRTi14CYyTdxfIDxaED0Yb3kGmdxZgPdKSET4AVbK/Qgju38MBU6drFKEnpghkjV7zE7nJxPOXCCXsMXV9nKWJ3L+OBkAqjqcl1/S1kLm0ZnTrkPvDQeDB9erWHdIl2+knqAG4dxQ2qxWKL37sHHsZ5bI8r+7tY3G7Rh+vAnlaf+eYtPPv8azjyY/z1ih5XcA1twWzXlzO8Q/qJOPirhH0IW6Ryu0ezQSVFPa8RCCi3FTX8Hn151JK3cg0iOVx/c45jdkYWodT8MC1YbelyBsB6PmGWvA26aCJO5uhDRQ9P99x5WaDMRw2+48ejLp3imefDbZGieqJ4se3ZWlIGeQ1PNMJ/Bm+Wh/xX36+7KKwmAFsYyHY6CxfhrUY4IXIlOPkxtV/fzVqmlqMyFh+gK/0zBzAuJDR83mfWubgUxJiXScGUj4kGJJ4CR9y10X2WZJLc5sPK9nNu11wHm/xyM5k0jN43X30OYYCsp/sWNWTO2ZHvbmL3Jk4szngb5YvDBfLotGqcUaOl066SkZAOJivdan77poWE4Q4VvVaCOtPAYAYwukj/XZfnDk/bIJXgjDBHg/+uhBSyihPitFz7MnPZvxwXrLzgheKcm1yABmyGSb3oqtw2ulnr7k2BoLsW5dkjBcN1eTZq0TsST3mh2jXFSUu5FRdIIClPsQ6v/9CncnH8s3AZMylMvmgrMU/GKKL+w26lGrfGRSls18vFjaviSM1Zn1diUJsRrv6kKv9pskciUEGqZ/qF3m+7SwLF+gB/Wbem84jqEs42qUACRLuLLSr3JLQLkA29iJ+Bq8fZspJ6anc9ZTn2DtPHiPQYY3Jf+F+HfHNRk1ghUaz6+zJznz66k3saGUwxfw+Nf/eSuV5Xk6JzYZnKwZLYFtcvuRoTmcij37HBmuV+wgm5cMXZSqypzmadJeRHSjQNYf4COkgP2z9AnOBAtc/HTWLYVyrThQABtDZDbTpCaTuwa5A20JQXySyrpEwWx/G8JtTSKZ137HF2LrPHSNMzi2TIgi4oroTYSeQU173dCTuVwUbPVAuhgogB3TeQgJ2KsCEnPSLksTugkgjRWkpVEaDxBQaIIRLtgw/gPMJKAe7GyH0XxN+yRMp78tmOiU2DFY8d7B34CCpztOBY2KAXPXVC9FWIFUh4NMsVe71t0VDNcob6AB1ESTlKw/Ak60G5stibKlswa//50WlnWrV4CToNaqT9jChDGonJ6zmFunr9T+GmuvYm6Sx03Doq0Z03kVTPZ1SMGh0YAnCEmhdaQ1w/Z0CCw2K3MeOxHaA8VZtSBAXeARVSoK0u2XvytOVXA/BY2FS7QjC7G4kW7zjBUih6/U99eGGZ06QMrUSYW7tBiYRQu9UeU5grgBiSdKgDDTJDpBqpXz7oXo/wur6ZYRu9ZeDxq8jieMbH9WwnH7lvIbwjfuhzx/P6JaCxlu3FxWmpZci08uDxyNl8vuJ6R7hukuv6Mud5o6QWMZ+UM4VDHi0XkNY+kbHgw9fyhCmszWxVBryxq4p16Be2MwGpi7SfGidaLYptR8VPCe5ApXFLGrdG927iZuV07m80pemYARejSN7Z9IMWDr12/0KZbHlVgoW9ZMAQHNVZzxRl0QiAhQr3Skfef0fwcMgOkA8X79zxe+Ui6ZrLpZNDnOZoVgF7S96SJtTxYfbo7a3QHoRLtdG0c59if8Z9YQwSZOiDeE2vbm7E/XRmdu9ue0biAzADbpmVB0xO46U/56PvBeFCRq8wDMW2xQU0btfa9k23SEtlJvws8636hmcRV+GR2BNW7+lPBxVPlLGg7Gwe8QLCHDb5EzePeLf6WmWu3udcX7AW5UPtbE7QxWeOEyHT5s4fvXOzJGE+1WHylYUBhexdKnqICnF+VAWVHq55o1A++te9FOdf5mQ79es2dbIj6+BxkNtWEz0bzHzE6/I2v6NOj339+5mPbhNo26NhvhT3P8KabQwXU0vRTqipJM4+z3538/JKDXiBRZSxqHLfZq+SdHV5PskbjOgbv0I45BuPIDtbv4CXXtxu5SyrU0Toba8PxEGYL6JkmRtZwYFahs1duG+IAcK2QCE+KLFWVqxbpM2J1A2c6entaY7Ab/QrorYnaaLMwFPD9ejjtA1qqXIL225wBvetczhiiR6H86BDXI+m1Bjbue23aJ5k8xSLJCAATNjx+etlqr3jIDkd6XnskOzC1IeATqFbKnfe5UZLaIjnaDPtbeF9tJqpmIZRj38IhXtSMXVEe2pLaEjMb+jEvEmy3vcRfzjNXJFU32bcAdkZNoAjvydiKG07O9MfvBT1i57phameXxUSinoW5KZFexCFSnMJV5lPm0c7+fWpmvdRO+6oDgcfZLWl05OoD7vdjKwQjpBF26oikZUCqHWB6XTbHYp/spNXfTgUFp3amjHxXz/EuU7TTv2tTDnD+vB1U3mV7YXFjJJbbeWyOkLBpTrzo4a6dzTNr/R8jJu8Sx014lsh4dtCiwqFIVJ7xgOQtJfRGl6APaBZTuzEIuRQEZy6RsBZ3mBUs438F/6AAAAA') center/cover no-repeat;filter:saturate(1.25) contrast(1.03);transform:scale(1.035)}
.grand-floor-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 42% 42%,rgba(255,203,94,.12),transparent 39%),linear-gradient(180deg,transparent 63%,rgba(1,15,12,.88) 100%)}
.grand-floor-light{position:absolute;border-radius:50%;filter:blur(45px);pointer-events:none;mix-blend-mode:screen}
.grand-floor-light--one{width:34vw;height:22vw;left:7%;top:20%;background:rgba(255,194,72,.12)}
.grand-floor-light--two{width:30vw;height:20vw;right:4%;top:18%;background:rgba(169,16,43,.16)}
.grand-floor-sparkles i{position:absolute;width:3px;height:3px;border-radius:50%;background:#ffe8a6;box-shadow:0 0 10px #ffcc55;animation:grandSpark 3.8s ease-in-out infinite}
.grand-floor-sparkles i:nth-child(1){left:12%;top:25%}.grand-floor-sparkles i:nth-child(2){left:38%;top:18%;animation-delay:.7s}.grand-floor-sparkles i:nth-child(3){left:63%;top:32%;animation-delay:1.4s}.grand-floor-sparkles i:nth-child(4){right:12%;top:23%;animation-delay:2s}.grand-floor-sparkles i:nth-child(5){left:31%;bottom:24%;animation-delay:2.7s}.grand-floor-sparkles i:nth-child(6){right:28%;bottom:31%;animation-delay:3.2s}
@keyframes grandSpark{0%,100%{opacity:.15;transform:scale(.7)}50%{opacity:1;transform:scale(1.7)}}

.grand-floor-topbar{position:relative;z-index:7;height:14%;min-height:52px;padding:calc(5px + var(--safe-top)) max(1.5%,var(--safe-right)) 4px max(1.5%,var(--safe-left));display:grid;grid-template-columns:auto minmax(120px,.75fr) minmax(210px,1.2fr) auto;align-items:center;gap:.7rem;background:linear-gradient(180deg,rgba(2,10,8,.93),rgba(2,10,8,.70));border-bottom:1px solid rgba(239,197,92,.34);box-shadow:0 8px 24px rgba(0,0,0,.27)}
.grand-floor-back{width:34px;height:34px;border:1px solid rgba(244,215,126,.55);border-radius:9px;background:linear-gradient(180deg,rgba(39,49,37,.94),rgba(10,19,15,.94));color:#f7dea0;font-size:1rem;box-shadow:inset 0 0 10px rgba(255,211,106,.06),0 4px 14px rgba(0,0,0,.3)}
.grand-floor-heading small{display:block;color:#d0ab55;font-size:clamp(.38rem,.54vw,.48rem);letter-spacing:.18em;font-weight:700}.grand-floor-heading h2{margin:.05rem 0 0;font-size:clamp(1.05rem,1.9vw,1.55rem);line-height:1;color:#fff6dd;text-shadow:0 2px 10px rgba(0,0,0,.55)}
.grand-floor-filter{justify-self:center;display:flex;gap:.28rem;padding:.25rem;border:1px solid rgba(244,215,126,.20);border-radius:999px;background:rgba(3,12,9,.68);backdrop-filter:blur(10px)}
.grand-floor-filter button{min-width:62px;border:0;border-radius:999px;padding:.38rem .65rem;background:transparent;color:#b8aa8c;font-size:clamp(.44rem,.62vw,.56rem);font-weight:700;letter-spacing:.06em}.grand-floor-filter button.is-active{background:linear-gradient(180deg,#e6bf62,#9d6923);color:#201509;box-shadow:0 2px 10px rgba(255,205,91,.23)}
.grand-floor-wallet{display:flex;align-items:center;gap:.45rem;min-width:118px;padding:.34rem .65rem;border:1px solid rgba(244,215,126,.42);border-radius:999px;background:linear-gradient(180deg,rgba(14,26,19,.95),rgba(5,13,10,.95));box-shadow:inset 0 0 14px rgba(246,204,99,.05)}.grand-floor-wallet>span{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f94e55,#9e1028 60%,#3b0710);border:2px dashed #ffe6ad;color:#fff2cc;font-size:.5rem}.grand-floor-wallet small{display:block;color:#8f846f;font-size:.36rem;letter-spacing:.05em}.grand-floor-wallet strong{display:block;color:#fff0bd;font-size:.72rem;line-height:1.05}

.grand-floor-stage{position:relative;z-index:4;height:72%;padding:.7% 1.6% .7%;display:grid;grid-template-columns:minmax(0,1.78fr) minmax(220px,.74fr);gap:.85rem}
.grand-featured{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(245,211,117,.56);border-radius:18px;background:linear-gradient(118deg,rgba(3,29,23,.96),rgba(3,45,35,.90) 54%,rgba(28,10,13,.92));box-shadow:0 16px 42px rgba(0,0,0,.38),inset 0 0 0 2px rgba(255,255,255,.025),0 0 22px rgba(240,187,58,.08)}
.grand-featured::before{content:"";position:absolute;inset:4px;border:1px solid rgba(244,215,126,.16);border-radius:14px;pointer-events:none}.grand-featured-glow{position:absolute;width:56%;height:110%;right:-7%;top:-20%;background:radial-gradient(ellipse,rgba(255,197,64,.17),transparent 66%);filter:blur(8px)}
.grand-featured-copy{position:absolute;z-index:3;left:4.5%;top:11%;width:42%;text-shadow:0 2px 10px rgba(0,0,0,.6)}.grand-badges{display:flex;gap:.32rem;margin-bottom:.55rem}.grand-badges span{padding:.22rem .42rem;border:1px solid rgba(244,215,126,.28);border-radius:999px;color:#c6af7c;font-size:clamp(.34rem,.47vw,.43rem);font-weight:800;letter-spacing:.06em;background:rgba(0,0,0,.22)}.grand-badges span.is-live{border-color:rgba(87,222,160,.50);color:#bff4d9;background:rgba(12,100,71,.25)}
.grand-featured-copy>p{margin:0;color:#dab758;font-size:clamp(.38rem,.55vw,.5rem);font-weight:800;letter-spacing:.15em}.grand-featured-copy h3{margin:.18rem 0 0;color:#fff5d7;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.55rem,3.3vw,3rem);line-height:.83;letter-spacing:-.03em}.grand-featured-copy h3 span{display:block;color:#f0ca69;font-size:.56em;letter-spacing:.12em}.grand-featured-copy>strong{display:block;margin-top:.38rem;color:#fff;font-size:clamp(.62rem,.9vw,.82rem);letter-spacing:.07em}.grand-featured-copy>small{display:block;margin-top:.22rem;color:#b9b19f;font-size:clamp(.38rem,.52vw,.47rem);line-height:1.5}
.grand-holdem-preview{position:absolute;z-index:2;right:1.5%;top:7%;width:56%;height:74%;border:0;background:transparent;cursor:pointer;perspective:900px}.grand-poker-table{position:absolute;left:50%;top:50%;width:88%;aspect-ratio:2.05/1;transform:translate(-50%,-50%) perspective(800px) rotateX(13deg);border:9px solid #2a180d;border-radius:50%;background:radial-gradient(ellipse at center,#087159 0%,#07513f 56%,#032b22 100%);box-shadow:0 25px 35px rgba(0,0,0,.55),0 0 0 2px #c79538,0 0 22px rgba(255,201,69,.2),inset 0 0 60px rgba(0,0,0,.42)}.grand-table-ring{position:absolute;inset:7%;border:1px solid rgba(255,224,149,.26);border-radius:50%}
.grand-seat{position:absolute;width:11%;aspect-ratio:1.55/1;border:1px solid rgba(255,240,201,.18);border-radius:6px;background:linear-gradient(180deg,#252723,#0e1210);box-shadow:0 5px 10px rgba(0,0,0,.5)}.grand-seat i{position:absolute;left:50%;top:50%;width:32%;aspect-ratio:1;border-radius:50%;background:#65675f;transform:translate(-50%,-50%)}.grand-seat--1{left:10%;top:19%}.grand-seat--2{left:34%;top:-4%}.grand-seat--3{right:10%;top:19%}.grand-seat--4{right:12%;bottom:12%}.grand-seat--5{left:12%;bottom:12%}.grand-seat--6{left:50%;bottom:-8%;transform:translateX(-50%);border-color:#f0ca69;box-shadow:0 0 12px rgba(240,202,105,.26),0 5px 10px rgba(0,0,0,.5)}.grand-seat--6 b{position:absolute;left:50%;bottom:-52%;transform:translateX(-50%);color:#f8d67a;font-size:clamp(.26rem,.4vw,.36rem);letter-spacing:.08em}
.grand-board-card{position:absolute;top:43%;width:8%;aspect-ratio:.7;border-radius:3px;background:linear-gradient(145deg,#fff9ec,#dfd5c4);color:#17120f;font-weight:900;font-size:clamp(.36rem,.7vw,.62rem);padding:1.5%;box-shadow:0 4px 8px rgba(0,0,0,.25)}.grand-board-card span{display:block;line-height:.8}.grand-board-card.gc1{left:38%;transform:rotate(-2deg)}.grand-board-card.gc2{left:47%;color:#a00e28}.grand-board-card.gc3{left:56%;color:#a00e28;transform:rotate(2deg)}
.grand-pot{position:absolute;left:50%;top:68%;transform:translateX(-50%);display:flex;align-items:end}.grand-pot i{width:12px;height:12px;margin-left:-4px;border-radius:50%;border:2px dashed #ffe3aa;background:#b7132e;box-shadow:0 1px 3px rgba(0,0,0,.4)}.grand-pot b{position:absolute;left:50%;top:110%;transform:translateX(-50%);font-size:clamp(.25rem,.36vw,.32rem);color:#d7c18c;letter-spacing:.1em}.grand-dealer{position:absolute;right:31%;bottom:16%;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#f1eadb;color:#241c13;font-size:.42rem;font-weight:900;box-shadow:0 3px 7px rgba(0,0,0,.35)}
.grand-featured-actions{position:absolute;z-index:5;left:4.5%;right:3%;bottom:7%;display:flex;align-items:end;justify-content:space-between}.grand-featured-actions>div small{display:block;color:#8ea797;font-size:clamp(.34rem,.48vw,.43rem);letter-spacing:.09em}.grand-featured-actions>div strong{display:block;color:#e8dcc0;font-size:clamp(.5rem,.72vw,.65rem);margin-top:.08rem}.grand-take-seat{min-width:168px;height:38px;padding:0 .45rem 0 .9rem;border:1px solid #ffd16c;border-radius:8px;background:linear-gradient(180deg,#bd2640,#7c1025);color:#fff4d8;display:flex;align-items:center;justify-content:space-between;gap:.8rem;font-weight:900;font-size:clamp(.5rem,.72vw,.66rem);letter-spacing:.05em;box-shadow:0 4px 0 #490815,0 8px 18px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.18);cursor:pointer}.grand-take-seat b{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f2c55a;color:#4a270b;font-size:.8rem}.grand-take-seat:active{transform:translateY(2px);box-shadow:0 2px 0 #490815,0 5px 12px rgba(0,0,0,.25)}

.grand-game-rail{min-width:0;display:grid;grid-template-rows:auto repeat(3,1fr) auto;gap:.38rem}.grand-game-rail>header{display:flex;align-items:end;justify-content:space-between;padding:.05rem .2rem .15rem}.grand-game-rail>header small{display:block;color:#caa448;font-size:clamp(.32rem,.44vw,.4rem);letter-spacing:.12em}.grand-game-rail>header strong{display:block;color:#fff3cf;font-size:clamp(.58rem,.82vw,.74rem)}.grand-game-rail>header>span{color:#8c7a59;font-size:clamp(.3rem,.42vw,.38rem)}
.grand-game-card{position:relative;overflow:hidden;min-height:0;display:grid;grid-template-columns:37% 1fr auto;align-items:center;gap:.45rem;padding:.35rem .5rem;border:1px solid rgba(244,215,126,.30);border-radius:11px;background:linear-gradient(110deg,rgba(13,23,18,.94),rgba(6,13,10,.92));text-align:left;color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.25);cursor:pointer}.grand-game-card::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 55%,rgba(255,214,111,.05));pointer-events:none}.grand-game-card--blackjack{background:linear-gradient(110deg,rgba(42,15,48,.96),rgba(15,7,22,.94))}.grand-game-card--baccarat{background:linear-gradient(110deg,rgba(3,69,70,.96),rgba(3,25,29,.94))}.grand-game-card--roulette{background:linear-gradient(110deg,rgba(70,30,12,.96),rgba(25,10,6,.94))}.grand-game-copy small{display:block;color:#ba9951;font-size:clamp(.27rem,.39vw,.35rem);letter-spacing:.08em}.grand-game-copy strong{display:block;color:#fff0c7;font-size:clamp(.58rem,.9vw,.8rem);line-height:1}.grand-game-copy em{display:block;margin-top:.12rem;color:#bbb0a0;font-size:clamp(.34rem,.49vw,.44rem);font-style:normal}.grand-game-card>b{padding:.18rem .28rem;border:1px solid rgba(255,224,151,.20);border-radius:999px;color:#9c8a68;font-size:clamp(.25rem,.36vw,.32rem);font-weight:800;white-space:nowrap}
.grand-game-art{position:relative;height:100%;min-height:44px;display:block}.bj-card{position:absolute;top:8%;width:29%;height:74%;border-radius:3px;background:#f7efe2;color:#17120f;font-style:normal;font-weight:900;padding:4%;font-size:clamp(.38rem,.66vw,.56rem);box-shadow:0 3px 8px rgba(0,0,0,.35)}.bj-card em{display:block;font-style:normal}.bj-card--one{left:20%;transform:rotate(-8deg)}.bj-card--two{left:42%;transform:rotate(7deg);color:#ad1530}
.baccarat-chips{display:flex;align-items:center;justify-content:center;gap:-4px}.baccarat-chips i{width:41px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;border:3px dashed #e7d9ae;background:radial-gradient(circle,#245ea4 0 52%,#15345b 53%);color:#fff;font-style:normal;font-size:.25rem;font-weight:900;box-shadow:0 3px 8px rgba(0,0,0,.3)}.baccarat-chips i+ i{margin-left:-10px;background:radial-gradient(circle,#b82c36 0 52%,#63131b 53%)}
.roulette-wheel{display:grid;place-items:center}.roulette-wheel i{width:52px;aspect-ratio:1;border-radius:50%;background:repeating-conic-gradient(#b41d31 0 12deg,#111 12deg 24deg);border:5px solid #dcae50;box-shadow:inset 0 0 0 9px #3c2412,0 3px 8px rgba(0,0,0,.4)}.roulette-wheel b{position:absolute;color:#ffe3a2;font-size:.7rem}
.grand-floor-guide{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:.35rem;min-height:40px;padding:.18rem .45rem;border:1px solid rgba(244,215,126,.22);border-radius:10px;background:linear-gradient(90deg,rgba(4,19,14,.92),rgba(18,11,9,.88))}.grand-floor-guide img{width:36px;height:40px;object-fit:contain;object-position:bottom;filter:drop-shadow(0 3px 5px rgba(0,0,0,.35))}.grand-floor-guide p{margin:0}.grand-floor-guide small{display:block;color:#ccaa5e;font-size:.27rem;letter-spacing:.08em}.grand-floor-guide strong{display:block;color:#eaddbe;font-size:clamp(.37rem,.53vw,.47rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.grand-floor-bottom-nav{position:relative;z-index:8;height:14%;min-height:48px;left:auto;right:auto;bottom:auto;border-top:1px solid rgba(244,215,126,.40);background:linear-gradient(180deg,rgba(2,18,14,.97),rgba(2,12,10,.99));box-shadow:0 -10px 25px rgba(0,0,0,.26)}
.grand-floor-bottom-nav button{height:100%}.grand-floor-bottom-nav button.is-active{background:linear-gradient(180deg,rgba(183,129,37,.24),rgba(36,61,41,.28));box-shadow:inset 0 2px #f0cf73,inset 0 0 18px rgba(245,205,105,.08)}

@media (max-width:760px) and (orientation:landscape){
  .grand-floor-topbar{height:13%;min-height:47px;grid-template-columns:auto 1fr auto;padding-top:calc(3px + var(--safe-top));gap:.42rem}.grand-floor-heading small{display:none}.grand-floor-heading h2{font-size:.9rem}.grand-floor-filter{display:none}.grand-floor-wallet{min-width:90px;padding:.24rem .45rem}.grand-floor-wallet>span{width:19px;height:19px}.grand-floor-wallet small{display:none}.grand-floor-wallet strong{font-size:.58rem}.grand-floor-back{width:30px;height:30px}
  .grand-floor-stage{height:73%;grid-template-columns:minmax(0,1.68fr) minmax(166px,.72fr);gap:.48rem;padding:.55% 1.2%}.grand-featured{border-radius:12px}.grand-featured-copy{left:3.5%;top:8%;width:43%}.grand-badges{gap:.2rem;margin-bottom:.26rem}.grand-badges span{padding:.13rem .24rem;font-size:.28rem}.grand-featured-copy>p{font-size:.29rem}.grand-featured-copy h3{font-size:1.28rem}.grand-featured-copy>strong{font-size:.48rem}.grand-featured-copy>small{font-size:.31rem;line-height:1.35;max-width:90%}.grand-holdem-preview{right:0;top:6%;width:57%;height:70%}.grand-poker-table{border-width:6px}.grand-featured-actions{left:3.5%;right:2.6%;bottom:5%}.grand-featured-actions>div{display:none}.grand-take-seat{min-width:138px;height:31px;padding-left:.65rem;font-size:.45rem}.grand-take-seat b{width:21px;height:21px}
  .grand-game-rail{gap:.25rem}.grand-game-rail>header{padding-bottom:.06rem}.grand-game-rail>header strong{font-size:.5rem}.grand-game-rail>header small,.grand-game-rail>header>span{display:none}.grand-game-card{grid-template-columns:31% 1fr;padding:.24rem .34rem;border-radius:8px;gap:.25rem}.grand-game-card>b{display:none}.grand-game-copy small{display:none}.grand-game-copy strong{font-size:.52rem}.grand-game-copy em{font-size:.31rem}.grand-game-art{min-height:34px}.baccarat-chips i{width:31px;font-size:.18rem}.roulette-wheel i{width:38px;border-width:3px}.bj-card{font-size:.32rem}.grand-floor-guide{grid-template-columns:28px 1fr;min-height:30px;padding:.1rem .25rem}.grand-floor-guide img{width:27px;height:30px}.grand-floor-guide small{display:none}.grand-floor-guide strong{font-size:.31rem}
  .grand-floor-bottom-nav{height:14%;min-height:46px}.grand-floor-bottom-nav button strong{font-size:.47rem}.grand-floor-bottom-nav button span{font-size:.82rem}
}

@media (max-height:360px) and (orientation:landscape){
  .grand-floor-topbar{height:13%;min-height:43px}.grand-floor-stage{height:73%}.grand-floor-bottom-nav{height:14%;min-height:43px}.grand-featured-copy>small{display:none}.grand-floor-guide{display:none}.grand-game-rail{grid-template-rows:auto repeat(3,1fr)}
}

/* ========================================================================== 
   v0.15.0 SHOP / COSMETIC ECONOMY
   Cosmetic-only boutique. No gameplay advantage, no purchase flow yet.
   ========================================================================== */
.screen--shop{background:
  radial-gradient(circle at 18% 20%,rgba(184,126,38,.22),transparent 32%),
  radial-gradient(circle at 82% 18%,rgba(117,19,39,.18),transparent 30%),
  linear-gradient(145deg,#081811 0%,#07130f 38%,#090d0c 100%);color:#efe4c5;overflow:hidden}
.shop-ambient{position:absolute;inset:0;pointer-events:none;background:
  linear-gradient(90deg,transparent 0 49.8%,rgba(229,190,93,.08) 50%,transparent 50.2%),
  repeating-linear-gradient(135deg,rgba(255,255,255,.012) 0 1px,transparent 1px 22px);opacity:.75}
.shop-topbar{position:absolute;z-index:8;top:0;left:0;right:0;height:14%;min-height:50px;padding:0 2%;display:flex;align-items:center;gap:1.2rem;border-bottom:1px solid rgba(236,194,93,.34);background:linear-gradient(180deg,rgba(4,18,14,.98),rgba(4,15,12,.92));box-shadow:0 10px 30px rgba(0,0,0,.22)}
.shop-brand{display:flex;align-items:center;gap:.5rem;min-width:205px}.shop-brand>span{font-size:1.2rem;color:#f2ce72;filter:drop-shadow(0 0 10px rgba(224,180,72,.2))}.shop-brand small{display:block;font-size:clamp(.36rem,.58vw,.48rem);letter-spacing:.16em;color:#9f8d66}.shop-brand h1{margin:.05rem 0 0;font-size:clamp(1rem,1.65vw,1.35rem);color:#f4dfaa}
.shop-policy{margin-left:auto;display:flex;align-items:center;gap:.5rem;white-space:nowrap;padding:.34rem .68rem;border:1px solid rgba(217,178,84,.2);border-radius:999px;background:rgba(9,31,24,.6);font-size:clamp(.38rem,.62vw,.5rem);color:#ad9b73}.shop-policy i{width:4px;height:4px;border-radius:50%;background:#d9b45d}.shop-policy b{color:#69d69d;letter-spacing:.05em}
.shop-wallet{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:.35rem;align-items:center;padding:.28rem .55rem;border:1px solid rgba(230,188,90,.38);border-radius:12px;background:linear-gradient(180deg,rgba(44,34,16,.82),rgba(13,25,19,.82));min-width:86px}.shop-wallet>span{grid-row:1/3;color:#f0c861;font-size:1rem}.shop-wallet strong{font-size:.82rem;color:#fff0bd;line-height:1}.shop-wallet small{font-size:.3rem;color:#aa9361;letter-spacing:.08em}
.shop-stage{position:absolute;z-index:4;top:14%;bottom:15%;left:0;right:0;padding:1% 1.5%;display:grid;grid-template-columns:31% 69%;gap:1%}
.shop-hero{position:relative;overflow:hidden;border:1px solid rgba(237,191,85,.48);border-radius:19px;background:
  radial-gradient(circle at 58% 38%,rgba(191,50,73,.28),transparent 28%),
  linear-gradient(155deg,rgba(28,16,19,.95),rgba(5,24,18,.97));box-shadow:0 16px 35px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.04);padding:5% 6%;display:grid;grid-template-rows:auto 1fr auto auto;min-width:0}
.shop-hero::before{content:"";position:absolute;inset:7px;border:1px solid rgba(233,194,98,.12);border-radius:14px;pointer-events:none}.shop-hero__shine{position:absolute;width:150%;height:80%;left:-30%;top:-40%;background:linear-gradient(105deg,transparent 35%,rgba(255,225,144,.08) 48%,transparent 58%);transform:rotate(-8deg);pointer-events:none}.shop-hero__badge{justify-self:start;padding:.24rem .48rem;border:1px solid rgba(236,194,95,.45);border-radius:999px;background:rgba(84,58,17,.42);font-size:clamp(.3rem,.52vw,.44rem);letter-spacing:.16em;color:#efce78;font-weight:900}
.shop-hero__art{position:absolute;right:-2%;top:13%;width:45%;height:52%;display:grid;place-items:center;pointer-events:none}.shop-hero__art span{position:absolute;right:8%;top:4%;color:#f6d57d;font-size:1.2rem;text-shadow:0 0 18px rgba(246,205,108,.65)}.shop-dress{display:block;width:60%;height:90%;border-radius:45% 45% 18% 18%/20% 20% 12% 12%;background:linear-gradient(140deg,#171216 0 26%,#8f1730 27% 48%,#2b1218 49% 76%,#d0a852 77% 80%,#111214 81%);clip-path:polygon(30% 0,70% 0,82% 22%,73% 41%,90% 100%,10% 100%,27% 41%,18% 22%);filter:drop-shadow(0 12px 12px rgba(0,0,0,.42)) drop-shadow(0 0 12px rgba(148,29,53,.18))}
.shop-hero__copy{align-self:end;position:relative;z-index:2;max-width:64%}.shop-hero__copy small{font-size:clamp(.31rem,.5vw,.42rem);letter-spacing:.1em;color:#c2a25a}.shop-hero__copy h2{margin:.12rem 0 .12rem;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.15rem,2vw,1.65rem);letter-spacing:.04em;color:#fff0bc;text-shadow:0 1px 10px rgba(225,185,88,.12)}.shop-hero__copy p{margin:0;font-size:clamp(.38rem,.62vw,.52rem);line-height:1.45;color:#c8bda0}.shop-hero__copy>div{display:flex;align-items:baseline;gap:.35rem;margin-top:.35rem}.shop-hero__copy strong{font-size:.78rem;color:#f0c965}.shop-hero__copy em{font-size:.3rem;color:#8f836b;font-style:normal}
#shopHeroAction{position:relative;z-index:2;justify-self:start;margin-top:.32rem;padding:.42rem .8rem;border:1px solid rgba(237,190,84,.45);border-radius:10px;background:linear-gradient(180deg,#762033,#46111e);color:#f7dca0;font-weight:900;font-size:clamp(.38rem,.64vw,.52rem);box-shadow:0 7px 18px rgba(0,0,0,.25);cursor:pointer}
.shop-catalog{min-width:0;display:grid;grid-template-rows:auto 1fr auto;gap:.5rem;border:1px solid rgba(216,176,86,.2);border-radius:19px;background:linear-gradient(155deg,rgba(8,30,23,.9),rgba(5,17,13,.95));padding:.7rem .75rem;box-shadow:0 16px 34px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.025)}
.shop-catalog__head{display:flex;align-items:flex-end;gap:.7rem;min-width:0}.shop-catalog__head>div{min-width:0}.shop-catalog__head small{font-size:clamp(.29rem,.48vw,.4rem);color:#b09455;letter-spacing:.12em}.shop-catalog__head strong{display:block;margin-top:.06rem;font-size:clamp(.68rem,1.08vw,.9rem);color:#efdba6}.shop-catalog__head p{margin:.08rem 0 0;font-size:clamp(.31rem,.49vw,.42rem);color:#8e866f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-tabs{margin-left:auto;display:flex;gap:.25rem;flex-wrap:nowrap}.shop-tabs button{padding:.32rem .48rem;border:1px solid rgba(211,173,84,.18);border-radius:9px;background:rgba(5,20,15,.7);color:#8f8266;font-weight:800;font-size:clamp(.3rem,.47vw,.4rem);white-space:nowrap;cursor:pointer}.shop-tabs button.is-active{border-color:rgba(232,190,90,.58);background:linear-gradient(180deg,rgba(112,78,27,.52),rgba(21,48,36,.76));color:#efd08a;box-shadow:inset 0 1px rgba(255,255,255,.05)}
.shop-grid{min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:.4rem}.shop-item{min-width:0;overflow:hidden;border:1px solid rgba(215,175,84,.22);border-radius:13px;background:linear-gradient(150deg,rgba(13,37,28,.88),rgba(6,17,14,.95));display:grid;grid-template-columns:38% 62%;grid-template-rows:1fr auto;padding:.32rem;box-shadow:0 8px 17px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.025)}.shop-item.is-owned{border-color:rgba(89,200,135,.34)}
.shop-item__art{grid-row:1;grid-column:1;min-width:0;display:grid;place-items:center;position:relative}.shop-item__art i{display:block;width:60%;aspect-ratio:1;border-radius:13px;border:1px solid rgba(238,196,97,.25);box-shadow:inset 0 0 16px rgba(255,255,255,.035),0 6px 12px rgba(0,0,0,.22)}.shop-item__art b{position:absolute;display:grid;place-items:center;color:#eccc79;font-family:Georgia,serif;font-size:1rem}.shop-art--classic i{background:linear-gradient(135deg,#f3eee2 0 24%,#1c1b1e 25% 75%,#8f1831 76%)}.shop-art--ocean i{background:linear-gradient(135deg,#fff 0 24%,#202126 25% 75%,#b21d31 76% 83%,#0e1113 84%)}.shop-art--noir i{background:linear-gradient(135deg,#08090a,#4b1520 58%,#c79d46)}.shop-art--poker i{background:linear-gradient(135deg,#0d4b36,#16191b 58%,#c09643)}.shop-art--cardback i{background:radial-gradient(circle,#2d5b45,#10251d 64%);transform:rotate(-8deg);border-radius:8px}.shop-art--chip i{border-radius:50%;background:radial-gradient(circle,#7c1c2c 0 34%,#e2bb60 36% 43%,#171819 45% 63%,#912239 65%)}.shop-art--felt i{background:radial-gradient(circle,#1e7052,#0b3527 68%)}.shop-art--frame i{background:radial-gradient(circle,#493517,#121812 68%);border-color:rgba(238,193,86,.55)}
.shop-item__copy{grid-column:2;grid-row:1;min-width:0;align-self:center}.shop-item__copy small{display:block;font-size:clamp(.22rem,.35vw,.29rem);letter-spacing:.07em;color:#aa9158;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-item__copy strong{display:block;margin:.06rem 0;font-size:clamp(.4rem,.64vw,.53rem);color:#ecd59e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-item__copy p{margin:0;font-size:clamp(.24rem,.37vw,.31rem);line-height:1.35;color:#8e8878;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shop-item__foot{grid-column:1/3;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:.25rem;border-top:1px solid rgba(221,179,86,.1);padding-top:.2rem}.shop-item__foot span{font-size:clamp(.27rem,.41vw,.34rem);font-weight:900;color:#e9c568}.shop-item__foot span.is-owned{color:#65ce94}.shop-item__foot button{padding:.22rem .38rem;border:1px solid rgba(216,177,84,.22);border-radius:7px;background:rgba(22,38,29,.8);color:#bda66f;font-size:clamp(.24rem,.37vw,.31rem);font-weight:800;cursor:pointer}.shop-item.is-owned .shop-item__foot button{border-color:rgba(81,177,119,.24);color:#78c99b;background:rgba(10,48,30,.65)}
.shop-note{display:flex;justify-content:space-between;gap:.5rem;align-items:center;padding:.26rem .4rem;border-top:1px solid rgba(224,183,87,.12);font-size:clamp(.26rem,.4vw,.34rem);color:#8f836b}.shop-note b{color:#d0b267;white-space:nowrap}.shop-bottom-nav{z-index:20}

@media (max-width:760px) and (orientation:landscape){
  .shop-topbar{height:14%;min-height:47px;padding:0 1.2%;gap:.5rem}.shop-brand{min-width:155px;gap:.35rem}.shop-brand>span{font-size:.88rem}.shop-brand h1{font-size:.84rem}.shop-brand small{font-size:.28rem}.shop-policy{display:none}.shop-wallet{min-width:72px;padding:.2rem .42rem}.shop-wallet strong{font-size:.65rem}.shop-wallet small{font-size:.24rem}.shop-stage{top:14%;bottom:15.2%;grid-template-columns:29% 71%;gap:.55%;padding:.7% 1% .8%}.shop-hero{border-radius:14px;padding:5%}.shop-hero__badge{font-size:.27rem}.shop-hero__art{width:48%;right:-4%;top:14%}.shop-hero__copy{max-width:68%}.shop-hero__copy small{font-size:.26rem}.shop-hero__copy h2{font-size:.95rem}.shop-hero__copy p{font-size:.3rem}.shop-hero__copy strong{font-size:.56rem}.shop-hero__copy em{display:none}#shopHeroAction{font-size:.3rem;padding:.3rem .52rem}.shop-catalog{border-radius:14px;padding:.42rem .45rem;gap:.27rem}.shop-catalog__head strong{font-size:.58rem}.shop-catalog__head p{display:none}.shop-catalog__head small{font-size:.24rem}.shop-tabs{gap:.15rem}.shop-tabs button{font-size:.27rem;padding:.24rem .32rem;border-radius:7px}.shop-grid{display:grid;grid-template-columns:none;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:calc((100% - .75rem)/4);gap:.25rem;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none}.shop-grid::-webkit-scrollbar{display:none}.shop-item{scroll-snap-align:start;border-radius:10px;padding:.2rem;grid-template-columns:34% 66%}.shop-item__art i{width:68%;border-radius:9px}.shop-item__art b{font-size:.72rem}.shop-item__copy small{font-size:.19rem}.shop-item__copy strong{font-size:.31rem}.shop-item__copy p{font-size:.2rem;-webkit-line-clamp:1}.shop-item__foot span{font-size:.22rem}.shop-item__foot button{font-size:.2rem;padding:.16rem .23rem}.shop-note{font-size:.21rem;padding:.18rem .25rem}.shop-note span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-note b{font-size:.21rem}}

@media (max-width:690px) and (orientation:landscape){
  .shop-brand{min-width:138px}.shop-stage{grid-template-columns:28% 72%;padding-left:.7%;padding-right:.7%}.shop-hero__copy p{display:none}.shop-hero__copy h2{font-size:.83rem}.shop-hero__art{width:50%;right:-8%}.shop-tabs button{font-size:.24rem;padding:.2rem .26rem}.shop-grid{grid-auto-columns:calc((100% - .54rem)/3.55);gap:.18rem}.shop-item__copy strong{font-size:.29rem}.shop-item__foot button{font-size:.18rem}.shop-note span{display:none}}

/* =========================================================
   CASINOIR v0.16.0 — IMMERSIVE LIVE TABLE REBUILD
   Full-width felt, readable cards, table-first HUD, centered actions.
   The poker table is the screen; controls float around it instead of
   stealing a permanent side column.
   ========================================================= */
.screen--table {
  padding: calc(4px + var(--safe-top)) calc(6px + var(--safe-right)) calc(3px + var(--safe-bottom)) calc(6px + var(--safe-left));
  background:
    radial-gradient(ellipse at 50% 33%, rgba(255,216,137,.16), transparent 32%),
    radial-gradient(ellipse at 50% 105%, rgba(17,126,91,.20), transparent 44%),
    linear-gradient(150deg,#0d0b0a 0%,#15110d 34%,#080b0a 100%);
}
.screen--table::after {
  background:
    linear-gradient(90deg,rgba(106,17,36,.15),transparent 12%,transparent 88%,rgba(141,96,27,.12)),
    radial-gradient(ellipse at 50% 13%,rgba(255,222,157,.08),transparent 31%);
}
.table-room-glow { left: 4%; width: 92%; top: -27%; height: 76%; opacity: .92; }
.table-header {
  height: 8.5%; min-height: 34px; grid-template-columns: auto 1fr auto;
  gap: .45rem; padding: 0 2px; z-index: 80;
}
.table-header .round-button { width: clamp(30px,3.2vw,40px); height: clamp(30px,3.2vw,40px); }
.table-header p { font-size: clamp(7px,.72vw,10px); }
.table-header h2 { font-size: clamp(13px,1.55vw,20px); }
.table-header__meta > span { padding: .24rem .42rem; font-size: clamp(7px,.62vw,9px); }
.sound-toggle { min-height: 27px; }

.live-game {
  position: relative; display: block; height: 89.5%; min-height: 0;
  padding: 0 0 74px; overflow: hidden;
}
.live-table-wrap {
  position: absolute; inset: 0 0 72px 0; display: grid; place-items: center;
  overflow: visible; padding: 0;
}
.live-table {
  width: min(98.5%, 1180px); aspect-ratio: 2.62 / 1;
  transform: perspective(1400px) rotateX(5.5deg) translateY(-1%);
  border-width: clamp(8px,.92vw,13px); border-color: #523819;
  background:
    radial-gradient(ellipse at 50% 37%,rgba(255,250,216,.13),transparent 26%),
    radial-gradient(ellipse at 50% 52%,#147e62 0%,#0d644f 48%,#074333 100%);
  box-shadow:
    0 28px 62px rgba(0,0,0,.54),
    0 0 0 2px rgba(255,214,120,.74),
    0 0 0 6px rgba(62,42,19,.92),
    0 0 38px rgba(234,181,68,.18),
    inset 0 0 90px rgba(0,0,0,.24),
    inset 0 1px 34px rgba(255,248,211,.055);
}
.live-table::before { inset: 1.8%; border-color: rgba(255,229,169,.34); }
.live-table::after { top: 2%; height: 24%; opacity: 1; }
.live-table__inner { inset: 6.2%; border-color: rgba(255,237,193,.30); }
.live-table__brand { top: 13%; font-size: clamp(9px,1.0vw,14px); color: rgba(255,241,205,.36); }
.live-table__brand small { font-size: clamp(5px,.46vw,7px); color: rgba(255,238,196,.25); }

/* The dealer work surface is present, but visually recedes behind the game. */
.dealer-workspace { top: 8%; transform: translateX(-50%) rotateX(-5deg) scale(.86); opacity: .72; }
.dealer-deck { filter: drop-shadow(0 5px 8px rgba(0,0,0,.34)); }
.muck-tray { border-color: rgba(255,230,171,.16); background: rgba(24,32,28,.45); }

/* Seats: less black-box UI, more floating plaques around a real felt. */
.live-seat {
  width: 15.2%; min-width: 86px; min-height: 59px; padding: 5px 7px 7px;
  border: 1px solid rgba(255,230,178,.23); border-radius: 11px;
  background: linear-gradient(180deg,rgba(34,28,22,.94),rgba(13,14,13,.95));
  box-shadow: 0 9px 21px rgba(0,0,0,.36), inset 0 1px rgba(255,249,231,.07), 0 0 0 1px rgba(0,0,0,.18);
}
.live-seat::after {
  content:""; position:absolute; left:14%; right:14%; bottom:-1px; height:1px;
  background:linear-gradient(90deg,transparent,rgba(244,203,117,.38),transparent);
}
.seat-hole { height: 38px; gap: 4px; margin-top: -1px; }
.seat-hole .playing-card { width: clamp(27px,3.25vw,41px); margin-left:0; }
.seat-hole .playing-card + .playing-card { margin-left:-3px; transform: rotate(2deg); }
.seat-meta strong { font-size: clamp(10px,.90vw,13px); color:#fff9ed; }
.seat-meta small { font-size: clamp(9px,.78vw,11px); color:#f0d9ad; }
.seat-action {
  bottom:-14px; min-width:74%; padding:2px 6px; border-radius:999px;
  font-size:clamp(8px,.72vw,10px); background:rgba(26,21,17,.96); color:#f2dfbb;
}
.position-marker {
  top:-14px; min-width:25px; padding:2px 5px; border-radius:999px;
  background:rgba(73,50,23,.90); border:1px solid rgba(255,222,151,.28);
  font-size:clamp(8px,.70vw,10px); color:#ffe3a1;
}
.live-seat.is-current:not(.live-seat--you) {
  border-color: rgba(255,224,147,.90);
  box-shadow: 0 10px 26px rgba(0,0,0,.40),0 0 0 2px rgba(255,214,120,.16),0 0 24px rgba(241,187,67,.26);
}

/* Seating geometry — eye-level 6-max arc, with YOU closest to the rail. */
.ls1 { left: 2.2%; top: 28%; }
.ls2 { left: 28.5%; top: -4.8%; }
.ls3 { right: 28.5%; top: -4.8%; }
.ls4 { right: 2.2%; top: 28%; bottom:auto; }
.ls5 { right: 10.5%; bottom: 1.5%; left:auto; }
.ls6 {
  left:50%; bottom:-7.5%; width:20%; min-width:120px; min-height:64px;
  transform:translateX(-50%) rotateX(-5deg); z-index:24;
}
.ls6.is-current { transform:translateX(-50%) rotateX(-5deg) translateY(-2px); }
.live-seat--you::before {
  bottom:-4px; width:80%; height:30px; border-color:rgba(255,220,135,.58);
  background:linear-gradient(180deg,rgba(69,46,24,.97),rgba(25,18,13,.98));
  box-shadow:0 8px 20px rgba(0,0,0,.34),0 0 20px rgba(230,177,63,.10),inset 0 1px rgba(255,246,218,.10);
}
.live-seat--you .seat-hole { height:44px; }
.live-seat--you .seat-hole .playing-card { width:clamp(32px,3.85vw,48px); }
.live-seat--you .seat-meta strong { font-size:clamp(11px,1vw,14px); }
.live-seat--you .seat-meta small { font-size:clamp(9px,.82vw,12px); }
.live-seat--you .seat-action { top:-16px; bottom:auto; }

/* Playing cards are intentionally oversized. Suit recognition must be instant. */
.playing-card {
  border-radius:6px; background:linear-gradient(145deg,#fffef9,#ece5d7 82%);
  box-shadow:0 7px 17px rgba(0,0,0,.34),inset 0 0 0 1px rgba(92,68,40,.13);
}
.playing-card b { font-size:clamp(14px,1.25vw,19px); font-weight:800; }
.playing-card i { font-size:clamp(18px,1.62vw,24px); font-weight:700; }
.live-board {
  left:50%; top:43%; min-height:78px; gap:clamp(7px,.76vw,12px);
  transform:translate(-50%,-50%) rotateX(-5deg); z-index:11;
}
.live-board .playing-card { width:clamp(48px,5.7vw,72px); }
.live-board .playing-card b { font-size:clamp(17px,1.55vw,23px); }
.live-board .playing-card i { font-size:clamp(22px,2vw,29px); }

/* Pot gets its own visual island under the board, away from bets and YOU. */
.live-pot {
  left:50%; top:62%; min-width:112px; padding:4px 11px 5px;
  transform:translateX(-50%) rotateX(-5deg);
  background:linear-gradient(180deg,rgba(13,78,60,.78),rgba(4,39,31,.88));
  border:1px solid rgba(255,226,163,.28); border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,.25),0 0 18px rgba(226,176,71,.10);
}
.live-pot span { font-size:clamp(8px,.72vw,10px); color:#e5c986; }
.live-pot strong { font-size:clamp(16px,1.5vw,23px); color:#fff4d2; }
.pot-chip-stack { transform:scale(1.08); transform-origin:center bottom; }
.live-dealer { width:clamp(24px,2.55vw,32px); font-size:clamp(8px,.64vw,10px); box-shadow:0 6px 16px rgba(0,0,0,.30),0 0 0 2px rgba(255,222,153,.20); }

/* Betting positions form an intuitive ring inside the felt. */
.tb1 { left:21%; top:42%; }
.tb2 { left:36%; top:27%; }
.tb3 { left:62%; top:27%; }
.tb4 { left:77%; top:42%; }
.tb5 { left:68%; top:70%; }
.tb6 { left:40%; top:72%; }
.table-bet { z-index:14; }
.table-bet b { font-size:clamp(10px,.82vw,12px); }
.human-betting-line { top:78%; width:29%; border-color:rgba(255,227,167,.38); }
.human-betting-line span { color:rgba(255,238,197,.62); font-size:clamp(6px,.52vw,8px); }
.human-bet-preview { top:66%; }

/* HUD: session and street are compact floating plaques, never a side console. */
.game-console { position:absolute; inset:0; z-index:40; pointer-events:none; }
.game-console > * { pointer-events:auto; }
.session-toolbar {
  top:2px; left:2px; right:auto; width:auto; max-width:42%; min-height:34px;
  grid-template-columns:auto auto; padding:4px 6px; border-radius:10px;
  background:linear-gradient(180deg,rgba(33,25,19,.92),rgba(14,13,11,.94));
  border:1px solid rgba(255,221,150,.24); box-shadow:0 7px 18px rgba(0,0,0,.26);
}
.session-toolbar__meta small { font-size:clamp(7px,.62vw,9px); color:#efd08a; }
.session-toolbar__meta strong { font-size:clamp(8px,.72vw,10px); color:#fff4db; }
.session-toolbar__actions button {
  min-height:27px; padding:0 7px; border-color:rgba(255,231,179,.15);
  background:rgba(255,244,216,.045); color:#eadcc3; font-size:clamp(7px,.60vw,9px);
}
.console-status {
  top:2px; left:50%; right:auto; transform:translateX(-50%); width:min(34%,330px); min-height:34px;
  padding:4px 8px; border-radius:10px; grid-template-columns:auto 1fr;
  background:linear-gradient(180deg,rgba(33,25,19,.91),rgba(14,13,11,.93));
  border:1px solid rgba(255,221,150,.20); box-shadow:0 7px 18px rgba(0,0,0,.23);
}
.console-status div small { font-size:7px; color:#bca474; }
.console-status div strong { font-size:clamp(10px,.88vw,13px); color:#ffe2a1; }
.console-status p { font-size:clamp(8px,.70vw,10px); color:#f1e4cc; text-align:right; line-height:1.2; }
.hand-result {
  top:2px; right:2px; width:min(31%,300px); max-height:42%; padding:6px 8px;
  border-radius:10px; background:linear-gradient(155deg,rgba(18,68,51,.94),rgba(10,18,15,.95));
  border-color:rgba(126,231,183,.35); box-shadow:0 8px 24px rgba(0,0,0,.28),0 0 22px rgba(83,201,148,.08);
}
.action-history { display:none !important; }

/* Bottom rail = the player's physical rail. Big, centered, readable. */
.action-dock {
  left:50%; bottom:1px; width:min(84%,850px); transform:translateX(-50%);
  padding:5px 8px 6px; border-radius:18px 18px 8px 8px;
  background:linear-gradient(180deg,rgba(58,39,23,.98),rgba(19,15,12,.995));
  border:1px solid rgba(255,220,141,.52);
  box-shadow:0 -11px 34px rgba(0,0,0,.42),0 0 0 1px rgba(0,0,0,.25),inset 0 1px rgba(255,248,226,.10),0 0 30px rgba(226,171,56,.08);
}
.action-dock.is-live {
  border-color:rgba(255,228,160,.92);
  box-shadow:0 -12px 38px rgba(0,0,0,.46),0 0 34px rgba(244,188,65,.21),inset 0 1px rgba(255,251,235,.14);
}
.decision-strip { gap:5px; margin-bottom:4px; }
.decision-strip span {
  min-height:22px; padding:2px 6px; border-radius:8px;
  background:rgba(255,237,199,.055); border-color:rgba(255,227,171,.11);
}
.decision-strip small { font-size:clamp(7px,.62vw,9px); color:#c9ae77; }
.decision-strip strong { font-size:clamp(10px,.90vw,13px); color:#fff4d8; }
.action-buttons { gap:7px; }
.action-button {
  min-height:42px; border-radius:10px; font-size:clamp(12px,1.15vw,17px); font-weight:800;
  letter-spacing:.015em; border-color:rgba(255,239,208,.22);
}
.action-button:not(:disabled):hover { transform:translateY(-1px); filter:brightness(1.08); }
.action-button--fold { color:#f3d0d4; background:linear-gradient(180deg,rgba(99,43,50,.44),rgba(49,22,27,.40)); }
.action-button--raise { color:#ffe6aa; background:linear-gradient(180deg,rgba(148,103,30,.50),rgba(66,44,18,.47)); }
.action-button--allin { color:#ffe1e7; background:linear-gradient(180deg,rgba(175,25,62,.64),rgba(92,13,36,.58)); border-color:rgba(238,92,126,.48); }

/* Sizing panels fan out above the rail while the hole cards remain visible in the center. */
.action-dock.can-size .bet-sizing {
  right:0; left:auto; width:40%; bottom:calc(100% + 6px);
  border:1px solid rgba(255,220,145,.24); border-radius:10px;
  background:linear-gradient(180deg,rgba(41,29,19,.98),rgba(12,12,11,.98));
}
.action-dock.can-size .raise-presets {
  left:0; right:auto; width:40%; bottom:calc(100% + 6px); grid-template-columns:repeat(2,1fr);
  border-color:rgba(255,220,145,.22); border-radius:10px;
  background:linear-gradient(180deg,rgba(41,29,19,.98),rgba(12,12,11,.98));
}
.raise-presets button { color:#f1dfbc; border-color:rgba(255,231,181,.13); }
.raise-presets button.is-selected { color:#231607; background:linear-gradient(180deg,#f2d180,#b47a26); }

.deal-controls { bottom:5px; width:min(52%,470px); }
.primary-game-button {
  min-height:50px; border-radius:12px; font-size:clamp(12px,1.05vw,15px); font-weight:800;
  background:linear-gradient(180deg,#e0b457,#9b651f); color:#201408;
  border-color:#f5d78e; box-shadow:0 9px 24px rgba(0,0,0,.34),0 0 20px rgba(228,178,67,.14);
}
.table-footer { display:none; }

/* Gold focus sweep is CASINOIR's live-action signature. */
.live-game:has(.action-dock.is-live) .live-table {
  animation:casinoirV16Focus 2.05s ease-in-out infinite;
}
@keyframes casinoirV16Focus {
  0%,100% { box-shadow:0 28px 62px rgba(0,0,0,.54),0 0 0 2px rgba(255,214,120,.70),0 0 0 6px rgba(62,42,19,.92),0 0 34px rgba(234,181,68,.16),inset 0 0 90px rgba(0,0,0,.24); }
  50% { box-shadow:0 30px 66px rgba(0,0,0,.56),0 0 0 2px rgba(255,230,166,.94),0 0 0 6px rgba(74,49,18,.94),0 0 50px rgba(244,191,69,.29),inset 0 0 90px rgba(0,0,0,.20); }
}

@media (max-width:980px) and (max-height:460px) and (orientation:landscape) {
  .table-header { height:8%; min-height:31px; }
  .table-header__title p { display:none; }
  .table-header__meta > span:first-child { display:none; }
  .live-game { height:91%; padding-bottom:69px; }
  .live-table-wrap { bottom:68px; }
  .live-table { width:99%; aspect-ratio:2.72/1; }
  .live-seat { min-width:73px; min-height:54px; padding:4px 5px 6px; }
  .seat-hole { height:32px; }
  .seat-hole .playing-card { width:clamp(24px,3vw,34px); }
  .seat-meta strong { font-size:9px; }
  .seat-meta small { font-size:8px; }
  .seat-action { bottom:-12px; font-size:8px; }
  .position-marker { top:-12px; font-size:8px; }
  .ls2,.ls3 { top:-3%; }
  .ls6 { bottom:-8%; min-width:108px; min-height:59px; }
  .live-seat--you .seat-hole { height:39px; }
  .live-seat--you .seat-hole .playing-card { width:clamp(29px,3.55vw,40px); }
  .live-board { top:42.5%; min-height:68px; gap:6px; }
  .live-board .playing-card { width:clamp(42px,5.35vw,58px); }
  .live-board .playing-card b { font-size:15px; }
  .live-board .playing-card i { font-size:20px; }
  .live-pot { min-width:94px; }
  .tb5 { top:69%; }
  .tb6 { top:72%; }
  .human-betting-line { top:78%; }
  .human-bet-preview { top:65%; }
  .session-toolbar { max-width:40%; }
  .hand-result { width:min(29%,260px); }
  .action-dock { width:88%; }
  .action-button { font-size:12px; }
  .decision-strip span { min-height:20px; }
}

@media (max-width:760px) and (orientation:landscape) {
  .screen--table { padding-left:calc(3px + var(--safe-left)); padding-right:calc(3px + var(--safe-right)); }
  .table-header { height:8%; min-height:29px; }
  .table-header__meta > span { font-size:7px; }
  .sound-toggle { min-width:42px; min-height:25px; font-size:8px; }
  .live-game { height:92%; padding-bottom:66px; }
  .live-table-wrap { bottom:64px; }
  .live-table { width:99.5%; aspect-ratio:2.74/1; border-width:7px; }
  .live-seat { min-width:62px; min-height:49px; }
  .seat-hole { height:27px; gap:2px; }
  .seat-hole .playing-card { width:clamp(21px,3.35vw,27px); }
  .seat-meta strong { font-size:8.5px; }
  .seat-meta small { font-size:7.5px; }
  .seat-action { bottom:-11px; min-width:72%; padding:1px 4px; font-size:7.5px; }
  .position-marker { top:-11px; font-size:7px; }
  .ls1 { left:1.5%; }.ls4 { right:1.5%; }
  .ls2 { left:27%; }.ls3 { right:27%; }
  .ls5 { right:8.5%; bottom:1%; }
  .ls6 { bottom:-7%; min-width:94px; min-height:54px; }
  .live-seat--you::before { height:25px; }
  .live-seat--you .seat-hole { height:34px; }
  .live-seat--you .seat-hole .playing-card { width:clamp(26px,3.85vw,31px); }
  .live-seat--you .seat-meta strong { font-size:9px; }
  .live-seat--you .seat-meta small { font-size:8px; }
  .live-board { top:42%; min-height:61px; gap:5px; }
  .live-board .playing-card { width:clamp(36px,5.65vw,44px); }
  .live-board .playing-card b { font-size:13px; }
  .live-board .playing-card i { font-size:17px; }
  .live-pot { top:60.5%; min-width:82px; padding:3px 7px; }
  .live-pot strong { font-size:14px; }.tb5 { top:69%; }.tb6 { top:71%; }
  .human-betting-line { top:77%; width:30%; }
  .human-bet-preview { top:64%; }
  .session-toolbar { top:1px; left:1px; min-height:30px; padding:3px 4px; }
  .session-toolbar__actions button { min-height:24px; padding:0 4px; font-size:6.5px; }
  .console-status { top:1px; width:34%; min-height:30px; padding:3px 5px; }
  .console-status div small { display:none; }
  .console-status div strong { font-size:9px; }
  .console-status p { font-size:7.5px; }
  .hand-result { top:1px; right:1px; max-height:40%; padding:4px 5px; }
  .hand-result p { font-size:7px; }
  .action-dock { width:94%; padding:4px 5px 5px; border-radius:15px 15px 7px 7px; }
  .decision-strip { gap:3px; margin-bottom:3px; }
  .decision-strip span { min-height:18px; padding:1px 3px; }
  .decision-strip small { font-size:6px; }
  .decision-strip strong { font-size:9px; }
  .action-buttons { gap:4px; }
  .action-button { min-height:36px; font-size:10.5px; border-radius:8px; }
  .action-dock.can-size .bet-sizing,
  .action-dock.can-size .raise-presets { width:42%; }
  .deal-controls { bottom:3px; }
  .primary-game-button { min-height:42px; font-size:11px; }
}

@media (prefers-reduced-motion:reduce) {
  .live-game:has(.action-dock.is-live) .live-table { animation:none !important; }
}

/* v0.16.0 final geometry polish — keep the player's cards completely visible
   between the two sizing wings and above the center action rail. */
@media (min-width:761px) and (max-height:460px) and (orientation:landscape) {
  .ls6 { bottom: 7%; }
  .live-seat--you { min-width: 116px; }
  .action-dock.can-size .bet-sizing,
  .action-dock.can-size .raise-presets { width: 37%; }
}
@media (max-width:760px) and (orientation:landscape) {
  .action-dock.can-size .bet-sizing,
  .action-dock.can-size .raise-presets { width: 38%; }
}


/* =========================================================
   CASINOIR v0.16.1 — ACTION UX POLISH
   Touch-first action controls and context-correct bet sizing.
   ========================================================= */
.screen--table button,
.action-dock button,
.action-dock input[type="range"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.action-button,
.raise-presets button,
.bb-stepper button,
.session-toolbar__actions button,
.primary-game-button {
  user-select: none;
  -webkit-user-select: none;
}
.action-button:not(:disabled):active,
.raise-presets button:not(:disabled):active,
.bb-stepper button:not(:disabled):active,
.session-toolbar__actions button:not(:disabled):active,
.primary-game-button:not(:disabled):active {
  transform: translateY(1px) scale(.985);
  filter: brightness(.96);
}
.action-dock.is-live .decision-strip span {
  border-color: rgba(255,225,157,.20);
  background: rgba(255,239,202,.075);
}
.action-dock.is-live .decision-strip strong {
  color: #fff8e8;
}
@media (max-width:760px) and (orientation:landscape) {
  .action-button { min-height:40px; }
  .raise-presets button { min-height:29px; }
  .bb-stepper button { min-height:29px; }
  .session-toolbar__actions button { min-height:27px; }
}


/* =========================================================
   CASINOIR v0.16.2 — TURN FOCUS / BET SIZING CLARITY
   Make the acting state unmistakable without covering cards.
   ========================================================= */
.turn-indicator {
  position:absolute;
  left:50%;
  top:-19px;
  z-index:8;
  transform:translateX(-50%);
  min-width:118px;
  padding:3px 12px 4px;
  border:1px solid rgba(255,229,161,.72);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(117,77,24,.98),rgba(48,31,13,.99));
  box-shadow:0 5px 16px rgba(0,0,0,.38),0 0 18px rgba(244,188,65,.18),inset 0 1px rgba(255,248,224,.16);
  color:#fff0c3;
  font-size:clamp(8px,.72vw,10px);
  font-weight:900;
  letter-spacing:.06em;
  line-height:1.1;
  text-align:center;
  white-space:nowrap;
  pointer-events:none;
}
.action-dock.is-live .turn-indicator { animation:casinoirTurnPulse 1.35s ease-in-out infinite; }
@keyframes casinoirTurnPulse {
  0%,100% { filter:brightness(1); transform:translateX(-50%) translateY(0); }
  50% { filter:brightness(1.12); transform:translateX(-50%) translateY(-1px); }
}
.action-button--call {
  color:#dff9ed;
  background:linear-gradient(180deg,rgba(25,101,76,.50),rgba(15,53,43,.52));
  border-color:rgba(137,228,190,.30);
}
.action-dock.is-live .action-button--call:not(:disabled) {
  border-color:rgba(161,241,205,.62);
  box-shadow:inset 0 1px rgba(238,255,247,.12),0 0 16px rgba(76,204,148,.11);
}
.action-dock.is-free-check .action-button--call.is-check:not(:disabled) {
  background:linear-gradient(180deg,rgba(34,128,91,.66),rgba(17,74,55,.62));
  color:#effff7;
}
.action-dock.is-facing-bet .action-button--call.is-call:not(:disabled) {
  background:linear-gradient(180deg,rgba(54,112,112,.62),rgba(23,63,65,.60));
  color:#edffff;
  border-color:rgba(136,225,224,.52);
}
.action-dock.is-free-check .action-button--fold:not(:disabled) {
  opacity:.78;
}
.action-dock.is-free-check .action-button--fold:not(:disabled):hover,
.action-dock.is-free-check .action-button--fold:not(:disabled):active {
  opacity:1;
}
.live-seat.is-human-turn {
  border-color:rgba(255,231,168,.98);
  box-shadow:0 12px 28px rgba(0,0,0,.43),0 0 0 2px rgba(255,220,133,.20),0 0 30px rgba(247,193,70,.31);
}
.live-seat.is-human-turn .seat-action {
  color:#271704;
  background:linear-gradient(180deg,#f6d887,#c88d31);
  border-color:rgba(255,239,194,.78);
  font-weight:900;
}
.action-dock.can-size .bet-sizing__readout small { color:#d7bc83; }
.action-dock.can-size .bet-sizing__readout strong { color:#fff5db; }

@media (max-width:760px) and (orientation:landscape) {
  .turn-indicator { top:-17px; min-width:104px; padding:2px 8px 3px; font-size:7.5px; }
  .action-button--call { font-weight:900; }
}
@media (prefers-reduced-motion:reduce) {
  .action-dock.is-live .turn-indicator { animation:none !important; }
}

/* =========================================================
   CASINOIR v0.16.3 — SHOWDOWN / WINNER PRESENTATION
   Winner hierarchy, best-five clarity, showdown comparison,
   and pot settlement timing without changing game logic.
   ========================================================= */
.hand-result.is-showdown-result:not([hidden]),
.hand-result.is-uncontested-result:not([hidden]) {
  animation: casinoirV163ResultReveal .52s cubic-bezier(.18,.78,.24,1) var(--result-delay, 850ms) both;
  overflow-x: hidden;
}
@keyframes casinoirV163ResultReveal {
  0% { opacity:0; transform:translateY(7px) scale(.975); filter:brightness(1.25); }
  65% { opacity:1; transform:translateY(-1px) scale(1.008); filter:brightness(1.06); }
  100% { opacity:1; transform:translateY(0) scale(1); filter:brightness(1); }
}
.hand-result > p {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-bottom:5px;
}
.hand-result > p > strong {
  color:#f1d694;
  font-size:clamp(7px,.64vw,9px);
  letter-spacing:.12em;
  font-weight:800;
}
.hand-result > p > span {
  float:none;
  margin-left:auto;
  padding:1px 4px;
  border:1px solid rgba(241,214,148,.18);
  border-radius:999px;
  color:#cbb57e;
  background:rgba(241,214,148,.05);
  font-size:7px;
  letter-spacing:.08em;
}
.result-winners { gap:4px; }
.result-winner {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:
    "headline amount"
    "hand amount"
    "cards cards";
  gap:2px 7px;
  align-items:center;
  min-width:0;
  padding:5px 6px;
  border:1px solid rgba(126,231,183,.16);
  border-radius:8px;
  background:linear-gradient(145deg,rgba(47,105,80,.19),rgba(255,255,255,.018));
  box-shadow:inset 0 1px rgba(255,255,255,.025);
}
.result-winner.is-human-winner {
  border-color:rgba(246,214,137,.34);
  background:linear-gradient(145deg,rgba(108,79,28,.22),rgba(30,82,62,.21));
  box-shadow:inset 0 1px rgba(255,245,213,.06),0 0 18px rgba(237,192,91,.06);
}
.result-winner__headline {
  grid-area:headline;
  display:flex;
  min-width:0;
  align-items:center;
  gap:5px;
}
.result-winner__headline em {
  flex:0 0 auto;
  margin:0;
  padding:1px 4px;
  border:1px solid rgba(126,231,183,.24);
  border-radius:999px;
  color:#8fe1b9;
  background:rgba(74,169,126,.08);
  font-size:clamp(6px,.50vw,7px);
  font-style:normal;
  font-weight:800;
  letter-spacing:.08em;
}
.result-winner__headline strong {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff8e9;
}
.result-winner > b {
  grid-area:amount;
  align-self:center;
  color:#9be7c1;
  font-size:clamp(12px,1vw,15px);
  text-shadow:0 0 12px rgba(95,214,158,.12);
}
.result-winner > small {
  grid-area:hand;
  display:flex;
  min-width:0;
  align-items:baseline;
  gap:5px;
  overflow:hidden;
}
.result-hand-name {
  flex:0 0 auto;
  color:#e7d3a6;
  font-size:clamp(8px,.68vw,10px);
  font-weight:750;
  letter-spacing:.02em;
}
.result-hand-detail {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#8d958e;
  font-size:7px;
  letter-spacing:.035em;
}
.result-best-five {
  grid-area:cards;
  display:flex;
  align-items:center;
  gap:2px;
  min-height:27px;
  padding-top:2px;
}
.result-best-five .playing-card {
  width:clamp(18px,2.05vw,25px);
  aspect-ratio:.71;
  border-radius:3px;
  box-shadow:0 3px 8px rgba(0,0,0,.28),0 0 0 1px rgba(234,215,172,.26);
}
.result-best-five .playing-card b { top:1px; left:2px; font-size:clamp(6px,.58vw,8px); }
.result-best-five .playing-card i { right:2px; bottom:1px; font-size:clamp(8px,.76vw,11px); }
.result-best-five .playing-card.is-best-card { transform:none; filter:none; }
.showdown-summary {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2px 4px;
  margin-top:5px;
  padding-top:4px;
  border-top:1px solid rgba(255,255,255,.055);
}
.showdown-rank {
  display:flex;
  min-width:0;
  align-items:center;
  justify-content:space-between;
  gap:4px;
  padding:2px 4px;
  border-radius:5px;
  background:rgba(255,255,255,.018);
  opacity:.70;
}
.showdown-rank.is-winning-hand {
  background:rgba(91,191,145,.075);
  opacity:1;
}
.showdown-rank strong,
.showdown-rank small {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.showdown-rank strong { color:#c8c2b6; font-size:7px; font-weight:650; }
.showdown-rank small { color:#9fa99f; font-size:7px; }
.showdown-rank.is-winning-hand strong { color:#e8fff4; }
.showdown-rank.is-winning-hand small { color:#91ddb9; }
.result-pots { margin-top:5px; padding-top:4px; }
.result-pot__meta small { color:#91cbb0; }

/* Keep showdown information readable on the 667x375 reference viewport. */
@media (max-width:760px) and (orientation:landscape) {
  .hand-result.is-showdown-result { width:31%; max-height:45%; }
  .hand-result > p { margin-bottom:3px; }
  .result-winner { padding:3px 4px; gap:1px 4px; border-radius:6px; }
  .result-winner__headline { gap:3px; }
  .result-winner__headline em { padding:0 3px; font-size:5.5px; }
  .result-winner > b { font-size:10px; }
  .result-hand-name { font-size:7.5px; }
  .result-hand-detail { display:none; }
  .result-best-five { min-height:21px; gap:1px; padding-top:1px; }
  .result-best-five .playing-card { width:clamp(15px,2.55vw,19px); }
  .result-best-five .playing-card b { font-size:5.5px; }
  .result-best-five .playing-card i { font-size:7px; }
  .showdown-summary { grid-template-columns:1fr; gap:1px; margin-top:3px; padding-top:3px; }
  .showdown-rank { padding:1px 3px; }
  .showdown-rank strong,.showdown-rank small { font-size:6px; }
  .result-pots { margin-top:3px; padding-top:3px; }
}
@media (prefers-reduced-motion:reduce) {
  .hand-result.is-showdown-result:not([hidden]),
  .hand-result.is-uncontested-result:not([hidden]) { animation:none !important; opacity:1 !important; transform:none !important; filter:none !important; }
}

/* =========================================================
   CASINOIR v0.16.4 — HAND END / NEXT HAND FLOW
   Preserve showdown readability, then hand control cleanly
   from settlement -> button move -> next deal.
   ========================================================= */
.live-game.is-hand-settling .action-dock,
.live-game.is-between-hands .action-dock,
.live-game.is-next-hand-starting .action-dock {
  opacity:.46;
  filter:saturate(.72) brightness(.92);
  transition:opacity .22s ease,filter .22s ease,transform .22s ease;
}
.live-game.is-between-hands .action-dock {
  transform:translateX(-50%) translateY(3px) scale(.988);
}
.live-game.is-next-hand-starting .action-dock {
  transform:translateX(-50%) translateY(5px) scale(.982);
}
.live-game.is-hand-settling .deal-controls,
.live-game.is-between-hands .deal-controls,
.live-game.is-next-hand-starting .deal-controls {
  z-index:28;
}
.primary-game-button:disabled {
  cursor:default;
  opacity:.62;
  filter:saturate(.72) brightness(.88);
  box-shadow:0 7px 18px rgba(0,0,0,.28),0 0 14px rgba(228,178,67,.06);
}
.primary-game-button.is-next-ready:not(:disabled) {
  border-color:#ffe7aa;
  background:linear-gradient(180deg,#f0c968,#a86a1e);
  box-shadow:0 9px 24px rgba(0,0,0,.36),0 0 25px rgba(239,191,76,.24),inset 0 1px rgba(255,248,224,.30);
  animation:none;
}
@keyframes casinoirV164NextReady {
  0%,100% { transform:translateY(0); filter:brightness(1); }
  50% { transform:translateY(-1px); filter:brightness(1.08); }
}
.primary-game-button.is-next-starting {
  opacity:.78;
  letter-spacing:.04em;
  animation:casinoirV164Starting .72s ease-in-out infinite alternate;
}
@keyframes casinoirV164Starting {
  from { filter:brightness(.86) saturate(.78); }
  to { filter:brightness(1.06) saturate(.96); }
}
.hand-result.is-clearing {
  pointer-events:none;
  animation:casinoirV164ResultClear .42s ease both !important;
}
@keyframes casinoirV164ResultClear {
  from { opacity:1; transform:translateY(0) scale(1); filter:brightness(1); }
  to { opacity:.18; transform:translateY(-5px) scale(.985); filter:brightness(.76); }
}
.live-game.is-next-hand-starting .live-table {
  box-shadow:0 28px 62px rgba(0,0,0,.54),0 0 0 2px rgba(255,219,139,.78),0 0 0 6px rgba(62,42,19,.92),0 0 38px rgba(234,181,68,.19),inset 0 0 90px rgba(0,0,0,.24);
}
@media (max-width:760px) and (orientation:landscape) {
  .primary-game-button.is-next-ready:not(:disabled) { min-height:43px; }
  .live-game.is-between-hands .action-dock { transform:translateX(-50%) translateY(2px) scale(.992); }
}
@media (prefers-reduced-motion:reduce) {
  .primary-game-button.is-next-ready:not(:disabled),
  .primary-game-button.is-next-starting,
  .hand-result.is-clearing { animation:none !important; }
}

/* =========================================================
   CASINOIR v0.16.5 — STREET FLOW / DEALER RHYTHM
   Gate post-street actions until collection, burn and board
   reveal have completed. Also pace all-in board runouts.
   ========================================================= */
.live-board .playing-card.is-new-card {
  animation-delay: var(--board-delay, 620ms);
}
.playing-card.is-showdown-reveal {
  animation-delay: var(--show-delay, 240ms);
}
.live-game.is-street-transition .action-dock {
  pointer-events:none;
  opacity:.40;
  filter:saturate(.62) brightness(.86);
  transform:translateX(-50%) translateY(4px) scale(.988);
  transition:opacity .20s ease,filter .20s ease,transform .20s ease;
}
.live-game.is-street-transition .live-seat.is-current,
.live-game.is-street-transition .live-seat.is-human-turn {
  border-color:rgba(255,230,178,.23);
  box-shadow:0 9px 21px rgba(0,0,0,.36),inset 0 1px rgba(255,249,231,.07),0 0 0 1px rgba(0,0,0,.18);
}
.live-game.is-street-transition .live-table {
  box-shadow:0 28px 62px rgba(0,0,0,.54),0 0 0 2px rgba(255,220,139,.78),0 0 0 6px rgba(62,42,19,.92),0 0 44px rgba(231,181,76,.18),inset 0 0 92px rgba(0,0,0,.22);
}
.live-game.is-street-collecting .live-pot {
  border-color:rgba(255,223,151,.48);
  box-shadow:0 8px 20px rgba(0,0,0,.25),0 0 24px rgba(226,176,71,.20);
}
.live-game.is-street-burning .dealer-workspace {
  opacity:.96;
  filter:brightness(1.10);
}
.live-game.is-street-revealing .live-board {
  filter:drop-shadow(0 0 17px rgba(243,198,97,.17));
}
.live-game.is-street-transition .console-status {
  border-color:rgba(255,219,137,.36);
  box-shadow:0 7px 18px rgba(0,0,0,.23),0 0 18px rgba(235,185,74,.10);
}
.live-game.is-street-transition .console-status p {
  color:#ffe9b3;
}
.live-game.is-street-transition .street-curtain strong {
  letter-spacing:.14em;
}
.live-game.is-street-burning .street-curtain small,
.live-game.is-street-revealing .street-curtain small {
  color:#e7c77c;
}
@media (max-width:760px) and (orientation:landscape) {
  .live-game.is-street-transition .action-dock {
    transform:translateX(-50%) translateY(3px) scale(.992);
  }
}
@media (prefers-reduced-motion:reduce) {
  .live-game.is-street-transition .action-dock,
  .live-game.is-street-transition .live-table,
  .live-game.is-street-burning .dealer-workspace,
  .live-game.is-street-revealing .live-board {
    transition:none !important;
    animation:none !important;
  }
}


/* v0.16.6 — TABLE PRESENCE / PLAYER READABILITY */
.live-seat.is-short-stack:not(.is-folded):not(.is-allin)::after {
  position: absolute;
  right: 5px;
  top: 4px;
  padding: 1px 4px;
  border-radius: 999px;
  font-size: clamp(5px,.43vw,6px);
  line-height: 1.15;
  letter-spacing: .08em;
  pointer-events: none;
}
.live-seat.is-deep-stack:not(.is-folded):not(.is-allin)::after {
  position: absolute;
  right: 5px;
  top: 4px;
  padding: 1px 4px;
  border-radius: 999px;
  font-size: clamp(5px,.43vw,6px);
  line-height: 1.15;
  letter-spacing: .08em;
  pointer-events: none;
}
.live-seat.is-allin:not(.is-folded) .seat-action:not(.action-type-win) {
  color: #ffdbe2;
  border-color: rgba(229,83,116,.50);
  background: linear-gradient(180deg,rgba(111,24,45,.95),rgba(61,15,28,.95));
  box-shadow: 0 0 18px rgba(185,42,77,.20);
}
.live-seat.is-folded .seat-meta { opacity: .82; }
.live-seat.is-folded .seat-action {
  color: #b6afa6;
  background: rgba(20,20,20,.88);
  border-color: rgba(255,255,255,.08);
}
.live-seat.is-current .seat-meta small { color: #fff0c8; }
.live-seat.is-current .seat-action {
  color: #fff0c8;
  border-color: rgba(255,224,158,.46);
}
@media (max-width:760px) and (orientation:landscape) {
  .live-seat .seat-meta small { letter-spacing: 0; }
}

/* =========================================================
   CASINOIR v0.16.7 — ACTION FEEDBACK / TABLE STATE CLARITY
   Keep action semantics consistent between seat labels and
   betting positions without changing Hold'em game logic.
   ========================================================= */
.seat-action[data-action-type] {
  transition: color .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.seat-action.action-type-check {
  color:#bfe7df;
  border-color:rgba(116,199,184,.30);
  background:linear-gradient(180deg,rgba(26,72,67,.82),rgba(16,45,42,.88));
}
.seat-action.action-type-call {
  color:#bfe6ff;
  border-color:rgba(104,177,221,.34);
  background:linear-gradient(180deg,rgba(26,62,83,.86),rgba(16,39,54,.90));
}
.seat-action.action-type-bet,
.seat-action.action-type-raise {
  color:#ffe7ad;
  border-color:rgba(234,190,91,.38);
  background:linear-gradient(180deg,rgba(91,66,22,.90),rgba(53,39,16,.92));
  box-shadow:0 0 14px rgba(216,167,55,.12);
}
.seat-action.action-type-fold {
  color:#b7b1a9;
  border-color:rgba(255,255,255,.07);
  background:rgba(18,18,18,.86);
}
.seat-action.action-type-allin {
  color:#ffe0e6;
  border-color:rgba(235,83,118,.52);
  background:linear-gradient(180deg,rgba(118,25,47,.96),rgba(62,14,28,.96));
  box-shadow:0 0 18px rgba(198,48,82,.20);
}
.seat-action.action-type-blind {
  color:#d3cbc0;
  border-color:rgba(193,181,159,.18);
  background:rgba(35,33,29,.82);
}
.seat-action.action-type-current {
  color:#fff1c7;
  border-color:rgba(255,224,158,.48);
  background:linear-gradient(180deg,rgba(95,74,31,.94),rgba(54,42,20,.94));
  box-shadow:0 0 18px rgba(231,184,78,.16);
}
.seat-action.action-type-win {
  color:#cffff0;
  border-color:rgba(91,191,145,.42);
  background:linear-gradient(180deg,rgba(25,82,58,.92),rgba(15,48,35,.94));
  box-shadow:0 0 18px rgba(78,181,133,.17);
}
.seat-action:empty {
  display:none;
}
.table-bet[data-bet-type] {
  transition: filter .16s ease, opacity .16s ease;
}
.table-bet.bet-type-call.is-active { filter:drop-shadow(0 0 5px rgba(104,177,221,.18)); }
.table-bet.bet-type-bet.is-active,
.table-bet.bet-type-raise.is-active { filter:drop-shadow(0 0 7px rgba(234,190,91,.22)); }
.table-bet.bet-type-allin.is-active { filter:drop-shadow(0 0 8px rgba(235,83,118,.28)); }
.table-bet.is-bet-delta::after {
  content:attr(data-bet-delta);
  position:absolute;
  left:50%;
  top:-8px;
  z-index:8;
  transform:translate(-50%,0);
  padding:1px 4px;
  border-radius:999px;
  border:1px solid rgba(255,230,171,.28);
  background:rgba(18,19,18,.92);
  color:#ffe7ad;
  font-size:clamp(6px,.55vw,8px);
  line-height:1.3;
  font-weight:750;
  font-variant-numeric:tabular-nums;
  letter-spacing:.02em;
  white-space:nowrap;
  pointer-events:none;
  animation:casinoirV167BetDelta .76s ease both;
}
.table-bet.bet-type-call.is-bet-delta::after { color:#ccecff; border-color:rgba(104,177,221,.32); }
.table-bet.bet-type-allin.is-bet-delta::after { color:#ffe0e6; border-color:rgba(235,83,118,.42); }
@keyframes casinoirV167BetDelta {
  0% { opacity:0; transform:translate(-50%,4px) scale(.94); }
  18% { opacity:1; transform:translate(-50%,0) scale(1); }
  68% { opacity:1; transform:translate(-50%,-2px) scale(1); }
  100% { opacity:0; transform:translate(-50%,-8px) scale(.98); }
}
@media (max-width:760px) and (orientation:landscape) {
  .table-bet.is-bet-delta::after { top:-6px; padding:1px 3px; font-size:6px; }
}
@media (prefers-reduced-motion:reduce) {
  .table-bet.is-bet-delta::after { animation:none !important; opacity:1; transform:translate(-50%,0); }
}

/* v0.16.8 — POSITION / PREFLOP ORIENTATION */
.live-seat .position-marker {
  min-width: 27px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.live-seat[data-position="btn"] .position-marker,
.live-seat[data-position="btn-sb"] .position-marker {
  color: #fff0b9;
  border-color: rgba(255,222,151,.46);
  background: linear-gradient(180deg,rgba(105,73,27,.96),rgba(58,39,18,.96));
  box-shadow: 0 0 13px rgba(235,186,73,.16);
}
.live-seat[data-position="sb"] .position-marker,
.live-seat[data-position="bb"] .position-marker {
  color: #e9edf1;
  border-color: rgba(205,218,230,.24);
  background: linear-gradient(180deg,rgba(55,66,71,.94),rgba(27,33,36,.96));
}
.live-seat[data-position="utg"] .position-marker,
.live-seat[data-position="hj"] .position-marker,
.live-seat[data-position="co"] .position-marker,
.live-seat[data-position="mp"] .position-marker {
  color: #c7ebe1;
  border-color: rgba(115,199,176,.22);
  background: linear-gradient(180deg,rgba(26,74,65,.90),rgba(13,45,40,.94));
}
.live-seat--you .position-marker {
  font-weight: 850;
  border-color: rgba(255,225,158,.52);
  box-shadow: 0 0 14px rgba(229,177,63,.12);
}
.live-seat.is-current .position-marker {
  color: #fff4d2;
  border-color: rgba(255,225,158,.60);
}
@media (max-width:760px) and (orientation:landscape) {
  .live-seat .position-marker {
    min-width: 22px;
    padding-left: 4px;
    padding-right: 4px;
    letter-spacing: .025em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-seat .position-marker { transition: none; }
}


/* v0.16.9 — POT / DECISION INFO */
.decision-strip--v169 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.decision-strip--v169 .decision-metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  font-variant-numeric: tabular-nums;
}
.decision-strip--v169 .decision-metric small,
.decision-strip--v169 .decision-metric strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.decision-strip--v169 .decision-metric--pot strong { color: #ffe7a7; }
.decision-strip--v169 .decision-metric--call strong { color: #d5edff; }
.decision-strip--v169 .decision-metric--odds strong { color: #cde9df; }
.decision-strip--v169 .decision-metric--effective strong { color: #f3e0b3; }
.action-dock[data-decision-facing-bet="true"] .decision-metric--call {
  border-color: rgba(105,178,222,.28);
  background: rgba(47,91,116,.14);
}
.action-dock[data-decision-facing-bet="true"] .decision-metric--odds {
  border-color: rgba(103,191,163,.24);
  background: rgba(39,96,78,.12);
}
.action-dock[data-decision-can-check="true"] .decision-metric--call strong {
  color: #bfeedd;
}
@media (max-width:760px) and (orientation:landscape) {
  .decision-strip--v169 .decision-metric { padding-left: 2px; padding-right: 2px; }
  .decision-strip--v169 .decision-metric small { font-size: 5.5px; letter-spacing: 0; }
  .decision-strip--v169 .decision-metric strong { font-size: 8px; letter-spacing: -.01em; }
}
@media (max-width:690px) and (orientation:landscape) {
  .decision-strip--v169 .decision-metric small { font-size: 5px; }
  .decision-strip--v169 .decision-metric strong { font-size: 7.5px; }
}

/* =========================================================
   CASINOIR v0.16.11 — RESPONSIVE TABLE FINAL
   Reference targets: 844×390 and 667×375 landscape.
   Final override layer: preserve game information first, constrain the
   felt by available height, and keep HUD / hole cards / action rail apart.
   ========================================================= */

/* Restore the v0.16.6 readability rules as valid CSS. The original block
   was serialized with literal \
 tokens and may not be parsed reliably. */
.live-seat .seat-meta small {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em;
}
.live-seat[data-stack-depth="short"] .seat-meta small { color:#efb7bb; }
.live-seat[data-stack-depth="deep"] .seat-meta small { color:#f2d89b; }
.live-seat.is-short-stack:not(.is-folded):not(.is-allin)::after,
.live-seat.is-deep-stack:not(.is-folded):not(.is-allin)::after {
  position:absolute;
  right:5px;
  top:4px;
  padding:1px 4px;
  border-radius:999px;
  font-size:clamp(5px,.43vw,6px);
  line-height:1.15;
  letter-spacing:.08em;
  pointer-events:none;
}
.live-seat.is-short-stack:not(.is-folded):not(.is-allin)::after {
  content:"SHORT";
  border:1px solid rgba(210,92,108,.25);
  background:rgba(92,30,40,.34);
  color:rgba(255,200,207,.78);
}
.live-seat.is-deep-stack:not(.is-folded):not(.is-allin)::after {
  content:"DEEP";
  border:1px solid rgba(229,196,120,.20);
  background:rgba(93,71,28,.24);
  color:rgba(255,229,167,.72);
}
.live-seat--you::after { display:none; }

/* All compact landscape tables use the dynamic viewport rather than width
   alone. On wider phones the felt is height-limited so top/bottom seats do
   not disappear behind the header or player rail. */
@media (max-width:980px) and (max-height:460px) and (orientation:landscape) {
  .screen--table {
    padding-top:calc(2px + var(--safe-top));
    padding-right:calc(4px + var(--safe-right));
    padding-bottom:calc(2px + var(--safe-bottom));
    padding-left:calc(4px + var(--safe-left));
  }
  .table-header {
    height:32px;
    min-height:32px;
    gap:5px;
  }
  .table-header .round-button { width:28px; height:28px; }
  .table-header__title { min-width:0; }
  .table-header__title h2 {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:13px;
  }
  .table-header__meta { min-width:0; gap:3px; }
  .table-header__meta > span { padding:2px 5px; }
  .sound-toggle { min-height:25px; }

  .live-game {
    height:calc(100% - 32px);
    padding-bottom:68px;
  }
  .live-table-wrap { inset:0 0 68px 0; }
  .live-table {
    width:min(99%, calc((100dvh - 100px - var(--safe-top) - var(--safe-bottom)) * 2.72));
    max-width:1180px;
    aspect-ratio:2.72 / 1;
  }

  /* Arc geometry: keep every plaque inside the useful felt envelope. */
  .ls1 { left:2%; top:27%; }
  .ls2 { left:17%; top:-2%; }
  .ls3 { right:17%; top:-2%; }
  .ls4 { right:2%; top:27%; }
  .ls5 { right:8%; bottom:23%; }
  .ls6 { bottom:4%; min-width:112px; min-height:58px; }
  .live-seat--you .seat-hole { height:38px; }
  .live-seat--you .seat-hole .playing-card { width:clamp(29px,3.45vw,39px); }

  .live-board { top:42%; }
  .live-pot { top:61%; }
  .tb5 { top:68%; }
  .tb6 { top:70%; }
  .human-betting-line { top:76.5%; }
  .human-bet-preview { top:63.5%; }

  /* Three independent HUD zones: session / dealer status / result. */
  .session-toolbar {
    top:1px;
    left:1px;
    min-height:30px;
    padding:3px 5px;
  }
  .console-status {
    top:1px;
    width:min(32%,270px);
    min-height:30px;
    padding:3px 6px;
  }
  .console-status p {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:8px;
  }
  .hand-result {
    top:1px;
    right:1px;
    width:min(29%,255px);
    max-height:43%;
  }

  /* Rail is fixed-height in practice. Four decision metrics always survive. */
  .action-dock {
    bottom:1px;
    width:min(90%,820px);
    padding:4px 6px 5px;
  }
  .decision-strip--v169 {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:3px;
    margin-bottom:3px;
  }
  .decision-strip--v169 .decision-metric {
    min-height:19px;
    padding:1px 4px;
  }
  .decision-strip--v169 .decision-metric small { font-size:6px; }
  .decision-strip--v169 .decision-metric strong { font-size:9px; }
  .action-buttons { gap:5px; }
  .action-button {
    min-width:0;
    min-height:39px;
    padding:4px 3px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
  }

  /* Sizing wings stay outside the center sightline to YOU. */
  .action-dock.can-size .bet-sizing,
  .action-dock.can-size .raise-presets {
    bottom:calc(100% + 4px);
    width:35%;
  }
  .bet-sizing { padding:3px 4px 2px; }
  .bet-sizing__readout { gap:2px; }
  .bet-sizing__readout small { display:none; }
  .bet-sizing__readout strong { font-size:10px; }
  .bet-sizing__readout > em { font-size:7px; }
  .bb-stepper button { min-height:22px; padding:0 4px; font-size:7px; }
  .raise-slider { height:14px; margin-top:1px; }
  .raise-range { display:none; }
  .raise-presets { gap:3px; padding:3px; }
  .raise-presets button { min-height:24px; padding:2px; font-size:7.5px; }
}

/* 844×390 reference: width is generous but height is the bottleneck. */
@media (min-width:761px) and (max-width:900px) and (max-height:410px) and (orientation:landscape) {
  .live-table {
    width:min(96%, calc((100dvh - 101px - var(--safe-top) - var(--safe-bottom)) * 2.72));
  }
  .live-seat { min-width:72px; min-height:52px; padding:4px 5px 6px; }
  .seat-hole { height:30px; }
  .seat-hole .playing-card { width:clamp(23px,2.9vw,32px); }
  .seat-meta strong { font-size:9px; }
  .seat-meta small { font-size:8px; }
  .seat-action { bottom:-11px; font-size:7.5px; }
  .position-marker { top:-11px; font-size:7.5px; }
  .live-board { min-height:64px; gap:6px; }
  .live-board .playing-card { width:clamp(40px,5vw,52px); }
  .live-pot { min-width:90px; }
  .session-toolbar__actions button { min-height:24px; }
}

/* 667×375 reference: width becomes the bottleneck. Strip secondary chrome,
   preserve cards, stack amounts, positions, four metrics and four actions. */
@media (max-width:760px) and (orientation:landscape) {
  .screen--table {
    padding-right:calc(2px + var(--safe-right));
    padding-left:calc(2px + var(--safe-left));
  }
  .table-header {
    height:30px;
    min-height:30px;
    gap:3px;
  }
  .table-header .round-button { width:27px; height:27px; }
  .table-header__title p { display:none; }
  .table-header__title h2 { font-size:12px; }
  .table-header__meta > span:first-child { display:none; }
  .table-header__meta > span { padding:2px 4px; font-size:6.5px; }
  .sound-toggle { min-width:39px; min-height:24px; padding:0 4px; font-size:7px; }

  .live-game {
    height:calc(100% - 30px);
    padding-bottom:65px;
  }
  .live-table-wrap { inset:0 0 65px 0; }
  .live-table {
    width:99%;
    aspect-ratio:2.74 / 1;
  }
  .live-seat { width:15%; min-width:61px; min-height:48px; padding:3px 4px 5px; }
  .seat-hole { height:26px; }
  .seat-hole .playing-card { width:clamp(20px,3.3vw,26px); }
  .seat-meta strong { font-size:8px; }
  .seat-meta small { font-size:7px; letter-spacing:0; }
  .seat-action { bottom:-10px; min-width:70%; font-size:7px; }
  .position-marker { top:-10px; min-width:21px; padding:1px 4px; font-size:6.5px; }
  .live-seat.is-short-stack:not(.is-folded):not(.is-allin)::after,
  .live-seat.is-deep-stack:not(.is-folded):not(.is-allin)::after { display:none; }

  .ls1 { left:1%; top:27%; }
  .ls2 { left:16.5%; top:-1%; }
  .ls3 { right:16.5%; top:-1%; }
  .ls4 { right:1%; top:27%; }
  .ls5 { right:7%; bottom:23%; }
  .ls6 { bottom:-3%; min-width:92px; min-height:52px; }
  .live-seat--you::before { height:24px; }
  .live-seat--you .seat-hole { height:32px; }
  .live-seat--you .seat-hole .playing-card { width:clamp(25px,3.8vw,30px); }
  .live-seat--you .seat-meta strong { font-size:8.5px; }
  .live-seat--you .seat-meta small { font-size:7.5px; }

  .live-board { top:41.5%; min-height:59px; gap:4px; }
  .live-board .playing-card { width:clamp(35px,5.55vw,42px); }
  .live-board .playing-card b { font-size:12px; }
  .live-board .playing-card i { font-size:16px; }
  .live-pot { top:60%; min-width:78px; padding:3px 6px; }
  .live-pot strong { font-size:13px; }
  .tb1 { left:20%; }
  .tb2 { left:35%; }
  .tb3 { left:61%; }
  .tb4 { left:77%; }
  .tb5 { left:68%; top:68%; }
  .tb6 { left:39%; top:69%; }
  .human-betting-line { top:75%; width:28%; }
  .human-bet-preview { top:62.5%; }

  .session-toolbar { max-width:31%; min-height:28px; padding:2px 3px; }
  .session-toolbar__actions button {
    flex:1 1 auto;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .console-status {
    width:35%;
    min-height:28px;
    padding:2px 4px;
    gap:4px;
  }
  .console-status div strong { font-size:8.5px; }
  .console-status p { font-size:7px; }
  .hand-result { width:30%; max-height:39%; padding:4px; }

  .action-dock { width:95%; padding:3px 4px 4px; border-radius:13px 13px 6px 6px; }
  .decision-strip--v169 { gap:2px; margin-bottom:2px; }
  .decision-strip--v169 .decision-metric { min-height:17px; padding:1px 2px; }
  .decision-strip--v169 .decision-metric small { font-size:5px; }
  .decision-strip--v169 .decision-metric strong { font-size:7.5px; }
  .action-buttons { gap:3px; }
  .action-button {
    min-height:38px;
    padding:3px 2px;
    border-radius:7px;
    font-size:9.5px;
    letter-spacing:0;
  }
  .action-dock.can-size .bet-sizing,
  .action-dock.can-size .raise-presets { width:35%; }
  .bet-sizing__readout { grid-template-columns:minmax(0,1fr) auto; }
  .bet-sizing__readout > em { display:none; }
  .bet-sizing__readout strong { font-size:9px; }
  .bb-stepper { gap:1px; }
  .bb-stepper button { min-height:20px; padding:0 3px; font-size:6.5px; }
  .raise-presets button { min-height:22px; font-size:6.5px; }
  .deal-controls { width:58%; bottom:2px; }
  .primary-game-button { min-height:41px; font-size:10.5px; }
}

@media (max-width:690px) and (orientation:landscape) {
  .table-header__meta > span:first-child { display:none; }
  .table-header__title h2 { font-size:11px; }
  .session-toolbar { max-width:32%; }
  .console-status { width:34%; }
  .console-status p { max-width:95px; }
  .hand-result { width:31%; }
  .live-seat { min-width:58px; }
  .action-dock { width:96%; }
  .action-button { font-size:9px; }
}

@media (max-height:360px) and (orientation:landscape) {
  .table-header { height:28px; min-height:28px; }
  .live-game { height:calc(100% - 28px); padding-bottom:61px; }
  .live-table-wrap { bottom:61px; }
  .action-button { min-height:35px; }
  .decision-strip--v169 .decision-metric { min-height:16px; }
  .session-toolbar,.console-status { min-height:26px; }
}

@media (prefers-reduced-motion:reduce) {
  .live-seat .seat-meta small { transition:none; }
}


/* =========================================================
   CASINOIR v0.16.12 — TABLE SHELL FINAL
   Final table chrome: live hand state, session P/L and unified top HUD.
   Game rules and action math are intentionally untouched.
   ========================================================= */
.hand-state-pill {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-width:58px;
  font-variant-numeric:tabular-nums;
  border-color:rgba(255,226,164,.18) !important;
  background:rgba(255,244,216,.035);
  color:#cbbda3 !important;
}
.hand-state-pill::before {
  content:"";
  flex:0 0 auto;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#767168;
  box-shadow:0 0 0 1px rgba(255,255,255,.04);
}
.hand-state-pill.is-hand-live {
  border-color:rgba(106,221,165,.28) !important;
  color:#dff7e9 !important;
  background:rgba(50,118,86,.10);
}
.hand-state-pill.is-hand-live::before {
  background:#76d9a9;
  box-shadow:0 0 9px rgba(99,222,166,.72);
}
.hand-state-pill.is-hand-settled {
  border-color:rgba(237,196,104,.25) !important;
  color:#f1ddb0 !important;
}
.hand-state-pill.is-hand-settled::before {
  background:#d7ae55;
  box-shadow:0 0 7px rgba(218,174,81,.42);
}

/* Session chip is deliberately inside the existing left HUD rather than
   creating a fourth floating panel. During an active hand committed chips
   remain part of table value, so ordinary bets do not fake a session loss. */
.session-toolbar__actions { align-items:center; }
.session-net {
  flex:0 0 auto;
  min-width:52px;
  min-height:27px;
  padding:2px 6px 3px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,226,164,.14);
  border-radius:7px;
  background:rgba(255,244,216,.035);
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.session-net small {
  display:block;
  color:#8f8168;
  font-size:5px;
  letter-spacing:.10em;
  white-space:nowrap;
}
.session-net b {
  display:block;
  margin-top:2px;
  color:#e8decd;
  font-size:8px;
  font-weight:750;
  white-space:nowrap;
}
.session-net b.is-positive { color:#96ddb8; }
.session-net b.is-negative { color:#e0a3aa; }
.session-toolbar.is-sitting-out .session-net {
  border-color:rgba(176,183,188,.20);
  background:rgba(118,126,132,.08);
}
.session-toolbar.is-sitting-out .session-net small { color:#aeb3b7; }
.session-toolbar.is-low-stack:not(.is-sitting-out) .session-net {
  border-color:rgba(224,174,78,.25);
  background:rgba(131,84,22,.10);
}
.session-toolbar.is-low-stack:not(.is-sitting-out) .session-net small { color:#e1bb70; }

/* All three top HUD zones share one shell language. */
.session-toolbar,
.console-status,
.hand-result {
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
.session-toolbar,
.console-status {
  border-color:rgba(255,221,150,.23);
  box-shadow:0 7px 20px rgba(0,0,0,.28), inset 0 1px rgba(255,248,226,.035);
}
.hand-result {
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
}
.hand-result::-webkit-scrollbar { display:none; }
#tableLeave:not(:disabled) {
  border-color:rgba(206,93,108,.30);
  background:rgba(112,39,49,.09);
  color:#ddb6bb;
}
#tableLeave:not(:disabled):hover,
#tableLeave:not(:disabled):active {
  border-color:rgba(228,113,127,.45);
  background:rgba(137,45,57,.16);
}

@media (max-width:980px) and (max-height:460px) and (orientation:landscape) {
  .session-toolbar { max-width:34%; grid-template-columns:1fr; }
  .session-toolbar__meta { display:none; }
  .session-toolbar__actions { width:100%; gap:3px; min-width:0; }
  .session-net { min-width:47px; min-height:24px; padding:1px 4px 2px; }
  .session-net small { font-size:4.8px; }
  .session-net b { font-size:7.5px; }
  .hand-state-pill { min-width:54px; }
}

@media (max-width:760px) and (orientation:landscape) {
  .session-toolbar {
    max-width:33%;
    grid-template-columns:1fr;
  }
  .session-toolbar__meta { display:none; }
  .session-toolbar__actions { width:100%; gap:2px; }
  .session-net { min-width:42px; min-height:23px; padding:1px 3px 2px; border-radius:6px; }
  .session-net small { font-size:4.2px; letter-spacing:.05em; }
  .session-net b { font-size:6.8px; }
  .session-toolbar__actions button { min-height:23px; padding:0 3px; font-size:6px; }
  .hand-state-pill { min-width:50px; gap:3px; }
  .hand-state-pill::before { width:4px; height:4px; }
}

@media (max-width:690px) and (orientation:landscape) {
  .session-toolbar { max-width:34%; }
  .session-net { min-width:39px; }
  .session-toolbar__actions button { padding-inline:2px; font-size:5.7px; }
}

@media (prefers-reduced-motion:reduce) {
  .hand-state-pill.is-hand-live::before { box-shadow:none; }
}


/* v0.17.0 — STABILITY / BUG FIX RELEASE
   Core overflow guard is intentionally enforced on .app; gameplay rules are fixed in JS. */

/* =========================================================
   CASINOIR v0.18.0 — DAILY MISSION / PLAYER LOOP
   ========================================================= */
.home-mission.has-reward {
  border-color:rgba(255,211,111,.92);
  box-shadow:0 8px 24px rgba(0,0,0,.38),0 0 18px rgba(227,176,62,.16),inset 0 0 16px rgba(237,188,82,.08);
}
.home-mission.has-reward button { animation:missionRewardPulse 1.8s ease-in-out infinite; }
.home-mission.is-complete { border-color:rgba(90,216,164,.58); }
.home-mission.is-complete div>span i { background:linear-gradient(90deg,#35b886,#80dfb7); }
.home-mission.is-complete button { border-color:rgba(121,217,174,.72);background:linear-gradient(180deg,#65cba0,#2e8b6d);color:#071f18; }
@keyframes missionRewardPulse { 0%,100%{filter:brightness(1)} 50%{filter:brightness(1.16);box-shadow:0 0 12px rgba(238,188,78,.35)} }

.daily-mission-modal {
  position:fixed; inset:0; z-index:120;
  display:grid; place-items:center;
  padding:18px;
  background:radial-gradient(circle at 50% 30%,rgba(29,94,70,.18),transparent 45%),rgba(0,5,4,.76);
  backdrop-filter:blur(10px);
  opacity:0;
  transition:opacity .18s ease;
}
.daily-mission-modal.is-open { opacity:1; }
.daily-mission-modal[hidden] { display:none !important; }
.daily-mission-panel {
  width:min(760px,92vw); max-height:min(340px,88vh); overflow:hidden;
  border:1px solid rgba(221,177,80,.72); border-radius:18px;
  background:linear-gradient(150deg,rgba(4,32,25,.985),rgba(2,13,11,.99));
  box-shadow:0 24px 64px rgba(0,0,0,.66),inset 0 0 42px rgba(205,159,66,.04);
  transform:translateY(8px) scale(.988); transition:transform .18s ease;
}
.daily-mission-modal.is-open .daily-mission-panel { transform:translateY(0) scale(1); }
.daily-mission-panel__head {
  position:relative; display:grid; grid-template-columns:1fr auto; align-items:center; gap:16px;
  min-height:78px; padding:13px 58px 10px 18px;
  border-bottom:1px solid rgba(223,181,88,.22);
  background:linear-gradient(90deg,rgba(15,75,55,.34),rgba(180,126,39,.08),transparent);
}
.daily-mission-panel__head small { color:#d9b864;font-size:.56rem;font-weight:900;letter-spacing:.12em; }
.daily-mission-panel__head h2 { margin:2px 0 1px;color:#fff6df;font-size:1.15rem;line-height:1.05; }
.daily-mission-panel__head p { margin:0;color:#9eb8ad;font-size:.55rem; }
.daily-mission-panel__status { text-align:right; }
.daily-mission-panel__status b { display:block;color:#f0cf78;font-size:.65rem;letter-spacing:.06em; }
.daily-mission-panel__status span { display:block;margin-top:3px;color:#89bba6;font-size:.5rem;font-weight:800; }
.daily-mission-close {
  position:absolute; top:12px; right:13px; width:32px; height:32px;
  border:1px solid rgba(225,185,93,.35); border-radius:50%; background:rgba(3,17,13,.75);
  color:#dfc47f;font-size:1rem;line-height:1;cursor:pointer;
}
.daily-mission-list { display:grid; gap:7px; padding:9px 12px; overflow:auto; max-height:220px; }
.daily-mission-row {
  display:grid; grid-template-columns:42px 1fr 118px; align-items:center; gap:10px;
  min-height:57px; padding:7px 9px;
  border:1px solid rgba(162,183,167,.13); border-radius:11px;
  background:linear-gradient(90deg,rgba(7,31,24,.9),rgba(5,18,15,.84));
}
.daily-mission-row.is-complete { border-color:rgba(224,181,76,.4);background:linear-gradient(90deg,rgba(11,47,34,.94),rgba(35,29,12,.76)); }
.daily-mission-row.is-claimed { border-color:rgba(80,181,137,.26);opacity:.78; }
.daily-mission-row__icon {
  display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(218,177,82,.42);border-radius:50%;
  background:radial-gradient(circle,rgba(214,168,68,.18),rgba(5,27,20,.9));color:#e5bf61;font-weight:900;font-size:.9rem;
}
.daily-mission-row__body { min-width:0; position:relative; padding-right:36px; }
.daily-mission-row__body small { display:block;color:#789c8d;font-size:.42rem;font-weight:900;letter-spacing:.08em; }
.daily-mission-row__body strong { display:block;margin:1px 0 5px;color:#eee5d1;font-size:.61rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.daily-mission-row__meter { height:5px;border-radius:99px;overflow:hidden;background:#1f2c27; }
.daily-mission-row__meter i { display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#c89632,#f0c968);transition:width .28s ease; }
.daily-mission-row.is-claimed .daily-mission-row__meter i { background:linear-gradient(90deg,#2d9872,#77d5aa); }
.daily-mission-row__body>b { position:absolute;right:0;bottom:-1px;color:#a8b9b1;font-size:.46rem; }
.daily-mission-row__reward { text-align:right; }
.daily-mission-row__reward small { display:block;color:#7e9d91;font-size:.4rem;font-weight:900; }
.daily-mission-row__reward strong { display:block;margin:1px 0 4px;color:#f2cb6d;font-size:.6rem; }
.daily-mission-row__reward button {
  min-width:100px;padding:5px 7px;border:1px solid #d7aa4d;border-radius:6px;
  background:linear-gradient(180deg,#e1b85c,#9c6e27);color:#281707;font-size:.49rem;font-weight:900;cursor:pointer;
}
.daily-mission-row__reward button:disabled { border-color:rgba(134,151,143,.24);background:rgba(25,38,33,.72);color:#70857c;cursor:default; }
.daily-mission-row.is-claimed .daily-mission-row__reward strong { color:#77c9a5; }
.daily-mission-panel__foot {
  display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 14px;
  border-top:1px solid rgba(223,181,88,.14);color:#799287;font-size:.46rem;
}
.daily-mission-panel__foot b { color:#9cb6aa;font-size:.43rem; }

@media (max-width:760px), (max-height:390px) {
  .daily-mission-modal { padding:7px; }
  .daily-mission-panel { width:min(690px,97vw);max-height:92vh;border-radius:13px; }
  .daily-mission-panel__head { min-height:60px;padding:8px 45px 7px 12px;gap:8px; }
  .daily-mission-panel__head h2 { font-size:.82rem; }
  .daily-mission-panel__head p { font-size:.44rem; }
  .daily-mission-panel__status b { font-size:.53rem; }
  .daily-mission-panel__status span { font-size:.41rem; }
  .daily-mission-close { top:8px;right:8px;width:27px;height:27px; }
  .daily-mission-list { gap:5px;padding:6px 8px;max-height:205px; }
  .daily-mission-row { grid-template-columns:31px 1fr 95px;gap:6px;min-height:48px;padding:5px 6px; }
  .daily-mission-row__icon { width:29px;height:29px;font-size:.68rem; }
  .daily-mission-row__body { padding-right:30px; }
  .daily-mission-row__body strong { font-size:.5rem;margin-bottom:4px; }
  .daily-mission-row__body small,.daily-mission-row__body>b { font-size:.36rem; }
  .daily-mission-row__reward strong { font-size:.5rem; }
  .daily-mission-row__reward button { min-width:86px;padding:4px 5px;font-size:.4rem; }
  .daily-mission-panel__foot { padding:5px 9px;font-size:.39rem; }
  .daily-mission-panel__foot b { font-size:.37rem; }
}

@media (max-width:690px) {
  .daily-mission-panel__head p { display:none; }
  .daily-mission-row { grid-template-columns:28px 1fr 82px; }
  .daily-mission-row__reward small { display:none; }
  .daily-mission-row__reward button { min-width:74px; }
  .daily-mission-panel__foot b { display:none; }
}

@media (prefers-reduced-motion:reduce) {
  .home-mission.has-reward button { animation:none; }
  .daily-mission-modal,.daily-mission-panel,.daily-mission-row__meter i { transition:none; }
}


/* =========================================================
   CASINOIR v0.18.1 — MISSION / PROFILE / BOND INTEGRATION
   ========================================================= */
.daily-mission-panel__foot>strong {
  color:#e9c96f;font-size:.44rem;letter-spacing:.02em;white-space:nowrap;
}


.home-host-zone.is-mission-reward .home-casinon { animation:missionHostReward .78s ease-out both; }
.home-host-zone.is-mission-reward .home-dialogue { animation:missionDialogueReward .78s ease-out both; }
@keyframes missionHostReward {
  0% { filter:drop-shadow(0 18px 18px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(234,190,92,.12)); }
  38% { filter:drop-shadow(0 18px 18px rgba(0,0,0,.42)) drop-shadow(0 0 30px rgba(244,207,112,.42)); }
  100% { filter:drop-shadow(0 18px 18px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(234,190,92,.12)); }
}
@keyframes missionDialogueReward {
  0%,100% { transform:translateY(0); }
  38% { transform:translateY(-3px);box-shadow:0 9px 24px rgba(0,0,0,.35),0 0 18px rgba(231,190,92,.18); }
}
@media (max-width:760px), (max-height:390px) {
  .daily-mission-panel__foot>strong { font-size:.37rem; }
}
@media (max-width:690px) {
  .daily-mission-panel__foot>strong { margin-left:auto; }
}
@media (prefers-reduced-motion:reduce) {
  .home-host-zone.is-mission-reward .home-casinon,.home-host-zone.is-mission-reward .home-dialogue { animation:none; }
}


/* =========================================================
   CASINOIR v0.19.0 — COLLECTION / COSMETIC EQUIP SYSTEM
   Owned cosmetics can be equipped without affecting odds,
   engine rules, chip value, or BOT behavior.
   ========================================================= */
.collection-item { grid-template-rows:minmax(0,1fr) auto auto auto auto; }
.collection-item.is-equipped {
  border-color:rgba(238,196,97,.72);
  box-shadow:0 9px 22px rgba(0,0,0,.28),0 0 0 1px rgba(236,191,88,.15),inset 0 0 22px rgba(213,163,55,.06);
}
.collection-item.is-equipped>span { color:#f0cb6d; }
.collection-item__action { display:flex; align-items:center; margin-top:.18rem; min-height:20px; }
.collection-item__action button {
  width:100%; min-height:22px; padding:.18rem .3rem; border:1px solid rgba(216,177,84,.26); border-radius:7px;
  background:linear-gradient(180deg,rgba(25,48,36,.9),rgba(10,28,21,.96)); color:#dfc47e;
  font-size:clamp(.22rem,.36vw,.31rem); font-weight:900; letter-spacing:.04em; cursor:pointer;
}
.collection-item__action button:disabled { cursor:default; color:#72c99b; border-color:rgba(82,188,128,.31); background:rgba(11,51,32,.72); }
.shop-item.is-equipped { border-color:rgba(238,196,97,.64); box-shadow:0 8px 20px rgba(0,0,0,.22),0 0 0 1px rgba(238,196,97,.10),inset 0 0 18px rgba(214,163,52,.05); }
.shop-item.is-equipped .shop-item__foot span.is-owned { color:#f0cb6d; }
.shop-item__foot button:disabled { cursor:default; opacity:.9; color:#78c99b; }

/* Equipped character costumes: temporary visual treatment using the existing
   approved character art. Dedicated costume art can replace this mapping later. */
#homeHostImage[data-costume="noir"],#charMainImage[data-costume="noir"],img[data-costume="noir"] {
  filter:saturate(.74) contrast(1.12) brightness(.90) drop-shadow(0 0 13px rgba(192,40,65,.25));
}
#homeHostImage[data-costume="poker"],#charMainImage[data-costume="poker"],img[data-costume="poker"] {
  filter:saturate(.92) contrast(1.08) drop-shadow(0 0 12px rgba(42,145,104,.24));
}


/* PROFILE — CASINOIR FRAME */
.profile-frame--casinoir {
  border-color:rgba(239,197,94,.82)!important;
  box-shadow:0 0 0 2px rgba(104,71,21,.82),0 0 18px rgba(231,180,62,.28),inset 0 0 16px rgba(244,208,120,.10)!important;
  background:linear-gradient(145deg,rgba(94,67,23,.56),rgba(16,26,20,.94))!important;
}
.home-avatar.profile-frame--casinoir { outline:1px solid rgba(238,194,88,.50); outline-offset:2px; }

@media (max-width:760px) and (orientation:landscape){
  .collection-item__action{margin-top:.12rem;min-height:18px}.collection-item__action button{min-height:19px;font-size:.28rem;padding:.1rem .2rem}
}
@media (max-width:690px) and (orientation:landscape){
  .collection-item__action button{font-size:.25rem;min-height:18px}.collection-item{padding-bottom:.14rem}
}

/* v0.19.0 collection capacity: 14-item catalog stays two rows and scrolls horizontally. */
.collection-grid {
  height:100%; min-height:0; grid-template-columns:none; grid-template-rows:repeat(2,minmax(0,1fr));
  grid-auto-flow:column; grid-auto-columns:calc((100% - 2.2rem)/5); overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x proximity; scrollbar-width:none; padding-bottom:1px;
}
.collection-grid::-webkit-scrollbar{display:none}
.collection-item{min-height:0;scroll-snap-align:start}
@media (max-width:760px) and (orientation:landscape){
  .collection-grid{height:100%;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-columns:calc((100% - .9rem)/4)}
}
@media (max-width:690px) and (orientation:landscape){
  .collection-grid{grid-auto-columns:calc((100% - .69rem)/4)}
}

/* =========================================================
   CASINOIR v0.19.1 — EQUIP SAFETY / LOADOUT POLISH
   Character costume controls now use the same Shop profile
   as Collection, and the six cosmetic slots can be restored
   to the catalog-safe CLASSIC loadout in one action.
   ========================================================= */
.collection-topbar__tools{margin-left:auto;display:flex;align-items:center;gap:.42rem;min-width:0}
.collection-topbar__tools .collection-count{margin-left:0}
.collection-equip-count{display:flex;align-items:baseline;gap:.18rem;padding:.4rem .62rem;border:1px solid rgba(87,191,137,.30);border-radius:999px;background:rgba(5,30,22,.58)}
.collection-equip-count span{font-size:.46rem;color:#89aa96}.collection-equip-count strong{font-size:.92rem;color:#79d19f}.collection-equip-count small{font-size:.48rem;color:#71877a}
.collection-reset{min-height:30px;padding:.34rem .62rem;border:1px solid rgba(221,181,86,.28);border-radius:9px;background:linear-gradient(180deg,rgba(45,37,20,.84),rgba(18,28,22,.92));color:#d7bf83;font-size:clamp(.36rem,.6vw,.52rem);font-weight:900;letter-spacing:.04em;cursor:pointer;white-space:nowrap}
.collection-reset:hover{border-color:rgba(237,195,91,.58);color:#f1d99d}
.collection-reset:focus-visible{outline:2px solid rgba(239,199,102,.78);outline-offset:2px}
.cosmetic-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.cosmetic-card.is-equipped{border-color:rgba(237,195,91,.72);background:linear-gradient(145deg,rgba(67,52,23,.58),rgba(8,27,20,.88));box-shadow:inset 0 0 14px rgba(227,181,73,.06),0 0 0 1px rgba(230,184,78,.09)}
.cosmetic-card.is-equipped small{color:#f0cb6d}.cosmetic-card:disabled{cursor:default}.cosmetic-card:not(:disabled):hover{border-color:rgba(232,190,88,.54)}
@media (max-width:760px) and (orientation:landscape){
  .collection-topbar__tools{gap:.24rem}.collection-equip-count,.collection-topbar__tools .collection-count{padding:.25rem .4rem}.collection-equip-count strong{font-size:.7rem}.collection-equip-count span,.collection-equip-count small{font-size:.31rem}.collection-reset{min-height:25px;padding:.22rem .38rem;font-size:.31rem;border-radius:7px}
}
@media (max-width:690px) and (orientation:landscape){
  .collection-topbar__tools{gap:.17rem}.collection-equip-count,.collection-topbar__tools .collection-count{padding:.2rem .31rem}.collection-reset{min-height:23px;padding:.18rem .3rem;font-size:.27rem}.collection-topbar h1{font-size:.88rem}
}

/* =========================================================
   CASINOIR v0.20.0 — ACHIEVEMENT / UNLOCK TRACK
   ========================================================= */
.profile-panel--achievements{padding:.48rem;display:grid;grid-template-rows:auto 1fr;gap:.42rem;overflow:hidden}
.profile-panel--achievements[hidden]{display:none!important}
.achievement-dashboard{display:grid;grid-template-columns:minmax(148px,.72fr) minmax(0,2fr);gap:.42rem;min-height:58px}
.achievement-dashboard__summary{border:1px solid rgba(224,181,82,.28);border-radius:12px;background:linear-gradient(145deg,rgba(30,39,25,.92),rgba(7,22,17,.94));padding:.42rem .55rem;display:flex;flex-direction:column;justify-content:center;min-width:0;box-shadow:inset 0 1px rgba(255,255,255,.03)}
.achievement-dashboard__summary small{font-size:clamp(.27rem,.44vw,.36rem);letter-spacing:.12em;color:#9f8b60;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.achievement-dashboard__summary strong{margin:.08rem 0;color:#f1d486;font-size:clamp(.55rem,.9vw,.76rem)}
.achievement-dashboard__summary span{font-size:clamp(.28rem,.47vw,.38rem);color:#68b992;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-unlock-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.3rem;min-width:0}
.player-unlock-card{position:relative;min-width:0;border:1px solid rgba(213,174,82,.18);border-radius:11px;background:linear-gradient(145deg,rgba(9,30,23,.82),rgba(5,17,13,.94));padding:.34rem .4rem;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:.32rem;opacity:.68;overflow:hidden}
.player-unlock-card>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;border:1px solid rgba(202,168,92,.25);background:rgba(0,0,0,.24);color:#9c8658;font-weight:900;font-size:.56rem}
.player-unlock-card div{min-width:0}.player-unlock-card small{display:block;font-size:clamp(.22rem,.36vw,.29rem);color:#7f735e;white-space:nowrap}.player-unlock-card strong{display:block;margin-top:.04rem;font-size:clamp(.32rem,.53vw,.43rem);color:#a89b80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-unlock-card>b{font-size:clamp(.22rem,.35vw,.29rem);padding:.16rem .24rem;border-radius:999px;border:1px solid rgba(189,157,83,.20);color:#7d704f;white-space:nowrap}
.player-unlock-card.is-unlocked{opacity:1;border-color:rgba(232,192,98,.48);background:linear-gradient(145deg,rgba(46,56,31,.9),rgba(8,30,20,.95));box-shadow:inset 0 0 18px rgba(222,181,72,.05)}
.player-unlock-card.is-unlocked>span{border-color:rgba(233,193,98,.62);color:#f6d980;background:radial-gradient(circle,#60491a,#1b1d12 72%)}
.player-unlock-card.is-unlocked strong{color:#f0d9a1}.player-unlock-card.is-unlocked>b{color:#72ce9c;border-color:rgba(74,190,125,.34);background:rgba(12,69,43,.36)}
.profile-panel--achievements .achievement-grid{min-height:0;overflow:auto;align-content:start;padding-right:2px;grid-template-columns:repeat(4,minmax(0,1fr));gap:.28rem}
.profile-panel--achievements .achievement-card{min-height:68px;padding:.3rem;grid-template-columns:30px 1fr;gap:.3rem;border-radius:10px}
.profile-panel--achievements .achievement-card>span{width:28px;height:28px;font-size:.42rem}
.profile-panel--achievements .achievement-card div>em{display:block;font-style:normal;font-size:clamp(.18rem,.3vw,.25rem);letter-spacing:.08em;color:#8b744c;white-space:nowrap}
.profile-panel--achievements .achievement-card strong{font-size:clamp(.32rem,.52vw,.43rem);margin-top:.02rem}
.profile-panel--achievements .achievement-card p{font-size:clamp(.22rem,.36vw,.29rem)}
.profile-panel--achievements .achievement-card small{font-size:clamp(.2rem,.33vw,.27rem)}
.profile-panel--achievements .achievement-card div>i{display:block;height:3px;margin-top:.14rem;border-radius:999px;background:rgba(255,255,255,.055);overflow:hidden}
.profile-panel--achievements .achievement-card div>i>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8d6a28,#d6ae50);box-shadow:0 0 7px rgba(222,179,73,.16)}
.profile-panel--achievements .achievement-card.is-unlocked div>em{color:#c89f48}
.profile-panel--achievements .achievement-card.is-unlocked div>i>b{background:linear-gradient(90deg,#3c9d6d,#74d2a0)}

/* Level-locked Collection items are progression rewards, not Shop products. */
.collection-item.is-level-locked::after{content:"LEVEL";border-color:rgba(91,159,133,.34);color:#77bca0;background:rgba(5,35,27,.62)}
.collection-item.is-level-locked>span{color:#7ba994}
.collection-item.is-level-locked .collection-item__action button:disabled{color:#88b7a3;border-color:rgba(83,151,126,.28);background:rgba(7,43,33,.62)}

/* v0.20.0 level unlock cosmetics */
.live-game[data-cardback="midnight"] .playing-card--back{
  background:radial-gradient(circle at 50% 42%,rgba(93,120,174,.20),transparent 30%),linear-gradient(135deg,rgba(111,139,194,.11) 0 1px,transparent 1px 6px),linear-gradient(145deg,#07101f,#10192c 68%,#050913);
  border-color:rgba(123,151,205,.72);box-shadow:inset 0 0 0 2px rgba(120,145,199,.08),0 5px 13px rgba(0,0,0,.44),0 0 9px rgba(80,112,178,.14)
}
.live-game[data-cardback="midnight"] .playing-card--back i{border-color:rgba(139,164,215,.46)}
.live-game[data-chip-skin="emerald-edge"] .chip-stack i{border-color:rgba(17,108,72,.82);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 0 1px rgba(43,177,119,.22),0 2px 3px rgba(0,0,0,.32)}
.live-game[data-chip-skin="emerald-edge"] .chip-stack i::after{border-color:rgba(130,229,184,.78)}
.live-table[data-table-skin="royal-noir"]{border-color:#342b20;background:radial-gradient(ellipse at 50% 36%,rgba(226,194,116,.10),transparent 29%),radial-gradient(ellipse at 50% 54%,#163f35 0%,#0b2c28 48%,#061a1a 100%);box-shadow:0 28px 62px rgba(0,0,0,.62),0 0 0 2px rgba(196,162,87,.72),0 0 0 6px rgba(27,23,18,.96),0 0 38px rgba(183,145,66,.16),inset 0 0 95px rgba(0,0,0,.28)}
.live-table[data-table-skin="royal-noir"] .live-table__brand{color:rgba(223,194,126,.48);text-shadow:0 0 12px rgba(175,139,60,.14)}
.profile-frame--silver-line{border-color:rgba(191,207,214,.78)!important;box-shadow:0 0 0 2px rgba(61,78,82,.78),0 0 15px rgba(177,205,213,.18),inset 0 0 15px rgba(220,236,239,.08)!important;background:linear-gradient(145deg,rgba(74,91,94,.46),rgba(14,27,24,.94))!important}
.home-avatar.profile-frame--silver-line{outline:1px solid rgba(191,207,214,.42);outline-offset:2px}

/* Collection art hints for level rewards */
.collection-item[data-collection-id="profile-silver-line"] .collection-art--frame b{border-color:rgba(190,209,216,.68);background:radial-gradient(circle,#415357,#101b1a 72%);color:#d8e6e9}
.collection-item[data-collection-id="cardback-midnight"] .collection-art--cardback b{border-color:rgba(125,154,207,.65);background:radial-gradient(circle,#263d69,#0b1224 70%);color:#aec5ed}
.collection-item[data-collection-id="chip-emerald-edge"] .collection-art--chip b{background:radial-gradient(circle,#11704b 0 37%,#b9d9c4 39% 46%,#10231c 48% 64%,#159367 66%)}
.collection-item[data-collection-id="table-royal-noir"] .collection-art--felt b{border-color:rgba(202,169,92,.60);background:radial-gradient(circle,#184c40,#071c1a 68%);color:#d9ba70}

@media (max-width:760px) and (orientation:landscape){
  .profile-panel--achievements{padding:.3rem;gap:.28rem}.achievement-dashboard{grid-template-columns:31% 69%;gap:.28rem;min-height:48px}.achievement-dashboard__summary{padding:.28rem .34rem;border-radius:9px}.achievement-dashboard__summary small{font-size:.2rem}.achievement-dashboard__summary strong{font-size:.46rem}.achievement-dashboard__summary span{font-size:.23rem}
  .player-unlock-track{gap:.2rem}.player-unlock-card{grid-template-columns:22px minmax(0,1fr);gap:.22rem;padding:.2rem .24rem;border-radius:8px}.player-unlock-card>span{width:20px;height:20px;border-radius:7px;font-size:.38rem}.player-unlock-card>b{position:absolute;right:.18rem;top:.16rem;font-size:.16rem;padding:.07rem .13rem}.player-unlock-card small{font-size:.16rem}.player-unlock-card strong{font-size:.24rem;padding-right:1.45rem}
  .profile-panel--achievements .achievement-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.2rem}.profile-panel--achievements .achievement-card{min-height:54px;padding:.21rem;grid-template-columns:24px 1fr;gap:.21rem}.profile-panel--achievements .achievement-card>span{width:23px;height:23px;font-size:.34rem}.profile-panel--achievements .achievement-card div>em{font-size:.14rem}.profile-panel--achievements .achievement-card strong{font-size:.25rem}.profile-panel--achievements .achievement-card p{font-size:.17rem}.profile-panel--achievements .achievement-card small{font-size:.16rem}.profile-panel--achievements .achievement-card div>i{margin-top:.08rem;height:2px}
}
@media (max-width:690px) and (orientation:landscape){
  .achievement-dashboard{grid-template-columns:29% 71%}.achievement-dashboard__summary span{font-size:.19rem}.player-unlock-card strong{font-size:.22rem}.profile-panel--achievements .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-panel--achievements .achievement-card{min-height:54px}.profile-panel--achievements .achievement-card p{display:none}
}

/* v0.20.1 — Achievement / Level / Collection unlock reveal */

/* v0.21.0 — POKER STATISTICS / CAREER RECORD */
.profile-tabs{grid-template-columns:repeat(4,1fr)}
.profile-panel--career{padding:.48rem;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:.36rem;overflow:hidden}
.profile-panel--career[hidden]{display:none!important}
.career-overview{display:grid;grid-template-columns:1.55fr 1fr;gap:.36rem;min-height:58px}
.career-net-card,.career-coverage-card{min-width:0;border:1px solid rgba(226,183,84,.24);border-radius:12px;background:linear-gradient(145deg,rgba(18,47,35,.86),rgba(6,20,15,.95));padding:.38rem .48rem;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;align-items:end;overflow:hidden;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.career-net-card{background:radial-gradient(circle at 12% 30%,rgba(202,157,57,.16),transparent 45%),linear-gradient(145deg,rgba(42,48,27,.9),rgba(8,25,17,.96))}
.career-net-card small,.career-coverage-card small{grid-column:1/-1;color:#9e8451;font-size:clamp(.2rem,.34vw,.28rem);letter-spacing:.11em;white-space:nowrap}
.career-net-card strong{color:#f3d88c;font-size:clamp(.72rem,1.2vw,1rem);line-height:1;white-space:nowrap}.career-net-card span{color:#72c89a;font-size:clamp(.3rem,.5vw,.4rem);font-weight:800;white-space:nowrap}
.career-coverage-card strong{color:#e6d5aa;font-size:clamp(.44rem,.72vw,.6rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.career-coverage-card span{color:#7baf97;font-size:clamp(.28rem,.45vw,.37rem);font-weight:800;white-space:nowrap}
.career-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.3rem}
.career-stat-grid article{min-width:0;border:1px solid rgba(215,176,86,.18);border-radius:10px;background:linear-gradient(145deg,rgba(10,34,25,.8),rgba(5,18,14,.92));padding:.3rem .36rem;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.career-stat-grid small{color:#9b855d;font-size:clamp(.2rem,.34vw,.28rem);letter-spacing:.08em}.career-stat-grid strong{margin:.05rem 0;color:#f0daa1;font-size:clamp(.48rem,.78vw,.66rem);white-space:nowrap}.career-stat-grid span{color:#5e8e7a;font-size:clamp(.16rem,.26vw,.21rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.career-record-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.3rem}
.career-record-grid article{border:1px solid rgba(212,174,82,.16);border-radius:9px;background:rgba(4,20,15,.68);padding:.28rem .36rem;display:flex;flex-direction:column;justify-content:center}.career-record-grid small{color:#756a55;font-size:clamp(.18rem,.3vw,.24rem);letter-spacing:.06em}.career-record-grid strong{margin-top:.04rem;color:#cfc19c;font-size:clamp(.34rem,.56vw,.46rem)}.career-best-hand strong{color:#e3c772}
.career-position-panel{min-height:0;border:1px solid rgba(214,175,83,.16);border-radius:11px;background:linear-gradient(180deg,rgba(7,27,20,.74),rgba(4,15,12,.9));padding:.3rem .34rem;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.24rem;overflow:hidden}
.career-position-panel>header{display:flex;align-items:baseline;justify-content:space-between;gap:.4rem}.career-position-panel>header small{color:#a0844f;font-size:clamp(.18rem,.3vw,.24rem);letter-spacing:.1em}.career-position-panel>header strong{color:#9f9278;font-size:clamp(.26rem,.43vw,.35rem);font-weight:800}
.career-position-grid{min-height:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(92px,1fr);gap:.26rem;overflow-x:auto;overflow-y:hidden;padding-bottom:2px;scrollbar-width:thin}
.career-position-grid article{min-width:0;border:1px solid rgba(199,164,82,.16);border-radius:9px;background:rgba(3,16,12,.64);padding:.24rem .3rem;display:grid;grid-template-columns:1fr auto;align-content:center;gap:.03rem .2rem}.career-position-grid small{color:#c6a75f;font-size:clamp(.2rem,.34vw,.28rem);font-weight:900}.career-position-grid strong{grid-column:1/-1;color:#d8caac;font-size:clamp(.32rem,.52vw,.43rem);white-space:nowrap}.career-position-grid strong.is-positive{color:#75d0a0}.career-position-grid strong.is-negative{color:#ee7d84}.career-position-grid span{color:#6f887c;font-size:clamp(.16rem,.26vw,.21rem);white-space:nowrap}.career-position-grid em{color:#756c5c;font-size:clamp(.16rem,.25vw,.2rem);font-style:normal;white-space:nowrap;text-align:right}.career-empty{margin:auto;color:#746c5d;font-size:clamp(.22rem,.36vw,.3rem);white-space:nowrap}

@media (max-width:760px), (max-height:390px){
  .profile-panel--career{padding:.3rem;gap:.24rem}.career-overview{gap:.24rem;min-height:44px}.career-net-card,.career-coverage-card{border-radius:8px;padding:.24rem .3rem}.career-net-card small,.career-coverage-card small{font-size:.17rem}.career-net-card strong{font-size:.56rem}.career-net-card span{font-size:.24rem}.career-coverage-card strong{font-size:.34rem}.career-coverage-card span{font-size:.22rem}
  .career-stat-grid,.career-record-grid{gap:.2rem}.career-stat-grid article{border-radius:7px;padding:.2rem .24rem}.career-stat-grid small{font-size:.16rem}.career-stat-grid strong{font-size:.38rem}.career-stat-grid span{font-size:.13rem}.career-record-grid article{border-radius:7px;padding:.18rem .22rem}.career-record-grid small{font-size:.14rem}.career-record-grid strong{font-size:.28rem}
  .career-position-panel{border-radius:8px;padding:.2rem .24rem;gap:.16rem}.career-position-panel>header small{font-size:.14rem}.career-position-panel>header strong{font-size:.2rem}.career-position-grid{grid-auto-columns:minmax(77px,1fr);gap:.18rem}.career-position-grid article{border-radius:7px;padding:.16rem .2rem}.career-position-grid small{font-size:.16rem}.career-position-grid strong{font-size:.25rem}.career-position-grid span,.career-position-grid em{font-size:.12rem}
}
@media (max-width:690px){
  .profile-tabs button{font-size:.35rem}.career-overview{grid-template-columns:1.35fr 1fr}.career-stat-grid{grid-template-columns:repeat(3,1fr)}.career-stat-grid article{min-height:28px}.career-stat-grid span{display:none}.career-record-grid{grid-template-columns:repeat(5,minmax(68px,1fr));overflow-x:auto}.career-position-panel>header strong{display:none}.career-position-grid{grid-auto-columns:74px}
}

/* =========================================================
   CASINOIR v0.22.0 — QUICK SIT & GO / TOURNAMENT MODE
   ========================================================= */
.poker-mode-tabs {
  display:flex; align-items:center; gap:4px; padding:3px;
  border:1px solid rgba(218,188,126,.24); border-radius:999px;
  background:rgba(255,255,255,.025);
}
.poker-mode-tabs button {
  min-height:26px; padding:0 12px; border:0; border-radius:999px;
  background:transparent; color:rgba(239,232,219,.48);
  font-size:clamp(6px,.66vw,9px); letter-spacing:.13em; cursor:pointer;
}
.poker-mode-tabs button.is-active {
  color:#f4e8cf; background:linear-gradient(180deg,rgba(207,167,86,.24),rgba(139,97,37,.13));
  box-shadow:inset 0 0 0 1px rgba(224,190,119,.24);
}
.poker-mode-shell { min-width:0; min-height:0; height:100%; }
.poker-mode-panel[hidden] { display:none !important; }
.poker-mode-shell > .cash-table-list { height:100%; }
.tournament-room-panel {
  height:100%; min-width:0; min-height:0; display:grid;
  grid-template-columns:minmax(0,1.8fr) minmax(118px,.72fr); gap:clamp(8px,1vw,14px);
}
.tournament-hero-card, .tournament-levels {
  min-width:0; border:1px solid rgba(220,184,106,.19); border-radius:20px;
  background:radial-gradient(circle at 54% 0%,rgba(207,169,89,.10),transparent 35%),linear-gradient(180deg,rgba(20,24,29,.98),rgba(8,11,15,.99));
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 20px 44px rgba(0,0,0,.18);
}
.tournament-hero-card { position:relative; overflow:hidden; display:grid; grid-template-rows:auto auto auto auto; align-content:center; padding:clamp(12px,1.5vw,20px); }
.tournament-hero-copy { position:relative; z-index:1; text-align:center; }
.tournament-hero-copy small { color:#c1a765; font-size:clamp(6px,.65vw,8px); letter-spacing:.18em; }
.tournament-hero-copy h3 { margin:3px 0 4px; font-family:Georgia,'Times New Roman',serif; font-size:clamp(21px,3.1vw,42px); font-weight:400; letter-spacing:.02em; }
.tournament-hero-copy p { max-width:560px; margin:0 auto; color:rgba(239,233,222,.54); font-size:clamp(7px,.75vw,10px); line-height:1.45; }
.tournament-hero-stats { position:relative; z-index:1; display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin:clamp(8px,1.2vh,12px) 0 7px; }
.tournament-hero-stats span, .tournament-record span { padding:7px 5px; border:1px solid rgba(255,255,255,.065); border-radius:10px; text-align:center; background:rgba(255,255,255,.018); }
.tournament-hero-stats small, .tournament-record small { display:block; color:rgba(239,233,222,.38); font-size:5.5px; letter-spacing:.14em; }
.tournament-hero-stats b { display:block; margin-top:2px; color:#e8dcc3; font-size:clamp(10px,1.2vw,15px); font-weight:500; }
.tournament-record { position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-bottom:8px; }
.tournament-record span { padding:5px; }
.tournament-record b { display:block; margin-top:2px; color:#c9d9c0; font-size:clamp(9px,1vw,13px); font-weight:500; }
.tournament-enter { position:relative; z-index:1; min-height:34px; border:1px solid rgba(226,190,113,.39); border-radius:11px; background:linear-gradient(180deg,rgba(201,157,72,.20),rgba(131,90,34,.11)); color:#f1e6d2; font-size:clamp(7px,.75vw,10px); letter-spacing:.13em; cursor:pointer; }
.tournament-enter i { margin-left:8px; color:#d9b86e; font-style:normal; }
.tournament-levels { padding:clamp(10px,1.2vw,16px); align-self:stretch; display:flex; flex-direction:column; justify-content:center; }
.tournament-levels header small { display:block; color:#bca36b; font-size:6px; letter-spacing:.16em; }
.tournament-levels header strong { display:block; margin-top:3px; font-size:clamp(10px,1vw,13px); font-weight:500; }
.tournament-levels ol { list-style:none; padding:0; margin:9px 0 7px; border-top:1px solid rgba(255,255,255,.06); }
.tournament-levels li { display:flex; justify-content:space-between; gap:8px; padding:5px 1px; border-bottom:1px solid rgba(255,255,255,.055); color:rgba(239,233,222,.55); font-size:clamp(6px,.65vw,8px); }
.tournament-levels li b { color:#d7c395; font-weight:500; }
.tournament-levels p { margin:0; color:rgba(239,233,222,.35); font-size:5.8px; line-height:1.45; }

.tournament-entry-panel { width:min(650px,88vw); }
.tournament-entry-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin:9px 0; }
.tournament-entry-grid span { padding:10px 6px; border:1px solid rgba(255,255,255,.07); border-radius:11px; background:rgba(255,255,255,.02); text-align:center; }
.tournament-entry-grid small { display:block; color:rgba(239,233,222,.38); font-size:6px; letter-spacing:.11em; }
.tournament-entry-grid strong { display:block; margin-top:4px; color:#e6dac1; font-size:clamp(10px,1.25vw,15px); font-weight:500; }
.tournament-entry-rules { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin:8px 0 11px; }
.tournament-entry-rules p { margin:0; padding:7px; border-left:2px solid rgba(203,165,84,.28); background:rgba(255,255,255,.016); color:rgba(239,233,222,.48); font-size:6.5px; line-height:1.45; }
.tournament-entry-rules b { color:#d5bf8e; font-weight:500; }
.tournament-start { width:100%; }

.tournament-summary-panel { width:min(520px,84vw); text-align:center; }
.tournament-rank { margin:8px 0; padding:10px; border-top:1px solid rgba(255,255,255,.07); border-bottom:1px solid rgba(255,255,255,.07); }
.tournament-rank small { display:block; color:#baa46f; font-size:6px; letter-spacing:.16em; }
.tournament-rank strong { display:block; margin-top:3px; font-family:Georgia,serif; font-size:clamp(32px,5vw,54px); font-weight:400; color:#f0e2c4; }
.tournament-summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin:10px 0 12px; }
.tournament-summary-grid span { padding:8px 5px; border:1px solid rgba(255,255,255,.065); border-radius:10px; background:rgba(255,255,255,.018); }
.tournament-summary-grid small { display:block; color:rgba(239,233,222,.38); font-size:6px; letter-spacing:.12em; }
.tournament-summary-grid b { display:block; margin-top:3px; font-size:clamp(11px,1.3vw,16px); font-weight:500; }
.tournament-summary-panel .flow-primary { min-width:230px; }

.screen--table[data-game-mode="tournament"] .session-net { border-color:rgba(214,176,98,.27); background:rgba(190,143,57,.08); }
.screen--table[data-game-mode="tournament"] .session-net b { color:#ead7aa; }
.screen--table[data-game-mode="tournament"] .table-header__title h2 { color:#eadbb9; }
.screen--table[data-game-mode="tournament"] .session-toolbar { border-color:rgba(209,171,92,.15); }

@media (max-width:760px), (max-height:390px) {
  .poker-mode-tabs button { min-height:23px; padding:0 8px; font-size:6px; }
  .tournament-room-panel { grid-template-columns:minmax(0,1.9fr) minmax(98px,.66fr); gap:6px; }
  .tournament-hero-card, .tournament-levels { border-radius:14px; }
  .tournament-hero-card { padding:8px; }
  .tournament-hero-copy h3 { font-size:clamp(18px,3.5vw,27px); }
  .tournament-hero-copy p { font-size:6px; }
  .tournament-hero-stats { margin:5px 0; gap:4px; }
  .tournament-hero-stats span { padding:4px 2px; border-radius:7px; }
  .tournament-record { gap:4px; margin-bottom:5px; }
  .tournament-record span { padding:3px; border-radius:7px; }
  .tournament-enter { min-height:28px; }
  .tournament-levels { padding:7px; }
  .tournament-levels ol { margin:5px 0; }
  .tournament-levels li { padding:3px 0; font-size:5.8px; }
  .tournament-levels p { display:none; }
  .tournament-entry-panel { width:min(650px,94vw); padding:10px 13px; }
  .tournament-entry-grid { gap:5px; margin:5px 0; }
  .tournament-entry-grid span { padding:5px 3px; }
  .tournament-entry-rules { gap:5px; margin:5px 0 7px; }
  .tournament-entry-rules p { padding:5px; font-size:5.8px; }
  .tournament-summary-panel { width:min(500px,90vw); }
  .tournament-rank { margin:5px 0; padding:5px; }
  .tournament-summary-grid { margin:5px 0 7px; }
}

@media (max-width:680px) {
  .poker-room-header { gap:7px; }
  .poker-mode-tabs { gap:2px; padding:2px; }
  .poker-mode-tabs button { padding:0 6px; }
  .tournament-room-panel { grid-template-columns:minmax(0,1fr) 82px; }
  .tournament-hero-copy p { display:none; }
  .tournament-levels header strong { font-size:8px; }
  .tournament-levels li:nth-child(n+5) { display:none; }
  .tournament-entry-rules p:nth-child(2) { display:none; }
  .tournament-entry-rules { grid-template-columns:repeat(2,1fr); }
}

/* =========================================================
   CASINOIR v0.22.1 — TOURNAMENT POLISH / RESULT FLOW
   ========================================================= */
.tournament-record { grid-template-columns:repeat(4,1fr); }
.tournament-moment {
  position:absolute; inset:0; z-index:86; display:grid; place-items:center;
  pointer-events:none; background:radial-gradient(circle at 50% 44%,rgba(1,4,7,.12),rgba(1,3,6,.01) 45%,transparent 70%);
}
.tournament-moment[hidden] { display:none !important; }
.tournament-moment__card {
  min-width:min(330px,62vw); max-width:72vw; padding:12px 26px 11px; text-align:center;
  border:1px solid rgba(224,189,115,.28); border-radius:16px;
  background:linear-gradient(180deg,rgba(17,21,27,.96),rgba(6,9,13,.95));
  box-shadow:0 24px 70px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.04);
  opacity:0; transform:translateY(7px) scale(.965); transition:opacity .18s ease,transform .22s ease;
}
.tournament-moment.is-visible .tournament-moment__card { opacity:1; transform:translateY(0) scale(1); }
.tournament-moment__card small { display:block; color:#bda15f; font-size:6px; letter-spacing:.22em; }
.tournament-moment__card strong { display:block; margin:3px 0 1px; font-family:Georgia,'Times New Roman',serif; color:#f2e4c7; font-size:clamp(25px,4vw,44px); font-weight:400; letter-spacing:.04em; }
.tournament-moment__card p { margin:0; color:rgba(239,233,222,.68); font-size:clamp(7px,.8vw,10px); }
.tournament-moment__card span { display:inline-block; margin-top:6px; padding:3px 9px; border:1px solid rgba(255,255,255,.08); border-radius:999px; color:#d6c69e; font-size:6px; letter-spacing:.14em; }
.tournament-moment[data-kind="elimination"] .tournament-moment__card,
.tournament-moment[data-kind="hero-out"] .tournament-moment__card { border-color:rgba(190,96,86,.28); }
.tournament-moment[data-kind="hero-out"] .tournament-moment__card strong { color:#e8b6ad; }
.tournament-moment[data-kind="heads-up"] .tournament-moment__card,
.tournament-moment[data-kind="champion"] .tournament-moment__card { border-color:rgba(224,189,115,.48); box-shadow:0 24px 76px rgba(0,0,0,.5),0 0 42px rgba(205,159,67,.10); }
.screen--table[data-game-mode="tournament"] .live-seat.is-tournament-out { opacity:.28; filter:saturate(.15); }
.screen--table[data-game-mode="tournament"] .live-seat.is-tournament-out::after {
  content:'OUT'; position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); z-index:12;
  padding:2px 7px; border:1px solid rgba(211,119,105,.34); border-radius:999px; background:rgba(35,8,8,.78);
  color:#e1aaa1; font-size:6px; letter-spacing:.16em; pointer-events:none;
}
.tournament-summary-grid { grid-template-columns:repeat(4,1fr); }
.tournament-summary-record { margin:0 0 10px; color:rgba(239,233,222,.46); font-size:6px; letter-spacing:.08em; }
@media (max-width:760px), (max-height:390px) {
  .tournament-moment__card { min-width:min(290px,64vw); padding:8px 18px 7px; border-radius:12px; }
  .tournament-moment__card strong { font-size:clamp(21px,4vw,31px); }
  .tournament-moment__card span { margin-top:4px; }
  .tournament-summary-record { margin-bottom:6px; font-size:5.5px; }
}
@media (max-width:680px) {
  .tournament-record span { padding:3px 1px; }
  .tournament-moment__card { min-width:min(270px,68vw); max-width:76vw; }
  .tournament-summary-grid span { padding:5px 2px; }
}
@media (prefers-reduced-motion:reduce) {
  .tournament-moment__card { transition:none !important; }
}

/* ========================================================================== */
/* CASINOIR v0.23.0 — POKER CHALLENGE / SCENARIO MODE                       */
/* ========================================================================== */

.challenge-room-panel {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(214,184,116,.19);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(30,114,92,.15), transparent 34%),
    linear-gradient(145deg, rgba(9,13,18,.94), rgba(15,18,22,.86));
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 18px 40px rgba(0,0,0,.18);
  overflow: hidden;
}
.challenge-room-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; min-width:0; }
.challenge-room-head > div:first-child { min-width:0; }
.challenge-room-head small { display:block; color:#ba9f63; font-size:7px; letter-spacing:.16em; }
.challenge-room-head h3 { margin:2px 0 3px; font-size:clamp(15px,1.65vw,22px); letter-spacing:.04em; line-height:1; }
.challenge-room-head p { margin:0; max-width:470px; color:rgba(238,233,224,.56); font-size:7px; line-height:1.45; }
.challenge-record { display:grid; grid-template-columns:repeat(4, minmax(58px,1fr)); gap:4px; flex:0 0 min(40%,310px); }
.challenge-record span { padding:5px 7px; border:1px solid rgba(255,255,255,.07); border-radius:8px; background:rgba(255,255,255,.025); text-align:center; }
.challenge-record small { color:rgba(238,233,224,.38); font-size:5px; letter-spacing:.13em; }
.challenge-record b { display:block; margin-top:1px; color:#e8dcc0; font-size:9px; }
.challenge-list { min-height:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:6px; }
.challenge-tile { min-width:0; min-height:0; border:1px solid rgba(255,255,255,.075); border-radius:10px; background:linear-gradient(150deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); overflow:hidden; }
.challenge-tile.is-cleared { border-color:rgba(80,184,141,.27); background:linear-gradient(150deg,rgba(45,135,105,.10),rgba(255,255,255,.012)); }
.challenge-tile button { width:100%; height:100%; min-height:0; position:relative; display:grid; grid-template-columns:auto auto minmax(0,1fr); grid-template-rows:1fr auto; align-items:center; gap:0 7px; padding:8px 9px; border:0; color:#eee9df; background:none; text-align:left; cursor:pointer; }
.challenge-tile button:hover { background:rgba(255,255,255,.035); }
.challenge-tile__no { align-self:start; color:rgba(238,233,224,.27); font-size:6px; letter-spacing:.08em; }
.challenge-tile__icon { grid-row:1 / span 2; align-self:center; display:grid; place-items:center; width:42px; height:42px; border:1px solid rgba(213,182,109,.18); border-radius:8px; background:radial-gradient(circle at 40% 25%,rgba(255,255,255,.08),rgba(0,0,0,.16)); color:#f0dfb7; font-family:Georgia,serif; font-size:11px; letter-spacing:-.08em; }
.challenge-tile__copy { min-width:0; align-self:center; }
.challenge-tile__copy small { display:block; color:#9e8655; font-size:5px; letter-spacing:.1em; }
.challenge-tile__copy strong { display:block; margin:2px 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:9px; letter-spacing:.03em; }
.challenge-tile__copy em { color:rgba(238,233,224,.45); font-style:normal; font-size:6px; }
.challenge-tile.is-cleared .challenge-tile__copy em { color:#76c8a6; }
.challenge-stars { grid-column:3; display:flex; align-items:center; gap:1px; }
.challenge-stars i { color:rgba(255,255,255,.12); font-style:normal; font-size:7px; }
.challenge-stars i.is-on { color:#d9b85f; text-shadow:0 0 8px rgba(217,184,95,.35); }
.challenge-room-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; color:rgba(238,233,224,.38); font-size:6px; }
.challenge-room-foot span { color:#b99e63; }
.challenge-room-foot b { font-weight:500; }

.challenge-scenario-modal[hidden] { display:none !important; }
.challenge-scenario-modal { position:fixed; inset:0; z-index:180; display:grid; place-items:center; padding:8px; background:rgba(2,4,7,.78); backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); }
.challenge-scenario-panel { position:relative; width:min(790px,96vw); height:min(350px,93vh); display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:7px; padding:10px 12px 8px; overflow:hidden; border:1px solid rgba(216,183,109,.28); border-radius:15px; background:linear-gradient(145deg,#10161a 0%,#0d1116 55%,#15130f 100%); box-shadow:0 22px 65px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.04); }
.challenge-scenario-close { position:absolute; top:8px; right:9px; z-index:3; width:26px; height:26px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.1); border-radius:50%; color:rgba(238,233,224,.7); background:rgba(0,0,0,.26); font-size:14px; cursor:pointer; }
.challenge-scenario-head { display:flex; align-items:flex-start; justify-content:space-between; padding-right:35px; }
.challenge-scenario-head small { display:block; color:#ba9f63; font-size:6px; letter-spacing:.17em; }
.challenge-scenario-head h2 { margin:2px 0 0; font-size:16px; letter-spacing:.04em; }
.challenge-scenario-head > span { align-self:center; padding:4px 8px; border:1px solid rgba(216,183,109,.18); border-radius:999px; color:#cdb475; font-size:6px; letter-spacing:.12em; }
.challenge-scenario-body { min-height:0; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:8px; }
.challenge-scenario-table { min-width:0; min-height:0; position:relative; display:grid; grid-template-rows:auto 1fr auto; align-items:center; padding:8px 12px; border:1px solid rgba(255,255,255,.07); border-radius:12px; background:radial-gradient(ellipse at center,rgba(16,88,69,.43),rgba(7,43,34,.72) 57%,rgba(5,16,16,.88)); overflow:hidden; }
.challenge-scenario-table::before { content:""; position:absolute; inset:13% 8%; border:1px solid rgba(215,188,125,.16); border-radius:50%; pointer-events:none; }
.challenge-scenario-villain { position:relative; z-index:1; justify-self:center; text-align:center; }
.challenge-scenario-villain small,.challenge-hero > small { display:block; color:rgba(240,235,223,.38); font-size:5px; letter-spacing:.13em; }
.challenge-scenario-villain strong { display:block; margin-top:2px; font-size:7px; letter-spacing:.04em; }
.challenge-board { position:relative; z-index:1; display:flex; justify-content:center; align-items:center; gap:3px; min-height:47px; }
.challenge-board-empty { color:rgba(238,233,224,.2); font-size:8px; letter-spacing:.25em; }
.challenge-card { width:30px; height:42px; display:grid; grid-template-rows:auto 1fr; padding:3px; border-radius:5px; color:#17181a; background:linear-gradient(145deg,#fff,#dfddd6); box-shadow:0 3px 9px rgba(0,0,0,.22); font-family:Georgia,serif; }
.challenge-card.is-compact { width:26px; height:36px; }
.challenge-card.is-red { color:#9d262e; }
.challenge-card b { font-size:10px; line-height:1; }
.challenge-card i { align-self:end; justify-self:end; font-style:normal; font-size:13px; line-height:1; }
.challenge-card.is-compact b { font-size:8px; }
.challenge-card.is-compact i { font-size:11px; }
.challenge-hero { position:relative; z-index:1; justify-self:center; text-align:center; }
.challenge-hero-cards { display:flex; justify-content:center; gap:3px; margin-top:2px; }
.challenge-scenario-hud { position:absolute; z-index:2; left:8px; bottom:8px; display:grid; grid-template-columns:repeat(2,auto); gap:3px; }
.challenge-scenario-hud span { min-width:55px; padding:3px 5px; border:1px solid rgba(255,255,255,.06); border-radius:5px; background:rgba(1,7,7,.52); }
.challenge-scenario-hud small { display:block; color:rgba(238,233,224,.28); font-size:4px; letter-spacing:.08em; }
.challenge-scenario-hud b { display:block; margin-top:1px; color:#ddd2ba; font-size:6px; }
.challenge-decision { min-height:0; display:flex; flex-direction:column; gap:6px; }
.challenge-decision > p { margin:0; min-height:30px; color:#e9e3d7; font-size:9px; line-height:1.45; }
.challenge-options { display:grid; grid-template-columns:1fr; gap:4px; }
.challenge-options button { min-height:31px; display:flex; align-items:center; justify-content:space-between; padding:0 9px; border:1px solid rgba(255,255,255,.08); border-radius:7px; color:#e9e4d9; background:rgba(255,255,255,.025); font-size:8px; letter-spacing:.03em; cursor:pointer; transition:.18s ease; }
.challenge-options button:hover:not(:disabled) { border-color:rgba(206,174,100,.3); background:rgba(206,174,100,.07); }
.challenge-options button.is-wrong { border-color:rgba(191,75,75,.38); color:#dba1a1; background:rgba(136,42,42,.10); opacity:.7; }
.challenge-options button.is-correct { border-color:rgba(72,181,132,.45); color:#a6ddc2; background:rgba(45,130,94,.14); }
.challenge-options button:disabled { cursor:default; }
.challenge-feedback { min-height:0; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:7px 8px; border:1px solid rgba(255,255,255,.07); border-radius:8px; background:rgba(255,255,255,.025); }
.challenge-feedback.is-correct { border-color:rgba(72,181,132,.27); background:rgba(45,130,94,.08); }
.challenge-feedback.is-wrong { border-color:rgba(191,75,75,.22); background:rgba(136,42,42,.06); }
.challenge-feedback small { color:#a98f58; font-size:5px; letter-spacing:.12em; }
.challenge-feedback strong { display:block; margin:1px 0 2px; font-size:8px; }
.challenge-feedback p { margin:0; color:rgba(238,233,224,.53); font-size:6px; line-height:1.4; }
.challenge-feedback aside { min-width:75px; align-self:center; text-align:right; }
.challenge-feedback aside b { display:block; margin-top:2px; color:#d7bb78; font-size:6px; white-space:nowrap; }
.challenge-result-actions { margin-top:auto; display:flex; justify-content:flex-end; gap:5px; }
.challenge-result-actions button { min-height:26px; padding:0 9px; border:1px solid rgba(255,255,255,.1); border-radius:7px; color:#eae4d8; background:rgba(255,255,255,.035); font-size:6px; cursor:pointer; }
.challenge-result-actions button:last-child { border-color:rgba(212,180,104,.27); color:#dec27f; }
.challenge-scenario-foot { color:rgba(238,233,224,.32); font-size:5px; line-height:1.3; text-align:center; }

@media (max-width:760px), (max-height:390px) {
  .poker-mode-tabs button { padding:0 5px; font-size:5.5px; }
  .challenge-room-panel { gap:5px; padding:6px; border-radius:10px; }
  .challenge-room-head { gap:6px; }
  .challenge-room-head p { display:none; }
  .challenge-room-head h3 { font-size:13px; }
  .challenge-record { flex-basis:46%; grid-template-columns:repeat(4,minmax(42px,1fr)); gap:2px; }
  .challenge-record span { padding:3px 4px; }
  .challenge-record small { font-size:4px; }
  .challenge-record b { font-size:7px; }
  .challenge-list { gap:4px; }
  .challenge-tile button { padding:5px 6px; gap:0 4px; }
  .challenge-tile__icon { width:32px; height:32px; font-size:9px; }
  .challenge-tile__copy small { font-size:4px; }
  .challenge-tile__copy strong { font-size:7px; }
  .challenge-tile__copy em { font-size:5px; }
  .challenge-stars i { font-size:6px; }
  .challenge-room-foot { font-size:5px; }
  .challenge-scenario-panel { width:min(760px,98vw); height:min(344px,96vh); padding:7px 9px 6px; gap:5px; border-radius:11px; }
  .challenge-scenario-head h2 { font-size:13px; }
  .challenge-scenario-body { gap:6px; }
  .challenge-scenario-table { padding:6px 8px; }
  .challenge-decision { gap:4px; }
  .challenge-decision > p { min-height:24px; font-size:7px; }
  .challenge-options { gap:3px; }
  .challenge-options button { min-height:27px; font-size:7px; }
  .challenge-feedback { padding:5px 6px; }
  .challenge-feedback p { font-size:5px; }
  .challenge-scenario-foot { font-size:4.5px; }
}

@media (max-width:690px) {
  .challenge-room-head small { font-size:5px; }
  .challenge-room-head h3 { font-size:11px; }
  .challenge-record { flex-basis:50%; }
  .challenge-tile__no { display:none; }
  .challenge-tile button { grid-template-columns:30px minmax(0,1fr); }
  .challenge-tile__icon { grid-column:1; grid-row:1 / span 2; width:28px; height:28px; font-size:8px; }
  .challenge-tile__copy { grid-column:2; }
  .challenge-stars { grid-column:2; }
  .challenge-room-foot b { display:none; }
  .challenge-scenario-panel { width:98.5vw; height:96vh; }
  .challenge-scenario-body { grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr); }
  .challenge-card { width:26px; height:36px; }
  .challenge-card.is-compact { width:22px; height:31px; }
  .challenge-scenario-hud { left:5px; bottom:5px; gap:2px; }
  .challenge-scenario-hud span { min-width:46px; padding:2px 4px; }
  .challenge-options button { min-height:25px; padding:0 6px; font-size:6px; }
  .challenge-feedback aside { min-width:62px; }
  .challenge-result-actions button { min-height:23px; font-size:5.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .challenge-options button { transition:none; }
}
.challenge-feedback[hidden],
.challenge-result-actions button[hidden] { display:none !important; }

/* CASINOIR v0.23.1 — CHALLENGE CLEAR / COMPLETION PRESENTATION */
.challenge-room-panel.is-all-clear {
  border-color: rgba(215,184,102,.34);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 0 34px rgba(189,147,58,.06);
}
.challenge-room-panel.is-all-clear .challenge-room-head { position:relative; }
.challenge-room-panel.is-all-clear .challenge-room-head::after {
  content:"ALL CLEAR";
  align-self:flex-start;
  margin-left:auto;
  padding:4px 8px;
  border:1px solid rgba(217,184,95,.28);
  border-radius:999px;
  color:#d9b85f;
  background:rgba(217,184,95,.07);
  font-size:5px;
  font-weight:800;
  letter-spacing:.16em;
  white-space:nowrap;
}
.challenge-room-panel.is-perfect .challenge-room-head::after {
  content:"18 / 18 PERFECT";
  color:#f1d88f;
  border-color:rgba(241,216,143,.42);
  background:linear-gradient(90deg,rgba(217,184,95,.08),rgba(241,216,143,.13));
  box-shadow:0 0 16px rgba(221,184,86,.09);
}
.challenge-room-panel.is-perfect .challenge-record span:nth-child(2),
.challenge-room-panel.is-perfect .challenge-record span:nth-child(3) {
  border-color:rgba(217,184,95,.22);
  background:rgba(217,184,95,.055);
}
.challenge-room-panel.is-perfect .challenge-record span:nth-child(2) b,
.challenge-room-panel.is-perfect .challenge-record span:nth-child(3) b { color:#eed58e; }

.challenge-reveal[hidden] { display:none !important; }
.challenge-reveal {
  position:fixed;
  inset:0;
  z-index:230;
  display:grid;
  place-items:center;
  padding:10px;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
.challenge-reveal.is-visible { opacity:1; pointer-events:auto; }
.challenge-reveal.is-leaving { opacity:0; }
.challenge-reveal__backdrop {
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 48%,rgba(17,41,34,.34),rgba(2,4,7,.87) 68%);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.challenge-reveal__card {
  --challenge-accent:#78c9a8;
  --challenge-accent-soft:rgba(85,186,143,.16);
  position:relative;
  isolation:isolate;
  width:min(510px,92vw);
  max-height:90vh;
  display:grid;
  justify-items:center;
  gap:6px;
  padding:15px 20px 13px;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--challenge-accent) 38%,transparent);
  border-radius:17px;
  color:#f0ebe1;
  background:
    radial-gradient(circle at 50% 0%,var(--challenge-accent-soft),transparent 46%),
    linear-gradient(150deg,#11191a 0%,#0c1215 58%,#15130f 100%);
  box-shadow:0 28px 80px rgba(0,0,0,.7), inset 0 1px rgba(255,255,255,.055), 0 0 40px color-mix(in srgb,var(--challenge-accent) 8%,transparent);
  transform:translateY(8px) scale(.965);
  transition:transform .24s cubic-bezier(.2,.8,.2,1);
}
.challenge-reveal.is-visible .challenge-reveal__card { transform:translateY(0) scale(1); }
.challenge-reveal[data-type="perfect"] .challenge-reveal__card,
.challenge-reveal[data-type="master"] .challenge-reveal__card,
.challenge-reveal[data-type="master-perfect"] .challenge-reveal__card {
  --challenge-accent:#d9b85f;
  --challenge-accent-soft:rgba(217,184,95,.17);
}
.challenge-reveal[data-type="master-perfect"] .challenge-reveal__card {
  --challenge-accent:#f0d98f;
  --challenge-accent-soft:rgba(240,217,143,.22);
}
.challenge-reveal__burst { position:absolute; inset:-44% -20%; z-index:-1; opacity:.38; pointer-events:none; }
.challenge-reveal__burst i { position:absolute; left:50%; top:50%; width:1px; height:125%; transform-origin:50% 0; background:linear-gradient(to bottom,color-mix(in srgb,var(--challenge-accent) 55%,transparent),transparent 55%); }
.challenge-reveal__burst i:nth-child(1) { transform:rotate(22deg); }
.challenge-reveal__burst i:nth-child(2) { transform:rotate(90deg); }
.challenge-reveal__burst i:nth-child(3) { transform:rotate(148deg); }
.challenge-reveal.is-visible .challenge-reveal__burst { animation:challengeBurst 2.4s linear infinite; }
.challenge-reveal__kicker { color:var(--challenge-accent); font-size:6px; font-weight:800; letter-spacing:.22em; }
.challenge-reveal__icon {
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  margin-top:1px;
  border:1px solid color-mix(in srgb,var(--challenge-accent) 44%,transparent);
  border-radius:50%;
  color:var(--challenge-accent);
  background:color-mix(in srgb,var(--challenge-accent) 8%,rgba(0,0,0,.2));
  box-shadow:0 0 26px color-mix(in srgb,var(--challenge-accent) 13%,transparent), inset 0 0 18px color-mix(in srgb,var(--challenge-accent) 7%,transparent);
  font-family:Georgia,serif;
  font-size:22px;
  font-weight:700;
}
.challenge-reveal[data-type="master"] .challenge-reveal__icon,
.challenge-reveal[data-type="master-perfect"] .challenge-reveal__icon { font-size:20px; }
.challenge-reveal__title { max-width:100%; font-size:18px; line-height:1.05; letter-spacing:.045em; text-align:center; }
.challenge-reveal[data-type="master"] .challenge-reveal__title,
.challenge-reveal[data-type="master-perfect"] .challenge-reveal__title { font-size:21px; }
.challenge-reveal__desc { max-width:440px; margin:0; color:rgba(240,235,225,.58); font-size:6.5px; line-height:1.52; text-align:center; }
.challenge-reveal__stars { min-height:18px; display:grid; place-items:center; }
.challenge-reveal__stars .challenge-stars { display:flex; gap:5px; }
.challenge-reveal__stars .challenge-stars i { font-size:16px; color:rgba(255,255,255,.09); transform:translateY(3px) scale(.7); opacity:.25; }
.challenge-reveal__stars .challenge-stars i.is-on { color:#d9b85f; text-shadow:0 0 14px rgba(217,184,95,.42); }
.challenge-reveal.is-visible .challenge-reveal__stars .challenge-stars i.is-on { animation:challengeStarIn .38s cubic-bezier(.2,.9,.2,1) forwards; }
.challenge-reveal.is-visible .challenge-reveal__stars .challenge-stars i.is-on:nth-child(2) { animation-delay:.10s; }
.challenge-reveal.is-visible .challenge-reveal__stars .challenge-stars i.is-on:nth-child(3) { animation-delay:.20s; }
.challenge-reveal__result { width:100%; display:flex; align-items:center; justify-content:center; gap:8px; padding:6px 8px; border-top:1px solid rgba(255,255,255,.055); border-bottom:1px solid rgba(255,255,255,.055); }
.challenge-reveal__result span { color:var(--challenge-accent); font-size:7px; font-weight:800; letter-spacing:.04em; }
.challenge-reveal__result b { color:rgba(240,235,225,.42); font-size:5.5px; font-weight:600; letter-spacing:.06em; }
.challenge-reveal__actions { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:1px; }
.challenge-reveal__actions button { min-width:86px; height:27px; padding:0 11px; border:1px solid rgba(255,255,255,.11); border-radius:8px; color:#ebe5da; background:rgba(255,255,255,.035); font-size:6px; font-weight:700; letter-spacing:.03em; cursor:pointer; }
.challenge-reveal__actions button.is-primary { min-width:116px; border-color:color-mix(in srgb,var(--challenge-accent) 35%,transparent); color:color-mix(in srgb,var(--challenge-accent) 82%,white); background:color-mix(in srgb,var(--challenge-accent) 9%,transparent); }
.challenge-reveal__actions button:hover { background:rgba(255,255,255,.07); }
.challenge-reveal__actions button.is-primary:hover { background:color-mix(in srgb,var(--challenge-accent) 15%,transparent); }

@keyframes challengeStarIn { 0%{opacity:.2;transform:translateY(4px) scale(.55) rotate(-12deg)} 70%{opacity:1;transform:translateY(-1px) scale(1.18) rotate(4deg)} 100%{opacity:1;transform:translateY(0) scale(1) rotate(0)} }
@keyframes challengeBurst { to { transform:rotate(360deg); } }

@media (max-width:760px), (max-height:390px) {
  .challenge-room-panel.is-all-clear .challenge-room-head::after { padding:3px 6px; font-size:4px; }
  .challenge-reveal { padding:6px; }
  .challenge-reveal__card { width:min(460px,94vw); max-height:94vh; gap:4px; padding:10px 14px 9px; border-radius:13px; }
  .challenge-reveal__icon { width:38px; height:38px; font-size:18px; }
  .challenge-reveal__title { font-size:15px; }
  .challenge-reveal[data-type="master"] .challenge-reveal__title,
  .challenge-reveal[data-type="master-perfect"] .challenge-reveal__title { font-size:18px; }
  .challenge-reveal__desc { max-width:390px; font-size:5.5px; line-height:1.4; }
  .challenge-reveal__stars .challenge-stars i { font-size:13px; }
  .challenge-reveal__result { padding:4px 6px; }
  .challenge-reveal__result span { font-size:6px; }
  .challenge-reveal__result b { font-size:5px; }
  .challenge-reveal__actions button { height:24px; min-width:78px; font-size:5.5px; }
  .challenge-reveal__actions button.is-primary { min-width:104px; }
}

@media (max-width:690px) {
  .challenge-room-panel.is-all-clear .challenge-room-head::after { display:none; }
  .challenge-reveal__card { width:min(430px,96vw); }
  .challenge-reveal__kicker { font-size:5px; }
  .challenge-reveal__desc { max-width:350px; font-size:5px; }
}

@media (prefers-reduced-motion:reduce) {
  .challenge-reveal,
  .challenge-reveal__card,
  .challenge-reveal__stars .challenge-stars i,
  .challenge-reveal__burst { transition:none !important; animation:none !important; }
  .challenge-reveal.is-visible .challenge-reveal__stars .challenge-stars i.is-on { opacity:1; transform:none; }
}

/* CASINOIR v0.25.0 — AI RIVAL / BOT PERSONALITY */
.profile-tabs{grid-template-columns:repeat(5,1fr)}
.profile-panel--rivals{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:.32rem;overflow:hidden}
.profile-panel--rivals[hidden]{display:none!important}
.rival-dashboard{display:grid;grid-template-columns:1.2fr 1fr;gap:.32rem}
.rival-dashboard article{min-width:0;border:1px solid rgba(210,171,78,.18);border-radius:10px;background:linear-gradient(145deg,rgba(6,26,20,.86),rgba(3,15,12,.92));padding:.3rem .4rem;display:grid;grid-template-columns:auto 1fr;align-items:end;gap:.04rem .45rem}
.rival-dashboard small{grid-column:1/-1;color:#a4864b;font-size:clamp(.18rem,.31vw,.25rem);font-weight:900;letter-spacing:.12em}
.rival-dashboard strong{color:#f0d487;font-size:clamp(.46rem,.76vw,.62rem);line-height:1;white-space:nowrap}
.rival-dashboard span{min-width:0;color:#8a9d92;font-size:clamp(.18rem,.29vw,.24rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.rival-grid{min-height:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(116px,1fr);gap:.3rem;overflow-x:auto;overflow-y:hidden;padding-bottom:2px;scrollbar-width:thin}
.rival-card{position:relative;min-width:0;height:100%;border:1px solid rgba(201,165,79,.16);border-radius:10px;padding:.34rem .36rem .3rem;background:linear-gradient(165deg,rgba(7,28,21,.92),rgba(3,14,11,.96));color:#ddd5c5;text-align:left;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;gap:.14rem;cursor:pointer;overflow:hidden;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.rival-card:hover,.rival-card:focus-visible{border-color:rgba(222,184,92,.45);background:linear-gradient(165deg,rgba(10,36,27,.96),rgba(4,17,13,.98));outline:none}
.rival-card::after{content:"";position:absolute;right:-22px;bottom:-22px;width:70px;height:70px;border-radius:50%;background:radial-gradient(circle,rgba(212,174,82,.08),transparent 68%);pointer-events:none}
.rival-card__icon{position:absolute;right:.3rem;top:.25rem;width:22px;height:22px;border:1px solid rgba(218,178,80,.2);border-radius:50%;display:grid;place-items:center;color:#d9b75f;background:rgba(217,183,95,.045);font-size:.48rem;font-family:Georgia,serif}
.rival-card__head{min-width:0;padding-right:24px;display:flex;flex-direction:column}
.rival-card__head small{color:#887955;font-size:clamp(.14rem,.24vw,.19rem);letter-spacing:.07em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rival-card__head strong{color:#f5e7c7;font-size:clamp(.42rem,.66vw,.55rem);line-height:1.05;letter-spacing:.05em}
.rival-card__head em{margin-top:1px;color:#bca15e;font-size:clamp(.14rem,.23vw,.18rem);font-style:normal;font-weight:900;letter-spacing:.12em}
.rival-card>p{margin:.02rem 0 0;color:#7e9187;font-size:clamp(.16rem,.25vw,.21rem);line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rival-card__record{display:grid;grid-template-columns:1fr 1fr;gap:.2rem}
.rival-card__record span{border-top:1px solid rgba(255,255,255,.045);padding-top:.16rem;display:flex;align-items:baseline;justify-content:space-between;gap:.15rem}.rival-card__record small{color:#65776e;font-size:clamp(.12rem,.2vw,.16rem);letter-spacing:.06em}.rival-card__record b{color:#c9b98e;font-size:clamp(.27rem,.43vw,.34rem)}
.rival-card__duel{color:#a89b7c;font-size:clamp(.15rem,.24vw,.19rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:800}
.rival-card__level{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.24rem}.rival-card__level span{color:#d3b869;font-size:clamp(.12rem,.2vw,.16rem);font-weight:900;letter-spacing:.07em;white-space:nowrap}.rival-card__level i{height:3px;border-radius:4px;background:rgba(255,255,255,.055);overflow:hidden}.rival-card__level i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#80672c,#d3b45e)}
.rival-privacy-note{margin:0;color:#667870;font-size:clamp(.14rem,.23vw,.19rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rival-card--nit{--rival-accent:#aab8c8}.rival-card--tag{--rival-accent:#d2bc75}.rival-card--lag{--rival-accent:#9b8ed6}.rival-card--station{--rival-accent:#cf8890}.rival-card--aggro{--rival-accent:#d59163}
.rival-card .rival-card__icon{color:var(--rival-accent,#d9b75f);border-color:color-mix(in srgb,var(--rival-accent,#d9b75f) 35%,transparent)}

.rival-dossier-modal{z-index:265}
.rival-dossier-panel{width:min(570px,88vw);max-height:86vh;padding:.7rem .78rem .62rem;display:grid;grid-template-columns:1fr;gap:.38rem;border-color:rgba(215,177,85,.34);background:radial-gradient(circle at 18% 10%,rgba(198,158,67,.08),transparent 34%),linear-gradient(160deg,#071b15,#030e0b 72%)}
.rival-dossier-identity{display:flex;align-items:center;gap:.55rem}.rival-dossier-identity>span{width:52px;height:52px;border:1px solid rgba(215,177,85,.28);border-radius:50%;display:grid;place-items:center;color:#e0bd64;background:rgba(215,177,85,.055);font:700 1.35rem Georgia,serif}.rival-dossier-identity div{display:grid;gap:1px}.rival-dossier-identity small{color:#8f7b50;font-size:.27rem;letter-spacing:.14em}.rival-dossier-identity h2{margin:0;color:#f6e8c6;font-size:1rem;line-height:1}.rival-dossier-identity b{color:#b99d5c;font-size:.29rem;letter-spacing:.09em}
.rival-dossier-summary{margin:0;color:#9aab9f;font-size:.36rem;line-height:1.45}
.rival-dossier-traits,.rival-dossier-record{display:grid;grid-template-columns:repeat(3,1fr);gap:.28rem}.rival-dossier-traits span,.rival-dossier-record span{min-width:0;border:1px solid rgba(203,167,81,.14);border-radius:8px;background:rgba(4,18,14,.72);padding:.3rem .34rem;display:grid;gap:.04rem}.rival-dossier-traits small,.rival-dossier-record small{color:#726950;font-size:.2rem;letter-spacing:.09em}.rival-dossier-traits strong,.rival-dossier-record strong{color:#d8caa5;font-size:.34rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rival-dossier-panel footer{border-top:1px solid rgba(255,255,255,.055);padding-top:.28rem;display:flex;align-items:center;justify-content:space-between;gap:.4rem}.rival-dossier-panel footer span{color:#bca45e;font-size:.28rem;font-weight:800}.rival-dossier-panel footer small{color:#5f6e67;font-size:.19rem;letter-spacing:.08em}

.rival-style-chip{position:absolute;right:3px;top:3px;z-index:6;max-width:45px;padding:1px 3px;border:1px solid rgba(217,180,89,.18);border-radius:5px;background:rgba(3,15,12,.76);color:#c7aa61;font-size:6px;font-weight:900;line-height:1.25;letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.live-seat[data-persona="nit"] .rival-style-chip{color:#b5c1ce}.live-seat[data-persona="tag"] .rival-style-chip{color:#d6bd75}.live-seat[data-persona="lag"] .rival-style-chip{color:#b4a6ee}.live-seat[data-persona="station"] .rival-style-chip{color:#e0a0a8}.live-seat[data-persona="aggro"] .rival-style-chip{color:#e2a06f}

@media (max-width:760px),(max-height:390px){
  .profile-tabs button{font-size:.35rem}.profile-panel--rivals{padding:.28rem;gap:.22rem}.rival-dashboard{gap:.22rem}.rival-dashboard article{border-radius:7px;padding:.2rem .26rem}.rival-dashboard small{font-size:.14rem}.rival-dashboard strong{font-size:.35rem}.rival-dashboard span{font-size:.14rem}.rival-grid{grid-auto-columns:minmax(92px,1fr);gap:.2rem}.rival-card{border-radius:7px;padding:.24rem .26rem .22rem;gap:.08rem}.rival-card__icon{width:17px;height:17px;right:.2rem;top:.18rem;font-size:.36rem}.rival-card__head{padding-right:18px}.rival-card__head small{font-size:.11rem}.rival-card__head strong{font-size:.31rem}.rival-card__head em{font-size:.11rem}.rival-card>p{font-size:.12rem;line-height:1.2}.rival-card__record small{font-size:.09rem}.rival-card__record b{font-size:.22rem}.rival-card__duel{font-size:.11rem}.rival-card__level span{font-size:.09rem}.rival-privacy-note{font-size:.11rem}.rival-dossier-panel{width:min(520px,92vw);padding:.48rem .58rem .46rem;gap:.25rem}.rival-dossier-identity>span{width:42px;height:42px;font-size:1rem}.rival-dossier-identity small{font-size:.2rem}.rival-dossier-identity h2{font-size:.78rem}.rival-dossier-identity b{font-size:.22rem}.rival-dossier-summary{font-size:.27rem}.rival-dossier-traits span,.rival-dossier-record span{padding:.22rem .26rem}.rival-dossier-traits small,.rival-dossier-record small{font-size:.14rem}.rival-dossier-traits strong,.rival-dossier-record strong{font-size:.25rem}.rival-dossier-panel footer span{font-size:.2rem}.rival-dossier-panel footer small{font-size:.13rem}
}
@media (max-width:690px){.rival-grid{grid-auto-columns:86px}.rival-card>p{display:none}.rival-card__record{gap:.1rem}.rival-privacy-note{display:none}.rival-style-chip{display:none}.rival-dossier-panel{width:min(500px,95vw)}.rival-dossier-traits,.rival-dossier-record{gap:.18rem}}
@media (max-width:690px){
  .profile-panel--rivals .rival-grid{grid-auto-flow:unset;grid-auto-columns:auto;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;overflow:hidden;padding-bottom:0}
  .profile-panel--rivals .rival-card{min-width:0;padding-left:.2rem;padding-right:.2rem}
  .profile-panel--rivals .rival-card__record{grid-template-columns:1fr;gap:0}.profile-panel--rivals .rival-card__record span:nth-child(2){display:none}
}

/* ========================================================================== 
   CASINOIR v0.25.0 — CASINO PROGRESSION / FLOOR UNLOCK
   Existing game modes remain playable; the Grand Casino adds progression-driven
   access rooms and shortcuts without changing poker strength or economy.
   ========================================================================== */
.floor-access-wallet>span{background:radial-gradient(circle at 35% 30%,#f3d47b,#966b22 63%,#38230b);border-style:solid;color:#2b1a06;font-size:.72rem}
.floor-progress-copy{min-width:0;max-width:49%;display:flex;flex-direction:column;align-items:flex-start!important;gap:.08rem}.floor-progress-copy small{color:#d1ad58!important}.floor-progress-copy strong{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.floor-progress-track{display:block;width:min(210px,100%);height:4px;margin-top:.16rem;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.09);box-shadow:inset 0 1px 2px rgba(0,0,0,.55)}.floor-progress-track i{display:block;width:20%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9f6a20,#f2d071);box-shadow:0 0 10px rgba(242,208,113,.4);transition:width .38s ease}
.floor-zone-rail{grid-template-rows:auto repeat(4,minmax(0,1fr));gap:.31rem}.floor-zone-card{grid-template-columns:25% minmax(0,1fr) auto;padding:.29rem .42rem;border-color:rgba(214,184,107,.22);transition:border-color .18s ease,background .18s ease,transform .18s ease,opacity .18s ease}.floor-zone-card .floor-zone-symbol{display:grid;place-items:center;min-height:30px;color:#776b56;font-family:Georgia,'Times New Roman',serif;font-size:clamp(.85rem,1.65vw,1.4rem);text-shadow:0 2px 12px rgba(0,0,0,.7)}.floor-zone-card.is-locked{opacity:.68;filter:saturate(.65)}.floor-zone-card.is-locked:hover{transform:none}.floor-zone-card.is-unlocked{border-color:rgba(244,211,126,.52);background:linear-gradient(110deg,rgba(18,52,38,.96),rgba(8,22,16,.94));box-shadow:0 7px 18px rgba(0,0,0,.3),inset 0 0 18px rgba(224,187,92,.035)}.floor-zone-card.is-unlocked .floor-zone-symbol{color:#f1d27b;filter:drop-shadow(0 0 9px rgba(228,189,89,.23))}.floor-zone-card.is-unlocked>b{border-color:rgba(91,218,155,.35);color:#aee9ca;background:rgba(24,117,80,.16)}.floor-zone-card.is-unlocked:hover{transform:translateY(-1px);border-color:#e8c96e}.floor-zone-card--vip.is-unlocked{background:linear-gradient(110deg,rgba(57,38,15,.97),rgba(18,23,15,.96));border-color:rgba(255,214,102,.68)}.floor-zone-card--vip.is-unlocked .floor-zone-symbol{color:#ffe08a}.floor-zone-card .grand-game-copy em{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.screen--grand-floor[data-casino-rank="vip"] .grand-featured{box-shadow:0 16px 42px rgba(0,0,0,.38),inset 0 0 0 2px rgba(255,255,255,.025),0 0 32px rgba(240,187,58,.17)}
.floor-unlock-reveal{position:absolute;z-index:80;inset:0;display:grid;place-items:center;padding:12px}.floor-unlock-reveal[hidden]{display:none!important}.floor-unlock-reveal__backdrop{position:absolute;inset:0;background:radial-gradient(circle at 50% 48%,rgba(238,195,84,.12),rgba(0,0,0,.73) 54%,rgba(0,0,0,.88));backdrop-filter:blur(5px)}.floor-unlock-reveal__card{position:relative;width:min(430px,72vw);min-height:190px;padding:18px 24px 16px;border:1px solid rgba(248,217,130,.7);border-radius:18px;background:linear-gradient(145deg,rgba(8,35,26,.98),rgba(23,18,10,.98));box-shadow:0 24px 70px rgba(0,0,0,.62),inset 0 0 0 2px rgba(255,255,255,.03),0 0 34px rgba(237,191,78,.17);text-align:center;transform:translateY(8px) scale(.98);opacity:0;transition:transform .22s ease,opacity .22s ease}.floor-unlock-reveal.is-visible .floor-unlock-reveal__card{transform:none;opacity:1}.floor-unlock-reveal__card>small{display:block;color:#d5b154;font-size:.46rem;font-weight:900;letter-spacing:.18em}.floor-unlock-reveal__icon{width:48px;height:48px;margin:8px auto 5px;display:grid;place-items:center;border:1px solid rgba(255,222,139,.55);border-radius:50%;background:radial-gradient(circle,#f0cd70 0 12%,#835b1d 13% 42%,#17130a 43%);color:#ffe59b;font-family:Georgia,serif;font-size:1.25rem;box-shadow:0 0 20px rgba(238,192,77,.19)}.floor-unlock-reveal__card>strong{display:block;color:#fff1c6;font-family:Georgia,'Times New Roman',serif;font-size:1.15rem;letter-spacing:.04em}.floor-unlock-reveal__card>p{margin:5px auto 8px;max-width:90%;color:#bdb29b;font-size:.48rem;line-height:1.5}.floor-unlock-reveal__meta{display:flex;justify-content:center;gap:7px}.floor-unlock-reveal__meta span,.floor-unlock-reveal__meta b{padding:3px 7px;border:1px solid rgba(237,199,104,.23);border-radius:999px;color:#d6c28b;background:rgba(0,0,0,.18);font-size:.38rem;letter-spacing:.06em}.floor-unlock-reveal__card>button{margin-top:10px;min-width:180px;height:31px;border:1px solid #f1cb69;border-radius:8px;background:linear-gradient(180deg,#b72a3f,#781023);color:#fff0c8;font-size:.46rem;font-weight:900;letter-spacing:.04em;box-shadow:0 4px 0 #470813,0 7px 14px rgba(0,0,0,.28)}

@media (max-width:760px) and (orientation:landscape){
  .grand-featured-actions>.floor-progress-copy{display:flex!important;max-width:44%}.floor-progress-copy small{display:none!important}.floor-progress-copy strong{font-size:.32rem!important;max-width:145px}.floor-progress-track{width:118px;height:3px;margin-top:.08rem}.floor-zone-rail{grid-template-rows:auto repeat(4,minmax(0,1fr));gap:.18rem}.floor-zone-card{grid-template-columns:22px minmax(0,1fr) auto;padding:.15rem .23rem;gap:.18rem;border-radius:7px}.floor-zone-card .floor-zone-symbol{min-height:20px;font-size:.72rem}.floor-zone-card .grand-game-copy strong{font-size:.43rem}.floor-zone-card .grand-game-copy em{font-size:.25rem}.floor-zone-card>b{display:block!important;padding:.1rem .18rem;font-size:.22rem;max-width:54px;overflow:hidden;text-overflow:ellipsis}.floor-unlock-reveal__card{width:min(420px,75vw);min-height:166px;padding:11px 18px 10px;border-radius:13px}.floor-unlock-reveal__icon{width:37px;height:37px;margin:5px auto 3px;font-size:1rem}.floor-unlock-reveal__card>strong{font-size:.9rem}.floor-unlock-reveal__card>p{font-size:.36rem;margin:3px auto 5px}.floor-unlock-reveal__meta span,.floor-unlock-reveal__meta b{font-size:.29rem;padding:2px 5px}.floor-unlock-reveal__card>button{margin-top:6px;height:27px;min-width:158px;font-size:.38rem}
}
@media (max-height:360px) and (orientation:landscape){
  .floor-zone-rail{grid-template-rows:auto repeat(4,minmax(0,1fr))}.floor-progress-track{display:none}.floor-unlock-reveal__card{min-height:148px}.floor-unlock-reveal__card>p{display:none}
}
@media (prefers-reduced-motion:reduce){.floor-progress-track i,.floor-zone-card,.floor-unlock-reveal__card{transition:none!important}}


/* CASINOIR v0.26.0 — SEASON 01 / TOKYO MIDNIGHT */
.home-event--season{appearance:none;text-align:left;color:inherit;cursor:pointer;font-family:inherit;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.home-event--season:hover,.home-event--season:focus-visible{transform:translateY(-1px);border-color:rgba(255,105,176,.82);box-shadow:0 10px 28px rgba(0,0,0,.42),0 0 22px rgba(219,54,130,.14),inset 0 0 16px rgba(100,199,255,.06);outline:none}
.home-event--season::after{content:attr(data-season-code);position:absolute;right:.5rem;top:.35rem;color:rgba(107,204,255,.72);font-size:.36rem;font-weight:900;letter-spacing:.1em}.home-event--season[data-season-lifecycle="upcoming"]{filter:saturate(.72)}.home-event--season[data-season-lifecycle="ended"]{border-color:rgba(156,165,181,.32);filter:saturate(.48)}
.screen--season{overflow:hidden;background:#070912;color:#f7f2ea}
.season-bg{position:absolute;inset:0;background:radial-gradient(circle at 17% 28%,rgba(14,118,170,.23),transparent 34%),radial-gradient(circle at 83% 34%,rgba(214,37,122,.18),transparent 31%),linear-gradient(145deg,#07101d,#08070e 58%,#140713);pointer-events:none}
.season-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.75),transparent 86%)}
.season-topbar{position:relative;z-index:2;height:15%;min-height:52px;display:grid;grid-template-columns:44px 1fr auto auto;align-items:center;gap:.75rem;padding:0 2%;border-bottom:1px solid rgba(100,198,255,.20);background:linear-gradient(180deg,rgba(7,9,18,.94),rgba(7,9,18,.76));box-shadow:0 8px 22px rgba(0,0,0,.25)}
.season-back{width:34px;height:34px;border:1px solid rgba(104,203,255,.38);border-radius:50%;background:rgba(7,23,39,.82);color:#d9f4ff;font-size:1rem;cursor:pointer}
.season-brand small,.season-period small,.season-points small{display:block;color:#70cfff;font-size:clamp(.34rem,.48vw,.44rem);letter-spacing:.12em;font-weight:800}.season-brand h1{margin:.06rem 0 0;color:#ffe8f3;font-size:clamp(.8rem,1.35vw,1.15rem);letter-spacing:.05em}.season-period{text-align:right}.season-period strong{display:block;color:#d8d3df;font-size:clamp(.42rem,.58vw,.52rem);margin-top:.08rem}.season-points{min-width:100px;padding:.34rem .58rem;border:1px solid rgba(238,80,155,.35);border-radius:.55rem;background:rgba(35,10,31,.65)}.season-points strong{display:block;color:#ff85bf;font-size:clamp(.65rem,1vw,.86rem)}
.season-stage{position:relative;z-index:2;height:75%;display:grid;grid-template-columns:29% 71%;gap:1%;padding:.9% 1.8% .7%}
.season-hero{position:relative;overflow:hidden;border:1px solid rgba(95,202,255,.30);border-radius:16px;padding:1rem .9rem;background:radial-gradient(circle at 72% 25%,rgba(225,54,140,.22),transparent 28%),linear-gradient(155deg,rgba(8,33,53,.94),rgba(17,8,27,.96));box-shadow:0 16px 36px rgba(0,0,0,.38),inset 0 0 28px rgba(67,188,255,.04)}
.season-city{position:absolute;left:0;right:0;bottom:0;height:36%;opacity:.6}.season-city i{position:absolute;bottom:0;width:12%;background:linear-gradient(180deg,rgba(29,82,115,.78),rgba(7,17,27,.95));border-top:1px solid rgba(106,209,255,.35);box-shadow:inset 2px 0 rgba(255,70,160,.08)}.season-city i:nth-child(1){left:5%;height:55%}.season-city i:nth-child(2){left:21%;height:82%}.season-city i:nth-child(3){left:40%;height:64%}.season-city i:nth-child(4){left:59%;height:96%}.season-city i:nth-child(5){left:80%;height:70%}
.season-hero>small{position:relative;display:block;color:#68d1ff;font-size:clamp(.32rem,.48vw,.42rem);font-weight:900;letter-spacing:.08em}.season-hero>strong{position:relative;display:block;margin:.42rem 0;color:#ffe2f0;font-size:clamp(.9rem,1.7vw,1.45rem);line-height:1.06;text-shadow:0 3px 14px #000}.season-hero>p{position:relative;margin:0;max-width:94%;color:#c9c6d1;font-size:clamp(.38rem,.56vw,.5rem);line-height:1.55}.season-meter{position:absolute;left:.9rem;right:.9rem;bottom:2.1rem;display:grid;grid-template-columns:1fr auto;gap:.45rem;align-items:center}.season-meter>span{height:7px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}.season-meter i{display:block;height:100%;width:0;background:linear-gradient(90deg,#42c9ff,#e13b91,#ffbd65);box-shadow:0 0 10px rgba(224,58,144,.42);transition:width .3s ease}.season-meter b{color:#ff84bc;font-size:.48rem}.season-hero>em{position:absolute;left:.9rem;bottom:.7rem;color:#79d7ff;font-size:.38rem;font-style:normal;font-weight:900;letter-spacing:.12em}
.season-content{min-width:0;display:grid;grid-template-rows:auto 1fr auto 1fr;gap:.28rem}.season-quests-head,.season-track-head{display:flex;align-items:end;justify-content:space-between;padding:0 .15rem}.season-quests-head small,.season-track-head small{display:block;color:#6acfff;font-size:.28rem;letter-spacing:.1em}.season-quests-head strong,.season-track-head strong{display:block;color:#f3eaf0;font-size:.55rem}.season-quests-head>b,.season-track-head>b{color:#ff86bd;font-size:.38rem}
.season-quest-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:.28rem;min-height:0}.season-quest{position:relative;min-width:0;border:1px solid rgba(104,202,255,.16);border-radius:10px;padding:.34rem .4rem;background:linear-gradient(145deg,rgba(11,27,43,.88),rgba(15,10,25,.90));overflow:hidden}.season-quest.is-complete{border-color:rgba(255,105,176,.46);background:linear-gradient(145deg,rgba(32,24,52,.92),rgba(47,12,38,.86))}.season-quest small{display:block;color:#62cfff;font-size:.25rem;font-weight:900}.season-quest strong{display:block;margin:.06rem 0;color:#f1edf3;font-size:.36rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.season-quest span{display:block;height:4px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}.season-quest span i{display:block;height:100%;background:linear-gradient(90deg,#4acfff,#df3a91)}.season-quest b{display:block;margin-top:.09rem;color:#bfc6d0;font-size:.27rem}.season-quest em{position:absolute;right:.32rem;top:.3rem;color:#ffc56f;font-size:.28rem;font-style:normal;font-weight:900}
.season-reward-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:.28rem;min-height:0}.season-reward{position:relative;min-width:0;border:1px solid rgba(255,255,255,.11);border-radius:10px;padding:.32rem .38rem;background:linear-gradient(150deg,rgba(20,18,31,.92),rgba(8,15,26,.92));overflow:hidden}.season-reward.is-unlocked{border-color:rgba(255,103,176,.48);box-shadow:inset 0 0 14px rgba(215,43,131,.07)}.season-reward.is-next{border-color:rgba(94,205,255,.55);box-shadow:0 0 13px rgba(56,174,231,.10)}.season-reward small{display:block;color:#6fd2ff;font-size:.24rem}.season-reward strong{display:block;margin:.05rem 0;color:#f7edf4;font-size:.34rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.season-reward b{display:block;color:#ff89bf;font-size:.28rem}.season-reward em{position:absolute;right:.34rem;bottom:.28rem;color:#aeb4bf;font-size:.23rem;font-style:normal}.season-reward.is-unlocked em{color:#73e3bc}.season-reward__icon{position:absolute;right:.35rem;top:.24rem;color:#ffc867;font-size:.72rem;opacity:.82}
.season-footer{position:relative;z-index:2;height:10%;min-height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 2%;border-top:1px solid rgba(104,203,255,.15);background:rgba(5,8,15,.88);color:#9ba6b4;font-size:.34rem}.season-footer strong{color:#ff86bc;font-size:.42rem}
.season-reward-reveal{position:fixed;inset:0;z-index:1100;display:grid;place-items:center}.season-reward-reveal[hidden]{display:none!important}.season-reward-reveal__backdrop{position:absolute;inset:0;background:rgba(3,4,10,.72);backdrop-filter:blur(8px)}.season-reward-reveal__card{position:relative;width:min(430px,68vw);min-height:180px;border:1px solid rgba(255,111,184,.55);border-radius:18px;padding:1rem 1.1rem;text-align:center;background:radial-gradient(circle at 50% 10%,rgba(87,201,255,.16),transparent 32%),linear-gradient(155deg,#151126,#0a111c 60%,#240b21);box-shadow:0 26px 70px rgba(0,0,0,.58),0 0 36px rgba(218,55,139,.16);transform:scale(.96);opacity:0;transition:opacity .2s ease,transform .2s ease}.season-reward-reveal.is-visible .season-reward-reveal__card{opacity:1;transform:scale(1)}.season-reward-reveal__card>small{color:#70d4ff;font-size:.36rem;font-weight:900;letter-spacing:.14em}.season-reward-reveal__icon{margin:.38rem auto .2rem;color:#ffc96d;font-size:1.7rem}.season-reward-reveal h2{margin:.1rem 0;color:#ffe5f1;font-size:1.15rem}.season-reward-reveal p{margin:.18rem auto .5rem;max-width:90%;color:#c8c5cf;font-size:.48rem}.season-reward-reveal__meta{display:flex;justify-content:center;gap:.7rem;color:#ff87bd;font-size:.4rem}.season-reward-reveal__card button{margin-top:.62rem;border:1px solid rgba(106,211,255,.48);border-radius:.5rem;padding:.42rem 1rem;background:linear-gradient(180deg,#1e6687,#103d57);color:#e8f9ff;font-size:.45rem;font-weight:900;cursor:pointer}
/* Season 01 cosmetic skins */
.live-game[data-cardback="neon-noir"] .playing-card--back{background:radial-gradient(circle at 50% 42%,rgba(255,69,164,.18),transparent 34%),linear-gradient(145deg,#08162a,#170b20 62%,#072136);border-color:rgba(89,202,255,.72);box-shadow:inset 0 0 0 2px rgba(255,73,166,.22),0 2px 5px rgba(0,0,0,.35)}
.live-game[data-cardback="neon-noir"] .playing-card--back i{border-color:rgba(255,89,177,.50);box-shadow:inset 0 0 8px rgba(84,200,255,.12)}
.live-game[data-chip-skin="midnight-edge"] .chip-stack i{border-color:rgba(47,152,209,.88);box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 0 0 1px rgba(238,64,151,.26),0 2px 3px rgba(0,0,0,.32)}
.live-game[data-chip-skin="midnight-edge"] .chip-stack i::after{border-color:rgba(255,116,188,.84)}
.live-table[data-table-skin="tokyo-midnight"]{border-color:#183650;background:radial-gradient(ellipse at 56% 32%,rgba(229,63,151,.13),transparent 26%),radial-gradient(ellipse at 42% 58%,#123b4b 0%,#0b2738 47%,#080f1c 100%);box-shadow:0 28px 62px rgba(0,0,0,.62),0 0 0 2px rgba(79,190,233,.70),0 0 0 6px rgba(13,15,25,.96),0 0 38px rgba(219,55,145,.16),inset 0 0 95px rgba(0,0,0,.30)}
.live-table[data-table-skin="tokyo-midnight"] .live-table__brand{color:rgba(255,139,193,.48);text-shadow:0 0 13px rgba(68,189,239,.20)}
.profile-frame--tokyo-midnight{border-color:rgba(81,203,246,.78)!important;box-shadow:0 0 0 2px rgba(78,19,62,.72),0 0 17px rgba(230,62,151,.23),inset 0 0 14px rgba(83,201,247,.09)!important;background:linear-gradient(145deg,rgba(20,71,94,.48),rgba(28,8,30,.95))!important}.home-avatar.profile-frame--tokyo-midnight{outline:1px solid rgba(244,82,164,.44);outline-offset:2px}
@media (max-width:760px){.season-topbar{grid-template-columns:38px 1fr auto auto;gap:.4rem;padding:0 1.3%}.season-period{display:none}.season-points{min-width:86px;padding:.28rem .42rem}.season-stage{grid-template-columns:27% 73%;gap:.6%;padding:.7% 1% .55%}.season-hero{padding:.68rem .58rem;border-radius:13px}.season-hero>strong{font-size:.83rem}.season-hero>p{font-size:.32rem;line-height:1.42}.season-meter{left:.58rem;right:.58rem;bottom:1.75rem}.season-hero>em{left:.58rem;bottom:.5rem;font-size:.3rem}.season-quest-list,.season-reward-track{gap:.2rem}.season-quest,.season-reward{padding:.22rem .28rem;border-radius:8px}.season-quest strong,.season-reward strong{font-size:.28rem}.season-quest small,.season-reward small{font-size:.2rem}.season-quest b,.season-reward b{font-size:.22rem}.season-quest em,.season-reward em{font-size:.2rem}.season-reward__icon{font-size:.58rem}.season-footer{font-size:.27rem;padding:0 1.2%}.season-footer strong{font-size:.33rem}.season-reward-reveal__card{width:min(430px,78vw);min-height:160px;padding:.75rem .9rem}.season-reward-reveal h2{font-size:.95rem}}
@media (prefers-reduced-motion:reduce){.home-event--season,.season-meter i,.season-reward-reveal__card{transition:none!important}}

/* CASINOIR v0.27.1 — local diagnostics / data-safety completion */
.system-menu-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:8px;background:rgba(2,5,8,.78);backdrop-filter:blur(7px);color:#f1eee7}.system-menu-modal[hidden]{display:none!important}
.system-menu-panel{width:min(720px,calc(100vw - 16px));max-height:calc(100vh - 16px);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(225,190,101,.5);border-radius:15px;background:linear-gradient(145deg,rgba(8,25,19,.99),rgba(9,11,17,.99));box-shadow:0 24px 68px rgba(0,0,0,.68),inset 0 0 28px rgba(226,191,96,.025)}
.system-menu-head{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem .8rem;border-bottom:1px solid rgba(225,190,101,.16)}.system-menu-head small{display:block;color:#d7b75d;font-size:.34rem;font-weight:900;letter-spacing:.14em}.system-menu-head h2{margin:.05rem 0;color:#fff1c8;font-size:.86rem}.system-menu-head p{margin:0;color:#99a59f;font-size:.38rem}.system-menu-head>button{flex:0 0 auto;width:29px;height:29px;border:1px solid rgba(225,190,101,.34);border-radius:50%;background:rgba(0,0,0,.2);color:#ead89f;font-size:.9rem;cursor:pointer}
.system-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.42rem;padding:.45rem .8rem}.system-status-grid>span{min-width:0;padding:.35rem .5rem;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(0,0,0,.18)}.system-status-grid small{display:block;color:#81958d;font-size:.28rem;letter-spacing:.1em}.system-status-grid strong{display:block;margin-top:.08rem;color:#dcece5;font-size:.48rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.system-status-grid strong.is-warning{color:#ffba76}
.system-diagnostics{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);margin:0 .8rem .45rem;border:1px solid rgba(255,255,255,.08);border-radius:9px;overflow:hidden;background:rgba(1,7,5,.3)}.system-diagnostics>header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.35rem .5rem;border-bottom:1px solid rgba(255,255,255,.07)}.system-diagnostics>header small{display:block;color:#64c9a3;font-size:.25rem;font-weight:900;letter-spacing:.12em}.system-diagnostics h3{margin:.02rem 0 0;font-size:.52rem;color:#e9f3ed}.system-diagnostics>header p{margin:0;color:#809087;font-size:.3rem}
.system-diagnostics-list{min-height:72px;max-height:160px;overflow:auto;padding:.3rem;scrollbar-width:thin}.system-diagnostic-empty{height:100%;min-height:62px;display:grid;place-items:center;margin:0;color:#789087;font-size:.38rem}.system-diagnostic-row{display:grid;grid-template-columns:92px minmax(0,1fr);gap:.45rem;padding:.32rem .38rem;border-bottom:1px solid rgba(255,255,255,.06)}.system-diagnostic-row:last-child{border-bottom:0}.system-diagnostic-row header{min-width:0}.system-diagnostic-row header strong{display:block;color:#e1bd66;font-size:.34rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.system-diagnostic-row header small{display:block;margin-top:.08rem;color:#687a72;font-size:.25rem}.system-diagnostic-row>div{min-width:0}.system-diagnostic-row p{margin:0;color:#d6ded9;font-size:.34rem;line-height:1.4;overflow-wrap:anywhere}.system-diagnostic-row span{display:block;margin-top:.1rem;color:#71837b;font-size:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.system-menu-foot{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.42rem .8rem;border-top:1px solid rgba(225,190,101,.14)}.system-menu-foot>span{color:#788980;font-size:.3rem}.system-menu-foot>div{display:flex;gap:.3rem}.system-menu-foot button{min-height:27px;padding:0 .62rem;border:1px solid rgba(224,188,95,.3);border-radius:7px;background:rgba(4,15,11,.86);color:#c9d6d0;font-size:.34rem;font-weight:800;cursor:pointer}.system-menu-foot button:disabled{opacity:.38;cursor:default}.system-menu-foot #systemDiagnosticsCopy,.system-menu-foot #systemMenuDone{border-color:rgba(226,190,96,.58);background:linear-gradient(180deg,#9c7629,#604311);color:#fff0c4}
@media (max-width:760px) and (orientation:landscape){.system-menu-panel{width:calc(100vw - 12px);max-height:calc(100vh - 12px);border-radius:11px}.system-menu-head{min-height:43px;padding:.35rem .55rem}.system-menu-head h2{font-size:.68rem}.system-menu-head p{display:none}.system-menu-head>button{width:25px;height:25px}.system-status-grid{gap:.25rem;padding:.3rem .55rem}.system-status-grid>span{padding:.24rem .34rem}.system-status-grid strong{font-size:.38rem}.system-diagnostics{margin:0 .55rem .3rem}.system-diagnostics-list{max-height:145px}.system-diagnostic-row{grid-template-columns:78px minmax(0,1fr);padding:.24rem .3rem}.system-menu-foot{min-height:36px;padding:.3rem .55rem}.system-menu-foot>span{display:none}.system-menu-foot button{min-height:24px;padding:0 .48rem;font-size:.29rem}}
@media (max-height:360px) and (orientation:landscape){.system-menu-head{min-height:39px}.system-status-grid{padding:.22rem .55rem}.system-diagnostics-list{max-height:118px;min-height:54px}.system-menu-foot{min-height:32px}}
@media (prefers-reduced-motion:reduce){.system-menu-modal{backdrop-filter:none}}

/* v0.27.0 — single-tab data-safety guard */
.casinoir-tab-blocker{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:24px;background:rgba(3,5,8,.96);color:#f4f6f8;font-family:inherit}
.casinoir-tab-blocker>div{width:min(520px,92vw);padding:24px;border:1px solid rgba(212,175,55,.45);border-radius:18px;background:#0b0e13;box-shadow:0 28px 80px rgba(0,0,0,.65);text-align:center}
.casinoir-tab-blocker small{display:block;color:#d4af37;letter-spacing:.12em;font-weight:800}.casinoir-tab-blocker h1{margin:10px 0 8px;font-size:clamp(18px,3vw,28px)}
.casinoir-tab-blocker p{margin:0 auto 18px;max-width:42em;color:#bdc4cc;line-height:1.65}.casinoir-tab-blocker button{min-width:150px;min-height:42px;border:1px solid #d4af37;border-radius:999px;background:#d4af37;color:#090b0e;font-weight:900}

/* v0.29.0 — LIVE INBOX / PLAYER COMMUNICATIONS */
.home-utils button.has-alert{border-color:rgba(242,196,83,.64);box-shadow:0 0 14px rgba(232,177,49,.12)}
.home-utils button em[hidden]{display:none!important}
.live-inbox-modal{position:fixed;inset:0;z-index:1210;display:grid;place-items:center;padding:8px;background:rgba(2,5,8,.8);backdrop-filter:blur(8px);color:#f1eee7}
.live-inbox-modal[hidden]{display:none!important}
.live-inbox-panel{width:min(900px,calc(100vw - 16px));height:min(520px,calc(100vh - 16px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(226,190,96,.5);border-radius:15px;background:radial-gradient(circle at 80% 0,rgba(69,154,181,.08),transparent 32%),linear-gradient(145deg,rgba(8,24,19,.995),rgba(8,10,17,.995));box-shadow:0 26px 74px rgba(0,0,0,.7),inset 0 0 34px rgba(226,191,96,.025)}
.live-inbox-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.58rem .85rem;border-bottom:1px solid rgba(225,190,101,.16)}
.live-inbox-head>div:first-child small{display:block;color:#d7b75d;font-size:.31rem;font-weight:900;letter-spacing:.14em}.live-inbox-head h2{margin:.03rem 0;color:#fff1c8;font-size:.86rem}.live-inbox-head p{margin:0;color:#91a29a;font-size:.34rem}
.live-inbox-head__meta{display:flex;align-items:center;gap:.55rem}.live-inbox-head__meta strong{color:#7cd4b3;font-size:.31rem;letter-spacing:.06em;white-space:nowrap}.live-inbox-head__meta button{width:29px;height:29px;border:1px solid rgba(225,190,101,.34);border-radius:50%;background:rgba(0,0,0,.2);color:#ead89f;font-size:.9rem;cursor:pointer}
.live-inbox-tabs{min-height:43px;display:flex;align-items:stretch;padding:0 .7rem;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.12)}
.live-inbox-tabs>button:not(.live-inbox-read-all){position:relative;min-width:135px;display:flex;align-items:center;justify-content:center;gap:.35rem;border:0;border-bottom:2px solid transparent;background:transparent;color:#82938b;font-size:.36rem;font-weight:900;cursor:pointer}.live-inbox-tabs>button.is-active{border-bottom-color:#dcb95e;color:#f5dfaa}.live-inbox-tabs>button span{font-size:.48rem}.live-inbox-tabs>button em{min-width:18px;height:18px;display:grid;place-items:center;border-radius:10px;background:#b53a62;color:#fff;font-size:.25rem;font-style:normal}.live-inbox-tabs>button em[hidden]{display:none!important}
.live-inbox-read-all{align-self:center;margin-left:auto;min-height:25px;padding:0 .55rem;border:1px solid rgba(226,190,96,.28);border-radius:6px;background:rgba(6,18,14,.8);color:#b7c6bf;font-size:.3rem;font-weight:800;cursor:pointer}.live-inbox-read-all:disabled{opacity:.38;cursor:default}.live-inbox-read-all[hidden]{display:none!important}
.live-inbox-body{min-height:0;display:grid;grid-template-columns:minmax(250px,35%) minmax(0,1fr);overflow:hidden}.live-inbox-list{min-height:0;overflow:auto;padding:.38rem;border-right:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.12);scrollbar-width:thin}
.live-inbox-row{position:relative;width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:.38rem;margin-bottom:.28rem;padding:.4rem .42rem;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:rgba(11,19,18,.72);text-align:left;color:#d9e0dc;cursor:pointer;transition:border-color .16s ease,background .16s ease}.live-inbox-row:hover,.live-inbox-row.is-selected{border-color:rgba(225,190,96,.42);background:rgba(34,31,19,.7)}.live-inbox-row.is-unread{border-left:2px solid rgba(211,61,104,.75)}.live-inbox-row.is-read{opacity:.78}.live-inbox-row__icon{width:31px;height:31px;display:grid;place-items:center;border:1px solid rgba(111,202,168,.22);border-radius:50%;background:rgba(26,66,52,.35);color:#86d8b8;font-size:.43rem;font-weight:900}.live-inbox-row__copy{min-width:0}.live-inbox-row__copy small{display:block;color:#758a80;font-size:.23rem;letter-spacing:.08em}.live-inbox-row__copy strong{display:block;margin:.05rem 0;color:#e5e8e5;font-size:.37rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-inbox-row__copy em{display:block;color:#87968f;font-size:.28rem;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-inbox-unread-dot{width:7px;height:7px;border-radius:50%;background:#dc4f7b;box-shadow:0 0 8px rgba(220,79,123,.5)}
.live-inbox-gift-state{min-width:52px;color:#85958e;font-size:.24rem;text-align:right}.live-inbox-gift-state.is-claimable{color:#f2ca6b}.live-inbox-row--gift .live-inbox-row__icon{border-color:rgba(226,190,96,.3);background:rgba(79,56,17,.28);color:#e5c469}
.live-inbox-detail{min-height:0;overflow:auto;padding:.68rem .78rem;scrollbar-width:thin}.live-inbox-detail-card{min-height:100%;display:flex;flex-direction:column}.live-inbox-detail-card header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.live-inbox-detail-card header span{display:inline-flex;padding:.13rem .35rem;border:1px solid rgba(102,201,164,.3);border-radius:999px;background:rgba(42,91,72,.22);color:#79d0ae;font-size:.28rem;font-weight:900;letter-spacing:.08em}.live-inbox-detail-card header small{color:#72837b;font-size:.29rem}.live-inbox-detail-card h3{margin:.52rem 0 .18rem;color:#fff0c8;font-size:.78rem;line-height:1.3}.live-inbox-detail-card>strong{color:#c9d5cf;font-size:.39rem;line-height:1.5}.live-inbox-detail-card>p{margin:.46rem 0;color:#a6b2ac;font-size:.36rem;line-height:1.75;white-space:pre-line}.live-inbox-detail-card footer{margin-top:auto;display:flex;align-items:center;gap:.6rem;padding-top:.55rem;border-top:1px solid rgba(255,255,255,.07)}.live-inbox-detail-card footer em{margin-left:auto;color:#6f8178;font-size:.25rem;font-style:normal;letter-spacing:.06em}.live-inbox-primary{min-height:30px;padding:0 .72rem;border:1px solid rgba(226,190,96,.55);border-radius:7px;background:linear-gradient(180deg,#a77e2c,#624511);color:#fff2c9;font-size:.34rem;font-weight:900;cursor:pointer}.live-inbox-primary:disabled{border-color:rgba(255,255,255,.12);background:rgba(46,54,50,.65);color:#7e8c85;cursor:default}
.live-inbox-detail-card--gift{text-align:center;align-items:center}.live-inbox-detail-card--gift header{width:100%}.live-inbox-detail-card--gift h3{font-size:.86rem}.live-inbox-detail-card--gift>strong{color:#f0cc72;font-size:.6rem}.live-inbox-detail-card--gift>p{max-width:92%;font-size:.35rem}.live-inbox-detail-card--gift footer{width:100%;justify-content:center}.live-inbox-present-icon{width:58px;height:58px;display:grid;place-items:center;margin:.45rem auto .04rem;border:1px solid rgba(226,190,96,.38);border-radius:50%;background:radial-gradient(circle,rgba(226,190,96,.18),rgba(50,39,15,.28));color:#e7c66e;font-size:1.2rem;box-shadow:0 0 20px rgba(217,177,68,.08)}
.live-inbox-detail-empty,.live-inbox-empty{min-height:100%;display:grid;place-items:center;align-content:center;gap:.15rem;margin:0;color:#72837a;text-align:center}.live-inbox-detail-empty span{font-size:1.2rem;color:#8ba198}.live-inbox-detail-empty strong{color:#aab8b2;font-size:.5rem}.live-inbox-detail-empty p{margin:0;font-size:.34rem}
.live-inbox-foot{min-height:42px;display:flex;align-items:center;gap:.65rem;padding:.4rem .75rem;border-top:1px solid rgba(225,190,101,.14)}.live-inbox-foot span{color:#788980;font-size:.29rem}.live-inbox-foot b{color:#6e9d8b;font-size:.27rem}.live-inbox-foot button{margin-left:auto;min-height:27px;padding:0 .72rem;border:1px solid rgba(226,190,96,.54);border-radius:7px;background:linear-gradient(180deg,#9c7629,#604311);color:#fff0c4;font-size:.34rem;font-weight:900;cursor:pointer}
@media (max-width:760px) and (orientation:landscape){.live-inbox-panel{width:calc(100vw - 12px);height:calc(100vh - 12px);border-radius:11px}.live-inbox-head{min-height:43px;padding:.34rem .56rem}.live-inbox-head h2{font-size:.66rem}.live-inbox-head p{display:none}.live-inbox-head__meta strong{font-size:.25rem}.live-inbox-head__meta button{width:25px;height:25px}.live-inbox-tabs{min-height:34px;padding:0 .42rem}.live-inbox-tabs>button:not(.live-inbox-read-all){min-width:105px;font-size:.3rem}.live-inbox-tabs>button span{font-size:.38rem}.live-inbox-body{grid-template-columns:34% 66%}.live-inbox-list{padding:.25rem}.live-inbox-row{grid-template-columns:27px minmax(0,1fr) auto;gap:.26rem;margin-bottom:.18rem;padding:.27rem .3rem}.live-inbox-row__icon{width:25px;height:25px;font-size:.34rem}.live-inbox-row__copy strong{font-size:.3rem}.live-inbox-row__copy em{font-size:.23rem}.live-inbox-detail{padding:.42rem .55rem}.live-inbox-detail-card h3{margin:.3rem 0 .12rem;font-size:.58rem}.live-inbox-detail-card>strong{font-size:.31rem}.live-inbox-detail-card>p{margin:.25rem 0;font-size:.29rem;line-height:1.55}.live-inbox-detail-card footer{padding-top:.32rem}.live-inbox-detail-card--gift h3{font-size:.64rem}.live-inbox-detail-card--gift>strong{font-size:.45rem}.live-inbox-present-icon{width:42px;height:42px;margin:.25rem auto 0;font-size:.86rem}.live-inbox-foot{min-height:33px;padding:.28rem .52rem}.live-inbox-foot span{font-size:.24rem}.live-inbox-foot button{min-height:23px;font-size:.29rem}.system-status-grid strong{font-size:.34rem}}
@media (max-height:360px) and (orientation:landscape){.live-inbox-head{min-height:38px}.live-inbox-tabs{min-height:31px}.live-inbox-row{padding:.22rem .27rem}.live-inbox-detail-card>p{line-height:1.45}.live-inbox-foot{min-height:30px}.live-inbox-present-icon{width:36px;height:36px;font-size:.72rem}.system-status-grid>span{padding:.19rem .28rem}}
@media (prefers-reduced-motion:reduce){.live-inbox-modal{backdrop-filter:none}.live-inbox-row{transition:none!important}}

/* ===== CASINOIR v0.30.0 / DAILY CHECK-IN ===== */
.home-checkin{position:absolute;z-index:6;left:55.1%;bottom:2.1%;width:14.2%;height:16%;min-height:46px;padding:.36rem .48rem;border:1px solid rgba(231,188,87,.62);border-radius:.75rem;background:radial-gradient(circle at 86% 18%,rgba(89,204,169,.15),transparent 36%),linear-gradient(145deg,rgba(9,45,35,.96),rgba(12,21,20,.97));box-shadow:0 8px 22px rgba(0,0,0,.36),inset 0 0 16px rgba(229,187,86,.04);color:inherit;text-align:left;font-family:inherit;cursor:pointer;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.home-checkin:hover,.home-checkin:focus-visible{transform:translateY(-1px);border-color:rgba(111,220,179,.76);box-shadow:0 10px 26px rgba(0,0,0,.4),0 0 18px rgba(73,196,151,.12),inset 0 0 16px rgba(229,187,86,.04);outline:none}
.home-checkin small{display:block;color:#7fcbb1;font-size:clamp(.36rem,.5vw,.46rem);font-weight:900;letter-spacing:.07em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-checkin strong{display:block;margin:.07rem 0;color:#f8dfa0;font-size:clamp(.51rem,.72vw,.65rem);white-space:nowrap}
.home-checkin span{display:block;color:#aebdb7;font-size:clamp(.31rem,.43vw,.39rem);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-checkin>i{position:absolute;right:.42rem;top:.38rem;width:7px;height:7px;border-radius:50%;background:#f0bd55;box-shadow:0 0 10px rgba(240,189,85,.78);animation:dailyCheckinPulse 1.8s ease-in-out infinite}
.home-checkin>i[hidden]{display:none!important}.home-checkin.has-reward{border-color:rgba(239,194,87,.86);box-shadow:0 8px 24px rgba(0,0,0,.4),0 0 18px rgba(239,194,87,.11),inset 0 0 18px rgba(80,204,163,.06)}.home-checkin.is-claimed{border-color:rgba(98,182,153,.42);filter:saturate(.82)}.home-checkin.is-claimed strong{color:#a9dcc9}.home-checkin.is-disabled{opacity:.56;filter:saturate(.35)}
@keyframes dailyCheckinPulse{0%,100%{transform:scale(1);opacity:.75}50%{transform:scale(1.35);opacity:1}}

.daily-checkin-modal{position:fixed;inset:0;z-index:1220;display:grid;place-items:center;padding:8px;background:rgba(2,5,8,.82);backdrop-filter:blur(8px);color:#f1eee7}
.daily-checkin-modal[hidden]{display:none!important}
.daily-checkin-panel{width:min(900px,calc(100vw - 16px));height:min(520px,calc(100vh - 16px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(226,190,96,.54);border-radius:15px;background:radial-gradient(circle at 88% 4%,rgba(61,185,145,.1),transparent 30%),radial-gradient(circle at 12% 100%,rgba(208,165,65,.08),transparent 35%),linear-gradient(145deg,rgba(7,25,19,.996),rgba(9,11,17,.996));box-shadow:0 26px 74px rgba(0,0,0,.72),inset 0 0 38px rgba(226,191,96,.025)}
.daily-checkin-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.58rem .85rem;border-bottom:1px solid rgba(225,190,101,.16)}
.daily-checkin-head>div:first-child small{display:block;color:#d8b95e;font-size:.31rem;font-weight:900;letter-spacing:.14em}.daily-checkin-head h2{margin:.03rem 0;color:#fff1c8;font-size:.86rem}.daily-checkin-head p{margin:0;color:#91a29a;font-size:.34rem}
.daily-checkin-head__meta{display:flex;align-items:center;gap:.55rem}.daily-checkin-head__meta strong{color:#7bd5b3;font-size:.31rem;letter-spacing:.07em;white-space:nowrap}.daily-checkin-head__meta button{width:29px;height:29px;border:1px solid rgba(225,190,101,.34);border-radius:50%;background:rgba(0,0,0,.2);color:#ead89f;font-size:.9rem;cursor:pointer}
.daily-checkin-hero{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem .9rem;background:linear-gradient(90deg,rgba(18,57,44,.46),rgba(45,33,15,.22));border-bottom:1px solid rgba(255,255,255,.06)}
.daily-checkin-hero>div{min-width:0}.daily-checkin-hero small{display:block;color:#7acdaf;font-size:.28rem;font-weight:900;letter-spacing:.12em}.daily-checkin-hero strong{display:block;margin:.08rem 0;color:#f1d27b;font-size:.54rem;letter-spacing:.05em}.daily-checkin-hero p{margin:0;color:#95a69e;font-size:.31rem;line-height:1.45}.daily-checkin-hero>span{display:grid;place-items:center;width:48px;height:48px;flex:none;border:1px solid rgba(232,192,95,.42);border-radius:50%;background:radial-gradient(circle,rgba(229,188,83,.2),rgba(36,31,16,.26));color:#e7c66e;font-size:1.18rem;box-shadow:0 0 22px rgba(224,180,70,.08)}
.daily-checkin-reward-grid{min-height:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:stretch;gap:.42rem;padding:.62rem .72rem;overflow:hidden}
.daily-checkin-reward{position:relative;min-width:0;display:grid;grid-template-rows:auto 1fr auto auto;place-items:center;gap:.18rem;padding:.38rem .24rem;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:linear-gradient(180deg,rgba(21,32,28,.88),rgba(11,17,16,.92));box-shadow:inset 0 0 14px rgba(255,255,255,.015);text-align:center;transition:transform .17s ease,border-color .17s ease,background .17s ease}
.daily-checkin-reward small{color:#72857c;font-size:.25rem;font-weight:900;letter-spacing:.08em}.daily-checkin-reward span{align-self:center;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(117,205,172,.18);border-radius:50%;background:rgba(39,85,68,.18);color:#7fcdb0;font-size:.72rem}.daily-checkin-reward strong{color:#dcd8ca;font-size:.35rem;white-space:nowrap}.daily-checkin-reward em{color:#667870;font-size:.22rem;font-style:normal;font-weight:900;letter-spacing:.06em}
.daily-checkin-reward.is-current{transform:translateY(-2px);border-color:rgba(235,190,83,.78);background:radial-gradient(circle at 50% 22%,rgba(233,190,85,.12),transparent 48%),linear-gradient(180deg,rgba(43,43,26,.94),rgba(20,27,22,.95));box-shadow:0 8px 20px rgba(0,0,0,.28),0 0 16px rgba(230,186,80,.08)}.daily-checkin-reward.is-current small,.daily-checkin-reward.is-current strong{color:#f5dc9a}.daily-checkin-reward.is-current em{color:#e7bb55}.daily-checkin-reward.is-current span{border-color:rgba(235,190,83,.45);background:rgba(99,74,24,.35);color:#edc865}
.daily-checkin-reward.is-complete{border-color:rgba(93,188,154,.35);background:linear-gradient(180deg,rgba(22,53,43,.84),rgba(10,27,22,.9));opacity:.9}.daily-checkin-reward.is-complete span{border-color:rgba(93,199,159,.32);background:rgba(53,120,94,.28);color:#82d9b9}.daily-checkin-reward.is-complete em{color:#69b797}.daily-checkin-reward.is-today{box-shadow:0 0 0 1px rgba(105,211,171,.12),inset 0 0 18px rgba(83,198,157,.06)}
.daily-checkin-foot{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto auto;align-items:center;column-gap:.48rem;padding:.38rem .72rem;border-top:1px solid rgba(225,190,101,.14)}
.daily-checkin-foot>span{grid-column:1;grid-row:1;color:#80938a;font-size:.28rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.daily-checkin-foot>b{grid-column:1;grid-row:2;color:#6c9f8c;font-size:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.daily-checkin-claim{grid-column:2;grid-row:1/3;min-height:31px;padding:0 .72rem;border:1px solid rgba(238,194,91,.66);border-radius:7px;background:linear-gradient(180deg,#b58c35,#6c4d13);color:#fff2c9;font-size:.34rem;font-weight:900;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.22)}.daily-checkin-claim:disabled{border-color:rgba(255,255,255,.12);background:rgba(47,56,51,.72);color:#7f8d86;cursor:default;box-shadow:none}.daily-checkin-done{grid-column:3;grid-row:1/3;min-height:31px;padding:0 .62rem;border:1px solid rgba(226,190,96,.3);border-radius:7px;background:rgba(10,24,19,.82);color:#bdcbc5;font-size:.32rem;font-weight:800;cursor:pointer}
.system-status-grid{grid-template-columns:repeat(6,minmax(0,1fr))}

@media (max-width:760px) and (orientation:landscape){
  .home-checkin{left:55%;width:14.4%;padding:.3rem .38rem}.home-checkin small{font-size:.32rem}.home-checkin strong{font-size:.47rem}.home-checkin span{font-size:.28rem}.home-checkin>i{right:.3rem;top:.3rem;width:6px;height:6px}
  .daily-checkin-panel{width:calc(100vw - 12px);height:calc(100vh - 12px);border-radius:11px}.daily-checkin-head{min-height:43px;padding:.34rem .56rem}.daily-checkin-head h2{font-size:.66rem}.daily-checkin-head p{display:none}.daily-checkin-head__meta strong{font-size:.25rem}.daily-checkin-head__meta button{width:25px;height:25px}.daily-checkin-hero{min-height:56px;padding:.38rem .62rem}.daily-checkin-hero p{font-size:.26rem}.daily-checkin-hero strong{font-size:.43rem}.daily-checkin-hero>span{width:38px;height:38px;font-size:.9rem}.daily-checkin-reward-grid{gap:.25rem;padding:.42rem .5rem}.daily-checkin-reward{gap:.1rem;padding:.28rem .14rem;border-radius:8px}.daily-checkin-reward small{font-size:.2rem}.daily-checkin-reward span{width:27px;height:27px;font-size:.54rem}.daily-checkin-reward strong{font-size:.28rem}.daily-checkin-reward em{font-size:.18rem}.daily-checkin-foot{min-height:39px;padding:.28rem .52rem;column-gap:.34rem}.daily-checkin-foot>span{font-size:.23rem}.daily-checkin-foot>b{font-size:.21rem}.daily-checkin-claim,.daily-checkin-done{min-height:25px;padding:0 .5rem;font-size:.27rem}.system-status-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.system-status-grid small{font-size:.23rem}.system-status-grid strong{font-size:.29rem}
}
@media (max-width:690px) and (orientation:landscape){.home-checkin span{display:none}.home-checkin strong{margin-top:.12rem}.daily-checkin-hero p{display:none}.daily-checkin-reward-grid{gap:.18rem;padding:.34rem .4rem}.daily-checkin-reward span{width:24px;height:24px}.daily-checkin-foot>b{display:none}.daily-checkin-foot>span{grid-row:1/3;align-self:center}.system-status-grid small{font-size:.2rem}.system-status-grid strong{font-size:.26rem}}
@media (max-height:360px) and (orientation:landscape){.home-checkin span{display:none}.daily-checkin-head{min-height:38px}.daily-checkin-hero{min-height:48px}.daily-checkin-hero>span{width:32px;height:32px;font-size:.72rem}.daily-checkin-reward-grid{padding:.28rem .44rem}.daily-checkin-reward{padding:.2rem .12rem}.daily-checkin-reward span{width:23px;height:23px}.daily-checkin-foot{min-height:34px;padding:.2rem .5rem}.daily-checkin-foot>b{display:none}}
@media (prefers-reduced-motion:reduce){.home-checkin,.daily-checkin-reward{transition:none!important}.home-checkin>i{animation:none!important}.daily-checkin-modal{backdrop-filter:none}}

/* CASINOIR v0.31.0 — LIVE OPS CENTER / TODAY BOARD */
.today-board-modal{position:fixed;inset:0;z-index:1230;display:grid;place-items:center;padding:8px;background:rgba(2,5,8,.82);backdrop-filter:blur(8px);color:#f1eee7}
.today-board-modal[hidden]{display:none!important}
.today-board-panel{width:min(920px,calc(100vw - 16px));height:min(520px,calc(100vh - 16px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(226,190,96,.56);border-radius:15px;background:radial-gradient(circle at 85% 0,rgba(82,184,150,.11),transparent 30%),radial-gradient(circle at 10% 100%,rgba(219,172,67,.08),transparent 34%),linear-gradient(145deg,rgba(7,24,19,.997),rgba(9,11,17,.997));box-shadow:0 26px 74px rgba(0,0,0,.72),inset 0 0 40px rgba(226,191,96,.025)}
.today-board-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.58rem .85rem;border-bottom:1px solid rgba(225,190,101,.16)}
.today-board-head>div:first-child small{display:block;color:#d8b95e;font-size:.31rem;font-weight:900;letter-spacing:.14em}.today-board-head h2{margin:.03rem 0;color:#fff1c8;font-size:.86rem}.today-board-head p{margin:0;color:#91a29a;font-size:.34rem}.today-board-head__meta{display:flex;align-items:center;gap:.55rem}.today-board-head__meta strong{color:#7bd5b3;font-size:.31rem;letter-spacing:.05em;white-space:nowrap}.today-board-head__meta button{width:29px;height:29px;border:1px solid rgba(225,190,101,.34);border-radius:50%;background:rgba(0,0,0,.2);color:#ead89f;font-size:.9rem;cursor:pointer}
.today-board-summary{min-height:70px;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,28%) auto;grid-template-rows:auto auto;align-items:center;column-gap:.75rem;padding:.46rem .85rem;background:linear-gradient(90deg,rgba(18,57,44,.44),rgba(45,33,15,.2));border-bottom:1px solid rgba(255,255,255,.06)}
.today-board-summary>div:first-child{grid-row:1/3}.today-board-summary small{display:block;color:#7acdaf;font-size:.27rem;font-weight:900;letter-spacing:.12em}.today-board-summary strong{display:block;margin:.07rem 0;color:#f1d27b;font-size:.57rem;letter-spacing:.05em}.today-board-summary span{display:block;color:#96a79f;font-size:.3rem}.today-board-meter{grid-column:2;grid-row:1/3;width:100%;height:7px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.08);box-shadow:inset 0 1px 3px rgba(0,0,0,.35)}.today-board-meter i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4bb18c,#e2bb61);transition:width .2s ease}.today-board-summary>button{grid-column:3;grid-row:1/3;min-height:32px;padding:0 .8rem;border:1px solid rgba(238,194,91,.68);border-radius:7px;background:linear-gradient(180deg,#b58c35,#6c4d13);color:#fff2c9;font-size:.34rem;font-weight:900;letter-spacing:.04em;cursor:pointer;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.22)}
.today-board-grid{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem;padding:.58rem .72rem;overflow:auto}
.today-board-card{position:relative;min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:1fr auto;align-items:center;gap:.18rem .5rem;padding:.45rem .5rem;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:linear-gradient(180deg,rgba(21,32,28,.9),rgba(11,17,16,.94));box-shadow:inset 0 0 15px rgba(255,255,255,.014)}
.today-board-card__icon{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(117,205,172,.22);border-radius:50%;background:rgba(39,85,68,.18);color:#7fcdb0;font-size:.78rem}.today-board-card>div{min-width:0}.today-board-card small{display:block;color:#789087;font-size:.24rem;font-weight:900;letter-spacing:.09em}.today-board-card strong{display:block;margin:.05rem 0;color:#e8e1cf;font-size:.38rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.today-board-card p{margin:0;color:#879a91;font-size:.28rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.today-board-card>b{align-self:start;color:#e2b95e;font-size:.25rem;letter-spacing:.08em}.today-board-card>button{grid-column:3;grid-row:2;min-width:46px;min-height:23px;border:1px solid rgba(224,188,94,.32);border-radius:6px;background:rgba(11,28,22,.86);color:#d8c89d;font-size:.25rem;font-weight:900;cursor:pointer}.today-board-card.is-clear{border-color:rgba(84,191,151,.35);background:linear-gradient(180deg,rgba(21,52,42,.86),rgba(9,27,22,.92))}.today-board-card.is-clear .today-board-card__icon{border-color:rgba(93,199,159,.35);background:rgba(53,120,94,.28);color:#82d9b9}.today-board-card.is-clear>b{color:#76c8a8}.today-board-card.is-warning{border-color:rgba(223,105,80,.46);background:linear-gradient(180deg,rgba(58,29,24,.88),rgba(24,18,16,.94))}.today-board-card.is-warning>b{color:#e38f77}
.today-board-foot{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.34rem .72rem;border-top:1px solid rgba(225,190,101,.14)}.today-board-foot span{color:#7f9189;font-size:.27rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.today-board-foot button{min-height:28px;padding:0 .65rem;border:1px solid rgba(226,190,96,.3);border-radius:7px;background:rgba(10,24,19,.82);color:#bdcbc5;font-size:.31rem;font-weight:800;cursor:pointer}
.home-utils #homeTodayButton{color:#83d6b7}.home-utils #homeTodayButton.has-alert{border-color:rgba(113,214,177,.72);box-shadow:0 0 15px rgba(81,196,155,.12)}
@media (max-width:760px) and (orientation:landscape){.today-board-panel{width:calc(100vw - 12px);height:calc(100vh - 12px);border-radius:11px}.today-board-head{min-height:42px;padding:.33rem .55rem}.today-board-head h2{font-size:.65rem}.today-board-head p{display:none}.today-board-head__meta strong{font-size:.24rem}.today-board-head__meta button{width:25px;height:25px}.today-board-summary{min-height:54px;grid-template-columns:minmax(0,1fr) 24% auto;padding:.34rem .55rem;column-gap:.45rem}.today-board-summary strong{font-size:.43rem}.today-board-summary span{font-size:.24rem}.today-board-summary>button{min-height:26px;padding:0 .54rem;font-size:.27rem}.today-board-grid{gap:.3rem;padding:.4rem .5rem}.today-board-card{grid-template-columns:32px minmax(0,1fr) auto;gap:.12rem .34rem;padding:.32rem .38rem;border-radius:8px}.today-board-card__icon{width:29px;height:29px;font-size:.58rem}.today-board-card small{font-size:.19rem}.today-board-card strong{font-size:.3rem}.today-board-card p{font-size:.23rem}.today-board-card>b{font-size:.2rem}.today-board-card>button{min-width:39px;min-height:20px;font-size:.21rem}.today-board-foot{min-height:34px;padding:.25rem .52rem}.today-board-foot span{font-size:.22rem}.today-board-foot button{min-height:24px;font-size:.27rem}.home-utils{gap:.22rem}.home-utils button{width:31px;height:31px}}
@media (max-width:690px) and (orientation:landscape){.today-board-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.24rem;padding:.3rem .4rem}.today-board-card p{display:none}.today-board-summary span{display:none}.today-board-foot span{display:none}.home-utils button{width:29px;height:29px;font-size:.88rem}.home-utils em{min-width:14px;height:14px;font-size:.46rem}}
@media (max-height:360px) and (orientation:landscape){.today-board-head{min-height:38px}.today-board-summary{min-height:47px;padding:.27rem .5rem}.today-board-grid{padding:.27rem .44rem}.today-board-card{padding:.25rem .34rem}.today-board-card__icon{width:25px;height:25px}.today-board-foot{min-height:30px;padding:.2rem .48rem}}
@media (prefers-reduced-motion:reduce){.today-board-modal{backdrop-filter:none}.today-board-meter i{transition:none!important}}

/* v0.32.0 — ACTIVITY JOURNAL / PLAYER PULSE */
.today-board-foot>div{display:flex;align-items:center;gap:.34rem;flex:0 0 auto}
.today-board-foot #todayBoardJournal{border-color:rgba(105,205,171,.42);color:#9ce0c7;background:rgba(17,52,41,.78)}
.system-status-grid{grid-template-columns:repeat(7,minmax(0,1fr))}

.activity-journal-modal{position:fixed;inset:0;z-index:1240;display:grid;place-items:center;padding:8px;background:rgba(2,5,8,.84);backdrop-filter:blur(9px);color:#f1eee7}
.activity-journal-modal[hidden]{display:none!important}
.activity-journal-panel{width:min(940px,calc(100vw - 16px));height:min(530px,calc(100vh - 16px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(105,205,171,.42);border-radius:15px;background:radial-gradient(circle at 18% 0,rgba(74,181,145,.13),transparent 31%),radial-gradient(circle at 92% 100%,rgba(226,185,83,.08),transparent 31%),linear-gradient(145deg,rgba(6,24,20,.998),rgba(8,11,17,.998));box-shadow:0 28px 78px rgba(0,0,0,.76),inset 0 0 42px rgba(90,198,160,.025)}
.activity-journal-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.58rem .85rem;border-bottom:1px solid rgba(111,204,172,.14)}
.activity-journal-head>div:first-child small{display:block;color:#78cdb0;font-size:.31rem;font-weight:900;letter-spacing:.14em}.activity-journal-head h2{margin:.03rem 0;color:#e8fff7;font-size:.86rem}.activity-journal-head p{margin:0;color:#91a59e;font-size:.34rem}
.activity-journal-head__meta{display:flex;align-items:center;gap:.55rem}.activity-journal-head__meta strong{color:#e0bc62;font-size:.31rem;letter-spacing:.05em;white-space:nowrap}.activity-journal-head__meta button{width:29px;height:29px;border:1px solid rgba(111,204,172,.3);border-radius:50%;background:rgba(0,0,0,.2);color:#b9e4d4;font-size:.9rem;cursor:pointer}
.activity-journal-summary{min-height:66px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.42rem;padding:.45rem .72rem;background:linear-gradient(90deg,rgba(18,57,44,.38),rgba(45,33,15,.16));border-bottom:1px solid rgba(255,255,255,.05)}
.activity-journal-summary article{min-width:0;padding:.34rem .48rem;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(3,13,12,.35)}.activity-journal-summary small{display:block;color:#77968a;font-size:.23rem;font-weight:900;letter-spacing:.1em}.activity-journal-summary strong{display:block;margin:.05rem 0;color:#f0d27f;font-size:.54rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-journal-summary span{display:block;color:#8ca198;font-size:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.activity-journal-body{min-height:0;display:grid;grid-template-columns:43% 57%;overflow:hidden}
.activity-journal-pulse,.activity-journal-history{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);padding:.5rem .58rem}.activity-journal-pulse{border-right:1px solid rgba(255,255,255,.06)}
.activity-journal-pulse>header,.activity-journal-history>header{min-height:28px;display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.activity-journal-pulse header small,.activity-journal-history header small{display:block;color:#6d8d82;font-size:.21rem;font-weight:900;letter-spacing:.1em}.activity-journal-pulse h3,.activity-journal-history h3{margin:.02rem 0 0;color:#dfece7;font-size:.46rem}.activity-journal-pulse header>span,.activity-journal-history header>span{color:#68847b;font-size:.21rem;letter-spacing:.08em}
.activity-pulse-grid{min-height:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:.28rem;padding-top:.26rem}
.activity-pulse-day{position:relative;min-width:0;display:grid;grid-template-rows:auto auto 1fr auto;align-items:center;justify-items:center;padding:.22rem .12rem;border:1px solid rgba(255,255,255,.065);border-radius:8px;background:rgba(7,18,16,.7);overflow:hidden}.activity-pulse-day small{color:#6e847d;font-size:.18rem}.activity-pulse-day strong{color:#cddbd5;font-size:.29rem}.activity-pulse-day i{align-self:center;width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.055);box-shadow:0 0 0 1px rgba(255,255,255,.035)}.activity-pulse-day span{max-width:100%;color:#6f8980;font-size:.17rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-pulse-day--1 i{background:rgba(80,181,145,.3)}.activity-pulse-day--2 i{background:rgba(80,181,145,.5);box-shadow:0 0 8px rgba(80,181,145,.08)}.activity-pulse-day--3 i{background:rgba(84,198,156,.72);box-shadow:0 0 10px rgba(80,181,145,.13)}.activity-pulse-day--4 i{background:#75d1b0;box-shadow:0 0 13px rgba(91,207,165,.2)}.activity-pulse-day.is-today{border-color:rgba(224,187,92,.45);box-shadow:inset 0 0 11px rgba(224,187,92,.035)}.activity-pulse-day.is-today strong{color:#f2d381}
.activity-journal-history{position:relative}.activity-journal-timeline{min-height:0;overflow:auto;padding:.22rem .08rem .1rem 0;scrollbar-width:thin;scrollbar-color:rgba(109,198,166,.28) transparent}.activity-journal-empty{position:absolute;left:.58rem;right:.58rem;top:50%;transform:translateY(-30%);margin:0;color:#71867e;font-size:.3rem;line-height:1.55;text-align:center}.activity-journal-empty[hidden]{display:none!important}
.activity-timeline-row{display:grid;grid-template-columns:31px minmax(0,1fr);gap:.38rem;align-items:center;margin-bottom:.24rem;padding:.28rem .36rem;border:1px solid rgba(255,255,255,.065);border-radius:8px;background:linear-gradient(90deg,rgba(13,30,25,.72),rgba(8,15,14,.62))}.activity-timeline-icon{display:grid;place-items:center;width:27px;height:27px;border:1px solid rgba(105,205,171,.2);border-radius:50%;background:rgba(57,132,105,.14);color:#7cd0b2;font-size:.42rem;font-weight:900}.activity-timeline-row>div{min-width:0}.activity-timeline-row small{display:block;color:#66877b;font-size:.19rem;font-weight:900;letter-spacing:.07em}.activity-timeline-row strong{display:block;margin:.02rem 0;color:#dbe7e2;font-size:.31rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-timeline-row em{display:block;color:#879a92;font-size:.23rem;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-timeline-row--present .activity-timeline-icon,.activity-timeline-row--season .activity-timeline-icon{border-color:rgba(226,185,83,.25);background:rgba(118,85,25,.16);color:#e3bd62}.activity-timeline-row--session .activity-timeline-icon{color:#b8e6d6}
.activity-journal-foot{min-height:42px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.6rem;padding:.32rem .68rem;border-top:1px solid rgba(105,205,171,.12)}.activity-journal-foot span{min-width:0;color:#748a82;font-size:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-journal-foot b{color:#876f42;font-size:.22rem;font-weight:800;white-space:nowrap}.activity-journal-foot button{min-height:27px;padding:0 .62rem;border:1px solid rgba(105,205,171,.28);border-radius:7px;background:rgba(10,29,23,.86);color:#b9d7cc;font-size:.29rem;font-weight:800;cursor:pointer}

@media (max-width:760px) and (orientation:landscape){
  .activity-journal-panel{width:calc(100vw - 12px);height:calc(100vh - 12px);border-radius:11px}.activity-journal-head{min-height:42px;padding:.32rem .55rem}.activity-journal-head h2{font-size:.64rem}.activity-journal-head p{display:none}.activity-journal-head__meta strong{font-size:.23rem}.activity-journal-head__meta button{width:25px;height:25px}.activity-journal-summary{min-height:52px;gap:.26rem;padding:.31rem .48rem}.activity-journal-summary article{padding:.23rem .31rem}.activity-journal-summary small{font-size:.17rem}.activity-journal-summary strong{font-size:.4rem}.activity-journal-summary span{font-size:.19rem}.activity-journal-pulse,.activity-journal-history{padding:.34rem .42rem}.activity-journal-pulse>header,.activity-journal-history>header{min-height:22px}.activity-journal-pulse header small,.activity-journal-history header small{font-size:.16rem}.activity-journal-pulse h3,.activity-journal-history h3{font-size:.34rem}.activity-pulse-grid{gap:.2rem;padding-top:.18rem}.activity-pulse-day{padding:.14rem .07rem;border-radius:6px}.activity-pulse-day small{font-size:.14rem}.activity-pulse-day strong{font-size:.22rem}.activity-pulse-day i{width:13px;height:13px}.activity-pulse-day span{font-size:.13rem}.activity-timeline-row{grid-template-columns:25px minmax(0,1fr);gap:.28rem;margin-bottom:.17rem;padding:.2rem .27rem;border-radius:6px}.activity-timeline-icon{width:22px;height:22px;font-size:.31rem}.activity-timeline-row small{font-size:.15rem}.activity-timeline-row strong{font-size:.24rem}.activity-timeline-row em{font-size:.18rem}.activity-journal-foot{min-height:33px;gap:.35rem;padding:.24rem .48rem}.activity-journal-foot span{font-size:.19rem}.activity-journal-foot b{font-size:.17rem}.activity-journal-foot button{min-height:23px;padding:0 .46rem;font-size:.24rem}.system-status-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.system-status-grid small{font-size:.19rem}
}
@media (max-width:690px) and (orientation:landscape){.activity-journal-body{grid-template-columns:44% 56%}.activity-journal-summary span{display:none}.activity-pulse-day span{display:none}.activity-journal-foot span{display:none}.activity-journal-foot{grid-template-columns:1fr auto;justify-items:end}.activity-journal-foot b{justify-self:start}.today-board-foot>span{display:none}.today-board-foot{justify-content:flex-end}.system-status-grid small{font-size:.17rem}.system-status-grid strong{font-size:.22rem}}
@media (max-height:360px) and (orientation:landscape){.activity-journal-head{min-height:37px}.activity-journal-summary{min-height:45px;padding:.24rem .45rem}.activity-journal-pulse,.activity-journal-history{padding:.27rem .38rem}.activity-journal-foot{min-height:29px;padding:.18rem .44rem}.activity-pulse-day i{width:11px;height:11px}.activity-timeline-row{padding:.16rem .24rem}}
@media (prefers-reduced-motion:reduce){.activity-journal-modal{backdrop-filter:none}}

/* CASINOIR v0.33.0 — WEEKLY CHALLENGE / WEEKLY OPS */
.today-board-foot #todayBoardWeekly{border-color:rgba(226,190,96,.46);color:#efd483;background:rgba(68,49,14,.72)}
.today-board-foot #todayBoardWeekly.has-reward{border-color:rgba(239,201,103,.86);box-shadow:0 0 13px rgba(229,188,85,.12);color:#fff0bd}
.today-board-foot #todayBoardWeekly.is-warning{border-color:rgba(223,105,80,.62);color:#e9a08c}
.system-status-grid{grid-template-columns:repeat(8,minmax(0,1fr))}
.activity-timeline-row--weekly .activity-timeline-icon{border-color:rgba(226,185,83,.34);background:rgba(118,85,25,.18);color:#efc967}

.weekly-challenge-modal{position:fixed;inset:0;z-index:1250;display:grid;place-items:center;padding:8px;background:rgba(2,5,8,.85);backdrop-filter:blur(9px);color:#f1eee7}
.weekly-challenge-modal[hidden]{display:none!important}
.weekly-challenge-panel{width:min(940px,calc(100vw - 16px));height:min(530px,calc(100vh - 16px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;overflow:hidden;border:1px solid rgba(228,190,92,.5);border-radius:15px;background:radial-gradient(circle at 88% 0,rgba(226,185,83,.11),transparent 31%),radial-gradient(circle at 12% 100%,rgba(74,181,145,.09),transparent 34%),linear-gradient(145deg,rgba(20,18,10,.998),rgba(8,13,15,.998));box-shadow:0 28px 78px rgba(0,0,0,.76),inset 0 0 42px rgba(225,188,91,.025)}
.weekly-challenge-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.58rem .85rem;border-bottom:1px solid rgba(225,190,101,.15)}
.weekly-challenge-head>div:first-child small{display:block;color:#d9b95e;font-size:.31rem;font-weight:900;letter-spacing:.14em}.weekly-challenge-head h2{margin:.03rem 0;color:#fff0bf;font-size:.86rem}.weekly-challenge-head p{margin:0;color:#978f79;font-size:.34rem}.weekly-challenge-head__meta{display:flex;align-items:center;gap:.55rem}.weekly-challenge-head__meta strong{color:#78cdb0;font-size:.31rem;letter-spacing:.05em;white-space:nowrap}.weekly-challenge-head__meta button{width:29px;height:29px;border:1px solid rgba(225,190,101,.34);border-radius:50%;background:rgba(0,0,0,.2);color:#ead89f;font-size:.9rem;cursor:pointer}
.weekly-challenge-summary{min-height:66px;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,30%) auto;grid-template-rows:auto auto;align-items:center;column-gap:.75rem;padding:.44rem .82rem;background:linear-gradient(90deg,rgba(65,48,16,.35),rgba(18,57,44,.24));border-bottom:1px solid rgba(255,255,255,.05)}
.weekly-challenge-summary>div:first-child{grid-row:1/3}.weekly-challenge-summary small{display:block;color:#b99a4c;font-size:.25rem;font-weight:900;letter-spacing:.11em}.weekly-challenge-summary strong{display:block;margin:.04rem 0;color:#f0d27f;font-size:.56rem;letter-spacing:.04em}.weekly-challenge-summary span{display:block;color:#8f9a8d;font-size:.28rem}.weekly-challenge-summary>b{grid-column:3;grid-row:1/3;color:#88bca9;font-size:.27rem;white-space:nowrap}.weekly-challenge-meter{grid-column:2;grid-row:1/3;width:100%;height:7px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.08);box-shadow:inset 0 1px 3px rgba(0,0,0,.35)}.weekly-challenge-meter i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7fcdb0,#e2bb61);transition:width .2s ease}
.weekly-challenge-list{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.48rem;padding:.56rem .68rem;overflow:auto}
.weekly-challenge-goal{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:.32rem .42rem;padding:.48rem .5rem;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:linear-gradient(180deg,rgba(29,27,18,.84),rgba(12,17,15,.92))}.weekly-challenge-goal__icon{grid-row:1/3;display:grid;place-items:center;width:35px;height:35px;border:1px solid rgba(226,190,96,.24);border-radius:50%;background:rgba(107,78,23,.14);color:#e1bc62;font-size:.66rem}.weekly-challenge-goal>div{min-width:0}.weekly-challenge-goal small{display:block;color:#8f876e;font-size:.23rem;font-weight:900;letter-spacing:.07em}.weekly-challenge-goal strong{display:block;margin:.07rem 0;color:#eee5ce;font-size:.48rem}.weekly-challenge-goal p{min-height:2.7em;margin:.08rem 0 .25rem;color:#89958d;font-size:.26rem;line-height:1.35}.weekly-challenge-goal>div>i{display:block;width:100%;height:5px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.07)}.weekly-challenge-goal>div>i>em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6bc4a3,#d4ae55)}.weekly-challenge-goal>b{grid-column:2;align-self:center;color:#d5b45f;font-size:.25rem}.weekly-challenge-goal>button{grid-column:2;min-height:25px;border:1px solid rgba(226,190,96,.3);border-radius:7px;background:rgba(29,35,28,.85);color:#a9b6b0;font-size:.26rem;font-weight:900;cursor:pointer}.weekly-challenge-goal>button:disabled{opacity:.55;cursor:default}.weekly-challenge-goal.is-complete{border-color:rgba(95,195,158,.3);background:linear-gradient(180deg,rgba(24,48,39,.82),rgba(11,25,21,.92))}.weekly-challenge-goal.is-claimable{border-color:rgba(228,190,92,.52);box-shadow:inset 0 0 18px rgba(226,190,96,.035)}.weekly-challenge-goal.is-claimable>button{border-color:rgba(234,195,94,.64);background:linear-gradient(180deg,#8f6c25,#59400f);color:#fff0bd}
.weekly-challenge-bonus{min-height:58px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:.48rem;margin:0 .68rem .42rem;padding:.38rem .52rem;border:1px solid rgba(226,190,96,.18);border-radius:10px;background:linear-gradient(90deg,rgba(60,44,15,.28),rgba(18,49,39,.2))}.weekly-challenge-bonus>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgba(226,190,96,.1);color:#dfbc64;font-size:.72rem}.weekly-challenge-bonus>div{min-width:0}.weekly-challenge-bonus small{display:block;color:#9d8850;font-size:.22rem;font-weight:900;letter-spacing:.09em}.weekly-challenge-bonus strong{display:block;color:#e7dfcb;font-size:.34rem}.weekly-challenge-bonus p{margin:.03rem 0 0;color:#829189;font-size:.24rem}.weekly-challenge-bonus>button{min-height:28px;padding:0 .62rem;border:1px solid rgba(226,190,96,.3);border-radius:7px;background:rgba(34,31,21,.84);color:#9b9f92;font-size:.25rem;font-weight:900;white-space:nowrap}.weekly-challenge-bonus.is-ready{border-color:rgba(230,193,98,.52)}.weekly-challenge-bonus.is-ready>button{border-color:rgba(230,193,98,.68);background:linear-gradient(180deg,#9c772c,#5e4311);color:#fff1c2;cursor:pointer}
.weekly-challenge-foot{min-height:40px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.58rem;padding:.3rem .68rem;border-top:1px solid rgba(226,190,96,.12)}.weekly-challenge-foot span{min-width:0;color:#7f8d85;font-size:.24rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.weekly-challenge-foot b{color:#806d42;font-size:.21rem;font-weight:800;white-space:nowrap}.weekly-challenge-foot button{min-height:27px;padding:0 .62rem;border:1px solid rgba(226,190,96,.28);border-radius:7px;background:rgba(24,25,19,.84);color:#c7c3af;font-size:.28rem;font-weight:800;cursor:pointer}

@media (max-width:760px) and (orientation:landscape){
  .weekly-challenge-panel{width:calc(100vw - 12px);height:calc(100vh - 12px);border-radius:11px}.weekly-challenge-head{min-height:42px;padding:.32rem .55rem}.weekly-challenge-head h2{font-size:.64rem}.weekly-challenge-head p{display:none}.weekly-challenge-head__meta strong{font-size:.22rem}.weekly-challenge-head__meta button{width:25px;height:25px}.weekly-challenge-summary{min-height:51px;grid-template-columns:minmax(0,1fr) 28% auto;padding:.3rem .52rem;column-gap:.42rem}.weekly-challenge-summary small{font-size:.18rem}.weekly-challenge-summary strong{font-size:.41rem}.weekly-challenge-summary span{font-size:.2rem}.weekly-challenge-summary>b{font-size:.19rem}.weekly-challenge-list{gap:.3rem;padding:.36rem .48rem}.weekly-challenge-goal{grid-template-columns:29px minmax(0,1fr);gap:.2rem .3rem;padding:.31rem .36rem;border-radius:8px}.weekly-challenge-goal__icon{width:27px;height:27px;font-size:.5rem}.weekly-challenge-goal small{font-size:.17rem}.weekly-challenge-goal strong{font-size:.35rem}.weekly-challenge-goal p{min-height:0;font-size:.19rem}.weekly-challenge-goal>b{font-size:.18rem}.weekly-challenge-goal>button{min-height:21px;font-size:.2rem}.weekly-challenge-bonus{min-height:47px;grid-template-columns:31px minmax(0,1fr) auto;gap:.34rem;margin:0 .48rem .28rem;padding:.27rem .38rem}.weekly-challenge-bonus>span{width:28px;height:28px;font-size:.55rem}.weekly-challenge-bonus small{font-size:.16rem}.weekly-challenge-bonus strong{font-size:.25rem}.weekly-challenge-bonus p{font-size:.18rem}.weekly-challenge-bonus>button{min-height:23px;padding:0 .46rem;font-size:.19rem}.weekly-challenge-foot{min-height:32px;gap:.32rem;padding:.22rem .48rem}.weekly-challenge-foot span{font-size:.18rem}.weekly-challenge-foot b{font-size:.16rem}.weekly-challenge-foot button{min-height:23px;font-size:.23rem}.system-status-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.system-status-grid small{font-size:.17rem}.system-status-grid strong{font-size:.22rem}.today-board-foot button{padding:0 .46rem;font-size:.23rem}
}
@media (max-width:690px) and (orientation:landscape){.weekly-challenge-goal p{display:none}.weekly-challenge-summary span{display:none}.weekly-challenge-foot span{display:none}.weekly-challenge-foot{grid-template-columns:1fr auto;justify-items:end}.weekly-challenge-foot b{justify-self:start}.weekly-challenge-bonus p{display:none}.today-board-foot>div{gap:.22rem}.today-board-foot #todayBoardJournal{font-size:.21rem}.today-board-foot #todayBoardWeekly{font-size:.21rem}.system-status-grid small{font-size:.15rem}.system-status-grid strong{font-size:.19rem}}
@media (max-height:360px) and (orientation:landscape){.weekly-challenge-head{min-height:37px}.weekly-challenge-summary{min-height:44px;padding:.23rem .48rem}.weekly-challenge-list{padding:.27rem .44rem}.weekly-challenge-goal{padding:.24rem .33rem}.weekly-challenge-bonus{min-height:41px;margin-bottom:.2rem;padding:.2rem .34rem}.weekly-challenge-foot{min-height:28px;padding:.16rem .44rem}}
@media (prefers-reduced-motion:reduce){.weekly-challenge-modal{backdrop-filter:none}.weekly-challenge-meter i{transition:none!important}}


/* CASINOIR v0.35.0 — LIVE OPS HARDENING / DATA INTEGRITY */
.system-status-grid{grid-template-columns:repeat(9,minmax(0,1fr))}
@media (max-width:760px) and (orientation:landscape){.system-status-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.system-status-grid small{font-size:.14rem;letter-spacing:.055em}.system-status-grid strong{font-size:.18rem}}
@media (max-width:690px) and (orientation:landscape){.system-status-grid small{font-size:.13rem}.system-status-grid strong{font-size:.17rem}}

/* CASINOIR v0.36.0 — SAVE VAULT / EXPORT & RESTORE */
.save-vault-modal{position:fixed;inset:0;z-index:1310;display:grid;place-items:center;padding:8px;background:rgba(2,5,9,.84);backdrop-filter:blur(8px);color:#eef3f1}.save-vault-modal[hidden]{display:none!important}
.save-vault-panel{width:min(760px,calc(100vw - 16px));max-height:calc(100vh - 16px);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;overflow:hidden;border:1px solid rgba(99,207,180,.42);border-radius:15px;background:linear-gradient(145deg,rgba(7,25,22,.995),rgba(7,10,17,.995));box-shadow:0 28px 78px rgba(0,0,0,.72),inset 0 0 36px rgba(86,217,186,.025)}
.save-vault-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem .8rem;border-bottom:1px solid rgba(98,203,177,.14)}.save-vault-head small{display:block;color:#65d1b1;font-size:.31rem;font-weight:900;letter-spacing:.13em}.save-vault-head h2{margin:.04rem 0;color:#eafff8;font-size:.88rem}.save-vault-head p{margin:0;color:#91a69e;font-size:.34rem}.save-vault-head>div:last-child{display:flex;align-items:center;gap:.45rem}.save-vault-head>div:last-child>strong{color:#89d7bd;font-size:.32rem;white-space:nowrap}.save-vault-head>div:last-child>strong.is-warning{color:#ffb577}.save-vault-head button{width:29px;height:29px;border:1px solid rgba(101,209,177,.3);border-radius:50%;background:rgba(0,0,0,.2);color:#bfe9dc;font-size:.9rem;cursor:pointer}
.save-vault-actions{display:grid;grid-template-columns:1fr 1fr;gap:.42rem;padding:.45rem .8rem}.save-vault-actions>button{min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:.45rem;padding:.4rem .5rem;border:1px solid rgba(101,209,177,.24);border-radius:10px;background:rgba(6,29,24,.62);color:#e6f5f0;text-align:left;cursor:pointer}.save-vault-actions>button:hover{border-color:rgba(101,209,177,.54)}.save-vault-actions>button:disabled{opacity:.4;cursor:default}.save-vault-actions>button>span{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:rgba(101,209,177,.1);color:#74dbba;font-size:.9rem}.save-vault-actions small{display:block;color:#779a8e;font-size:.24rem;letter-spacing:.08em}.save-vault-actions strong{display:block;margin:.03rem 0;color:#f0fff9;font-size:.48rem}.save-vault-actions em{display:block;color:#8ca39a;font-size:.28rem;font-style:normal}
.save-vault-preview{min-height:0;margin:0 .8rem;overflow:auto;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(0,0,0,.2)}.save-vault-empty{min-height:108px;display:grid;place-items:center;align-content:center;gap:.1rem;padding:.5rem;text-align:center}.save-vault-empty>span{color:#61d2af;font-size:.9rem}.save-vault-empty>strong{color:#d8eee6;font-size:.48rem}.save-vault-empty>p{max-width:36rem;margin:0;color:#7e958c;font-size:.32rem}.save-vault-empty.is-warning>span,.save-vault-empty.is-warning>strong{color:#ffb577}
.save-vault-preview-card{padding:.48rem}.save-vault-preview-card>header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding-bottom:.3rem;border-bottom:1px solid rgba(255,255,255,.07)}.save-vault-preview-card>header small{display:block;color:#63d1ae;font-size:.24rem;font-weight:900}.save-vault-preview-card>header strong{display:block;color:#ecfff8;font-size:.5rem}.save-vault-preview-card>header>b{color:#8fa49d;font-size:.29rem}.save-vault-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem;padding:.35rem 0}.save-vault-preview-grid>span{min-width:0;padding:.28rem .34rem;border:1px solid rgba(255,255,255,.06);border-radius:7px;background:rgba(255,255,255,.025)}.save-vault-preview-grid small{display:block;color:#6f887f;font-size:.23rem}.save-vault-preview-grid strong{display:block;margin-top:.04rem;color:#d7e9e2;font-size:.36rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.save-vault-preview-card>footer{display:flex;justify-content:space-between;color:#6fa18f;font-size:.26rem;font-weight:800}
.save-vault-note{margin:.38rem .8rem;padding:.34rem .48rem;border:1px solid rgba(224,186,87,.18);border-radius:9px;background:rgba(75,55,7,.11)}.save-vault-note strong{display:block;color:#d8b85d;font-size:.27rem;letter-spacing:.08em}.save-vault-note p{margin:.06rem 0 0;color:#948c72;font-size:.27rem;line-height:1.4}
.save-vault-foot{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.38rem .8rem;border-top:1px solid rgba(101,209,177,.12)}.save-vault-foot>span{color:#6d8980;font-size:.27rem}.save-vault-foot>div{display:flex;gap:.3rem}.save-vault-foot button{min-height:27px;padding:0 .68rem;border:1px solid rgba(101,209,177,.3);border-radius:7px;background:rgba(5,25,21,.9);color:#cce9df;font-size:.32rem;font-weight:900;cursor:pointer}.save-vault-foot button:disabled{opacity:.34;cursor:default}.save-vault-foot #saveVaultRestore:not(:disabled){border-color:rgba(220,181,78,.65);background:linear-gradient(180deg,#9a7426,#5e4111);color:#fff1c8}
@media (max-width:760px) and (orientation:landscape){.save-vault-panel{width:calc(100vw - 12px);max-height:calc(100vh - 12px);border-radius:11px}.save-vault-head{min-height:43px;padding:.34rem .55rem}.save-vault-head h2{font-size:.68rem}.save-vault-head p{display:none}.save-vault-head button{width:24px;height:24px}.save-vault-actions{gap:.25rem;padding:.28rem .55rem}.save-vault-actions>button{grid-template-columns:27px minmax(0,1fr);gap:.3rem;padding:.27rem .36rem}.save-vault-actions>button>span{width:25px;height:25px;font-size:.7rem}.save-vault-actions strong{font-size:.38rem}.save-vault-actions em{font-size:.23rem}.save-vault-preview{margin:0 .55rem}.save-vault-empty{min-height:74px}.save-vault-preview-card{padding:.34rem}.save-vault-preview-grid{gap:.2rem;padding:.25rem 0}.save-vault-preview-grid>span{padding:.2rem .26rem}.save-vault-preview-grid strong{font-size:.3rem}.save-vault-note{margin:.25rem .55rem;padding:.25rem .36rem}.save-vault-note p{font-size:.22rem;line-height:1.3}.save-vault-foot{min-height:34px;padding:.27rem .55rem}.save-vault-foot>span{display:none}.save-vault-foot button{min-height:23px;font-size:.28rem;padding:0 .5rem}}
@media (max-height:360px) and (orientation:landscape){.save-vault-note{display:none}.save-vault-empty{min-height:62px}.save-vault-head{min-height:39px}.save-vault-foot{min-height:31px}}
@media (prefers-reduced-motion:reduce){.save-vault-modal{backdrop-filter:none}}
\n\n/* CASINOIR v0.37.0 — PLAYER PROFILE / CAREER RECORD */\n.career-record-head{margin-bottom:.48rem;padding:.48rem;border:1px solid rgba(212,177,83,.18);border-radius:10px;background:linear-gradient(135deg,rgba(62,46,13,.14),rgba(8,15,18,.38))}.career-record-head>header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.35rem}.career-record-head>header small{display:block;color:#a99b70;font-size:.24rem;letter-spacing:.09em}.career-record-head>header strong{display:block;color:#f2df9e;font-size:.52rem}.career-record-head>header>span{color:#72d5b6;font-size:.27rem;font-weight:900;letter-spacing:.08em}.career-record-head>header>span.is-warning{color:#ffb577}.career-record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.28rem}.career-record-grid article{min-width:0;padding:.32rem .38rem;border:1px solid rgba(255,255,255,.06);border-radius:7px;background:rgba(255,255,255,.025)}.career-record-grid small{display:block;color:#758d84;font-size:.22rem}.career-record-grid strong{display:block;margin:.04rem 0;color:#e9f6f1;font-size:.42rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.career-record-grid span{display:block;color:#6f887f;font-size:.22rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.career-record-note,.career-review-disclaimer{margin:.3rem 0 0;color:#7f948c;font-size:.27rem;line-height:1.42}.career-review-disclaimer{padding:.3rem .42rem;border-left:2px solid rgba(101,209,177,.28);background:rgba(101,209,177,.035)}\n@media (max-width:760px) and (orientation:landscape){.career-record-head{margin-bottom:.28rem;padding:.32rem}.career-record-head>header{margin-bottom:.22rem}.career-record-head>header strong{font-size:.42rem}.career-record-grid{gap:.18rem}.career-record-grid article{padding:.22rem .28rem}.career-record-grid strong{font-size:.33rem}.career-record-note,.career-review-disclaimer{font-size:.22rem;line-height:1.3}}\n
/* v0.39.0 — UX POLISH / NAVIGATION CLEANUP */
.home-bottom-nav button[aria-current="page"]{border-top-color:#e7bf63;color:#f5d986;background:linear-gradient(180deg,rgba(229,185,82,.1),rgba(7,34,25,.06))}
button[data-navigation-role="back"]{border-color:rgba(231,191,99,.56)!important;color:#f1d27f!important}
button[data-navigation-role="back"]::before{content:'← ';font-weight:900}

/* CASINOIR v0.40.0 — FIRST RUN EXPERIENCE / PLAYER ONBOARDING */
.onboarding-modal{position:fixed;inset:0;z-index:1320;display:grid;place-items:center;padding:8px;background:rgba(2,5,9,.86);backdrop-filter:blur(9px);color:#eef3f1}.onboarding-modal[hidden]{display:none!important}
.onboarding-panel{width:min(780px,calc(100vw - 16px));max-height:calc(100vh - 16px);display:grid;grid-template-rows:auto 5px minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(225,190,101,.52);border-radius:16px;background:radial-gradient(circle at 12% 0,rgba(67,174,159,.11),transparent 31%),linear-gradient(145deg,rgba(7,24,20,.996),rgba(8,10,18,.996));box-shadow:0 30px 82px rgba(0,0,0,.74),inset 0 0 38px rgba(224,188,93,.025)}
.onboarding-head{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.58rem .82rem;border-bottom:1px solid rgba(225,190,101,.14)}.onboarding-head small{display:block;color:#d8b95e;font-size:.3rem;font-weight:900;letter-spacing:.14em}.onboarding-head h2{margin:.04rem 0;color:#fff1c7;font-size:.9rem}.onboarding-head p{margin:0;color:#91a39b;font-size:.34rem}.onboarding-head>div:last-child{display:flex;align-items:center;gap:.5rem}.onboarding-head>div:last-child>strong{color:#79d8ba;font-size:.36rem;white-space:nowrap}.onboarding-head button{width:29px;height:29px;border:1px solid rgba(225,190,101,.32);border-radius:50%;background:rgba(0,0,0,.2);color:#ead89f;font-size:.9rem;cursor:pointer}
.onboarding-progress{height:5px;background:rgba(255,255,255,.05);overflow:hidden}.onboarding-progress i{display:block;width:16.666%;height:100%;background:linear-gradient(90deg,#5bcfa8,#e5bd63);box-shadow:0 0 14px rgba(98,211,174,.28);transition:width .24s ease}
.onboarding-body{min-height:0;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(230px,.85fr);gap:.5rem;padding:.52rem .82rem;overflow:hidden}.onboarding-step{min-width:0;display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:.65rem;padding:.7rem;border:1px solid rgba(101,209,177,.18);border-radius:12px;background:linear-gradient(145deg,rgba(18,63,53,.26),rgba(0,0,0,.16))}.onboarding-step__icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(225,190,101,.32);border-radius:16px;background:rgba(225,190,101,.08);color:#f0cf76;font-size:1.45rem;box-shadow:inset 0 0 18px rgba(225,190,101,.035)}.onboarding-step small{display:block;color:#6fd2b2;font-size:.27rem;font-weight:900;letter-spacing:.09em}.onboarding-step h3{margin:.12rem 0 .18rem;color:#f4f7f4;font-size:.72rem;line-height:1.25}.onboarding-step p{margin:0;color:#9aaba4;font-size:.36rem;line-height:1.58}
.onboarding-checklist-wrap{min-width:0;padding:.5rem;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(0,0,0,.18)}.onboarding-checklist-wrap>header{display:flex;align-items:center;justify-content:space-between;gap:.4rem;padding-bottom:.34rem;border-bottom:1px solid rgba(255,255,255,.06)}.onboarding-checklist-wrap>header small{display:block;color:#d1b45f;font-size:.23rem;font-weight:900;letter-spacing:.09em}.onboarding-checklist-wrap>header strong{display:block;margin-top:.03rem;color:#dbe9e3;font-size:.34rem}.onboarding-checklist-wrap>header>span{color:#7e928a;font-size:.24rem;font-weight:800;white-space:nowrap}.onboarding-checklist{display:grid;gap:.24rem;padding-top:.35rem}.onboarding-checklist>span{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:.32rem;min-height:30px;padding:.28rem .34rem;border:1px solid rgba(255,255,255,.055);border-radius:8px;background:rgba(255,255,255,.018);color:#899a93}.onboarding-checklist i{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;color:#7e9089;font-size:.34rem;font-style:normal}.onboarding-checklist b{font-size:.31rem;font-weight:800}.onboarding-checklist>span.is-complete{border-color:rgba(101,209,177,.22);background:rgba(101,209,177,.055);color:#d5eee5}.onboarding-checklist>span.is-complete i{background:rgba(101,209,177,.14);color:#73d5b6}
.onboarding-foot{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.4rem .82rem;border-top:1px solid rgba(225,190,101,.13)}.onboarding-foot>span{color:#788c84;font-size:.28rem}.onboarding-foot>div{display:flex;gap:.28rem}.onboarding-foot button{min-height:28px;padding:0 .66rem;border:1px solid rgba(225,190,101,.28);border-radius:7px;background:rgba(5,20,17,.88);color:#cad8d2;font-size:.31rem;font-weight:900;cursor:pointer}.onboarding-foot button:disabled{opacity:.34;cursor:default}.onboarding-foot #onboardingNext{border-color:rgba(225,190,101,.62);background:linear-gradient(180deg,#9d7729,#624512);color:#fff1c8}.onboarding-foot #onboardingSkip{border-color:rgba(255,255,255,.1);color:#85958e}
@media (max-width:760px) and (orientation:landscape){.onboarding-panel{width:calc(100vw - 12px);max-height:calc(100vh - 12px);border-radius:11px}.onboarding-head{min-height:43px;padding:.34rem .55rem}.onboarding-head h2{font-size:.68rem}.onboarding-head p{display:none}.onboarding-head button{width:24px;height:24px}.onboarding-head>div:last-child>strong{font-size:.29rem}.onboarding-body{grid-template-columns:minmax(0,1.18fr) minmax(190px,.82fr);gap:.3rem;padding:.34rem .55rem}.onboarding-step{grid-template-columns:46px minmax(0,1fr);gap:.42rem;padding:.46rem}.onboarding-step__icon{width:43px;height:43px;border-radius:12px;font-size:1.05rem}.onboarding-step h3{font-size:.54rem;margin:.08rem 0 .12rem}.onboarding-step p{font-size:.28rem;line-height:1.42}.onboarding-checklist-wrap{padding:.34rem}.onboarding-checklist-wrap>header strong{font-size:.28rem}.onboarding-checklist{gap:.16rem;padding-top:.24rem}.onboarding-checklist>span{min-height:24px;padding:.18rem .24rem}.onboarding-checklist b{font-size:.25rem}.onboarding-foot{min-height:35px;padding:.28rem .55rem}.onboarding-foot>span{display:none}.onboarding-foot button{min-height:24px;padding:0 .48rem;font-size:.27rem}}
@media (max-height:360px) and (orientation:landscape){.onboarding-head{min-height:39px}.onboarding-body{padding:.26rem .5rem}.onboarding-step{padding:.36rem}.onboarding-step p{font-size:.25rem;line-height:1.32}.onboarding-checklist-wrap{padding:.28rem}.onboarding-checklist>span{min-height:21px;padding:.13rem .2rem}.onboarding-foot{min-height:31px;padding:.22rem .5rem}}
@media (prefers-reduced-motion:reduce){.onboarding-modal{backdrop-filter:none}.onboarding-progress i{transition:none!important}}

/* v0.41.0 — Production Readiness / Diagnostics Center */
.system-status-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.system-menu-foot>div{flex-wrap:wrap;justify-content:flex-end}
.diagnostics-center-modal{position:fixed;inset:0;z-index:1330;display:grid;place-items:center;padding:8px;background:rgba(2,5,9,.88);backdrop-filter:blur(9px);color:#eef3f1}.diagnostics-center-modal[hidden]{display:none!important}
.diagnostics-center-panel{width:min(820px,calc(100vw - 16px));max-height:calc(100vh - 16px);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(102,207,171,.46);border-radius:16px;background:radial-gradient(circle at 12% 0,rgba(65,183,153,.11),transparent 30%),linear-gradient(145deg,rgba(6,24,20,.997),rgba(8,10,18,.997));box-shadow:0 30px 84px rgba(0,0,0,.76),inset 0 0 42px rgba(96,209,175,.025)}
.diagnostics-center-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem .78rem;border-bottom:1px solid rgba(101,209,177,.13)}.diagnostics-center-head small{display:block;color:#69d0ae;font-size:.27rem;font-weight:900;letter-spacing:.13em}.diagnostics-center-head h2{margin:.04rem 0;color:#ecfff8;font-size:.84rem}.diagnostics-center-head p{margin:0;color:#8fa59d;font-size:.31rem}.diagnostics-center-head>div:last-child{display:flex;align-items:center;gap:.5rem}.diagnostics-center-head>div:last-child>strong{min-width:92px;text-align:right;color:#7bd7b8;font-size:.39rem;white-space:nowrap}.diagnostics-center-head>div:last-child>strong[data-state="WARNING"]{color:#f0c66b}.diagnostics-center-head>div:last-child>strong[data-state="FAIL"]{color:#ff887c}.diagnostics-center-head button{width:29px;height:29px;border:1px solid rgba(101,209,177,.3);border-radius:50%;background:rgba(0,0,0,.2);color:#d5eee5;font-size:.9rem;cursor:pointer}
.diagnostics-health{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.38rem .78rem;border-bottom:1px solid rgba(255,255,255,.06);background:rgba(101,209,177,.035)}.diagnostics-health small{display:block;color:#6c9f8e;font-size:.21rem;font-weight:900;letter-spacing:.1em}.diagnostics-health strong{display:block;margin-top:.02rem;color:#dcebe5;font-size:.35rem}.diagnostics-health>span{color:#758b83;font-size:.24rem;font-weight:800;white-space:nowrap}
.diagnostics-center-body{min-height:0;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.7fr);gap:.42rem;padding:.45rem .7rem;overflow:hidden}.diagnostics-checks-wrap,.diagnostics-side>section{min-height:0;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(0,0,0,.16);overflow:hidden}.diagnostics-checks-wrap{display:grid;grid-template-rows:auto minmax(0,1fr)}.diagnostics-checks-wrap>header,.diagnostics-side section>header{display:flex;align-items:center;justify-content:space-between;gap:.4rem;padding:.28rem .4rem;border-bottom:1px solid rgba(255,255,255,.06)}.diagnostics-checks-wrap header small,.diagnostics-side header small{color:#62c9a7;font-size:.19rem;font-weight:900;letter-spacing:.09em}.diagnostics-checks-wrap header strong,.diagnostics-side header strong{color:#72877f;font-size:.2rem}.diagnostics-checks{min-height:0;overflow:auto;padding:.2rem;scrollbar-width:thin}.diagnostics-empty{height:100%;min-height:80px;display:grid;place-items:center;margin:0;color:#74877f;font-size:.32rem}.diagnostics-check{display:grid;grid-template-columns:49px minmax(0,1fr);align-items:center;gap:.32rem;padding:.23rem .28rem;border-bottom:1px solid rgba(255,255,255,.045)}.diagnostics-check:last-child{border-bottom:0}.diagnostics-check>b{display:grid;place-items:center;min-height:20px;border:1px solid rgba(101,209,177,.25);border-radius:5px;background:rgba(101,209,177,.065);color:#72d3b3;font-size:.18rem;letter-spacing:.04em}.diagnostics-check[data-state="WARNING"]>b{border-color:rgba(229,186,83,.3);background:rgba(229,186,83,.07);color:#e8be62}.diagnostics-check[data-state="FAIL"]>b{border-color:rgba(255,122,108,.35);background:rgba(255,122,108,.075);color:#ff9488}.diagnostics-check>div{min-width:0}.diagnostics-check small{display:block;color:#778b83;font-size:.18rem}.diagnostics-check strong{display:block;margin-top:.02rem;color:#d9e6e1;font-size:.27rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.diagnostics-side{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:.36rem;overflow:hidden}.diagnostics-storage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.22rem;padding:.28rem}.diagnostics-storage>span{min-width:0;padding:.25rem .3rem;border:1px solid rgba(255,255,255,.055);border-radius:7px;background:rgba(255,255,255,.018)}.diagnostics-storage small{display:block;color:#71867e;font-size:.16rem}.diagnostics-storage strong{display:block;margin-top:.02rem;color:#e0eee8;font-size:.37rem}.diagnostics-side section>p{margin:0;padding:.34rem .4rem;color:#8da198;font-size:.25rem;line-height:1.45;overflow-wrap:anywhere}.diagnostics-privacy{margin:0;padding:.34rem .4rem;border:1px solid rgba(225,190,101,.14);border-radius:9px;background:rgba(76,57,13,.08);color:#9a9072;font-size:.24rem;line-height:1.48;overflow:auto}
.diagnostics-center-foot{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:.34rem .7rem;border-top:1px solid rgba(101,209,177,.11)}.diagnostics-center-foot>span{color:#71877f;font-size:.25rem}.diagnostics-center-foot>div{display:flex;gap:.26rem}.diagnostics-center-foot button{min-height:27px;padding:0 .58rem;border:1px solid rgba(101,209,177,.3);border-radius:7px;background:rgba(5,25,21,.9);color:#cfe9df;font-size:.28rem;font-weight:900;cursor:pointer}.diagnostics-center-foot button:disabled{opacity:.35;cursor:default}.diagnostics-center-foot #diagnosticsRun{border-color:rgba(101,209,177,.58);background:linear-gradient(180deg,#287b66,#174b3f);color:#e6fff6}
@media (max-width:760px) and (orientation:landscape){.system-status-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.system-status-grid small{font-size:.18rem;letter-spacing:.045em}.system-status-grid strong{font-size:.25rem}.system-menu-foot>div{gap:.18rem}.system-menu-foot button{padding:0 .35rem;font-size:.25rem}.diagnostics-center-panel{width:calc(100vw - 12px);max-height:calc(100vh - 12px);border-radius:11px}.diagnostics-center-head{min-height:42px;padding:.31rem .52rem}.diagnostics-center-head h2{font-size:.62rem}.diagnostics-center-head p{display:none}.diagnostics-center-head small{font-size:.19rem}.diagnostics-center-head>div:last-child>strong{min-width:auto;font-size:.28rem}.diagnostics-center-head button{width:24px;height:24px}.diagnostics-health{min-height:33px;padding:.24rem .52rem}.diagnostics-health strong{font-size:.27rem}.diagnostics-health>span{font-size:.19rem}.diagnostics-center-body{grid-template-columns:minmax(0,1.55fr) minmax(185px,.72fr);gap:.28rem;padding:.3rem .45rem}.diagnostics-checks-wrap>header,.diagnostics-side section>header{padding:.2rem .28rem}.diagnostics-check{grid-template-columns:42px minmax(0,1fr);gap:.23rem;padding:.16rem .2rem}.diagnostics-check>b{min-height:17px;font-size:.15rem}.diagnostics-check small{font-size:.14rem}.diagnostics-check strong{font-size:.21rem}.diagnostics-storage{gap:.16rem;padding:.2rem}.diagnostics-storage>span{padding:.17rem .22rem}.diagnostics-storage small{font-size:.13rem}.diagnostics-storage strong{font-size:.29rem}.diagnostics-side section>p,.diagnostics-privacy{padding:.24rem .28rem;font-size:.19rem;line-height:1.35}.diagnostics-center-foot{min-height:33px;padding:.23rem .45rem}.diagnostics-center-foot>span{display:none}.diagnostics-center-foot button{min-height:23px;padding:0 .42rem;font-size:.23rem}}
@media (max-width:690px) and (orientation:landscape){.diagnostics-center-body{grid-template-columns:minmax(0,1.65fr) minmax(172px,.68fr)}.diagnostics-health>span{display:none}.diagnostics-side{gap:.24rem}.diagnostics-storage strong{font-size:.26rem}.diagnostics-center-foot button{padding:0 .34rem;font-size:.21rem}.system-menu-foot button{font-size:.22rem;padding:0 .28rem}}
@media (max-height:360px) and (orientation:landscape){.diagnostics-center-head{min-height:38px}.diagnostics-health{min-height:29px}.diagnostics-center-body{padding:.22rem .42rem}.diagnostics-privacy{display:none}.diagnostics-side{grid-template-rows:auto auto}.diagnostics-center-foot{min-height:30px}}
@media (prefers-reduced-motion:reduce){.diagnostics-center-modal{backdrop-filter:none}}

/* v0.43.0 — Accessibility / Input Polish */
:where(button,a[href],input,select,textarea,[role="button"],[role="tab"],[tabindex]):focus-visible{
  outline:2px solid #f2d27a!important;
  outline-offset:3px!important;
  box-shadow:0 0 0 1px rgba(10,18,15,.92),0 0 0 4px rgba(242,210,122,.16)!important;
}
:where(button,[role="button"],[role="tab"]){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
:where(button,[role="button"],[role="tab"])[aria-busy="true"]{cursor:progress!important;pointer-events:none}
:where(button,[role="button"],[role="tab"]):disabled{pointer-events:none}

.a11y-touch-target{min-inline-size:44px!important;min-block-size:44px!important}
.a11y-hit-target{position:relative;isolation:isolate}
.a11y-hit-target::after{content:"";position:absolute;z-index:2;inline-size:44px;block-size:44px;inset-inline-start:50%;inset-block-start:50%;transform:translate(-50%,-50%);border-radius:10px}

/* Keep compact visual controls compact while their pointer target remains 44 CSS px. */
#todayBoardClose,#weeklyChallengeClose,#activityJournalClose,#onboardingClose,#systemMenuClose,#diagnosticsCenterClose,#saveVaultClose,#liveInboxClose,#dailyCheckinClose,#dailyMissionClose,
#seasonBackButton,#backButton,#pokerRoomBack,#floorBackButton,.char-close,.cash-flow-close,.challenge-scenario-close,.round-button{overflow:visible!important}

/* Safe-area protection for iPhone landscape and installed PWA mode. */
.home-bottom-nav,.grand-floor-nav{padding-bottom:max(.25rem,env(safe-area-inset-bottom));padding-left:max(.25rem,env(safe-area-inset-left));padding-right:max(.25rem,env(safe-area-inset-right))}
.today-board-modal,.weekly-challenge-modal,.activity-journal-modal,.onboarding-modal,.system-menu-modal,.diagnostics-center-modal,.save-vault-modal,.live-inbox-modal,.daily-checkin-modal,.daily-mission-modal{
  padding-top:max(8px,env(safe-area-inset-top));padding-right:max(8px,env(safe-area-inset-right));padding-bottom:max(8px,env(safe-area-inset-bottom));padding-left:max(8px,env(safe-area-inset-left))
}

/* Preserve visible state labels in forced-colors/high-contrast environments. */
@media (forced-colors:active){
  :where(button,a[href],input,select,textarea,[role="button"],[role="tab"]):focus-visible{outline:3px solid Highlight!important;box-shadow:none!important}
  [data-state="PASS"],[data-state="WARNING"],[data-state="FAIL"],.is-active,.is-selected{forced-color-adjust:auto;border:1px solid CanvasText!important}
}

/* OS-level motion preference: visual motion only, never game/state logic. */
@media (prefers-reduced-motion:reduce){
  html:focus-within{scroll-behavior:auto!important}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
  .today-board-modal,.weekly-challenge-modal,.activity-journal-modal,.onboarding-modal,.system-menu-modal,.diagnostics-center-modal,.save-vault-modal,.live-inbox-modal,.daily-checkin-modal{backdrop-filter:none!important}
}

/* v0.45.0 — Bug Fix / Gameplay Hardening */
/* Never allow an author display rule to resurrect a hidden overlay. */
[hidden]{display:none!important}

/* Expanded hit areas are visual geometry only; the real control owns the pointer event. */
.a11y-hit-target::after{pointer-events:none!important}

/* Critical route controls must remain interactive on the active screen. */
.screen.is-active .home-bottom-nav button:not(:disabled):not([aria-busy="true"]),
.screen.is-active .poker-mode-tabs button:not(:disabled):not([aria-busy="true"]),
.screen.is-active [data-cash-table]:not(:disabled):not([aria-busy="true"]),
.screen.is-active #quickSitGoButton:not(:disabled):not([aria-busy="true"]),
.screen.is-active [data-challenge-id]:not(:disabled):not([aria-busy="true"]),
.screen.is-active [data-home-nav]:not(:disabled):not([aria-busy="true"]),
.screen.is-active [data-global-nav]:not(:disabled):not([aria-busy="true"]){pointer-events:auto}

/* The portrait gate handles blocking visually. The app itself is never made inert. */
.app[data-input-state^="recovered"]{--casinoir-input-recovered:1}

/* v0.45.1 — INPUT ROUTING / VIEWPORT HOTFIX */
:root{--safe-left-raw:env(safe-area-inset-left,0px);--safe-right-raw:env(safe-area-inset-right,0px);--safe-inline:max(var(--safe-left-raw),var(--safe-right-raw));--safe-left:var(--safe-inline);--safe-right:var(--safe-inline)}
html,body{width:100%;height:100%;min-height:100%;overflow:hidden}
.app{position:fixed;inset:0;width:auto;height:auto;min-height:0;overflow:hidden}
/* Inactive screens must never participate in hit testing, even when descendants set pointer-events:auto. */
.screen:not(.is-active){visibility:hidden!important;pointer-events:none!important;z-index:0!important}
.screen:not(.is-active) *{pointer-events:none!important}
.screen.is-active{pointer-events:auto!important;z-index:1!important}
/* Keep landscape layouts optically centered around devices with a one-sided notch / Dynamic Island safe inset. */
.home-bottom-nav,.grand-floor-bottom-nav{padding-left:max(.25rem,var(--safe-inline))!important;padding-right:max(.25rem,var(--safe-inline))!important}
.home-topbar{padding-left:max(10px,var(--safe-inline))!important;padding-right:max(10px,var(--safe-inline))!important}
.poker-room-header,.poker-room-stage,.poker-room-footer{padding-left:max(12px,var(--safe-inline))!important;padding-right:max(12px,var(--safe-inline))!important}

/* =========================================================
   CASINOIR v0.46.0 — OPEN LOBBY / UI LAYOUT HARDENING
   Character-first open HOME, floating navigation, table lane separation.
   ========================================================= */

/* HOME: use the whole viewport. The navigation is an overlay, not a layout row. */
#home.screen--home{
  --home-nav-size:clamp(46px,6.2vw,60px);
  --home-nav-gap:clamp(5px,.75vw,11px);
  background:
    linear-gradient(90deg,rgba(2,12,9,.54) 0%,rgba(2,12,9,.20) 34%,rgba(2,12,9,.08) 67%,rgba(2,12,9,.34) 100%),
    linear-gradient(180deg,rgba(2,18,14,.14),rgba(4,8,7,.22) 44%,rgba(4,8,7,.34) 100%),
    url('./assets/ui/home-bg-casinoir-v04710.webp') center center / cover no-repeat;
}
#home.screen--home::before{position:absolute;inset:0;pointer-events:none;z-index:1;
  background:
    radial-gradient(ellipse at 76% 39%,rgba(255,215,131,.13),transparent 34%),
    radial-gradient(ellipse at 25% 36%,rgba(24,94,68,.14),transparent 43%),
    linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.06) 58%,rgba(0,0,0,.36));
}
#home .home-lobby-architecture{opacity:.12}
#home .home-carpet{opacity:.24;height:28%}
#home .home-lobby-lights{opacity:.48}

#home .home-topbar{
  position:absolute;left:0;right:0;top:0;z-index:20;
  height:clamp(48px,12.5%,62px);min-height:0;
  grid-template-columns:minmax(118px,.9fr) minmax(112px,.72fr) minmax(105px,.66fr) minmax(84px,.55fr) auto;
  gap:clamp(4px,.55vw,9px);
  padding:calc(5px + var(--safe-top)) max(12px,var(--safe-inline)) 4px;
  background:linear-gradient(180deg,rgba(2,15,11,.64),rgba(2,15,11,.18) 68%,transparent);
  border:0;box-shadow:none;backdrop-filter:none;
}
#home .home-brand strong{font-size:clamp(1rem,1.9vw,1.75rem)}
#home .home-brand small{opacity:.72}
#home .home-profile,#home .home-wallet,#home .home-utils button{
  background:linear-gradient(180deg,rgba(12,24,18,.72),rgba(4,12,9,.67));
  border-color:rgba(230,191,102,.36);box-shadow:0 7px 20px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.025);
  backdrop-filter:blur(8px);
}

#home .home-stage{
  position:absolute;z-index:3;left:0;right:0;top:clamp(48px,12.5%,62px);bottom:0;
  height:auto;display:block;padding:0;overflow:hidden;
}
#home .home-game-zone{
  position:absolute;z-index:6;left:max(2.2%,var(--safe-inline));top:3%;width:min(42%,430px);height:72%;
  padding:0;min-width:0;
}
#home .home-kicker{margin-top:0;padding:.18rem .6rem;font-size:clamp(.42rem,.62vw,.58rem);opacity:.92}
#home .home-game-zone h1{margin:.22rem 0 .32rem;font-size:clamp(.75rem,1.16vw,1.05rem)}
#home .home-featured-game{
  height:55%;min-height:116px;border-width:1px;border-color:rgba(234,191,95,.78);border-radius:16px;
  background:linear-gradient(108deg,rgba(4,41,28,.88),rgba(3,18,14,.76) 74%);
  box-shadow:0 14px 38px rgba(0,0,0,.33),0 0 0 1px rgba(0,0,0,.36),inset 0 0 28px rgba(231,187,87,.05);
  backdrop-filter:blur(5px);
}
#home .home-featured-copy strong{font-size:clamp(.96rem,1.78vw,1.55rem)}
#home .home-floor-button{min-height:40px;border-radius:10px;box-shadow:0 6px 17px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.16)}
#home .home-coming-games{gap:.42rem;margin-top:.42rem}
#home .home-coming-games button{height:45px;border-color:rgba(223,176,77,.42);background:rgba(7,19,16,.66);box-shadow:0 6px 15px rgba(0,0,0,.20);backdrop-filter:blur(5px)}

#home .home-host-zone{
  position:absolute;z-index:4;right:max(1.2%,var(--safe-inline));top:0;width:58%;height:91%;overflow:visible;
}
#home .home-host-halo{left:62%;top:44%;width:72%;opacity:.65}
#home .home-casinon{
  right:1%;bottom:-13%;height:124%;max-width:88%;
  object-position:right bottom;filter:drop-shadow(0 19px 19px rgba(0,0,0,.34)) drop-shadow(0 0 19px rgba(236,193,103,.09));
}
#home .home-dialogue{
  top:7%;left:3%;right:auto;width:min(38%,235px);padding:.48rem .62rem .54rem;border-width:1px;border-radius:15px;
  box-shadow:0 9px 24px rgba(0,0,0,.20),inset 0 0 0 2px rgba(255,255,255,.40);
}
#home .home-dialogue::after{left:auto;right:-11px;width:19px;height:19px;border-width:1px;transform:rotate(225deg)}

/* Compact live-ops chips occupy the left rail only. */
#home .home-mission,#home .home-checkin,#home .home-event{
  z-index:12;bottom:max(9px,calc(var(--safe-bottom) + 4px));height:48px;min-height:48px;border-radius:12px;
  background:linear-gradient(180deg,rgba(6,28,21,.76),rgba(3,14,11,.81));
  border-color:rgba(231,187,88,.34);box-shadow:0 8px 20px rgba(0,0,0,.21);backdrop-filter:blur(8px);
}
#home .home-mission{left:max(2.2%,var(--safe-inline));width:27.5%;grid-template-columns:34px 1fr auto;gap:.3rem;padding:.18rem .38rem .18rem .08rem}
#home .home-mission img{width:34px;height:47px}
#home .home-mission small{font-size:clamp(.32rem,.44vw,.42rem)}
#home .home-mission strong{font-size:clamp(.36rem,.54vw,.50rem);margin:.03rem 0}
#home .home-mission div>span{height:4px}
#home .home-mission div>b{font-size:.34rem}
#home .home-mission button{min-width:44px;min-height:34px;padding:.22rem .34rem}
#home .home-checkin{left:30.6%;width:12.6%;padding:.27rem .42rem}
#home .home-event{left:44.1%;right:auto;width:13.7%;padding:.28rem .44rem}
#home .home-checkin span,#home .home-event>span{display:none}
#home .home-checkin small,#home .home-event small{font-size:clamp(.29rem,.40vw,.38rem)}
#home .home-checkin strong,#home .home-event strong{font-size:clamp(.43rem,.58vw,.54rem)}
#home .home-event-dots{display:none}

/* Floating icon navigation: no full-width frame / no reserved dead space. */
#home > .home-bottom-nav{
  position:absolute;z-index:24;left:auto;right:max(1.8%,var(--safe-inline));bottom:max(7px,var(--safe-bottom));
  width:min(40%,410px);height:auto;min-height:0;display:flex;grid-template-columns:none;justify-content:flex-end;align-items:flex-end;
  gap:var(--home-nav-gap);padding:0;background:none;border:0;box-shadow:none;pointer-events:none;
}
#home > .home-bottom-nav button{
  pointer-events:auto;flex:0 0 var(--home-nav-size);width:var(--home-nav-size);height:var(--home-nav-size);min-width:44px;min-height:44px;
  display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;padding:0;border:0;border-radius:15px;
  color:#e4d5b6;background:rgba(3,15,11,.32);box-shadow:none;backdrop-filter:blur(2px);transition:transform .16s ease,color .16s ease,background .16s ease,box-shadow .16s ease;
}
#home > .home-bottom-nav button::before{content:"";position:absolute;inset:5px;border-radius:13px;background:radial-gradient(circle,rgba(244,204,111,.12),transparent 72%);opacity:0;transition:opacity .16s ease;pointer-events:none}
#home > .home-bottom-nav button span{font-size:clamp(1rem,1.8vw,1.42rem);line-height:1;color:#efc96e;text-shadow:0 3px 12px rgba(0,0,0,.54)}
#home > .home-bottom-nav button strong{font-size:clamp(.38rem,.55vw,.50rem);letter-spacing:.02em;text-shadow:0 2px 8px #000;white-space:nowrap}
#home > .home-bottom-nav button.is-active,#home > .home-bottom-nav button[aria-current="page"]{
  color:#fff1c2;background:rgba(29,43,33,.46);box-shadow:0 7px 18px rgba(0,0,0,.24),inset 0 0 0 1px rgba(239,201,110,.30);
}
#home > .home-bottom-nav button.is-active::before,#home > .home-bottom-nav button[aria-current="page"]::before{opacity:1}
#home > .home-bottom-nav button:not(:disabled):active{transform:translateY(1px) scale(.96)}
#home .home-toast{bottom:calc(max(9px,var(--safe-bottom)) + 61px)}

/* POKER ROOM: preserve the open layout and guarantee buttons own their lane. */
.screen--poker-room .poker-room-stage{min-height:0}
.screen--poker-room .cash-table-card>button,.screen--poker-room .tournament-enter,.screen--poker-room [data-challenge-id]{position:relative;z-index:4;min-height:44px}
.screen--poker-room .poker-mode-tabs button{min-height:40px}

/* TABLE: explicit zones. WAITING uses deal lane; PLAY uses action lane. Never both. */
.screen--table .live-game{padding-bottom:76px!important}
.screen--table .live-table-wrap{overflow:visible}
.screen--table .live-table{width:min(97%,1160px)!important;max-height:100%;aspect-ratio:2.56/1!important}
.screen--table .ls6{left:50%!important;bottom:10%!important;transform:translateX(-50%) rotateX(-7deg)!important;z-index:22}
.screen--table .ls6.is-current{transform:translateX(-50%) rotateX(-7deg) translateY(-2px)!important}
.screen--table .ls4,.screen--table .ls5{bottom:14%!important}
.screen--table .live-pot{left:67%!important}
.screen--table .tb6{left:39%!important;top:70%!important}
.screen--table .human-betting-line{top:73%!important}
.screen--table .human-bet-preview{top:61%!important}

.screen--table .action-dock{bottom:2px!important;width:min(72%,720px)!important;
  z-index:70!important;visibility:hidden;
}
.screen--table .action-dock.is-live{visibility:visible;opacity:1!important;pointer-events:auto!important}
.screen--table .deal-controls{
  left:auto!important;right:max(1.4%,var(--safe-inline))!important;bottom:4px!important;width:min(31%,310px)!important;transform:none!important;z-index:72!important;
}
.screen--table .live-game:has(.action-dock.is-live) .deal-controls{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.screen--table .primary-game-button{min-height:48px!important;border-radius:12px!important}
.screen--table .game-console{pointer-events:none}
.screen--table .game-console>*{pointer-events:auto}

/* Keep status overlays compact and off the felt center. */
.screen--table .session-toolbar{top:2px!important;left:2px!important;width:min(23%,245px)!important}
.screen--table .console-status{top:2px!important;left:50%!important;right:auto!important;width:min(31%,320px)!important;transform:translateX(-50%)}
.screen--table .hand-result{top:45px!important;right:2px!important;width:min(30%,300px)!important}
.screen--table .table-footer{position:absolute;left:max(8px,var(--safe-inline));right:max(8px,var(--safe-inline));bottom:1px;z-index:15;pointer-events:none;opacity:.54}

/* Compact phone tuning. */
@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  #home{--home-nav-size:52px;--home-nav-gap:5px}
  #home .home-topbar{height:48px;grid-template-columns:112px 96px 96px 78px auto;padding-top:calc(3px + var(--safe-top));gap:4px}
  #home .home-brand strong{font-size:1rem}#home .home-brand small{display:none}
  #home .home-profile{height:34px}#home .home-avatar{width:27px;height:27px}#home .home-wallet{height:32px}#home .home-utils button{width:30px;height:30px}
  #home .home-stage{top:48px}
  #home .home-game-zone{top:2%;width:42.5%;height:73%}
  #home .home-featured-game{height:54%;min-height:108px}
  #home .home-coming-games button{height:40px}
  #home .home-host-zone{width:58%;height:92%}
  #home .home-casinon{height:121%;bottom:-14%;right:-1%}
  #home .home-dialogue{top:5%;left:1%;width:min(42%,205px);padding:.38rem .48rem}
  #home .home-mission,#home .home-checkin,#home .home-event{height:44px;min-height:44px;bottom:max(6px,var(--safe-bottom))}
  #home .home-mission{width:28%;grid-template-columns:30px 1fr auto}#home .home-mission img{width:30px;height:43px}
  #home .home-checkin{left:30.7%;width:12.4%}#home .home-event{left:44%;width:13.4%}
  #home > .home-bottom-nav{width:min(41%,390px);bottom:max(4px,var(--safe-bottom))}
  #home .home-toast{bottom:60px}
  .screen--table .live-game{padding-bottom:70px!important}
  .screen--table .live-table-wrap{bottom:68px!important}
  .screen--table .ls6{bottom:12%!important}
  .screen--table .ls4,.screen--table .ls5{bottom:15%!important}
  .screen--table .action-dock{width:min(73%,700px)!important}
  .screen--table .deal-controls{width:min(30%,280px)!important}
}

@media (max-width:760px) and (orientation:landscape){
  #home{--home-nav-size:48px;--home-nav-gap:3px}
  #home .home-topbar{grid-template-columns:102px 83px 82px auto;padding-left:max(7px,var(--safe-inline));padding-right:max(7px,var(--safe-inline))}
  #home .home-wallet--premium{display:none}
  #home .home-profile__copy small{display:none}
  #home .home-utils{gap:2px}#home .home-utils button{width:28px;height:28px;font-size:.78rem}
  #home .home-utils button:nth-child(2){display:none}
  #home .home-game-zone{left:max(1.4%,var(--safe-inline));width:45%;height:73%}
  #home .home-kicker{font-size:.38rem}#home .home-game-zone h1{font-size:.72rem;margin:.16rem 0 .22rem}
  #home .home-featured-game{grid-template-columns:30% 1fr;height:55%;min-height:101px;border-radius:12px}
  #home .home-featured-copy{padding:.4rem .35rem .12rem 0}#home .home-featured-copy small{font-size:.34rem}#home .home-featured-copy strong{font-size:.94rem}#home .home-featured-copy span{font-size:.37rem}
  #home .home-floor-button{min-height:34px;margin:0 .36rem .36rem 0;font-size:.52rem}
  #home .home-coming-games{gap:.28rem;margin-top:.3rem}#home .home-coming-games button{height:37px;padding:.26rem .34rem}#home .home-coming-games span{font-size:.47rem}#home .home-coming-games small{font-size:.34rem}#home .home-coming-games i{display:none}
  #home .home-host-zone{right:max(.5%,var(--safe-inline));width:55%;height:92%}
  #home .home-casinon{height:114%;max-width:92%;right:-4%;bottom:-10%}
  #home .home-dialogue{top:4%;left:-1%;width:43%;padding:.32rem .4rem;border-radius:11px}#home .home-dialogue small{font-size:.34rem}#home .home-dialogue p{font-size:.46rem;line-height:1.33}
  #home .home-mission,#home .home-checkin,#home .home-event{height:42px;min-height:42px;bottom:max(5px,var(--safe-bottom));border-radius:10px}
  #home .home-mission{left:max(1.3%,var(--safe-inline));width:29%;grid-template-columns:27px 1fr auto;gap:.2rem;padding:.12rem .25rem .12rem .04rem}#home .home-mission img{width:27px;height:40px}#home .home-mission strong{font-size:.34rem}#home .home-mission small{font-size:.28rem}#home .home-mission div>b{display:none}#home .home-mission button{min-width:40px;min-height:34px;padding:.15rem .25rem;font-size:.34rem}
  #home .home-checkin{left:31%;width:12.5%;padding:.22rem .28rem}#home .home-event{left:44.2%;width:13.2%;padding:.22rem .28rem}
  #home .home-checkin small,#home .home-event small{font-size:.25rem}#home .home-checkin strong,#home .home-event strong{font-size:.38rem}
  #home > .home-bottom-nav{right:max(1%,var(--safe-inline));width:42%;gap:2px;bottom:max(3px,var(--safe-bottom))}
  #home > .home-bottom-nav button strong{font-size:.34rem}#home > .home-bottom-nav button span{font-size:.96rem}
  .screen--table .live-game{padding-bottom:64px!important}
  .screen--table .live-table-wrap{bottom:62px!important}
  .screen--table .live-table{width:99%!important;aspect-ratio:2.64/1!important}
  .screen--table .ls6{bottom:14%!important;min-width:92px!important}
  .screen--table .ls4,.screen--table .ls5{bottom:17%!important}
  .screen--table .live-pot{top:52%!important;left:68%!important}
  .screen--table .action-dock{width:82%!important;padding:3px 4px 4px!important}
  .screen--table .deal-controls{right:max(1%,var(--safe-inline))!important;width:31%!important;bottom:3px!important}
  .screen--table .primary-game-button{min-height:44px!important;font-size:10px!important}
  .screen--table .session-toolbar{width:28%!important}.screen--table .console-status{width:32%!important}.screen--table .hand-result{width:29%!important}
}

@media (max-width:690px) and (orientation:landscape){
  #home{--home-nav-size:45px}
  #home .home-game-zone{width:46%}
  #home .home-host-zone{width:54%}
  #home .home-mission{width:29.5%}
  #home .home-checkin{left:31.4%;width:12%}
  #home .home-event{left:44%;width:13%}
  #home > .home-bottom-nav{width:42.5%}
}

@media (prefers-reduced-motion:reduce){
  #home > .home-bottom-nav button,#home > .home-bottom-nav button::before{transition:none!important}
}


/* v0.46.0 compatibility hardening: derive TABLE phase from existing hidden state. */
.screen--table .action-dock{pointer-events:auto!important}
.screen--table .live-game:has(.deal-controls button:not([hidden])) .action-dock{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.screen--table .deal-controls:has(button:not([hidden])){visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.screen--table .deal-controls:not(:has(button:not([hidden]))){visibility:hidden!important;opacity:0!important;pointer-events:none!important}

/* v0.46.0 visual route isolation: inactive screens must not leak visible children. */
.screen:not(.is-active),.screen:not(.is-active) *{visibility:hidden!important;pointer-events:none!important}
.screen.is-active{visibility:visible!important}

/* v0.46.0 TABLE phase sync fallback: app.js derives phase from existing button hidden state. */
.screen--table .action-dock{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.screen--table .deal-controls{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.screen--table .live-game.is-action-phase .action-dock{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.screen--table .live-game.is-action-phase .deal-controls{visibility:hidden!important;opacity:0!important;pointer-events:none!important}

/* v0.46.0 CASINO FLOOR: reserve a clean action lane below the visual table preview. */
.grand-holdem-preview{height:68%!important}
@media (max-width:760px) and (orientation:landscape){.grand-holdem-preview{height:63%!important}}

/* ========================================================================== */
/* v0.46.1 RESPONSIVE READABILITY / HUD POLISH                               */
/* Goal: readable text, safe-area-contained panels, floating nav on all pages */
/* ========================================================================== */
:root{
  --ui-font-xs:10px;
  --ui-font-sm:11px;
  --ui-font-md:12px;
  --ui-font-lg:14px;
  --ui-touch:44px;
}

/* 1) All bottom navigation becomes a lightweight floating dock. */
.screen > nav.home-bottom-nav{
  position:absolute!important;
  z-index:95!important;
  left:auto!important;
  right:max(10px,var(--safe-inline))!important;
  bottom:max(7px,var(--safe-bottom))!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
.screen > nav.home-bottom-nav button{
  position:relative!important;
  pointer-events:auto!important;
  flex:0 0 48px!important;
  width:48px!important;
  height:48px!important;
  min-width:44px!important;
  min-height:44px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  padding:0!important;
  border:1px solid rgba(239,201,110,.18)!important;
  border-radius:15px!important;
  background:rgba(3,15,11,.54)!important;
  color:#f0d99f!important;
  box-shadow:0 7px 18px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.035)!important;
  backdrop-filter:blur(7px)!important;
}
.screen > nav.home-bottom-nav button span{
  font-size:20px!important;
  line-height:1!important;
  color:#efc96e!important;
}
.screen > nav.home-bottom-nav button strong{
  display:none!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
.screen > nav.home-bottom-nav button.is-active,
.screen > nav.home-bottom-nav button[aria-current="page"]{
  flex-basis:auto!important;
  width:auto!important;
  min-width:70px!important;
  padding:0 10px!important;
  flex-direction:row!important;
  gap:6px!important;
  border-color:rgba(239,201,110,.42)!important;
  background:rgba(27,42,32,.76)!important;
}
.screen > nav.home-bottom-nav button.is-active strong,
.screen > nav.home-bottom-nav button[aria-current="page"] strong{display:inline!important}
.screen > nav.home-bottom-nav button::before{display:none!important}

/* 2) HOME top HUD: equal controls, no clipped gear / badges. */
#home .home-topbar{
  height:58px!important;
  min-height:58px!important;
  box-sizing:border-box!important;
  grid-template-columns:minmax(116px,1.05fr) minmax(118px,1fr) minmax(94px,.72fr) minmax(84px,.65fr) auto!important;
  padding:calc(5px + var(--safe-top)) max(10px,var(--safe-inline)) 5px max(10px,var(--safe-inline))!important;
  overflow:visible!important;
}
#home .home-brand{min-width:0!important}
#home .home-brand strong{font-size:17px!important;letter-spacing:.04em!important;white-space:nowrap!important}
#home .home-brand small{font-size:10px!important;letter-spacing:.08em!important;white-space:nowrap!important}
#home .home-profile{height:42px!important;min-height:42px!important;padding:3px 8px 3px 4px!important}
#home .home-avatar{width:34px!important;height:34px!important;flex:0 0 34px!important}
#home .home-profile__copy small{font-size:10px!important}
#home .home-profile__copy strong{font-size:11px!important}
#home .home-wallet{height:40px!important;min-height:40px!important;padding:3px 4px 3px 7px!important;gap:5px!important}
#home .home-wallet strong{font-size:13px!important}
#home .home-wallet button{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;font-size:16px!important}
#home .home-wallet>span{width:27px!important;height:27px!important;font-size:12px!important}
#home .home-utils{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;min-width:max-content!important}
#home .home-utils button{
  width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
  display:grid!important;place-items:center!important;padding:0!important;border-radius:12px!important;font-size:19px!important;line-height:1!important;
}
#home .home-utils em{right:-3px!important;top:-4px!important;min-width:17px!important;height:17px!important;font-size:10px!important}
#homeSystemMenuButton{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:20px!important}

/* 3) Casinon: Japanese name, readable speech, CASINOIR scene variations. */
#home .home-host-zone{cursor:pointer!important}
#home .home-dialogue{top:5%!important;width:min(50%,270px)!important;max-height:44%!important;
  box-sizing:border-box!important;overflow:auto!important;border-radius:16px!important;
}
#home .home-dialogue small{letter-spacing:.05em!important}
#home .home-dialogue p{margin:4px 0 0!important;font-size:12px!important;line-height:1.45!important}
#home .home-dialogue strong{font-size:13px!important}
#home .home-casinon{transform-origin:58% 92%!important;transition:transform .28s ease,filter .28s ease,right .28s ease,bottom .28s ease,height .28s ease!important}
#homeHostZone[data-casinon-scene="welcome"] .home-casinon{transform:rotate(-.8deg) scale(1.01)!important}
#homeHostZone[data-casinon-scene="guide"] .home-casinon{bottom:-3%!important;height:103%!important;transform:rotate(1.4deg) scale(1.04)!important;filter:drop-shadow(0 18px 18px rgba(0,0,0,.42)) drop-shadow(0 0 22px rgba(244,199,97,.18))!important}
#homeHostZone[data-casinon-scene="focus"] .home-casinon{right:6%!important;bottom:-8%!important;transform:rotate(-1.8deg) scale(1.035)!important}
#homeHostZone[data-casinon-scene="cheer"] .home-casinon{right:1%!important;bottom:-2%!important;height:104%!important;transform:rotate(1deg) scale(1.055)!important;filter:drop-shadow(0 18px 18px rgba(0,0,0,.44)) drop-shadow(0 0 26px rgba(255,213,118,.22))!important}

/* 4) All LIVE OPS / system panels stay inside the visual safe area. */
:is(.today-board-modal,.live-inbox-modal,.weekly-challenge-modal,.activity-journal-modal,.daily-checkin-modal,.daily-mission-modal,.system-menu-modal,.diagnostics-center-modal,.save-vault-modal,.onboarding-modal){
  box-sizing:border-box!important;
  padding:max(8px,var(--safe-top)) max(10px,var(--safe-inline)) max(8px,var(--safe-bottom)) max(10px,var(--safe-inline))!important;
  overflow:hidden!important;
}
:is(.today-board-panel,.live-inbox-panel,.weekly-challenge-panel,.activity-journal-panel,.daily-checkin-panel,.daily-mission-panel,.system-menu-panel,.diagnostics-center-panel,.save-vault-panel,.onboarding-panel){
  width:min(980px,100%)!important;
  height:min(560px,100%)!important;
  max-width:100%!important;
  max-height:100%!important;
  box-sizing:border-box!important;
}

/* 5) Readability floor for information-dense modal UI. */
:is(.today-board-panel,.live-inbox-panel,.weekly-challenge-panel,.activity-journal-panel,.daily-checkin-panel,.daily-mission-panel,.system-menu-panel,.diagnostics-center-panel,.save-vault-panel,.onboarding-panel) h2{font-size:17px!important;line-height:1.15!important}
:is(.today-board-panel,.live-inbox-panel,.weekly-challenge-panel,.activity-journal-panel,.daily-checkin-panel,.daily-mission-panel,.system-menu-panel,.diagnostics-center-panel,.save-vault-panel,.onboarding-panel) h3{font-size:14px!important;line-height:1.25!important}
:is(.today-board-panel,.live-inbox-panel,.weekly-challenge-panel,.activity-journal-panel,.daily-checkin-panel,.daily-mission-panel,.system-menu-panel,.diagnostics-center-panel,.save-vault-panel,.onboarding-panel) small{font-size:10px!important;line-height:1.25!important}
:is(.today-board-panel,.live-inbox-panel,.weekly-challenge-panel,.activity-journal-panel,.daily-checkin-panel,.daily-mission-panel,.system-menu-panel,.diagnostics-center-panel,.save-vault-panel,.onboarding-panel) p{font-size:11px!important;line-height:1.45!important}
:is(.today-board-panel,.live-inbox-panel,.weekly-challenge-panel,.activity-journal-panel,.daily-checkin-panel,.daily-mission-panel,.system-menu-panel,.diagnostics-center-panel,.save-vault-panel,.onboarding-panel) button{font-size:11px!important;line-height:1.1!important;min-height:32px!important}

/* TODAY: readable cards; allow scroll instead of microscopic text. */
.today-board-head{min-height:56px!important;padding:7px 11px!important}
.today-board-head__meta strong{font-size:10px!important}
.today-board-head__meta button{width:38px!important;height:38px!important;min-height:38px!important;font-size:20px!important}
.today-board-summary{min-height:66px!important;padding:7px 11px!important;grid-template-columns:minmax(0,1fr) minmax(120px,26%) auto!important}
.today-board-summary small{font-size:10px!important}.today-board-summary strong{font-size:14px!important}.today-board-summary span{font-size:10px!important}
.today-board-summary>button{font-size:11px!important;min-height:38px!important}
.today-board-grid{gap:7px!important;padding:8px 10px!important;overflow:auto!important;align-content:start!important}
.today-board-card{grid-template-columns:40px minmax(0,1fr) auto!important;gap:4px 8px!important;padding:7px 8px!important;min-height:78px!important}
.today-board-card__icon{width:36px!important;height:36px!important;font-size:16px!important}
.today-board-card small{font-size:9.5px!important}.today-board-card strong{font-size:12px!important}.today-board-card p{font-size:10px!important}.today-board-card>b{font-size:10px!important}.today-board-card>button{font-size:10px!important;min-width:56px!important;min-height:32px!important}
.today-board-foot{min-height:46px!important;padding:6px 10px!important;gap:8px!important}.today-board-foot span{font-size:10px!important}.today-board-foot button{font-size:10px!important;min-height:34px!important}

/* LIVE INBOX: no right clipping, usable list/detail typography. */
.live-inbox-head{min-height:56px!important;padding:7px 11px!important}.live-inbox-head__meta strong{font-size:10px!important}.live-inbox-head__meta button{width:38px!important;height:38px!important;min-height:38px!important;font-size:20px!important}
.live-inbox-tabs{min-height:42px!important;padding:0 8px!important;overflow-x:auto!important;overflow-y:hidden!important}.live-inbox-tabs>button:not(.live-inbox-read-all){min-width:120px!important;font-size:11px!important}.live-inbox-tabs>button span{font-size:14px!important}.live-inbox-tabs>button em{font-size:10px!important;min-width:18px!important;height:18px!important}.live-inbox-read-all{font-size:10px!important;min-height:32px!important}
.live-inbox-body{grid-template-columns:minmax(205px,36%) minmax(0,1fr)!important;min-width:0!important}
.live-inbox-list{min-width:0!important;padding:6px!important}.live-inbox-row{grid-template-columns:34px minmax(0,1fr) auto!important;gap:7px!important;padding:7px 8px!important;margin-bottom:5px!important}.live-inbox-row__icon{width:32px!important;height:32px!important;font-size:14px!important}.live-inbox-row__copy small{font-size:9px!important}.live-inbox-row__copy strong{font-size:11px!important}.live-inbox-row__copy em{font-size:10px!important}.live-inbox-gift-state{font-size:9px!important;min-width:54px!important}
.live-inbox-detail{min-width:0!important;padding:10px 12px!important}.live-inbox-detail-card header span{font-size:9px!important}.live-inbox-detail-card header small{font-size:9px!important}.live-inbox-detail-card h3{font-size:15px!important}.live-inbox-detail-card>strong{font-size:12px!important}.live-inbox-detail-card>p{font-size:11px!important;line-height:1.55!important}.live-inbox-detail-card footer em{font-size:9px!important}.live-inbox-primary{font-size:11px!important;min-height:36px!important}.live-inbox-foot{min-height:44px!important;padding:6px 10px!important}.live-inbox-foot span,.live-inbox-foot b{font-size:9.5px!important}.live-inbox-foot button{font-size:10px!important;min-height:34px!important}

/* WEEKLY / Diagnostics: remove 2-5px typography introduced by dense compact mode. */
.weekly-challenge-goal small,.weekly-challenge-bonus small,.weekly-challenge-summary small,.weekly-challenge-foot b{font-size:9px!important}
.weekly-challenge-goal strong,.weekly-challenge-bonus strong,.weekly-challenge-summary strong{font-size:12px!important}
.weekly-challenge-goal p,.weekly-challenge-bonus p,.weekly-challenge-summary span,.weekly-challenge-foot span{font-size:10px!important}
.weekly-challenge-goal>b{font-size:10px!important}.weekly-challenge-goal>button,.weekly-challenge-bonus>button,.weekly-challenge-foot button{font-size:10px!important;min-height:32px!important}
.system-status-grid small{font-size:9px!important}.system-status-grid strong{font-size:10px!important}
.diagnostics-check small,.diagnostics-storage small{font-size:9px!important}.diagnostics-check strong{font-size:10.5px!important}.diagnostics-check>b{font-size:9px!important;min-height:22px!important}.diagnostics-storage strong{font-size:13px!important}.diagnostics-side section>p,.diagnostics-privacy{font-size:10px!important}.diagnostics-center-foot button{font-size:10px!important;min-height:32px!important}

/* TABLE typography: increase labels without enlarging cards/geometry. */
.screen--table .table-header p,.screen--table .session-toolbar__meta small,.screen--table .console-status div small,.screen--table .decision-strip small,.screen--table .bet-sizing__readout small,.screen--table .raise-range,.screen--table .seat-meta small,.screen--table .position-marker,.screen--table .table-footer{font-size:10px!important}
.screen--table .table-header h2{font-size:17px!important}.screen--table .table-header__meta>span,.screen--table .sound-toggle{font-size:10px!important}.screen--table .seat-meta strong{font-size:11px!important}.screen--table .console-status div strong,.screen--table .decision-strip strong,.screen--table .bet-sizing__readout strong{font-size:12px!important}.screen--table .console-status p{font-size:10px!important}.screen--table .session-toolbar__actions button{font-size:10px!important;min-height:30px!important}.screen--table .action-button{min-height:40px!important}.screen--table .raise-presets button{font-size:10px!important;min-height:30px!important}.screen--table .bb-stepper button{font-size:10px!important;min-height:28px!important}

/* General button readability across non-table screens. */
.screen:not(.screen--table) button{font-size:max(10px,.68rem)}
.screen:not(.screen--table) small{font-size:max(9px,.58rem)}

@media (max-width:760px) and (orientation:landscape){
  .screen > nav.home-bottom-nav{right:max(6px,var(--safe-inline))!important;bottom:max(5px,var(--safe-bottom))!important;gap:4px!important}
  .screen > nav.home-bottom-nav button{width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:13px!important}
  .screen > nav.home-bottom-nav button span{font-size:18px!important}
  .screen > nav.home-bottom-nav button.is-active,.screen > nav.home-bottom-nav button[aria-current="page"]{min-width:64px!important;padding:0 8px!important}
  .screen > nav.home-bottom-nav button.is-active strong,.screen > nav.home-bottom-nav button[aria-current="page"] strong{font-size:10px!important}

  #home .home-topbar{min-height:54px!important;grid-template-columns:92px 105px 84px auto!important;padding-left:max(7px,var(--safe-inline))!important;padding-right:max(7px,var(--safe-inline))!important}
  #home .home-brand strong{font-size:15px!important}#home .home-brand small{display:none!important}
  #home .home-profile{height:38px!important}#home .home-avatar{width:30px!important;height:30px!important;flex-basis:30px!important}#home .home-profile__copy small{font-size:9px!important}#home .home-profile__copy strong{font-size:10px!important}
  #home .home-wallet{height:36px!important}#home .home-wallet strong{font-size:11px!important}#home .home-wallet>span{width:24px!important;height:24px!important}#home .home-wallet button{width:28px!important;height:28px!important}#home .home-utils button{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;font-size:17px!important}
  #home .home-stage{top:54px!important}
  #home .home-dialogue{width:48%!important;max-height:47%!important}#home .home-dialogue p{font-size:10px!important;line-height:1.35!important}#home .home-dialogue strong{font-size:11px!important}#home .home-dialogue small{font-size:9px!important}

  :is(.today-board-modal,.live-inbox-modal,.weekly-challenge-modal,.activity-journal-modal,.daily-checkin-modal,.daily-mission-modal,.system-menu-modal,.diagnostics-center-modal,.save-vault-modal,.onboarding-modal){padding:max(6px,var(--safe-top)) max(8px,var(--safe-inline)) max(6px,var(--safe-bottom)) max(8px,var(--safe-inline))!important}
  .today-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .live-inbox-body{grid-template-columns:minmax(190px,38%) minmax(0,1fr)!important}
}

@media (max-width:690px) and (orientation:landscape){
  #home .home-topbar{grid-template-columns:84px 98px 78px auto!important}
  #home .home-utils em{font-size:9px!important}
  .today-board-summary{grid-template-columns:minmax(0,1fr) auto!important}.today-board-meter{display:none!important}.today-board-summary>button{grid-column:2!important}
  .today-board-card{min-height:74px!important}.today-board-card p{display:block!important;white-space:normal!important;line-height:1.25!important}
  .today-board-foot>span{display:none!important}.today-board-foot{justify-content:flex-end!important}.today-board-foot>div{display:flex!important;gap:4px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
  .live-inbox-body{grid-template-columns:minmax(170px,40%) minmax(0,1fr)!important}.live-inbox-row__copy em{display:none!important}.live-inbox-gift-state{display:none!important}
  .live-inbox-tabs>button:not(.live-inbox-read-all){min-width:100px!important}.live-inbox-read-all{padding:0 6px!important}
}

@media (prefers-reduced-motion:reduce){
  #home .home-casinon{transition:none!important}
}
#home .home-casinon,#home .home-dialogue{cursor:pointer!important}

/* v0.46.1 final compact-HOME readability pass. */
#home .home-mission small,#home .home-checkin small,#home .home-event small{font-size:9px!important;line-height:1.15!important}
#home .home-mission strong,#home .home-checkin strong,#home .home-event strong{font-size:10px!important;line-height:1.15!important}
#home .home-mission div>b,#home .home-checkin span,#home .home-event>span{font-size:9px!important;line-height:1.15!important}
#home .home-mission button{font-size:10px!important;min-height:36px!important}
@media (max-width:760px) and (orientation:landscape){
  #home .home-topbar{grid-template-columns:92px 108px 100px auto!important}
  #home .home-profile__copy small{display:block!important;max-width:58px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #home .home-wallet strong{display:block!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
  #home .home-mission small,#home .home-checkin small,#home .home-event small{font-size:9px!important}
  #home .home-mission strong,#home .home-checkin strong,#home .home-event strong{font-size:9.5px!important}
  #home .home-mission div>b{display:block!important;font-size:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-topbar{grid-template-columns:84px 104px 96px auto!important}
  #home .home-utils button{width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important}
}

/* v0.46.1 HOME text floor: no sub-9px readable copy. */
#home small{font-size:9px!important}
#home .home-kicker{font-size:9px!important;letter-spacing:.12em!important}
#home .home-featured-copy small{font-size:9px!important;letter-spacing:.05em!important}
#home .home-featured-copy span{font-size:9px!important;line-height:1.25!important}
#home .home-floor-button{font-size:10px!important}
#home .home-coming-games span{font-size:10px!important}
#home .home-coming-games small{font-size:9px!important}
#home #dailyMissionProgress,#home .home-mission div>b{font-size:9px!important}
@media (max-width:690px) and (orientation:landscape){
  #home .home-topbar{grid-template-columns:84px 118px 110px auto!important}
  #home .home-profile__copy small{max-width:72px!important}
  #home .home-wallet{padding-left:5px!important;padding-right:3px!important}
}

/* v0.46.1 remaining dense-panel text floors. */
#dailyCheckinStatusText,#dailyCheckinCycle,#dailyCheckinNote,.daily-checkin-panel__foot span,.daily-checkin-panel__foot b{font-size:10px!important;line-height:1.25!important}
#weeklyChallengeWeek,.weekly-challenge-summary>b,.weekly-challenge-foot b{font-size:10px!important;line-height:1.2!important}
#activityJournalRange,.activity-journal-body header>span,.activity-journal-foot span,.activity-journal-foot b{font-size:10px!important;line-height:1.2!important}
#onboardingProgressText,.onboarding-checklist header strong,.onboarding-checklist header>span,.onboarding-foot span,.onboarding-foot b{font-size:10px!important;line-height:1.25!important}
.system-menu-foot>span,.system-diagnostics header p,.system-diagnostics-foot span{font-size:10px!important;line-height:1.25!important}
#dailyCheckinStatusText,#dailyCheckinCycle,#dailyCheckinNote,.daily-checkin-foot>span,.daily-checkin-foot>b{font-size:10px!important;line-height:1.25!important}
.weekly-challenge-bonus>span{font-size:10px!important}
#onboardingProgressText,.onboarding-checklist-wrap>header strong,.onboarding-checklist-wrap>header>span,.onboarding-foot span,.onboarding-foot b{font-size:10px!important;line-height:1.25!important}
/* v0.46.1 Safe-Area-aware HOME bottom utility lanes. */
@media (max-width:760px) and (orientation:landscape){
  #home{--home-left-edge:max(1.3%,var(--safe-inline))}
  #home .home-mission{left:var(--home-left-edge)!important;width:29.5%!important}
  #home .home-checkin{left:calc(var(--home-left-edge) + 30%)!important;width:12.5%!important}
  #home .home-event{left:calc(var(--home-left-edge) + 43%)!important;width:13%!important}
}

/* ========================================================================== */
/* v0.46.1 FINAL OPEN-CANVAS PASS                                             */
/* Secondary screens use a side-floating dock instead of reserving bottom UI. */
/* ========================================================================== */
.screen:not(#home) > nav.home-bottom-nav{
  top:50%!important;
  right:max(7px,var(--safe-inline))!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:5px!important;
}
.screen:not(#home) > nav.home-bottom-nav button,
.screen:not(#home) > nav.home-bottom-nav button.is-active,
.screen:not(#home) > nav.home-bottom-nav button[aria-current="page"]{
  flex:0 0 46px!important;
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  padding:0!important;
  border-radius:14px!important;
  flex-direction:column!important;
  gap:0!important;
}
.screen:not(#home) > nav.home-bottom-nav button strong{display:none!important}
.screen:not(#home) > nav.home-bottom-nav button span{font-size:19px!important}

/* Reclaim the old 15% bottom-nav reservation. A slim right rail is cheaper. */
.char-stage,.collection-stage,.profile-stage,.shop-stage{
  bottom:max(6px,var(--safe-bottom))!important;
  right:calc(max(7px,var(--safe-inline)) + 54px)!important;
}
.grand-floor-stage{
  height:86%!important;
  padding-right:calc(max(1.2%,var(--safe-inline)) + 58px)!important;
}

/* Secondary-screen top chrome must remain readable at phone landscape sizes. */
.char-topbar,.collection-topbar,.profile-topbar,.shop-topbar,.grand-floor-topbar{
  min-height:52px!important;
}
.char-topbar small,.collection-topbar small,.profile-topbar small,.shop-topbar small,.grand-floor-topbar small{font-size:10px!important}
.char-topbar h1,.collection-topbar h1,.profile-topbar h1,.shop-topbar h1,.grand-floor-topbar h2{font-size:15px!important;line-height:1.1!important}

/* Hard text floor for the major non-table screens. Prefer scroll/ellipsis to unreadable type. */
:is(#character,#collection,#shop,#profile,#floor,#pokerRoom) small{font-size:10px!important;line-height:1.22!important}
:is(#character,#collection,#shop,#profile,#floor,#pokerRoom) p{font-size:11px!important;line-height:1.35!important}
:is(#character,#collection,#shop,#profile,#floor,#pokerRoom) button{font-size:11px!important;line-height:1.1!important}
:is(#character,#collection,#shop,#profile,#floor,#pokerRoom) strong{line-height:1.18}

/* Character details */
.char-list-card strong{font-size:12px!important}.char-list-card small,.char-list-card i{font-size:10px!important}
.char-list-coming span{font-size:10px!important}
.char-showcase__name small,.char-showcase__name p{font-size:10px!important}.char-showcase__name h1{font-size:20px!important}
.char-home-set{font-size:11px!important;min-height:34px!important}
.bond-card header small,.bond-card header>b,.bond-card p,.char-unlocks h2,.char-cosmetics h2{font-size:10px!important}
.bond-card header strong{font-size:13px!important}
.unlock-track article b,.unlock-track article small,.cosmetic-card b,.cosmetic-card small{font-size:9px!important}

/* Collection */
.collection-tabs button{font-size:10px!important;min-height:38px!important}
.collection-item>small,.collection-item>span{font-size:9px!important}.collection-item>strong{font-size:10px!important}

/* Profile */
.profile-name-edit input{font-size:11px!important}.profile-name-edit button,.profile-tabs button{font-size:10px!important}
.profile-badge-strip small{font-size:9px!important}
.profile-stat-grid small,.profile-stat-grid span{font-size:9px!important}.profile-stat-grid strong{font-size:12px!important}
.achievement-card strong,.profile-title-card strong{font-size:10px!important}.achievement-card p,.achievement-card small,.profile-title-copy small,.profile-title-copy p,.profile-title-card span,.profile-title-card small{font-size:9px!important}

/* Shop */
.shop-brand h1{font-size:15px!important}.shop-brand small,.shop-wallet small,.shop-hero__badge,.shop-hero__copy small,.shop-catalog__head small,.shop-tabs button,.shop-item__copy small,.shop-item__copy p,.shop-item__foot span,.shop-item__foot button,.shop-note{font-size:9px!important}
.shop-wallet strong{font-size:12px!important}.shop-hero__copy h2{font-size:17px!important}.shop-hero__copy p{font-size:10px!important}.shop-hero__copy strong{font-size:12px!important}
.shop-catalog__head strong{font-size:12px!important}.shop-item__copy strong{font-size:10px!important}
#shopHeroAction{font-size:10px!important;min-height:34px!important}

/* Casino floor */
.grand-featured-copy>p,.grand-featured-copy>small,.grand-featured-copy>strong,.grand-badges span,.grand-floor-wallet small,.grand-game-rail small{font-size:10px!important}
.grand-featured-copy h3{font-size:20px!important}.grand-take-seat{font-size:11px!important;min-height:38px!important}.grand-floor-wallet strong{font-size:12px!important}

/* Poker Room */
.poker-room-header p,.poker-room-badge,.poker-room-host small,.poker-room-host p,.cash-table-card__top span,.cash-table-card__top small,.cash-table-card>p,.cash-table-card__status,.poker-room-note small,.poker-room-note p,.poker-room-note>span,.poker-room-footer{font-size:10px!important}
.poker-room-host strong{font-size:13px!important}.cash-table-card>button{font-size:11px!important;min-height:36px!important}

/* HOME: no readable copy below 10px; simplify status chips instead of shrinking them. */
#home small,#home .home-kicker,#home .home-featured-copy small,#home .home-featured-copy span,#home .home-coming-games small,#home #dailyMissionProgress,#home .home-mission div>b{font-size:10px!important}
#home .home-coming-games span,#home .home-floor-button,#home .home-mission strong,#home .home-checkin strong,#home .home-event strong{font-size:11px!important}
#home .home-mission small,#home .home-checkin small,#home .home-event small{font-size:10px!important}
#home .home-mission div>b{display:none!important}

@media (max-width:760px) and (orientation:landscape){
  .char-stage,.collection-stage,.profile-stage,.shop-stage{
    bottom:max(4px,var(--safe-bottom))!important;
    right:calc(max(6px,var(--safe-inline)) + 50px)!important;
  }
  .grand-floor-stage{height:87%!important;padding-right:calc(max(1%,var(--safe-inline)) + 54px)!important}
  .screen:not(#home) > nav.home-bottom-nav{right:max(5px,var(--safe-inline))!important;gap:4px!important}
  .screen:not(#home) > nav.home-bottom-nav button,
  .screen:not(#home) > nav.home-bottom-nav button.is-active,
  .screen:not(#home) > nav.home-bottom-nav button[aria-current="page"]{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex-basis:44px!important}

  /* HOME copy remains readable: reduce content before font size. */
  #home .home-featured-copy span{display:none!important}
  #home .home-coming-games small{display:none!important}
  #home .home-featured-copy small{font-size:10px!important}
  #home .home-featured-copy strong{font-size:15px!important;line-height:1!important}
  #home .home-floor-button{font-size:11px!important}
  #home .home-dialogue small{font-size:10px!important}#home .home-dialogue p{font-size:11px!important}#home .home-dialogue strong{font-size:12px!important}
  #home .home-mission small,#home .home-checkin small,#home .home-event small{font-size:9.5px!important}
  #home .home-mission strong,#home .home-checkin strong,#home .home-event strong{font-size:10.5px!important}
}

@media (max-width:690px) and (orientation:landscape){
  /* Use space, not microscopic typography. */
  #home .home-mission{width:31%!important}
  #home .home-checkin{left:calc(var(--home-left-edge) + 31.5%)!important;width:12.8%!important}
  #home .home-event{left:calc(var(--home-left-edge) + 44.8%)!important;width:13.2%!important}
  #home .home-mission button{min-width:42px!important;padding:0 7px!important;font-size:10px!important}
  #home .home-utils button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  #home .home-dialogue{max-height:48%!important}
}

/* v0.46.1 iPhone-class Safe Area: keep HOME live-op chips separated from each other. */
@media (max-width:980px) and (orientation:landscape){
  #home{--home-left-edge:max(1.3%,var(--safe-inline))}
  #home .home-mission{left:var(--home-left-edge)!important;width:27%!important}
  #home .home-checkin{left:calc(var(--home-left-edge) + 28%)!important;width:12%!important}
  #home .home-event{left:calc(var(--home-left-edge) + 40.5%)!important;width:11.5%!important}
}

/* v0.46.1 compact landscape: lift HOME live-op cards clear of the viewport edge. */
@media (max-width:690px) and (orientation:landscape){
  #home .home-mission,#home .home-checkin,#home .home-event{
    bottom:max(8px,var(--safe-bottom))!important;
  }
  #home > .home-bottom-nav{
    bottom:max(6px,var(--safe-bottom))!important;
  }
}

/* ========================================================================== */
/* v0.46.1 USER QA FIX — HUD LABELS / CASINON VISIBILITY / HOME NAV ICONS     */
/* 2026-09-13                                                                 */
/* ========================================================================== */

/* TOP HUD: reserve a real numeric lane for chips and make utility intent clear. */
#home .home-topbar{
  height:64px!important;
  min-height:64px!important;
  grid-template-columns:minmax(96px,1fr) minmax(112px,1fr) minmax(124px,.82fr) minmax(94px,.62fr) auto!important;
  gap:6px!important;
}
#home .home-wallet{
  min-width:0!important;
  grid-template-columns:27px minmax(50px,1fr) 30px!important;
  overflow:visible!important;
}
#home .home-wallet strong{
  display:block!important;
  min-width:50px!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  text-align:left!important;
  font-variant-numeric:tabular-nums;
}
#home .home-wallet--premium strong{min-width:28px!important}
#home .home-utils{gap:4px!important}
#home .home-utils button{
  width:44px!important;
  height:48px!important;
  min-width:44px!important;
  min-height:48px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  padding:3px 2px 2px!important;
  overflow:visible!important;
}
#home .home-utils .home-util-icon{
  width:19px!important;
  height:19px!important;
  display:block!important;
  color:#efc96e!important;
  line-height:0!important;
}
#home .home-utils .home-util-icon svg{
  width:100%!important;
  height:100%!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#home .home-utils button>strong{
  display:block!important;
  margin:0!important;
  color:#e9ddbd!important;
  font-size:9.5px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
#home .home-utils em{z-index:3!important;right:-4px!important;top:-5px!important}

/* HOME host: never crop from the bottom anchor. Keep face + speech visible in every scene. */
#home .home-casinon{
  z-index:3!important;
  right:0!important;
  bottom:2%!important;
  width:52%!important;
  height:94%!important;
  max-width:52%!important;
  border-radius:0!important;
  transform-origin:center bottom!important;
}
#homeHostZone[data-casinon-scene="welcome"] .home-casinon{
  right:0!important;bottom:2%!important;width:54%!important;height:94%!important;max-width:54%!important;
  transform:rotate(-.6deg)!important;
}
#homeHostZone[data-casinon-scene="guide"] .home-casinon{
  right:3%!important;bottom:3%!important;width:46%!important;height:92%!important;max-width:46%!important;
  transform:rotate(1deg)!important;
}
#homeHostZone[data-casinon-scene="focus"] .home-casinon{
  right:1%!important;bottom:1%!important;width:54%!important;height:95%!important;max-width:54%!important;
  transform:rotate(-1deg)!important;
}
#homeHostZone[data-casinon-scene="cheer"] .home-casinon{
  right:2%!important;bottom:2%!important;width:47%!important;height:93%!important;max-width:47%!important;
  transform:rotate(.7deg)!important;
}
#home .home-dialogue{
  z-index:30!important;
  left:1%!important;
  width:min(45%,245px)!important;
  min-height:70px!important;
  max-height:none!important;
  overflow:visible!important;
  padding:9px 11px 10px!important;
  background:linear-gradient(180deg,rgba(255,250,237,.995),rgba(242,227,196,.985))!important;
  box-shadow:0 11px 28px rgba(0,0,0,.36),inset 0 0 0 2px rgba(255,255,255,.46)!important;
}
#home .home-dialogue small{font-size:10px!important;line-height:1.1!important}
#home .home-dialogue p{font-size:11px!important;line-height:1.38!important;margin-top:4px!important}
#home .home-dialogue strong{font-size:12px!important;line-height:1.32!important}

/* HOME navigation: all five buttons show icon + label, not only the active route. */
#home > .home-bottom-nav{
  gap:4px!important;
  align-items:flex-end!important;
}
#home > .home-bottom-nav button,
#home > .home-bottom-nav button.is-active,
#home > .home-bottom-nav button[aria-current="page"]{
  flex:0 0 56px!important;
  width:56px!important;
  min-width:56px!important;
  height:58px!important;
  min-height:58px!important;
  padding:4px 1px 3px!important;
  flex-direction:column!important;
  gap:3px!important;
  border-radius:14px!important;
}
#home > .home-bottom-nav button strong,
#home > .home-bottom-nav button.is-active strong,
#home > .home-bottom-nav button[aria-current="page"] strong{
  display:block!important;
  width:100%!important;
  color:#f2dfae!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-align:center!important;
  white-space:nowrap!important;
}
#home > .home-bottom-nav .nav-icon{
  display:block!important;
  width:22px!important;
  height:22px!important;
  color:#efc96e!important;
  line-height:0!important;
}
#home > .home-bottom-nav .nav-icon svg{
  width:100%!important;
  height:100%!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#home > .home-bottom-nav button.is-active .nav-icon,
#home > .home-bottom-nav button[aria-current="page"] .nav-icon{color:#ffe295!important}

@media (max-width:980px) and (orientation:landscape){
  #home .home-topbar{
    height:62px!important;
    min-height:62px!important;
    grid-template-columns:92px 112px 124px 94px auto!important;
    padding-left:max(7px,var(--safe-inline))!important;
    padding-right:max(7px,var(--safe-inline))!important;
  }
  #home .home-stage{top:62px!important}
  #home .home-utils button{width:42px!important;min-width:42px!important;height:46px!important;min-height:46px!important}
  #home .home-utils .home-util-icon{width:18px!important;height:18px!important}
  #home .home-utils button>strong{font-size:9px!important}
  #home .home-dialogue{width:44%!important;top:3%!important}
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-topbar{
    grid-template-columns:88px 112px 124px auto!important;
    gap:4px!important;
  }
  #home .home-wallet--premium{display:none!important}
  #home .home-wallet strong{font-size:12px!important;min-width:50px!important}
  #home .home-utils{gap:3px!important}
  #home .home-utils button{width:41px!important;min-width:41px!important;height:45px!important;min-height:45px!important}
  #home .home-dialogue{left:0!important;top:3%!important;width:45%!important;min-height:66px!important;padding:7px 8px 8px!important}
  #home .home-casinon{object-position:center bottom!important}
  #home > .home-bottom-nav{gap:3px!important}
  #home > .home-bottom-nav button,
  #home > .home-bottom-nav button.is-active,
  #home > .home-bottom-nav button[aria-current="page"]{width:56px!important;min-width:56px!important;flex-basis:56px!important;height:56px!important;min-height:56px!important}
  #home > .home-bottom-nav .nav-icon{width:20px!important;height:20px!important}
  #home > .home-bottom-nav button strong{font-size:9px!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-topbar{grid-template-columns:82px 108px 120px auto!important}
  #home .home-utils{gap:2px!important}
  #home .home-utils button{width:39px!important;min-width:39px!important;height:44px!important;min-height:44px!important}
  #home .home-utils button>strong{font-size:9px!important}
  #home .home-dialogue{width:46%!important;top:2.5%!important}
  #home .home-dialogue p{font-size:10.5px!important}
  #home .home-dialogue strong{font-size:11.5px!important}
  #home > .home-bottom-nav button,
  #home > .home-bottom-nav button.is-active,
  #home > .home-bottom-nav button[aria-current="page"]{width:54px!important;min-width:54px!important;flex-basis:54px!important}
  #home > .home-bottom-nav button strong{font-size:9px!important}
}

/* ==========================================================================
   v0.46.1 R3 — CASINOIR OFFICIAL CHARACTER ART
   Approved 2026-09-13. Replaces all legacy Casinon/Ocean HOME/HOST artwork.
   ========================================================================== */

/* Portrait thumbnails: show the new faces clearly instead of shrinking the full body. */
#home .home-avatar img,
.char-list-card img,
.profile-avatar img,
.collection-art img,
#home .home-mission img{
  object-position:50% 20%!important;
}
#home .home-avatar img{height:100%!important;}
.char-list-card img{object-fit:cover!important;object-position:50% 18%!important;}
#home .home-mission img{object-fit:cover!important;object-position:50% 17%!important;border-radius:10px!important;}

/* HOME character stage: use one approved official art per character. Never bottom-crop it. */
#home .home-host-zone .home-casinon{
  z-index:3!important;
  left:auto!important;
  right:0!important;
  max-width:70%!important;
  border-radius:0!important;
  transform-origin:54% 90%!important;
  filter:drop-shadow(0 18px 18px rgba(0,0,0,.40)) drop-shadow(0 0 18px rgba(232,188,91,.12))!important;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 4%,#000 94%,transparent 100%)!important;
  mask-image:linear-gradient(to bottom,transparent 0%,#000 4%,#000 94%,transparent 100%)!important;
}
#homeHostZone[data-active-character="casinon"][data-casinon-scene="welcome"] .home-casinon{
  right:0!important;bottom:0!important;height:100%!important;transform:rotate(-.5deg) scale(1.00)!important;
}
#homeHostZone[data-active-character="casinon"][data-casinon-scene="guide"] .home-casinon{
  right:2%!important;bottom:0!important;height:98%!important;transform:rotate(.8deg) scale(.985)!important;
  filter:drop-shadow(0 18px 18px rgba(0,0,0,.39)) drop-shadow(0 0 22px rgba(244,199,97,.17))!important;
}
#homeHostZone[data-active-character="casinon"][data-casinon-scene="focus"] .home-casinon{
  right:-1%!important;bottom:0!important;height:99%!important;transform:rotate(-.9deg) scale(.99)!important;
}
#homeHostZone[data-active-character="casinon"][data-casinon-scene="cheer"] .home-casinon{
  right:1%!important;bottom:0!important;height:100%!important;transform:rotate(.6deg) scale(1.015)!important;
  filter:drop-shadow(0 18px 18px rgba(0,0,0,.42)) drop-shadow(0 0 26px rgba(255,213,118,.21))!important;
}
#homeHostZone[data-active-character="ocean"] .home-casinon{
  right:0!important;bottom:0!important;width:auto!important;height:100%!important;max-width:72%!important;max-height:100%!important;
  transform:rotate(.35deg) scale(.99)!important;
  object-fit:contain!important;object-position:center bottom!important;
}

/* Keep the dialogue readable and separate from the approved full-body art. */
#home .home-dialogue{
  left:0!important;
  right:auto!important;
  top:4%!important;
  width:min(45%,246px)!important;
  z-index:40!important;
}

/* CHARACTER screen: both official portraits get the same full-body treatment. */
#character .char-showcase{
  background:
    radial-gradient(circle at 54% 44%,rgba(254,221,136,.13),transparent 42%),
    linear-gradient(180deg,rgba(5,28,22,.48),rgba(4,12,10,.94))!important;
}
#character #charMainImage{
  left:50%!important;
  right:auto!important;
  bottom:0!important;
  width:auto!important;
  height:96%!important;
  max-width:94%!important;
  max-height:96%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  transform:translateX(-50%)!important;
  filter:drop-shadow(0 16px 15px rgba(0,0,0,.39))!important;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 3%,#000 96%,transparent 100%)!important;
  mask-image:linear-gradient(to bottom,transparent 0%,#000 3%,#000 96%,transparent 100%)!important;
}
#character #charMainImage[data-character="ocean"],
#character #charMainImage[data-character="casinon"]{
  height:96%!important;
  bottom:0!important;
}

/* New portraits are tall; use face crops for selector cards while keeping names unobstructed. */
#character .char-list-card{
  grid-template-columns:39% 61%!important;
}
#character .char-list-card img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  object-fit:cover!important;
  object-position:50% 17%!important;
}
#character .char-list-card[data-character-select="ocean"] img{object-position:50% 19%!important;}

/* Profile / collection tiles use the official art; show more of the figure where space permits. */
.profile-avatar img{object-fit:contain!important;object-position:center bottom!important;width:96%!important;height:96%!important;}
.collection-art img{object-fit:contain!important;object-position:center bottom!important;width:88%!important;height:100%!important;}

@media (max-width:980px) and (orientation:landscape){
  #home .home-host-zone .home-casinon{height:99%!important;max-width:72%!important;}
  #homeHostZone[data-active-character="ocean"] .home-casinon{height:98%!important;max-width:72%!important;}
  #character #charMainImage{height:95%!important;max-height:95%!important;max-width:96%!important;}
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone .home-casinon{height:97%!important;max-width:74%!important;right:-1%!important;}
  #homeHostZone[data-active-character="ocean"] .home-casinon{height:96%!important;max-width:74%!important;right:-1%!important;}
  #home .home-dialogue{top:2.5%!important;width:44%!important;}
  #character #charMainImage{max-width:97%!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone .home-casinon{height:95%!important;max-width:76%!important;right:-2%!important;}
  #homeHostZone[data-active-character="ocean"] .home-casinon{height:94%!important;max-width:76%!important;right:-2%!important;}
  #home .home-dialogue{width:43%!important;}
  #character #charMainImage{height:92%!important;max-height:92%!important;max-width:98%!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone .home-casinon,
  #homeHostZone[data-active-character="ocean"] .home-casinon{right:0!important;}
}


/* ==========================================================================
   CASINOIR v0.46.1 R4 — HOME CHARACTER INTERACTION / CASINON CUTOUT
   Applied 2026-09-13.
   - Casinon official art uses transparent background asset.
   - HOME speech bubble is hidden by default and appears on character tap.
   - HOME character is placed above the bottom nav GAME position.
   ========================================================================== */
#home .home-host-zone{
  z-index:16!important;
  left:max(12%, calc(var(--safe-inline) + 88px))!important;
  bottom:calc(max(8px,var(--safe-bottom)) + 34px)!important;
  width:min(28%, 255px)!important;
  height:58%!important;
}
#home .home-host-zone .home-host-halo{
  top:58%!important;
  width:88%!important;
  height:88%!important;
  opacity:.58!important;
}
#home #homeDialogue.home-dialogue{
  left:58%!important;
  top:-2%!important;
  width:min(34vw, 228px)!important;
  min-height:68px!important;
  z-index:40!important;
  transform:translateY(8px) scale(.98)!important;
}
#home #homeDialogue::after{
  left:24px!important;
  right:auto!important;
  bottom:-9px!important;
  top:auto!important;
  transform:rotate(45deg)!important;
}
#home #homeDialogue.is-visible{
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0) scale(1)!important;
  transition-delay:0s!important;
}
@media (max-width:980px) and (orientation:landscape){
  #home .home-host-zone{left:max(12%, calc(var(--safe-inline) + 74px))!important;width:min(31%,240px)!important;height:56%!important;bottom:calc(max(8px,var(--safe-bottom)) + 34px)!important;}
  #home #homeDialogue.home-dialogue{width:min(35vw,214px)!important;left:54%!important;top:-1%!important;}
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone{left:max(11%, calc(var(--safe-inline) + 58px))!important;width:min(33%,220px)!important;height:54%!important;bottom:calc(max(8px,var(--safe-bottom)) + 31px)!important;}
  #home #homeDialogue.home-dialogue{width:min(37vw,190px)!important;left:50%!important;top:0!important;padding:8px 9px 9px!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone{left:max(10%, calc(var(--safe-inline) + 49px))!important;width:min(35%,205px)!important;height:53%!important;bottom:calc(max(8px,var(--safe-bottom)) + 29px)!important;}
  #home #homeDialogue.home-dialogue{width:min(40vw,176px)!important;left:45%!important;top:-2%!important;}
}


/* ==========================================================================
   CASINOIR v0.46.1 R5 — HOME CHARACTER POSITION / TAP SPEECH HOTFIX
   Applied 2026-09-13.
   - Dialogue is never shown by default.
   - Dialogue appears above the HOME character after tapping.
   - HOME character is placed above the GAME nav button area.
   ========================================================================== */
#home .home-host-zone{
  left:58%!important;
  top:auto!important;
  bottom:calc(max(10px,var(--safe-bottom)) + var(--home-nav-size) + 12px)!important;
  width:clamp(150px,18vw,220px)!important;
  height:clamp(180px,52%,312px)!important;
  isolation:isolate!important;
}
#home .home-host-zone .home-host-halo{
  left:50%!important;
  top:60%!important;
  width:92%!important;
  height:92%!important;
  opacity:.56!important;
  filter:blur(16px)!important;
}
#home .home-host-zone .home-casinon{
  pointer-events:auto!important;
  cursor:pointer!important;
  left:50%!important;
  bottom:0!important;
  transform:translateX(-50%) scale(1)!important;
  transform-origin:center bottom!important;
  filter:drop-shadow(0 16px 18px rgba(0,0,0,.34)) drop-shadow(0 0 16px rgba(232,188,91,.12))!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
#homeHostZone[data-active-character="casinon"][data-casinon-scene="welcome"] .home-casinon{transform:translateX(-50%) rotate(-1deg) scale(1.00)!important}
#homeHostZone[data-active-character="casinon"][data-casinon-scene="guide"] .home-casinon{transform:translateX(-50%) rotate(.8deg) scale(.985)!important}
#homeHostZone[data-active-character="casinon"][data-casinon-scene="focus"] .home-casinon{transform:translateX(-50%) rotate(-.7deg) scale(.995)!important}
#homeHostZone[data-active-character="casinon"][data-casinon-scene="cheer"] .home-casinon{transform:translateX(-50%) rotate(.6deg) scale(1.01)!important}
#homeHostZone[data-active-character="ocean"] .home-casinon{transform:translateX(-50%) rotate(.25deg) scale(.985)!important}
#home #homeDialogue.home-dialogue{
  pointer-events:auto!important;
  bottom:calc(100% - 4px)!important;
  width:min(220px,32vw)!important;
  min-height:66px!important;
  max-width:none!important;
  padding:9px 11px 10px!important;
  border-radius:16px!important;
  z-index:45!important;
  transform:translate(-46%,8px) scale(.98)!important;
  transition:opacity .18s ease, transform .18s ease, visibility 0s linear .18s!important;
}
#home #homeDialogue.home-dialogue::after{
  top:auto!important;
  bottom:-9px!important;
  transform:rotate(45deg)!important;
}
#home #homeDialogue.home-dialogue.is-visible{
  transform:translate(-46%,0) scale(1)!important;
}
@media (max-width:980px) and (orientation:landscape){
  #home .home-host-zone{left:57%!important;bottom:calc(max(10px,var(--safe-bottom)) + var(--home-nav-size) + 10px)!important;width:clamp(144px,19vw,208px)!important;height:clamp(176px,50%,300px)!important;}
  #home #homeDialogue.home-dialogue{width:min(206px,33vw)!important;}
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone{left:56%!important;bottom:calc(max(9px,var(--safe-bottom)) + var(--home-nav-size) + 8px)!important;width:clamp(136px,20vw,190px)!important;height:clamp(164px,49%,276px)!important;}
  #home #homeDialogue.home-dialogue{width:min(188px,35vw)!important;}
  #home #homeDialogue.home-dialogue strong{line-height:1.26!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone{left:55%!important;bottom:calc(max(8px,var(--safe-bottom)) + var(--home-nav-size) + 6px)!important;width:clamp(126px,21vw,174px)!important;height:clamp(154px,48%,252px)!important;}
  #home #homeDialogue.home-dialogue{width:min(170px,38vw)!important;}
}


/* ==========================================================================
   CASINOIR v0.46.1 R6 — DIRECT UPDATE / PRECISE GAME-NAV ANCHOR HOTFIX
   Applied 2026-09-14.
   ========================================================================== */
#home .home-host-zone{
  --home-host-anchor-x:58%;
  --home-host-nav-clearance:74px;
  left:var(--home-host-anchor-x)!important;
  width:clamp(140px,19vw,218px)!important;
  height:clamp(166px,48%,292px)!important;
  transform:translateX(-50%)!important;
}
#home #homeDialogue.home-dialogue{
  left:50%!important;
  top:auto!important;
  bottom:calc(100% + 6px)!important;
  width:min(220px,34vw)!important;
  max-width:min(220px,34vw)!important;
  transform:translate(-50%,8px) scale(.98)!important;
}
#home #homeDialogue.home-dialogue.is-visible{
  transform:translate(-50%,0) scale(1)!important;
}
#home #homeDialogue.home-dialogue::after{
  left:50%!important;
  right:auto!important;
  margin-left:-8px!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone{width:clamp(128px,21vw,184px)!important;height:clamp(154px,46%,258px)!important;}
  #home #homeDialogue.home-dialogue{width:min(184px,38vw)!important;max-width:min(184px,38vw)!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone{width:clamp(120px,22vw,168px)!important;height:clamp(148px,45%,240px)!important;}
  #home #homeDialogue.home-dialogue{width:min(166px,40vw)!important;max-width:min(166px,40vw)!important;}
}


/* ==========================================================================
   CASINOIR v0.46.1 R7 — BIGGER HOME HOST / TRUE CUTOUT CASINON
   Applied 2026-09-14.
   - Replaces Casinon art with a true transparent cutout.
   - Enlarges HOME host display significantly.
   - Keeps the host anchored above the GAME nav button.
   ========================================================================== */
#home .home-host-zone{
  width:clamp(188px,24vw,300px)!important;
  height:clamp(246px,68%,430px)!important;
  bottom:calc(var(--home-host-nav-clearance) - 4px)!important;
}
#home .home-host-zone .home-casinon{
  filter:drop-shadow(0 18px 22px rgba(0,0,0,.36)) drop-shadow(0 0 18px rgba(232,188,91,.14))!important;
}
#home #homeDialogue.home-dialogue{
  width:min(240px,35vw)!important;
  max-width:min(240px,35vw)!important;
}
@media (max-width:980px) and (orientation:landscape){
  #home .home-host-zone{width:clamp(176px,25vw,270px)!important;height:clamp(232px,66%,390px)!important;}
  #home #homeDialogue.home-dialogue{width:min(228px,36vw)!important;max-width:min(228px,36vw)!important;}
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone{width:clamp(164px,26vw,238px)!important;height:clamp(214px,63%,350px)!important;}
  #home #homeDialogue.home-dialogue{width:min(210px,39vw)!important;max-width:min(210px,39vw)!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone{width:clamp(154px,27vw,220px)!important;height:clamp(198px,61%,320px)!important;}
  #home #homeDialogue.home-dialogue{width:min(190px,42vw)!important;max-width:min(190px,42vw)!important;}
}


/* ==========================================================================
   CASINOIR v0.46.2 R1 — VERSIONED CASINON CUTOUT / LARGER HOME HOST
   Applied 2026-09-14.
   - Uses a new versioned transparent Casinon asset to defeat stale caches.
   - Enlarges HOME host substantially while preserving GAME-nav anchoring.
   ========================================================================== */
#home .home-host-zone{
  width:clamp(220px,28vw,360px)!important;
  height:clamp(300px,78%,520px)!important;
  bottom:calc(var(--home-host-nav-clearance) - 6px)!important;
  z-index:18!important;
}
#home .home-host-zone .home-casinon{
  filter:drop-shadow(0 20px 24px rgba(0,0,0,.38)) drop-shadow(0 0 18px rgba(232,188,91,.12))!important;
}
#home #homeDialogue.home-dialogue{
  width:min(250px,36vw)!important;
  max-width:min(250px,36vw)!important;
  bottom:calc(100% + 10px)!important;
}
@media (max-width:980px) and (orientation:landscape){
  #home .home-host-zone{width:clamp(204px,29vw,320px)!important;height:clamp(276px,75%,460px)!important;}
  #home #homeDialogue.home-dialogue{width:min(236px,38vw)!important;max-width:min(236px,38vw)!important;}
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone{width:clamp(188px,30vw,278px)!important;height:clamp(248px,72%,398px)!important;}
  #home #homeDialogue.home-dialogue{width:min(220px,40vw)!important;max-width:min(220px,40vw)!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone{width:clamp(172px,31vw,248px)!important;height:clamp(224px,69%,360px)!important;}
  #home #homeDialogue.home-dialogue{width:min(200px,42vw)!important;max-width:min(200px,42vw)!important;}
}


/* ==========================================================================
   CASINOIR v0.46.4 R1 — HOME HOST MAX-SIZE POLISH
   Applied 2026-09-14.
   - Uses approved character image already in production.
   - Expands HOME character to the largest full-body size that stays visible.
   - Height is computed from the top HUD and bottom GAME-nav clearances.
   ========================================================================== */
#home .home-host-zone{
  --home-host-top-clearance:64px;
  width:min(34vw, 360px)!important;
  max-width:min(34vw, 360px)!important;
  height:max(220px, calc(100% - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 8px))!important;
  max-height:calc(100% - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 8px)!important;
  bottom:var(--home-host-nav-clearance)!important;
}
#home .home-host-zone .home-casinon{
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
}
#home #homeDialogue.home-dialogue{
  bottom:calc(100% + 8px)!important;
  width:min(245px, 36vw)!important;
  max-width:min(245px, 36vw)!important;
}
@media (max-width:980px) and (orientation:landscape){
  #home .home-host-zone{width:min(35vw, 320px)!important;max-width:min(35vw, 320px)!important;}
  #home #homeDialogue.home-dialogue{width:min(232px, 38vw)!important;max-width:min(232px, 38vw)!important;}
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone{width:min(36vw, 276px)!important;max-width:min(36vw, 276px)!important;height:max(196px, calc(100% - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 6px))!important;max-height:calc(100% - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 6px)!important;}
  #home #homeDialogue.home-dialogue{width:min(214px, 40vw)!important;max-width:min(214px, 40vw)!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone{width:min(37vw, 246px)!important;max-width:min(37vw, 246px)!important;height:max(178px, calc(100% - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 4px))!important;max-height:calc(100% - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 4px)!important;}
  #home #homeDialogue.home-dialogue{width:min(198px, 42vw)!important;max-width:min(198px, 42vw)!important;}
}

/* ========================================================================== 
   CASINOIR v0.46.5 R1 — DEEP RESPONSIVE AUDIT FIXES
   Xserver snapshot audit: compact landscape secondary-screen containment.
   ========================================================================== */
#collection .collection-tabs{
  min-height:0!important;
  height:100%!important;
  box-sizing:border-box!important;
  padding-top:0!important;
  padding-bottom:1px!important;
}
#collection .collection-tabs button{
  flex:1 1 0!important;
  min-height:44px!important;
}
@media (max-width:760px) and (orientation:landscape){
  #character .char-detail{grid-template-rows:24% 32% 44%!important;min-height:0!important;}
  #character .char-cosmetics{min-height:0!important;overflow:hidden!important;}
  #character .cosmetic-row{min-height:0!important;height:calc(100% - 18px)!important;}
  #floor .grand-floor-stage{
    height:calc(100% - 52px - max(4px,var(--safe-bottom)))!important;
  }
}

/* v0.46.5 dialog viewport containment: floor unlock must bind to viewport, not transformed floor screen. */
#floorUnlockReveal.floor-unlock-reveal{
  position:fixed!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
}

/* ========================================================================== 
   CASINOIR v0.46.5 R1 — HOME HOST VIEWPORT MAX-SIZE FINAL
   The host is inside .home-stage; use viewport height rather than parent % so
   the approved full-body art can fill the actual HUD-to-GAME-nav clearance.
   ========================================================================== */
#home .home-host-zone{
  height:max(220px, calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 8px))!important;
  max-height:calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 8px)!important;
}
@supports not (height:100dvh){
  #home .home-host-zone{
    height:max(220px, calc(100vh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 8px))!important;
    max-height:calc(100vh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 8px)!important;
  }
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone{
    height:max(196px, calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 6px))!important;
    max-height:calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 6px)!important;
  }
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone{
    height:max(178px, calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 4px))!important;
    max-height:calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 4px)!important;
  }
}

/* v0.46.5 final HOME host clearance: 2px safety margin to maximize full-body art. */
#home .home-host-zone{height:max(220px,calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 2px))!important;max-height:calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 2px)!important;}
@media (max-width:760px) and (orientation:landscape){#home .home-host-zone{height:max(196px,calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 2px))!important;max-height:calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 2px)!important;}}
@media (max-width:690px) and (orientation:landscape){#home .home-host-zone{height:max(178px,calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 2px))!important;max-height:calc(100dvh - var(--home-host-nav-clearance) - var(--home-host-top-clearance) - 2px)!important;}}

/* v0.46.5 final landing readability floor. */
#landing .topbar__meta span,
#landing .eyebrow,
#landing .landing-footer span{font-size:9.5px!important;}

/* v0.46.5 final challenge readability: avoid sub-9px computed rounding on action buttons. */
.challenge-options button{font-size:10px!important;}


/* ==========================================================================
   CASINOIR v0.46.8 R1 — HOME DIALOGUE VIEWPORT-SAFE POSITIONING
   Applied 2026-09-14.
   Character remains maximum full-body size. Dialogue is positioned from
   measured host/image geometry and clamped below the HUD / above GAME nav.
   ========================================================================== */
#home #homeDialogue[hidden]{display:none!important;}
#home #homeDialogue.home-dialogue{
  position:absolute!important;
  left:var(--home-dialogue-left,0px)!important;
  top:var(--home-dialogue-top,0px)!important;
  right:auto!important;
  bottom:auto!important;
  width:min(230px,36vw)!important;
  max-width:min(230px,36vw)!important;
  min-height:64px!important;
  max-height:min(124px,38vh)!important;
  overflow:auto!important;
  box-sizing:border-box!important;
  z-index:60!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:scale(.98)!important;
  transform-origin:center!important;
  transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s!important;
}
#home #homeDialogue.home-dialogue.is-visible{
  opacity:1!important;
  visibility:visible!important;
  transform:scale(1)!important;
  transition-delay:0s!important;
}
#home #homeDialogue.home-dialogue::after{
  content:""!important;
  position:absolute!important;
  width:16px!important;
  height:16px!important;
  background:#f3e5c7!important;
  border:0!important;
  box-shadow:none!important;
}
#home #homeDialogue[data-tail="right"]::after{
  left:-8px!important;right:auto!important;top:42%!important;bottom:auto!important;
  transform:rotate(45deg)!important;border-left:1px solid #c58f3e!important;border-bottom:1px solid #c58f3e!important;
}
#home #homeDialogue[data-tail="left"]::after{
  right:-8px!important;left:auto!important;top:42%!important;bottom:auto!important;
  transform:rotate(225deg)!important;border-left:1px solid #c58f3e!important;border-bottom:1px solid #c58f3e!important;
}
#home #homeDialogue[data-tail="top"]::after{
  left:50%!important;right:auto!important;top:auto!important;bottom:-8px!important;margin-left:-8px!important;
  transform:rotate(-45deg)!important;border-left:1px solid #c58f3e!important;border-bottom:1px solid #c58f3e!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home #homeDialogue.home-dialogue{width:min(205px,39vw)!important;max-width:min(205px,39vw)!important;min-height:60px!important;max-height:min(112px,40vh)!important;padding:8px 10px 9px!important;}
  #home #homeDialogue.home-dialogue p{font-size:10px!important;line-height:1.34!important;}
  #home #homeDialogue.home-dialogue strong{font-size:11px!important;line-height:1.28!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home #homeDialogue.home-dialogue{width:min(188px,42vw)!important;max-width:min(188px,42vw)!important;}
}


/* CASINOIR v0.46.7 — BGM CONTROL */
#bgmToggle[data-bgm="on"]{border-color:rgba(102,199,155,.42)!important;color:#d9ffec!important}
#bgmToggle[data-bgm="off"]{opacity:.68!important;color:#b6aaa7!important}
#bgmToggle{white-space:nowrap!important;min-width:58px!important}

/* v0.47.0 brand refresh: approved app icon + welcome launch screen */
.screen--landing{background:#09070b!important}
.screen--landing::before{
  left:0!important; top:0!important; width:100%!important; height:100%!important;
  transform:none!important; border:none!important; border-radius:0!important;
  background:linear-gradient(180deg,rgba(6,4,7,.28) 0%,rgba(6,4,7,.06) 22%,rgba(6,4,7,.10) 64%,rgba(6,4,7,.44) 100%),url("./assets/ui/landing-welcome-v0470.webp") center center / cover no-repeat!important;
  box-shadow:none!important; filter:none!important;
}
.screen--landing::after{background:radial-gradient(circle at center,transparent 46%,rgba(0,0,0,.06) 70%,rgba(0,0,0,.24) 100%)!important}
.screen--landing .ambient{display:none!important}
.screen--landing .landing-vignette{background:linear-gradient(180deg,rgba(0,0,0,.20) 0%,rgba(0,0,0,0) 24%,rgba(0,0,0,0) 74%,rgba(0,0,0,.40) 100%)!important}
.screen--landing .topbar__mark,.screen--landing .topbar__meta,.screen--landing .landing-footer{color:#f6e8c7!important}
.screen--landing .hero{height:72vh!important; justify-content:flex-end!important; padding:0 5vw calc(24px + var(--safe-bottom))!important}
.screen--landing .hero__actions{gap:.72rem!important; padding:.82rem 1rem!important; background:rgba(7,8,10,.44)!important; border-color:rgba(245,220,168,.28)!important; box-shadow:0 18px 42px rgba(0,0,0,.32)!important}
.screen--landing .hero__actions .subcopy{color:rgba(249,240,222,.9)!important; font-size:clamp(.5rem,.76vw,.66rem)!important}
@media (max-width:760px) and (orientation:landscape){
  .screen--landing .topbar{padding:calc(10px + var(--safe-top)) calc(14px + var(--safe-right)) 0 calc(14px + var(--safe-left))!important}
  .screen--landing .topbar__mark{font-size:clamp(.9rem,2vw,1.2rem)!important}
  .screen--landing .topbar__meta{font-size:clamp(.44rem,.8vw,.58rem)!important; gap:.5rem!important}
  .screen--landing .hero{height:70vh!important; padding:0 4vw calc(18px + var(--safe-bottom))!important}
  .screen--landing .hero__actions{padding:.65rem .8rem!important; border-radius:1rem!important; gap:.55rem!important}
  .screen--landing .hero__actions .subcopy{font-size:clamp(.42rem,.72vw,.56rem)!important}
  .screen--landing .enter-button{min-width:210px!important; padding:.78rem .95rem .78rem 1.2rem!important; font-size:clamp(.58rem,.9vw,.72rem)!important}
  .screen--landing .landing-footer{height:12vh!important; padding-bottom:calc(10px + var(--safe-bottom))!important; font-size:clamp(.4rem,.68vw,.54rem)!important}
}

/* ==========================================================================
   CASINOIR v0.47.2 R1 — UI POLISH
   Ocean / Casinon / REI / KAI / MIO / NOA / REN are equal playable characters.
   ========================================================================== */
#character .char-stage{
  grid-template-columns:minmax(0,39%) minmax(0,61%)!important;
  grid-template-rows:minmax(72px,24%) minmax(0,1fr)!important;
  grid-template-areas:"roster roster" "showcase detail"!important;
  gap:7px!important;
}
#character .char-list--horizontal{
  grid-area:roster!important;
  display:flex!important;
  flex-direction:row!important;
  min-width:0!important;
  min-height:0!important;
  gap:7px!important;
  padding:0 0 3px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x proximity!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(228,190,93,.42) transparent!important;
}
#character .char-list--horizontal::-webkit-scrollbar{height:4px}
#character .char-list--horizontal::-webkit-scrollbar-thumb{background:rgba(228,190,93,.42);border-radius:99px}
#character .char-list--horizontal .char-list-card{
  flex:0 0 clamp(122px,14.5vw,180px)!important;
  width:clamp(122px,14.5vw,180px)!important;
  height:100%!important;
  min-height:0!important;
  grid-template-columns:44% 56%!important;
  border-radius:12px!important;
  scroll-snap-align:center!important;
  overflow:hidden!important;
}
#character .char-list--horizontal .char-list-card img{
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;
  padding:2px 0 0!important;filter:drop-shadow(0 6px 7px rgba(0,0,0,.32))!important;
}
#character .char-list--horizontal .char-list-card span{padding:5px 5px 5px 2px!important;gap:1px!important;min-width:0!important}
#character .char-list--horizontal .char-list-card small{font-size:9px!important;letter-spacing:.11em!important;white-space:nowrap!important}
#character .char-list--horizontal .char-list-card strong{font-size:12px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#character .char-list--horizontal .char-list-card i{font-size:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#character .char-list--horizontal .char-list-card.is-active{
  border-color:rgba(255,211,104,.92)!important;
  box-shadow:inset 0 0 22px rgba(240,192,78,.10),0 0 18px rgba(231,181,65,.16)!important;
}
#character .char-detail{overflow-y:auto!important;scrollbar-width:thin!important}
#character #charMainImage[data-character="rei"],
#character #charMainImage[data-character="kai"],
#character #charMainImage[data-character="mio"],
#character #charMainImage[data-character="noa"],
#character #charMainImage[data-character="ren"]{
  height:98%!important;max-height:98%!important;max-width:96%!important;bottom:0!important;
}
#character .char-home-set{min-width:104px!important;text-align:center!important}

/* Rival record cards now show the approved rival character art. */
.rival-card__icon{width:34px!important;height:44px!important;border-radius:9px!important;overflow:hidden!important;background:linear-gradient(180deg,rgba(215,177,85,.09),rgba(0,0,0,.12))!important}
.rival-card__icon img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;filter:drop-shadow(0 3px 4px rgba(0,0,0,.32))}
.rival-card__head{padding-right:38px!important}
.rival-dossier-identity>span{overflow:hidden!important;border-radius:13px!important}
.rival-dossier-identity>span img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important}

@media (max-width:980px) and (orientation:landscape){
  #character .char-stage{grid-template-rows:minmax(68px,25%) minmax(0,1fr)!important;gap:5px!important}
  #character .char-list--horizontal{gap:5px!important}
  #character .char-list--horizontal .char-list-card{flex-basis:clamp(116px,15.5vw,150px)!important;width:clamp(116px,15.5vw,150px)!important}
}
@media (max-width:760px) and (orientation:landscape){
  #character .char-stage{top:14%!important;bottom:15.2%!important;grid-template-columns:minmax(0,38%) minmax(0,62%)!important;grid-template-rows:72px minmax(0,1fr)!important;padding:.7% 1.1% .8%!important;gap:4px!important}
  #character .char-list--horizontal{gap:4px!important;padding-bottom:2px!important}
  #character .char-list--horizontal .char-list-card{flex-basis:112px!important;width:112px!important;border-radius:9px!important}
  #character .char-list--horizontal .char-list-card small{font-size:9px!important}
  #character .char-list--horizontal .char-list-card strong{font-size:11px!important}
  #character .char-list--horizontal .char-list-card i{font-size:9px!important}
  #character #charMainImage{height:94%!important;max-height:94%!important}
  #character #charMainImage[data-character="rei"],#character #charMainImage[data-character="kai"],#character #charMainImage[data-character="mio"],#character #charMainImage[data-character="noa"],#character #charMainImage[data-character="ren"]{height:96%!important;max-height:96%!important}
  #character .char-home-set{min-width:88px!important;font-size:9px!important;padding:5px 7px!important}
  .rival-card__icon{width:29px!important;height:37px!important}
  .rival-card__head{padding-right:32px!important}
}
@media (max-width:690px) and (orientation:landscape){
  #character .char-stage{grid-template-rows:68px minmax(0,1fr)!important;grid-template-columns:minmax(0,37%) minmax(0,63%)!important}
  #character .char-list--horizontal .char-list-card{flex-basis:106px!important;width:106px!important}
  #character .char-list--horizontal .char-list-card strong{font-size:10px!important}
  #character #charMainImage[data-character="rei"],#character #charMainImage[data-character="kai"],#character #charMainImage[data-character="mio"],#character #charMainImage[data-character="noa"],#character #charMainImage[data-character="ren"]{height:95%!important;max-height:95%!important}
}

/* ------------------------------------------------------------------
   CASINOIR v0.47.2 R1 — launch/character/table polish
   - Landing CTA no longer overlaps the key art logo.
   - Character screen completes in a single viewport without vertical scrolling.
   - Table HUD shows the selected character face.
   ------------------------------------------------------------------ */
#landing .topbar__meta{display:none!important}
#landing .hero{padding:0 5vw calc(12px + var(--safe-bottom))!important;height:74vh!important}
#landing .hero__actions{gap:.3rem!important;padding:.44rem .6rem!important;border-radius:.95rem!important;background:rgba(7,8,10,.18)!important;border-color:rgba(245,220,168,.14)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#landing .hero__actions .subcopy{display:none!important}
#landing .enter-button{margin-top:0!important;min-width:196px!important;padding:.74rem .92rem .74rem 1.16rem!important;font-size:clamp(.58rem,.92vw,.74rem)!important}

#character .char-stage{bottom:15.1%!important;grid-template-columns:minmax(0,38%) minmax(0,62%)!important;grid-template-rows:70px minmax(0,1fr)!important;padding:.55% 1.05% .62%!important}
#character .char-list--horizontal{grid-area:list!important;gap:4px!important;padding-bottom:1px!important;align-items:stretch!important}
#character .char-list--horizontal .char-list-card{flex:0 0 108px!important;width:108px!important;min-height:62px!important;border-radius:10px!important}
#character .char-list--horizontal .char-list-card img{width:44px!important}
#character .char-list--horizontal .char-list-card small{font-size:8px!important}
#character .char-list--horizontal .char-list-card strong{font-size:10.5px!important}
#character .char-list--horizontal .char-list-card i{font-size:8px!important}
#character .char-showcase{grid-area:showcase!important}
#character #charMainImage{height:91%!important;max-height:91%!important;bottom:8%!important}
#character .char-showcase__name small{font-size:8px!important}
#character .char-showcase__name h1{font-size:18px!important}
#character .char-showcase__name p{font-size:9px!important}
#character .char-home-set{min-width:86px!important;padding:5px 7px!important;font-size:9px!important}
#character .char-detail{grid-area:detail!important;display:grid!important;grid-template-rows:22% 36% 42%!important;align-content:stretch!important}
#character .bond-card,#character .char-unlocks,#character .char-cosmetics{padding:.28rem .36rem!important;border-radius:10px!important}
#character .bond-card header small,#character .bond-card header b,#character .bond-card p,#character .char-unlocks h2,#character .char-cosmetics h2{font-size:9px!important}
#character .bond-card header strong{font-size:12px!important}
#character .bond-meter{height:4px!important;margin:.2rem 0 .14rem!important}
#character .unlock-track{height:calc(100% - 14px)!important}
#character .unlock-track article{padding:1px 1px 2px!important;border-radius:8px!important;gap:1px!important}
#character .unlock-track article span{width:14px!important;height:14px!important;font-size:8px!important}
#character .unlock-track article b{font-size:7px!important;line-height:1.05!important}
#character .unlock-track article small{font-size:6px!important;line-height:1!important}
#character .cosmetic-card{border-radius:8px!important}
#character .cosmetic-card b{font-size:7.5px!important;line-height:1.05!important}
#character .cosmetic-card small{font-size:6.2px!important;line-height:1.05!important}
#character .cosmetic-swatch{width:76%!important}

.screen--table .session-toolbar{width:min(31%,320px)!important;min-height:44px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:6px!important;padding:4px 6px!important}
.screen--table .session-toolbar__meta--with-character{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:6px!important;min-width:0!important}
.screen--table .session-toolbar__text{min-width:0!important}
.screen--table .session-toolbar__text small,.screen--table .session-toolbar__text strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.screen--table .table-character-badge{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;padding:0!important;min-width:0!important}
.screen--table .table-character-badge__portrait{width:34px!important;height:34px!important;border-radius:50%!important;overflow:hidden!important;border:1px solid rgba(232,191,94,.44)!important;background:radial-gradient(circle at 50% 30%,rgba(255,241,206,.18),rgba(8,16,14,.92) 72%)!important;box-shadow:0 0 0 1px rgba(255,255,255,.04) inset,0 4px 10px rgba(0,0,0,.28)!important}
.screen--table .table-character-badge__portrait img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 18%!important;transform:scale(1.08)!important}
.screen--table .table-character-badge[data-character="ocean"] .table-character-badge__portrait img{object-position:center 20%!important;transform:scale(1.0)!important}
.screen--table .table-character-badge[data-character="casinon"] .table-character-badge__portrait img{object-position:center 16%!important;transform:scale(1.09)!important}
.screen--table .table-character-badge[data-character="rei"] .table-character-badge__portrait img{object-position:center 14%!important;transform:scale(1.16)!important}
.screen--table .table-character-badge[data-character="kai"] .table-character-badge__portrait img{object-position:center 14%!important;transform:scale(1.14)!important}
.screen--table .table-character-badge[data-character="mio"] .table-character-badge__portrait img{object-position:center 16%!important;transform:scale(1.14)!important}
.screen--table .table-character-badge[data-character="noa"] .table-character-badge__portrait img{object-position:center 16%!important;transform:scale(1.14)!important}
.screen--table .table-character-badge[data-character="ren"] .table-character-badge__portrait img{object-position:center 16%!important;transform:scale(1.14)!important}
.screen--table .table-character-badge__copy{display:flex!important;flex-direction:column!important;min-width:0!important}
.screen--table .table-character-badge__copy small{font-size:7px!important;line-height:1.05!important;letter-spacing:.12em!important;color:#d7b770!important}
.screen--table .table-character-badge__copy strong{font-size:10px!important;line-height:1.08!important;color:#fff5dc!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.screen--table .session-toolbar__actions{align-items:center!important}
.screen--table .session-toolbar__actions .session-net{display:none!important}
.screen--table .session-toolbar__actions button{padding:0 6px!important;font-size:9px!important}

@media (max-width: 900px){
  #landing .hero{padding:0 4vw calc(10px + var(--safe-bottom))!important;height:72vh!important}
  #landing .enter-button{min-width:182px!important;padding:.68rem .86rem .68rem 1.04rem!important}
  #character .char-stage{grid-template-columns:minmax(0,37%) minmax(0,63%)!important;grid-template-rows:68px minmax(0,1fr)!important}
  #character .char-list--horizontal .char-list-card{flex-basis:102px!important;width:102px!important}
  #character .char-list--horizontal .char-list-card strong{font-size:10px!important}
  #character .char-detail{grid-template-rows:21% 36% 43%!important}
  #character .unlock-track article b{font-size:6.5px!important}
  #character .unlock-track article small{font-size:5.8px!important}
  .screen--table .session-toolbar{width:min(38%,340px)!important;min-height:40px!important}
  .screen--table .table-character-badge{grid-template-columns:30px minmax(0,1fr)!important;gap:5px!important}
  .screen--table .table-character-badge__portrait{width:30px!important;height:30px!important}
  .screen--table .table-character-badge__copy small{font-size:6px!important}
  .screen--table .table-character-badge__copy strong{font-size:9px!important}
  .screen--table .session-toolbar__text small{display:none!important}
  .screen--table .session-toolbar__actions button{min-height:24px!important;padding:0 4px!important;font-size:7px!important}
}


/* ------------------------------------------------------------------
   CASINOIR v0.47.3 R1 — launch / character / audio / landscape pass
   ------------------------------------------------------------------ */
#landing .hero{padding:0 5vw calc(24px + var(--safe-bottom))!important;height:81vh!important}
#landing .enter-button{min-width:202px!important;padding:.78rem .96rem .78rem 1.18rem!important}

/* Portrait handling is controlled by the audited v0.47.7 gate rules at the end of this file. */

/* Secondary screens already use a right floating dock, so reclaim the old bottom dead space. */
#character .char-stage{
  top:14%!important;
  grid-template-columns:minmax(0,37%) minmax(0,63%)!important;
  grid-template-rows:68px minmax(0,1fr)!important;
  padding:.55% 1.0% .55%!important;
}
#character #charMainImage{height:93%!important;max-height:93%!important;bottom:5%!important}
#character .char-detail{
  grid-template-rows:19% 31% 50%!important;
  gap:4px!important;
}
#character .cosmetic-row{height:calc(100% - 14px)!important}
@media (max-width:900px){
  #landing .hero{padding:0 4vw calc(20px + var(--safe-bottom))!important;height:80vh!important}
  #character .char-stage{grid-template-columns:minmax(0,36%) minmax(0,64%)!important}
  #character .char-detail{grid-template-rows:18% 30% 52%!important}
  #character #charMainImage{height:94%!important;max-height:94%!important;bottom:4%!important}
}


/* ------------------------------------------------------------------
   CASINOIR v0.47.4 R1 — launch / character / audio refinement
   ------------------------------------------------------------------ */
#landing .topbar{display:none!important}
#landing .hero{justify-content:flex-end!important;height:86vh!important;padding:0 5vw calc(52px + var(--safe-bottom))!important}
#landing .hero__actions{margin-bottom:calc(2.5vh + 18px)!important}
#landing .enter-button{min-width:214px!important;padding:.82rem 1rem .82rem 1.22rem!important}
#landing .landing-footer{display:none!important}

#character .char-topbar{height:12.8%!important;min-height:46px!important}
#character .char-stage{top:13.2%!important;bottom:max(6px,var(--safe-bottom))!important;right:calc(max(7px,var(--safe-inline)) + 54px)!important;grid-template-columns:minmax(0,36%) minmax(0,64%)!important;grid-template-rows:64px minmax(0,1fr)!important;grid-template-areas:"list list" "showcase detail"!important;padding:.45% 1.0% .45%!important;gap:4px!important}
#character .char-showcase{min-height:0!important}
#character #charMainImage{height:92%!important;max-height:92%!important;bottom:6%!important}
#character .char-detail{grid-template-rows:20% 30% 50%!important;gap:3px!important}
#character .bond-card,#character .char-unlocks,#character .char-cosmetics{padding:.24rem .32rem!important}
#character .bond-card header small,#character .bond-card header b,#character .bond-card p,#character .char-unlocks h2,#character .char-cosmetics h2{font-size:8.5px!important;line-height:1.15!important}
#character .bond-card header strong{font-size:11.5px!important}
#character .unlock-track{height:calc(100% - 13px)!important;gap:2px!important}
#character .unlock-track article span{width:13px!important;height:13px!important;font-size:7px!important}
#character .unlock-track article b{font-size:6.6px!important}
#character .unlock-track article small{font-size:5.8px!important}
#character .cosmetic-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:stretch!important;gap:3px!important}
#character .cosmetic-card{padding:.12rem .18rem!important;grid-template-columns:30% 1fr!important}
#character .cosmetic-card b{font-size:7.2px!important;line-height:1.06!important}
#character .cosmetic-card small{font-size:6px!important;line-height:1.04!important}

@media (max-width:900px){
  #landing .hero{height:84vh!important;padding-bottom:calc(48px + var(--safe-bottom))!important}
  #character .char-stage{grid-template-columns:minmax(0,35%) minmax(0,65%)!important;grid-template-rows:62px minmax(0,1fr)!important}
  #character .char-detail{grid-template-rows:19% 29% 52%!important}
}
@media (max-width:760px) and (orientation:landscape){
  #landing .hero{height:82vh!important;padding-bottom:calc(44px + var(--safe-bottom))!important}
  #character .char-stage{top:13.1%!important;bottom:max(5px,var(--safe-bottom))!important;right:calc(max(6px,var(--safe-inline)) + 52px)!important;grid-template-columns:minmax(0,34%) minmax(0,66%)!important;grid-template-rows:60px minmax(0,1fr)!important;padding:.35% .85% .35%!important}
  #character .char-list--horizontal .char-list-card{flex-basis:100px!important;width:100px!important;min-height:58px!important}
  #character #charMainImage{height:90%!important;max-height:90%!important;bottom:6%!important}
  #character .char-detail{grid-template-rows:18% 28% 54%!important}
}

/* ------------------------------------------------------------------
   CASINOIR v0.47.7 R1 — audited portrait / launch / character fit
   ------------------------------------------------------------------ */
/* Test-phase portrait guidance: always cover the app in portrait. */
@media (orientation:portrait){
  #portraitGate{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
  .app{visibility:hidden!important}
}
@media (orientation:landscape){
  #portraitGate{display:none!important}
  .app{visibility:visible!important}
}

/* Move the entry CTA lower while keeping a safe bottom clearance. */
#landing .hero{height:96dvh!important;padding:0 5vw calc(26px + var(--safe-bottom))!important}
#landing .hero__actions{margin-top:auto!important;margin-bottom:0!important}
@media (max-width:900px){#landing .hero{height:96dvh!important;padding-bottom:calc(24px + var(--safe-bottom))!important}}
@media (max-width:760px) and (orientation:landscape){#landing .hero{height:96dvh!important;padding-bottom:calc(22px + var(--safe-bottom))!important}}

/* Fit CHARACTER detail cards inside one viewport. fr tracks account for row gaps;
   percentage tracks did not, which caused the clothing card to clip at the bottom. */
#character .char-detail{grid-template-rows:20fr 30fr 50fr!important;min-height:0!important;overflow:hidden!important}
#character .char-unlocks{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
#character .char-unlocks h2{flex:0 0 auto!important}
#character .unlock-track{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:hidden!important}
#character .char-cosmetics{display:flex!important;flex-direction:column!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
#character .cosmetic-row{flex:1 1 auto!important;min-height:0!important;max-height:100%!important;height:auto!important;overflow:hidden!important}
#character .cosmetic-card{min-height:0!important;max-height:100%!important}
@media (max-width:900px){#character .char-detail{grid-template-rows:19fr 29fr 52fr!important}}
@media (max-width:760px) and (orientation:landscape){#character .char-detail{grid-template-rows:18fr 28fr 54fr!important}}


/* ------------------------------------------------------------------
   CASINOIR v0.47.8 R1 — character/settings/home/table clarity pass
   ------------------------------------------------------------------ */
html,body{overflow-x:hidden!important;max-width:100vw!important}
#character{overflow:hidden!important}
#character .char-stage{max-width:calc(100vw - 54px - max(7px,var(--safe-inline)))!important;overflow:hidden!important}
#character .char-list--horizontal{overscroll-behavior-x:contain!important;scroll-behavior:smooth!important;max-width:100%!important}

/* Same SVG navigation language on HOME and every secondary screen. */
.screen > nav.home-bottom-nav .nav-icon{display:grid!important;place-items:center!important;width:21px!important;height:21px!important;color:#efc96e!important;flex:0 0 auto!important}
.screen > nav.home-bottom-nav .nav-icon svg{width:100%!important;height:100%!important;fill:none!important;stroke:currentColor!important;stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.screen:not(#home) > nav.home-bottom-nav button span.nav-icon{font-size:0!important}

/* HOME: sharper architectural background; remove frosted-glass haze. */
#home.screen--home{
  background:
    linear-gradient(90deg,rgba(5,12,14,.48),rgba(5,12,14,.18) 24%,rgba(5,12,14,.08) 52%,rgba(5,12,14,.28) 76%,rgba(5,12,14,.48)),
    linear-gradient(180deg,rgba(7,10,14,.18),rgba(7,10,14,.06) 26%,rgba(7,10,14,.12) 58%,rgba(4,6,9,.34) 100%),
    url("./assets/ui/home-bg-casinoir-v04710.webp") center center / cover no-repeat!important;
}
#home.screen--home::before{background:linear-gradient(90deg,rgba(0,0,0,.24),transparent 16%,transparent 84%,rgba(0,0,0,.22)),linear-gradient(180deg,rgba(255,223,156,.06),rgba(255,223,156,0) 32%,rgba(0,0,0,.20) 100%)!important}
#home.screen--home::after{background:radial-gradient(circle at 50% 12%,rgba(255,221,155,.18),transparent 24%),linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.14) 74%,rgba(0,0,0,.24) 100%)!important}
#home .home-lobby-architecture{opacity:.16!important}
#home .home-lobby-lights i{filter:none!important;opacity:.62!important}
#home .home-host-halo{filter:none!important;opacity:.48!important}
#home .home-featured-game,#home .home-coming-games button,#home .home-mission,#home .home-event,#home .home-dialogue,#home .home-topbar,#home > .home-bottom-nav{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* Player identity lives on the human seat plaque like a mahjong avatar. */
.live-seat--you{padding-left:34px!important;min-width:126px!important}
.seat-character-avatar{position:absolute;z-index:8;left:-16px;top:50%;width:45px;height:45px;transform:translateY(-50%);border-radius:50%;overflow:hidden;border:2px solid #e7c56f;background:linear-gradient(180deg,#21362d,#09130f);box-shadow:0 4px 12px rgba(0,0,0,.55),0 0 0 2px rgba(59,30,8,.75)}
.seat-character-avatar img{width:100%;height:118%;object-fit:cover;object-position:center 5%;display:block}

/* Normal poker table: remove duplicate telemetry and keep only what is needed to act. */
.screen--table .session-toolbar{max-width:none!important;grid-template-columns:1fr!important;background:rgba(5,13,10,.80)!important;border-color:rgba(226,189,101,.28)!important}
.screen--table .session-toolbar__actions{gap:4px!important}
.screen--table .session-toolbar__actions button{min-height:28px!important;font-size:8px!important}
.screen--table .console-status{width:auto!important;max-width:32%!important;background:rgba(5,13,10,.76)!important}
.screen--table .console-status>div{display:none!important}
.screen--table .console-status p{margin:0!important;text-align:center!important}
.screen--table .decision-metric--odds,.screen--table .decision-metric--effective{display:none!important}
.screen--table .action-history{display:none!important}
.screen--table .table-footer{display:none!important}
.screen--table .table-character-badge{display:none!important}
.screen--table .table-header__title h2{font-size:clamp(11px,1.15vw,14px)!important}
.screen--table .table-header__meta>span:first-child{font-size:8px!important}

@media (max-width:760px) and (orientation:landscape){
  .live-seat--you{padding-left:28px!important;min-width:106px!important}
  .seat-character-avatar{left:-13px;width:38px;height:38px}
  .screen--table .session-toolbar{left:3px!important;top:2px!important}
  .screen--table .session-toolbar__actions button{font-size:6.5px!important}
  .screen--table .console-status{max-width:38%!important}
  .screen--table .decision-strip--v169 .decision-metric{min-height:20px!important}
  .screen--table .decision-strip--v169 .decision-metric small{font-size:6px!important}
  .screen--table .decision-strip--v169 .decision-metric strong{font-size:9px!important}
}

/* ------------------------------------------------------------------
   CASINOIR v0.47.8 R2 — portrait / profile usability corrections
   ------------------------------------------------------------------ */
/* PROFILE: enlarge the selected character and center it in the left portrait frame. */
#profile .profile-identity{grid-template-columns:46% minmax(0,1fr)!important;column-gap:.48rem!important}
#profile .profile-avatar{place-items:center!important;display:grid!important}
#profile .profile-avatar img{width:112%!important;height:112%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;transform:translateY(1%)!important;transform-origin:center!important}
#profile .profile-badge-strip{padding-top:13px!important;position:relative!important}
#profile .profile-badge-strip::before{content:"実績バッジ";position:absolute;left:0;top:0;color:#bca66f;font-size:8px;font-weight:800;letter-spacing:.06em;line-height:1}

/* CAREER: the panel contains more sections than the old fixed grid had rows for.
   Keep every section accessible instead of clipping the bottom. */
#profile .profile-panel--career{grid-template-rows:auto auto auto auto auto minmax(72px,auto)!important;overflow-y:auto!important;overflow-x:hidden!important;align-content:start!important;padding-bottom:max(.7rem,var(--safe-bottom))!important;scrollbar-width:thin}
#profile .career-position-panel{min-height:72px!important;overflow:visible!important}
#profile .career-position-grid{min-height:40px!important}

/* ACHIEVEMENTS: remove the cramped status pill that collided with Lv text and
   give each unlock item a stable two-line Japanese layout. */
#profile .achievement-dashboard{grid-template-columns:minmax(132px,.64fr) minmax(0,2.36fr)!important;min-height:72px!important}
#profile .player-unlock-track{gap:.24rem!important}
#profile .player-unlock-card{grid-template-rows:auto!important;gap:.22rem!important;overflow:hidden!important;align-items:center!important}
#profile .player-unlock-card>span{width:23px!important;height:23px!important;font-size:.42rem!important}
#profile .player-unlock-card div{min-width:0!important;overflow:hidden!important}
#profile .player-unlock-card small{line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#profile .player-unlock-card strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#profile .player-unlock-card>b{display:none!important}

@media (max-width:760px) and (orientation:landscape){
  #profile .profile-identity{grid-template-columns:44% minmax(0,1fr)!important;column-gap:.3rem!important}
  #profile .profile-avatar img{width:118%!important;height:118%!important}
  #profile .achievement-dashboard{grid-template-columns:28% 72%!important;min-height:70px!important}
  #profile .player-unlock-track{gap:.16rem!important}
  #profile .player-unlock-card{gap:.15rem!important;padding:.22rem!important}
  #profile .profile-badge-strip::before{font-size:7px!important}
}
@media (max-width:690px) and (orientation:landscape){
  #profile .profile-identity{grid-template-columns:43% minmax(0,1fr)!important}
  #profile .profile-avatar img{width:122%!important;height:122%!important}
  #profile .achievement-dashboard{grid-template-columns:27% 73%!important}
  #profile .player-unlock-card small{font-size:6.5px!important}
  #profile .player-unlock-card strong{font-size:7.5px!important}
}


/* ------------------------------------------------------------------
   CASINOIR v0.47.8 R4 — profile achievement readability / detail modal
   ------------------------------------------------------------------ */
/* Left profile badges: explicit 1 x 4 slots, no clipped summary text. */
#profile .profile-badge-strip{
  display:grid!important;
  grid-template-rows:auto auto!important;
  gap:4px!important;
  align-content:center!important;
  min-width:0!important;
  overflow:visible!important;
  padding:0!important;
}
#profile .profile-badge-strip::before{content:none!important;display:none!important}
#profile .profile-badge-strip__head{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
#profile .profile-badge-strip__head b{color:#cdb36f;font-size:9px;line-height:1;font-weight:900;letter-spacing:.04em;white-space:nowrap}
#profile .profile-badge-strip__head small{color:#9d927b!important;font-size:8px!important;line-height:1!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
#profile .profile-badge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;min-width:0}
#profile .profile-badge-grid i{
  width:100%!important;max-width:26px!important;aspect-ratio:1!important;height:auto!important;
  justify-self:start;border-radius:7px!important;font-size:8px!important;
  border:1px solid rgba(234,190,88,.45)!important;background:linear-gradient(145deg,rgba(92,67,22,.8),rgba(17,21,14,.95))!important;
}
#profile .profile-badge-grid i.is-empty{color:#5f594c!important;border-color:rgba(159,142,99,.18)!important;background:rgba(7,19,14,.52)!important;box-shadow:none!important}
#profile .profile-badge-grid i.is-earned{color:#f7da82!important;box-shadow:0 3px 8px rgba(0,0,0,.22),inset 0 0 9px rgba(235,190,85,.08)!important}

/* Achievement dashboard: the level-unlock row gets the full width rather than
   squeezing four cards beside the summary. */
#profile .achievement-dashboard{
  display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;
  gap:.28rem!important;min-height:0!important;
}
#profile .achievement-dashboard__summary{
  min-height:31px!important;padding:.26rem .42rem!important;
  display:grid!important;grid-template-columns:auto auto minmax(0,1fr)!important;align-items:center!important;gap:.45rem!important;
}
#profile .achievement-dashboard__summary small{font-size:8px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
#profile .achievement-dashboard__summary strong{margin:0!important;font-size:10px!important;white-space:nowrap!important}
#profile .achievement-dashboard__summary span{font-size:8px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:right!important;line-height:1.15!important}
#profile .player-unlock-track{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:.26rem!important}
#profile .player-unlock-card{
  cursor:pointer!important;min-height:50px!important;grid-template-columns:24px minmax(0,1fr)!important;
  padding:.3rem .34rem!important;gap:.26rem!important;overflow:visible!important;
}
#profile .player-unlock-card:focus-visible,#profile .achievement-card:focus-visible{outline:2px solid rgba(245,208,116,.85);outline-offset:1px}
#profile .player-unlock-card div{overflow:visible!important}
#profile .player-unlock-card small{font-size:8px!important;line-height:1.15!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
#profile .player-unlock-card strong{font-size:9px!important;line-height:1.15!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;padding-right:0!important}
#profile .player-unlock-card div>em{display:block;margin-top:2px;color:#746b57;font-size:7px;font-style:normal;line-height:1;white-space:nowrap}
#profile .player-unlock-card.is-unlocked div>em{color:#69b88f}
#profile .profile-panel--achievements .achievement-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.26rem!important}
#profile .profile-panel--achievements .achievement-card{cursor:pointer!important;min-height:64px!important;overflow:visible!important}
#profile .profile-panel--achievements .achievement-card strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.15!important;max-height:2.3em}
#profile .profile-panel--achievements .achievement-card p{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#profile .profile-panel--achievements .achievement-card small{display:block;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#8d826d!important}
#profile .profile-panel--achievements .achievement-card.is-unlocked small{color:#65bf91!important}

/* Tap-to-read detail dialog. */
#profile .profile-detail-modal{position:absolute;inset:0;z-index:80;display:grid;place-items:center;padding:clamp(10px,2vw,20px);opacity:0;pointer-events:none;transition:opacity .15s ease}
#profile .profile-detail-modal[hidden]{display:none!important}
#profile .profile-detail-modal.is-open{opacity:1;pointer-events:auto}
#profile .profile-detail-modal__backdrop{position:absolute;inset:0;border:0;background:rgba(0,7,5,.76);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);cursor:default}
#profile .profile-detail-card{position:relative;width:min(520px,72vw);max-height:82vh;overflow:auto;border:1px solid rgba(235,194,103,.68);border-radius:16px;background:linear-gradient(150deg,rgba(12,39,29,.985),rgba(4,16,12,.99));box-shadow:0 24px 64px rgba(0,0,0,.62),inset 0 1px rgba(255,255,255,.04);padding:.72rem .8rem .66rem;transform:translateY(5px) scale(.985);transition:transform .15s ease}
#profile .profile-detail-modal.is-open .profile-detail-card{transform:none}
#profile .profile-detail-card__head{display:grid;grid-template-columns:42px minmax(0,1fr) 30px;align-items:center;gap:.55rem;padding-bottom:.5rem;border-bottom:1px solid rgba(228,186,88,.18)}
#profile .profile-detail-card__icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(239,196,92,.62);border-radius:11px;background:radial-gradient(circle,#77551c,#171a10 72%);color:#f7d77f;font-size:.76rem;font-weight:900}
#profile .profile-detail-card__head small{display:block;color:#b99a54;font-size:9px;font-weight:900;letter-spacing:.08em}
#profile .profile-detail-card__head h2{margin:2px 0 0;color:#f5dda0;font-size:15px;line-height:1.15}
#profile .profile-detail-card__close{width:30px;height:30px;border:1px solid rgba(226,185,92,.28);border-radius:50%;background:rgba(3,17,13,.8);color:#d9bc72;font-size:18px;cursor:pointer}
#profile .profile-detail-card__description{margin:.58rem 0;color:#ddd3bc;font-size:11px;line-height:1.55}
#profile .profile-detail-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}
#profile .profile-detail-card__meta span{min-width:0;padding:.38rem .46rem;border:1px solid rgba(212,174,83,.17);border-radius:9px;background:rgba(4,23,17,.7)}
#profile .profile-detail-card__meta small{display:block;color:#83775f;font-size:8px}
#profile .profile-detail-card__meta strong{display:block;margin-top:2px;color:#e5d3a5;font-size:10px;line-height:1.25;white-space:normal}
#profile .profile-detail-card__progress{margin-top:.48rem;padding:.38rem .46rem;border:1px solid rgba(211,173,81,.14);border-radius:9px;background:rgba(3,17,13,.62)}
#profile .profile-detail-card__progress>span{display:block;margin-bottom:4px;color:#aba18c;font-size:9px}
#profile .profile-detail-card__progress>i{display:block;height:5px;border-radius:99px;overflow:hidden;background:#25271f}
#profile .profile-detail-card__progress>i>b{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3f9b70,#74d1a0);transition:width .2s ease}
#profile .profile-detail-card__done{display:block;margin:.55rem 0 0 auto;min-width:86px;height:30px;border:1px solid #d3a94f;border-radius:8px;background:linear-gradient(180deg,#ddb65b,#8d6223);color:#261706;font-size:10px;font-weight:900;cursor:pointer}

@media (max-width:760px) and (orientation:landscape){
  #profile .profile-badge-strip__head b{font-size:8px}#profile .profile-badge-strip__head small{font-size:7px!important}
  #profile .profile-badge-grid{gap:3px}#profile .profile-badge-grid i{max-width:22px!important;font-size:7px!important}
  #profile .achievement-dashboard{gap:.2rem!important}
  #profile .achievement-dashboard__summary{min-height:27px!important;padding:.2rem .3rem!important;gap:.3rem!important}
  #profile .achievement-dashboard__summary small{font-size:7px!important}#profile .achievement-dashboard__summary strong{font-size:8px!important}#profile .achievement-dashboard__summary span{font-size:7px!important}
  #profile .player-unlock-track{gap:.18rem!important}
  #profile .player-unlock-card{min-height:43px!important;grid-template-columns:20px minmax(0,1fr)!important;padding:.22rem .24rem!important;gap:.18rem!important}
  #profile .player-unlock-card>span{width:19px!important;height:19px!important;font-size:7px!important}
  #profile .player-unlock-card small{font-size:7px!important}#profile .player-unlock-card strong{font-size:8px!important}#profile .player-unlock-card div>em{font-size:6px}
  #profile .profile-panel--achievements .achievement-card{min-height:54px!important}
  #profile .profile-detail-card{width:min(490px,76vw);padding:.5rem .6rem .46rem;border-radius:12px}
  #profile .profile-detail-card__head{grid-template-columns:34px minmax(0,1fr) 26px;gap:.42rem;padding-bottom:.34rem}
  #profile .profile-detail-card__icon{width:32px;height:32px;border-radius:9px;font-size:.62rem}
  #profile .profile-detail-card__head small{font-size:7px}#profile .profile-detail-card__head h2{font-size:12px}
  #profile .profile-detail-card__close{width:26px;height:26px;font-size:15px}
  #profile .profile-detail-card__description{margin:.38rem 0;font-size:9px;line-height:1.4}
  #profile .profile-detail-card__meta{gap:.3rem}#profile .profile-detail-card__meta span{padding:.26rem .34rem}#profile .profile-detail-card__meta small{font-size:7px}#profile .profile-detail-card__meta strong{font-size:8px}
  #profile .profile-detail-card__progress{margin-top:.35rem;padding:.28rem .34rem}#profile .profile-detail-card__progress>span{font-size:7px;margin-bottom:3px}
  #profile .profile-detail-card__done{height:26px;min-width:72px;margin-top:.38rem;font-size:8px}
}
@media (max-width:690px) and (orientation:landscape){
  #profile .profile-panel--achievements .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #profile .profile-detail-card{width:80vw}
}
@media (prefers-reduced-motion:reduce){#profile .profile-detail-modal,#profile .profile-detail-card,#profile .profile-detail-card__progress>i>b{transition:none!important}}

#profile .profile-badge-strip{align-content:start!important;align-self:start!important}

/* =========================================================
   CASINOIR v0.47.11 — HOME HERO LOBBY
   Approved 2026-09-15 visual direction:
   character-first anime lobby, top live-ops cluster, right vertical nav.
   ========================================================= */
#home.screen--home{
  isolation:isolate;
  background:
    linear-gradient(90deg,rgba(4,8,11,.46) 0%,rgba(4,8,11,.10) 26%,rgba(4,8,11,.04) 58%,rgba(4,8,11,.18) 78%,rgba(4,8,11,.42) 100%),
    linear-gradient(180deg,rgba(4,7,10,.17),rgba(4,7,10,.03) 32%,rgba(4,7,10,.10) 68%,rgba(3,5,8,.34) 100%),
    url("./assets/ui/home-bg-casinoir-v04710.webp") center center / cover no-repeat!important;
}
#home.screen--home::before{
  content:""!important;z-index:1!important;
  background:
    radial-gradient(ellipse at 41% 38%,rgba(255,218,145,.10),transparent 31%),
    linear-gradient(90deg,rgba(0,0,0,.20),transparent 18%,transparent 78%,rgba(0,0,0,.18)),
    linear-gradient(180deg,rgba(0,0,0,.05),transparent 36%,rgba(0,0,0,.14) 78%,rgba(0,0,0,.28))!important;
}
#home.screen--home::after{content:""!important;opacity:.38!important;background:linear-gradient(180deg,rgba(255,221,147,.06),transparent 22%,transparent 72%,rgba(0,0,0,.14))!important}
#home .home-lobby-lights{z-index:1!important;opacity:.42!important}
#home .home-lobby-architecture,#home .home-carpet{display:none!important}

/* Top player/currency/live-ops rail */
#home .home-topbar{
  height:clamp(54px,13.2vh,66px)!important;
  display:flex!important;align-items:center!important;gap:clamp(4px,.55vw,9px)!important;
  padding:calc(5px + var(--safe-top)) max(9px,var(--safe-inline)) 4px!important;
  background:linear-gradient(180deg,rgba(3,8,9,.78),rgba(3,8,9,.44) 68%,rgba(3,8,9,0))!important;
}
#home .home-profile{
  order:1;flex:0 0 clamp(126px,16.5vw,174px)!important;height:clamp(38px,8.2vh,46px)!important;
  gap:.42rem!important;padding:.2rem .48rem .2rem .24rem!important;border:1px solid rgba(235,196,105,.56)!important;
  background:linear-gradient(180deg,rgba(8,16,15,.88),rgba(3,9,9,.84))!important;box-shadow:0 7px 18px rgba(0,0,0,.27),inset 0 0 15px rgba(241,200,102,.06)!important;backdrop-filter:blur(4px)!important;
}
#home .home-avatar{width:clamp(29px,4vw,38px)!important;height:clamp(29px,4vw,38px)!important;border:2px solid #e7bf68!important;background:#152820!important}
#home .home-avatar img{width:100%!important;height:125%!important;object-fit:cover!important;object-position:50% 5%!important}
#home .home-profile__copy{grid-template-columns:auto auto!important;gap:0 .22rem!important;min-width:0!important;align-items:center!important}
#home .home-profile__copy small{font-size:clamp(8px,.78vw,11px)!important;color:#f4e8cc!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#home .home-profile__copy strong{font-size:clamp(7px,.72vw,10px)!important;color:#f0c96f!important;white-space:nowrap!important}
#home .home-profile__copy span{grid-column:1/3!important;height:4px!important;margin-top:2px!important;background:#33291d!important}

#home .home-wallet{
  order:2;flex:0 0 clamp(86px,11.3vw,122px)!important;height:clamp(34px,7.4vh,42px)!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:.3rem!important;
  padding:.12rem .28rem .12rem .38rem!important;border:1px solid rgba(234,192,103,.48)!important;
  background:linear-gradient(180deg,rgba(8,16,15,.87),rgba(3,9,9,.82))!important;box-shadow:0 6px 18px rgba(0,0,0,.25)!important;backdrop-filter:blur(4px)!important;
}
#home .home-wallet--premium{order:3!important}
#home .home-wallet>span{width:clamp(21px,2.8vw,27px)!important;height:clamp(21px,2.8vw,27px)!important;font-size:.55rem!important}
#home .home-wallet strong{font-size:clamp(8px,.85vw,12px)!important;color:#fff0cb!important}
#home .home-wallet button{width:clamp(21px,2.7vw,26px)!important;height:clamp(21px,2.7vw,26px)!important;font-size:.75rem!important}

#home .home-utility-row{
  order:4;margin-left:auto;display:flex;align-items:stretch;justify-content:flex-end;gap:clamp(2px,.34vw,6px);min-width:0;height:clamp(40px,8.8vh,50px);
}
#home .home-utility-action{flex:0 0 clamp(38px,5.45vw,57px)!important;width:clamp(38px,5.45vw,57px)!important;min-width:0!important;
  display:grid!important;grid-template-rows:1fr auto!important;place-items:center!important;gap:1px!important;padding:2px 2px 3px!important;
  border:1px solid rgba(229,188,95,.32)!important;border-radius:9px!important;background:linear-gradient(180deg,rgba(7,17,15,.70),rgba(2,8,8,.66))!important;color:#f1cc74!important;
  box-shadow:0 5px 15px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.025)!important;backdrop-filter:blur(4px)!important;cursor:pointer!important;
}
#home .home-utility-action .home-util-icon{width:clamp(18px,2.6vw,25px)!important;height:clamp(18px,2.6vw,25px)!important;display:grid!important;place-items:center!important}
#home .home-utility-action .home-util-icon svg{width:100%!important;height:100%!important;fill:none!important;stroke:currentColor!important;stroke-width:1.65!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#home .home-utility-action>strong{font-size:clamp(6px,.57vw,8px)!important;line-height:1!important;font-weight:800!important;color:#f5e5bc!important;white-space:nowrap!important;letter-spacing:0!important}
#home .home-utility-action>em{position:absolute!important;right:-3px!important;top:-4px!important;min-width:14px!important;height:14px!important;display:grid!important;place-items:center!important;padding:0 3px!important;border-radius:99px!important;background:#dc2639!important;color:#fff!important;font:800 7px/1 system-ui!important;font-style:normal!important;box-shadow:0 2px 6px rgba(0,0,0,.35)!important}
#home #homeCheckinDot{right:-2px!important;top:-3px!important;width:10px!important;height:10px!important;background:#dc2639!important;box-shadow:0 0 0 2px #17120d,0 0 8px rgba(220,38,57,.55)!important}
#home .home-utility-action:active{transform:translateY(1px) scale(.98)}

/* Hero logo and character */
#home .home-stage{z-index:3!important}
#home .home-brand--hero{z-index:8!important;left:max(2.2%,var(--safe-inline))!important;top:clamp(72px,20.5vh,103px)!important;width:clamp(150px,22vw,225px)!important;text-align:center!important;pointer-events:none!important;filter:drop-shadow(0 4px 10px rgba(0,0,0,.52))!important;
}
#home .home-brand--hero .home-brand__crown{position:relative!important;left:auto!important;top:auto!important;display:block!important;margin:0 auto -.08rem!important;color:#e7bd61!important;font-size:clamp(.62rem,1.35vw,1rem)!important}
#home .home-brand--hero strong{color:#f5d481!important;font-size:clamp(1.5rem,3.45vw,2.65rem)!important;line-height:.94!important;letter-spacing:.025em!important;text-shadow:0 2px 0 #5b3210,0 0 16px rgba(234,184,72,.28)!important}
#home .home-brand--hero strong span{color:#fff0bf!important}
#home .home-brand--hero small{margin-top:.32rem!important;color:#e5c77e!important;font-size:clamp(6px,.72vw,9px)!important;letter-spacing:.26em!important}
#home .home-brand--hero p{margin:.6rem 0 0!important;color:#f5dfb2!important;font-family:Georgia,"Yu Mincho","Hiragino Mincho ProN",serif!important;font-size:clamp(10px,1.2vw,15px)!important;line-height:1.48!important;text-align:left!important;padding-left:8%!important;text-shadow:0 2px 9px #000!important}

#home .home-host-zone{z-index:7!important;left:clamp(12%,13.5vw,15%)!important;top:clamp(40px,9.5vh,52px)!important;width:clamp(330px,52vw,560px)!important;height:calc(100% - clamp(20px,4vh,28px))!important;
}
#home .home-host-halo{display:block!important;position:absolute!important;left:44%!important;top:43%!important;width:82%!important;aspect-ratio:1!important;border-radius:50%!important;background:radial-gradient(circle,rgba(242,196,96,.16),rgba(242,196,96,.04) 42%,transparent 70%)!important;filter:blur(10px)!important;opacity:.72!important}
#home .home-casinon{left:50%!important;bottom:-13%!important;height:123%!important;transform:translateX(-50%)!important;object-position:center bottom!important;filter:drop-shadow(0 19px 20px rgba(0,0,0,.44)) drop-shadow(0 0 18px rgba(236,193,103,.10))!important;
}

/* Hide the former left-bottom live cards; data remains active for TODAY/mission systems. */
#home .home-live-data{display:none!important}

/* Main CTA */
#home .home-game-zone{z-index:16!important;left:auto!important;right:max(2.1%,var(--safe-inline))!important;top:auto!important;bottom:max(3.4%,var(--safe-bottom))!important;width:clamp(220px,30vw,330px)!important;height:auto!important}
#home .home-floor-button--hero{height:clamp(54px,13.2vh,72px)!important;margin:0!important;padding:0 clamp(15px,2vw,24px)!important;grid-template-columns:auto 1fr auto!important;gap:clamp(8px,1.2vw,14px)!important;
  border:2px solid #e3bd61!important;background:linear-gradient(180deg,rgba(13,60,45,.95),rgba(5,33,25,.97))!important;color:#f5d98c!important;
  box-shadow:0 10px 26px rgba(0,0,0,.42),0 0 0 2px rgba(77,49,17,.82),inset 0 1px rgba(255,245,204,.16),inset 0 0 24px rgba(222,178,72,.08)!important;cursor:pointer!important;
}
#home .home-floor-button--hero>b{font-size:clamp(1.1rem,2.7vw,1.75rem)!important;color:#efd172!important;text-shadow:0 0 12px rgba(237,191,82,.25)!important}
#home .home-floor-button--hero>span{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important}
#home .home-floor-button--hero>span>strong{font-family:Georgia,"Yu Mincho","Hiragino Mincho ProN",serif!important;font-size:clamp(.85rem,1.8vw,1.35rem)!important;font-weight:700!important;letter-spacing:.05em!important;color:#f7e1a4!important;white-space:nowrap!important}
#home .home-floor-button--hero>span>small{font-size:clamp(6px,.62vw,8px)!important;letter-spacing:.25em!important;color:#d5b66a!important}
#home .home-floor-button--hero>i{font-size:clamp(1.1rem,2vw,1.5rem)!important;color:#f3d276!important}

/* Right vertical navigation */
#home>.home-side-nav{
  position:absolute!important;z-index:22!important;right:max(1.35%,var(--safe-inline))!important;left:auto!important;top:clamp(72px,19vh,94px)!important;bottom:auto!important;
  width:clamp(144px,18.6vw,198px)!important;height:auto!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(5,clamp(46px,10.2vh,58px))!important;gap:clamp(5px,.8vh,8px)!important;
  padding:0!important;background:none!important;border:0!important;box-shadow:none!important;pointer-events:auto!important;transform:none!important;
}
#home>.home-side-nav button{
  position:relative!important;pointer-events:auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:grid!important;grid-template-columns:clamp(30px,3.9vw,40px) 1fr!important;grid-template-rows:1fr auto!important;align-items:center!important;column-gap:clamp(8px,1vw,12px)!important;
  padding:clamp(4px,.6vw,7px) clamp(10px,1.2vw,14px)!important;border:1px solid rgba(226,187,95,.58)!important;border-radius:clamp(12px,1.6vw,17px)!important;
  background:linear-gradient(180deg,rgba(9,20,18,.91),rgba(3,9,9,.94))!important;color:#f1d080!important;box-shadow:0 7px 20px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.03)!important;text-align:left!important;overflow:hidden!important;
}
#home>.home-side-nav button::before{content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:3px!important;background:linear-gradient(#f0cf75,#8d5d23)!important;opacity:.55!important}
#home>.home-side-nav button::after{content:attr(data-en)!important;grid-column:2!important;grid-row:2!important;position:static!important;width:auto!important;height:auto!important;background:none!important;color:#a9894e!important;font-size:clamp(5px,.52vw,7px)!important;letter-spacing:.14em!important;line-height:1!important;opacity:1!important}
#home>.home-side-nav button .nav-icon{grid-column:1!important;grid-row:1/3!important;width:clamp(27px,3.5vw,36px)!important;height:clamp(27px,3.5vw,36px)!important;display:grid!important;place-items:center!important;color:#e8c56f!important;font-size:0!important}
#home>.home-side-nav button .nav-icon svg{width:78%!important;height:78%!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#home>.home-side-nav button>strong{grid-column:2!important;grid-row:1!important;align-self:end!important;font-size:clamp(9px,1.02vw,13px)!important;line-height:1.05!important;color:#f2dfb1!important;text-shadow:0 2px 7px #000!important;white-space:nowrap!important}
#home>.home-side-nav button.is-active,#home>.home-side-nav button[aria-current="page"]{border-color:#efcf79!important;background:linear-gradient(180deg,rgba(24,67,49,.97),rgba(7,38,29,.98))!important;box-shadow:0 8px 22px rgba(0,0,0,.36),0 0 0 2px rgba(77,50,18,.78),inset 0 0 18px rgba(238,193,82,.06)!important}
#home>.home-side-nav button.is-active::before{opacity:1!important;width:4px!important}
#home>.home-side-nav button:active{transform:translateY(1px)!important}

#home .home-toast{z-index:60!important;left:50%!important;right:auto!important;bottom:max(8px,var(--safe-bottom))!important;transform:translateX(-50%)!important}

@media (max-width:760px) and (orientation:landscape){
  #home .home-topbar{height:52px!important;padding-top:calc(3px + var(--safe-top))!important;gap:3px!important}
  #home .home-profile{flex-basis:118px!important;height:34px!important;padding-right:.34rem!important}
  #home .home-avatar{width:27px!important;height:27px!important}
  #home .home-wallet{flex-basis:76px!important;height:32px!important;gap:.2rem!important}
  #home .home-wallet>span{width:20px!important;height:20px!important}
  #home .home-wallet button{width:20px!important;height:20px!important}
  #home .home-utility-row{height:38px!important;gap:2px!important}
  #home .home-utility-action{flex-basis:36px!important;width:36px!important;border-radius:8px!important}
  #home .home-utility-action .home-util-icon{width:18px!important;height:18px!important}
  #home .home-utility-action>strong{font-size:5.5px!important}
  #home .home-brand--hero{left:max(1.5%,var(--safe-inline))!important;top:67px!important;width:145px!important}
  #home .home-brand--hero strong{font-size:1.42rem!important}
  #home .home-brand--hero p{font-size:8.5px!important;margin-top:.42rem!important}
  #home .home-host-zone{left:13%!important;top:34px!important;width:49vw!important;height:calc(100% - 14px)!important}
  #home .home-casinon{height:121%!important;bottom:-14%!important}
  #home>.home-side-nav{right:max(1%,var(--safe-inline))!important;top:58px!important;width:138px!important;grid-template-rows:repeat(5,44px)!important;gap:4px!important}
  #home>.home-side-nav button{grid-template-columns:28px 1fr!important;padding:4px 8px!important;border-radius:11px!important;column-gap:6px!important}
  #home>.home-side-nav button .nav-icon{width:27px!important;height:27px!important}
  #home>.home-side-nav button>strong{font-size:8px!important}
  #home>.home-side-nav button::after{font-size:4.5px!important}
  #home .home-game-zone{right:max(1.2%,var(--safe-inline))!important;bottom:max(2.8%,var(--safe-bottom))!important;width:210px!important}
  #home .home-floor-button--hero{height:52px!important;padding:0 13px!important}
  #home .home-floor-button--hero>span>strong{font-size:.82rem!important}
}

@media (max-width:690px) and (orientation:landscape){
  #home .home-topbar{height:49px!important;padding-left:max(6px,var(--safe-inline))!important;padding-right:max(6px,var(--safe-inline))!important}
  #home .home-profile{flex-basis:106px!important;height:32px!important}
  #home .home-profile__copy strong{font-size:6.5px!important}
  #home .home-wallet{flex-basis:68px!important;height:30px!important}
  #home .home-wallet strong{font-size:7px!important}
  #home .home-wallet--premium{display:grid!important}
  #home .home-utility-row{height:35px!important}
  #home .home-utility-action{flex-basis:32px!important;width:32px!important;padding-bottom:2px!important}
  #home .home-utility-action .home-util-icon{width:16px!important;height:16px!important}
  #home .home-utility-action>strong{font-size:4.7px!important}
  #home .home-utility-action>em{min-width:12px!important;height:12px!important;font-size:6px!important}
  #home .home-brand--hero{top:62px!important;width:127px!important}
  #home .home-brand--hero strong{font-size:1.22rem!important}
  #home .home-brand--hero small{font-size:5px!important}
  #home .home-brand--hero p{font-size:7.4px!important}
  #home .home-host-zone{left:11.5%!important;top:31px!important;width:51vw!important}
  #home .home-casinon{height:119%!important;bottom:-13%!important}
  #home>.home-side-nav{top:54px!important;width:124px!important;grid-template-rows:repeat(5,41px)!important;gap:3px!important}
  #home>.home-side-nav button{grid-template-columns:25px 1fr!important;padding:3px 7px!important;border-radius:10px!important}
  #home>.home-side-nav button .nav-icon{width:24px!important;height:24px!important}
  #home>.home-side-nav button>strong{font-size:7.2px!important}
  #home>.home-side-nav button::after{font-size:4px!important}
  #home .home-game-zone{width:188px!important;right:max(.8%,var(--safe-inline))!important;bottom:max(2%,var(--safe-bottom))!important}
  #home .home-floor-button--hero{height:48px!important;padding:0 11px!important;gap:7px!important}
  #home .home-floor-button--hero>span>strong{font-size:.72rem!important}
  #home .home-floor-button--hero>span>small{font-size:5px!important}
}

@media (max-height:360px) and (orientation:landscape){
  #home .home-topbar{height:46px!important}
  #home .home-brand--hero{top:56px!important}
  #home .home-host-zone{top:27px!important}
  #home>.home-side-nav{top:49px!important;grid-template-rows:repeat(5,38px)!important}
  #home .home-game-zone{bottom:max(1.5%,var(--safe-bottom))!important}
  #home .home-floor-button--hero{height:45px!important}
}

/* v0.47.11 HOME reset against legacy HOME positioning rules. */
#home .home-profile{transform:none!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important}
#home #homeCheckinButton,#home #homeSeasonButton{
  position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;
  min-width:0!important;min-height:0!important;margin:0!important;overflow:visible!important;text-align:center!important;
}
#home #homeCheckinButton:hover,#home #homeCheckinButton:focus-visible,#home #homeSeasonButton:hover,#home #homeSeasonButton:focus-visible{transform:none!important}
#home #homeSeasonButton::after{display:none!important;content:none!important}
#home #homeCheckinButton>small,#home #homeCheckinButton>strong:not(:scope > strong),#home #homeCheckinButton>span:not(.home-util-icon),
#home #homeSeasonButton>small,#home #homeSeasonButton>span:not(.home-util-icon){display:none!important}

#home .home-host-zone{
  left:7%!important;right:auto!important;top:0!important;width:61%!important;height:100%!important;max-width:none!important;max-height:none!important;
  transform:none!important;
}
#home .home-host-zone .home-casinon{
  left:53%!important;right:auto!important;top:auto!important;bottom:-50dvh!important;width:auto!important;height:150dvh!important;max-width:58vw!important;max-height:none!important;
  transform:translateX(-50%)!important;object-fit:contain!important;object-position:center bottom!important;
}
@supports not (height:100dvh){#home .home-host-zone .home-casinon{bottom:-50vh!important;height:150vh!important}}

@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone{left:5%!important;top:0!important;bottom:0!important;width:63%!important;height:100%!important;max-height:none!important;transform:none!important}
  #home .home-host-zone .home-casinon{left:54%!important;bottom:-49dvh!important;height:149dvh!important;max-width:61vw!important;max-height:none!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-host-zone{left:3.5%!important;width:65%!important;height:100%!important;max-height:none!important}
  #home .home-host-zone .home-casinon{left:55%!important;bottom:-47dvh!important;height:147dvh!important;max-width:63vw!important;max-height:none!important}
}

@media (max-height:410px) and (orientation:landscape) and (min-width:761px){
  #home>.home-side-nav{top:clamp(62px,17vh,70px)!important;grid-template-rows:repeat(5,43px)!important;gap:4px!important}
  #home .home-game-zone{bottom:max(2.4%,var(--safe-bottom))!important}
  #home .home-floor-button--hero{height:52px!important}
  #home .home-brand--hero{top:clamp(66px,18vh,72px)!important}
}


/* =========================================================
   CASINOIR v0.47.13 — HOME approved concept, rebuilt as live web UI
   Approved mock is used only as layout reference.
   ========================================================= */
#home.screen--home{
  --home-gold:#efd080;
  --home-gold-soft:#c79b4c;
  --home-panel:#07110f;
  --home-panel-2:#0b1d18;
  overflow:hidden!important;
  background:
    linear-gradient(90deg,rgba(3,7,7,.54) 0%,rgba(3,7,7,.14) 25%,rgba(3,7,7,.04) 55%,rgba(3,7,7,.18) 76%,rgba(3,7,7,.38) 100%),
    linear-gradient(180deg,rgba(3,7,9,.10),rgba(3,7,9,.02) 52%,rgba(3,5,6,.28) 100%),
    url("./assets/ui/home-bg-casinoir-v04710.webp") center center / cover no-repeat!important;
}
#home.screen--home::before{
  display:block!important;
  content:"";
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:
    radial-gradient(circle at 35% 43%,rgba(255,220,146,.12),transparent 26%),
    linear-gradient(90deg,rgba(0,0,0,.18),transparent 24%,transparent 74%,rgba(0,0,0,.10))!important;
}
#home.screen--home::after{
  display:block!important;
  content:"";
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  opacity:1!important;
  background:linear-gradient(180deg,rgba(0,0,0,.06),transparent 22%,transparent 72%,rgba(0,0,0,.16))!important;
}
#home .home-lobby-lights,
#home .home-lobby-architecture,
#home .home-carpet{display:none!important}

/* Top bar: three visual groups — player / currencies / utilities. */
#home .home-topbar{
  position:absolute!important;
  z-index:30!important;
  top:0!important;left:0!important;right:0!important;
  height:14.7%!important;min-height:0!important;
  display:block!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
#home .home-profile{
  position:absolute!important;
  left:1.45%!important;top:2.0%!important;
  width:18.5%!important;height:9.9%!important;min-height:0!important;
  display:grid!important;grid-template-columns:clamp(34px,4.15vw,52px) 1fr!important;
  align-items:center!important;gap:.5rem!important;
  padding:.26rem .72rem .26rem .28rem!important;
  border:1.3px solid rgba(233,199,116,.70)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(6,17,15,.94),rgba(3,11,10,.92))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 6px 18px rgba(0,0,0,.24)!important;
}
#home .home-avatar{
  width:clamp(33px,4vw,50px)!important;height:clamp(33px,4vw,50px)!important;
  border:2px solid #d8ad58!important;box-shadow:0 0 0 2px rgba(45,29,9,.85),0 0 12px rgba(227,185,92,.14)!important;
}
#home .home-avatar img{height:126%!important;object-position:50% 3%!important}
#home .home-profile__copy{display:grid!important;grid-template-columns:1fr auto!important;gap:.05rem .32rem!important}
#home .home-profile__copy small{display:block!important;color:#f5ead5!important;font-size:clamp(8px,.78vw,12px)!important;font-weight:800!important;letter-spacing:.02em!important}
#home .home-profile__copy strong{color:#e5c071!important;font-size:clamp(8px,.7vw,11px)!important}
#home .home-profile__copy span{height:5px!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(215,174,82,.19)!important}
#home .home-profile__copy span i{background:linear-gradient(90deg,#e1bd6c,#ffe7a3)!important;box-shadow:0 0 7px rgba(238,200,111,.34)!important}

/* Currencies centered above character, like approved concept. */
#home .home-wallet{
  position:absolute!important;top:2.0%!important;
  height:8.6%!important;min-height:0!important;
  display:grid!important;grid-template-columns:auto 1fr auto!important;
  gap:.45rem!important;align-items:center!important;
  padding:.18rem .28rem .18rem .48rem!important;
  border:1.25px solid rgba(233,199,116,.72)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(8,18,16,.94),rgba(4,11,10,.92))!important;
  box-shadow:0 5px 16px rgba(0,0,0,.23),inset 0 0 0 1px rgba(255,255,255,.025)!important;
}
#home .home-wallet--chips{left:43.2%!important}
#home .home-wallet--premium{left:57.1%!important;width:12.0%!important;display:grid!important}
#home .home-wallet strong{
  color:#f7edd7!important;font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(10px,1.06vw,16px)!important;letter-spacing:.03em!important;
}
#home .home-wallet button{
  width:clamp(27px,2.75vw,38px)!important;height:clamp(27px,2.75vw,38px)!important;
  background:linear-gradient(180deg,#f8dfa0,#c69037)!important;border:1px solid #ffedb3!important;
  box-shadow:0 0 0 2px rgba(91,58,18,.88),inset 0 0 0 1px rgba(255,255,255,.28)!important;
}
#home .wallet-chip{width:clamp(28px,3vw,40px)!important;height:clamp(28px,3vw,40px)!important}
#home .wallet-coin{width:clamp(27px,2.8vw,38px)!important;height:clamp(27px,2.8vw,38px)!important}

/* Utility icons across the upper-right edge. */
#home .home-utility-row{
  position:absolute!important;right:1.25%!important;top:1.25%!important;
  height:11.2%!important;
  display:grid!important;grid-template-columns:repeat(6,clamp(45px,5vw,68px))!important;
  gap:clamp(2px,.26vw,5px)!important;align-items:stretch!important;
}
#home .home-utility-action{
  position:relative!important;width:auto!important;height:100%!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:.05rem!important;padding:.12rem .06rem .1rem!important;
  border:0!important;border-radius:0!important;
  background:linear-gradient(180deg,rgba(4,13,12,.55),rgba(4,13,12,.14))!important;
  box-shadow:none!important;color:#f5db9a!important;
}
#home .home-util-icon{width:clamp(23px,2.5vw,34px)!important;height:clamp(23px,2.5vw,34px)!important}
#home .home-util-icon svg{stroke:#f6dfa4!important;stroke-width:1.7!important}
#home .home-utility-action strong{
  display:block!important;color:#f8eed8!important;
  font-size:clamp(7px,.63vw,10px)!important;line-height:1!important;font-weight:800!important;
  white-space:nowrap!important;text-shadow:0 1px 4px #000!important;
}
#home .home-utility-action em{
  right:5%!important;top:-2%!important;min-width:17px!important;height:17px!important;
  font-size:8px!important;background:#e6373e!important;border:1px solid rgba(255,255,255,.68)!important;
}
#home #homeCheckinDot{
  position:absolute!important;right:8%!important;top:1%!important;width:8px!important;height:8px!important;
  border-radius:50%!important;background:#e63b42!important;box-shadow:0 0 0 2px rgba(255,255,255,.50)!important;
}

/* Stage uses live background + live selected character, not a composite mock image. */
#home .home-stage{
  position:absolute!important;inset:0!important;height:auto!important;padding:0!important;
  z-index:4!important;display:block!important;overflow:hidden!important;
}
#home .home-brand--hero{
  position:absolute!important;z-index:7!important;
  left:2.55%!important;top:13.8%!important;width:22%!important;
  display:block!important;padding:0!important;color:#f7dd9a!important;
  text-shadow:0 2px 8px rgba(0,0,0,.70)!important;
}
#home .home-brand--hero .home-brand__crown{
  position:absolute!important;left:8.8%!important;
  color:#e6bd67!important;font-size:clamp(14px,1.45vw,22px)!important;
}
#home .home-brand--hero strong{
  display:block!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(30px,4.05vw,61px)!important;letter-spacing:.01em!important;color:#ffe6a5!important;
  text-shadow:0 3px 0 rgba(75,44,11,.65),0 0 16px rgba(243,191,82,.19)!important;
}
#home .home-brand--hero small{
  display:block!important;margin-top:.38rem!important;
  color:#d4aa58!important;font-size:clamp(7px,.72vw,11px)!important;
  letter-spacing:.34em!important;text-align:center!important;width:80%!important;
}
#home .home-brand--hero p{
  margin:clamp(20px,4.5vh,34px) 0 0 4%!important;
  color:#f5e0ad!important;font-family:"Yu Mincho","Hiragino Mincho ProN",serif!important;
  font-size:clamp(13px,1.55vw,23px)!important;line-height:1.55!important;font-weight:500!important;
  transform:rotate(-2deg)!important;letter-spacing:.03em!important;
}
#home .home-brand--hero p em{font-style:normal!important}
#home .home-brand__signature{
  display:block!important;margin:.28rem 0 0 9%!important;
  color:#e8c878!important;font-family:"Segoe Script","Brush Script MT",cursive!important;
  font-size:clamp(11px,1.25vw,19px)!important;font-weight:500!important;transform:rotate(-6deg)!important;
}

/* Selected character: large, prominent, and in front of left-middle background. */
#home .home-host-zone{
  position:absolute!important;z-index:6!important;
  left:13.5%!important;top:-5.2%!important;width:48%!important;height:110%!important;pointer-events:none!important;
}
#home .home-host-halo{display:none!important}
#home .home-casinon{
  position:absolute!important;left:0!important;right:auto!important;top:0!important;bottom:auto!important;
  height:116%!important;width:auto!important;max-width:none!important;
  object-fit:contain!important;object-position:left top!important;
  filter:drop-shadow(0 16px 15px rgba(0,0,0,.36)) drop-shadow(0 0 16px rgba(233,191,99,.08))!important;
  transform:none!important;
}
#home .home-dialogue{display:none!important}

/* The old large mission tile is data-only on HOME. */
#home .home-mission{display:none!important}

/* Right-side navigation — HOME button intentionally removed. */
#home nav.home-bottom-nav.home-side-nav{
  position:absolute!important;z-index:30!important;
  top:22.5%!important;right:1.35%!important;left:auto!important;
  width:18.0%!important;
  display:grid!important;grid-template-columns:1fr!important;grid-auto-rows:clamp(54px,12.1vh,78px)!important;
  gap:clamp(5px,1.1vh,9px)!important;
  padding:0!important;margin:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
#home nav.home-side-nav button{
  position:relative!important;width:100%!important;height:100%!important;min-height:0!important;
  display:grid!important;grid-template-rows:1fr auto!important;text-align:left!important;
  padding:.3rem .9rem .28rem .72rem!important;
  color:#f7e7bf!important;
  border:1.25px solid rgba(224,186,101,.70)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(9,19,17,.95),rgba(4,11,10,.96))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02),0 8px 18px rgba(0,0,0,.24)!important;
}
#home nav.home-side-nav button::after{
  content:attr(data-en)!important;position:absolute!important;
  left:31%!important;bottom:13%!important;color:#a98b52!important;
  font-family:Georgia,serif!important;font-size:clamp(5px,.42vw,7px)!important;letter-spacing:.20em!important;
}
#home nav.home-side-nav button .nav-icon{
  grid-row:1/3!important;display:grid!important;place-items:center!important;
  width:clamp(28px,3.15vw,43px)!important;height:clamp(28px,3.15vw,43px)!important;
  color:#e9c875!important;margin:0!important;
}
#home nav.home-side-nav button .nav-icon svg{width:82%!important;height:82%!important;stroke-width:1.7!important}
#home nav.home-side-nav button strong{
  align-self:end!important;color:#f7ecd2!important;font-size:clamp(10px,1vw,15px)!important;
  line-height:1.1!important;white-space:nowrap!important;font-weight:800!important;
}
#home nav.home-side-nav button:hover,
#home nav.home-side-nav button:focus-visible{
  border-color:#f4d686!important;box-shadow:0 0 0 2px rgba(239,204,124,.10),0 8px 18px rgba(0,0,0,.24)!important;
}

/* Main CTA — visual weight similar to approved concept. */
#home .home-game-zone{
  position:absolute!important;z-index:31!important;
  right:2.05%!important;bottom:5.2%!important;
  width:29.5%!important;height:14.6%!important;padding:0!important;
}
#home .home-floor-button--hero{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;
  display:grid!important;grid-template-columns:18% 1fr 10%!important;align-items:center!important;
  padding:0 .8rem!important;
  border:2px solid #e4bd65!important;border-radius:999px!important;
  background:linear-gradient(180deg,#0d5948,#07392f)!important;
  box-shadow:0 0 0 3px rgba(74,45,11,.92),0 9px 24px rgba(0,0,0,.34),inset 0 0 22px rgba(255,224,153,.05)!important;
}
#home .home-floor-button--hero>b{
  color:#f6d97f!important;font-size:clamp(24px,3vw,43px)!important;text-align:center!important;
}
#home .home-floor-button--hero span{display:flex!important;flex-direction:column!important;align-items:center!important}
#home .home-floor-button--hero span strong{
  color:#f8e7bd!important;font-family:"Yu Mincho","Hiragino Mincho ProN",serif!important;
  font-size:clamp(17px,2vw,30px)!important;font-weight:700!important;line-height:1.08!important;text-shadow:0 2px 8px #000!important;
}
#home .home-floor-button--hero span small{
  margin-top:.2rem!important;color:#d7b66c!important;font-family:Georgia,serif!important;
  font-size:clamp(7px,.72vw,11px)!important;letter-spacing:.27em!important;
}
#home .home-floor-button--hero>i{
  color:#f6d97f!important;font-size:clamp(26px,3vw,44px)!important;font-style:normal!important;text-align:center!important;
}

/* Small live-text footer, like the approved visual. */
#home .home-visual-footer{
  position:absolute!important;z-index:7!important;
  left:1.6%!important;bottom:2.3%!important;color:#f6ead2!important;
  text-shadow:0 2px 6px rgba(0,0,0,.78)!important;pointer-events:none!important;
}
#home .home-visual-footer span{
  display:block!important;font-family:"Yu Mincho","Hiragino Mincho ProN",serif!important;
  font-size:clamp(7px,.67vw,10px)!important;letter-spacing:.10em!important;
}
#home .home-visual-footer small{
  display:block!important;margin-top:.16rem!important;color:#d0b170!important;
  font-size:clamp(5px,.42vw,7px)!important;letter-spacing:.34em!important;
}

/* Keep all HOME components inside very small landscape iPhones. */
@media (max-width:760px) and (orientation:landscape){
  #home .home-profile{left:1%!important;top:1.5%!important;width:20.5%!important;height:10.8%!important;padding:.17rem .42rem .17rem .22rem!important;gap:.28rem!important}
  #home .home-avatar{width:32px!important;height:32px!important}
  #home .home-wallet{top:1.5%!important;height:9.7%!important;padding-left:.28rem!important;gap:.22rem!important}
  #home .home-wallet--chips{left:43%!important;width:14.2%!important}
  #home .home-wallet--premium{left:58%!important;width:13.0%!important}
  #home .home-wallet strong{font-size:9px!important}
  #home .home-wallet button{width:25px!important;height:25px!important}
  #home .wallet-chip,#home .wallet-coin{width:25px!important;height:25px!important}
  #home .home-utility-row{right:.8%!important;top:.8%!important;height:11.7%!important;grid-template-columns:repeat(6,clamp(36px,5.4vw,44px))!important;gap:1px!important}
  #home .home-util-icon{width:21px!important;height:21px!important}
  #home .home-utility-action strong{font-size:6px!important}
  #home .home-brand--hero{left:2%!important;top:13.5%!important;width:24%!important}
  #home .home-brand--hero strong{font-size:29px!important}
  #home .home-brand--hero p{font-size:11px!important;margin-top:18px!important}
  #home .home-brand__signature{font-size:9px!important}
  #home .home-host-zone{left:13.5%!important;top:-2%!important;width:49%!important;height:108%!important}
  #home .home-casinon{height:110%!important}
  #home nav.home-bottom-nav.home-side-nav{
    right:.8%!important;top:20.5%!important;width:20.3%!important;
    grid-auto-rows:55px!important;gap:5px!important
  }
  #home nav.home-side-nav button{padding:.18rem .48rem .18rem .45rem!important;grid-template-columns:25% 1fr!important}
  #home nav.home-side-nav button strong{font-size:9px!important}
  #home nav.home-side-nav button::after{font-size:4.5px!important}
  #home .home-game-zone{right:1.2%!important;bottom:4.4%!important;width:34%!important;height:14.8%!important}
  #home .home-floor-button--hero span strong{font-size:15px!important}
  #home .home-floor-button--hero span small{font-size:6px!important}
  #home .home-floor-button--hero>b{font-size:23px!important}
  #home .home-floor-button--hero>i{font-size:24px!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-profile{width:21.5%!important}
  #home .home-profile__copy small{font-size:7px!important}
  #home .home-profile__copy strong{font-size:7px!important}
  #home .home-wallet--chips{left:42.2%!important;width:15.2%!important}
  #home .home-wallet--premium{left:58.4%!important;width:13.7%!important}
  #home .home-utility-row{grid-template-columns:repeat(6,35px)!important}
  #home .home-brand--hero strong{font-size:27px!important}
  #home .home-host-zone{left:12.5%!important}
  #home nav.home-bottom-nav.home-side-nav{width:21.2%!important;grid-auto-rows:51px!important}
  #home .home-game-zone{width:35.5%!important}
  #home .home-visual-footer{display:none!important}
}

/* v0.47.13 top-bar sizing correction: child percentages were relative to header height. */
#home .home-topbar{height:clamp(52px,14.5vh,64px)!important}
#home .home-profile{
  top:clamp(5px,1.6vh,8px)!important;
  height:clamp(39px,10.8vh,47px)!important;
}
#home .home-wallet{
  top:clamp(5px,1.6vh,8px)!important;
  height:clamp(37px,10.2vh,45px)!important;
}
#home .home-utility-row{
  top:clamp(3px,1.2vh,6px)!important;
  height:clamp(43px,11.7vh,52px)!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-topbar{height:54px!important}
  #home .home-profile{top:5px!important;height:40px!important}
  #home .home-wallet{top:5px!important;height:38px!important}
  #home .home-utility-row{top:3px!important;height:43px!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-topbar{height:52px!important}
  #home .home-profile{top:4px!important;height:39px!important}
  #home .home-wallet{top:4px!important;height:37px!important}
  #home .home-utility-row{top:2px!important;height:42px!important}
}
/* v0.47.13 narrow-layout top-row separation */
#home .home-wallet--chips{left:41%!important;width:14%!important}
#home .home-wallet--premium{left:55.5%!important}
@media (max-width:760px) and (orientation:landscape){
  #home .home-wallet--chips{left:40.5%!important;width:14.5%!important}
  #home .home-wallet--premium{left:55.5%!important;width:11.2%!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-wallet--chips{left:40%!important;width:14.8%!important}
  #home .home-wallet--premium{left:55.1%!important;width:11.0%!important}
}
/* v0.47.13 small-iPhone currency compression without overlapping utilities */
@media (max-width:760px) and (orientation:landscape){
  #home .home-wallet{gap:.15rem!important;padding-left:.22rem!important;padding-right:.18rem!important}
  #home .home-wallet strong{font-size:8px!important}
  #home .home-wallet button{width:23px!important;height:23px!important}
  #home .wallet-chip,#home .wallet-coin{width:23px!important;height:23px!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-wallet strong{font-size:7.5px!important}
  #home .home-wallet button{width:22px!important;height:22px!important}
  #home .wallet-chip,#home .wallet-coin{width:22px!important;height:22px!important}
}
/* v0.47.13 final spacing: keep currencies clear of utilities and nav clear of CTA. */
#home nav.home-bottom-nav.home-side-nav{grid-auto-rows:clamp(46px,11vh,68px)!important}
@media (max-width:900px) and (orientation:landscape){
  #home .home-wallet--chips{left:38%!important;width:13.5%!important}
  #home .home-wallet--premium{left:52%!important;width:12.5%!important}
}
@media (max-width:760px) and (orientation:landscape){
  #home nav.home-bottom-nav.home-side-nav{grid-auto-rows:48px!important}
  #home .home-wallet--chips{left:35.5%!important}
  #home .home-wallet--premium{left:51.5%!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home nav.home-bottom-nav.home-side-nav{grid-auto-rows:46px!important}
  #home .home-wallet--chips{left:35%!important}
  #home .home-wallet--premium{left:51%!important;width:15%!important}
}
/* v0.47.13 remove inherited five-row/bottom anchoring from legacy HOME nav */
#home nav.home-bottom-nav.home-side-nav{
  bottom:auto!important;
  height:auto!important;
  grid-template-rows:none!important;
  grid-auto-flow:row!important;
  justify-content:stretch!important;
  align-content:start!important;
}


/* =========================================================
   CASINOIR v0.47.15 — HOME focused polish
   ========================================================= */
/* 1) Normalize every selected HOME character to a full-body contain layout. */
#home .home-host-zone{
  top:4%!important;
  bottom:0!important;
  height:96%!important;
  max-height:96%!important;
  overflow:visible!important;
}
#home .home-host-zone .home-casinon,
#homeHostZone[data-active-character="casinon"] .home-casinon,
#homeHostZone[data-active-character="ocean"] .home-casinon,
#homeHostZone[data-active-character="rei"] .home-casinon,
#homeHostZone[data-active-character="kai"] .home-casinon,
#homeHostZone[data-active-character="mio"] .home-casinon,
#homeHostZone[data-active-character="noa"] .home-casinon,
#homeHostZone[data-active-character="ren"] .home-casinon{
  left:0!important;
  right:auto!important;
  top:auto!important;
  bottom:0!important;
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:left bottom!important;
  transform:none!important;
}
/* Casinon scene pose transforms must not zoom/crop the approved full-body HOME layout. */
#homeHostZone[data-active-character="casinon"][data-casinon-scene] .home-casinon{transform:none!important;height:100%!important;bottom:0!important}

/* 2) The decorative copy under/around the logo is intentionally removed. */
#home .home-brand--hero p,#home .home-brand__signature,#home .home-visual-footer{display:none!important}

/* 3) Give chips and IR GEM a visible gap at every supported landscape width. */
#home .home-wallet--chips{left:37.5%!important;width:13.0%!important}
#home .home-wallet--premium{left:51.7%!important;width:11.5%!important}

/* 4) Daily Check-in is consolidated into Daily / TODAY BOARD. Keep hidden DOM hook for internal navigation. */
#home #homeCheckinButton{display:none!important}
#home .home-utility-row{grid-template-columns:repeat(5,clamp(45px,5vw,68px))!important}

/* 5) Center the right-menu Japanese/English text stack vertically. */
#home nav.home-side-nav button{
  grid-template-columns:24% 1fr!important;
  padding:.18rem .9rem!important;
}
#home nav.home-side-nav button .nav-icon{grid-row:1!important;align-self:center!important}
#home nav.home-side-nav button strong{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:center!important;
  width:100%!important;
  text-align:center!important;
  transform:translateY(-4px)!important;
}
#home nav.home-side-nav button::after{
  left:24%!important;
  width:76%!important;
  bottom:22%!important;
  text-align:center!important;
}

@media (max-width:900px) and (orientation:landscape){
  #home .home-wallet--chips{left:35.0%!important;width:15.0%!important}
  #home .home-wallet--premium{left:51.0%!important;width:14.0%!important}
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone{top:5%!important;height:95%!important;max-height:95%!important}
  #home .home-wallet--chips{left:34.0%!important;width:15.5%!important}
  #home .home-wallet--premium{left:50.6%!important;width:14.5%!important}
  #home .home-utility-row{grid-template-columns:repeat(5,clamp(36px,5.4vw,44px))!important}
  #home nav.home-side-nav button strong{transform:translateY(-3px)!important}
  #home nav.home-side-nav button::after{bottom:19%!important}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-wallet--chips{left:33.3%!important;width:15.5%!important}
  #home .home-wallet--premium{left:49.9%!important;width:15.0%!important}
  #home .home-utility-row{grid-template-columns:repeat(5,35px)!important}
}

/* =========================================================
   CASINOIR v0.47.17 — HOME collision / notch / floor rebalance
   ========================================================= */
/* 1) HOME logo: reduce more so it never overlaps the standing character on iPhone landscape. */
#home .home-brand--hero{
  left:1.4%!important;
  top:13.2%!important;
  width:11.2%!important;
}
#home .home-brand--hero strong{
  font-size:clamp(10px,1.38vw,14px)!important;
  line-height:.92!important;
  letter-spacing:-.015em!important;
}
#home .home-brand--hero small{
  margin-top:.24rem!important;
  font-size:clamp(5.5px,.44vw,7px)!important;
  letter-spacing:.20em!important;
}
#home .home-brand--hero .home-brand__crown{
  left:9%!important;
  top:-12%!important;
  font-size:clamp(9px,.72vw,11px)!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-brand--hero{left:1.0%!important;top:12.8%!important;width:11.5%!important;}
  #home .home-brand--hero strong{font-size:clamp(9px,1.34vw,12px)!important;}
  #home .home-brand--hero small{font-size:5px!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-brand--hero{left:.8%!important;top:12.6%!important;width:11.8%!important;}
  #home .home-brand--hero strong{font-size:9px!important;}
  #home .home-brand--hero small{display:none!important;}
}

/* 2) HOME right navigation: pull away from Dynamic Island/camera cutout and enlarge copy. */
#home nav.home-bottom-nav.home-side-nav{
  top:22.4%!important;
  right:max(7.4%, calc(env(safe-area-inset-right, 0px) + 32px))!important;
  width:17.6%!important;
  grid-auto-rows:clamp(50px,11.8vh,76px)!important;
}
#home nav.home-side-nav button{
  grid-template-columns:23% 1fr!important;
  padding:.28rem .82rem .24rem .66rem!important;
}
#home nav.home-side-nav button .nav-icon{
  width:clamp(28px,3vw,40px)!important;
  height:clamp(28px,3vw,40px)!important;
}
#home nav.home-side-nav button strong{
  font-size:clamp(13px,1.36vw,18px)!important;
  line-height:1.02!important;
  transform:translateY(-1px)!important;
}
#home nav.home-side-nav button::after{
  left:32.2%!important;
  bottom:11%!important;
  font-size:clamp(7px,.62vw,9px)!important;
  letter-spacing:.15em!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home nav.home-bottom-nav.home-side-nav{
    right:max(8.0%, calc(env(safe-area-inset-right, 0px) + 34px))!important;
    width:18.8%!important;
    grid-auto-rows:50px!important;
  }
  #home nav.home-side-nav button{padding:.24rem .66rem .20rem .56rem!important;}
  #home nav.home-side-nav button .nav-icon{width:27px!important;height:27px!important;}
  #home nav.home-side-nav button strong{font-size:12px!important;}
  #home nav.home-side-nav button::after{left:32.5%!important;bottom:10%!important;font-size:6px!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home nav.home-bottom-nav.home-side-nav{
    right:max(8.8%, calc(env(safe-area-inset-right, 0px) + 36px))!important;
    width:19.6%!important;
    grid-auto-rows:47px!important;
  }
  #home nav.home-side-nav button strong{font-size:11.5px!important;}
  #home nav.home-side-nav button::after{font-size:5.6px!important;bottom:9%!important;}
}

/* 3) GRAND CASINO: fill the removed-unlock gap with a full-width hero composition. */
#floor .grand-floor-stage{
  padding:.5% 1.2% .6%!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
#floor .grand-featured{
  max-width:none!important;
  min-height:100%!important;
}
#floor .grand-featured-copy{
  left:4.2%!important;
  top:13%!important;
  width:34%!important;
}
#floor .grand-featured-copy h3{font-size:clamp(1.8rem,3.8vw,3.35rem)!important;}
#floor .grand-featured-copy > strong{font-size:clamp(.74rem,1.0vw,.94rem)!important;}
#floor .grand-featured-copy > small{font-size:clamp(.42rem,.58vw,.52rem)!important;max-width:92%!important;}
#floor .grand-holdem-preview{
  right:3.2%!important;
  top:6%!important;
  width:58%!important;
  height:79%!important;
}
#floor .grand-poker-table{width:92%!important;}
#floor .grand-featured-actions{
  left:4.2%!important;
  bottom:7.5%!important;
  justify-content:space-between!important;
}
#floor .grand-featured-actions::before{
  content:'おすすめのモードから、すぐに席へ。';
  display:block!important;
  color:#d8c49a!important;
  font-size:clamp(.44rem,.60vw,.54rem)!important;
  letter-spacing:.05em!important;
  text-shadow:0 2px 8px rgba(0,0,0,.45)!important;
}
#floor .grand-take-seat{
  min-width:204px!important;
  height:42px!important;
}
@media (max-width:760px) and (orientation:landscape){
  #floor .grand-floor-stage{padding:.45% 1.0% .55%!important;}
  #floor .grand-featured-copy{left:3.8%!important;top:10%!important;width:35%!important;}
  #floor .grand-featured-copy h3{font-size:1.52rem!important;}
  #floor .grand-featured-copy > strong{font-size:.56rem!important;}
  #floor .grand-featured-copy > small{font-size:.34rem!important;}
  #floor .grand-holdem-preview{top:5.4%!important;width:60%!important;height:76%!important;}
  #floor .grand-featured-actions{left:3.8%!important;right:3.0%!important;bottom:6.0%!important;}
  #floor .grand-take-seat{min-width:154px!important;height:34px!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #floor .grand-featured-copy{width:36%!important;}
  #floor .grand-holdem-preview{width:61%!important;height:74%!important;}
}


/* =========================================================
   CASINOIR v0.47.18 — HOME logo relocation / nav english removal
   ========================================================= */
/* Move the live CASINOIR wordmark to the lower-left lounge area and simplify it. */
#home .home-brand--hero{
  left:2.6%!important;
  top:auto!important;
  bottom:12.0%!important;
  width:12.8%!important;
  transform:none!important;
}
#home .home-brand--hero .home-brand__crown{
  left:8%!important;
  top:-8%!important;
}
#home .home-brand--hero strong{
  font-size:clamp(11px,1.45vw,16px)!important;
  line-height:.95!important;
}
#home .home-brand--hero small,
#home .home-brand--hero p,
#home .home-brand__signature,
#home .home-visual-footer{
  display:none!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-brand--hero{left:2.2%!important;bottom:11.0%!important;width:13.6%!important;}
  #home .home-brand--hero strong{font-size:clamp(10px,1.38vw,14px)!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-brand--hero{left:2.0%!important;bottom:10.0%!important;width:14.4%!important;}
  #home .home-brand--hero strong{font-size:10px!important;}
}

/* Remove the small English labels from the HOME right-side menu. */
#home nav.home-side-nav button::after{
  content:none!important;
  display:none!important;
}
#home nav.home-side-nav button{
  grid-template-rows:1fr!important;
  align-items:center!important;
}
#home nav.home-side-nav button strong{
  align-self:center!important;
  transform:none!important;
}


/* =========================================================
   CASINOIR v0.47.19 — GRAND CASINO premium Texas Hold'em redesign
   ========================================================= */
#floor .grand-featured{
  border-radius:24px!important;
  border:1px solid rgba(245,213,126,.68)!important;
  background:
    radial-gradient(ellipse at 78% 28%, rgba(255,203,88,.16), transparent 26%),
    radial-gradient(ellipse at 22% 84%, rgba(31,167,130,.12), transparent 24%),
    linear-gradient(118deg, rgba(4,22,18,.98) 0%, rgba(4,35,29,.96) 38%, rgba(7,29,25,.96) 68%, rgba(26,12,12,.94) 100%)!important;
  box-shadow:0 26px 56px rgba(0,0,0,.46), inset 0 0 0 1px rgba(255,255,255,.03), 0 0 28px rgba(240,187,58,.10)!important;
}
#floor .grand-featured::before{
  inset:7px!important;
  border-radius:18px!important;
  border:1px solid rgba(244,215,126,.18)!important;
}
#floor .grand-featured::after{
  content:''; position:absolute; inset:auto 3.5% 5% 3.5%; height:18%; border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(255,190,74,.18), rgba(0,0,0,0) 72%);
  filter:blur(16px); pointer-events:none;
}
#floor .grand-featured-glow{
  width:68%!important; height:120%!important; right:-10%!important; top:-18%!important;
  background:radial-gradient(ellipse, rgba(255,208,104,.18), transparent 64%)!important;
  filter:blur(12px)!important;
}
#floor .grand-featured-copy{
  left:3.8%!important; top:8.6%!important; width:27%!important;
  padding:1rem 1rem 1.05rem!important;
  border:1px solid rgba(244,215,126,.18)!important;
  background:linear-gradient(180deg, rgba(4,12,10,.46), rgba(4,12,10,.18))!important;
  backdrop-filter:blur(5px)!important; -webkit-backdrop-filter:blur(5px)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.02)!important;
}
#floor .grand-badges{gap:.38rem!important; margin-bottom:.72rem!important}
#floor .grand-badges span{
  padding:.28rem .52rem!important;
  color:#d7c18a!important; font-size:clamp(.34rem,.45vw,.42rem)!important;
  letter-spacing:.11em!important; background:rgba(0,0,0,.28)!important; border-color:rgba(244,215,126,.30)!important;
}
#floor .grand-badges span.is-live{color:#f7efcf!important; background:linear-gradient(180deg,#0f8f68,#0c624b)!important; border-color:rgba(116,255,193,.36)!important}
#floor .grand-featured-copy>p{color:#dcb75d!important; font-size:clamp(.37rem,.5vw,.48rem)!important; letter-spacing:.20em!important}
#floor .grand-featured-copy h3{
  margin-top:.24rem!important; color:#fff7df!important; font-size:clamp(2rem,4.1vw,3.7rem)!important;
  line-height:.80!important; text-shadow:0 4px 16px rgba(0,0,0,.56)!important;
}
#floor .grand-featured-copy h3 span{color:#edcb72!important; font-size:.48em!important; letter-spacing:.18em!important}
#floor .grand-featured-copy>strong{margin-top:.48rem!important; color:#f5e8c8!important; font-size:clamp(.72rem,.95vw,.90rem)!important; letter-spacing:.08em!important}
#floor .grand-featured-copy>small{margin-top:.34rem!important; color:#bdb29a!important; font-size:clamp(.40rem,.52vw,.49rem)!important; line-height:1.65!important}

#floor .grand-holdem-preview{right:2.3%!important; top:4.2%!important; width:67%!important; height:84%!important}
#floor .grand-poker-table{
  width:95%!important; transform:translate(-50%,-50%) perspective(980px) rotateX(14deg)!important;
  border:11px solid #2a1708!important;
  background:
    radial-gradient(ellipse at center, #13846d 0%, #0c6a56 34%, #084437 68%, #04251f 100%)!important;
  box-shadow:0 32px 46px rgba(0,0,0,.56), 0 0 0 2px #d4a447, 0 0 38px rgba(255,208,104,.22), inset 0 0 70px rgba(0,0,0,.42)!important;
}
#floor .grand-poker-table::before{
  content:''; position:absolute; inset:2.8%; border-radius:50%;
  box-shadow:inset 0 0 0 2px rgba(247,216,129,.26), inset 0 0 0 14px rgba(0,0,0,.10);
}
#floor .grand-poker-table::after{
  content:''; position:absolute; left:50%; top:50%; width:68%; height:44%; transform:translate(-50%,-50%);
  border-radius:50%; border:1px solid rgba(255,228,159,.14); box-shadow:inset 0 0 0 1px rgba(255,228,159,.08);
}
#floor .grand-table-ring{display:none!important}
#floor .grand-seat{
  width:10.4%!important; border-radius:12px!important; border:1px solid rgba(255,236,195,.22)!important;
  background:linear-gradient(180deg,#1f2220,#070c0b)!important; box-shadow:0 8px 15px rgba(0,0,0,.50), inset 0 1px rgba(255,255,255,.06)!important;
}
#floor .grand-seat i{
  width:34%!important; background:radial-gradient(circle at 35% 35%, #c7c0b1 0%, #7b7b74 46%, #535650 72%)!important;
  box-shadow:0 0 0 3px rgba(15,17,14,.72)!important;
}
#floor .grand-seat--1{left:10%; top:20%!important}
#floor .grand-seat--2{left:34%; top:-2%!important}
#floor .grand-seat--3{right:10%; top:20%!important}
#floor .grand-seat--4{right:12%; bottom:14%!important}
#floor .grand-seat--5{left:12%; bottom:14%!important}
#floor .grand-seat--6{bottom:-7%!important; border-color:#f2cb73!important; box-shadow:0 0 18px rgba(242,203,115,.30), 0 8px 15px rgba(0,0,0,.50)!important}
#floor .grand-seat--6 b{bottom:-58%!important; color:#ffdf8c!important; font-size:clamp(.28rem,.44vw,.40rem)!important; letter-spacing:.18em!important}

#floor .grand-board-card{
  top:41.5%!important; width:8.4%!important; border-radius:8px!important;
  background:linear-gradient(145deg,#fffdf7,#efe6d5)!important; font-size:clamp(.48rem,.85vw,.72rem)!important;
  padding:2.2%!important; box-shadow:0 10px 18px rgba(0,0,0,.30), inset 0 0 0 1px rgba(0,0,0,.06)!important;
}
#floor .grand-board-card.gc1{left:37.6%!important; transform:rotate(-6deg)!important}
#floor .grand-board-card.gc2{left:47.2%!important; transform:translateY(-2px)!important; color:#a00e28!important}
#floor .grand-board-card.gc3{left:56.8%!important; transform:rotate(6deg)!important; color:#a00e28!important}
#floor .grand-pot{
  top:67.5%!important; gap:0!important;
}
#floor .grand-pot i{
  width:16px!important; height:16px!important; margin-left:-6px!important; border:2px dashed #ffe6a8!important;
  background:radial-gradient(circle at 30% 30%, #f96f8a 0%, #b01430 58%, #7d0e24 100%)!important;
  box-shadow:0 2px 6px rgba(0,0,0,.45)!important;
}
#floor .grand-pot i:nth-child(2){transform:translateY(-6px)!important}
#floor .grand-pot i:nth-child(3){transform:translateY(-2px)!important}
#floor .grand-pot b{
  top:128%!important; padding:.10rem .3rem!important; border-radius:999px!important;
  background:rgba(0,0,0,.30)!important; border:1px solid rgba(255,224,149,.16)!important;
  color:#e9d7a1!important; font-size:clamp(.28rem,.40vw,.35rem)!important; letter-spacing:.16em!important;
}
#floor .grand-dealer{
  right:30%!important; bottom:17%!important; width:24px!important; height:24px!important;
  background:radial-gradient(circle at 35% 35%, #fff7ea 0%, #ead5ad 42%, #c5a36f 100%)!important;
  color:#35220b!important; font-size:.46rem!important; box-shadow:0 5px 10px rgba(0,0,0,.38)!important;
}

#floor .grand-featured-actions{
  left:4.1%!important; right:auto!important; bottom:8.5%!important; width:29%!important;
  display:flex!important; flex-direction:column!important; align-items:flex-start!important; gap:.62rem!important;
}
#floor .grand-featured-actions::before{
  content:'本格的なメインテーブルで、今すぐプレイ。'!important; color:#cab58a!important;
  font-size:clamp(.44rem,.58vw,.52rem)!important; letter-spacing:.04em!important;
}
#floor .grand-take-seat{
  min-width:214px!important; height:46px!important; padding:0 .54rem 0 1.0rem!important; border:1px solid #f5d07c!important;
  background:linear-gradient(180deg,#13846d,#0a5e4d)!important; color:#fff4d3!important;
  box-shadow:0 0 0 3px rgba(69,42,11,.78),0 10px 22px rgba(0,0,0,.30), inset 0 0 20px rgba(255,224,153,.06)!important;
  font-size:clamp(.54rem,.76vw,.70rem)!important;
}
#floor .grand-take-seat b{
  width:29px!important; height:29px!important; background:#f2c55a!important; color:#50300b!important; font-size:.88rem!important;
}
#floor .grand-take-seat span{position:relative}
#floor .grand-take-seat span::after{
  content:'MAIN TABLE'; display:block; margin-top:.08rem; color:#d9be73; font-family:Georgia,serif; font-size:.34rem; letter-spacing:.28em;
}

@media (max-width:760px) and (orientation:landscape){
  #floor .grand-featured-copy{width:28%!important; top:7.6%!important; padding:.72rem .72rem .78rem!important}
  #floor .grand-featured-copy h3{font-size:1.62rem!important}
  #floor .grand-featured-copy>strong{font-size:.54rem!important}
  #floor .grand-featured-copy>small{font-size:.31rem!important}
  #floor .grand-holdem-preview{right:1.8%!important; top:4.4%!important; width:69%!important; height:81%!important}
  #floor .grand-poker-table{border-width:8px!important}
  #floor .grand-board-card{width:8.7%!important; font-size:.50rem!important}
  #floor .grand-pot i{width:13px!important; height:13px!important}
  #floor .grand-dealer{width:21px!important; height:21px!important}
  #floor .grand-featured-actions{width:30%!important; bottom:7.0%!important; gap:.45rem!important}
  #floor .grand-featured-actions::before{font-size:.34rem!important}
  #floor .grand-take-seat{min-width:160px!important; height:36px!important; font-size:.46rem!important}
  #floor .grand-take-seat b{width:22px!important; height:22px!important; font-size:.72rem!important}
  #floor .grand-take-seat span::after{font-size:.26rem!important}
}
@media (max-width:690px) and (orientation:landscape){
  #floor .grand-featured-copy{width:29.5%!important; padding:.62rem .62rem .68rem!important}
  #floor .grand-featured-actions::before{display:none!important}
}


/* =========================================================
   CASINOIR v0.47.20 — GRAND CASINO 6-max royal flush refinement
   ========================================================= */
#floor .grand-featured-copy::after{
  content:'6-MAX MAIN TABLE';
  position:absolute; left:1rem; bottom:-1.2rem;
  color:rgba(234,206,137,.68); font-family:Georgia,serif; font-size:clamp(.34rem,.46vw,.42rem); letter-spacing:.26em;
}
#floor .grand-holdem-preview{right:1.8%!important; top:3.2%!important; width:70%!important; height:86%!important}
#floor .grand-poker-table{
  width:97%!important;
  aspect-ratio:2.18/1!important;
  transform:translate(-50%,-50%) perspective(1100px) rotateX(16deg)!important;
  border-width:12px!important;
}
#floor .grand-poker-table::after{width:72%!important; height:46%!important}
#floor .grand-seat{width:9.6%!important; aspect-ratio:1.72/1!important}
#floor .grand-seat--1{left:8%!important; top:23%!important}
#floor .grand-seat--2{left:33.6%!important; top:-1%!important}
#floor .grand-seat--3{right:8%!important; top:23%!important}
#floor .grand-seat--4{right:9.6%!important; bottom:15%!important}
#floor .grand-seat--5{left:9.6%!important; bottom:15%!important}
#floor .grand-seat--6{left:50%!important; bottom:-7.4%!important; transform:translateX(-50%)!important}
#floor .grand-seat--6 b{bottom:-54%!important}
#floor .grand-board-card{
  top:41.2%!important;
  width:7.2%!important;
  aspect-ratio:.68!important;
  border-radius:9px!important;
  color:#111!important;
}
#floor .grand-board-card span{color:#111!important}
#floor .grand-board-card.gc1{left:29.8%!important; transform:rotate(-8deg)!important}
#floor .grand-board-card.gc2{left:39.1%!important; transform:rotate(-4deg)!important}
#floor .grand-board-card.gc3{left:48.4%!important; transform:translateY(-2px)!important}
#floor .grand-board-card.gc4{left:57.7%!important; transform:rotate(4deg)!important}
#floor .grand-board-card.gc5{left:67.0%!important; transform:rotate(8deg)!important}
#floor .grand-board-card.gc1,
#floor .grand-board-card.gc2,
#floor .grand-board-card.gc3,
#floor .grand-board-card.gc4,
#floor .grand-board-card.gc5{box-shadow:0 12px 20px rgba(0,0,0,.34), inset 0 0 0 1px rgba(0,0,0,.06)!important}
#floor .grand-pot{top:67.2%!important}
#floor .grand-pot i:nth-child(4){transform:translateY(-8px)!important}
#floor .grand-dealer{right:16.6%!important; bottom:16.4%!important}
#floor .grand-featured-actions{width:27.5%!important}
#floor .grand-featured-actions::before{content:'ロイヤルフラッシュが輝く、6人制メインテーブル。'!important}
#floor .grand-take-seat span::after{content:'ROYAL FLUSH TABLE'!important}
@media (max-width:760px) and (orientation:landscape){
  #floor .grand-holdem-preview{right:1.2%!important; top:3.2%!important; width:71%!important; height:83%!important}
  #floor .grand-poker-table{border-width:9px!important}
  #floor .grand-seat{width:10.0%!important}
  #floor .grand-board-card{width:7.55%!important; top:41.8%!important}
  #floor .grand-board-card.gc1{left:28.8%!important}
  #floor .grand-board-card.gc2{left:38.4%!important}
  #floor .grand-board-card.gc3{left:48.0%!important}
  #floor .grand-board-card.gc4{left:57.6%!important}
  #floor .grand-board-card.gc5{left:67.2%!important}
  #floor .grand-dealer{right:16.0%!important; bottom:17.0%!important}
  #floor .grand-featured-actions{width:29%!important}
}
@media (max-width:690px) and (orientation:landscape){
  #floor .grand-featured-copy::after{display:none!important}
  #floor .grand-holdem-preview{width:72%!important; height:81%!important}
  #floor .grand-board-card{width:7.8%!important}
  #floor .grand-featured-actions{width:30.5%!important}
}


/* =========================================================
   CASINOIR v0.47.21 — Hybrid premium Grand Casino composition
   Background art = generated luxury poker table image.
   All controls / text panels remain live web UI.
   ========================================================= */
#floor .grand-floor-stage{
  padding:.45% calc(max(1.0%,var(--safe-inline)) + 58px) .55% max(1.0%,var(--safe-inline))!important;
  height:86%!important;
  display:block!important;
}
#floor .grand-featured{
  position:relative!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  border-radius:22px!important;
  border:1px solid rgba(238,204,113,.62)!important;
  background:
    linear-gradient(90deg,rgba(2,8,7,.62) 0%,rgba(2,8,7,.44) 22%,rgba(2,8,7,.10) 37%,rgba(2,8,7,0) 61%,rgba(2,8,7,.10) 100%),
    linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.02) 55%,rgba(0,0,0,.18)),
    url("./assets/ui/grand-holdem-table-v04721.webp") 63% 52% / cover no-repeat!important;
  box-shadow:0 18px 42px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,255,255,.025),0 0 28px rgba(214,163,55,.08)!important;
}
#floor .grand-featured::before{
  content:""!important;
  position:absolute!important;
  inset:6px!important;
  border:1px solid rgba(244,215,126,.20)!important;
  border-radius:17px!important;
  pointer-events:none!important;
  z-index:1!important;
}
#floor .grand-featured::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:1!important;
  background:
    radial-gradient(ellipse at 66% 45%,rgba(255,207,108,.06),transparent 32%),
    linear-gradient(90deg,rgba(0,0,0,.14),transparent 32%,transparent 88%,rgba(0,0,0,.08))!important;
}
#floor .grand-featured-glow{display:none!important}

/* Live information panel on the left. */
#floor .grand-featured-copy{
  position:absolute!important;
  z-index:6!important;
  left:2.4%!important;
  top:7.2%!important;
  width:25.5%!important;
  min-height:73%!important;
  box-sizing:border-box!important;
  padding:clamp(12px,2.0vh,18px) clamp(13px,1.5vw,20px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  border:1px solid rgba(229,195,107,.58)!important;
  border-radius:18px!important;
  background:
    linear-gradient(180deg,rgba(5,10,9,.90),rgba(4,8,7,.82)),
    radial-gradient(circle at 10% 4%,rgba(244,210,123,.08),transparent 25%)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.34),inset 0 0 0 1px rgba(255,255,255,.02)!important;
  backdrop-filter:blur(6px)!important;
  -webkit-backdrop-filter:blur(6px)!important;
  text-shadow:0 2px 8px rgba(0,0,0,.55)!important;
}
#floor .grand-featured-copy::before{
  content:""!important;
  position:absolute!important;
  left:9%!important; right:9%!important; bottom:20%!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,rgba(230,193,97,.72),transparent)!important;
}
#floor .grand-featured-copy::after{
  content:"Play Like a Legend."!important;
  position:absolute!important;
  left:9%!important;
  bottom:6.5%!important;
  color:#d1a94f!important;
  font-family:"Segoe Script","Brush Script MT",cursive!important;
  font-size:clamp(12px,1.5vw,21px)!important;
  line-height:1!important;
  letter-spacing:.01em!important;
  transform:rotate(-4deg)!important;
  opacity:.94!important;
}
#floor .grand-badges{display:flex!important;gap:.34rem!important;margin:0 0 .68rem!important;flex-wrap:wrap!important}
#floor .grand-badges span{
  padding:.24rem .48rem!important;
  border-radius:999px!important;
  border:1px solid rgba(230,196,105,.38)!important;
  background:rgba(0,0,0,.24)!important;
  color:#d9c28c!important;
  font-size:clamp(8px,.75vw,10px)!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  font-weight:850!important;
}
#floor .grand-badges span.is-live{
  border-color:rgba(77,229,166,.55)!important;
  background:linear-gradient(180deg,rgba(14,129,91,.68),rgba(7,85,62,.66))!important;
  color:#dcffef!important;
}
#floor .grand-featured-copy>p{
  margin:0!important;
  color:#d7b45d!important;
  font-size:clamp(8px,.70vw,10px)!important;
  letter-spacing:.18em!important;
  font-weight:900!important;
}
#floor .grand-featured-copy h3{
  margin:.28rem 0 0!important;
  color:#f8e3aa!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(28px,3.3vw,48px)!important;
  line-height:.78!important;
  letter-spacing:-.025em!important;
  text-shadow:0 4px 14px rgba(0,0,0,.58),0 0 16px rgba(210,159,59,.10)!important;
}
#floor .grand-featured-copy h3 span{
  display:block!important;
  color:#e9c36a!important;
  font-size:.52em!important;
  letter-spacing:.13em!important;
}
#floor .grand-featured-copy>strong{
  display:block!important;
  margin-top:.68rem!important;
  color:#f4ead3!important;
  font-size:clamp(11px,1.0vw,15px)!important;
  letter-spacing:.06em!important;
}
#floor .grand-featured-copy>small{
  display:block!important;
  margin-top:.56rem!important;
  max-width:94%!important;
  color:#c4b9a3!important;
  font-size:clamp(9px,.78vw,11px)!important;
  line-height:1.7!important;
}

/* The generated table art provides the visual table; keep a live transparent hit area. */
#floor .grand-holdem-preview{
  position:absolute!important;
  z-index:5!important;
  right:7.5%!important;
  top:8%!important;
  width:63%!important;
  height:70%!important;
  border:0!important;
  background:transparent!important;
  cursor:pointer!important;
  padding:0!important;
}
#floor .grand-poker-table{display:none!important}

/* Live CTA over the art, bottom-right. */
#floor .grand-featured-actions{
  position:absolute!important;
  z-index:8!important;
  left:auto!important;
  right:4.0%!important;
  bottom:5.2%!important;
  width:31%!important;
  display:block!important;
}
#floor .grand-featured-actions::before{display:none!important;content:none!important}
#floor .grand-take-seat{
  width:100%!important;
  min-width:0!important;
  height:clamp(48px,11vh,66px)!important;
  padding:0 .70rem 0 1.10rem!important;
  border:2px solid #e7c36f!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(11,116,92,.97),rgba(5,72,59,.98))!important;
  color:#fff0ca!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  align-items:center!important;
  box-shadow:0 0 0 3px rgba(61,37,10,.78),0 12px 26px rgba(0,0,0,.34),inset 0 0 24px rgba(255,226,153,.06)!important;
  font-size:clamp(14px,1.6vw,22px)!important;
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif!important;
  letter-spacing:.04em!important;
  font-weight:800!important;
}
#floor .grand-take-seat span::after{
  content:"POKER ROOM"!important;
  display:block!important;
  margin-top:.16rem!important;
  color:#cfb066!important;
  font-family:Georgia,serif!important;
  font-size:clamp(6px,.55vw,8px)!important;
  letter-spacing:.26em!important;
}
#floor .grand-take-seat b{
  width:clamp(28px,3.2vw,42px)!important;
  height:clamp(28px,3.2vw,42px)!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:linear-gradient(180deg,#f4d77e,#c89435)!important;
  color:#402407!important;
  font-size:clamp(16px,1.8vw,26px)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)!important;
}

@media (max-width:760px) and (orientation:landscape){
  #floor .grand-floor-stage{padding:.35% calc(max(.8%,var(--safe-inline)) + 54px) .45% max(.8%,var(--safe-inline))!important;height:87%!important}
  #floor .grand-featured{background-position:65% 52%!important;border-radius:16px!important}
  #floor .grand-featured-copy{left:2.0%!important;top:6.0%!important;width:26.5%!important;min-height:75%!important;padding:9px 10px!important;border-radius:14px!important}
  #floor .grand-badges{gap:.20rem!important;margin-bottom:.44rem!important}
  #floor .grand-badges span{font-size:7px!important;padding:.18rem .30rem!important}
  #floor .grand-featured-copy h3{font-size:25px!important}
  #floor .grand-featured-copy>strong{font-size:10px!important;margin-top:.45rem!important}
  #floor .grand-featured-copy>small{font-size:8px!important;line-height:1.5!important;margin-top:.32rem!important}
  #floor .grand-featured-copy::before{bottom:19%!important}
  #floor .grand-featured-copy::after{font-size:12px!important;bottom:5.5%!important}
  #floor .grand-holdem-preview{right:6.4%!important;top:7%!important;width:64%!important;height:70%!important}
  #floor .grand-featured-actions{right:3.2%!important;bottom:4.8%!important;width:33%!important}
  #floor .grand-take-seat{height:44px!important;font-size:13px!important;padding-left:.82rem!important}
  #floor .grand-take-seat b{width:26px!important;height:26px!important;font-size:16px!important}
}
@media (max-width:690px) and (orientation:landscape){
  #floor .grand-featured{background-position:67% 52%!important}
  #floor .grand-featured-copy{width:27.5%!important;min-height:76%!important}
  #floor .grand-featured-copy>small{display:none!important}
  #floor .grand-featured-copy::before{bottom:23%!important}
  #floor .grand-featured-copy::after{bottom:8%!important;font-size:11px!important}
  #floor .grand-featured-actions{width:34%!important}
}

/* =========================================================
   CASINOIR v0.47.22 — Poker mode simplification + beginner mode
   ========================================================= */
#pokerRoom .poker-mode-tabs button{
  min-width:clamp(92px,11vw,150px)!important;
  padding:0 clamp(10px,1.25vw,18px)!important;
  font-size:clamp(9px,.9vw,12px)!important;
  letter-spacing:.06em!important;
  white-space:nowrap!important;
}
#pokerRoom .cash-table-card--main{
  width:100%!important;
  max-width:none!important;
  padding:clamp(16px,2vw,28px)!important;
  background:
    radial-gradient(circle at 50% 14%,rgba(213,174,94,.12),transparent 34%),
    radial-gradient(ellipse at 50% 52%,rgba(11,87,65,.25),transparent 37%),
    linear-gradient(180deg,rgba(19,25,29,.98),rgba(8,12,15,.99))!important;
}
#pokerRoom .cash-table-card--main::before{
  left:25%!important;right:25%!important;top:24%!important;height:36%!important;
  border-color:rgba(205,174,107,.24)!important;
  background:radial-gradient(ellipse at center,rgba(20,114,84,.30),rgba(8,24,20,.08) 72%)!important;
}
#pokerRoom .cash-table-card--main .cash-table-card__top{
  justify-content:center!important;gap:14px!important;
}
#pokerRoom .cash-table-card__blinds{
  position:relative;z-index:1;text-align:center;margin:clamp(10px,1.8vh,18px) 0 2px;
}
#pokerRoom .cash-table-card__blinds small{
  display:block;color:#bca46f;font-size:clamp(7px,.7vw,10px);letter-spacing:.18em;
}
#pokerRoom .cash-table-card__blinds strong{
  display:block;margin-top:2px;font-family:Georgia,'Times New Roman',serif;font-size:clamp(38px,5.3vw,68px);font-weight:400;color:#f3ead8;text-shadow:0 8px 24px rgba(0,0,0,.35);
}
#pokerRoom .cash-table-card--main>p{font-size:clamp(9px,.88vw,12px)!important}
#pokerRoom .cash-table-card__explain{
  position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:8px 0 10px;
}
#pokerRoom .cash-table-card__explain span{
  padding:8px 7px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.018);text-align:center;color:rgba(239,233,222,.58);font-size:clamp(7px,.68vw,9px);line-height:1.35;
}
#pokerRoom .cash-table-card__explain b{display:block;margin-bottom:2px;color:#d6c18e;font-size:clamp(9px,.84vw,11px)}
#pokerRoom .cash-table-card--main>button{min-height:44px!important;font-size:clamp(10px,.92vw,12px)!important}

/* Beginner room */
/* Beginner lesson modal */
.beginner-lesson-modal{position:fixed;inset:0;z-index:180;display:grid;place-items:center}.beginner-lesson-modal[hidden]{display:none!important}.beginner-lesson-backdrop{position:absolute;inset:0;background:rgba(2,4,5,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.beginner-lesson-panel{position:relative;z-index:1;width:min(920px,92vw);height:min(660px,90vh);max-height:90vh;display:grid;grid-template-rows:auto 5px minmax(0,1fr) auto;border:1px solid rgba(112,218,163,.26);border-radius:22px;background:radial-gradient(circle at 70% 0%,rgba(76,190,131,.08),transparent 30%),linear-gradient(180deg,#10171a,#080d10 72%);box-shadow:0 30px 80px rgba(0,0,0,.55);overflow:hidden;color:#f1eee8}
.beginner-lesson-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 10px;border-bottom:1px solid rgba(255,255,255,.06)}.beginner-lesson-head small{display:block;color:#72dca9;font-size:7px;letter-spacing:.16em}.beginner-lesson-head h2{margin:2px 0 0;font-size:clamp(18px,2.1vw,28px);font-weight:600}.beginner-lesson-head button{width:34px;height:34px;border:1px solid rgba(255,255,255,.10);border-radius:50%;background:rgba(255,255,255,.035);color:#e6e0d5;font-size:18px}.beginner-lesson-meter{background:rgba(255,255,255,.045)}.beginner-lesson-meter i{display:block;width:14.28%;height:100%;background:linear-gradient(90deg,#258b61,#78dfb1);transition:width .25s ease}.beginner-lesson-body{min-height:0;overflow:auto;padding:clamp(12px,1.5vw,20px)}
.beginner-lesson-nav{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:9px 14px max(9px,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.06);background:rgba(0,0,0,.12)}.beginner-lesson-nav button{min-width:110px;min-height:38px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:rgba(255,255,255,.03);color:#e9e3d7}.beginner-lesson-nav button:last-child{border-color:rgba(104,219,162,.30);background:rgba(31,123,86,.18);color:#dff5e9}.beginner-lesson-nav button:disabled{opacity:.35;cursor:not-allowed}.beginner-lesson-nav span{text-align:center;color:rgba(239,233,222,.42);font-size:7px}
.beginner-copy-block{max-width:820px;margin:0 auto}.beginner-lead{margin:0 0 12px;color:#e9e4da;font-size:clamp(11px,1.16vw,15px);line-height:1.65}.beginner-lead strong{color:#a9e7c8}.beginner-note{margin:11px 0 0;padding:9px 11px;border-left:3px solid rgba(92,218,153,.44);background:rgba(72,190,132,.06);color:rgba(233,240,235,.70);font-size:clamp(8px,.78vw,10px);line-height:1.5}
.beginner-two-wins{display:grid;grid-template-columns:1fr 1fr;gap:9px}.beginner-two-wins article{padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.018)}.beginner-two-wins article>b{display:block;color:#6fd9a7;font-size:7px;letter-spacing:.12em}.beginner-two-wins article>strong{display:block;margin:3px 0 5px;font-size:clamp(11px,1.15vw,15px)}.beginner-two-wins article>p{margin:0;color:rgba(239,233,222,.56);font-size:8px;line-height:1.5}
.beginner-card{width:clamp(34px,4vw,52px);aspect-ratio:.72;display:inline-flex;flex-direction:column;justify-content:space-between;padding:4px;border-radius:6px;background:linear-gradient(145deg,#fffdf8,#e7dfd1);color:#151515;box-shadow:0 4px 10px rgba(0,0,0,.28);font-style:normal;vertical-align:middle}.beginner-card b{font-size:clamp(10px,1.1vw,14px);line-height:1}.beginner-card i{font-size:clamp(12px,1.35vw,17px);line-height:1;font-style:normal}.beginner-card.is-red{color:#aa1530}
.beginner-table-map{position:relative;height:190px;max-width:520px;margin:0 auto 12px;border:8px solid #2c1b0d;border-radius:50%;background:radial-gradient(ellipse,#0e7a5f,#075340 65%,#032c22);box-shadow:0 15px 26px rgba(0,0,0,.35),0 0 0 2px #9e7831}.bt-seat{position:absolute;min-width:48px;padding:5px 7px;border:1px solid rgba(255,232,178,.22);border-radius:9px;background:#151a18;color:#c4bcac;font-size:7px;text-align:center}.bt-seat.s1{left:8%;top:26%}.bt-seat.s2{left:35%;top:-4%}.bt-seat.s3{right:8%;top:26%}.bt-seat.s4{right:12%;bottom:10%}.bt-seat.s5{left:12%;bottom:10%}.bt-seat.you{left:50%;bottom:-7%;transform:translateX(-50%);border-color:#77d8a9;color:#c9f2dd}.bt-pot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#e7d8b5;font-size:10px;text-align:center}.bt-pot small{display:block;color:rgba(231,216,181,.60);font-size:6px;font-weight:400}.bt-d{position:absolute;right:31%;bottom:21%;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#efe6d1;color:#33230d;font-size:8px;font-style:normal;font-weight:800}
.beginner-glossary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.beginner-glossary article{padding:10px;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:rgba(255,255,255,.018)}.beginner-glossary article>b{float:left;margin-right:7px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:rgba(54,172,116,.16);color:#83dfb2}.beginner-glossary strong{display:block;font-size:9px}.beginner-glossary p{margin:3px 0 0;color:rgba(239,233,222,.55);font-size:7.5px;line-height:1.45}.beginner-glossary em{color:#d7c394;font-style:normal}
.beginner-streets{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.beginner-streets article{min-width:0;padding:9px 6px;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:rgba(255,255,255,.017);text-align:center}.beginner-streets article>b{width:22px;height:22px;margin:0 auto 4px;display:grid;place-items:center;border-radius:50%;background:rgba(43,150,102,.18);color:#83dfb2;font-size:7px}.beginner-streets strong{display:block;font-size:9px}.beginner-streets p{min-height:28px;margin:4px 0 6px;color:rgba(239,233,222,.48);font-size:6.5px;line-height:1.35}.beginner-streets .beginner-card{width:25px;padding:2px;border-radius:3px}.beginner-streets .beginner-card b{font-size:7px}.beginner-streets .beginner-card i{font-size:8px}.beginner-showdown{display:inline-block;margin-top:8px;color:#d8c497;font-size:7px}
.beginner-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.beginner-actions button{min-height:72px;padding:8px 5px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:rgba(255,255,255,.018);color:#eee8dd;text-align:center}.beginner-actions button b{display:block;font-size:10px}.beginner-actions button span{display:block;margin-top:4px;color:rgba(239,233,222,.46);font-size:6.5px}.beginner-actions button i{display:grid;place-items:center;width:18px;height:18px;margin:6px auto 0;border-radius:50%;background:rgba(255,255,255,.05);font-style:normal;font-size:7px}.beginner-actions button.is-seen{border-color:rgba(94,215,151,.34);background:rgba(47,151,103,.08)}.beginner-actions button.is-seen i{background:#317f5d;color:#e8fff3}.beginner-action-explain{min-height:60px;margin-top:9px;padding:10px;border-radius:10px;background:rgba(74,189,132,.06);border:1px solid rgba(89,211,148,.13);color:rgba(235,242,238,.62);font-size:8px}.beginner-action-explain strong{display:block;color:#aee8cb;font-size:10px}.beginner-action-explain p{margin:4px 0 0;line-height:1.5}
.beginner-ranks{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px}.beginner-ranks article{display:grid;grid-template-columns:22px minmax(120px,.7fr) 1.2fr auto;gap:6px;align-items:center;padding:5px 7px;border-bottom:1px solid rgba(255,255,255,.05)}.beginner-ranks article>b{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:rgba(52,154,106,.13);color:#83dfb2;font-size:6px}.beginner-ranks strong{font-size:8px}.beginner-ranks span{color:rgba(239,233,222,.48);font-size:6.5px}.beginner-ranks em{color:#d5c39d;font-size:6px;font-style:normal;white-space:nowrap}
.beginner-practice-head{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;margin-bottom:8px}.beginner-practice-head span{color:#75dca9;font-size:7px;letter-spacing:.12em}.beginner-practice-head strong{font-size:12px}.beginner-practice-head b{color:#d4c49f;font-size:8px}.beginner-practice-table{display:grid;grid-template-columns:1fr 2fr;gap:8px;padding:10px;border:1px solid rgba(255,255,255,.06);border-radius:14px;background:radial-gradient(ellipse at center,rgba(15,104,76,.28),rgba(5,24,20,.18))}.beginner-practice-table>div{text-align:center}.beginner-practice-table small{display:block;margin-bottom:5px;color:#b9aa8a;font-size:6px}.beginner-practice-table .beginner-card{margin:0 2px}.beginner-practice-table em{color:rgba(238,233,223,.42);font-size:8px;font-style:normal}.beginner-practice-prompt{margin:10px 0;padding:8px 10px;border-left:3px solid #5ecf96;background:rgba(62,166,111,.06);font-size:9px;line-height:1.55}.beginner-practice-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.beginner-practice-actions button{min-height:38px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.025);color:#eee7da;font-size:8px}.beginner-practice-actions button:hover{border-color:rgba(103,222,162,.35);background:rgba(43,135,94,.10)}.beginner-practice-feedback{margin-top:8px;padding:8px;border-radius:8px;color:rgba(239,233,222,.46);font-size:7.5px}.beginner-practice-feedback.is-show{background:rgba(61,167,112,.07);color:#bee9d3}.beginner-success{display:inline-block;margin-bottom:9px;padding:6px 10px;border:1px solid rgba(98,220,157,.28);border-radius:999px;background:rgba(42,151,101,.10);color:#aee9cb;font-size:8px}.beginner-showdown-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}.beginner-showdown-cards>div{padding:10px;border:1px solid rgba(255,255,255,.06);border-radius:10px;text-align:center}.beginner-showdown-cards small{display:block;margin-bottom:6px;color:#b9aa8a;font-size:6px}.beginner-showdown-cards b{display:block;margin-top:6px;color:#d9c699;font-size:8px}
.beginner-quiz{display:grid;gap:7px}.beginner-quiz fieldset{margin:0;padding:8px 10px;border:1px solid rgba(255,255,255,.06);border-radius:10px}.beginner-quiz legend{padding:0 4px;color:#e7e0d5;font-size:8px}.beginner-quiz fieldset>label{display:inline-flex;align-items:center;margin:5px 4px 0 0;padding:5px 8px;border:1px solid rgba(255,255,255,.065);border-radius:999px;color:rgba(239,233,222,.60);font-size:7px;cursor:pointer}.beginner-quiz fieldset>label input{position:absolute;opacity:0;pointer-events:none}.beginner-quiz fieldset>label.is-selected{border-color:rgba(94,215,151,.36);background:rgba(49,141,96,.12);color:#daf2e5}.quiz-feedback{margin:6px 0 0;font-size:7px;line-height:1.45}.quiz-feedback.is-correct{color:#9de2bd}.quiz-feedback.is-wrong{color:#e0b1a7}.beginner-quiz-submit,.beginner-quiz-result button,.beginner-graduate-next button{width:100%;min-height:38px;margin-top:9px;border:1px solid rgba(99,218,157,.30);border-radius:9px;background:rgba(39,139,94,.15);color:#daf1e4}.beginner-quiz-result{margin-top:9px;padding:10px;border:1px solid rgba(255,255,255,.065);border-radius:10px;text-align:center}.beginner-quiz-result strong{font-size:13px}.beginner-quiz-result p{margin:4px 0;color:rgba(239,233,222,.52);font-size:8px}.beginner-quiz-result.is-perfect{border-color:rgba(107,225,165,.28);background:rgba(45,154,102,.07)}.beginner-graduated{text-align:center}.beginner-graduated h3{margin:4px 0;font-size:18px}.beginner-graduated>p{color:rgba(239,233,222,.58);font-size:9px}.beginner-graduate-next{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:500px;margin:0 auto}
#challengeBackToBeginner{min-height:28px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(255,255,255,.03);color:#d8d0bf;font-size:6px}

@media (max-width:760px),(max-height:390px){
  #pokerRoom .poker-mode-tabs button{min-width:78px!important;padding:0 8px!important;font-size:7px!important}
  #pokerRoom .cash-table-card__explain{gap:4px;margin:5px 0}.cash-table-card__explain span{padding:4px!important;font-size:6px!important}.cash-table-card__blinds strong{font-size:32px!important}.cash-table-card--main>button{min-height:32px!important}
  .beginner-lesson-panel{width:94vw;height:92vh;border-radius:14px}.beginner-lesson-head{padding:7px 10px 6px}.beginner-lesson-head h2{font-size:14px}.beginner-lesson-head button{width:27px;height:27px;font-size:14px}.beginner-lesson-body{padding:8px 10px}.beginner-lesson-nav{padding:5px 8px}.beginner-lesson-nav button{min-width:80px;min-height:30px;font-size:7px}.beginner-lesson-nav span{font-size:5.5px}.beginner-lead{font-size:8px;margin-bottom:7px}.beginner-note{margin-top:6px;padding:5px 7px;font-size:6px}.beginner-two-wins{gap:5px}.beginner-two-wins article{padding:7px}.beginner-two-wins article>strong{font-size:8px}.beginner-two-wins article>p{font-size:6px}.beginner-card{width:27px;padding:2px}.beginner-card b{font-size:7px}.beginner-card i{font-size:8px}.beginner-table-map{height:130px;max-width:390px;margin-bottom:6px}.beginner-glossary{gap:4px}.beginner-glossary article{padding:6px}.beginner-glossary strong{font-size:7px}.beginner-glossary p{font-size:5.5px}.beginner-streets{gap:4px}.beginner-streets article{padding:5px 3px}.beginner-streets strong{font-size:6.5px}.beginner-streets p{min-height:20px;font-size:5px}.beginner-actions{gap:4px}.beginner-actions button{min-height:52px;padding:5px 2px}.beginner-actions button b{font-size:7px}.beginner-actions button span{font-size:5px}.beginner-action-explain{min-height:40px;padding:6px;font-size:6px}.beginner-ranks{gap:2px 5px}.beginner-ranks article{grid-template-columns:17px 90px 1fr auto;padding:3px 4px}.beginner-ranks strong{font-size:6px}.beginner-ranks span,.beginner-ranks em{font-size:5px}.beginner-practice-prompt{margin:6px 0;padding:5px 7px;font-size:6px}.beginner-practice-actions button{min-height:30px;font-size:6px}.beginner-quiz fieldset{padding:5px 7px}.beginner-quiz legend{font-size:6px}.beginner-quiz fieldset>label{margin-top:3px;padding:3px 6px;font-size:5.5px}.quiz-feedback{font-size:5.5px}.beginner-success{margin-bottom:5px;padding:4px 7px;font-size:6px}
}


/* v0.47.22 final beginner readability pass — prefer scrolling over tiny text */
@media (max-width:760px),(max-height:390px){
  #pokerRoom .poker-mode-tabs button{min-width:88px!important;font-size:8.5px!important;padding:0 9px!important}
  .beginner-lesson-nav button{min-height:34px!important;font-size:8px!important}
  .beginner-lesson-nav span{font-size:6.5px!important}
  .beginner-lead{font-size:9px!important;line-height:1.55!important}
  .beginner-note{font-size:7px!important;line-height:1.45!important}
  .beginner-two-wins article>strong{font-size:9px!important}
  .beginner-two-wins article>p{font-size:7px!important;line-height:1.45!important}
  .beginner-glossary strong{font-size:8px!important}.beginner-glossary p{font-size:6.5px!important}
  .beginner-streets strong{font-size:7.5px!important}.beginner-streets p{font-size:6px!important}
  .beginner-actions button b{font-size:8px!important}.beginner-actions button span{font-size:6px!important}
  .beginner-action-explain{font-size:7px!important}.beginner-action-explain strong{font-size:8px!important}
  .beginner-ranks strong{font-size:7px!important}.beginner-ranks span,.beginner-ranks em{font-size:5.8px!important}
  .beginner-practice-prompt{font-size:7px!important}.beginner-practice-actions button{font-size:7px!important}
  .beginner-quiz legend{font-size:7px!important}.beginner-quiz fieldset>label{font-size:6.5px!important}
  .quiz-feedback{font-size:6.5px!important}.beginner-quiz-result p{font-size:7px!important}
}


/* v0.47.22 final zero-knowledge lesson readability: scrolling is preferred to tiny type. */
@media (max-width:760px),(max-height:390px){
  .beginner-streets{grid-template-columns:repeat(3,1fr)!important}
  .beginner-actions{grid-template-columns:repeat(3,1fr)!important}
  .beginner-ranks{grid-template-columns:1fr!important}
  .beginner-ranks article{grid-template-columns:20px minmax(105px,.75fr) 1.25fr auto!important;padding:5px 6px!important}
  .beginner-ranks strong{font-size:7.5px!important}.beginner-ranks span{font-size:6.4px!important}.beginner-ranks em{font-size:6.2px!important}
  .beginner-practice-actions button{min-height:36px!important}
  .beginner-quiz fieldset>label{min-height:28px!important;padding:5px 8px!important;font-size:7px!important}
}

/* CASINOIR v0.47.23 — BEGINNER COURSE 14-LESSON EXPANSION */
.beginner-lesson-meter i{width:7.14%}
.beginner-concept-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.beginner-concept-grid article{padding:10px;border:1px solid rgba(255,255,255,.065);border-radius:10px;background:rgba(255,255,255,.018)}
.beginner-concept-grid small{display:block;color:#75dbaa;font-size:6px;letter-spacing:.1em}.beginner-concept-grid b{display:block;margin:3px 0;color:#eee8dc;font-size:10px}.beginner-concept-grid p{margin:0;color:rgba(239,233,222,.52);font-size:7px;line-height:1.45}
.beginner-glossary--5{grid-template-columns:repeat(5,1fr)}
.beginner-streets--detail{grid-template-columns:repeat(5,1fr)}.beginner-streets--detail article{min-height:160px}.beginner-streets--detail em{display:block;margin-top:6px;color:#79dbaa;font-size:6px;font-style:normal}
.beginner-flow-line{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;padding:8px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(255,255,255,.014)}
.beginner-flow-line span{padding:5px 8px;border-radius:999px;background:rgba(61,160,111,.10);color:#cdebdc;font-size:7px}.beginner-flow-line i{color:#806f4c;font-style:normal}
.beginner-pot-demo{display:grid;grid-template-columns:1fr auto 1.1fr auto 1fr;gap:8px;align-items:center;margin:8px auto 10px;max-width:650px;padding:14px;border:1px solid rgba(255,255,255,.06);border-radius:16px;background:radial-gradient(ellipse at center,rgba(11,105,74,.22),rgba(4,17,15,.15))}
.bpd-player,.bpd-pot{text-align:center}.bpd-player b,.bpd-player span,.bpd-player i,.bpd-pot small,.bpd-pot strong,.bpd-pot span{display:block}.bpd-player b{color:#ded5c3;font-size:9px}.bpd-player span{margin:4px 0;color:#f0eadf;font-size:15px}.bpd-player i{color:#dfaa7d;font-size:7px;font-style:normal}.bpd-arrow{color:#c4a45d;font-size:18px}.bpd-pot{padding:10px;border:1px solid rgba(222,190,111,.22);border-radius:50%;background:rgba(7,60,44,.32)}.bpd-pot small{color:#d4bd84;font-size:6px}.bpd-pot strong{color:#fff0c7;font-size:20px}.bpd-pot span{color:rgba(239,233,222,.48);font-size:6px}
.beginner-blind-story{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:6px;align-items:center;margin:8px 0}.beginner-blind-story article{padding:8px;border:1px solid rgba(255,255,255,.06);border-radius:9px;background:rgba(255,255,255,.016)}.beginner-blind-story article b{display:block;color:#9ee4c1;font-size:8px}.beginner-blind-story article p{margin:3px 0 0;color:rgba(239,233,222,.52);font-size:6px;line-height:1.4}.beginner-blind-story>i{color:#a78d55;font-style:normal}
.bt-sb,.bt-bb{position:absolute;padding:4px 6px;border-radius:999px;background:#d0aa58;color:#18110a;font-size:6px;font-style:normal;font-weight:800;box-shadow:0 3px 8px rgba(0,0,0,.35)}.bt-sb{right:24%;bottom:20%}.bt-bb{right:6%;top:40%}
.beginner-action-rule{display:grid;grid-template-columns:auto 1fr 1fr;gap:7px;align-items:center;margin-top:8px;padding:8px;border:1px solid rgba(255,255,255,.06);border-radius:9px;background:rgba(255,255,255,.016)}.beginner-action-rule b{color:#d9bf7a;font-size:7px}.beginner-action-rule span{color:rgba(239,233,222,.63);font-size:7px}.beginner-action-rule strong{color:#b5ead0}
.beginner-decision-list{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.beginner-decision-list article{padding:9px;border:1px solid rgba(255,255,255,.065);border-radius:11px;background:rgba(255,255,255,.015)}.beginner-decision-list article.is-done{border-color:rgba(95,217,154,.24);background:rgba(45,142,98,.05)}.beginner-decision-list header{display:flex;align-items:center;gap:6px}.beginner-decision-list header small{color:#69d49f;font-size:6px}.beginner-decision-list header b{color:#e7decf;font-size:7px}.beginner-decision-list header em{margin-left:auto;color:#7fe0af;font-style:normal}.beginner-decision-list p{min-height:34px;margin:6px 0;color:rgba(239,233,222,.61);font-size:7px;line-height:1.45}.beginner-decision-list article>div{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.beginner-decision-list button,.beginner-rank-compare button,.bestfive-choices button,.beginner-tie-lab button{min-height:30px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(255,255,255,.025);color:#ece4d7;font-size:7px}.beginner-decision-list button:disabled,.beginner-rank-compare button:disabled,.bestfive-choices button:disabled,.beginner-tie-lab button:disabled{opacity:.55}.beginner-decision-list aside{margin-top:5px;color:#aee5c9;font-size:6px;line-height:1.4}
.beginner-inline-feedback{margin:8px 0 0;padding:7px 9px;border:1px solid rgba(103,221,160,.18);border-radius:8px;background:rgba(49,150,102,.07);color:#bce9d2;font-size:7px}
.beginner-rank-compare{margin-top:12px;padding-top:9px;border-top:1px solid rgba(255,255,255,.06)}.beginner-rank-compare h3{margin:0 0 7px;font-size:11px}.beginner-rank-compare{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.beginner-rank-compare h3{grid-column:1/-1}.beginner-rank-compare article{padding:7px;border:1px solid rgba(255,255,255,.055);border-radius:9px}.beginner-rank-compare article>small{display:block;margin-bottom:4px;color:#70d6a6;font-size:5px}.beginner-rank-compare article>div{display:grid;grid-template-columns:1fr auto 1fr;gap:5px;align-items:center}.beginner-rank-compare article>div>b{color:#8f7b53;font-size:6px}.beginner-rank-compare article>p{margin:5px 0 0;color:#aadfc5;font-size:6px}.beginner-rank-compare article.is-done{border-color:rgba(93,212,149,.20)}
.beginner-bestfive-list{display:grid;gap:8px}.beginner-bestfive-list>article{padding:9px;border:1px solid rgba(255,255,255,.065);border-radius:11px;background:rgba(255,255,255,.014)}.beginner-bestfive-list>article.is-done{border-color:rgba(91,213,149,.22);background:rgba(45,147,100,.045)}.beginner-bestfive-list header{display:flex;gap:8px;align-items:center}.beginner-bestfive-list header small{color:#74d9a9;font-size:6px}.beginner-bestfive-list header b{font-size:8px}.bestfive-cards{display:flex;align-items:center;justify-content:center;gap:6px;margin:7px 0}.bestfive-cards>span{display:flex;gap:3px;align-items:center}.bestfive-cards>span>small{margin-right:3px;color:#b6a784;font-size:5px}.bestfive-cards>i{color:#b19050;font-style:normal}.bestfive-cards .beginner-card{width:31px}.bestfive-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;max-width:360px;margin:0 auto}.beginner-bestfive-list>article>p{margin:6px 0 0;color:#afe4c9;font-size:6.5px;line-height:1.4}
.beginner-tie-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:9px}.beginner-tie-rules article{padding:8px;border:1px solid rgba(255,255,255,.06);border-radius:9px;background:rgba(255,255,255,.015)}.beginner-tie-rules b{color:#d9c184;font-size:8px}.beginner-tie-rules p{margin:4px 0 0;color:rgba(239,233,222,.55);font-size:6px}.beginner-tie-lab{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.beginner-tie-lab>article{padding:8px;border:1px solid rgba(255,255,255,.06);border-radius:9px}.beginner-tie-lab>article.is-done{border-color:rgba(96,217,153,.22)}.beginner-tie-lab small{color:#70d7a6;font-size:5px}.beginner-tie-lab p{min-height:38px;margin:5px 0;color:rgba(239,233,222,.62);font-size:6px;line-height:1.45}.beginner-tie-lab>article>div{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.beginner-tie-lab button{min-height:27px;font-size:5.5px}.beginner-tie-lab aside{margin-top:5px;color:#abe2c6;font-size:5.8px;line-height:1.4}
.beginner-table-map--position .bt-seat.is-early{border-color:rgba(218,126,111,.34);color:#e6b6aa}.beginner-table-map--position .bt-seat.is-late{border-color:rgba(100,219,158,.38);color:#ade6c9}.bt-pos-note{position:absolute;left:50%;top:69%;transform:translateX(-50%);white-space:nowrap;color:#d4bf87;font-size:6px;font-weight:500}.beginner-position-explain{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin:8px 0}.beginner-position-explain article{padding:9px;border:1px solid rgba(255,255,255,.06);border-radius:10px}.beginner-position-explain small{display:block;color:#6fd6a5;font-size:5px}.beginner-position-explain b{display:block;margin:3px 0;color:#ece4d8;font-size:8px}.beginner-position-explain p{margin:0;color:rgba(239,233,222,.53);font-size:6px}.beginner-position-explain>i{color:#aa8e54;font-style:normal}.beginner-term-note{padding:8px 10px;border:1px dashed rgba(210,181,112,.20);border-radius:9px;background:rgba(108,80,24,.045)}.beginner-term-note b{color:#ddc78c;font-size:7px}.beginner-term-note p{margin:3px 0 0;color:rgba(239,233,222,.55);font-size:6px}
.beginner-practice-prompt small{display:block;margin-bottom:3px;color:#76dba9;font-size:5.5px;letter-spacing:.08em}.beginner-hint-button{display:block;margin:0 auto 5px;padding:5px 12px;border:1px solid rgba(214,181,104,.22);border-radius:999px;background:rgba(117,86,28,.08);color:#dbc78f;font-size:6px}.beginner-self-hint{max-width:520px;margin:0 auto 6px;padding:6px 8px;border:1px solid rgba(213,179,98,.17);border-radius:8px;background:rgba(104,74,19,.055);color:#d8c79e;font-size:6.5px;text-align:center}.beginner-nohint{margin:0 auto 6px;padding:6px 8px;border-radius:8px;background:rgba(255,255,255,.018);color:rgba(239,233,222,.52);font-size:6px;text-align:center}.beginner-skill-summary,.beginner-graduate-checklist{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px}.beginner-skill-summary span,.beginner-graduate-checklist span{padding:8px;border:1px solid rgba(94,216,151,.14);border-radius:8px;background:rgba(45,145,98,.045);color:#bce7d1;font-size:7px;text-align:center}
.beginner-quiz--final{grid-template-columns:repeat(2,1fr);align-items:start}.beginner-quiz--final fieldset{min-width:0}.beginner-weak-links{display:grid;gap:4px;margin:8px auto 0;max-width:560px}.beginner-weak-links small{color:#d9bd78;font-size:6px}.beginner-weak-links button{min-height:28px;border:1px solid rgba(212,180,104,.18);border-radius:8px;background:rgba(117,84,24,.06);color:#dbc995;font-size:6.5px}

@media (max-width:760px),(max-height:390px){
  .beginner-concept-grid{gap:4px}.beginner-concept-grid article{padding:5px}.beginner-concept-grid b{font-size:7.5px}.beginner-concept-grid p{font-size:5.7px}
  .beginner-glossary--5{grid-template-columns:repeat(3,1fr)}.beginner-streets--detail{grid-template-columns:repeat(3,1fr)!important}.beginner-streets--detail article{min-height:105px}
  .beginner-flow-line{gap:3px;padding:5px}.beginner-flow-line span{padding:3px 5px;font-size:5.5px}.beginner-pot-demo{padding:7px;gap:4px}.bpd-player span{font-size:11px}.bpd-pot strong{font-size:14px}
  .beginner-blind-story{gap:3px}.beginner-blind-story article{padding:5px}.beginner-blind-story article p{font-size:5.2px}.beginner-action-rule{grid-template-columns:1fr 1fr;gap:4px}.beginner-action-rule b{grid-column:1/-1}.beginner-action-rule span{font-size:6px}
  .beginner-decision-list{gap:4px}.beginner-decision-list article{padding:5px}.beginner-decision-list p{min-height:27px;font-size:6px}.beginner-decision-list button{min-height:25px;font-size:6px}
  .beginner-rank-compare{gap:4px}.beginner-rank-compare article{padding:5px}.beginner-rank-compare button{min-height:24px;font-size:5.5px}
  .bestfive-cards .beginner-card{width:25px}.beginner-bestfive-list>article{padding:5px}.bestfive-choices button{min-height:25px;font-size:6px}
  .beginner-tie-lab{gap:4px}.beginner-tie-rules{gap:4px}.beginner-tie-lab>article,.beginner-tie-rules article{padding:5px}.beginner-tie-lab p{min-height:31px;font-size:5.3px}
  .beginner-position-explain article{padding:5px}.beginner-position-explain b{font-size:6.5px}.beginner-position-explain p{font-size:5.5px}.beginner-term-note{padding:5px}
  .beginner-skill-summary,.beginner-graduate-checklist{gap:3px}.beginner-skill-summary span,.beginner-graduate-checklist span{padding:5px;font-size:5.7px}
  .beginner-quiz--final{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.beginner-quiz--final fieldset{padding:4px 5px}.beginner-quiz--final legend{font-size:6.2px!important}.beginner-quiz--final fieldset>label{font-size:5.8px!important;padding:3px 5px!important}
}

/* v0.47.23 small-landscape readability: keep internal scrolling, never shrink lesson copy to micro-text. */
@media (max-width:760px),(max-height:390px){
  .beginner-lesson-panel{width:96vw!important;height:94vh!important}
  .beginner-lesson-body{padding:9px 11px!important}
  .beginner-lesson-head small{font-size:6.5px!important}.beginner-lesson-head h2{font-size:15px!important}
  .beginner-lead{font-size:9.5px!important;line-height:1.6!important}.beginner-note{font-size:7.6px!important;line-height:1.55!important}
  .beginner-concept-grid small{font-size:6px!important}.beginner-concept-grid b{font-size:8.5px!important}.beginner-concept-grid p{font-size:6.8px!important}
  .beginner-glossary strong{font-size:8.3px!important}.beginner-glossary p{font-size:6.8px!important;line-height:1.45!important}
  .beginner-streets strong{font-size:8px!important}.beginner-streets p{font-size:6.7px!important;line-height:1.35!important}.beginner-streets--detail em{font-size:6.2px!important}
  .beginner-flow-line span{font-size:6.5px!important}.beginner-blind-story article b{font-size:7px!important}.beginner-blind-story article p{font-size:6.2px!important}
  .beginner-action-rule b,.beginner-action-rule span{font-size:6.8px!important}.beginner-actions button b{font-size:8.5px!important}.beginner-actions button span{font-size:6.5px!important}.beginner-action-explain{font-size:7.4px!important}
  .beginner-decision-list header small{font-size:6px!important}.beginner-decision-list header b{font-size:7px!important}.beginner-decision-list p{font-size:7.2px!important;line-height:1.48!important}.beginner-decision-list button{font-size:7px!important}.beginner-decision-list aside{font-size:6.6px!important}
  .beginner-ranks strong{font-size:7.4px!important}.beginner-ranks span,.beginner-ranks em{font-size:6.2px!important}.beginner-rank-compare button{font-size:6.6px!important}.beginner-rank-compare article>p{font-size:6.5px!important}
  .beginner-bestfive-list header small{font-size:6.2px!important}.beginner-bestfive-list header b{font-size:8px!important}.bestfive-cards>span>small{font-size:6px!important}.bestfive-choices button{font-size:7px!important}.beginner-bestfive-list>article>p{font-size:7px!important;line-height:1.45!important}
  .beginner-tie-rules b{font-size:7.4px!important}.beginner-tie-rules p{font-size:6.4px!important}.beginner-tie-lab p{font-size:6.4px!important}.beginner-tie-lab button{font-size:6.3px!important}.beginner-tie-lab aside{font-size:6.4px!important}
  .beginner-position-explain small{font-size:5.8px!important}.beginner-position-explain b{font-size:7.4px!important}.beginner-position-explain p{font-size:6.4px!important}.beginner-term-note b{font-size:7px!important}.beginner-term-note p{font-size:6.5px!important}
  .beginner-practice-head span{font-size:6.5px!important}.beginner-practice-head strong{font-size:9px!important}.beginner-practice-head b{font-size:7px!important}.beginner-practice-prompt{font-size:7.6px!important;line-height:1.5!important}.beginner-practice-actions button{font-size:7.4px!important}.beginner-practice-feedback,.beginner-self-hint,.beginner-nohint{font-size:6.8px!important}
  .beginner-quiz--final legend{font-size:7.2px!important;line-height:1.35!important}.beginner-quiz--final fieldset>label{font-size:6.8px!important}.quiz-feedback{font-size:6.8px!important;line-height:1.4!important}.beginner-weak-links button{font-size:6.8px!important}
}

/* =========================================================
   CASINOIR v0.48.15 — RECOVERY / APPROVED TABLE INTEGRATION
   HOME / GRAND / POKER MODE foundations are restored from v0.47.23.
   The rules below are scoped to the live TABLE screen only.
   ========================================================= */

/* Full approved table artwork: do not oval-crop or perspective-crop the source image. */
.screen--table .live-table-wrap{
  inset:0 0 74px 0!important;
}
.screen--table .live-table{
  width:min(99%,1280px)!important;
  max-height:100%!important;
  aspect-ratio:1674 / 653!important;
  box-shadow:0 22px 52px rgba(0,0,0,.30),0 0 26px rgba(224,173,67,.07)!important;
}
.screen--table .live-table::before,
.screen--table .live-table::after,
.screen--table .live-table__inner,
.screen--table .live-table__brand{display:none!important;}

/* Six player plaques align to the six black seat plates drawn in the approved artwork. */
.screen--table .live-seat{
  width:12.5%!important;
  min-width:96px!important;
  min-height:56px!important;
  transform:none!important;
}
.screen--table .ls1{left:2.4%!important;top:24%!important;}
.screen--table .ls2{left:24.2%!important;top:-5.0%!important;}
.screen--table .ls3{left:auto!important;right:20.8%!important;top:-5.0%!important;}
.screen--table .ls4{left:auto!important;right:2.5%!important;top:24%!important;}
.screen--table .ls5{left:auto!important;right:23.3%!important;top:auto!important;bottom:12.0%!important;}
.screen--table .ls6{
  left:23.2%!important;top:auto!important;bottom:12.0%!important;
  width:13.2%!important;min-width:106px!important;transform:none!important;z-index:24!important;
}
.screen--table .ls6.is-current{transform:translateY(-2px)!important;}

/* BOT portraits — UI only. Persona/AI logic remains untouched. */
.screen--table .live-seat:not(.live-seat--you){padding-left:42px!important;}
.screen--table .live-seat:not(.live-seat--you) .seat-character-avatar--bot{
  position:absolute!important;z-index:9!important;left:-18px!important;top:50%!important;
  width:52px!important;height:52px!important;transform:translateY(-50%)!important;
  border-radius:50%!important;overflow:hidden!important;
  border:2px solid rgba(236,199,111,.96)!important;
  background:radial-gradient(circle at 50% 30%,rgba(255,241,206,.16),rgba(7,15,13,.96) 72%)!important;
  box-shadow:0 5px 13px rgba(0,0,0,.52),0 0 0 2px rgba(53,30,10,.78),0 0 14px rgba(230,186,91,.10)!important;
  pointer-events:none!important;
}
.screen--table .live-seat:not(.live-seat--you) .seat-character-avatar--bot img{
  display:block!important;width:100%!important;height:118%!important;object-fit:cover!important;
  object-position:center 10%!important;transform:scale(1.06)!important;transform-origin:center top!important;
}
.screen--table .live-seat[data-persona="nit"] .seat-character-avatar--bot img{object-position:center 8%!important;transform:scale(1.10)!important;}
.screen--table .live-seat[data-persona="tag"] .seat-character-avatar--bot img{object-position:center 10%!important;transform:scale(1.07)!important;}
.screen--table .live-seat[data-persona="lag"] .seat-character-avatar--bot img{object-position:center 8%!important;transform:scale(1.08)!important;}
.screen--table .live-seat[data-persona="station"] .seat-character-avatar--bot img{object-position:center 10%!important;transform:scale(1.07)!important;}
.screen--table .live-seat[data-persona="aggro"] .seat-character-avatar--bot img{object-position:center 8%!important;transform:scale(1.08)!important;}
.screen--table .live-seat:not(.live-seat--you).is-current .seat-character-avatar--bot{border-color:#ffe09a!important;box-shadow:0 5px 13px rgba(0,0,0,.55),0 0 0 2px rgba(72,42,13,.88),0 0 18px rgba(244,204,109,.24)!important;}
.screen--table .live-seat:not(.live-seat--you).is-folded .seat-character-avatar--bot{filter:saturate(.62) brightness(.78)!important;}
.screen--table .live-seat:not(.live-seat--you).is-winner .seat-character-avatar--bot{border-color:#8fd7b8!important;box-shadow:0 5px 13px rgba(0,0,0,.55),0 0 0 2px rgba(22,79,57,.88),0 0 18px rgba(95,188,148,.26)!important;}

/* Match community cards to the printed five-card slots; keep POT away from YOU sizing controls. */
.screen--table .live-board{
  left:50%!important;top:38.5%!important;
}
.screen--table .live-pot{top:54%!important;z-index:18!important;
}
.screen--table .human-bet-preview{top:67%!important;left:50%!important;transform:translate(-50%,-50%)!important;}

/* Approved compact control rail. */
.screen--table .action-dock{bottom:4px!important;
  width:min(61%,700px)!important;grid-template-columns:.88fr 1.18fr 1.02fr!important;
  grid-template-areas:"presets info sizing" "actions actions actions"!important;
  gap:4px 5px!important;padding:5px 6px 6px!important;
  background:linear-gradient(180deg,rgba(15,16,18,.94),rgba(6,8,10,.98))!important;
  border:1px solid rgba(224,184,94,.42)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.045)!important;
  z-index:80!important;
}
.screen--table .action-dock::before{left:14%!important;right:14%!important;opacity:.65!important;}
.screen--table .turn-indicator{
  min-width:145px!important;width:auto!important;margin:0!important;padding:3px 12px!important;
  border-radius:999px!important;background:linear-gradient(180deg,#edc965,#b27b29)!important;
  border:1px solid rgba(255,243,205,.78)!important;color:#211606!important;
  font-size:8px!important;font-weight:800!important;letter-spacing:.09em!important;white-space:nowrap!important;
  box-shadow:0 6px 14px rgba(0,0,0,.30)!important;
}
.screen--table .decision-strip--v169{
  gap:3px!important;align-self:stretch!important;
}
.screen--table .decision-strip--v169 .decision-metric{
  min-width:0!important;min-height:26px!important;gap:0!important;padding:2px 4px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,227,168,.09)!important;
}
.screen--table .decision-strip--v169 .decision-metric--odds,
.screen--table .decision-strip--v169 .decision-metric--effective{display:none!important;}
.screen--table .decision-strip--v169 small{font-size:5.8px!important;line-height:1!important;letter-spacing:.05em!important;color:#ad9a72!important;}
.screen--table .decision-strip--v169 strong{margin:2px 0 0!important;font-size:8.4px!important;line-height:1!important;color:#fff2cf!important;}
.screen--table .raise-presets{height:auto!important;gap:3px!important;align-self:stretch!important;
}
.screen--table .raise-presets button{
  min-width:0!important;min-height:26px!important;height:auto!important;padding:2px 1px!important;border-radius:7px!important;
  font-size:6.5px!important;letter-spacing:0!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,227,168,.12)!important;
}
.screen--table .raise-presets button.is-selected{background:linear-gradient(180deg,rgba(225,180,83,.92),rgba(161,108,34,.92))!important;color:#251706!important;border-color:rgba(255,239,193,.62)!important;}
.screen--table .bet-sizing{height:auto!important;padding:3px 6px 2px!important;border-radius:8px!important;
  background:rgba(255,255,255,.028)!important;border:1px solid rgba(255,227,168,.09)!important;align-self:stretch!important;grid-template-rows:12px 10px!important;gap:1px!important;
}
.screen--table .bet-sizing__readout{gap:3px!important;}
.screen--table .bet-sizing__readout>span{gap:3px!important;}
.screen--table .bet-sizing__readout small,.screen--table .raise-range{display:none!important;}
.screen--table .bet-sizing__readout strong{font-size:8px!important;color:#fff0c5!important;}
.screen--table .bet-sizing__readout>em{font-size:5.8px!important;color:#ccb891!important;}
.screen--table .bb-stepper{gap:2px!important;}
.screen--table .bb-stepper button{min-width:27px!important;min-height:12px!important;height:12px!important;padding:0 2px!important;border-radius:4px!important;font-size:5px!important;}
.screen--table .raise-slider{height:9px!important;}
.screen--table .action-buttons{gap:5px!important;}
.screen--table .action-button{min-height:32px!important;padding:3px 5px!important;font-size:10px!important;font-weight:760!important;letter-spacing:.02em!important;box-shadow:inset 0 1px rgba(255,255,255,.045),0 5px 12px rgba(0,0,0,.16)!important;}
.screen--table .action-button--fold{background:linear-gradient(180deg,rgba(94,32,41,.64),rgba(44,18,23,.9))!important;color:#ffd8dc!important;}
.screen--table .action-button--call{background:linear-gradient(180deg,rgba(18,92,97,.74),rgba(9,43,49,.94))!important;color:#ecffff!important;border-color:rgba(91,207,212,.36)!important;}
.screen--table .action-button--raise{background:linear-gradient(180deg,rgba(139,91,24,.72),rgba(60,39,17,.94))!important;color:#ffe8ad!important;border-color:rgba(235,184,82,.38)!important;}
.screen--table .action-button--allin{background:linear-gradient(180deg,rgba(151,20,57,.80),rgba(74,9,29,.95))!important;color:#ffe6ec!important;border-color:rgba(226,69,110,.44)!important;}
.screen--table .action-dock.can-size .bet-sizing,
.screen--table .action-dock.can-size .raise-presets{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;width:auto!important;}

@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .screen--table .live-table{width:99.5%!important;}
  .screen--table .live-seat{width:13.5%!important;}
  .screen--table .live-seat:not(.live-seat--you){padding-left:34px!important;}
  .screen--table .live-seat:not(.live-seat--you) .seat-character-avatar--bot{left:-14px!important;width:43px!important;height:43px!important;}
  .screen--table .ls1{left:1.9%!important;top:24%!important;}
  .screen--table .ls2{left:23.7%!important;top:-4.5%!important;}
  .screen--table .ls3{right:20.2%!important;top:-4.5%!important;}
  .screen--table .ls4{right:2.0%!important;top:24%!important;}
  .screen--table .ls5{right:22.8%!important;bottom:12.5%!important;}
  .screen--table .ls6{left:22.8%!important;bottom:12.5%!important;width:14%!important;min-width:84px!important;}
  .screen--table .live-board{top:38.5%!important;}
  .screen--table .live-pot{left:50%!important;top:54%!important;}
  .screen--table .action-dock{width:min(64%,560px)!important;bottom:3px!important;gap:3px 4px!important;padding:4px 5px 5px!important;border-radius:13px!important;}
  .screen--table .turn-indicator{bottom:calc(100% + 3px)!important;min-width:126px!important;padding:2px 9px!important;font-size:6.5px!important;}
  .screen--table .decision-strip--v169{gap:2px!important;}
  .screen--table .decision-strip--v169 .decision-metric{min-height:23px!important;padding:1px 3px!important;}
  .screen--table .decision-strip--v169 small{font-size:5px!important;}
  .screen--table .decision-strip--v169 strong{font-size:7px!important;margin-top:1px!important;}
  .screen--table .raise-presets{gap:2px!important;}
  .screen--table .raise-presets button{min-height:23px!important;font-size:5.5px!important;border-radius:6px!important;}
  .screen--table .bet-sizing{padding:2px 4px 1px!important;grid-template-rows:11px 8px!important;}
  .screen--table .bet-sizing__readout strong{font-size:7px!important;}
  .screen--table .bet-sizing__readout>em{font-size:5px!important;}
  .screen--table .bb-stepper button{min-width:23px!important;height:11px!important;min-height:11px!important;font-size:4.5px!important;}
  .screen--table .raise-slider{height:7px!important;}
  .screen--table .action-buttons{gap:4px!important;}
  .screen--table .action-button{min-height:28px!important;font-size:8.5px!important;border-radius:7px!important;}
}
@media (max-width:760px) and (orientation:landscape){
  .screen--table .live-seat{width:14%!important;}
  .screen--table .live-seat:not(.live-seat--you){padding-left:28px!important;}
  .screen--table .live-seat:not(.live-seat--you) .seat-character-avatar--bot{left:-12px!important;width:38px!important;height:38px!important;border-width:1.5px!important;}
  .screen--table .ls1{left:1.6%!important;top:24%!important;}
  .screen--table .ls2{left:23.4%!important;top:-4%!important;}
  .screen--table .ls3{right:20.0%!important;top:-4%!important;}
  .screen--table .ls4{right:1.7%!important;top:24%!important;}
  .screen--table .ls5{right:22.5%!important;bottom:13%!important;}
  .screen--table .ls6{left:22.5%!important;bottom:13%!important;width:14.6%!important;min-width:80px!important;}
  .screen--table .action-dock{width:66%!important;grid-template-columns:.84fr 1.14fr 1.02fr!important;}
  .screen--table .action-button{min-height:27px!important;font-size:8px!important;}
}

/* v0.48.15 audit hardening: decorative GRAND CASINO backdrop must never create page overflow. */
#floor.screen--grand-floor{overflow:hidden!important;}

/* =========================================================
   CASINOIR v0.48.15 — FINAL TABLE GEOMETRY CORRECTION
   Centers the six live seat UI blocks on the six black seat plates
   printed in the approved 1672×653 table artwork. Also separates
   the live YOU bet-preview from the center POT readout.
   ========================================================= */
.screen--table .ls1,
.screen--table .ls2,
.screen--table .ls3,
.screen--table .ls4,
.screen--table .ls5,
.screen--table .ls6{
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
}
.screen--table .ls2{top:2.1529%!important;}
.screen--table .ls3{top:2.1257%!important;}
.screen--table .human-bet-preview{top:74%!important;}


/* =========================================================
   CASINOIR v0.48.16 — GAME TABLE FULLSCREEN REBUILD / ROUND 1
   2026-09-21
   ========================================================= */
.screen--table{
  padding:0!important;
  overflow:hidden!important;
  background:
    linear-gradient(180deg,rgba(8,6,6,.22),rgba(4,6,5,.38)),
    url("./assets/ui/poker-table-luxury-approved-v0489.webp?v=04837") center center/cover no-repeat!important;
}
.screen--table::before{display:none!important;}
.screen--table::after{content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;z-index:1!important;background:linear-gradient(180deg,rgba(0,0,0,.46) 0,rgba(0,0,0,.05) 12%,transparent 72%,rgba(0,0,0,.35) 100%)!important;}
.table-room-glow{display:none!important;}

/* Header floats over the artwork instead of consuming table height. */
.screen--table .table-header{
  position:absolute!important;left:max(6px,var(--safe-left))!important;right:max(6px,var(--safe-right))!important;top:max(2px,var(--safe-top))!important;
  width:auto!important;height:36px!important;min-height:36px!important;padding:0 4px!important;z-index:120!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;gap:7px!important;
  background:linear-gradient(90deg,rgba(8,7,7,.78),rgba(8,7,7,.35) 42%,rgba(8,7,7,.58))!important;
  border-radius:12px!important;
}
.screen--table .table-header .round-button{width:32px!important;height:32px!important;min-width:32px!important;}
.screen--table .table-header__title p{display:none!important;}
.screen--table .table-header__title h2{font-size:clamp(12px,1.6vw,20px)!important;line-height:1!important;}
.screen--table .table-header__meta>span:first-child{display:none!important;}
.screen--table .table-header__meta{gap:5px!important;}
.screen--table .table-header__meta>span,.screen--table .sound-toggle{min-height:28px!important;padding:4px 8px!important;font-size:8px!important;}

/* The game/table now occupies the full viewport. */
.screen--table .live-game{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;padding:0!important;overflow:hidden!important;z-index:2!important;}
.screen--table .live-table-wrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;overflow:visible!important;padding:0!important;}
.screen--table .live-table{
  position:absolute!important;left:0!important;top:0!important;max-width:none!important;height:auto!important;max-height:none!important;
  aspect-ratio:1672 / 653!important;border:0!important;border-radius:0!important;overflow:visible!important;transform:none!important;
  background-color:transparent!important;background-image:url("./assets/ui/poker-table-luxury-approved-v0489.webp?v=04837")!important;
  background-position:center top!important;box-shadow:none!important;
}
.screen--table .live-table::before,.screen--table .live-table::after,.screen--table .live-table__inner,.screen--table .live-table__brand{display:none!important;}

/* Seats: preserve artwork X anchors, but keep every player fully inside the viewport. */
.screen--table .live-seat{width:13.4%!important;min-width:82px!important;max-width:190px!important;min-height:54px!important;overflow:visible!important;z-index:30!important;}
.screen--table .ls1{left:8.7853%!important;top:31.9148%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;}
.screen--table .ls4{left:91.1461%!important;top:31.9191%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;}
.screen--table .ls2{left:30.8413%!important;top:40px!important;right:auto!important;bottom:auto!important;transform:translate(-50%,0)!important;}
.screen--table .ls3{left:69.1108%!important;top:40px!important;right:auto!important;bottom:auto!important;transform:translate(-50%,0)!important;}
.screen--table .ls5{left:70.4179%!important;top:80.0144%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;}
.screen--table .ls6{left:29.4937%!important;top:80.0134%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:14.2%!important;min-width:92px!important;z-index:35!important;}
.screen--table .ls6.is-current{transform:translate(-50%,calc(-50% - 2px))!important;}

/* Position labels are always above cards, never hidden behind them. */
.screen--table .position-marker{
  z-index:80!important;top:-10px!important;right:4px!important;left:auto!important;bottom:auto!important;transform:none!important;
  min-width:26px!important;padding:2px 6px!important;font-size:8px!important;line-height:1.2!important;
  background:rgba(66,43,19,.96)!important;border:1px solid rgba(255,224,155,.55)!important;color:#ffe4a4!important;
  box-shadow:0 3px 8px rgba(0,0,0,.42)!important;
}
.screen--table .seat-hole{position:relative!important;z-index:20!important;}

/* Community cards mathematically align to the five printed slots in the 1672x653 artwork.
   Source slots: x centers ≈ 591/714/836/958/1078, y center ≈ 246.5. */
.screen--table .live-board{
  left:49.895%!important;top:37.749%!important;transform:translate(-50%,-50%)!important;
  display:flex!important;align-items:center!important;gap:1.98vw!important;min-height:0!important;z-index:22!important;
}
.screen--table .live-board .playing-card{
  width:5.32vw!important;max-width:none!important;min-width:0!important;margin:0!important;transform:none!important;
  border-radius:clamp(4px,.45vw,7px)!important;
}

/* POT stays central. The duplicate YOU bet preview under POT is removed entirely. */
.screen--table .live-pot{left:50%!important;top:55.5%!important;right:auto!important;transform:translateX(-50%)!important;z-index:24!important;}
.screen--table #humanBetPreview,.screen--table .human-bet-preview{display:none!important;visibility:hidden!important;}
.screen--table .human-betting-line{display:none!important;}

/* Wide bottom operation rail. Bet/raise amount is now large beside the slider. */
.screen--table .action-dock{
  position:absolute!important;left:50%!important;right:auto!important;bottom:max(3px,var(--safe-bottom))!important;
  width:min(96%,1180px)!important;max-width:none!important;transform:translateX(-50%)!important;opacity:1!important;visibility:visible!important;
  display:grid!important;grid-template-columns:minmax(170px,.85fr) minmax(280px,1.9fr) minmax(150px,.8fr)!important;
  grid-template-areas:"presets sizing info" "actions actions actions"!important;
  gap:5px 7px!important;padding:6px 8px 7px!important;border-radius:15px!important;z-index:115!important;
  background:linear-gradient(180deg,rgba(18,18,18,.97),rgba(5,7,8,.99))!important;
  border:1px solid rgba(236,192,96,.48)!important;box-shadow:0 -8px 28px rgba(0,0,0,.46),inset 0 1px rgba(255,255,255,.05)!important;
}
.screen--table .turn-indicator{position:absolute!important;left:50%!important;bottom:calc(100% + 4px)!important;transform:translateX(-50%)!important;min-width:190px!important;padding:4px 14px!important;font-size:9px!important;z-index:115!important;}
.screen--table .raise-presets{grid-area:presets!important;position:static!important;inset:auto!important;width:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;}
.screen--table .raise-presets button{min-height:38px!important;padding:3px!important;font-size:9px!important;border-radius:8px!important;}
.screen--table .raise-presets button[data-raise-fraction="0.6666667"]{display:none!important;}
.screen--table .bet-sizing{grid-area:sizing!important;position:static!important;inset:auto!important;width:auto!important;display:grid!important;grid-template-rows:30px 14px!important;gap:3px!important;margin:0!important;padding:3px 8px 4px!important;border-radius:9px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,225,164,.13)!important;box-shadow:none!important;}
.screen--table .bet-sizing__readout{display:grid!important;align-items:center!important;gap:6px!important;}
.screen--table .bet-sizing__readout>span{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;}
.screen--table .bet-sizing__readout small{display:block!important;font-size:8px!important;letter-spacing:.06em!important;color:#cbb990!important;white-space:nowrap!important;}
.screen--table .bet-sizing__readout strong{display:block!important;font-size:clamp(18px,2vw,25px)!important;line-height:1!important;color:#fff2c9!important;font-weight:850!important;letter-spacing:.03em!important;}
.screen--table .bet-sizing__readout>em{font-size:9px!important;color:#d8c49a!important;white-space:nowrap!important;}
.screen--table .bb-stepper{display:flex!important;gap:3px!important;}
.screen--table .bb-stepper button{min-width:42px!important;height:24px!important;min-height:24px!important;padding:0 5px!important;font-size:7px!important;border-radius:6px!important;}
.screen--table .raise-slider{display:block!important;width:100%!important;height:14px!important;margin:0!important;accent-color:#e7bd5d!important;}
.screen--table .raise-range{display:none!important;}
.screen--table .decision-strip--v169{grid-area:info!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;margin:0!important;padding:0!important;}
.screen--table .decision-strip--v169 .decision-metric{min-height:38px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:3px 4px!important;border-radius:8px!important;}
.screen--table .decision-strip--v169 .decision-metric--odds,.screen--table .decision-strip--v169 .decision-metric--effective{display:none!important;}
.screen--table .decision-strip--v169 small{display:block!important;font-size:7px!important;}
.screen--table .decision-strip--v169 strong{display:block!important;margin-top:2px!important;font-size:10px!important;white-space:nowrap!important;}
.screen--table .action-buttons{grid-area:actions!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin:0!important;}
.screen--table .action-button{min-height:38px!important;padding:4px 7px!important;font-size:12px!important;border-radius:9px!important;}
.screen--table .action-dock.can-size .bet-sizing,.screen--table .action-dock.can-size .raise-presets{position:static!important;inset:auto!important;width:auto!important;}

/* Compact floating session controls do not cover top players. */
.screen--table .session-toolbar{top:42px!important;left:max(5px,var(--safe-left))!important;right:auto!important;width:auto!important;max-width:28%!important;min-height:30px!important;padding:3px 5px!important;z-index:100!important;}
.screen--table .session-toolbar__meta{display:none!important;}
.screen--table .session-toolbar__actions{width:auto!important;gap:3px!important;}
.screen--table .session-toolbar__actions button{min-height:25px!important;padding:0 7px!important;font-size:7px!important;}
.screen--table .console-status{display:none!important;}

@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .screen--table .table-header{height:34px!important;min-height:34px!important;}
  .screen--table .ls2,.screen--table .ls3{top:36px!important;}
  .screen--table .live-seat{width:13.6%!important;min-width:74px!important;min-height:48px!important;}
  .screen--table .live-seat:not(.live-seat--you){padding-left:32px!important;}
  .screen--table .live-seat:not(.live-seat--you) .seat-character-avatar--bot{left:-13px!important;width:41px!important;height:41px!important;}
  .screen--table .ls6{width:14.5%!important;min-width:86px!important;}
  .screen--table .position-marker{font-size:7px!important;top:-9px!important;}
  .screen--table .ls2 .position-marker,.screen--table .ls3 .position-marker{top:auto!important;}
  .screen--table .live-pot{top:56%!important;}
  .screen--table .action-dock{grid-template-columns:minmax(130px,.8fr) minmax(260px,2fr) minmax(125px,.75fr)!important;gap:4px 5px!important;padding:5px 6px 6px!important;}
  .screen--table .raise-presets button{min-height:32px!important;font-size:7px!important;}
  .screen--table .bet-sizing{grid-template-rows:25px 12px!important;padding:2px 6px 3px!important;}
  .screen--table .bet-sizing__readout small{font-size:6.5px!important;}
  .screen--table .bet-sizing__readout strong{font-size:17px!important;}
  .screen--table .bet-sizing__readout>em{font-size:7px!important;}
  .screen--table .bb-stepper button{min-width:34px!important;height:20px!important;min-height:20px!important;font-size:6px!important;}
  .screen--table .raise-slider{height:12px!important;}
  .screen--table .decision-strip--v169 .decision-metric{min-height:32px!important;}
  .screen--table .decision-strip--v169 small{font-size:6px!important;}
  .screen--table .decision-strip--v169 strong{font-size:8.5px!important;}
  .screen--table .action-button{min-height:34px!important;font-size:10px!important;}
  .screen--table .turn-indicator{min-width:150px!important;padding:3px 10px!important;font-size:7px!important;}
  .screen--table .session-toolbar{top:38px!important;}
}

@media (max-width:760px) and (orientation:landscape){
  .screen--table .table-header__meta>span{display:none!important;}
  .screen--table .table-header__title h2{font-size:11px!important;}
  .screen--table .ls2,.screen--table .ls3{top:35px!important;}
  .screen--table .live-seat{width:14.2%!important;min-width:67px!important;}
  .screen--table .live-seat:not(.live-seat--you){padding-left:27px!important;}
  .screen--table .live-seat:not(.live-seat--you) .seat-character-avatar--bot{left:-11px!important;width:36px!important;height:36px!important;}
  .screen--table .ls6{width:15.2%!important;min-width:78px!important;}
  .screen--table .action-dock{grid-template-columns:minmax(105px,.75fr) minmax(230px,2.05fr) minmax(105px,.7fr)!important;}
  .screen--table .raise-presets button{font-size:6.5px!important;}
  .screen--table .bet-sizing__readout small{display:none!important;}
  .screen--table .bet-sizing__readout strong{font-size:16px!important;}
  .screen--table .bb-stepper button{min-width:29px!important;padding:0 3px!important;font-size:5.5px!important;}
  .screen--table .decision-strip--v169 small{font-size:5.5px!important;}
  .screen--table .decision-strip--v169 strong{font-size:7.5px!important;}
  .screen--table .action-button{min-height:33px!important;font-size:9px!important;}
  .screen--table .session-toolbar{display:none!important;}
}

/* ROUND 2 — remove duplicate backdrop, close lower gap, compact rail without player overlap. */
.screen--table .live-table{
  height:calc(100% - 106px)!important;
}
.screen--table .action-dock{
  gap:3px 6px!important;
  padding:4px 7px 5px!important;
}
.screen--table .raise-presets button{min-height:32px!important;}
.screen--table .bet-sizing{grid-template-rows:22px 10px!important;gap:2px!important;padding:2px 8px 3px!important;}
.screen--table .bet-sizing__readout strong{font-size:22px!important;}
.screen--table .bb-stepper button{height:20px!important;min-height:20px!important;}
.screen--table .raise-slider{height:10px!important;}
.screen--table .decision-strip--v169 .decision-metric{min-height:32px!important;}
.screen--table .action-button{min-height:34px!important;}

@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .screen--table .action-dock{gap:3px 5px!important;padding:4px 6px 5px!important;}
  .screen--table .raise-presets button{min-height:30px!important;}
  .screen--table .bet-sizing{grid-template-rows:21px 9px!important;gap:1px!important;padding:2px 6px 2px!important;}
  .screen--table .bb-stepper button{height:19px!important;min-height:19px!important;}
  .screen--table .raise-slider{height:9px!important;}
  .screen--table .decision-strip--v169 .decision-metric{min-height:30px!important;}
  .screen--table .action-button{min-height:33px!important;}
}

/* ROUND 3 — wide-screen completion and safe-area hardening. */
.screen--table .live-table{height:calc(100% - 95px)!important;}
.screen--table .ls2,.screen--table .ls3{top:calc(40px + var(--safe-top))!important;}
.screen--table .action-dock{
  width:min(92%,1400px)!important;
  max-width:calc(100% - var(--safe-left) - var(--safe-right) - 10px)!important;
  bottom:calc(3px + var(--safe-bottom))!important;
}
.screen--table .bet-sizing__readout strong{font-size:26px!important;}
.screen--table .bet-sizing__readout>span{gap:10px!important;}

@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .screen--table .live-table{height:calc(100% - 60px)!important;}
  .screen--table .ls2,.screen--table .ls3{top:calc(36px + var(--safe-top))!important;}
  .screen--table .action-dock{max-width:calc(100% - var(--safe-left) - var(--safe-right) - 8px)!important;}
  .screen--table .bet-sizing__readout strong{font-size:20px!important;}
}
@media (max-width:760px) and (orientation:landscape){
  .screen--table .live-table{height:calc(100% - 95px)!important;}
  .screen--table .ls2,.screen--table .ls3{top:calc(35px + var(--safe-top))!important;}
  .screen--table .bet-sizing__readout strong{font-size:19px!important;}
}

/* ROUND 4 — preserve session controls on the smallest landscape phones; top-seat clearance. */
@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .screen--table .ls2,.screen--table .ls3{top:calc(38px + var(--safe-top))!important;}
}
@media (max-width:760px) and (orientation:landscape){
  .screen--table .ls2,.screen--table .ls3{top:calc(38px + var(--safe-top))!important;}
  .screen--table .session-toolbar{
    display:block!important;top:4px!important;left:auto!important;right:calc(48px + var(--safe-right))!important;
    width:auto!important;max-width:none!important;min-height:26px!important;padding:0!important;
    border:0!important;background:transparent!important;box-shadow:none!important;z-index:125!important;
  }
  .screen--table .session-toolbar__actions{display:flex!important;align-items:center!important;gap:2px!important;width:auto!important;}
  .screen--table .session-toolbar__actions .session-net{display:none!important;}
  .screen--table .session-toolbar__actions button{min-height:24px!important;height:24px!important;padding:0 5px!important;font-size:6px!important;border-radius:6px!important;}
}

/* ROUND 5 — keep the operation rail horizontally dominant on desktop as well. */
.screen--table .action-dock{width:92%!important;}
@media (max-width:980px) and (max-height:460px) and (orientation:landscape){.screen--table .action-dock{width:97%!important;}}
@media (max-width:760px) and (orientation:landscape){.screen--table .action-dock{width:98%!important;}}


/* =========================================================
   CASINOIR v0.48.20 — GAME TABLE ACCEPTANCE FIX / FINAL
   2026-09-21
   Acceptance rules:
   - artwork fills the complete game viewport;
   - upper seats never intersect community-card rail;
   - every position badge is separated from hole cards;
   - duplicate YOU bet preview remains removed;
   - lower seats stay clear of the action dock;
   - community cards remain on the five printed artwork slots.
   ========================================================= */
.screen--table{background:#090807!important;}
.screen--table .live-table{
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
  background-size:100% 100%!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}

/* Upper seats flank the community-card rail. */
.screen--table .ls2{left:24%!important;}
.screen--table .ls3{left:76%!important;}

/* Lower seats: preserve artwork alignment whenever height allows, move up only
   where the bottom action dock would otherwise collide. */
.screen--table .ls5,.screen--table .ls6{top:80%!important;}
@media (min-height:461px) and (max-height:640px) and (orientation:landscape){
  .screen--table .ls5,.screen--table .ls6{top:74%!important;}
}
@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .screen--table .ls2{left:23.5%!important;}
  .screen--table .ls3{left:76.5%!important;}
  .screen--table .ls5,.screen--table .ls6{top:66%!important;}
  .screen--table .bet-sizing__readout strong{font-size:23px!important;}
}
@media (max-width:760px) and (orientation:landscape){
  .screen--table .ls2{left:22.8%!important;}
  .screen--table .ls3{left:77.2%!important;}
  .screen--table .ls5,.screen--table .ls6{top:64%!important;}
  .screen--table .bet-sizing__readout strong{font-size:22px!important;}
}

/* Keep position labels completely outside their own hole-card rectangles. */
.screen--table .position-marker{
  top:-15px!important;
  z-index:90!important;
}

/* POT stays above the lower-player zone and the removed YOU preview stays gone. */
.screen--table .live-pot{top:55%!important;}
.screen--table #humanBetPreview,.screen--table .human-bet-preview,
.screen--table .human-betting-line{display:none!important;visibility:hidden!important;}


/* =========================================================
   CASINOIR v0.48.20 — HEADER SESSION CONTROLS / CLEAN SLIDER
   2026-09-21
   Requested scope only:
   1) move Add Chips / Sit Out / Leave between hand counter and sound toggle;
   2) remove the -1 BB / +1 BB controls from the lower sizing rail.
   ========================================================= */
.screen--table .session-toolbar{display:none!important;}
.screen--table .table-header__meta{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:4px!important;min-width:0!important;}
.screen--table .table-header__meta #liveBlinds{display:none!important;}
.screen--table .table-header__meta #liveHandNo{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;}
.screen--table .table-session-actions{
  display:flex!important;align-items:center!important;gap:3px!important;
  min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:inherit!important;letter-spacing:0!important;white-space:nowrap!important;
}
.screen--table .table-session-actions button{
  min-width:0!important;min-height:28px!important;height:28px!important;padding:0 7px!important;
  border:1px solid rgba(231,189,93,.30)!important;border-radius:8px!important;
  background:rgba(8,13,12,.84)!important;color:#f3e7c8!important;
  font:700 8px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:.02em!important;white-space:nowrap!important;
}
.screen--table .table-session-actions button:not(:disabled):hover,
.screen--table .table-session-actions button:not(:disabled):active{border-color:rgba(231,189,93,.62)!important;background:rgba(39,31,17,.94)!important;}
.screen--table #tableLeave:not(:disabled){border-color:rgba(205,89,89,.42)!important;color:#ffd4d4!important;}
.screen--table .bb-stepper{display:none!important;}
.screen--table .bet-sizing__readout{grid-template-columns:minmax(0,1fr) auto!important;}

@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .screen--table .table-header{gap:4px!important;}
  .screen--table .table-header__meta{gap:2px!important;}
  .screen--table .table-header__meta #liveHandNo{min-height:25px!important;padding:2px 6px!important;font-size:7px!important;}
  .screen--table .table-session-actions{gap:2px!important;}
  .screen--table .table-session-actions button{min-height:25px!important;height:25px!important;padding:0 5px!important;font-size:6.5px!important;border-radius:6px!important;}
  .screen--table .sound-toggle{min-height:25px!important;height:25px!important;padding:2px 6px!important;font-size:7px!important;}
}
@media (max-width:760px) and (orientation:landscape){
  .screen--table .table-header{grid-template-columns:auto minmax(0,1fr) auto!important;gap:3px!important;}
  .screen--table .table-header__title h2{font-size:10px!important;}
  .screen--table .table-header__meta{display:flex!important;gap:2px!important;}
  .screen--table .table-header__meta #liveHandNo{display:inline-flex!important;min-height:24px!important;height:24px!important;padding:1px 4px!important;font-size:6px!important;}
  .screen--table .table-session-actions{display:flex!important;gap:2px!important;}
  .screen--table .table-session-actions button{min-height:24px!important;height:24px!important;padding:0 4px!important;font-size:5.7px!important;}
  .screen--table .sound-toggle{display:inline-flex!important;min-height:24px!important;height:24px!important;padding:1px 5px!important;font-size:6px!important;}
}

/* v0.48.20 compact-phone specificity override: keep moved session buttons visible. */
@media (max-width:760px) and (orientation:landscape){
  .screen--table .table-header__meta > .table-session-actions{display:flex!important;}
}


/* =========================================================
   CASINOIR v0.48.20 — LIVE TABLE TARGETED FIXES
   2026-09-21
   1) Left / right middle seats moved to the user-marked target zones.
   2) Personality chips are removed from live-table UI.
   3) Sit-out / leave buttons visibly acknowledge queued requests.
   ========================================================= */
.screen--table .ls1{
  left:8.71%!important;
  top:46.92%!important;
}
.screen--table .ls4{
  left:86.37%!important;
  top:46.28%!important;
}
.screen--table .rival-style-chip{display:none!important;}
.screen--table .table-session-actions button.is-pending{
  border-color:rgba(231,189,93,.78)!important;
  background:rgba(92,65,16,.94)!important;
  color:#fff1bf!important;
}

/* =========================================================
   CASINOIR v0.48.25 — PLAY / RESULT COLLISION REBUILD
   2026-09-22
   Final acceptance layout:
   - hand result panel sits in the guaranteed center-bottom free lane;
   - lower action badges never cover cards, stacks, or the bottom control rail;
   - top-seat cards clear the floating header at all audited sizes;
   - folded players remain dimmed while their action badge stays readable.
   ========================================================= */
.screen--table .hand-result,
.screen--table .hand-result.is-showdown-result,
.screen--table .hand-result.is-uncontested-result{
  top:auto!important;
  right:auto!important;
  left:50%!important;
  bottom:calc(5px + var(--safe-bottom))!important;
  transform:translateX(-50%)!important;
  width:22.5%!important;
  max-width:430px!important;
  min-width:0!important;
  max-height:min(31vh,130px)!important;
  padding:5px 6px!important;
  overflow:auto!important;
  z-index:118!important;
}
.screen--table .hand-result > p{margin-bottom:3px!important;}
.screen--table .result-winner{padding:3px 4px!important;gap:1px 4px!important;}
.screen--table .result-pots{margin-top:3px!important;padding-top:3px!important;}
.screen--table .hand-result.is-showdown-result .showdown-summary{grid-template-columns:minmax(0,1fr);}
.screen--table .showdown-summary .showdown-rank :is(strong,small){
  font-size:clamp(8.5px,.8vw,11px);
  white-space:normal;
  overflow-wrap:anywhere;
}
.screen--table .showdown-summary .showdown-rank small{text-align:right;}

/* Folded-state readability: dim the player data, not the action message. */
.screen--table .live-seat.is-folded{opacity:1!important;filter:none!important;}
.screen--table .live-seat.is-folded .seat-character-avatar,
.screen--table .live-seat.is-folded .seat-hole,
.screen--table .live-seat.is-folded .seat-meta{opacity:.43!important;filter:saturate(.45) brightness(.82)!important;}
.screen--table .live-seat.is-folded .position-marker{opacity:.68!important;}
.screen--table .live-seat.is-folded .seat-action{
  opacity:1!important;filter:none!important;color:#c7b99d!important;
  background:rgba(17,14,12,.94)!important;border-color:rgba(223,197,142,.22)!important;
}

/* Preserve a gap between both badges even when the action label is long. */
.screen--table .holdem-seat-badges{
  position:absolute;
  inset-inline:4px;
  bottom:-11px;
  z-index:12;
  display:flex;
  align-items:center;
  gap:3px;
}
.screen--table .holdem-seat-badges :is(.seat-action,.position-marker){
  position:static!important;
  transform:none!important;
}
.screen--table .holdem-seat-badges .seat-action{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.screen--table .holdem-seat-badges .position-marker{flex:none;margin-inline-start:auto;}
.screen--table :is(.ls1,.ls4) .holdem-seat-badges{bottom:-14px;}
.screen--table :is(.ls5,.ls6) .holdem-seat-badges{top:-38px;bottom:auto;}
/* Top seats are low enough that oversized/rotated hole cards clear the header. */
.screen--table .ls2,.screen--table .ls3{top:calc(62px + var(--safe-top))!important;}

@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .screen--table .hand-result,
  .screen--table .hand-result.is-showdown-result,
  .screen--table .hand-result.is-uncontested-result{
    bottom:calc(4px + var(--safe-bottom))!important;
    max-width:none!important;
    padding:4px 5px!important;
  }
  .screen--table .holdem-seat-badges{inset-inline:3px;bottom:-10px;}
  .screen--table :is(.ls1,.ls4) .holdem-seat-badges{bottom:-12px;}
  .screen--table .ls2,.screen--table .ls3{top:calc(44px + var(--safe-top))!important;}
  .screen--table :is(.ls5,.ls6) .holdem-seat-badges{top:-23px;bottom:auto;}
}
@media (max-width:760px) and (orientation:landscape){
  .screen--table .hand-result,
  .screen--table .hand-result.is-showdown-result,
  .screen--table .hand-result.is-uncontested-result{
    bottom:calc(3px + var(--safe-bottom))!important;
    padding:3px 4px!important;
  }
  .screen--table .hand-result > p{margin-bottom:2px!important;}
  .screen--table .result-winner{padding:2px 3px!important;}
  .screen--table .result-pots{margin-top:2px!important;padding-top:2px!important;}
  .screen--table .holdem-seat-badges{inset-inline:2px;bottom:-9px;}
  .screen--table :is(.ls1,.ls4) .holdem-seat-badges{bottom:-11px;}
  .screen--table .ls2,.screen--table .ls3{top:calc(42px + var(--safe-top))!important;}
  .screen--table :is(.ls5,.ls6) .holdem-seat-badges{top:-21px;bottom:auto;}
}


/* =========================================================
   CASINOIR v0.48.27 — TOP-UP CONTINUE / DEALER BUTTON FRONT FIX
   2026-09-22
   - Dealer button sits immediately above the avatar centerline.
   - It stays above seat/card/position layers, but below the global header.
   - Compact landscape sizes shrink the dealer button enough to preserve the
     narrow gap between the top-seat avatar and the header.
   ========================================================= */
.screen--table .live-dealer{
  width:clamp(22px,2.05vw,30px)!important;
  z-index:115!important;
  transform:translate(-50%,-50%)!important;
  pointer-events:none!important;
  border-width:1.5px!important;
}
.screen--table .live-dealer.is-top-seat{
  width:22px!important;
}
@media (max-width:980px) and (max-height:460px) and (orientation:landscape){
  .screen--table .live-dealer{
    width:18px!important;
    font-size:7px!important;
    border-width:1px!important;
  }
  .screen--table .live-dealer.is-top-seat{width:16px!important;}
}
@media (max-width:760px) and (orientation:landscape){
  .screen--table .live-dealer{
    width:16px!important;
    font-size:6px!important;
    border-width:1px!important;
  }
  .screen--table .live-dealer.is-top-seat{width:13px!important;font-size:5px!important;}
}


/* =========================================================
   CASINOIR v0.48.27 — INVISIBLE MUCK TARGET
   2026-09-22
   Keep the muck tray as a geometry target for card-collection animations,
   but never render its label/frame on the live table.
   ========================================================= */
.screen--table .muck-tray{
  color:transparent!important;
}


/* =========================================================
   CASINOIR v0.48.28 — MUCK TRAY FULLY HIDDEN
   2026-09-22
   - Keep the muck tray DOM node only as an invisible geometry anchor.
   - Never show the tray frame or the マック label, even during mucking.
   ========================================================= */
.screen--table .muck-tray{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.screen--table .muck-tray span{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}


/* =========================================================
   CASINOIR v0.48.29 — FOLDED HOLE PLACEHOLDER REMOVED
   2026-09-22
   - Folded seats no longer render the artificial thin placeholder behind cards.
   ========================================================= */
.screen--table .mucked-card-slot{display:none!important;}


/* =========================================================
   CASINOIR v0.48.30 — ALL-IN CHIP POSITION REBALANCE
   2026-09-22
   - Reposition the six all-in chip/amount stacks to the requested safe zones.
   ========================================================= */
.screen--table .tb1{left:19%!important;top:37.5%!important;}
.screen--table .tb2{left:36%!important;top:18%!important;}
.screen--table .tb3{left:65%!important;top:18%!important;}
.screen--table .tb4{left:75%!important;top:37.5%!important;}
.screen--table .tb5{left:59%!important;top:63%!important;}
.screen--table .tb6{left:41%!important;top:64%!important;}

@media (max-width: 780px){
  .screen--table .tb1{left:18.5%!important;top:37.8%!important;}
  .screen--table .tb2{left:36%!important;top:19%!important;}
  .screen--table .tb3{left:64.8%!important;top:19%!important;}
  .screen--table .tb4{left:75.2%!important;top:37.8%!important;}
  .screen--table .tb5{left:62%!important;top:68.5%!important;}
  .screen--table .tb6{left:38%!important;top:68.5%!important;}
}


/* =========================================================
   CASINOIR v0.48.31 — NOA/REI HORIZONTAL ALIGN
   2026-09-22
   - Align NOA (tb4) horizontally with REI (tb1) for a cleaner mirrored layout.
   ========================================================= */


/* =========================================================
   CASINOIR v0.48.31 — REI/NOA ALL-IN ALIGNMENT
   2026-09-22
   - Align REI and NOA all-in markers to the same horizontal line.
   ========================================================= */


/* =========================================================
   CASINOIR v0.48.34 — SIDE-SEAT POSITION MARKER RELOCATE
   2026-09-23
   - Move REI/NOA side-seat position badges below the seat to avoid card overlap.
   ========================================================= */

/* =========================================================
   CASINOIR v0.48.35 — SHOWDOWN STATE BARRIER / REDUCED MOTION
   2026-09-23
   Reduced motion removes movement, but keeps information timing.
   Board and showdown cards appear discretely on the same reveal timeline.
   ========================================================= */
@keyframes casinoirReducedBoardReveal {
  0% { opacity:0; }
  100% { opacity:1; }
}
@keyframes casinoirReducedShowdownReveal {
  0% { opacity:0; }
  100% { opacity:1; }
}
@media (prefers-reduced-motion: reduce) {
  .screen--table .live-board .playing-card.is-new-card {
    animation-name:casinoirReducedBoardReveal!important;
    animation-duration:1ms!important;
    animation-timing-function:steps(1,end)!important;
    animation-delay:var(--board-delay,0ms)!important;
    animation-fill-mode:both!important;
  }
  .screen--table .playing-card.is-showdown-reveal {
    animation-name:casinoirReducedShowdownReveal!important;
    animation-duration:1ms!important;
    animation-timing-function:steps(1,end)!important;
    animation-delay:var(--show-delay,240ms)!important;
    animation-fill-mode:both!important;
    filter:none!important;
    clip-path:none!important;
    transform:none!important;
  }
}


/* =========================================================
   CASINOIR v0.48.37 — ROUTE-AWARE ASSET LOADING
   2026-09-23
   - Prevent large inactive-screen backgrounds from downloading at boot.
   - Their original background rules resume unchanged when the route is active.
   ========================================================= */
#home.screen--home:not(.is-active){background-image:none!important;}
#floor.screen:not(.is-active) .grand-featured{background-image:none!important;}
.screen--table:not(.is-active){background-image:none!important;}
.screen--table:not(.is-active) .live-table{background-image:none!important;}


/* =========================================================
   Migrated from index.html inline style: #v04725-beginner-fixes
   CASINOIR v0.48.39 CSS consolidation
   ========================================================= */
    /* CASINOIR v0.48.12 — beginner mode viewport fit / readable line breaks */
    #pokerRoom .poker-room-stage{min-height:0!important;align-items:stretch!important;overflow:hidden!important;}
    #pokerRoom .poker-mode-shell{min-height:0!important;height:100%!important;overflow:hidden!important;}
    @media (max-height: 470px){
      #pokerRoom .poker-room-footer{font-size:.78em!important;padding-block:.28rem!important;}
    }
  


/* =========================================================
   Migrated from index.html inline style: #v0483-poker-flow-fullscreen
   CASINOIR v0.48.39 CSS consolidation
   ========================================================= */
    /* CASINOIR v0.48.3 — HOME-style full-screen poker entry scenes */
    #cashFlowModal,
    #tournamentEntryModal{
      position:fixed!important;
      inset:0!important;
      width:100vw!important;
      height:100dvh!important;
      min-width:0!important;
      min-height:0!important;
      margin:0!important;
      padding:0!important;
      overflow:hidden!important;
      overscroll-behavior:none!important;
      background:#050607!important;
      isolation:isolate;
    }
    #cashFlowModal[hidden],#tournamentEntryModal[hidden]{display:none!important;}
    #cashFlowModal .cash-flow-backdrop,
    #tournamentEntryModal .cash-flow-backdrop{
      position:absolute!important;
      inset:0!important;
      background:transparent!important;
      backdrop-filter:none!important;
      -webkit-backdrop-filter:none!important;
      pointer-events:none!important;
    }
    #cashFlowModal::before,
    #tournamentEntryModal::before{
      content:"";
      position:absolute;
      inset:0;
      z-index:0;
      background-position:center center;
      background-repeat:no-repeat;
      background-size:cover;
      transform:none;
      filter:none;
      opacity:1;
      pointer-events:none;
    }
    #cashFlowModal[data-cash-bg="seat"]::before{background-image:url('./assets/ui/cash-seat-scene-v0483.webp?v=04838');}
    #cashFlowModal[data-cash-bg="buyin"]::before{background-image:url('./assets/ui/cash-buyin-scene-v0483.webp?v=04838');}
    #cashFlowModal[data-cash-bg="entry"]::before{background-image:url('./assets/ui/cash-entry-scene-v0483.webp?v=04838');}
    #tournamentEntryModal::before{background-image:url('./assets/ui/tournament-scene-v0483.webp?v=04838');}
    #cashFlowModal::after,
    #tournamentEntryModal::after{
      content:"";
      position:absolute;
      inset:0;
      z-index:1;
      pointer-events:none;
      background:
        linear-gradient(180deg,rgba(3,4,5,.62) 0,rgba(3,4,5,.16) 23%,rgba(3,4,5,.10) 64%,rgba(3,4,5,.56) 100%),
        linear-gradient(90deg,rgba(3,4,5,.38) 0,transparent 18%,transparent 82%,rgba(3,4,5,.34) 100%);
    }
    #cashFlowModal > .cash-flow-panel,
    #tournamentEntryModal > .cash-flow-panel{
      position:absolute!important;
      inset:0!important;
      z-index:2!important;
      width:100%!important;
      height:100%!important;
      min-width:0!important;
      min-height:0!important;
      max-width:none!important;
      max-height:none!important;
      margin:0!important;
      padding:max(12px,env(safe-area-inset-top,0px)) max(18px,calc(env(safe-area-inset-right,0px) + 16px)) max(12px,env(safe-area-inset-bottom,0px)) max(18px,calc(env(safe-area-inset-left,0px) + 16px))!important;
      box-sizing:border-box!important;
      overflow:hidden!important;
      border:0!important;
      border-radius:0!important;
      background:transparent!important;
      box-shadow:none!important;
      transform:none!important;
      display:flex!important;
      flex-direction:column!important;
    }
    #cashFlowModal .cash-flow-close,
    #tournamentEntryModal .cash-flow-close{
      position:absolute!important;
      top:max(12px,env(safe-area-inset-top,0px))!important;
      left:max(16px,calc(env(safe-area-inset-left,0px) + 12px))!important;
      z-index:20!important;
      width:44px!important;
      height:44px!important;
      border-radius:50%!important;
      background:rgba(7,8,10,.54)!important;
      border:1px solid rgba(229,193,119,.38)!important;
      backdrop-filter:blur(8px)!important;
      -webkit-backdrop-filter:blur(8px)!important;
    }
    #cashFlowModal > .cash-flow-panel > header,
    #tournamentEntryModal > .cash-flow-panel > header{
      flex:0 0 auto!important;
      min-height:72px!important;
      margin:0!important;
      padding:8px 16px 9px 70px!important;
      box-sizing:border-box!important;
      border:0!important;
      border-radius:16px!important;
      background:linear-gradient(90deg,rgba(7,8,10,.70),rgba(7,8,10,.32) 70%,rgba(7,8,10,.08))!important;
      box-shadow:none!important;
      backdrop-filter:none!important;
      -webkit-backdrop-filter:none!important;
    }
    #cashFlowModal > .cash-flow-panel > header h2,
    #tournamentEntryModal > .cash-flow-panel > header h2{margin:.18rem 0 0!important;line-height:1.05!important;}

    #cashFlowModal .cash-flow-step{
      flex:1 1 auto!important;
      min-width:0!important;
      min-height:0!important;
      width:100%!important;
      height:auto!important;
      overflow:hidden!important;
      margin:0!important;
      padding:10px 14px 6px!important;
      box-sizing:border-box!important;
      background:transparent!important;
      backdrop-filter:none!important;
      -webkit-backdrop-filter:none!important;
    }
    #cashFlowModal .cash-flow-step::before,
    #cashFlowModal .cash-flow-step::after{display:none!important;content:none!important;}
    #cashFlowModal .flow-copy{
      position:relative!important;
      z-index:5!important;
      display:flex!important;
      align-items:center!important;
      gap:.75rem!important;
      width:min(720px,66vw)!important;
      min-height:54px!important;
      margin:0!important;
      padding:.58rem .82rem!important;
      box-sizing:border-box!important;
      border:1px solid rgba(232,199,133,.22)!important;
      border-radius:14px!important;
      background:rgba(5,8,9,.52)!important;
      box-shadow:0 8px 28px rgba(0,0,0,.18)!important;
      backdrop-filter:blur(7px)!important;
      -webkit-backdrop-filter:blur(7px)!important;
    }
    #cashFlowModal .flow-copy > span{flex:0 0 auto!important;}
    #cashFlowModal .flow-copy p{margin:.18rem 0 0!important;line-height:1.35!important;}

    /* STEP 01 — use the generated table as the table. No legacy CSS felt/table artwork. */
    #cashFlowModal .cash-flow-step[data-cash-step="seat"]{position:relative!important;}
    #cashFlowModal .cash-flow-step[data-cash-step="seat"] .seat-select-table{
      position:absolute!important;
      inset:58px 4% 10px!important;
      width:auto!important;
      height:auto!important;
      margin:0!important;
      border:0!important;
      border-radius:0!important;
      background:transparent!important;
      box-shadow:none!important;
      overflow:visible!important;
    }
    #cashFlowModal .seat-select-felt{display:none!important;}
    #cashFlowModal .seat-choice{
      position:absolute!important;
      z-index:6!important;
      width:96px!important;
      height:60px!important;
      min-width:0!important;
      min-height:0!important;
      padding:.35rem!important;
      box-sizing:border-box!important;
      border-radius:15px!important;
      background:rgba(8,10,14,.78)!important;
      border:1px solid rgba(181,192,205,.27)!important;
      box-shadow:0 8px 24px rgba(0,0,0,.30)!important;
      backdrop-filter:blur(7px)!important;
      -webkit-backdrop-filter:blur(7px)!important;
      transform:none!important;
    }
    #cashFlowModal .seat-choice.is-selected{border-color:rgba(224,181,91,.95)!important;background:rgba(30,24,16,.84)!important;box-shadow:0 0 0 2px rgba(224,181,91,.20),0 10px 28px rgba(0,0,0,.34)!important;}
    #cashFlowModal .seat-choice.sc1{left:6%!important;top:43%!important;}
    #cashFlowModal .seat-choice.sc2{top:7%!important;}
    #cashFlowModal .seat-choice.sc3{top:7%!important;}
    #cashFlowModal .seat-choice.sc4{right:6%!important;top:43%!important;}
    #cashFlowModal .seat-choice.sc5{right:25%!important;bottom:4%!important;}
    #cashFlowModal .seat-choice.sc6{left:25%!important;bottom:4%!important;}
    #cashFlowModal .cash-flow-step[data-cash-step="seat"] > .flow-primary{
      position:absolute!important;
      left:50%!important;
      transform:translateX(-50%)!important;
      width:min(360px,38vw)!important;
      min-width:230px!important;
      z-index:10!important;
      margin:0!important;
    }

    /* STEP 02 — compact buy-in deck, no scroll */
    #cashFlowModal .cash-flow-step[data-cash-step="buyin"]{
      display:grid!important;
      grid-template-rows:auto auto auto auto auto 1fr!important;
      align-content:start!important;
      gap:7px!important;
    }
    #cashFlowModal .cash-flow-step[data-cash-step="buyin"] .buyin-display{
      justify-self:center!important;
      width:min(560px,55vw)!important;
      margin:2px 0 0!important;
      padding:.55rem 1rem!important;
      border-radius:16px!important;
      background:rgba(4,8,9,.44)!important;
      border:1px solid rgba(226,192,121,.20)!important;
      backdrop-filter:blur(6px)!important;
      -webkit-backdrop-filter:blur(6px)!important;
    }
    #cashFlowModal .buyin-range{width:calc(100% - 40px)!important;margin:0 20px!important;}
    #cashFlowModal .buyin-limits{width:calc(100% - 40px)!important;margin:-2px 20px 0!important;}
    #cashFlowModal .buyin-presets{display:flex!important;justify-content:center!important;gap:10px!important;margin:0!important;padding:0!important;}
    #cashFlowModal .buyin-presets button{min-width:118px!important;padding:.65rem 1rem!important;background:rgba(8,10,12,.56)!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important;}
    #cashFlowModal .cash-flow-step[data-cash-step="buyin"] .flow-actions{
      align-self:end!important;
      display:flex!important;
      justify-content:space-between!important;
      gap:1rem!important;
      width:100%!important;
      margin:0!important;
      padding:0!important;
    }
    #cashFlowModal .cash-flow-step[data-cash-step="buyin"] .flow-actions button{min-width:180px!important;}

    /* STEP 03 — two clear choices, all visible at once */
    #cashFlowModal .cash-flow-step[data-cash-step="entry"]{
      display:grid!important;
      grid-template-rows:auto 1fr auto!important;
      gap:10px!important;
    }
    #cashFlowModal .entry-choice-grid{
      display:grid!important;
      grid-template-columns:1fr 1fr!important;
      gap:18px!important;
      min-height:0!important;
      margin:0!important;
      padding:0!important;
    }
    #cashFlowModal .entry-choice{
      min-width:0!important;
      min-height:0!important;
      height:100%!important;
      padding:1rem 1.15rem!important;
      box-sizing:border-box!important;
      border-radius:20px!important;
      background:rgba(5,10,11,.48)!important;
      border:1px solid rgba(230,197,128,.28)!important;
      backdrop-filter:blur(7px)!important;
      -webkit-backdrop-filter:blur(7px)!important;
    }
    #cashFlowModal .entry-choice--recommended{background:rgba(29,25,14,.50)!important;border-color:rgba(225,181,87,.68)!important;}
    #cashFlowModal .cash-flow-step[data-cash-step="entry"] .flow-back{justify-self:start!important;margin:0!important;padding:.62rem 1rem!important;}

    /* Tournament entry */
    #tournamentEntryModal > .cash-flow-panel{gap:10px!important;}
    #tournamentEntryModal .tournament-entry-grid{
      display:grid!important;
      grid-template-columns:repeat(4,1fr)!important;
      gap:10px!important;
      margin:0!important;
      padding:0!important;
    }
    #tournamentEntryModal .tournament-entry-grid > span{
      min-width:0!important;
      padding:.82rem .5rem!important;
      border:1px solid rgba(230,198,133,.20)!important;
      border-radius:16px!important;
      background:rgba(5,9,10,.43)!important;
      backdrop-filter:blur(6px)!important;
      -webkit-backdrop-filter:blur(6px)!important;
    }
    #tournamentEntryModal .tournament-entry-rules{
      display:grid!important;
      grid-template-columns:repeat(3,1fr)!important;
      gap:10px!important;
      margin:0!important;
      padding:0!important;
    }
    #tournamentEntryModal .tournament-entry-rules p{
      margin:0!important;
      padding:.72rem .82rem!important;
      border:1px solid rgba(230,198,133,.18)!important;
      background:rgba(5,9,10,.44)!important;
      backdrop-filter:blur(6px)!important;
      -webkit-backdrop-filter:blur(6px)!important;
    }
    #tournamentEntryModal .tournament-start{
      margin:auto 0 0!important;
      min-height:52px!important;
      background:rgba(28,22,13,.66)!important;
      backdrop-filter:blur(7px)!important;
      -webkit-backdrop-filter:blur(7px)!important;
    }

    @media (max-height:430px){
      #cashFlowModal > .cash-flow-panel,
      #tournamentEntryModal > .cash-flow-panel{padding:8px max(12px,calc(env(safe-area-inset-right,0px) + 10px)) 8px max(12px,calc(env(safe-area-inset-left,0px) + 10px))!important;}
      #cashFlowModal > .cash-flow-panel > header,
      #tournamentEntryModal > .cash-flow-panel > header{min-height:58px!important;padding:5px 12px 6px 62px!important;border-radius:13px!important;}
      #cashFlowModal > .cash-flow-panel > header small,
      #tournamentEntryModal > .cash-flow-panel > header small{font-size:.72rem!important;}
      #cashFlowModal > .cash-flow-panel > header h2,
      #tournamentEntryModal > .cash-flow-panel > header h2{font-size:1.22rem!important;}
      #cashFlowModal .cash-flow-close,#tournamentEntryModal .cash-flow-close{width:38px!important;height:38px!important;top:10px!important;left:12px!important;}
      #cashFlowModal .cash-flow-step{padding:7px 10px 4px!important;}
      #cashFlowModal .flow-copy{min-height:46px!important;padding:.42rem .65rem!important;width:min(760px,78vw)!important;}
      #cashFlowModal .flow-copy p{font-size:.78rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
      #cashFlowModal .seat-choice{width:82px!important;height:50px!important;font-size:.84rem!important;}
      #cashFlowModal .cash-flow-step[data-cash-step="seat"] .seat-select-table{inset:50px 3% 8px!important;}
      #cashFlowModal .cash-flow-step[data-cash-step="seat"] > .flow-primary{width:min(320px,42vw)!important;min-width:210px!important;padding:.62rem 1rem!important;}
      #cashFlowModal .cash-flow-step[data-cash-step="buyin"]{gap:4px!important;}
      #cashFlowModal .cash-flow-step[data-cash-step="buyin"] .buyin-display{padding:.35rem .8rem!important;}
      #cashFlowModal .buyin-display strong{font-size:2rem!important;}
      #cashFlowModal .buyin-presets button{padding:.48rem .8rem!important;min-width:105px!important;}
      #cashFlowModal .cash-flow-step[data-cash-step="buyin"] .flow-actions button{min-width:150px!important;padding:.55rem .85rem!important;}
      #cashFlowModal .entry-choice{padding:.72rem .85rem!important;border-radius:16px!important;}
      #cashFlowModal .entry-choice strong{font-size:1rem!important;}
      #cashFlowModal .entry-choice span{font-size:.78rem!important;}
      #tournamentEntryModal > .cash-flow-panel{gap:7px!important;}
      #tournamentEntryModal .tournament-entry-grid{gap:7px!important;}
      #tournamentEntryModal .tournament-entry-grid > span{padding:.55rem .35rem!important;}
      #tournamentEntryModal .tournament-entry-rules{gap:7px!important;}
      #tournamentEntryModal .tournament-entry-rules p{padding:.5rem .6rem!important;font-size:.78rem!important;}
      #tournamentEntryModal .tournament-start{min-height:44px!important;padding:.55rem 1rem!important;}
    }
    /* Hidden must win over per-step display rules. */
    #cashFlowModal .cash-flow-step[hidden]{display:none!important;}

    @media (max-width:720px){
      #cashFlowModal .flow-copy{width:min(620px,84vw)!important;}
      #cashFlowModal .seat-choice.sc2{left:27%!important;}
      #cashFlowModal .seat-choice.sc3{right:27%!important;}
      #cashFlowModal .seat-choice.sc5{right:22%!important;}
      #cashFlowModal .seat-choice.sc6{left:22%!important;}
    }
  


/* =========================================================
   Migrated from index.html inline style: #v0484-cash-flow-fixes
   CASINOIR v0.48.39 CSS consolidation
   ========================================================= */
    /* CASINOIR v0.48.4 — reliable bg switching + seat CTA clearance + stronger artwork */
    #cashFlowModal::before{opacity:.92!important;filter:none!important;}
    #cashFlowModal::after{background:linear-gradient(180deg, rgba(7,7,10,.18) 0%, rgba(7,7,10,.24) 22%, rgba(7,7,10,.28) 52%, rgba(7,7,10,.34) 100%)!important;}
    #tournamentEntryModal::before{opacity:.90!important;filter:none!important;}
    #tournamentEntryModal::after{background:linear-gradient(180deg, rgba(7,7,10,.18) 0%, rgba(7,7,10,.24) 22%, rgba(7,7,10,.30) 52%, rgba(7,7,10,.38) 100%)!important;}
    #cashFlowModal > .cash-flow-panel, #tournamentEntryModal > .cash-flow-panel{background:linear-gradient(180deg, rgba(6,7,10,.20), rgba(6,7,10,.26))!important;}
    #cashFlowModal > .cash-flow-panel > header, #tournamentEntryModal > .cash-flow-panel > header{background:linear-gradient(180deg, rgba(9,9,12,.30), rgba(9,9,12,.16))!important;}
    #cashFlowModal .flow-copy, #cashFlowModal .buyin-display, #cashFlowModal .entry-choice, #tournamentEntryModal .tournament-entry-grid > div, #tournamentEntryModal .tournament-entry-rules p{background:rgba(8,10,14,.34)!important;}
    #cashFlowModal .cash-flow-step[data-cash-step="seat"] .seat-select-table{inset:56px 4% 12px!important;}
    #cashFlowModal .seat-choice.sc5{right:24%!important;bottom:16%!important;}
    #cashFlowModal .seat-choice.sc6{left:24%!important;bottom:16%!important;}
    #cashFlowModal .cash-flow-step[data-cash-step="seat"] > .flow-primary{bottom:8px!important;min-width:220px!important;}
    @media (max-height: 470px){
      #cashFlowModal .seat-choice.sc5{right:23%!important;bottom:18%!important;}
      #cashFlowModal .seat-choice.sc6{left:23%!important;bottom:18%!important;}
      #cashFlowModal .cash-flow-step[data-cash-step="seat"] > .flow-primary{bottom:6px!important;width:min(300px,39vw)!important;min-width:210px!important;}
    }
  


/* =========================================================
   Migrated from index.html inline style: #v0485-seat-position-tuning
   CASINOIR v0.48.39 CSS consolidation
   ========================================================= */
    /* CASINOIR v0.48.5 — seat buttons aligned to actual chairs */
    #cashFlowModal .seat-choice.sc1{left:7%!important;top:42%!important;}
    #cashFlowModal .seat-choice.sc2{left:29%!important;top:1%!important;}
    #cashFlowModal .seat-choice.sc3{right:29%!important;top:1%!important;}
    #cashFlowModal .seat-choice.sc4{right:7%!important;top:42%!important;}
    #cashFlowModal .seat-choice.sc5{right:19%!important;bottom:8%!important;}
    #cashFlowModal .seat-choice.sc6{left:19%!important;bottom:8%!important;}
    #cashFlowModal .cash-flow-step[data-cash-step="seat"] > .flow-primary{bottom:4px!important;width:min(330px,35vw)!important;}
    @media (max-height: 470px){
      #cashFlowModal .seat-choice.sc2{left:28%!important;top:0%!important;}
      #cashFlowModal .seat-choice.sc3{right:28%!important;top:0%!important;}
      #cashFlowModal .seat-choice.sc5{right:18%!important;bottom:8%!important;}
      #cashFlowModal .seat-choice.sc6{left:18%!important;bottom:8%!important;}
      #cashFlowModal .cash-flow-step[data-cash-step="seat"] > .flow-primary{bottom:2px!important;width:min(300px,38vw)!important;}
    }
  


/* =========================================================
   Migrated from index.html inline style: #v0486-seat-map-final
   CASINOIR v0.48.39 CSS consolidation
   ========================================================= */
    /* CASINOIR v0.48.6 — align seat buttons to the 6 real chair locations in the artwork */
    #cashFlowModal .seat-choice.sc1{left:9%!important;top:47%!important;}      /* left middle */
    #cashFlowModal .seat-choice.sc2{left:15%!important;top:12%!important;}     /* left upper */
    #cashFlowModal .seat-choice.sc3{left:calc(50% - 48px)!important;top:12%!important;} /* top center */
    #cashFlowModal .seat-choice.sc4{right:15%!important;top:12%!important;}    /* right upper */
    #cashFlowModal .seat-choice.sc5{right:9%!important;top:47%!important;}     /* right middle */
    #cashFlowModal .seat-choice.sc6{left:calc(50% - 48px)!important;bottom:13%!important;} /* bottom center / you */
    #cashFlowModal .cash-flow-step[data-cash-step="seat"] > .flow-primary{bottom:2%!important;width:min(340px,36vw)!important;min-width:240px!important;}
    @media (max-height: 470px){
      #cashFlowModal .seat-choice.sc1{left:8.5%!important;top:46.5%!important;}
      #cashFlowModal .seat-choice.sc2{left:14.5%!important;top:11%!important;}
      #cashFlowModal .seat-choice.sc3{left:calc(50% - 41px)!important;top:11%!important;}
      #cashFlowModal .seat-choice.sc4{right:14.5%!important;top:11%!important;}
      #cashFlowModal .seat-choice.sc5{right:8.5%!important;top:46.5%!important;}
      #cashFlowModal .seat-choice.sc6{left:calc(50% - 41px)!important;bottom:12%!important;}
      #cashFlowModal .cash-flow-step[data-cash-step="seat"] > .flow-primary{bottom:1%!important;width:min(308px,39vw)!important;min-width:218px!important;}
    }
    @media (max-width: 720px){
      #cashFlowModal .seat-choice.sc2{left:13.5%!important;}
      #cashFlowModal .seat-choice.sc4{right:13.5%!important;}
      #cashFlowModal .seat-choice.sc1{left:7.5%!important;}
      #cashFlowModal .seat-choice.sc5{right:7.5%!important;}
    }
  


/* =========================================================
   Migrated from index.html inline style: #v04837-seat-picker-live-map
   CASINOIR v0.48.39 CSS consolidation
   ========================================================= */
    /* CASINOIR v0.48.37 — seat picker uses the same 6 physical positions as the live table. */
    #cashFlowModal .seat-choice{
      transform:translate(-50%,-50%)!important;
    }
    #cashFlowModal .seat-choice.sc1{left:8.71%!important;right:auto!important;top:46.92%!important;bottom:auto!important;}
    #cashFlowModal .seat-choice.sc2{left:24%!important;right:auto!important;top:14%!important;bottom:auto!important;}
    #cashFlowModal .seat-choice.sc3{left:76%!important;right:auto!important;top:14%!important;bottom:auto!important;}
    #cashFlowModal .seat-choice.sc4{left:86.37%!important;right:auto!important;top:46.28%!important;bottom:auto!important;}
    #cashFlowModal .seat-choice.sc5{left:70.42%!important;right:auto!important;top:76%!important;bottom:auto!important;}
    #cashFlowModal .seat-choice.sc6{left:29.49%!important;right:auto!important;top:76%!important;bottom:auto!important;}
    @media (max-height:470px){
      #cashFlowModal .seat-choice.sc1{left:9%!important;top:47%!important;}
      #cashFlowModal .seat-choice.sc2{left:24%!important;top:15%!important;}
      #cashFlowModal .seat-choice.sc3{left:76%!important;top:15%!important;}
      #cashFlowModal .seat-choice.sc4{left:86%!important;top:47%!important;}
      #cashFlowModal .seat-choice.sc5{left:70%!important;top:72%!important;}
      #cashFlowModal .seat-choice.sc6{left:30%!important;top:72%!important;}
    }

/* v0.48.52: opt-in PWA update, safely isolated from gameplay overlays. */
.casinoir-update-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:rgba(3,5,10,.84);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#f9f2df}
.casinoir-update-modal[hidden]{display:none!important}
.casinoir-update-panel{box-sizing:border-box;width:min(470px,92vw);max-height:95vh;overflow-y:auto;border:1px solid rgba(218,180,95,.65);border-radius:19px;padding:clamp(14px,3vh,24px);text-align:center;background:radial-gradient(ellipse at 50% -10%,rgba(177,132,54,.19),transparent 65%),linear-gradient(180deg,#17171b,#0b0c11);box-shadow:0 24px 60px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.04)}
.casinoir-update-emblem{color:#e9bd67;font-size:clamp(21px,4vh,31px);line-height:1}
.casinoir-update-kicker{color:#cbb07f;letter-spacing:.18em;font-size:clamp(9px,1.8vh,11px);margin:7px 0}
.casinoir-update-panel h2{font-size:clamp(18px,3.6vh,25px);line-height:1.3;margin:7px 0;color:#fff4d9}
.casinoir-update-version{font-size:clamp(12px,2.4vh,16px);color:#e6c77e;margin:4px 0}
.casinoir-update-status{font-size:clamp(11px,2.1vh,14px);line-height:1.5;color:#d5d0c6;margin:8px auto;max-width:360px}
.casinoir-update-actions{display:flex;gap:12px;justify-content:center;margin:12px 0 8px}
.casinoir-update-actions button{box-sizing:border-box;min-height:44px;min-width:120px;flex:1;max-width:190px;border-radius:10px;font-size:clamp(13px,2.5vh,16px);font-weight:700;cursor:pointer;touch-action:manipulation}
#casinoirUpdateLater{background:#17191f;border:1px solid #726a5d;color:#eee1c9}
#casinoirUpdateNow{background:linear-gradient(180deg,#f2d58c,#ca9448);border:1px solid #f7e5aa;color:#231a0d}
.casinoir-update-actions button:disabled{opacity:.65;cursor:wait}
.casinoir-update-actions button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.casinoir-update-panel small{display:block;color:#b5afa3;font-size:clamp(10px,1.8vh,12px);line-height:1.45}

/* CASINOIR v0.48.53 — Custom HOME/IR icon webp integration */
#home .home-wallet{
  grid-template-columns:auto 1fr auto!important;
  align-items:center!important;
}
#home .home-wallet__icon{
  display:block!important;
  width:clamp(28px,4.2vw,54px)!important;
  height:clamp(28px,4.2vw,54px)!important;
  object-fit:contain!important;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.35));
}
#home .home-util-icon--art,
#home .home-side-nav .nav-icon--art,
.screen > nav.home-bottom-nav .nav-icon--art{
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
}
#home .home-util-icon--art img,
#home .home-side-nav .nav-icon--art img,
.screen > nav.home-bottom-nav .nav-icon--art img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
#home .home-utility-action{
  overflow:visible!important;
}
#home .home-utility-action .home-util-icon--art{
  width:clamp(24px,3vw,34px)!important;
  height:clamp(24px,3vw,34px)!important;
}
#home > .home-side-nav button .nav-icon--art{
  width:clamp(30px,3.8vw,42px)!important;
  height:clamp(30px,3.8vw,42px)!important;
}
#home .home-floor-button--hero{
  gap:clamp(8px,1.4vw,16px)!important;
}
#home .home-floor-button__icon{
  display:block!important;
  width:clamp(36px,5vw,60px)!important;
  height:clamp(36px,5vw,60px)!important;
  object-fit:contain!important;
  filter:drop-shadow(0 5px 12px rgba(0,0,0,.38));
}
#home .home-floor-button--hero > b{display:none!important;}
.screen > nav.home-bottom-nav .nav-icon--art{
  width:24px!important;
  height:24px!important;
}
@media (max-width: 844px){
  #home .home-wallet__icon{width:clamp(24px,3.7vw,42px)!important;height:clamp(24px,3.7vw,42px)!important;}
  #home .home-utility-action .home-util-icon--art{width:clamp(21px,2.8vw,28px)!important;height:clamp(21px,2.8vw,28px)!important;}
  #home > .home-side-nav button .nav-icon--art{width:clamp(27px,3.4vw,34px)!important;height:clamp(27px,3.4vw,34px)!important;}
  #home .home-floor-button__icon{width:clamp(33px,4.5vw,48px)!important;height:clamp(33px,4.5vw,48px)!important;}
}
@media (max-width: 740px){
  #home .home-wallet__icon{width:clamp(22px,3.4vw,34px)!important;height:clamp(22px,3.4vw,34px)!important;}
  #home .home-utility-action .home-util-icon--art{width:18px!important;height:18px!important;}
  #home > .home-side-nav button .nav-icon--art{width:24px!important;height:24px!important;}
  #home .home-floor-button__icon{width:28px!important;height:28px!important;}
  .screen > nav.home-bottom-nav .nav-icon--art{width:21px!important;height:21px!important;}
}

/* CASINOIR v0.48.54 — FULL ART TILES / ALL-SCREEN NAV, SOURCE LABELS UNCROPPED
   Full 320x400 / 320x410 images preserve their original lower name ribbons.
   Actual tap targets are larger than the displayed artwork. */
#home .home-utility-row{
  top:3px!important;height:clamp(70px,19vh,88px)!important;
  grid-template-columns:repeat(5,clamp(47px,5.6vw,72px))!important;
  gap:clamp(2px,.4vw,7px)!important;
  overflow:visible!important;
}
#home .home-utility-action.home-utility-action--fullart{
  width:100%!important;height:100%!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  padding:1px!important;gap:0!important;
  overflow:visible!important;background:transparent!important;
  border:1px solid rgba(232,189,105,.2)!important;
  border-radius:12px!important;
}
#home .home-utility-action.home-utility-action--fullart .home-util-icon--art{
  display:block!important;width:100%!important;height:100%!important;
  min-height:0!important;overflow:visible!important;
}
#home .home-utility-action.home-utility-action--fullart .home-util-icon--art img{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
}
#home .home-utility-action.home-utility-action--fullart > strong{
  position:absolute!important;width:1px!important;height:1px!important;
  overflow:hidden!important;clip-path:inset(50%)!important;
}
#home .home-utility-action.home-utility-action--fullart > em{
  z-index:2!important;top:0!important;right:0!important;
}
/* Keep numeric balances and + buttons intact, use a fully framed but small currency motif. */
#home .home-wallet__icon{
  width:clamp(25px,3.5vw,42px)!important;height:100%!important;
  min-width:0!important;max-height:46px!important;
  object-fit:contain!important;object-position:center!important;
}
/* The full pictorial crest must never be clipped by its own element. */
#home nav.home-bottom-nav.home-side-nav{
  top:clamp(72px,18vh,90px)!important;
  width:clamp(139px,20vw,232px)!important;
  grid-auto-rows:clamp(58px,15.5vh,78px)!important;
  gap:clamp(4px,.9vh,8px)!important;
  overflow:visible!important;
}
#home nav.home-side-nav button.home-side-nav__art-button{
  display:grid!important;grid-template-columns:clamp(45px,5vw,68px) minmax(0,1fr)!important;
  grid-template-rows:1fr!important;
  align-items:center!important;justify-items:center!important;
  column-gap:clamp(3px,.6vw,8px)!important;
  padding:2px clamp(5px,.6vw,10px)!important;
  border-radius:16px!important;overflow:visible!important;
}
#home nav.home-side-nav button.home-side-nav__art-button .nav-icon--art{
  grid-column:1!important;grid-row:1!important;
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;align-self:center!important;
  overflow:visible!important;
}
#home nav.home-side-nav button.home-side-nav__art-button .nav-icon--art img{
  width:100%!important;height:100%!important;object-fit:contain!important;
}
#home nav.home-side-nav button.home-side-nav__art-button > strong{
  grid-column:2!important;grid-row:1!important;justify-self:center!important;
  align-self:center!important;transform:none!important;
  font-size:clamp(10px,1.08vw,15px)!important;line-height:1.15!important;
  white-space:nowrap!important;
}
#home nav.home-side-nav button.home-side-nav__art-button::after{display:none!important;}
/* Game Start: use full original framed artwork alongside the native live label. */
#home .home-floor-button--hero{
  grid-template-columns:clamp(46px,6vw,76px) minmax(0,1fr) 7%!important;
  gap:clamp(4px,.7vw,10px)!important;overflow:visible!important;
}
#home .home-floor-button__icon{
  width:100%!important;height:100%!important;max-width:76px!important;
  max-height:clamp(56px,15vh,85px)!important;object-fit:contain!important;
}
/* Secondary menus: all original crests, including GRAND CASINO and SHOP. */
.screen:not(#home) > nav.home-bottom-nav{
  display:flex!important;align-items:flex-end!important;
  bottom:max(6px,var(--safe-bottom))!important;
  gap:clamp(4px,.6vw,8px)!important;
  overflow:visible!important;
}
.screen:not(#home) > nav.home-bottom-nav button{
  box-sizing:border-box!important;
  width:clamp(64px,8.5vw,92px)!important;
  flex:0 0 clamp(64px,8.5vw,92px)!important;
  height:clamp(64px,18vh,82px)!important;
  min-height:56px!important;min-width:60px!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
  gap:0!important;padding:2px!important;
  border-radius:13px!important;overflow:visible!important;
}
.screen:not(#home) > nav.home-bottom-nav button .nav-icon--art,
.screen:not(#home) > nav.home-bottom-nav button.is-active .nav-icon--art{
  display:block!important;flex:1 1 auto!important;
  min-height:0!important;width:100%!important;height:100%!important;
  overflow:visible!important;
}
.screen:not(#home) > nav.home-bottom-nav button .nav-icon--art img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center!important;
}
.screen:not(#home) > nav.home-bottom-nav button > strong,
.screen:not(#home) > nav.home-bottom-nav button.is-active > strong{
  display:block!important;flex:0 0 auto!important;
  font-size:clamp(9px,1.1vw,12px)!important;
  line-height:1.25!important;white-space:nowrap!important;
  color:#f5dfad!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-utility-row{top:2px!important;height:clamp(59px,17vh,72px)!important;grid-template-columns:repeat(5,clamp(37px,5.8vw,45px))!important;gap:1px!important;}
  #home nav.home-bottom-nav.home-side-nav{top:clamp(61px,18vh,75px)!important;width:clamp(130px,21.8vw,153px)!important;grid-auto-rows:clamp(51px,15.5vh,61px)!important;gap:4px!important;}
  #home nav.home-side-nav button.home-side-nav__art-button{grid-template-columns:44px 1fr!important;padding:1px 3px!important;}
  #home nav.home-side-nav button.home-side-nav__art-button > strong{font-size:10px!important;}
  .screen:not(#home) > nav.home-bottom-nav button{width:clamp(60px,10.5vw,72px)!important;flex-basis:clamp(60px,10.5vw,72px)!important;height:clamp(58px,18vh,70px)!important;}
  .screen:not(#home) > nav.home-bottom-nav button > strong{font-size:9px!important;}
}
@media (max-width:690px) and (orientation:landscape){
  #home .home-utility-row{height:59px!important;grid-template-columns:repeat(5,36px)!important;}
  #home nav.home-bottom-nav.home-side-nav{top:60px!important;width:128px!important;grid-auto-rows:50px!important;gap:3px!important;}
  #home nav.home-side-nav button.home-side-nav__art-button{grid-template-columns:40px 1fr!important;}
  #home nav.home-side-nav button.home-side-nav__art-button > strong{font-size:9px!important;}
  .screen:not(#home) > nav.home-bottom-nav button{width:60px!important;flex-basis:60px!important;height:57px!important;}
}
/* v0.48.54 final fit corrections: prevent the HOME-side fourth tile
   from colliding with GAME START and cancel older active-tab compact rules. */
#home nav.home-bottom-nav.home-side-nav{
  top:clamp(78px,20vh,91px)!important;
  grid-auto-rows:clamp(54px,14.1vh,66px)!important;
  gap:4px!important;
}
:is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav{
  top:auto!important;
  bottom:max(5px,var(--safe-bottom))!important;
  left:auto!important;
  right:max(7px,var(--safe-inline))!important;
  width:auto!important;height:auto!important;
  display:flex!important;flex-direction:column!important;
  align-items:flex-end!important;justify-content:flex-end!important;
  gap:4px!important;
}
:is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav > button,
:is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav > button.is-active,
:is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav > button[aria-current="page"]{
  box-sizing:border-box!important;
  width:clamp(72px,9.2vw,84px)!important;
  height:clamp(62px,17.3vh,73px)!important;
  min-width:0!important;min-height:0!important;
  flex:0 0 clamp(62px,17.3vh,73px)!important;
  flex-direction:column!important;align-items:center!important;justify-content:center!important;
  padding:1px!important;gap:0!important;
  border-radius:12px!important;
}
:is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav > button .nav-icon--art{
  display:block!important;flex:1 1 auto!important;min-height:0!important;
  width:100%!important;height:100%!important;max-width:none!important;
  max-height:none!important;overflow:visible!important;
}
:is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav > button .nav-icon--art img{
  width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;
}
:is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav > button > strong,
:is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav > button.is-active > strong{
  display:block!important;flex:0 0 auto!important;
  font-size:clamp(9px,.9vw,11px)!important;line-height:1.1!important;
  white-space:nowrap!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home nav.home-bottom-nav.home-side-nav{top:clamp(63px,17.2vh,72px)!important;grid-auto-rows:clamp(47px,13.5vh,55px)!important;gap:3px!important;}
  :is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav > button,
  :is(#floor,#character,#collection,#shop,#profile) > nav.home-bottom-nav > button.is-active{
    width:clamp(61px,9.5vw,70px)!important;height:clamp(55px,16vh,63px)!important;
    flex:0 0 clamp(55px,16vh,63px)!important;
  }
}
/* An older .screen:not(#home) selector carries ID-level specificity;
   the combined screen ID below deliberately overrides its active shrink. */
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button.is-active,
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button[aria-current="page"]{
  width:clamp(72px,9.2vw,84px)!important;
  height:clamp(62px,17.3vh,73px)!important;
  flex:0 0 clamp(62px,17.3vh,73px)!important;
  min-width:0!important;min-height:0!important;
  flex-direction:column!important;padding:1px!important;
}
@media (max-width:760px) and (orientation:landscape){
 :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button.is-active,
 :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button[aria-current="page"]{
  width:clamp(61px,9.5vw,70px)!important;
  height:clamp(55px,16vh,63px)!important;
  flex:0 0 clamp(55px,16vh,63px)!important;
 }
}

/* CASINOIR v0.48.58 — verified icon rails: v0.48.54 base, no v0.48.55 sizing. */
/* One baseline, five equal cells. No visual offsets for the last two utility actions. */
#home .home-utility-row {
  position:absolute!important;
  top:3px!important;
  right:max(5px, var(--safe-inline))!important;
  left:auto!important;
  width:max-content!important;
  height:clamp(62px, 18vh, 72px)!important;
  display:grid!important;
  grid-template-columns:repeat(5, clamp(40px, 5.15vw, 50px))!important;
  grid-template-rows:1fr!important;
  align-items:start!important;
  justify-content:end!important;
  gap:clamp(2px, .38vw, 4px)!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
}
#home .home-utility-row > .home-utility-action.home-utility-action--fullart,
#home #homeNoticeButton,
#home #homeSystemMenuButton {
  position:relative!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  transform:none!important;translate:none!important;margin:0!important;
  box-sizing:border-box!important;
  width:100%!important;height:100%!important;min-height:0!important;
  align-self:start!important;justify-self:stretch!important;
  padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
#home .home-utility-row > .home-utility-action.home-utility-action--fullart > .home-util-icon--art {
  width:100%!important;height:100%!important;min-height:0!important;
  display:block!important;overflow:visible!important;
}
#home .home-utility-row > .home-utility-action.home-utility-action--fullart > .home-util-icon--art > img {
  display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center center!important;
}
/* HOME side: identical frames, identical artwork inset, labels still live and legible. */
#home nav.home-bottom-nav.home-side-nav {
  position:absolute!important;
  left:auto!important;right:max(8px,var(--safe-inline))!important;
  top:clamp(80px,20vh,90px)!important;bottom:auto!important;
  box-sizing:border-box!important;
  width:clamp(136px,20.1vw,172px)!important;
  height:auto!important;
  display:grid!important;grid-template-columns:1fr!important;
  grid-template-rows:repeat(4,clamp(51px,13.7vh,56px))!important;
  grid-auto-rows:auto!important;
  row-gap:4px!important;
  padding:0!important;margin:0!important;overflow:visible!important;
}
#home nav.home-side-nav > button.home-side-nav__art-button,
#home nav.home-side-nav > button.home-side-nav__art-button.is-active {
  box-sizing:border-box!important;
  display:grid!important;grid-template-columns:clamp(42px,5.55vw,50px) minmax(0,1fr)!important;
  grid-template-rows:1fr!important;
  align-items:center!important;justify-items:center!important;
  width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;
  padding:1px 5px!important;margin:0!important;
  border-radius:13px!important;
  transform:none!important;translate:none!important;
}
#home nav.home-side-nav > button.home-side-nav__art-button > .nav-icon--art {
  display:block!important;grid-column:1!important;grid-row:1!important;
  justify-self:center!important;align-self:center!important;
  box-sizing:border-box!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;overflow:visible!important;
}
#home nav.home-side-nav > button.home-side-nav__art-button > .nav-icon--art img {
  display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center!important;
}
#home nav.home-side-nav > button.home-side-nav__art-button > strong {
  display:block!important;position:static!important;grid-column:2!important;grid-row:1!important;
  justify-self:center!important;align-self:center!important;
  width:auto!important;height:auto!important;overflow:visible!important;clip-path:none!important;
  margin:0!important;padding:0!important;transform:none!important;
  font-size:clamp(9px,1.1vw,12px)!important;line-height:1.1!important;
  white-space:nowrap!important;
}
#home nav.home-side-nav > button.home-side-nav__art-button::after {display:none!important;}
/* CTA remains beneath the four-item rail, without touching it. */
#home .home-game-zone {bottom:5.2%!important;}

/* Secondary screens: dedicated compact right rail below top bar, outside content. */
:is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav,
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav {
  position:absolute!important;
  top:clamp(62px,16vh,67px)!important;
  right:max(7px,var(--safe-inline))!important;
  left:auto!important;bottom:auto!important;
  width:clamp(52px,7.0vw,58px)!important;
  height:auto!important;min-height:0!important;
  box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;
  align-items:stretch!important;justify-content:flex-start!important;
  gap:4px!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  overflow:visible!important;
}
:is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button,
:is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button.is-active,
:is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button[aria-current="page"],
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button,
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button.is-active,
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button[aria-current="page"] {
  position:relative!important;
  box-sizing:border-box!important;
  flex:0 0 clamp(46px,12.2vh,50px)!important;
  width:100%!important;min-width:0!important;
  height:clamp(46px,12.2vh,50px)!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  gap:0!important;padding:1px!important;margin:0!important;
  border-radius:10px!important;
  transform:none!important;
  overflow:hidden!important;
}
:is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button > .nav-icon--art,
:is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button.is-active > .nav-icon--art {
  box-sizing:border-box!important;display:block!important;
  flex:1 1 auto!important;min-height:0!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;overflow:visible!important;
}
:is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button > .nav-icon--art > img {
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;
}
/* Labels are drawn inside the supplied WebP. Hide duplicate text without removing accessibility name. */
:is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button > strong,
:is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button.is-active > strong {
  position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;
}
@media (max-width:760px) and (orientation:landscape) {
  #home .home-utility-row {
    top:2px!important;height:clamp(59px,17.5vh,66px)!important;
    grid-template-columns:repeat(5,clamp(35px,5.4vw,41px))!important;
    gap:2px!important;
  }
  #home nav.home-bottom-nav.home-side-nav {
    top:clamp(69px,18.4vh,76px)!important;
    width:clamp(128px,20.5vw,150px)!important;
    grid-template-rows:repeat(4,clamp(49px,13.5vh,53px))!important;
    gap:3px!important;
  }
  #home nav.home-side-nav > button.home-side-nav__art-button,
  #home nav.home-side-nav > button.home-side-nav__art-button.is-active {
    grid-template-columns:clamp(38px,5.8vw,43px) minmax(0,1fr)!important;
    padding:1px 3px!important;
  }
  #home nav.home-side-nav > button.home-side-nav__art-button > strong {font-size:9px!important;}
  :is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav,
  :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav {
    top:clamp(56px,15.3vh,62px)!important;
    right:max(5px,var(--safe-inline))!important;
    width:52px!important;gap:3px!important;
  }
  :is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button,
  :is(#floor,#character,#collection,#shop,#profile).screen > nav.home-bottom-nav > button.is-active,
  :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button,
  :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button.is-active {
    height:46px!important;flex:0 0 46px!important;
  }
}
/* Explicitly cancel the legacy centering transform, which otherwise moves the new rail above the viewport. */
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav {
  transform:none!important;
  translate:none!important;
}
/* Reserve a true gap between each content frame and the navigation rail. */
#character .char-stage,
#collection .collection-stage,
#shop .shop-stage,
#profile .profile-stage {
  right:calc(max(7px,var(--safe-inline)) + 68px)!important;
  max-width:calc(100vw - 68px - max(7px,var(--safe-inline)))!important;
}
@media (max-width:760px) and (orientation:landscape) {
  #home nav.home-bottom-nav.home-side-nav{top:72px!important;}
}


/* CASINOIR v0.48.58 — equal geometry, live readable labels.
   HOME badges have a shared crop and a separate label baseline. */
#home .home-utility-row{
  display:grid!important;
  grid-template-columns:repeat(5, clamp(37px,5.15vw,45px))!important;
  grid-template-rows:1fr!important;
  align-items:stretch!important;
  gap:clamp(2px,.38vw,4px)!important;
  top:3px!important;
  right:max(5px,var(--safe-inline))!important;
  height:clamp(62px,18vh,72px)!important;
}
#home .home-utility-row > button.home-utility-action--fullart,
#home #homeNoticeButton,
#home #homeSystemMenuButton{
  box-sizing:border-box!important;
  position:relative!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  transform:none!important;translate:none!important;
  margin:0!important;padding:2px 1px 3px!important;
  width:100%!important;height:100%!important;min-height:0!important;
  align-self:stretch!important;justify-self:stretch!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,1fr) 13px!important;
  align-items:center!important;justify-items:center!important;
  gap:0!important;
  border-radius:9px!important;
  border:1px solid rgba(215,178,107,.35)!important;
  background:linear-gradient(180deg,rgba(19,14,16,.86),rgba(10,9,11,.78))!important;
  overflow:hidden!important;
}
#home .home-utility-row > button.home-utility-action--fullart > span.home-util-icon--art,
#home #homeNoticeButton > span.home-util-icon--art,
#home #homeSystemMenuButton > span.home-util-icon--art{
  display:block!important;
  box-sizing:border-box!important;
  grid-row:1!important;grid-column:1!important;
  width:100%!important;height:100%!important;min-height:0!important;
  overflow:hidden!important;
}
#home .home-utility-row > button.home-utility-action--fullart > span.home-util-icon--art img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center center!important;
}
#home .home-utility-row > button.home-utility-action--fullart > strong{
  display:block!important;position:static!important;
  grid-row:2!important;grid-column:1!important;
  box-sizing:border-box!important;width:auto!important;height:auto!important;
  padding:0!important;margin:0!important;overflow:visible!important;
  clip-path:none!important;white-space:nowrap!important;
  font:800 clamp(7px,.94vw,9px)/12px system-ui,"Hiragino Kaku Gothic ProN",sans-serif!important;
  letter-spacing:-.3px!important;color:#fff0c8!important;
  text-shadow:0 1px 2px #000!important;
  align-self:center!important;justify-self:center!important;
}
#home .home-utility-row > button.home-utility-action--fullart > em{
  position:absolute!important;z-index:3!important;
  top:-1px!important;right:-1px!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home .home-utility-row{
    grid-template-columns:repeat(5,clamp(35px,5.4vw,41px))!important;
    height:clamp(59px,17.5vh,66px)!important;gap:2px!important;top:2px!important;
  }
  #home .home-utility-row > button.home-utility-action--fullart{
    grid-template-rows:minmax(0,1fr) 12px!important;
  }
  #home .home-utility-row > button.home-utility-action--fullart > strong{
    font-size:7px!important;line-height:11px!important;
  }
}

/* Secondary navigation retains the original crest and adds an independent,
   high-contrast Japanese text label, with a content-safe right gutter. */
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav{
  width:clamp(68px,8.55vw,74px)!important;
  right:max(5px,var(--safe-inline))!important;
  top:clamp(56px,15.5vh,64px)!important;
  bottom:auto!important;
  gap:3px!important;
  display:flex!important;flex-direction:column!important;
  align-items:stretch!important;justify-content:flex-start!important;
  overflow:visible!important;
}
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button,
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button.is-active,
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button[aria-current="page"]{
  box-sizing:border-box!important;
  flex:0 0 clamp(50px,13.2vh,54px)!important;
  width:100%!important;height:clamp(50px,13.2vh,54px)!important;
  min-height:0!important;min-width:0!important;
  display:grid!important;grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,1fr) 14px!important;
  align-items:center!important;justify-items:center!important;
  gap:0!important;padding:2px 1px 1px!important;
  border:1px solid rgba(219,180,104,.42)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,rgba(22,16,20,.94),rgba(7,11,13,.93))!important;
  overflow:hidden!important;
}
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button > .nav-icon--art{
  grid-column:1!important;grid-row:1!important;
  display:block!important;box-sizing:border-box!important;
  width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;
  max-width:none!important;max-height:none!important;
  overflow:hidden!important;
}
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button > .nav-icon--art img{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;
}
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button > strong,
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button.is-active > strong,
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button[aria-current="page"] > strong{
  grid-column:1!important;grid-row:2!important;
  display:block!important;position:static!important;
  box-sizing:border-box!important;width:auto!important;height:auto!important;
  overflow:visible!important;clip-path:none!important;
  margin:0!important;padding:0!important;
  font:800 clamp(9px,1.17vw,11px)/13px system-ui,"Hiragino Kaku Gothic ProN",sans-serif!important;
  letter-spacing:-.35px!important;color:#fff1cd!important;
  text-shadow:0 1px 3px #000!important;
  white-space:nowrap!important;align-self:center!important;justify-self:center!important;
}
:is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button.is-active{
  border-color:#f2d58b!important;
  background:linear-gradient(180deg,rgba(87,63,29,.95),rgba(25,20,20,.94))!important;
}
#floor .grand-floor-stage{
  padding-right:calc(max(.8%,var(--safe-inline)) + 84px)!important;
}
#character .char-stage,#collection .collection-stage,#shop .shop-stage,#profile .profile-stage{
  right:calc(max(5px,var(--safe-inline)) + 84px)!important;
  max-width:calc(100vw - 84px - max(5px,var(--safe-inline)))!important;
}
@media (max-width:760px) and (orientation:landscape){
  :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav{
    width:67px!important;top:56px!important;gap:3px!important;
  }
  :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button,
  :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button.is-active,
  :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button[aria-current="page"]{
    height:49px!important;flex:0 0 49px!important;grid-template-rows:minmax(0,1fr) 13px!important;
  }
  :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button > strong,
  :is(#floor,#character,#collection,#shop,#profile).screen:not(#home) > nav.home-bottom-nav > button.is-active > strong{
    font-size:9px!important;line-height:12px!important;
  }
  #floor .grand-floor-stage{padding-right:calc(max(.8%,var(--safe-inline)) + 75px)!important;}
  #character .char-stage,#collection .collection-stage,#shop .shop-stage,#profile .profile-stage{
    right:calc(max(5px,var(--safe-inline)) + 76px)!important;
    max-width:calc(100vw - 76px - max(5px,var(--safe-inline)))!important;
  }
}
/* Final specificity lock: same display, inset and text row on ALL five IDs.
   The inherited .home-utility-action--fullart flex rule otherwise defeats
   the grid for the first three, while notice/settings become grid. */
#home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton,#homeNoticeButton,#homeSystemMenuButton).home-utility-action--fullart{
  display:grid!important;
  box-sizing:border-box!important;
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,1fr) 13px!important;
  padding:2px 1px 3px!important;
  align-items:center!important;justify-items:center!important;
  align-self:stretch!important;justify-self:stretch!important;
  gap:0!important;
}
#home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton,#homeNoticeButton,#homeSystemMenuButton).home-utility-action--fullart > strong{
  font-size:clamp(7px,.88vw,8px)!important;
  letter-spacing:-.4px!important;
  line-height:12px!important;
}
@media (max-width:760px) and (orientation:landscape){
 #home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton,#homeNoticeButton,#homeSystemMenuButton).home-utility-action--fullart{
   grid-template-rows:minmax(0,1fr) 12px!important;
 }
 #home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton,#homeNoticeButton,#homeSystemMenuButton).home-utility-action--fullart > strong{
   font-size:7px!important;line-height:11px!important;
 }
}
/* The five-character PRESENT label needs horizontal glyph correction on narrow phones. */
#home #homeGiftButton.home-utility-action--fullart > strong{
  transform:scaleX(.78)!important;
  transform-origin:center center!important;
}


/* CASINOIR v0.48.58 — top three HOME utility emblems show full lower plaque */
#home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton).home-utility-action--fullart > span.home-util-icon--art{
  padding:0 0 3px 0!important;
}
#home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton).home-utility-action--fullart > span.home-util-icon--art > img{
  width:96%!important;
  height:96%!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center top!important;
}
@media (max-width:760px) and (orientation:landscape){
  #home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton).home-utility-action--fullart > span.home-util-icon--art{
    padding:0 0 4px 0!important;
  }
  #home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton).home-utility-action--fullart > span.home-util-icon--art > img{
    width:95%!important;
    height:95%!important;
  }
}


/* CASINOIR v0.48.60 — full original HOME top icons (including built-in name plaques).
   The v0.48.58 -emblem assets had the plaque removed by file cropping; these are never
   used in HOME. Strong remains in DOM for accessibility, but it has no layout area. */
#home .home-utility-row {
  display:grid!important;
  grid-template-columns:repeat(5, clamp(35px,5.15vw,45px))!important;
  grid-template-rows:1fr!important;
  align-items:stretch!important;
  gap:clamp(2px,.38vw,4px)!important;
  top:3px!important;
  right:max(5px,var(--safe-inline))!important;
  height:clamp(62px,18vh,72px)!important;
}
#home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton,#homeNoticeButton,#homeSystemMenuButton).home-utility-action--fullart {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;
  place-items:center!important;
  position:relative!important;
  width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  padding:1px!important;margin:0!important;
  overflow:hidden!important;
  transform:none!important;
}
#home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton,#homeNoticeButton,#homeSystemMenuButton).home-utility-action--fullart > span.home-util-icon--art {
  box-sizing:border-box!important;
  grid-column:1!important;grid-row:1!important;
  display:grid!important;place-items:center!important;
  width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  padding:0!important;margin:0!important;overflow:visible!important;
}
#home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton,#homeNoticeButton,#homeSystemMenuButton).home-utility-action--fullart > span.home-util-icon--art > img {
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;
  padding:0!important;margin:0!important;
  transform:none!important;
}
#home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton,#homeNoticeButton,#homeSystemMenuButton).home-utility-action--fullart > strong {
  position:absolute!important;
  width:1px!important;height:1px!important;
  min-width:0!important;min-height:0!important;
  padding:0!important;margin:0!important;
  overflow:hidden!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;
  transform:none!important;
}
#home :is(#homeTodayButton,#homeSeasonButton,#homeGiftButton,#homeNoticeButton,#homeSystemMenuButton).home-utility-action--fullart > em {
  position:absolute!important;z-index:3!important;top:-1px!important;right:-1px!important;
}
@media (max-width:760px) and (orientation:landscape) {
  #home .home-utility-row {
    grid-template-columns:repeat(5,clamp(35px,5.4vw,41px))!important;
    height:clamp(59px,17.5vh,66px)!important;
    gap:2px!important;top:2px!important;
  }
}

/* v0.48.60: optical alignment is baked into the five WebP assets.
   Keep a small viewport-safe inset at the top and right even when the root UI
   applies an inherited viewport transform on wide landscape displays. */
#home .home-utility-row{
  top:clamp(4px,.8vh,7px)!important;
  right:max(8px,var(--safe-inline))!important;
}

/* v0.48.61: online lobby only. Existing HOME/icon/game styles above are untouched. */
#floor .grand-featured-actions:has(.mp-floor-entry){
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;width:min(52%,450px)!important;right:4%!important;
  align-items:stretch!important;
}
#floor .grand-featured-actions .grand-take-seat{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  height:clamp(39px,10.8vh,48px)!important;padding:0 5px 0 9px!important;
  font-size:clamp(10px,1.18vw,13px)!important;letter-spacing:0!important;
  white-space:nowrap!important;
}
#floor .grand-featured-actions .grand-take-seat b{
  width:22px!important;height:22px!important;font-size:14px!important;
}
#floor .grand-featured-actions .mp-floor-entry{
  background:linear-gradient(180deg,#6a315b,#33152f)!important;
  border-color:#edcb8e!important;
}
#floor .grand-featured-actions .mp-floor-entry span::after{content:'MULTIPLAYER'!important;}
.mp-modal[hidden],.mp-current[hidden]{display:none!important;}
.mp-modal{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;
  padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));
  background:rgba(3,4,8,.87);backdrop-filter:blur(8px);color:#f9e8c2;
}
.mp-modal,.mp-modal *{box-sizing:border-box;}
.mp-panel{width:min(820px,100%);max-height:100%;display:flex;flex-direction:column;
  border:1px solid #d6b76c;border-radius:16px;overflow:hidden;
  background:linear-gradient(140deg,#2a1728 0%,#0b1015 53%,#111018 100%);
  box-shadow:0 18px 60px #000c,inset 0 0 30px #a8772630;
}
.mp-head{display:flex;align-items:center;justify-content:space-between;padding:10px 15px;
  border-bottom:1px solid #ac824a77;gap:14px;flex:0 0 auto;}
.mp-head small{color:#edc874;font-size:10px;letter-spacing:.12em;}
.mp-head h2{font-size:clamp(17px,2vw,24px);margin:0;color:#ffeba9;}
.mp-head p{font-size:11px;margin:1px 0 0;color:#f2d2a4;}
.mp-head p[data-state=online]{color:#86eabf;}
.mp-head p[data-state=offline]{color:#f0a2a2;}
.mp-close{border:1px solid #b68b53;background:#391c26;color:#ffe7b0;
  border-radius:50%;font-size:24px;width:39px;height:39px;flex:0 0 39px;cursor:pointer;}
.mp-columns{min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;padding:10px;align-content:start;}
.mp-section{background:#0c151dcc;border:1px solid #aa84465c;border-radius:11px;
  padding:9px;min-width:0;display:flex;flex-direction:column;gap:7px;}
.mp-section h3{font-size:clamp(12px,1.5vw,15px);margin:0;color:#ecd092;}
.mp-section label{font-size:10px;color:#ddc6a1;}
.mp-section input{height:34px;width:100%;border-radius:7px;padding:0 9px;border:1px solid #937247;
  background:#10131a;color:#fff3dc;font-size:13px;min-width:0;}
.mp-section button{border:1px solid #bc9758;border-radius:7px;background:#47301d;color:#fff1c7;
  padding:8px;font-size:clamp(10px,1.2vw,12px);font-weight:700;cursor:pointer;min-height:32px;}
.mp-section button:disabled{opacity:.43;cursor:not-allowed;}
.mp-section button:focus-visible,.mp-close:focus-visible{outline:2px solid #fff;outline-offset:1px;}
.mp-section > button:not(:disabled){background:linear-gradient(#6b4b28,#432c20);}
.mp-inline{display:flex;align-items:center;gap:6px;min-width:0;}
.mp-inline > input,.mp-inline > strong{flex:1 1 auto;min-width:0;}
.mp-inline > button{flex:0 0 auto;}
.mp-section-title{display:flex;justify-content:space-between;align-items:center;}
.mp-rooms,.mp-seats{list-style:none;margin:0;padding:0;max-height:105px;overflow:auto;}
.mp-public-row,.mp-seat{display:flex;gap:8px;align-items:center;justify-content:space-between;
  border-bottom:1px solid #6c594a77;padding:5px 2px;min-height:28px;font-size:11px;}
.mp-public-info{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mp-rooms button{padding:3px 8px;min-height:27px;}
.mp-empty{font-size:11px;color:#bbaba3;padding:10px 2px;}
.mp-current{grid-column:1/-1;}
.mp-current .mp-seats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 10px;max-height:none;}
.mp-seat small{font-size:9px;color:#e5cb91;}
.mp-current p{margin:0;font-size:11px;}
.mp-footer{flex:0 0 auto;border-top:1px solid #ac824a77;padding:7px 12px;background:#090c11;}
.mp-footer p{font-size:11px;margin:0;color:#d1e7d9;}
.mp-footer p[data-kind=error]{color:#f0aaaa;}
.mp-footer small{display:block;font-size:9px;line-height:1.35;color:#d4bea0;}
@media(max-width:760px) and (orientation:landscape){
 #floor .grand-featured-actions:has(.mp-floor-entry){width:54%!important;gap:5px!important;right:3%!important;}
 #floor .grand-featured-actions .grand-take-seat{height:38px!important;font-size:10px!important;}
 #floor .grand-featured-actions .grand-take-seat b{width:19px!important;height:19px!important;}
 .mp-head{padding:5px 10px;}.mp-close{width:30px;height:30px;flex-basis:30px;font-size:19px;}
 .mp-columns{gap:7px;padding:7px;}.mp-section{padding:6px;gap:5px;}
 .mp-section input{height:29px;}.mp-section button{min-height:28px;padding:4px 6px;}
 .mp-head h2{font-size:16px;}.mp-head p{font-size:10px;}
 .mp-footer{padding:4px 8px;}.mp-footer small{font-size:8px;}
}

/* While seated, show the entire six-seat room instead of a partially scrolled form. */
.mp-columns:has(> .mp-current:not([hidden])) > .mp-section:not(.mp-current){display:none!important;}
.mp-columns:has(> .mp-current:not([hidden])) > .mp-current{grid-column:1/-1;}


/* CASINOIR v0.48.62: server-authoritative online play-money table. */
.mp-game[hidden],.mp-game-actions[hidden]{display:none!important;}
.mp-game{grid-column:1/-1;gap:6px!important;}
.mp-game-head{display:flex;align-items:center;gap:12px;font-size:11px;color:#f5dea4;}
.mp-game-head strong{font-size:12px;color:#ffe4a6;}.mp-game-head span:last-child{margin-left:auto;}
.mp-game-board{display:flex;gap:4px;justify-content:center;padding:5px;border-radius:12px;
  background:radial-gradient(ellipse at center,#24654f,#103b35 72%,#071d20);border:1px solid #c19a56;}
.mp-card{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  width:clamp(26px,4vw,37px);height:clamp(35px,5vw,46px);border:1px solid #cbbfa8;border-radius:5px;
  background:#fff6e5;color:#17141a;font:800 clamp(10px,1.5vw,14px)/1 system-ui;box-shadow:0 2px 3px #0007;}
.mp-card-red{color:#be173a;}.mp-card-back{background:repeating-linear-gradient(45deg,#422733,#422733 3px,#9c6c43 3px,#9c6c43 5px);color:#f5d99f;border-color:#d8a963;}
.mp-game-seats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;}
.mp-game-seat{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;
  align-items:center;column-gap:4px;row-gap:3px;min-width:0;padding:5px;border:1px solid #75583d;border-radius:8px;background:#0c1f25;}
.mp-game-seat.is-you{border-color:#e0b854;}.mp-game-seat.is-turn{box-shadow:inset 0 0 0 1px #7be8c7;}
.mp-game-player{min-width:0;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:800;}
.mp-game-hole{display:flex;gap:3px;grid-column:2;grid-row:1 / span 3;}.mp-game-hole .mp-card{width:clamp(21px,3vw,30px);height:clamp(27px,3.6vw,37px);font-size:10px;}
.mp-game-stack{font-size:9px;color:#e9c989;}.mp-game-seat small{font-size:9px;color:#b2dccc;}
.mp-game-actions{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;
  border-top:1px solid #8c694a;padding-top:6px;}
.mp-game-actions span{font-size:10px;color:#fbe2a4;}.mp-game-actions button{min-height:30px;padding:4px 9px;}
.mp-game-actions button:disabled,.mp-game-actions input:disabled{opacity:.4;}
.mp-game-actions input{width:70px;max-width:70px;height:30px;font-size:12px;}
.mp-game-result{font-size:10px;color:#e6d3ac;margin:0!important;}
.mp-current:has(+ .mp-game:not([hidden])) .mp-seats{max-height:60px;overflow:auto;}
.mp-current:has(+ .mp-game:not([hidden])){gap:3px!important;padding:5px 9px!important;}
.mp-columns:has(> .mp-current:not([hidden])) > .mp-game:not([hidden]){display:flex!important;grid-column:1/-1;}
@media(max-width:760px) and (orientation:landscape){
 .mp-game-seats{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;}
 .mp-game-seat{padding:3px;}.mp-game-board{padding:3px;}
 .mp-game-actions button{min-height:28px;padding:3px 6px;}
 .mp-card{width:27px;height:34px;}.mp-game-hole .mp-card{width:20px;height:26px;}
}

/* During live play prioritize cards, seats and controls over room-management chrome. */
.mp-is-playing .mp-current{display:none!important;}
.mp-is-playing .mp-head{padding:4px 10px;}
.mp-is-playing .mp-head small{display:none!important;}
.mp-is-playing .mp-head h2{font-size:15px!important;line-height:1.2;}
.mp-is-playing .mp-head p{font-size:9px!important;}
.mp-is-playing .mp-close{width:29px!important;height:29px!important;flex-basis:29px!important;font-size:19px!important;}
.mp-is-playing .mp-columns{padding:4px!important;gap:3px!important;}
.mp-is-playing .mp-game{padding:4px 7px!important;gap:4px!important;}
.mp-is-playing .mp-game-head{font-size:10px!important;gap:6px!important;}
.mp-is-playing .mp-game-head strong{font-size:10px!important;}
.mp-is-playing .mp-game-board{padding:3px!important;}
.mp-is-playing .mp-card{height:36px!important;width:29px!important;}
.mp-is-playing .mp-game-seats{gap:3px!important;}
.mp-is-playing .mp-game-seat{padding:3px 5px!important;row-gap:1px!important;}
.mp-is-playing .mp-game-player{font-size:10px!important;}
.mp-is-playing .mp-game-hole .mp-card{width:21px!important;height:27px!important;}
.mp-is-playing .mp-game-actions{gap:4px!important;padding-top:4px!important;}
.mp-is-playing .mp-game-actions button{min-height:29px!important;padding:3px 8px!important;}
.mp-is-playing .mp-game-result{font-size:9px!important;line-height:1.2!important;}
.mp-is-playing .mp-footer{padding:4px 8px!important;}
.mp-is-playing .mp-footer small{display:none!important;}
.mp-is-playing .mp-footer p{font-size:10px!important;}
@media(max-width:760px) and (orientation:landscape){
 .mp-is-playing .mp-head{padding:3px 8px!important;}
 .mp-is-playing .mp-head h2{font-size:14px!important;}
 .mp-is-playing .mp-game{padding:3px 5px!important;gap:3px!important;}
 .mp-is-playing .mp-card{height:31px!important;width:24px!important;}
 .mp-is-playing .mp-game-hole .mp-card{height:23px!important;width:19px!important;}
 .mp-is-playing .mp-game-seat{padding:2px 3px!important;}
 .mp-is-playing .mp-game-actions button{min-height:26px!important;padding:2px 5px!important;}
 .mp-is-playing .mp-game-actions input{height:27px!important;}
}

.mp-has-game .mp-current{display:none!important;}
.mp-game-next[hidden]{display:none!important;}
.mp-game-next{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;padding:4px 0 0;border-top:1px solid #785539;}
.mp-game-next button:disabled{opacity:.4;}

/* v0.48.63 ONLINE CHIPS: compact wallet strip; existing HOME art geometry unchanged. */
.mp-wallet-bar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:9px;
  min-height:24px;padding:3px 13px;background:linear-gradient(90deg,#1e241c,#142022);
  border-bottom:1px solid #ad875163;color:#f4deb4;font:800 clamp(9px,1.15vw,12px)/1.25 system-ui,sans-serif;}
.mp-wallet-bar strong{font:inherit;font-variant-numeric:tabular-nums;letter-spacing:.05em;}
.mp-wallet-bar button{border:1px solid #a8874f;border-radius:6px;padding:3px 8px;background:#3d2c1a;color:#ffe8af;font-size:10px;}
.mp-wallet-bar button[hidden]{display:none!important;}
.mp-is-playing .mp-wallet-bar{display:none!important;}
@media(max-width:760px) and (orientation:landscape){.mp-wallet-bar{min-height:19px;padding:2px 8px;font-size:9px;}}

/* v0.48.64: completed NIGHT MATCH must keep all next-hand controls visible
   rather than letting multi-line legal notes push the action row below view. */
.mp-has-game .mp-head{padding:4px 10px!important;}
.mp-has-game .mp-head small{display:none!important;}
.mp-has-game .mp-head h2{font-size:15px!important;line-height:1.2!important;}
.mp-has-game .mp-head p{font-size:9px!important;}
.mp-has-game .mp-close{width:29px!important;height:29px!important;flex-basis:29px!important;font-size:19px!important;}
.mp-has-game .mp-columns{padding:4px!important;gap:3px!important;}
.mp-has-game .mp-game{padding:4px 7px!important;gap:3px!important;}
.mp-has-game .mp-game-board{padding:3px!important;}
.mp-has-game .mp-card{height:34px!important;width:27px!important;}
.mp-has-game .mp-game-hole .mp-card{height:25px!important;width:20px!important;}
.mp-has-game .mp-game-seat{padding:3px 5px!important;row-gap:1px!important;}
.mp-has-game .mp-game-next{padding:3px 0 0!important;gap:4px!important;}
.mp-has-game .mp-game-next button{padding:3px 6px!important;min-height:26px!important;}
.mp-has-game .mp-footer{padding:3px 8px!important;}
.mp-has-game .mp-footer small{display:none!important;}
.mp-has-game .mp-footer p{font-size:10px!important;}
@media(max-width:760px) and (orientation:landscape){
 .mp-has-game .mp-game{padding:3px 5px!important;gap:2px!important;}
 .mp-has-game .mp-card{height:31px!important;width:24px!important;}
 .mp-has-game .mp-game-seat{padding:2px 3px!important;}
}

/* v0.48.67 — TABLE CAREER is compact during play; private report opens on demand. */
.mp-panel{position:relative!important;}
.mp-career-strip{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:7px;
  min-height:26px;padding:2px 10px;color:#e8d3a8;background:#18151b;border-bottom:1px solid #aa84465c;
  font:700 clamp(9px,1.2vw,11px)/1.3 system-ui,sans-serif;}
.mp-career-strip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mp-career-strip button,.mp-career-panel button{flex:0 0 auto;border:1px solid #a9824e;border-radius:6px;
  background:#3b2a20;color:#ffe0a4;font:700 10px/1.2 system-ui,sans-serif;min-height:22px;padding:3px 7px;}
.mp-career-panel[hidden]{display:none!important;}
.mp-career-panel{position:absolute;z-index:8;top:75px;right:9px;width:min(510px,calc(100% - 18px));
  max-height:calc(100% - 88px);overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;
  gap:7px;padding:10px;border:1px solid #caa36a;border-radius:10px;
  background:linear-gradient(160deg,#22202b,#10141a 70%);box-shadow:0 9px 32px #000c;color:#f5deb2;
  font:11px/1.45 system-ui,sans-serif;}
.mp-career-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.mp-career-panel-head strong{color:#ffe4a3;font-size:13px;letter-spacing:.06em;}
.mp-career-panel-head small{font-size:9px;font-weight:500;color:#c8ad83;}
.mp-career-panel p{margin:0;}
.mp-night-reports{display:grid;gap:6px;list-style:none;padding:0;margin:0;}
.mp-night-reports .mp-report-entry{display:grid;gap:2px;padding:7px;border:1px solid #9e7c4b88;
  border-radius:7px;background:#10181ee8;}
.mp-report-entry strong{font-size:12px;color:#ffe6b0;}
.mp-report-entry span{font-size:10px;color:#d6dce4;}
.mp-report-entry small,.mp-career-panel>small{font-size:9px;color:#d7c4a9;}
.mp-report-hands{border-top:1px solid #5f5245;margin-top:3px;padding-top:3px;}
.mp-report-hands summary{cursor:pointer;color:#e8c786;min-height:22px;}
.mp-report-hands p{font-size:10px;color:#cdd6db;padding:3px 0;}
.mp-report-empty{padding:9px;color:#bcb0a0;}
.mp-is-playing .mp-career-strip{display:none!important;}
.mp-is-playing .mp-career-panel{top:45px;max-height:calc(100% - 52px);}
@media(max-width:760px) and (orientation:landscape){
 .mp-career-strip{min-height:23px;padding:1px 7px;font-size:9px;}
 .mp-career-panel{top:62px;max-height:calc(100% - 69px);padding:6px;gap:5px;}
 .mp-career-panel-head strong{font-size:11px;}
}

/* v0.48.67 SOLO FIRST: retain the approved HOME 5-icon geometry and original art. */
#floor .grand-featured-actions:has(.solo-floor-entry){
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;width:min(52%,450px)!important;right:4%!important;align-items:stretch!important;
}
#floor .grand-featured-actions .solo-floor-entry{
  background:linear-gradient(180deg,#4c4432,#241e19)!important;border-color:#edcb8e!important;
}
#floor .grand-featured-actions .solo-floor-entry span::after{content:'LEARN SOLO'!important;}
@media(max-width:760px) and (orientation:landscape){
  #floor .grand-featured-actions:has(.solo-floor-entry){width:54%!important;gap:5px!important;right:3%!important;}
}

/* v0.48.68 SOLO FIRST / AI difficulty and local completed-session records */
#pokerRoom .solo-poker-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;}
#pokerRoom .solo-difficulty-control{display:flex;align-items:center;gap:4px;white-space:nowrap;min-width:0;}
#pokerRoom .solo-difficulty-control strong{color:#d5c398;font-size:10px;font-weight:650;margin-right:5px;white-space:nowrap;}
#pokerRoom .solo-difficulty-control button,#pokerRoom .solo-career-open{border:1px solid rgba(206,169,94,.35);border-radius:8px;background:rgba(14,20,25,.9);color:#eae0cc;min-height:28px;padding:3px 9px;font-size:10px;letter-spacing:.03em;white-space:nowrap;cursor:pointer;}
#pokerRoom .solo-difficulty-control button.is-selected{color:#13150f;background:#d9bf83;border-color:#e7d3a0;font-weight:700;}
#pokerRoom .solo-difficulty-control button:disabled{opacity:.78;cursor:not-allowed;}
#pokerRoom .solo-difficulty-control button:focus-visible,#pokerRoom .solo-career-open:focus-visible{outline:2px solid #f6e4ab;outline-offset:2px;}
#pokerRoom .solo-difficulty-status{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#b5ac98;flex:1;}
#pokerRoom .solo-career-open{margin-left:auto;border-color:rgba(216,183,106,.6);font-weight:650;flex-shrink:0;}
.solo-career-modal .solo-career-panel{width:min(790px,94vw);max-height:min(94vh,720px);overflow:auto;text-align:left;}
.solo-career-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.solo-career-row{min-width:0;border:1px solid rgba(211,176,103,.23);border-radius:12px;background:linear-gradient(150deg,rgba(69,59,38,.30),rgba(17,22,26,.96));padding:10px;}
.solo-career-row h3{margin:0 0 7px;color:#ead5a7;font-size:15px;}
.solo-career-row h3 small{color:#a69a82;font-size:9px;margin-left:4px;letter-spacing:.10em;}
.solo-career-row>div{display:grid;gap:5px;}
.solo-career-row span{display:flex;align-items:baseline;justify-content:space-between;gap:5px;font-size:10px;color:#bcb4a2;}
.solo-career-row b{font-size:11px;font-weight:650;color:#f3eee4;text-align:right;}
.solo-career-disclaimer{font-size:10px;line-height:1.45;color:#bfb7a6;margin:7px 0;}
.solo-career-panel > .flow-primary{margin:9px auto 0;display:block;min-height:32px;}
@media(max-width:800px), (max-height:400px){
  #pokerRoom .solo-poker-footer{gap:5px;}
  #pokerRoom .solo-difficulty-status{display:none;}
  #pokerRoom .solo-difficulty-control{gap:3px;}
  #pokerRoom .solo-difficulty-control strong{font-size:9px;margin-right:3px;}
  #pokerRoom .solo-difficulty-control button,#pokerRoom .solo-career-open{font-size:9px;min-height:26px;padding:3px 7px;}
  .solo-career-modal .solo-career-panel{padding:10px 13px;}
  .solo-career-rows{gap:6px;}
  .solo-career-row{padding:8px;}
  .solo-career-row span,.solo-career-row b{font-size:9px;}
}
@media(max-width:540px) and (orientation:portrait){
  .solo-career-rows{grid-template-columns:1fr;}
  #pokerRoom .solo-difficulty-control strong{display:none;}
}

/* v0.48.69 — aggregate and bounded recent SOLO history; no wallet / TP accounting. */
.solo-career-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0;}
.solo-career-overview>div{display:grid;gap:4px;min-width:0;padding:9px 10px;border:1px solid rgba(205,168,99,.30);border-radius:10px;background:rgba(16,24,29,.9);}
.solo-career-overview small{font-size:10px;color:#b9ad96;}
.solo-career-overview b{font-size:17px;color:#e9d5a2;font-variant-numeric:tabular-nums;}
.solo-career-history{border:1px solid rgba(209,177,115,.26);border-radius:11px;padding:10px;background:rgba(9,17,22,.65);margin-top:10px;}
.solo-career-history>header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px;}
.solo-career-history h3{margin:0;color:#e8d3a8;font-size:13px;}
.solo-career-history h3 small{font-size:9px;color:#a89f91;font-weight:400;}
.solo-career-history-filters{display:flex;gap:8px;flex-wrap:wrap;}
.solo-career-history-filters label{display:flex;align-items:center;gap:4px;color:#b6a992;font-size:10px;}
.solo-career-history-filters select{min-height:30px;max-width:135px;border:1px solid rgba(220,188,121,.5);border-radius:6px;color:#f3e6cd;background:#17212a;padding:3px 7px;font-size:11px;}
.solo-career-history-filters select:focus-visible{outline:2px solid #f6e4ab;outline-offset:2px;}
.solo-career-history-list{margin:0;padding:0;list-style:none;display:grid;gap:5px;max-height:190px;overflow:auto;}
.solo-career-history-list li{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;align-items:center;gap:8px;min-height:34px;padding:6px 8px;border-radius:7px;background:rgba(255,255,255,.04);font-size:10px;color:#ddd0b6;}
.solo-career-history-list li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.solo-career-history-list li strong{font-size:11px;color:#ead6aa;font-variant-numeric:tabular-nums;text-align:right;}
.solo-career-history-list li.is-empty{display:block;color:#bcb19d;padding:10px;}
@media(max-width:800px),(max-height:400px){
  .solo-career-overview{gap:4px;margin:6px 0;}
  .solo-career-overview>div{padding:6px;}
  .solo-career-overview b{font-size:13px;}
  .solo-career-history{padding:7px;margin-top:7px;}
  .solo-career-history-list{max-height:110px;}
  .solo-career-history-list li{padding:4px 6px;min-height:27px;font-size:9px;}
}
@media(max-width:540px) and (orientation:portrait){.solo-career-overview{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* CASINOIR v0.48.71 — solo Blackjack; scoped to avoid changes to approved Hold'em UI. */
#floor .bj-floor-launch{position:absolute;z-index:34;top:5%;right:4%;width:clamp(144px,21vw,238px);min-height:67px;padding:8px 11px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;cursor:pointer;border:1px solid rgba(246,206,129,.65);border-radius:12px;background:linear-gradient(120deg,rgba(58,22,57,.97),rgba(20,17,32,.95));color:#ffefd0;box-shadow:0 7px 25px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.14);}
#floor .bj-floor-launch>span{font-size:9px;font-weight:900;letter-spacing:.13em;color:#edc97b;}
#floor .bj-floor-launch strong{font:900 clamp(14px,1.9vw,22px)/1.1 Georgia,serif;letter-spacing:.04em;white-space:nowrap;}
#floor .bj-floor-launch strong b{color:#e5bb69;}
#floor .bj-floor-launch small{font-size:9px;color:#e6d5c3;white-space:nowrap;}
#floor .bj-floor-launch em{font:800 9px system-ui,sans-serif;color:#ffda86;font-style:normal;align-self:flex-end;}
#floor .bj-floor-launch:focus-visible{outline:3px solid #ffe7a3;outline-offset:3px;}
#blackjack.screen--blackjack{overflow:hidden;background:radial-gradient(ellipse at 52% 50%,#17513d 0,#0a2a24 42%,#071313 78%,#100e17 100%);color:#f3e6c9;font-family:system-ui,"Hiragino Kaku Gothic ProN",sans-serif;}
#blackjack .bj-topbar{position:absolute;inset:0 0 auto;height:clamp(49px,12.2vh,74px);z-index:4;display:flex;align-items:center;gap:clamp(6px,1.4vw,18px);padding:4px max(12px,2vw);border-bottom:1px solid rgba(229,188,101,.38);background:linear-gradient(180deg,rgba(7,17,21,.97),rgba(13,28,29,.93));}
#blackjack .bj-topbar button{min-width:65px;min-height:34px;border:1px solid #ad925a;border-radius:8px;background:#162922;color:#fff1cf;font-weight:800;cursor:pointer;}
#blackjack .bj-heading{margin-right:auto;white-space:nowrap;}.bj-heading small{display:block;color:#b9ad8b;letter-spacing:.14em;font-size:9px}.bj-heading h2{margin:0;font:900 clamp(17px,2.8vw,30px)/1 Georgia,serif;letter-spacing:.04em;color:#fff2c6}.bj-heading h2 span{color:#d5aa50}
#blackjack .bj-top-stat{display:flex;flex-direction:column;text-align:right;gap:2px;white-space:nowrap;}.bj-top-stat small{font-size:9px;color:#aa9877;letter-spacing:.05em}.bj-top-stat strong{font-size:clamp(17px,2.2vw,26px);line-height:1;color:#f3d681;font-variant-numeric:tabular-nums}.bj-top-stat b{font-size:11px;color:#d8cbaa}
#blackjack .bj-table-area{position:absolute;inset:clamp(49px,12.2vh,74px) 1.3% clamp(90px,23vh,136px);display:flex;flex-direction:column;justify-content:space-between;align-items:center;min-height:0;overflow:hidden;border:2px solid rgba(214,167,81,.54);border-radius:12px 12px 44% 44% / 12px 12px 18% 18%;background:radial-gradient(ellipse at 50% 38%,rgba(39,120,80,.48),rgba(7,67,48,.92) 74%);box-shadow:inset 0 0 0 5px rgba(3,17,14,.4),inset 0 0 35px rgba(0,0,0,.5);padding:7px 12px 5px;}
#blackjack .bj-table-arc{position:absolute;inset:7px 8px;border:1px solid rgba(241,210,128,.17);border-radius:11px 11px 44% 44%/11px 11px 18% 18%;pointer-events:none;}
#blackjack .bj-dealer-zone{text-align:center;z-index:1;display:grid;justify-items:center;gap:4px;min-height:0;}.bj-zone-title{display:flex;align-items:center;gap:12px;color:#eee3ca;font-size:10px;letter-spacing:.12em}.bj-zone-title span{color:#ffe5a1;font-weight:900;font-variant-numeric:tabular-nums}.bj-cards,.bj-hand-cards{display:flex;justify-content:center;align-items:center;gap:4px;min-height:0;}
#blackjack .bj-card{display:grid;place-items:center;width:clamp(28px,4.15vw,54px);height:clamp(38px,6vw,74px);border:1px solid #cab796;border-radius:5px;background:#f9f4e8;color:#14191c;font:900 clamp(13px,1.9vw,25px) Georgia,serif;box-shadow:0 2px 6px #0018;white-space:nowrap;}
#blackjack .bj-card--red{color:#b52837}#blackjack .bj-card--back{background:repeating-linear-gradient(45deg,#581c31,#581c31 5px,#d09d5a 6px,#2b2037 9px);border:3px solid #eee0bb;color:#fff4c7}
#blackjack .bj-table-rule{font:700 clamp(8px,1vw,12px) Georgia,serif;letter-spacing:.2em;color:rgba(232,209,146,.56);margin:0;text-align:center;white-space:nowrap;}
#blackjack .bj-player-zone{z-index:1;width:100%;display:flex;justify-content:center;align-items:flex-end;gap:12px;min-height:0;flex:1;overflow:hidden;}
#blackjack .bj-hand{min-width:0;max-width:48%;display:grid;justify-items:center;align-content:end;gap:4px;border:1px solid transparent;border-radius:12px;padding:5px 8px;position:relative;}.bj-hand.is-active{background:rgba(254,214,126,.08);border-color:rgba(243,207,117,.65)}
#blackjack .bj-hand-caption{display:flex;justify-content:center;align-items:center;gap:8px;white-space:nowrap;font-size:10px;color:#f1eadb}.bj-hand-caption b{color:#ffd783;font-size:14px}.bj-hand-caption small{font-size:9px;color:#b4e1c3}.bj-hand-verdict{font:900 10px system-ui,sans-serif;letter-spacing:.09em;color:#ffe18f;font-style:normal;}
#blackjack .bj-console{position:absolute;bottom:0;left:0;right:0;min-height:clamp(90px,23vh,136px);padding:5px max(12px,2vw);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(26px,auto) auto;gap:5px 12px;background:linear-gradient(180deg,#182326,#0b1318);border-top:1px solid #ae8349;z-index:3;align-items:center;}
#blackjack .bj-console-info{grid-column:1;min-width:0;display:flex;align-items:center;gap:10px;}.bj-console-info p{margin:0;color:#eadbb9;font-size:clamp(9px,1vw,12px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.bj-console-info details{position:relative;flex:none;color:#e8cc93;font-size:10px;cursor:pointer}.bj-console-info details[open]{z-index:9}.bj-console-info details p{position:absolute;bottom:100%;right:0;width:min(370px,80vw);padding:10px;background:#0b1c20;border:1px solid #caa45b;white-space:normal;line-height:1.6;box-shadow:0 6px 20px #0009;}
#blackjack .bj-console-actions{grid-column:1;grid-row:2;display:flex;align-items:center;justify-content:flex-start;gap:5px;min-width:0;}.bj-console-actions>span{font-size:10px;color:#dbbc78;font-weight:900}.bj-console-actions button{min-height:35px;min-width:43px;padding:4px 10px;border-radius:8px;border:1px solid rgba(221,183,111,.6);background:#243329;color:#f1e0b8;font-weight:900;font-size:clamp(10px,1.1vw,13px);cursor:pointer;white-space:nowrap;}.bj-console-actions button.is-active,.bj-console-actions button.bj-deal{background:linear-gradient(#c49f55,#785a2b);border-color:#ebca80;color:#1b160d}.bj-console-actions button:disabled{opacity:.35;cursor:not-allowed}.bj-console-actions button:focus-visible,#blackjack button:focus-visible{outline:2px solid #ffe4a1;outline-offset:2px}
#blackjack .bj-history{grid-column:2;grid-row:1/3;list-style:none;margin:0;padding:3px 6px;max-width:33vw;min-width:110px;color:#a9baa8;font-size:9px;line-height:1.5;border-left:1px solid rgba(219,187,114,.25);}.bj-history li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#blackjack [hidden]{display:none!important}
@media(max-width:760px) and (orientation:landscape){
 #floor .bj-floor-launch{top:5%;right:2.5%;width:150px;min-height:52px;padding:5px 7px;gap:1px}#floor .bj-floor-launch>span{font-size:7px}#floor .bj-floor-launch strong{font-size:14px}#floor .bj-floor-launch small,#floor .bj-floor-launch em{font-size:8px}
 #blackjack .bj-topbar{gap:8px;padding:3px 10px}#blackjack .bj-top-stat small{font-size:8px}#blackjack .bj-round{display:none}#blackjack .bj-heading h2{font-size:19px}
 #blackjack .bj-table-area{padding:4px 7px 2px}#blackjack .bj-dealer-zone{gap:2px}#blackjack .bj-card{width:30px;height:41px;font-size:14px}#blackjack .bj-hand{padding:2px 6px;gap:2px}#blackjack .bj-hand-caption{font-size:9px}.bj-hand-caption b{font-size:11px}#blackjack .bj-console{gap:4px;padding:3px 10px}#blackjack .bj-console-actions button{min-height:30px;min-width:35px;font-size:10px;padding:3px 6px}#blackjack .bj-history{font-size:8px;min-width:100px;max-width:29vw}#blackjack .bj-console-info p{font-size:9px}
}
@media(max-width:650px) and (orientation:landscape){#blackjack .bj-history{display:none}#blackjack .bj-console{grid-template-columns:1fr}#blackjack .bj-console-actions{justify-content:center}#blackjack .bj-table-rule{font-size:7px;letter-spacing:.08em}}
/* Existing floor artwork also uses .bj-card; neutralize those positional art rules only inside the new playable table. */
#blackjack .bj-card{position:relative;top:auto;right:auto;bottom:auto;left:auto;transform:none;padding:0;flex:0 0 auto;box-sizing:border-box;}
/* v0.48.71 — opt-in BJ coach and accessible first-play guide; card layout intact. */
#blackjack .bj-learn-toggle{flex:none;padding:4px 7px;min-height:26px;border:1px solid #ac8e55;border-radius:6px;background:#18362d;color:#ffebb7;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
#blackjack .bj-learn-toggle[aria-pressed="true"]{background:#c99f52;color:#19180e;border-color:#f5d48d}
#blackjack .bj-hint{border-color:#f3d47b;background:#614227;color:#fff1ba}
#blackjack .bj-coach{position:absolute;right:12px;bottom:calc(100% + 5px);width:min(348px,64vw);max-height:min(124px,36vh);overflow:auto;background:rgba(9,28,27,.97);color:#fff3da;padding:9px 29px 9px 11px;border:1px solid #e4bd73;border-radius:9px;box-shadow:0 6px 28px #000b;z-index:20}
#blackjack .bj-coach strong{display:block;color:#ffe096;font-size:13px}#blackjack .bj-coach p{margin:4px 0;font-size:11px;line-height:1.4;white-space:normal;overflow:visible}#blackjack .bj-coach small{display:block;color:#b4d6c1;font-size:9px;line-height:1.4}
#blackjack .bj-coach button{position:absolute;top:4px;right:5px;min-width:23px;min-height:23px;border:1px solid #a88953;border-radius:5px;background:#273e34;color:#fff2cc;cursor:pointer}
@media(max-width:760px) and (orientation:landscape){#blackjack .bj-console-info{gap:5px}#blackjack .bj-learn-toggle{font-size:9px;min-height:23px;padding:2px 5px}#blackjack .bj-coach{width:min(295px,61vw);max-height:105px}}
@media(max-width:540px) and (orientation:landscape){#blackjack .bj-console-info p{max-width:42vw}#blackjack .bj-coach{width:58vw}}

/* CASINOIR 0.48.76 — SOLO ROULETTE / table-first experience */
#roulette{background:radial-gradient(ellipse at 55% 35%,#285741 0,#102b23 50%,#080f12 100%);color:#f7e9c8;overflow:hidden;display:flex;flex-direction:column;padding:calc(8px + var(--safe-top)) calc(12px + var(--safe-right)) calc(7px + var(--safe-bottom)) calc(12px + var(--safe-left));gap:5px;font-family:inherit;min-width:0}
#roulette button{font:inherit;cursor:pointer;touch-action:manipulation;border:1px solid #9c8457;color:#f8ebce;background:#22372d;border-radius:6px;transition:background .15s,border-color .15s;line-height:1.2}
#roulette button:disabled{cursor:default;opacity:.45}
#roulette button:focus-visible{outline:2px solid #ffe29e;outline-offset:2px}
#roulette button.is-active{background:#b6914b;color:#15271e;border-color:#f9d988;font-weight:800}
#roulette .rt-header{display:flex;align-items:center;gap:12px;min-height:40px;flex:none;z-index:3}
#roulette .rt-back{min-width:61px;height:34px}
#roulette .rt-header h2{font-size:20px;letter-spacing:.14em;margin:0;color:#f5d28b;white-space:nowrap}
#roulette .rt-header h2 span{font-size:9px;letter-spacing:.04em;color:#a6d3b4}
#roulette .rt-header small{display:block;color:#c2c8b1;font-size:9px;letter-spacing:.08em}
#roulette .rt-stat{border:1px solid #796942;background:#172a22;border-radius:8px;padding:3px 11px;min-width:80px;text-align:right}
#roulette .rt-stat:first-of-type{margin-left:auto}
#roulette .rt-stat strong{display:block;font-size:19px;font-variant-numeric:tabular-nums;color:#ffe1a0}
#roulette .rt-main-layout{display:grid;grid-template-columns:minmax(175px,28%) minmax(0,1fr);flex:1;min-height:0;gap:9px}
#roulette .rt-wheel-area{border-radius:12px;border:1px solid #8a7445;min-height:0;background:radial-gradient(ellipse at center,#1b4030,#101e1a);display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;overflow:auto;scrollbar-width:thin}
#roulette .rt-variant{display:flex;gap:4px;justify-content:center;width:100%}
#roulette .rt-variant button{font-size:10px;padding:7px 5px;flex:1;white-space:nowrap}
#roulette .rt-zero-rule{display:flex;gap:4px;justify-content:center;width:100%}
#roulette .rt-zero-rule button{font-size:9px;padding:5px 4px;flex:1;white-space:nowrap}
#roulette .rt-wheel{width:min(100%,250px);aspect-ratio:1;flex-shrink:0;filter:drop-shadow(0 6px 9px #07130e)}
#roulette .rt-wheel svg{width:100%;height:100%;display:block}
#roulette .rt-last{text-align:center;font-size:10px;width:100%;line-height:1.25;min-height:41px}
#roulette .rt-last span{letter-spacing:.16em;color:#c5ac76}
#roulette #rouletteLastNumber{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;margin-left:9px;border-radius:50%;background:#1b2a25;font-size:17px;border:1px solid #ac9459;color:#fff}
#roulette #rouletteLastNumber[data-rt-color="red"]{background:#a12f35}#roulette #rouletteLastNumber[data-rt-color="green"]{background:#167d4e}#roulette #rouletteLastNumber[data-rt-color="black"]{background:#14171b}
#roulette #rouletteStatus{font-size:10px;margin:3px 0 0;color:#e5ddb9;min-height:18px}
#roulette .rt-recent{display:flex;gap:3px;flex-wrap:wrap;justify-content:center}
#roulette .rt-pocket{border:1px solid #987f52;border-radius:4px;font-size:10px;min-width:21px;text-align:center;padding:3px}
#roulette .rt-pocket-red,.rt-result-red{background:#852832}#roulette .rt-pocket-black,.rt-result-black{background:#171d22}#roulette .rt-pocket-green,.rt-result-green{background:#14744a}
#roulette .rt-play-area{display:flex;flex-direction:column;min-width:0;min-height:0;gap:5px}
#roulette .rt-bet-modes{display:flex;align-items:center;gap:4px;flex-wrap:wrap;flex-shrink:0}
#roulette .rt-bet-modes button{font-size:10px;padding:6px 7px;white-space:nowrap}
#roulette .rt-table-wrap{background:#0a382a;border:3px double #e0bc73;border-radius:9px;padding:7px 9px;overflow:auto;flex:1;min-height:100px;scrollbar-width:thin}
#roulette .rt-table{min-width:480px;display:flex;flex-direction:column;gap:5px}
#roulette .rt-layout{display:grid;grid-template-columns:38px minmax(0,1fr) 44px;gap:4px;min-height:104px}
#roulette .rt-zeros{display:flex;flex-direction:column;gap:3px}
#roulette .rt-zero{flex:1;min-height:42px;background:#166647;border:1px solid #d6c191;border-radius:2px;font-size:19px;font-weight:bold}
#roulette .rt-main{position:relative;min-width:0;display:flex;flex-direction:column;gap:2px}
#roulette .rt-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(3,minmax(28px,1fr));height:100%;gap:1px}
#roulette .rt-number{border-radius:0;min-width:0;min-height:26px;padding:2px 0;text-align:center;font-size:12px;font-weight:800;border-color:#b3a678}
#roulette .rt-number.rt-red{background:#a42a33}#roulette .rt-number.rt-black{background:#101d1a}
#roulette .rt-hotspots{pointer-events:none;position:absolute;inset:0;z-index:2}
#roulette .rt-hotspot{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:18px;height:18px;min-width:18px;border-radius:50%;padding:0;background:#d1ac60;border:1px solid #32220e;color:#17231c;font-size:12px;box-shadow:0 0 0 1px #164031}
#roulette .rt-hotspot.rt-hot-c{width:20px;height:20px;background:#f0d47a}
#roulette .rt-marker{display:grid;place-items:center;position:absolute;z-index:4;right:-4px;top:-5px;border-radius:50%;padding:1px 3px;min-width:18px;height:18px;background:#fff2d2;border:2px dashed #a52e37;color:#3d1821;font-size:9px;box-shadow:0 1px 3px #0009;font-variant-numeric:tabular-nums}
#roulette .rt-number,.rt-zero,.rt-outside,.rt-column,.rt-special-button,.rt-strip-button{position:relative}
#roulette .rt-covered:not(:disabled){box-shadow:inset 0 0 0 2px #f6e3a6}
#roulette .rt-strip-button{font-size:9px;padding:4px 1px;background:#284f3d}
#roulette .rt-street-strip{display:grid;grid-template-columns:repeat(12,1fr);gap:2px}
#roulette .rt-street-strip:has(button:nth-child(11):last-child){grid-template-columns:repeat(11,1fr)}
#roulette .rt-columns{display:flex;flex-direction:column;gap:2px}
#roulette .rt-column{flex:1;font-size:9px;background:#163e30;border-radius:2px;min-height:27px}
#roulette .rt-dozens{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-left:42px;margin-right:48px}
#roulette .rt-outside,.rt-outside-row button{min-height:27px;background:#163f30;font-size:11px}
#roulette .rt-outside-row{display:grid;grid-template-columns:repeat(6,1fr);gap:3px;margin-left:42px;margin-right:48px}
#roulette .rt-outside-row .rt-out-red{background:#983039}#roulette .rt-outside-row .rt-out-black{background:#15201d}
#roulette .rt-special{display:flex;gap:5px;flex-wrap:wrap}
#roulette .rt-special-button{font-size:10px;padding:5px 9px;background:#365640}
#roulette .rt-console{border:1px solid #8c7851;border-radius:7px;padding:5px 7px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:none;background:#101f1a}
#roulette .rt-denoms,.rt-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
#roulette .rt-denoms span{font-size:10px;color:#d0b67b;letter-spacing:.1em;margin-right:2px}
#roulette .rt-denoms button{border-radius:50%;height:32px;min-width:32px;padding:2px;font-size:12px;font-weight:800;background:#ead8b0;color:#162c23;border:3px dashed #98754c}
#roulette .rt-denoms button:nth-of-type(2){background:#e7a3a3}#roulette .rt-denoms button:nth-of-type(3){background:#78b6b8}#roulette .rt-denoms button:nth-of-type(4){background:#2e4d36;color:#f9eac5}
#roulette .rt-denoms button.is-active{outline:2px solid #fff3bf;outline-offset:2px}
#roulette .rt-actions{margin-left:auto}
#roulette .rt-actions button{font-size:10px;padding:7px 8px}
#roulette .rt-actions .rt-spin{background:linear-gradient(#dcb56c,#b28a46);color:#15271c;font-weight:900;border-color:#f4d996;min-width:124px}
#roulette .rt-bottom{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-height:0;max-height:68px;overflow:hidden;font-size:10px}
#roulette .rt-bottom>div{background:#0a2019;border:1px solid #4b644d;border-radius:5px;padding:3px 7px;overflow:auto}
#roulette .rt-bottom strong{font-size:9px;letter-spacing:.09em;color:#d8c38b}
#roulette .rt-bottom ol,#roulette .rt-bottom ul{margin:2px 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:4px}
#roulette .rt-bottom li{font-size:10px;padding:2px 4px;border-radius:3px}
#roulette .rt-footer{display:flex;justify-content:space-between;font-size:9px;flex:none;color:#b0bea8;gap:8px}
@media(max-width:920px) and (orientation:landscape){#roulette{gap:3px}#roulette .rt-header{min-height:32px}#roulette .rt-header h2{font-size:16px}#roulette .rt-header .rt-stat strong{font-size:15px}#roulette .rt-wheel-area{padding:4px;gap:2px}#roulette .rt-wheel{width:min(100%,135px)}#roulette .rt-variant button,#roulette .rt-zero-rule button{font-size:8px;padding:3px 2px}#roulette .rt-last{min-height:34px}#roulette .rt-bet-modes button{font-size:9px;padding:3px 5px}#roulette .rt-table-wrap{padding:4px 6px}#roulette .rt-layout{min-height:94px}#roulette .rt-number{min-height:22px;font-size:11px}#roulette .rt-console{padding:3px}#roulette .rt-denoms button{width:27px;height:27px;min-width:27px;font-size:10px}#roulette .rt-bottom{max-height:42px}#roulette .rt-footer{font-size:8px}}
@media(orientation:portrait){#roulette{overflow:auto}#roulette .rt-main-layout{grid-template-columns:1fr;overflow:auto}#roulette .rt-wheel-area{min-height:175px;max-height:210px;display:grid;grid-template-columns:1fr 140px 1fr;align-items:center;gap:6px}#roulette .rt-variant{flex-direction:column}#roulette .rt-wheel{width:140px}#roulette .rt-recent{display:none}#roulette .rt-play-area{min-height:370px}#roulette .rt-table-wrap{min-height:180px}#roulette .rt-bottom{max-height:65px}#roulette .rt-header{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){#roulette *{transition:none!important;animation:none!important}}
#floor .rt-floor-launch{top:31%;right:4%;background:linear-gradient(125deg,rgba(25,74,50,.98),rgba(11,29,27,.98));border-color:rgba(219,190,119,.85)}
#floor .rt-floor-launch strong{font-size:clamp(14px,1.7vw,20px)}
@media(max-width:920px) and (orientation:landscape){#floor .rt-floor-launch{top:32%;right:2.5%;width:150px;min-height:52px;padding:5px 7px;gap:1px}#floor .rt-floor-launch strong{font-size:13px}#floor .rt-floor-launch small,#floor .rt-floor-launch em{font-size:8px}}
@keyframes roulette-wheel-spin{from{transform:rotate(0deg)}to{transform:rotate(1080deg)}}
#roulette .rt-wheel.is-spinning svg{animation:roulette-wheel-spin 1.55s cubic-bezier(.25,.05,.22,1) both}

/* CASINOIR v0.48.76 — SOLO PUNTO BANCO, independent table and roads. */
#floor .ba-floor-launch{top:55%;right:4%;background:linear-gradient(130deg,#29344e,#0b1c28);border-color:#d7ad67;z-index:35}
#floor .ba-floor-launch strong{font-size:clamp(14px,1.7vw,20px)}
#baccarat{background:radial-gradient(ellipse at 32% 34%,#234539,#071716 75%);color:#fbeace;display:flex;flex-direction:column;gap:7px;overflow:hidden;padding:calc(7px + var(--safe-top)) calc(12px + var(--safe-right)) calc(7px + var(--safe-bottom)) calc(12px + var(--safe-left));font-family:inherit}
#baccarat button{font:inherit;color:#f3e4be;background:#243b33;border:1px solid #a88b55;border-radius:7px;cursor:pointer;touch-action:manipulation;padding:6px 10px}
#baccarat button:disabled{opacity:.4;cursor:default}#baccarat button:focus-visible{outline:3px solid #ffda86;outline-offset:2px}#baccarat button.is-active{background:#ceaa64;color:#142b22;font-weight:900}
#baccarat .ba-header{display:flex;align-items:center;gap:10px;flex:none;min-height:38px}#baccarat .ba-header button{min-height:34px}#baccarat .ba-title small{font-size:9px;color:#d7bf8c;letter-spacing:.12em}#baccarat .ba-title h2{font:800 clamp(17px,2.4vw,24px) Georgia,serif;margin:0;letter-spacing:.1em;color:#efca83;white-space:nowrap}#baccarat .ba-title h2 span{color:#96c8af}#baccarat .ba-stat{padding:2px 10px;border-radius:7px;border:1px solid #796c4c;text-align:right;background:#122821;min-width:80px}#baccarat .ba-stat:first-of-type{margin-left:auto}#baccarat .ba-stat small{display:block;font-size:9px;color:#d1b97e;white-space:nowrap}#baccarat .ba-stat strong{font-size:18px;font-variant-numeric:tabular-nums;color:#f6dc98}
#baccarat .ba-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);flex:1;min-height:0;gap:10px}#baccarat .ba-table{min-height:0;overflow:auto;background:radial-gradient(ellipse at center,#196347,#0b3228 68%);border:5px double #b5965b;border-radius:100px 100px 20px 20px/40px 40px 20px 20px;box-shadow:inset 0 0 30px #02170b;display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 16px 8px}#baccarat .ba-table-top{font-size:9px;letter-spacing:.1em;color:#efd99d;display:flex;gap:12px;justify-content:space-between;width:100%}#baccarat .ba-hands{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;flex:1;align-items:center;min-height:80px}#baccarat .ba-hand{text-align:center;min-width:0}#baccarat .ba-hand>div:first-child{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:5px}#baccarat .ba-hand b{font-size:12px;letter-spacing:.17em}#baccarat .ba-player b{color:#b7d9ff}#baccarat .ba-banker b{color:#ffb4a3}#baccarat .ba-hand strong{border:1px solid #d2b778;border-radius:50%;height:26px;min-width:26px;display:grid;place-items:center;background:#132a23;color:#f4df9e;font-size:17px}#baccarat .ba-cards{display:flex;gap:5px;justify-content:center;min-height:67px}#baccarat .ba-card{background:#fcf8ed;color:#1d2530;border-radius:5px;border:1px solid #d0c0a4;box-shadow:1px 2px 3px #0008;width:clamp(32px,5vw,49px);height:clamp(47px,7vw,65px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:4px;font:800 16px Georgia,serif}#baccarat .ba-card small{align-self:center;font-size:20px}#baccarat .ba-card-red{color:#a8232e}#baccarat .ba-no-cards{color:#b6c7ae}#baccarat .ba-result{font:800 15px Georgia,serif;letter-spacing:.09em;color:#efd18d;text-align:center;min-height:20px}#baccarat .ba-result[data-winner="player"]{color:#b8d9ff}#baccarat .ba-result[data-winner="banker"]{color:#ffbba9}#baccarat .ba-result[data-winner="tie"]{color:#b3e8bd}
#baccarat .ba-spots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:100%}#baccarat .ba-spot{min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;position:relative;border-radius:40px!important;background:#102f36!important;border:2px solid #b8c9cf!important}#baccarat .ba-spot-banker{background:#522d2d!important;border-color:#d79a90!important}#baccarat .ba-spot-tie{background:#314824!important;border-color:#a0c78c!important}#baccarat .ba-spot-player,#baccarat .ba-spot-banker,#baccarat .ba-spot-tie{grid-column:span 2}#baccarat .ba-pair{grid-column:span 3;background:#263e35!important;border-color:#ba9b6c!important;min-height:36px}#baccarat .ba-spot small{font-size:9px;color:#eed39c}#baccarat .ba-spot strong{font-size:12px;letter-spacing:.08em}#baccarat .ba-spot em{font:800 10px system-ui;color:#fff1b5}#baccarat .ba-spot.is-bet{box-shadow:inset 0 0 0 2px #ffe0a4,0 0 10px #efcd7b6b}
#baccarat .ba-status{font-size:11px;min-height:20px;text-align:center;margin:0;color:#f1d6a4;line-height:1.35}#baccarat .ba-console{background:linear-gradient(160deg,#111f1b,#142d24);border:1px solid #867448;border-radius:12px;min-height:0;display:flex;flex-direction:column;gap:6px;padding:8px;overflow:auto}#baccarat .ba-chips,#baccarat .ba-actions,#baccarat .ba-shoe-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;flex:none}#baccarat .ba-chips span{font-size:9px;color:#dfc389;letter-spacing:.1em}#baccarat .ba-chips button{width:34px;height:34px;border-radius:50%;border:3px dashed #9e7749;background:#f0dfc3;color:#182a21;font-size:11px;font-weight:900;padding:0}#baccarat .ba-chips button:nth-of-type(2){background:#edb9bd}#baccarat .ba-chips button:nth-of-type(3){background:#8bc3b4}#baccarat .ba-chips button:nth-of-type(4){background:#33464f;color:#fff0cb}#baccarat .ba-chips button.is-active{outline:2px solid #ffe5ae;outline-offset:1px}#baccarat .ba-actions button,#baccarat .ba-shoe-actions button{font-size:10px;padding:6px 8px}#baccarat .ba-actions .ba-gold{background:linear-gradient(#e8c57a,#9a7339);color:#10241d;font-weight:900;border-color:#f1da9a}#baccarat .ba-roads{display:grid;grid-template-columns:1fr 1fr;gap:6px;min-height:70px;flex:1}#baccarat .ba-roads>div{background:#071c19;border:1px solid #547360;border-radius:6px;padding:5px;min-width:0;overflow:auto}#baccarat .ba-roads b,#baccarat .ba-history>b{display:block;color:#dec58a;font-size:10px;white-space:nowrap}#baccarat .ba-roads b small{color:#b6bdb2;font-size:8px}#baccarat .ba-road-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(6,19px);grid-auto-columns:19px;gap:2px;overflow:auto;margin-top:5px;align-content:start;justify-content:start}#baccarat .ba-bead{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:900;position:relative}#baccarat .ba-bead.ba-banker{background:#9a343a;color:#fff}#baccarat .ba-bead.ba-player{background:#24518e;color:#fff}#baccarat .ba-bead.ba-tie{background:#287d50;color:#fff}#baccarat .ba-pp,#baccarat .ba-bp{position:absolute;width:5px;height:5px;border-radius:50%}#baccarat .ba-pp{right:0;bottom:0;background:#5ad0ff}#baccarat .ba-bp{top:0;left:0;background:#ffb599}#baccarat .ba-big-grid{grid-auto-flow:row;grid-template-rows:repeat(6,19px)}#baccarat .ba-road-dot{width:19px;height:19px;border-radius:50%;font-size:17px;display:grid;place-items:center;background:transparent;position:relative}#baccarat .ba-road-dot.ba-banker{color:#df777b}#baccarat .ba-road-dot.ba-player{color:#79a9ef}#baccarat .ba-tie-mark{position:absolute;right:-3px;top:-5px;color:#7be29c;font:900 9px system-ui}#baccarat .ba-empty{font-size:9px;color:#9cafaa;white-space:nowrap}#baccarat .ba-history{flex:none;max-height:65px;overflow:auto}#baccarat .ba-history ol{padding:0;margin:3px 0;list-style:none;display:flex;flex-wrap:wrap;gap:4px}#baccarat .ba-history li{display:flex;gap:5px;align-items:center;padding:2px 5px;border:1px solid #425b4d;border-radius:4px;font-size:9px}#baccarat .ba-history li strong{color:#efda9f;font-variant-numeric:tabular-nums}#baccarat .ba-footer{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#b6c7b1}
@media(max-width:920px) and (orientation:landscape){#floor .ba-floor-launch{top:55%;right:2.5%;width:150px;min-height:48px;padding:4px 7px;gap:1px}#floor .ba-floor-launch strong{font-size:12px}#floor .ba-floor-launch small,#floor .ba-floor-launch em{font-size:8px}#baccarat{gap:4px}#baccarat .ba-body{grid-template-columns:minmax(0,1.1fr) minmax(230px,.9fr);gap:5px}#baccarat .ba-header{min-height:29px}#baccarat .ba-header h2{font-size:16px}#baccarat .ba-stat strong{font-size:14px}#baccarat .ba-table{padding:4px 9px;gap:3px;border-width:3px}#baccarat .ba-hands{min-height:48px;gap:6px}#baccarat .ba-hand>div:first-child{margin-bottom:1px}#baccarat .ba-card{width:29px;height:37px;font-size:12px;padding:2px}#baccarat .ba-card small{font-size:14px}#baccarat .ba-cards{min-height:38px}#baccarat .ba-result{font-size:12px}#baccarat .ba-spots{gap:3px}#baccarat .ba-spot{min-height:35px;padding:2px!important}#baccarat .ba-spot small{font-size:7px}#baccarat .ba-spot strong{font-size:10px}#baccarat .ba-pair{min-height:24px}#baccarat .ba-status{font-size:9px;min-height:12px}#baccarat .ba-console{padding:4px;gap:3px}#baccarat .ba-chips button{width:26px;height:26px;font-size:9px}#baccarat .ba-actions button,#baccarat .ba-shoe-actions button{padding:4px 5px;font-size:9px}#baccarat .ba-road-grid{grid-template-rows:repeat(6,15px);grid-auto-columns:15px}#baccarat .ba-bead,#baccarat .ba-road-dot{width:15px;height:15px;font-size:8px}#baccarat .ba-roads{min-height:50px}#baccarat .ba-history{max-height:41px}#baccarat .ba-footer{font-size:8px}}
@media(orientation:portrait){#baccarat{overflow:auto}#baccarat .ba-header{flex-wrap:wrap}#baccarat .ba-body{display:flex;flex-direction:column;overflow:visible}#baccarat .ba-table{min-height:380px;overflow:visible}#baccarat .ba-console{min-height:260px;overflow:visible}#baccarat .ba-roads{min-height:140px}}
@media(prefers-reduced-motion:reduce){#baccarat *{animation:none!important;transition:none!important}}

/* CASINOIR v0.48.76 — Three Card Poker / solo authentic table */
#floor .tcp-floor-launch{top:77%;right:4%;z-index:36;background:linear-gradient(130deg,#382a49,#171725);border-color:#ecc675}
#floor .tcp-floor-launch strong{font-size:clamp(12px,1.5vw,18px)}
#threeCardPoker{background:radial-gradient(ellipse at 30% 38%,#304a3e,#071614 77%);color:#f3dfb6;display:flex;flex-direction:column;gap:7px;overflow:hidden;padding:calc(7px + var(--safe-top)) calc(12px + var(--safe-right)) calc(7px + var(--safe-bottom)) calc(12px + var(--safe-left));font-family:inherit}
#threeCardPoker button{font:inherit;color:#f4e6bc;background:#223d30;border:1px solid #ab8d54;border-radius:8px;cursor:pointer;touch-action:manipulation;padding:7px 9px}
#threeCardPoker button:disabled{opacity:.38;cursor:default}#threeCardPoker button:focus-visible{outline:3px solid #ffe9a1;outline-offset:2px}
#threeCardPoker .tcp-header{display:flex;align-items:center;gap:10px;flex:none;min-height:39px}#threeCardPoker .tcp-title small{display:block;color:#dfbb73;font-size:9px;letter-spacing:.15em}#threeCardPoker .tcp-title h2{margin:0;color:#f4ce80;font:900 clamp(17px,2.4vw,25px) Georgia,serif;letter-spacing:.1em;white-space:nowrap}#threeCardPoker .tcp-stat{padding:3px 10px;text-align:right;min-width:80px;background:#142c25;border:1px solid #8b7549;border-radius:8px}#threeCardPoker .tcp-stat:first-of-type{margin-left:auto}#threeCardPoker .tcp-stat small{display:block;font-size:9px;white-space:nowrap;color:#dbc38e}#threeCardPoker .tcp-stat strong{display:block;color:#f6df9d;font-size:17px;font-variant-numeric:tabular-nums}
#threeCardPoker .tcp-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(245px,.85fr);gap:9px;flex:1;min-height:0}#threeCardPoker .tcp-felt{min-height:0;overflow:auto;background:radial-gradient(ellipse at center,#1d634b,#0b372b 74%);border:5px double #c0a36b;border-radius:105px 105px 18px 18px/46px 46px 18px 18px;box-shadow:inset 0 0 26px #041b12;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:6px;padding:10px 14px 6px}
#threeCardPoker .tcp-table-meta{display:flex;justify-content:space-between;width:100%;gap:10px;color:#ffe3a9;letter-spacing:.1em;font-size:9px}#threeCardPoker .tcp-hands{display:grid;grid-template-columns:1fr 1fr;width:100%;align-items:center;gap:9px;flex:1}#threeCardPoker .tcp-hand{text-align:center;min-width:0}#threeCardPoker .tcp-hand>b{color:#e4ca8d;font-size:12px;letter-spacing:.2em}#threeCardPoker .tcp-hand>small{display:block;min-height:12px;font-size:10px;font-weight:800;color:#e7d5ae}#threeCardPoker .tcp-cards{display:flex;justify-content:center;gap:5px;min-height:65px;align-items:center}#threeCardPoker .tcp-card{width:clamp(32px,4.6vw,48px);height:clamp(47px,6.4vw,62px);padding:4px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;background:#fffaf0;color:#17222b;border:1px solid #c3af88;border-radius:5px;box-shadow:1px 3px 5px #0008;font:800 15px Georgia,serif}#threeCardPoker .tcp-card small{align-self:center;font-size:19px}#threeCardPoker .tcp-card-red{color:#aa2635}#threeCardPoker .tcp-card-back{background:repeating-linear-gradient(45deg,#292e58,#292e58 5px,#bca16d 6px,#292e58 7px);color:#f7d58c;align-items:center;justify-content:center;font-size:20px}#threeCardPoker .tcp-placeholder{color:#bfcab4}
#threeCardPoker .tcp-result{min-height:18px;color:#ffdc8d;font:800 13px Georgia,serif;letter-spacing:.05em;text-align:center;margin:0}#threeCardPoker .tcp-spot-row{display:grid;grid-template-columns:1fr .55fr 1fr;gap:7px;width:100%;align-items:center}#threeCardPoker .tcp-spot{min-width:0;min-height:58px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;background:#183a3c!important;border:2px solid #d5b66b!important;border-radius:36px!important}#threeCardPoker .tcp-spot small{font-size:9px;color:#f6d996;letter-spacing:.1em}#threeCardPoker .tcp-spot strong{font-size:11px;white-space:nowrap}#threeCardPoker .tcp-spot em{font-style:normal;font-size:12px;font-weight:900;color:#fff3c3}#threeCardPoker .tcp-spot.is-bet{box-shadow:inset 0 0 0 2px #ffe9b0,0 0 14px #e7bc6580}#threeCardPoker .tcp-play-mark{text-align:center;border:1px dashed #e2cb9a;border-radius:22px;padding:7px 2px;display:flex;flex-direction:column}#threeCardPoker .tcp-play-mark b{font-size:14px;color:#fff0c2}#threeCardPoker .tcp-play-mark small{font-size:9px;color:#d4c095}#threeCardPoker .tcp-status{min-height:15px;margin:0;text-align:center;color:#e9d19d;font-size:11px}
#threeCardPoker .tcp-console{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:auto;background:linear-gradient(160deg,#17261e,#122a24);border:1px solid #98804e;border-radius:13px;padding:9px}#threeCardPoker .tcp-chips,#threeCardPoker .tcp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex:none}#threeCardPoker .tcp-chips span{color:#e3cb97;font-size:10px;font-weight:900}#threeCardPoker .tcp-chips button{width:36px;height:36px;padding:0;border-radius:50%;border:3px dashed #8a643b;background:#f2ddaf;color:#16281e;font-weight:900;font-size:12px}#threeCardPoker .tcp-chips button:nth-of-type(2){background:#edd1d8}#threeCardPoker .tcp-chips button:nth-of-type(3){background:#8fc8ae}#threeCardPoker .tcp-chips button:nth-of-type(4){background:#3e4859;color:#fff0c9}#threeCardPoker .tcp-chips button.is-active{outline:2px solid #f7d28a;outline-offset:2px}#threeCardPoker .tcp-actions button{font-size:10px;font-weight:850}#threeCardPoker .tcp-actions .tcp-gold{color:#183025;background:linear-gradient(#eace88,#aa7d37);border-color:#f9de9f}#threeCardPoker .tcp-breakdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}#threeCardPoker .tcp-breakdown>span{background:#09251e;border:1px solid #536a55;border-radius:6px;padding:5px;text-align:center}#threeCardPoker .tcp-breakdown small{font-size:8px;display:block;color:#d3b981}#threeCardPoker .tcp-breakdown strong{font-size:13px;color:#f3e0b2}#threeCardPoker .tcp-rules{font-size:10px;color:#dcd0a9;line-height:1.5}#threeCardPoker .tcp-rules summary{cursor:pointer;color:#f1d193;font-weight:900}#threeCardPoker .tcp-history{flex:1;min-height:0;overflow:auto}#threeCardPoker .tcp-history>b{font-size:10px;color:#ddc38f}#threeCardPoker .tcp-history ol{list-style:none;margin:4px 0;padding:0;display:grid;gap:3px}#threeCardPoker .tcp-history li{display:flex;justify-content:space-between;gap:8px;background:#102921;border-radius:4px;padding:3px 6px;font-size:10px;color:#ead5b0}#threeCardPoker .tcp-win{color:#a8dfb2}#threeCardPoker .tcp-lose{color:#eca7a7}#threeCardPoker .tcp-reset{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:9px;color:#b6c9b4}#threeCardPoker .tcp-reset button,#threeCardPoker #threeCardRetrySave{font-size:9px;padding:4px 7px}#threeCardPoker .tcp-muted{color:#9eb4a7}
@media(max-width:920px) and (orientation:landscape){#floor .bj-floor-launch{top:3%;min-height:39px!important;padding:2px 7px!important;gap:0!important}#floor .rt-floor-launch{top:26%}#floor .ba-floor-launch{top:49%}#floor .tcp-floor-launch{top:72%;right:2.5%;width:150px;min-height:39px!important;padding:2px 7px!important;gap:0!important}#floor .bj-floor-launch strong{font-size:11px!important}#floor .bj-floor-launch>span,#floor .bj-floor-launch small,#floor .bj-floor-launch em{font-size:7px!important}#threeCardPoker{gap:4px}#threeCardPoker .tcp-header{min-height:29px}#threeCardPoker .tcp-header button{padding:4px 6px}#threeCardPoker .tcp-title h2{font-size:16px}#threeCardPoker .tcp-stat strong{font-size:14px}#threeCardPoker .tcp-body{grid-template-columns:minmax(0,1.1fr) minmax(225px,.9fr);gap:5px}#threeCardPoker .tcp-felt{border-width:3px;gap:2px;padding:4px 8px}#threeCardPoker .tcp-table-meta{font-size:7px}#threeCardPoker .tcp-cards{min-height:36px;gap:3px}#threeCardPoker .tcp-card{width:27px;height:36px;padding:2px;font-size:10px}#threeCardPoker .tcp-card small{font-size:12px}#threeCardPoker .tcp-hand>b{font-size:9px}#threeCardPoker .tcp-hand>small{font-size:8px}#threeCardPoker .tcp-result{font-size:11px;min-height:13px}#threeCardPoker .tcp-spot-row{gap:3px}#threeCardPoker .tcp-spot{min-height:33px;padding:2px!important}#threeCardPoker .tcp-spot small{font-size:7px}#threeCardPoker .tcp-spot strong{font-size:8px}#threeCardPoker .tcp-spot em{font-size:9px}#threeCardPoker .tcp-play-mark{padding:3px}#threeCardPoker .tcp-play-mark b{font-size:10px}#threeCardPoker .tcp-status{font-size:8px;min-height:12px}#threeCardPoker .tcp-console{padding:4px;gap:4px}#threeCardPoker .tcp-chips button{width:26px;height:26px;font-size:9px}#threeCardPoker .tcp-actions{gap:3px}#threeCardPoker .tcp-actions button{padding:4px 5px;font-size:9px}#threeCardPoker .tcp-breakdown>span{padding:3px}#threeCardPoker .tcp-breakdown small{font-size:7px}#threeCardPoker .tcp-breakdown strong{font-size:10px}#threeCardPoker .tcp-history li{font-size:9px}#threeCardPoker .tcp-reset{font-size:8px}}
@media(orientation:portrait){#threeCardPoker{overflow:auto}#threeCardPoker .tcp-header{flex-wrap:wrap}#threeCardPoker .tcp-body{display:flex;flex-direction:column;overflow:visible}#threeCardPoker .tcp-felt{min-height:390px;overflow:visible}#threeCardPoker .tcp-console{min-height:270px;overflow:visible}}
@media(prefers-reduced-motion:reduce){#threeCardPoker *{animation:none!important;transition:none!important}}
/* Table directory: retain BOTH poker/lesson entries without hiding either below table 05. */
#floor .grand-featured-actions:has(.solo-floor-entry){right:29.5%!important;width:28%!important;gap:3px!important}
#floor .grand-featured-actions:has(.solo-floor-entry) .grand-take-seat{min-width:0!important;padding-left:4px!important;padding-right:3px!important;font-size:clamp(8px,.8vw,11px)!important}
#floor .grand-featured-actions:has(.solo-floor-entry) .grand-take-seat b{width:17px!important;height:17px!important;min-width:17px!important}
#floor .grand-featured-actions:has(.solo-floor-entry) .grand-take-seat span::after{font-size:7px!important}

/* CASINOIR v0.48.76 | CRAPS solo, six game floor. */
#floor .cr-floor-launch{top:37%;left:40%;right:auto;width:clamp(134px,20%,180px);min-height:58px;z-index:37;background:linear-gradient(128deg,#65402b,#251a19);border-color:#e9c782}
#floor .cr-floor-launch strong{font-size:clamp(13px,1.6vw,19px)}
#craps{background:radial-gradient(ellipse at 34% 30%,#294b3c,#081714 78%);color:#f3dfb9;display:flex;flex-direction:column;gap:6px;overflow:hidden;padding:calc(7px + var(--safe-top)) calc(12px + var(--safe-right)) calc(6px + var(--safe-bottom)) calc(12px + var(--safe-left));font-family:inherit}
#craps button{font:inherit;color:#f6e9c8;background:#1b3930;border:1px solid #b9a16a;border-radius:8px;cursor:pointer;touch-action:manipulation;padding:5px 8px}
#craps button:disabled{opacity:.4;cursor:default}#craps button:focus-visible{outline:3px solid #ffe6a2;outline-offset:2px}
#craps .cr-header{display:flex;align-items:center;gap:9px;flex:none;min-height:38px}#craps .cr-header>button{min-height:30px}#craps .cr-title{flex:1;min-width:0}#craps .cr-title small{font-size:9px;color:#d4bb86;letter-spacing:.13em}#craps .cr-title h2{margin:0;font:900 clamp(17px,2.5vw,25px) Georgia,serif;color:#f5d38d;letter-spacing:.08em;white-space:nowrap}#craps .cr-title h2 span{font:800 9px sans-serif;color:#b6cdb7}#craps .cr-stat{background:#102920;border:1px solid #846e49;border-radius:8px;padding:3px 9px;min-width:84px;text-align:right}#craps .cr-stat small{display:block;font-size:8px;color:#d3bc8a}#craps .cr-stat strong{display:block;color:#fff0c2;font-size:17px;line-height:1.1}
#craps .cr-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.17fr) minmax(255px,.83fr);gap:8px}
#craps .cr-felt{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:6px;background:radial-gradient(ellipse at center,#215a43,#0a3427 78%);border:5px double #c6a66a;border-radius:85px 85px 20px 20px/30px 30px 20px 20px;padding:9px;box-shadow:inset 0 0 22px #061a12}
#craps .cr-topline{display:flex;justify-content:space-between;align-items:center;gap:3px;font-size:9px;color:#dfc58a}#craps #crapsPuck{padding:3px 9px;background:#191e1e;border-radius:30px;border:1px solid #d9c8a2;color:#fff5df;white-space:nowrap}
#craps .cr-dice{display:flex;justify-content:center;gap:12px;min-height:38px}#craps .cr-die{width:36px;height:36px;border-radius:7px;border:2px solid #d6d3cb;background:#fff6e7;color:#163022;box-shadow:2px 4px 3px #0018;font:900 23px Georgia,serif;display:grid;place-items:center}
#craps .cr-point-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}#craps .cr-point-boxes button{min-width:0;min-height:44px;background:#0e2a21;border:2px solid #c3a16c;font:900 18px Georgia,serif}#craps .cr-point-boxes button.is-point{outline:2px solid #f6dc95;background:#72521d}#craps .cr-point-boxes small,#craps .cr-point-boxes em{display:block;font:800 8px sans-serif;color:#c9ddb9}#craps .cr-come-area{display:grid;grid-template-columns:1fr 1fr;gap:6px}#craps .cr-come-area button{border:2px solid #c2a56e;min-height:44px;border-radius:27px;background:#113e32}#craps .cr-come-area b{display:block;font:900 14px Georgia,serif}#craps .cr-come-area small{display:block;font-size:8px}
#craps .cr-field-area{display:flex;align-items:center;gap:7px}#craps .cr-field-area button{flex:1;min-height:35px;border:2px solid #d4a66a;border-radius:12px}#craps .cr-field-area b{font:900 13px Georgia,serif}#craps .cr-field-area small{font-size:9px}#craps .cr-field-area span{font-size:9px;white-space:nowrap;color:#e9c889}#craps .cr-line-area{display:grid;grid-template-columns:1fr 1fr;gap:6px}#craps .cr-line-area button{min-height:37px;border:3px solid #e6cf90;border-radius:27px;background:#164f40;font:900 12px Georgia,serif}
#craps .cr-amount{display:block;font:900 10px sans-serif;color:#ffdb93}#craps button.is-bet{box-shadow:inset 0 0 0 2px #f7e6b1,0 0 8px #ffdf7550}
#craps .cr-hard-area{display:flex;gap:3px;align-items:center}#craps .cr-hard-area>b{font-size:9px;color:#dabb80}#craps .cr-hard-area button{flex:1;min-width:0;font-size:9px;padding:5px 2px;border-color:#d8b67a;background:#32434b}#craps .cr-hard-area .cr-amount{font-size:8px}
#craps .cr-status{font-size:10px;text-align:center;color:#f1d6a5;min-height:14px;margin:0;line-height:1.3}
#craps .cr-console{min-height:0;overflow:auto;border:1px solid #9b8154;border-radius:12px;padding:8px;background:#12281f;display:flex;flex-direction:column;gap:8px}#craps .cr-console b{font-size:9px;color:#e5c990;letter-spacing:.07em}#craps .cr-chips,#craps .cr-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;flex:none}#craps .cr-chips button{width:34px;height:34px;padding:0;border-radius:50%;font-weight:900;background:#e9d5a4;color:#12251b;border:3px dashed #9d7f50}#craps .cr-chips button.is-active{outline:2px solid #ffe7a0;outline-offset:2px}#craps .cr-actions button{font-size:11px;font-weight:850}#craps .cr-actions .cr-gold{flex:1;background:linear-gradient(#f0d290,#b1843c);color:#172b1d;border-color:#ffeca9;font-size:13px}
#craps .cr-props>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:5px}#craps .cr-props button{font-size:9px;padding:3px;min-width:0;background:#24364c}#craps .cr-props small{font-size:8px;color:#eed095}#craps .cr-props .cr-amount{font-size:8px}
#craps .cr-live-wrap{min-height:0}#craps .cr-live{display:grid;gap:4px;max-height:130px;overflow:auto;padding-top:4px}#craps .cr-contract{display:flex;flex-wrap:wrap;gap:4px;align-items:center;background:#09241e;border:1px solid #49634e;padding:4px;border-radius:6px}#craps .cr-contract strong{flex:1;min-width:65px;font-size:9px;color:#f4d89c}#craps .cr-contract>span{font-size:10px;font-weight:900}#craps .cr-contract em{font:900 8px sans-serif;color:#a7e6b2}#craps .cr-contract em.cr-off{color:#e8a7a7}#craps .cr-contract button{font-size:8px;padding:3px 5px}#craps .cr-empty{font-size:9px;color:#abbea9;margin:0}
#craps .cr-recent ol{list-style:none;margin:3px 0;padding:0;display:grid;gap:3px;max-height:70px;overflow:auto}#craps .cr-recent li{display:flex;justify-content:space-between;gap:8px;background:#0c2b22;border-radius:5px;padding:3px 5px;font-size:9px}#craps .cr-recent li b{white-space:nowrap}#craps .cr-rules details{font-size:10px;color:#d8c5a0}#craps .cr-rules p{line-height:1.5}#craps .cr-rules summary{cursor:pointer;font-weight:900}#craps .cr-rules button{font-size:9px;margin-top:5px}
#craps .cr-footer{flex:none;font-size:9px;color:#b7c5ad;text-align:right}
@media(max-width:920px) and (orientation:landscape){#floor .cr-floor-launch{top:35%;left:39%;width:clamp(125px,20%,160px);min-height:45px!important;padding:3px 7px!important;gap:0!important}#floor .cr-floor-launch strong{font-size:12px}#floor .cr-floor-launch small,#floor .cr-floor-launch em,#floor .cr-floor-launch>span{font-size:7px}#craps{gap:3px}#craps .cr-header{min-height:28px}#craps .cr-title h2{font-size:16px}#craps .cr-stat strong{font-size:13px}#craps .cr-body{grid-template-columns:minmax(0,1.15fr) minmax(235px,.85fr);gap:5px}#craps .cr-felt{gap:3px;padding:5px;border-width:3px}#craps .cr-topline{font-size:7px}#craps .cr-dice{min-height:25px}#craps .cr-die{width:23px;height:23px;font-size:15px}#craps .cr-point-boxes{gap:3px}#craps .cr-point-boxes button{min-height:28px;font-size:12px;padding:2px}#craps .cr-point-boxes small,#craps .cr-point-boxes em{font-size:7px}#craps .cr-come-area button{min-height:30px;padding:2px}#craps .cr-come-area b{font-size:10px}#craps .cr-come-area small{font-size:7px}#craps .cr-field-area button{min-height:26px;padding:2px}#craps .cr-field-area b{font-size:9px}#craps .cr-field-area small,#craps .cr-field-area span{font-size:7px}#craps .cr-line-area button{min-height:25px;font-size:9px;padding:2px}#craps .cr-hard-area button{padding:2px;font-size:7px}#craps .cr-status{font-size:8px;min-height:10px}#craps .cr-console{padding:4px;gap:4px}#craps .cr-chips button{width:26px;height:26px}#craps .cr-actions button{padding:4px;font-size:9px}#craps .cr-props>div{margin-top:3px;gap:2px}#craps .cr-props button{font-size:7px;padding:2px}#craps .cr-live{max-height:74px;gap:2px}#craps .cr-contract{padding:2px}#craps .cr-contract button{font-size:7px;padding:2px}#craps .cr-recent ol{max-height:34px}#craps .cr-footer{font-size:7px}}
@media(orientation:portrait){#craps{overflow:auto}#craps .cr-header{flex-wrap:wrap}#craps .cr-body{display:flex;flex-direction:column;overflow:visible}#craps .cr-felt{min-height:380px;overflow:visible}#craps .cr-console{min-height:280px;overflow:visible}#floor .cr-floor-launch{left:27%;top:37%;width:45%}}
@media(prefers-reduced-motion:reduce){#craps *{animation:none!important;transition:none!important}}

/* v0.48.79 · Optional dealer-assisted BUY/LAY panel; existing felt geometry retained. */
#craps .cr-buy-lay{flex:none;border:1px solid #94774c;border-radius:7px;padding:5px;background:#102d25;color:#e7d3a4;font-size:9px}
#craps .cr-buy-lay summary{font-size:10px;cursor:pointer;font-weight:900;letter-spacing:.02em}
#craps .cr-buy-lay p{line-height:1.45;margin:4px 0}
#craps .cr-buy-lay-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin-top:5px}
#craps .cr-buy-lay-grid button{min-width:0;padding:4px 1px;background:#264237;font-size:8px}
#craps .cr-buy-lay-grid strong,#craps .cr-buy-lay-grid small,#craps .cr-buy-lay-grid em{display:block;font-size:8px}
#craps .cr-buy-lay-grid small{color:#e4cb90}
@media(max-width:920px) and (orientation:landscape){#craps .cr-buy-lay summary{font-size:10px}#craps .cr-buy-lay-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}#craps .cr-buy-lay-grid button{padding:4px 3px;min-height:29px}#craps .cr-buy-lay-grid strong,#craps .cr-buy-lay-grid small,#craps .cr-buy-lay-grid em{font-size:9px}}
/* Keep stacked betting-console sections in the scroll flow instead of shrinking
   them into each other on 667x375 landscape screens. */
#craps .cr-live-wrap,#craps .cr-recent,#craps .cr-rules{flex:none}

/* CASINOIR v0.48.82 — six-table read-only local report */
#floor .grand-floor-topbar{grid-template-columns:auto minmax(110px,.75fr) minmax(210px,1.2fr) auto}
.solo-report-open{justify-self:end;white-space:nowrap;min-height:34px;border:1px solid #cbaa65;border-radius:10px;background:linear-gradient(135deg,#624520,#191a13);color:#fff1c7;font-size:10px;font-weight:850;letter-spacing:.05em;padding:5px 11px;cursor:pointer;position:relative;z-index:10}
.solo-report-open:focus-visible,.solo-table-report-panel :focus-visible{outline:2px solid #ffe38a;outline-offset:2px}
.solo-table-report-modal[hidden]{display:none!important}
.solo-table-report-modal{position:fixed!important;inset:0!important;z-index:25000!important;display:grid;place-items:center;padding:max(8px,env(safe-area-inset-top)) max(9px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left));background:rgba(0,5,5,.84);backdrop-filter:blur(8px);box-sizing:border-box}
.solo-table-report-panel{box-sizing:border-box;width:min(860px,98vw);max-height:min(690px,94dvh);overflow:auto;overscroll-behavior:contain;padding:14px 18px 12px;border:1px solid #c59d4e;border-radius:15px;color:#f5e9ce;background:linear-gradient(135deg,#122b26,#06120f 75%);box-shadow:0 14px 65px #000;display:flex;flex-direction:column;gap:10px}
.str-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.str-header h2{font:800 clamp(17px,2.7vw,25px) Georgia,serif;letter-spacing:.07em;color:#f7d987;margin:2px 0}.str-header small{font-size:9px;color:#c4a766;letter-spacing:.15em}.str-header p{font-size:11px;margin:2px 0;color:#cad1c3}.str-header button{border:1px solid #b39a64;background:#22362c;border-radius:7px;padding:7px 12px;color:#f5e7ba;cursor:pointer;min-height:30px;white-space:nowrap}
.str-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.str-game{min-width:0;display:grid;gap:2px;padding:7px 9px;border:1px solid #667250;border-radius:8px;background:#172b22}.str-game strong{font-size:10px;color:#f3d889}.str-game b{font-size:15px;color:#fff}.str-game small{font-size:9px;color:#cad1bc}
.str-recent-head{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #5e644b;padding-top:8px}.str-recent-head strong{font-size:11px;color:#f4ce75}.str-recent-head label{display:flex;align-items:center;gap:5px;font-size:10px}.str-recent-head select{min-width:115px;max-width:190px;background:#20382d;color:#fff3cf;border:1px solid #887047;border-radius:6px;padding:5px}
.str-recent{list-style:none;margin:0;padding:0;overflow-y:auto;min-height:28px;display:grid;gap:5px}.str-entry{display:flex;justify-content:space-between;gap:9px;padding:6px 9px;border:1px solid #394c3c;background:#10241d;border-radius:7px;align-items:center}.str-entry>span{display:grid;gap:2px;min-width:0}.str-entry b{font-size:10px;color:#f1d28c}.str-entry small{font-size:10px;color:#c8d1c4}.str-entry .str-outcome{text-align:right}.str-outcome strong{font-size:12px;color:#f5ecce}.str-empty{text-align:center;color:#c4cabc;padding:12px;font-size:11px}.str-note{border-top:1px solid #475944;padding-top:8px;color:#c5ceb9;font-size:10px;line-height:1.4}
@media(max-width:760px) and (orientation:landscape){#floor .grand-floor-topbar{grid-template-columns:auto minmax(0,1fr) auto}.solo-report-open{font-size:9px;min-height:29px;padding:4px 7px}.solo-table-report-panel{width:96vw;max-height:94dvh;padding:8px 11px;gap:6px}.str-header h2{font-size:16px}.str-header p{font-size:9px}.str-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.str-game{padding:4px 6px}.str-game strong{font-size:8px}.str-game b{font-size:12px}.str-game small{font-size:8px}.str-entry{padding:4px 7px}.str-entry b,.str-entry small{font-size:9px}}
@media(max-width:550px) and (orientation:portrait){#floor .grand-floor-topbar{grid-template-columns:auto minmax(0,1fr) auto}.grand-floor-filter{display:none}.str-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.solo-table-report-panel{width:96vw;max-height:92dvh}}

/* v0.48.82 NIGHT CHRONICLE: six actual solo completion chapters, local prologue */
.solo-floor-actions{display:flex;align-items:center;gap:6px;justify-self:end;position:relative;z-index:10}.nc-open{background:linear-gradient(130deg,#4a314d,#1a2029);border-color:#ba9acf}
.solo-floor-actions :focus-visible,.night-chronicle-panel :focus-visible{outline:2px solid #ffe19d;outline-offset:2px}
.night-chronicle-modal[hidden]{display:none!important}.night-chronicle-modal{position:fixed!important;inset:0!important;z-index:25010!important;display:grid;place-items:center;padding:max(7px,env(safe-area-inset-top)) max(9px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left));background:rgba(3,4,13,.88);backdrop-filter:blur(8px);box-sizing:border-box}
.night-chronicle-panel{width:min(900px,97vw);max-height:94dvh;overflow-y:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:9px;padding:13px 17px;border:1px solid #b7a079;border-radius:13px;background:linear-gradient(145deg,#1c202d,#101a1d 75%);color:#f7e7c8;box-shadow:0 12px 65px #000;overscroll-behavior:contain}
.nc-header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.nc-header small,.nc-kicker{font-size:9px;letter-spacing:.18em;color:#d0ad7a}.nc-header h2{font:800 clamp(18px,3vw,27px) Georgia,serif;margin:1px 0;color:#f4d9aa}.nc-header p{font-size:11px;margin:0;color:#dac7b1}.nc-header button{border:1px solid #a58d77;background:#282d32;color:#ffe9c6;border-radius:7px;padding:7px 12px;min-height:31px;white-space:nowrap;cursor:pointer}
.nc-layout{display:grid;grid-template-columns:minmax(230px,1.15fr) minmax(220px,1fr);gap:10px;min-height:0}.nc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-content:start}.nc-chapter{border:1px solid #69605b;border-radius:9px;padding:8px;text-align:left;color:#aeb8b2;background:#21252a;display:grid;gap:2px;cursor:pointer;min-width:0}.nc-chapter small{font-size:8px;letter-spacing:.08em}.nc-chapter strong{font-size:11px;color:#c9c5bc;overflow-wrap:anywhere}.nc-chapter span{font-size:9px}.nc-chapter.is-earned{border-color:#ac905f;background:linear-gradient(130deg,#34322d,#1a2d29);color:#e9d2a0}.nc-chapter.is-earned strong{color:#ffdf9c}.nc-chapter.is-selected{outline:2px solid #c7a471;outline-offset:-2px}
.nc-scene{min-width:0;display:flex;flex-direction:column;gap:9px;padding:14px;border:1px solid #867454;border-radius:10px;background:linear-gradient(155deg,#172b29,#1a1b23);min-height:140px}.nc-scene h3{font:700 clamp(18px,2.4vw,24px) Georgia,serif;color:#f5d9a2;margin:0}.nc-story{font-size:12px;line-height:1.75;color:#f1e7cf;margin:0}.nc-proof{font-size:10px;color:#bcc9bd;margin-top:auto}.nc-epilogue{border-top:1px solid #b49c69;padding-top:9px;color:#ffe4a6;font-size:11px;line-height:1.6}.nc-note{border-top:1px solid #555148;padding-top:7px;font-size:10px;line-height:1.4;color:#b8c3ba}
@media(max-width:760px) and (orientation:landscape){#floor .grand-floor-topbar{grid-template-columns:auto minmax(0,1fr) auto}.solo-floor-actions{gap:4px}.solo-floor-actions .solo-report-open{font-size:8px;padding:4px 6px;min-height:29px}.night-chronicle-panel{padding:8px 10px;gap:6px}.nc-layout{grid-template-columns:1fr 1fr;gap:7px}.nc-chapter{padding:5px 6px}.nc-chapter strong{font-size:9px}.nc-chapter span{font-size:8px}.nc-scene{padding:9px;gap:4px;min-height:110px}.nc-story{font-size:10px;line-height:1.5}.nc-header h2{font-size:17px}.nc-note{font-size:9px}}
@media(max-width:620px) and (orientation:portrait){.nc-layout{grid-template-columns:1fr}.nc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.night-chronicle-panel{max-height:92dvh}.solo-floor-actions .solo-report-open{font-size:8px;padding:4px 6px}}
/* Keep the chapter text and epilogue scrollable within the dialog on short landscape displays. */
.night-chronicle-panel{height:min(480px,94dvh)}
.nc-header,.nc-note{flex:none}
.nc-layout{flex:1 1 auto;overflow-y:auto;scrollbar-gutter:stable}
.nc-scene{overflow-y:auto}

/* v0.48.82 MY CASINO: local owned cosmetics, no wallet or purchase simulation. */
.mc-open{background:linear-gradient(135deg,#193c38,#171c29);border-color:#81b8a8}
#floor .grand-floor-topbar{grid-template-columns:auto minmax(0,1fr) auto;row-gap:5px}
#floor .solo-floor-actions{grid-column:1/-1;justify-self:end;flex-wrap:wrap;gap:5px}
.my-casino-modal[hidden]{display:none!important}
.my-casino-modal{position:fixed!important;inset:0!important;z-index:25020!important;display:grid;place-items:center;box-sizing:border-box;padding:max(7px,env(safe-area-inset-top)) max(9px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left));background:rgba(1,10,13,.9);backdrop-filter:blur(9px)}
.my-casino-panel{width:min(960px,98vw);height:min(565px,94dvh);box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;gap:8px;padding:12px 15px;color:#f8e9c8;background:linear-gradient(145deg,#112c2b,#12151f 85%);border:1px solid #c1a36b;border-radius:14px;box-shadow:0 15px 70px #000;overscroll-behavior:contain}
.mc-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex:none}.mc-header small{font-size:9px;letter-spacing:.13em;color:#ccad74}.mc-header h2{font:800 clamp(18px,3vw,27px) Georgia,serif;color:#ffe2aa;letter-spacing:.09em;margin:1px 0}.mc-header p{font-size:10px;color:#b2c9bc;margin:0}.mc-header button,.mc-footer button{border:1px solid #ad9466;border-radius:7px;background:#263b35;color:#fff0c8;padding:6px 10px;min-height:31px;white-space:nowrap;cursor:pointer}
.mc-layout{display:grid;grid-template-columns:minmax(245px,1.15fr) minmax(235px,1fr);gap:10px;flex:1;min-height:0;overflow-y:auto}.mc-preview,.mc-items{min-width:0;min-height:0;display:flex;flex-direction:column;gap:7px}.mc-stage{height:clamp(140px,32vh,264px);flex:none;position:relative;overflow:hidden;border:2px solid #ac905e;border-radius:12px;background:#17131c}.mc-room{position:absolute;inset:0;isolation:isolate}.mc-wall{position:absolute;inset:0 0 25%;background:radial-gradient(ellipse at center 10%,#70443b,#25191f 85%);border-bottom:4px solid #ae8656}.mc-theme-emerald .mc-wall{background:radial-gradient(ellipse at center 10%,#356958,#0d292b 85%)}.mc-theme-midnight .mc-wall{background:radial-gradient(ellipse at center 10%,#454a73,#141526 85%)}
.mc-stage .mc-sconce{position:absolute;top:12%;font-size:34px;color:#ffcf83;text-shadow:0 0 15px #ffe2a0,0 0 35px #e0a245;z-index:2}.mc-stage .mc-sconce-left{left:13%}.mc-stage .mc-sconce-right{right:13%}.mc-light-sapphire .mc-sconce{color:#b9eaff;text-shadow:0 0 15px #b7eaff,0 0 35px #3a8cf2}.mc-light-ruby .mc-sconce{color:#ffd3cd;text-shadow:0 0 18px #ff455f,0 0 30px #ba1a49}
.mc-crest{position:absolute;left:50%;top:13%;transform:translateX(-50%);width:56px;height:56px;border:3px double #e8c98b;background:linear-gradient(120deg,#192d2c,#25171d);border-radius:50%;display:grid;place-items:center;color:#ffdeb2;font:700 25px Georgia,serif;box-shadow:0 0 18px #171219;z-index:2}.mc-crest-label{position:absolute;top:47%;left:50%;transform:translateX(-50%);font-size:8px;letter-spacing:.09em;white-space:nowrap;color:#e8d29f;z-index:2}
.mc-felt{position:absolute;left:50%;bottom:9%;transform:translateX(-50%) perspective(160px) rotateX(18deg);z-index:3;width:52%;height:32%;border:6px solid #956a36;border-radius:50%;background:radial-gradient(ellipse,#1d7559,#113a35);box-shadow:0 8px 2px #2a1814,0 13px 16px #0008;display:grid;place-items:center;color:#e1b86f;font:800 28px Georgia,serif}.mc-table-noir .mc-felt{background:radial-gradient(ellipse,#393b43,#0e141e)}.mc-table-wheel .mc-felt{background:repeating-conic-gradient(#133b36 0 18deg,#8d342a 18deg 36deg,#151515 36deg 54deg);border:7px solid #ac7d41}.mc-floor{position:absolute;inset:75% 0 0;background:repeating-linear-gradient(90deg,#281c1a 0 20px,#34231f 20px 40px)}
.mc-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-height:0}.mc-slot{border:1px solid #667968;border-radius:7px;background:#1d3531;color:#ecdfbc;text-align:left;padding:6px 8px;min-width:0;cursor:pointer}.mc-slot small{display:block;color:#abcabb;font-size:9px}.mc-slot strong{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mc-slot.is-selected{border-color:#ffdc92;outline:1px solid #ffdc92}
.mc-items{border:1px solid #64766a;background:#102720;border-radius:9px;padding:8px}.mc-items h3{font-size:12px;letter-spacing:.07em;color:#e9d094;margin:0}.mc-inventory{overflow-y:auto;min-height:0;flex:1;display:grid;align-content:start;gap:6px}.mc-item{width:100%;display:flex;align-items:center;gap:9px;text-align:left;min-height:43px;padding:7px;border:1px solid #506e5d;border-radius:8px;background:#21392e;color:#f5e4c2;cursor:pointer}.mc-item-symbol{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border:1px solid #d0ae65;border-radius:50%;font:700 15px Georgia,serif;color:#ffdc93}.mc-item-copy{min-width:0;flex:1;display:grid;gap:3px}.mc-item-copy strong{font-size:11px}.mc-item-copy small{font-size:9px;color:#bac8b9}.mc-item-state{font-size:9px;white-space:nowrap;color:#d9bb77}.mc-item.is-equipped{border-color:#e5bc6e;background:#3c382c}.mc-item.is-locked{opacity:.58;cursor:not-allowed}
.mc-footer{border-top:1px solid #51665d;padding-top:7px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.mc-footer p{margin:0;font-size:10px;line-height:1.4;color:#c7d4c6}.mc-footer button{min-width:92px;background:#846027;color:white;font-weight:750}.mc-footer button:disabled{opacity:.48;cursor:not-allowed}.my-casino-panel :focus-visible,.mc-open:focus-visible{outline:2px solid #ffe6a3;outline-offset:2px}
@media(max-width:760px) and (orientation:landscape){.my-casino-panel{width:97vw;height:95dvh;padding:6px 9px;gap:5px}.mc-layout{grid-template-columns:1fr 1fr;gap:7px}.mc-stage{height:clamp(120px,35vh,170px)}.mc-header h2{font-size:17px}.mc-header button,.mc-footer button{min-height:27px;padding:4px 7px}.mc-slot{padding:4px 6px}.mc-slot strong{font-size:9px}.mc-crest{width:39px;height:39px;font-size:18px}.mc-stage .mc-sconce{font-size:22px}.mc-crest-label{font-size:7px}.mc-item{min-height:35px;padding:4px}.mc-item-copy strong{font-size:10px}.mc-item-copy small{font-size:8px}.mc-item-symbol{width:25px;height:25px;flex-basis:25px}.mc-footer p{font-size:9px}#floor .solo-floor-actions .solo-report-open{font-size:8px;padding:3px 5px;min-height:26px}}
@media(max-width:620px) and (orientation:portrait){.my-casino-panel{height:94dvh}.mc-layout{grid-template-columns:1fr;overflow-y:auto}.mc-preview{min-height:220px}.mc-stage{height:170px}.mc-inventory{max-height:210px;overflow-y:auto}}
/* Floor navigation is a right-side rail on landscape: reserve its hit targets. */
#floor .solo-floor-actions{margin-right:calc(78px + var(--safe-right,0px))}

/* v0.49.01: three stored room sets; distinct from active layout and economy. */
.mc-set-bar{display:grid;gap:4px;flex:none;padding:5px;border:1px solid #6d806d;border-radius:9px;background:#142a2a}
.mc-sets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.mc-set{display:grid;text-align:left;gap:2px;min-width:0;padding:4px 6px;border:1px solid #52675c;border-radius:5px;background:#20352c;color:#d6ded1;cursor:pointer}
.mc-set small{font-size:8px;letter-spacing:.08em;color:#b2c9bc}.mc-set strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mc-set.is-selected{border-color:#ffdc92;box-shadow:inset 0 0 0 1px #ffdc92}.mc-set.is-filled strong{color:#ffe5ac}
.mc-set-actions{display:flex;gap:5px}.mc-set-actions button{flex:1;min-width:0;min-height:24px;padding:3px 6px;border:1px solid #a8915e;border-radius:5px;background:#364233;color:#ffe5b0;font:700 10px sans-serif;cursor:pointer}.mc-set-actions button:disabled{opacity:.42;cursor:not-allowed}
@media(max-width:760px) and (orientation:landscape){.mc-stage{height:clamp(113px,30vh,150px)}.mc-set-bar{gap:3px;padding:3px}.mc-set{padding:2px 4px}.mc-set-actions button{min-height:22px;font-size:9px}}
@media(max-width:620px) and (orientation:portrait){.mc-preview{min-height:295px}}

/* v0.49.01: read-only six-table NIGHT CIRCUIT; independent local journey. */
#floor .solo-floor-actions .circuit-open{background:linear-gradient(120deg,#312f58,#17212e);border-color:#9bc6e7}
.night-circuit-modal[hidden]{display:none!important}
.night-circuit-modal{position:fixed!important;inset:0!important;z-index:25030!important;display:grid;place-items:center;box-sizing:border-box;padding:max(7px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:rgba(2,6,13,.90);backdrop-filter:blur(8px)}
.night-circuit-panel{width:min(940px,97vw);max-height:95dvh;display:flex;flex-direction:column;gap:9px;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:16px 18px;border:1px solid #6595ac;border-radius:16px;background:linear-gradient(145deg,#172735,#0b121c 55%,#162435);color:#f4f0db;box-shadow:0 12px 64px #000b}
.circuit-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.circuit-header small,.circuit-stop small{color:#b2d0d8;font-size:10px;letter-spacing:.12em}.circuit-header h2{margin:2px 0;font-size:25px;line-height:1.1;letter-spacing:.07em}.circuit-header p{margin:2px 0;color:#e9d8a1;font-weight:700;font-size:11px}.circuit-header button,.circuit-actions button,.circuit-go{border-radius:8px;border:1px solid #8fadb7;background:#273b4a;color:#fff0d1;cursor:pointer;min-height:34px;padding:6px 12px;font:inherit;font-size:11px}.circuit-header button:focus-visible,.circuit-actions button:focus-visible,.circuit-go:focus-visible{outline:2px solid #ffe1a0;outline-offset:2px}.circuit-intro{margin:0;color:#c8d5d3;font-size:12px;line-height:1.45}.circuit-main{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(195px,1fr);gap:11px;min-height:0}.circuit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-content:start}.circuit-stop{min-width:0;display:flex;justify-content:space-between;align-items:center;gap:7px;padding:9px;border:1px solid #526a70;border-radius:10px;background:rgba(255,255,255,.04)}.circuit-stop.is-done{border-color:#bb9963;background:rgba(185,153,85,.1)}.circuit-stop-copy{min-width:0;display:grid;gap:4px}.circuit-stop-copy strong{font-size:12px;line-height:1.25;overflow-wrap:anywhere}.circuit-stop-copy span{font-size:10px;color:#d4d5cd;line-height:1.4}.circuit-go{min-width:85px;padding:6px 8px;flex-shrink:0;font-size:10px}.circuit-go:disabled,.circuit-actions button:disabled{opacity:.46;cursor:not-allowed}.circuit-side{display:flex;flex-direction:column;gap:7px;border:1px solid #526a70;border-radius:10px;padding:10px;min-width:0}.circuit-actions{display:grid;gap:5px}.circuit-actions #nightCircuitBegin{background:linear-gradient(110deg,#835e36,#473521);border-color:#d2b779}.circuit-side h3{font-size:11px;letter-spacing:.08em;color:#e8d8a3;margin:8px 0 0}.circuit-archive{margin:0;padding:0 0 0 20px;font-size:11px;color:#d4dbdc;overflow-y:auto;max-height:90px}.circuit-archive li{margin-bottom:5px}.circuit-note{font-size:10px;color:#c1cccf;line-height:1.4;border-top:1px solid #4e6977;padding-top:7px}
@media(max-width:760px) and (orientation:landscape){.night-circuit-panel{width:98vw;height:96dvh;max-height:96dvh;padding:7px 10px;gap:5px}.circuit-header h2{font-size:17px}.circuit-header button,.circuit-actions button{min-height:27px;padding:3px 6px}.circuit-intro{font-size:9px}.circuit-main{grid-template-columns:minmax(0,2fr) minmax(155px,1fr);gap:6px}.circuit-grid{gap:4px}.circuit-stop{padding:5px;gap:4px}.circuit-stop-copy strong{font-size:9px}.circuit-stop-copy span,.circuit-stop small{font-size:8px}.circuit-go{min-width:66px;min-height:28px;padding:3px;font-size:8px}.circuit-side{padding:6px}.circuit-side h3{margin:2px 0 0}.circuit-archive{max-height:65px}.circuit-note{font-size:8px}}
@media(max-width:620px) and (orientation:portrait){.circuit-main{grid-template-columns:1fr}.circuit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.circuit-stop{flex-direction:column;align-items:stretch}.circuit-archive{max-height:70px}}

/* CASINOIR 0.49.01 — dealer insurance offer and late surrender controls */
#blackjack .bj-insurance-offer{border:1px solid #d1af70;border-radius:9px;background:linear-gradient(100deg,#172c28,#31412b);padding:4px 7px;flex-wrap:wrap}
#blackjack .bj-insurance-offer span{color:#ffe5aa;font-size:11px;font-weight:800}
#blackjack [data-bj-action="surrender"]{background:#4c302e;border-color:#b98b72;color:#ffe8d6}
#blackjack .bj-insurance-offer button{min-height:32px}
@media(max-width:760px) and (orientation:landscape){#blackjack .bj-insurance-offer{gap:4px;padding:3px}#blackjack .bj-insurance-offer span{font-size:9px}#blackjack .bj-insurance-offer button{font-size:9px;padding:4px 7px;min-height:29px}}

/* v0.49.01: optional Three Card Poker Q-6-4 hint, no forced action. */
#threeCardPoker .tcp-coach{display:grid;gap:3px;flex:none}#threeCardPoker .tcp-coach button{justify-self:start;border:1px solid #ba9855;background:#18362b;color:#ffdfa0;border-radius:7px;padding:4px 9px;font-size:10px;font-weight:800}#threeCardPoker .tcp-coach p{border-left:3px solid #c9a65c;background:#0d3026;margin:0;padding:5px 7px;font-size:10px;line-height:1.35;color:#f8e3b2}#threeCardPoker .tcp-coach [hidden]{display:none!important}
@media(max-width:920px) and (orientation:landscape){#threeCardPoker .tcp-coach button{font-size:9px;padding:3px 6px}#threeCardPoker .tcp-coach p{font-size:9px;padding:3px 5px}}

/* v0.49.01: grouped one-roll proposition wagers in scrollable console. */
#craps .cr-grouped{flex:none;border:1px solid #bfa267;border-radius:7px;background:#102d25;color:#e7d3a4;padding:5px;font-size:9px}
#craps .cr-grouped summary{font-size:10px;cursor:pointer;font-weight:900;letter-spacing:.025em}
#craps .cr-grouped p{line-height:1.45;margin:4px 0}
#craps .cr-grouped-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:5px}
#craps .cr-grouped-grid button{min-width:0;min-height:42px;padding:3px;background:#264237;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:8px}
#craps .cr-grouped-grid strong,#craps .cr-grouped-grid small,#craps .cr-grouped-grid .cr-cost,#craps .cr-grouped-grid em{display:block;font-size:8px}
#craps .cr-grouped-grid small{color:#e4cb90}#craps .cr-grouped-grid .cr-cost{color:#fff0b6;font-weight:900}
@media(max-width:920px) and (orientation:landscape){#craps .cr-grouped-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}#craps .cr-grouped-grid button{min-height:35px;padding:2px}#craps .cr-grouped-grid strong,#craps .cr-grouped-grid small,#craps .cr-grouped-grid .cr-cost,#craps .cr-grouped-grid em{font-size:8px}}

/* v0.49.01 — BLACKJACK VISUAL / AUDIO / HOST PASS. Game engines are unchanged. */
#blackjack .bj-table-area{background:radial-gradient(ellipse at 50% 32%,rgba(37,110,80,.83) 0%,rgba(11,65,51,.98) 67%,#06372d 100%);box-shadow:inset 0 0 0 5px #001d1680,inset 0 12px 36px #0006,0 8px 28px #0007}
#blackjack .bj-table-arc{inset:6px 8px;border-color:#e8c77b54;box-shadow:inset 0 0 0 2px #ffffff09}
#blackjack .bj-topbar{background:linear-gradient(180deg,#09191ffb,#112d2ef2);box-shadow:0 3px 14px #0007}
#blackjack .bj-top-stat strong{color:#ffdc83;text-shadow:0 0 15px #aa7b3155}
#blackjack .bj-sound-switch{flex:none;min-width:84px;font-size:10px;letter-spacing:.04em}
#blackjack .bj-sound-switch[aria-pressed="false"]{opacity:.67}
#blackjack .bj-cards,#blackjack .bj-hand-cards{gap:clamp(3px,.5vw,7px)}
#blackjack .bj-card{overflow:hidden;width:clamp(38px,4.8vw,62px);height:clamp(52px,6.9vw,85px);background:linear-gradient(145deg,#fffdf7,#f5ecda);border:1.5px solid #d3bc91;border-radius:6px;color:#12282b;box-shadow:0 4px 9px #0008,0 0 0 1px #fff8 inset;position:relative;font:900 clamp(14px,1.8vw,23px) Georgia,serif}
#blackjack .bj-card--red{color:#b32734}
#blackjack .bj-card-corner{position:absolute;top:3px;left:4px;font:900 clamp(11px,1.15vw,16px)/1 Georgia,serif}
#blackjack .bj-card-suit{font-size:clamp(24px,3vw,38px);line-height:1;filter:drop-shadow(0 1px 0 #ffffffaa)}
#blackjack .bj-card--back{background:repeating-linear-gradient(45deg,#52253a 0 5px,#b3864b 5px 6px,#231d35 7px 11px);border:3px double #ffe3a9;color:#fff1cd;box-shadow:0 4px 12px #000a,0 0 0 3px #311d35 inset}
#blackjack .bj-back-mark{border:1px solid #ffdd94;padding:3px 8px;background:#3f293a;font-size:20px}
#blackjack .bj-card--arriving{animation:bjDealIn .24s cubic-bezier(.2,.8,.2,1) both}
@keyframes bjDealIn{from{opacity:.15;transform:translate(10px,-14px) rotate(5deg)}to{opacity:1;transform:translate(0) rotate(0)}}
#blackjack .bj-dealer-zone{position:relative;z-index:2;gap:3px}
#blackjack .bj-zone-title{background:#061f1b99;border:1px solid #d3ae5d6b;border-radius:999px;padding:2px 9px;color:#fff1c9;font-size:clamp(10px,1.1vw,13px)}
#blackjack .bj-zone-title span{font-size:clamp(13px,1.7vw,18px)}
#blackjack .bj-hand{max-width:49%;min-width:min(128px,44vw);border-radius:12px;padding:4px 9px;background:#03231a77;box-shadow:0 3px 10px #0004}
#blackjack .bj-hand.is-active{background:#c99b3250;border-color:#ffe2a1;box-shadow:0 0 0 2px #f6d47836,0 0 16px #f6d4783a}
#blackjack .bj-hand-caption{gap:7px;color:#fff9e7;font-weight:800}.bj-hand-caption b{font-size:clamp(13px,1.5vw,18px);color:#ffe095}
#blackjack .bj-hand-verdict{font-size:clamp(9px,.95vw,12px);border:1px solid #ffe09577;padding:2px 7px;border-radius:999px;background:#1b3a2ddd}
#blackjack .bj-hand-verdict[data-outcome="lose"],#blackjack .bj-hand-verdict[data-outcome="bust"]{color:#ffb4a7;border-color:#ffb4a77a}
#blackjack .bj-table-rule{letter-spacing:.15em;color:#ffe4a3aa;text-shadow:0 2px 5px #000a}
#blackjack .bj-phase-pill{z-index:2;align-self:center;flex:none;padding:3px 10px;border:1px solid #ecd3928c;border-radius:999px;background:#071d1aeb;color:#ffe4a2;letter-spacing:.06em;font-size:clamp(9px,.85vw,12px);font-weight:900}
#blackjack .bj-phase-pill[data-phase="playing"]{border-color:#86e1bb;color:#c9fce4}
#blackjack .bj-phase-pill[data-phase="settled"]{border-color:#dfbf73;color:#ffe8ad}
#blackjack .bj-wager-display{position:absolute;left:clamp(8px,3vw,46px);bottom:clamp(6px,2vh,20px);display:flex;align-items:center;gap:5px;z-index:2;padding:4px 7px;border:1px solid #e0bd7c77;border-radius:999px;background:#0b3029e8;box-shadow:0 3px 12px #0007}
#blackjack .bj-wager-display span{font-size:clamp(8px,.75vw,10px);letter-spacing:.06em;color:#dec78f;font-weight:800}
#blackjack .bj-wager-display b{font-size:clamp(12px,1.3vw,16px);color:#fff0c1;font-variant-numeric:tabular-nums}
#blackjack .bj-wager-display i{display:block;width:17px;height:17px;border-radius:50%;border:3px dashed #fff4d6;box-shadow:0 0 0 2px #a31d3d inset;background:#991934}
#blackjack .bj-table-host{position:absolute;right:clamp(6px,2vw,23px);top:clamp(21px,5vh,42px);width:clamp(94px,16vw,175px);max-height:calc(100% - 40px);z-index:1;pointer-events:none;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 4px 8px #0008)}
#blackjack .bj-host-portrait{height:clamp(75px,19vh,155px);width:100%;overflow:hidden;display:flex;align-items:flex-start;justify-content:center;mask-image:linear-gradient(#000 78%,transparent);-webkit-mask-image:linear-gradient(#000 78%,transparent)}
#blackjack .bj-host-portrait img{display:block;width:100%;height:auto;max-width:150px}
#blackjack .bj-host-copy{margin-top:-7px;padding:5px 6px;background:#071c1be8;border:1px solid #d9bc7b8a;border-radius:7px;text-align:center;width:100%;box-sizing:border-box}
#blackjack .bj-host-copy strong{color:#ffe4a6;font-size:clamp(7px,.68vw,9px)}
#blackjack .bj-host-copy p{margin:3px 0 0;color:#f5e6c8;font-size:clamp(8px,.82vw,11px);line-height:1.35}
#blackjack .bj-console{border-top:2px solid #b89150;background:linear-gradient(180deg,#1b2d2c,#09141a);box-shadow:0 -5px 20px #0007}
#blackjack .bj-console-info p{color:#fff1d5;font-weight:600}
#blackjack .bj-console-prompt{flex:none;padding:4px 7px;color:#10271f;background:#ebd091;border-radius:5px;font-size:9px;font-weight:900;letter-spacing:.06em}
#blackjack .bj-console-actions button{border-color:#c3a469a8;background:linear-gradient(#2e4b3b,#152e28);color:#fff2d6;box-shadow:0 2px 4px #0006;transition:background-color .13s,transform .13s}
#blackjack .bj-console-actions button:not(:disabled):active{transform:translateY(2px)}
#blackjack [data-bj-action="hit"]{background:linear-gradient(#206750,#104437);border-color:#5fc7a2}
#blackjack [data-bj-action="stand"]{background:linear-gradient(#67502e,#3f2d1a);border-color:#e8c575}
#blackjack [data-bj-action="double"],#blackjack [data-bj-action="split"]{background:linear-gradient(#345577,#203953);border-color:#8db6df}
#blackjack .bj-console-actions button:disabled{opacity:.42;filter:saturate(.6)}
@media(max-width:920px) and (orientation:landscape){
 #blackjack .bj-topbar{height:clamp(45px,12vh,52px)}
 #blackjack .bj-table-area{top:clamp(45px,12vh,52px);bottom:clamp(103px,29vh,122px);padding:3px 8px}
 #blackjack .bj-console{height:clamp(103px,29vh,122px);min-height:0;grid-template-columns:1fr;padding:4px 8px;gap:3px}
 #blackjack .bj-history{display:none}
 #blackjack .bj-top-stat strong{font-size:17px}
 #blackjack .bj-round{display:none}
 #blackjack .bj-heading small{font-size:8px}
 #blackjack .bj-sound-switch{min-width:65px;min-height:30px;font-size:9px;padding:2px 5px}
 #blackjack .bj-console-actions{justify-content:flex-start;flex-wrap:wrap;gap:4px}
 #blackjack .bj-console-actions button{font-size:10px;padding:3px 6px;min-height:30px}
 #blackjack .bj-console-info{gap:5px;overflow:hidden}
 #blackjack .bj-console-info p{min-width:0;max-width:34vw;font-size:10px}
 #blackjack .bj-console-prompt{font-size:8px;padding:3px 5px}
 #blackjack .bj-card{width:clamp(33px,5.6vw,44px);height:clamp(44px,14vh,57px)}
 #blackjack .bj-card-corner{font-size:10px}
 #blackjack .bj-card-suit{font-size:25px}
 #blackjack .bj-host-portrait{height:clamp(60px,17vh,100px)}
 #blackjack .bj-table-host{top:17px;width:clamp(80px,14vw,122px)}
 #blackjack .bj-host-copy{padding:3px 4px}
 #blackjack .bj-host-copy p{font-size:8px}
 #blackjack .bj-phase-pill{font-size:9px;padding:2px 8px}
 #blackjack .bj-wager-display{bottom:5px;left:7px;padding:2px 5px}
 #blackjack .bj-wager-display span{font-size:7px}
 #blackjack .bj-wager-display b{font-size:11px}
 #blackjack .bj-wager-display i{width:13px;height:13px;border-width:2px}
 #blackjack .bj-hand{padding:2px 5px;gap:2px}
 #blackjack .bj-hand-caption{font-size:9px}.bj-hand-caption b{font-size:12px}
 #blackjack .bj-table-rule{font-size:7px;letter-spacing:.05em}
}
@media(max-width:720px) and (orientation:landscape){
 #blackjack .bj-table-host{right:4px;width:76px;top:15px}
 #blackjack .bj-host-portrait{height:65px}
 #blackjack .bj-host-copy strong{font-size:6px}
 #blackjack .bj-host-copy p{font-size:7px}
 #blackjack .bj-table-area{bottom:113px}
 #blackjack .bj-console{height:113px}
 #blackjack .bj-console-info details{display:none}
 #blackjack .bj-card{width:33px;height:45px}
 #blackjack .bj-card-suit{font-size:23px}
}
@media(prefers-reduced-motion:reduce){#blackjack .bj-card--arriving{animation:none!important}#blackjack .bj-console-actions button{transition:none!important}}

/* v0.49.01 mobile table bet: keep chip marker off the curved, clipped lower rim. */
#blackjack .bj-wager-display{top:clamp(8px,1vh,12px);bottom:auto;left:clamp(9px,2vw,20px)}
@media(max-width:920px) and (orientation:landscape){#blackjack .bj-wager-display{top:8px;bottom:auto;left:8px}}
/* Casino felt engraving is decorative and never steals touches. */
#blackjack .bj-table-area::before{content:"";position:absolute;left:18%;right:18%;bottom:-23%;height:52%;border:2px solid rgba(232,200,116,.30);border-radius:50% 50% 0 0;pointer-events:none;box-shadow:0 -5px 20px rgba(246,220,150,.045)}
#blackjack .bj-table-area::after{content:"CASINOIR · GRAND BLACKJACK";position:absolute;top:43%;left:0;right:0;text-align:center;pointer-events:none;letter-spacing:.22em;font:900 clamp(9px,1.35vw,17px) Georgia,serif;color:rgba(230,211,155,.11)}
/* Keep two lines of dealer guidance visible rather than truncating the next action. */
#blackjack .bj-console-info p{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.3;max-height:2.6em}
@media(max-width:920px) and (orientation:landscape){
 #blackjack .bj-console-info p{max-width:38vw;line-height:1.35}
 #blackjack .bj-console-actions button{min-height:36px;font-size:10px}
 #blackjack .bj-console{grid-template-rows:minmax(30px,auto) auto}
}
@keyframes bjVerdictIn{from{opacity:0;transform:translateY(5px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
#blackjack .bj-hand-verdict{animation:bjVerdictIn .32s ease-out both}
#blackjack .bj-phase-pill[data-phase="settled"]{box-shadow:0 0 13px #d4a64c36}
@media(prefers-reduced-motion:reduce){#blackjack .bj-hand-verdict{animation:none!important}}

/* CASINOIR v0.49.01 · Blackjack table theatre. Presentation only, game rules untouched. */
#blackjack .bj-table-area{isolation:isolate;background:radial-gradient(ellipse at 50% 29%,#237455 0%,#10543f 43%,#07392e 78%,#042720 100%)}
#blackjack .bj-table-area:has(.bj-result-ribbon:not([hidden])){box-shadow:inset 0 0 0 5px #001d1680,inset 0 0 32px #ffe2a120,0 8px 28px #0007}
#blackjack .bj-dealer-readout{font:800 clamp(8px,.78vw,11px)/1.1 system-ui,sans-serif;color:#cce6d8;letter-spacing:.07em;background:#04271fbb;padding:3px 9px;border:1px solid #9bc4a34a;border-radius:99px;white-space:nowrap}
#blackjack .bj-result-ribbon{z-index:3;position:relative;max-width:calc(100% - 145px);display:flex;gap:clamp(5px,.75vw,12px);justify-content:center;align-items:center;flex-wrap:wrap;padding:4px 13px;margin:0;border:1.5px solid #d8bb72;border-radius:10px;background:linear-gradient(110deg,#182d28f5,#304a39fa,#182d28f5);box-shadow:0 0 0 1px #fff2bb24 inset,0 4px 13px #0008;color:#ffedbf;text-align:center;animation:bjRibbons .38s cubic-bezier(.2,.8,.2,1) both;pointer-events:none}
#blackjack .bj-result-ribbon strong{font:900 clamp(11px,1.35vw,18px)/1 Georgia,serif;letter-spacing:.12em;text-shadow:0 0 12px #ffe1a766}
#blackjack .bj-result-ribbon span{font:800 clamp(9px,.88vw,13px)/1.25 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:normal}
#blackjack .bj-result-ribbon[data-outcome="win"]{border-color:#ffd884;background:linear-gradient(115deg,#3b351c,#80672b,#3b351c);color:#fff4d1}
#blackjack .bj-result-ribbon[data-outcome="lose"]{border-color:#ad9fa0;background:linear-gradient(115deg,#2b3136,#39454a,#2b3136);color:#f0e7e2}
#blackjack .bj-result-ribbon[data-outcome="push"]{border-color:#b9d3c5;background:linear-gradient(115deg,#143d34,#2b6252,#143d34);color:#e2fff1}
#blackjack[data-bj-state="settled"] .bj-table-rule{display:none}
@keyframes bjRibbons{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
#blackjack .bj-chip-tower{width:30px;height:24px;flex:none;position:relative;filter:drop-shadow(0 3px 2px #0008)}
#blackjack .bj-chip-tower i{box-sizing:border-box;display:block!important;position:absolute;left:2px;width:25px;height:12px;border:3px dashed #ffebd6;border-radius:50%;background:repeating-conic-gradient(#92293d 0deg 35deg,#ead8af 35deg 43deg);box-shadow:inset 0 0 0 3px #92293d,0 2px 2px #0006;}
#blackjack .bj-chip-tower i:nth-child(1){top:11px}#blackjack .bj-chip-tower i:nth-child(2){top:6px}#blackjack .bj-chip-tower i:nth-child(3){top:1px}
#blackjack .bj-wager-display{gap:7px}#blackjack .bj-wager-display.is-boosted{border-color:#ffcf67;box-shadow:0 0 15px #ecc45b44}
#blackjack .bj-wager-display[data-state="settled"]{background:#193929}
#blackjack .bj-card--arriving{animation:bjDealIn .26s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--bj-card-order,0) * 65ms)}
#blackjack .bj-card--reveal{animation:bjReveal .43s cubic-bezier(.2,.75,.2,1) both}
@keyframes bjReveal{0%{transform:rotateY(90deg) scale(.94);opacity:.35}55%{transform:rotateY(28deg)}100%{transform:rotateY(0deg) scale(1);opacity:1}}
#blackjack .bj-card{backface-visibility:hidden}
#blackjack .bj-hand{transition:opacity .18s,box-shadow .18s,border-color .18s}
#blackjack .bj-hand.is-waiting{opacity:.68}
#blackjack .bj-hand.is-active{border:2px solid #ffe3a0;background:#f9d07225;box-shadow:0 0 0 2px #efc36f31,0 0 19px #f6d47852}
#blackjack .bj-hand.is-active .bj-hand-caption strong{color:#ffdc81}
#blackjack .bj-hand[data-state="bust"] .bj-hand-caption b{color:#ffa6a1}
#blackjack .bj-action-trail{display:block;flex:none;max-width:clamp(65px,18vw,230px);min-width:0;font:750 9px/1.3 system-ui,sans-serif;letter-spacing:.035em;color:#c6d9ce;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:rtl;text-align:left}
#blackjack .bj-action-trail:before{content:'ACTION · ';color:#d9b96c}
#blackjack .bj-table-host[data-mood="win"] .bj-host-copy{border-color:#f4cf79;box-shadow:0 0 14px #edc75d55}
#blackjack .bj-table-host[data-mood="lose"] .bj-host-copy{border-color:#bbbcbb}
@media(max-width:920px) and (orientation:landscape){
 #blackjack .bj-result-ribbon{max-width:calc(100% - 95px);padding:3px 8px;gap:3px}
 #blackjack .bj-result-ribbon strong{font-size:10px}#blackjack .bj-result-ribbon span{font-size:8px}
 #blackjack .bj-dealer-readout{padding:2px 6px;font-size:8px}
 #blackjack .bj-chip-tower{width:20px;height:18px}
 #blackjack .bj-chip-tower i{width:18px;height:9px;border-width:2px;left:1px}
 #blackjack .bj-chip-tower i:nth-child(1){top:8px}#blackjack .bj-chip-tower i:nth-child(2){top:4px}#blackjack .bj-chip-tower i:nth-child(3){top:0}
 #blackjack .bj-action-trail{font-size:8px;max-width:15vw}
}
@media(max-width:720px) and (orientation:landscape){#blackjack .bj-action-trail{display:none}#blackjack .bj-result-ribbon{max-width:calc(100% - 76px)}#blackjack .bj-dealer-zone{gap:1px}}
@media(prefers-reduced-motion:reduce){#blackjack .bj-result-ribbon,#blackjack .bj-card--arriving,#blackjack .bj-card--reveal{animation:none!important}#blackjack .bj-hand{transition:none!important}}

#blackjack .bj-result-ribbon[hidden]{display:none!important;animation:none!important}

/* CASINOIR v0.49.01 — custom blackjack table art integration (WebP table felt, presentation only). */
#blackjack.screen--blackjack{
  background:
    radial-gradient(circle at top center, rgba(245,191,89,.10), transparent 32%),
    radial-gradient(circle at bottom center, rgba(0,0,0,.35), transparent 55%),
    linear-gradient(180deg,#0c0d10 0%,#11161a 42%,#0a0d11 100%);
}
#blackjack .bj-topbar{
  background:linear-gradient(180deg,rgba(8,10,13,.94),rgba(18,23,28,.90));
  border-bottom:1px solid rgba(226,183,96,.35);
  box-shadow:0 5px 18px rgba(0,0,0,.35);
}
#blackjack .bj-table-area{
  display:block;
  position:absolute;
  inset:clamp(49px,12.2vh,74px) 1.1% clamp(102px,25vh,148px);
  min-height:0;
  overflow:hidden;
  border:none;
  border-radius:18px;
  padding:0;
  background:
    linear-gradient(180deg, rgba(8,10,13,.12), rgba(8,10,13,.32)),
    url("./assets/ui/blackjack-table-casinoir-v04901.webp?v=04901") center 44% / cover no-repeat;
  box-shadow:
    0 14px 40px rgba(0,0,0,.50),
    inset 0 0 0 1px rgba(255,219,142,.08);
}
#blackjack .bj-table-area::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at center, transparent 28%, rgba(0,0,0,.10) 72%, rgba(0,0,0,.26) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10), transparent 18%, transparent 80%, rgba(0,0,0,.14));
  pointer-events:none;
}
#blackjack .bj-table-area::after{display:none}
#blackjack .bj-table-arc,
#blackjack .bj-table-rule{display:none}
#blackjack .bj-phase-pill{
  position:absolute;
  top:clamp(8px,1.5vh,14px);
  left:50%;
  transform:translateX(-50%);
  z-index:4;
  background:linear-gradient(180deg,rgba(15,20,22,.92),rgba(30,40,42,.84));
  border:1px solid rgba(238,200,113,.55);
  color:#ffefc3;
  box-shadow:0 4px 15px rgba(0,0,0,.35);
  backdrop-filter:blur(5px);
}
#blackjack .bj-table-host{
  position:absolute;
  top:clamp(14px,2vh,24px);
  right:clamp(10px,1.5vw,20px);
  z-index:3;
  width:clamp(110px,14vw,160px);
}
#blackjack .bj-host-portrait{
  height:clamp(86px,22vh,140px);
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.4));
}
#blackjack .bj-host-copy{
  background:linear-gradient(180deg,rgba(8,14,18,.92),rgba(24,34,39,.86));
  border:1px solid rgba(233,194,104,.42);
  box-shadow:0 10px 22px rgba(0,0,0,.28);
  backdrop-filter:blur(6px);
}
#blackjack .bj-dealer-zone{
  position:absolute;
  top:clamp(70px,17vh,128px);
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  width:min(58%, 420px);
  padding:8px 14px 10px;
  gap:6px;
  background:linear-gradient(180deg,rgba(7,15,17,.50),rgba(7,15,17,.14));
  border:1px solid rgba(240,208,126,.14);
  border-radius:16px;
  backdrop-filter:blur(1.5px);
}
#blackjack .bj-zone-title{gap:10px}
#blackjack .bj-zone-title strong{letter-spacing:.18em}
#blackjack .bj-dealer-readout{
  background:rgba(5,18,18,.62);
  border:1px solid rgba(234,200,121,.22);
  color:#eef5ef;
}
#blackjack .bj-result-ribbon{
  position:absolute;
  left:50%;
  top:52%;
  transform:translate(-50%,-50%);
  z-index:5;
  max-width:min(62%, 520px);
  box-shadow:0 10px 30px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,242,186,.12);
}
#blackjack .bj-table-meta{
  position:absolute;
  top:clamp(182px,44.5vh,252px);
  left:50%;
  transform:translateX(-50%);
  z-index:3;
  display:flex;
  gap:clamp(6px,.8vw,10px);
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  width:min(72%, 560px);
  pointer-events:none;
}
#blackjack .bj-table-meta span{
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(236,198,109,.28);
  background:linear-gradient(180deg,rgba(12,18,20,.72),rgba(12,18,20,.48));
  box-shadow:0 8px 18px rgba(0,0,0,.22);
  color:#f6e6bf;
  font:700 clamp(7px,.8vw,10px)/1.1 system-ui,sans-serif;
  letter-spacing:.14em;
  white-space:nowrap;
  text-transform:uppercase;
}
#blackjack .bj-wager-display{
  top:auto;
  bottom:clamp(18px,4vh,30px);
  left:50%;
  transform:translateX(-50%);
  z-index:4;
  min-width:112px;
  background:linear-gradient(180deg,rgba(10,17,19,.90),rgba(32,51,42,.84));
  border:1px solid rgba(236,198,109,.50);
  box-shadow:0 8px 20px rgba(0,0,0,.35);
  backdrop-filter:blur(4px);
}
#blackjack .bj-wager-display.is-boosted{box-shadow:0 10px 24px rgba(0,0,0,.4),0 0 0 1px rgba(255,214,114,.18),0 0 18px rgba(255,222,140,.14)}
#blackjack .bj-player-zone{
  position:absolute;
  left:50%;
  bottom:clamp(18px,4vh,36px);
  transform:translateX(-50%);
  z-index:3;
  width:min(72%, 760px);
  min-height:120px;
  overflow:visible;
}
#blackjack .bj-player-zone::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:10px;
  width:min(82%, 560px);
  height:52px;
  transform:translateX(-50%);
  background:radial-gradient(ellipse at center, rgba(245,215,135,.16) 0%, rgba(245,215,135,.08) 36%, rgba(245,215,135,0) 72%);
  pointer-events:none;
}
#blackjack .bj-hand{
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  min-width:min(28%, 160px);
  max-width:220px;
  padding:7px 12px 9px;
  border:1px solid rgba(246,208,120,.18);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(11,17,20,.56), rgba(11,17,20,.18));
  box-shadow:0 8px 22px rgba(0,0,0,.25);
  backdrop-filter:blur(1.6px);
}
#blackjack .bj-hand[data-hand-count="2"][data-hand-index="0"]{left:31%;transform:translateX(-50%)}
#blackjack .bj-hand[data-hand-count="2"][data-hand-index="1"]{left:69%;transform:translateX(-50%)}
#blackjack .bj-hand[data-hand-count="2"] .bj-hand-cards{justify-content:center}
#blackjack .bj-hand::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  width:82%;
  height:18px;
  transform:translateX(-50%);
  background:radial-gradient(ellipse at center, rgba(0,0,0,.28), rgba(0,0,0,0) 70%);
  pointer-events:none;
}
#blackjack .bj-hand.is-active{
  border-color:rgba(255,225,146,.70);
  background:linear-gradient(180deg, rgba(58,44,15,.42), rgba(17,20,20,.24));
}
#blackjack .bj-hand-caption{gap:7px}
#blackjack .bj-hand-caption strong{letter-spacing:.12em}
#blackjack .bj-hand-caption small{color:#d6ead8}
#blackjack .bj-card{
  border:1px solid rgba(124,89,31,.66);
  box-shadow:0 5px 16px rgba(0,0,0,.35);
}
#blackjack .bj-console{
  background:linear-gradient(180deg,rgba(18,21,25,.97),rgba(9,12,15,.97));
  border-top:1px solid rgba(232,187,95,.48);
  box-shadow:0 -12px 28px rgba(0,0,0,.34);
}
#blackjack .bj-console-info p{color:#fff3da}
#blackjack .bj-console-actions button{
  background:linear-gradient(180deg,#33463d,#1a2822);
  border-color:rgba(218,181,105,.62);
}
#blackjack .bj-console-actions button.is-active,
#blackjack .bj-console-actions button.bj-deal{
  background:linear-gradient(180deg,#d7b36a,#82581d);
  color:#17130d;
}
#blackjack .bj-console-actions [data-bj-action="hit"]{background:linear-gradient(180deg,#1e7f61,#155140)}
#blackjack .bj-console-actions [data-bj-action="stand"]{background:linear-gradient(180deg,#76603b,#4c3721)}
#blackjack .bj-console-actions [data-bj-action="double"],
#blackjack .bj-console-actions [data-bj-action="split"]{background:linear-gradient(180deg,#516b8a,#31455c)}
#blackjack .bj-console-actions [data-bj-action="surrender"]{background:linear-gradient(180deg,#7d4b4b,#512d2d)}
#blackjack .bj-console-actions [data-bj-action="insurance"],
#blackjack .bj-console-actions [data-bj-action="even_money"]{background:linear-gradient(180deg,#6c4f91,#463163)}
#blackjack .bj-action-trail{color:#e0e6de}

@media (max-width: 920px) and (orientation: landscape){
  #blackjack .bj-table-area{
    inset:clamp(45px,12vh,52px) .8% clamp(112px,30vh,128px);
    background-position:center 43%;
  }
  #blackjack .bj-phase-pill{top:7px;padding:2px 9px}
  #blackjack .bj-table-host{top:12px;right:8px;width:88px}
  #blackjack .bj-host-portrait{height:72px}
  #blackjack .bj-host-copy{padding:3px 4px}
  #blackjack .bj-host-copy strong{font-size:7px}
  #blackjack .bj-host-copy p{font-size:8px;line-height:1.22}
  #blackjack .bj-dealer-zone{top:56px;width:min(62%, 320px);padding:5px 10px 7px}
  #blackjack .bj-table-meta{top:144px;width:min(76%, 390px);gap:4px}
  #blackjack .bj-table-meta span{padding:3px 7px;font-size:7px;letter-spacing:.08em}
  #blackjack .bj-result-ribbon{top:54%;max-width:min(66%, 360px)}
  #blackjack .bj-player-zone{width:min(76%, 520px);bottom:14px;min-height:100px}
  #blackjack .bj-hand{min-width:120px;max-width:170px;padding:4px 7px 6px;border-radius:14px}
  #blackjack .bj-hand[data-hand-count="2"][data-hand-index="0"]{left:29%}
  #blackjack .bj-hand[data-hand-count="2"][data-hand-index="1"]{left:71%}
  #blackjack .bj-wager-display{bottom:8px;left:50%;min-width:96px}
}

@media (max-width: 720px) and (orientation: landscape){
  #blackjack .bj-table-area{background-position:center 44%}
  #blackjack .bj-dealer-zone{top:52px;width:min(67%, 285px)}
  #blackjack .bj-table-meta{top:132px;width:min(82%, 344px);gap:3px}
  #blackjack .bj-table-meta span{padding:2px 6px;font-size:6px;letter-spacing:.06em}
  #blackjack .bj-player-zone{width:min(80%, 430px);bottom:10px;min-height:92px}
  #blackjack .bj-hand{min-width:108px;max-width:145px}
  #blackjack .bj-hand[data-hand-count="2"][data-hand-index="0"]{left:27%}
  #blackjack .bj-hand[data-hand-count="2"][data-hand-index="1"]{left:73%}
  #blackjack .bj-result-ribbon{max-width:min(70%, 280px)}
}

/* CASINOIR v0.49.01 — blackjack polish pass 3 (table presence, chip realism, card spread). */
#blackjack .bj-dealer-zone::before{
  content:"";
  position:absolute;
  left:50%;
  top:44px;
  width:min(58%, 220px);
  height:44px;
  transform:translateX(-50%);
  background:radial-gradient(ellipse at center, rgba(255,228,152,.18) 0%, rgba(255,228,152,.08) 42%, rgba(255,228,152,0) 76%);
  pointer-events:none;
}
#blackjack .bj-dealer-zone::after{
  content:"HOUSE DEALER";
  position:absolute;
  left:50%;
  top:-10px;
  transform:translateX(-50%);
  padding:3px 10px;
  border-radius:999px;
  border:1px solid rgba(240,205,120,.28);
  background:linear-gradient(180deg,rgba(10,16,18,.78),rgba(10,16,18,.42));
  color:#cab37b;
  font:700 clamp(6px,.75vw,9px)/1 system-ui,sans-serif;
  letter-spacing:.22em;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
#blackjack .bj-cards,
#blackjack .bj-hand-cards{gap:0}
#blackjack .bj-cards .bj-card + .bj-card,
#blackjack .bj-hand-cards .bj-card + .bj-card{margin-left:clamp(-12px,-1.05vw,-7px)}
#blackjack .bj-cards .bj-card:nth-child(odd),
#blackjack .bj-hand-cards .bj-card:nth-child(odd){margin-top:2px}
#blackjack .bj-cards .bj-card:nth-child(even),
#blackjack .bj-hand-cards .bj-card:nth-child(even){margin-top:-1px}
#blackjack .bj-hand{padding-top:11px;padding-bottom:13px}
#blackjack .bj-hand::before{
  content:attr(data-stake);
  position:absolute;
  left:50%;
  bottom:-18px;
  width:44px;
  height:44px;
  transform:translateX(-50%);
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff8ec;
  font:900 11px/1 system-ui,sans-serif;
  letter-spacing:.02em;
  text-shadow:0 1px 1px rgba(0,0,0,.35);
  border:3px dashed rgba(255,242,213,.92);
  box-shadow:0 6px 14px rgba(0,0,0,.32), inset 0 0 0 4px rgba(88,22,36,.84), inset 0 0 0 9px rgba(176,36,63,.96);
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.34), rgba(255,255,255,0) 24%), repeating-conic-gradient(from 12deg, #8f1f39 0deg 34deg, #f6e7be 34deg 46deg);
}
#blackjack .bj-hand[data-tier="white"]::before{
  color:#1c1b16;
  border-color:rgba(255,255,255,.94);
  box-shadow:0 6px 14px rgba(0,0,0,.32), inset 0 0 0 4px rgba(151,151,151,.94), inset 0 0 0 9px rgba(242,244,242,.98);
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.46), rgba(255,255,255,0) 24%), repeating-conic-gradient(from 12deg, #f5f4ef 0deg 34deg, #8d8d8d 34deg 46deg);
}
#blackjack .bj-hand[data-tier="red"]::before{
  box-shadow:0 6px 14px rgba(0,0,0,.32), inset 0 0 0 4px rgba(103,18,29,.9), inset 0 0 0 9px rgba(176,36,63,.98);
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.34), rgba(255,255,255,0) 24%), repeating-conic-gradient(from 12deg, #a61f3e 0deg 34deg, #f5e6c1 34deg 46deg);
}
#blackjack .bj-hand[data-tier="green"]::before{
  box-shadow:0 6px 14px rgba(0,0,0,.32), inset 0 0 0 4px rgba(25,80,53,.9), inset 0 0 0 9px rgba(48,132,88,.98);
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.34), rgba(255,255,255,0) 24%), repeating-conic-gradient(from 12deg, #2a8758 0deg 34deg, #f5e6c1 34deg 46deg);
}
#blackjack .bj-hand[data-tier="black"]::before{
  box-shadow:0 6px 14px rgba(0,0,0,.38), inset 0 0 0 4px rgba(16,16,18,.95), inset 0 0 0 9px rgba(44,44,49,.98);
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.26), rgba(255,255,255,0) 24%), repeating-conic-gradient(from 12deg, #2d2d32 0deg 34deg, #d8c395 34deg 46deg);
}
#blackjack .bj-hand.is-active::before{box-shadow:0 10px 20px rgba(0,0,0,.4), 0 0 0 2px rgba(255,219,127,.18), 0 0 16px rgba(255,212,102,.15), inset 0 0 0 4px rgba(88,22,36,.84), inset 0 0 0 9px rgba(176,36,63,.96)}
#blackjack .bj-hand[data-tier="white"].is-active::before{box-shadow:0 10px 20px rgba(0,0,0,.4),0 0 0 2px rgba(255,219,127,.18),0 0 16px rgba(255,212,102,.15), inset 0 0 0 4px rgba(151,151,151,.94), inset 0 0 0 9px rgba(242,244,242,.98)}
#blackjack .bj-hand[data-tier="green"].is-active::before{box-shadow:0 10px 20px rgba(0,0,0,.4),0 0 0 2px rgba(255,219,127,.18),0 0 16px rgba(255,212,102,.15), inset 0 0 0 4px rgba(25,80,53,.9), inset 0 0 0 9px rgba(48,132,88,.98)}
#blackjack .bj-hand[data-tier="black"].is-active::before{box-shadow:0 10px 20px rgba(0,0,0,.44),0 0 0 2px rgba(255,219,127,.18),0 0 16px rgba(255,212,102,.15), inset 0 0 0 4px rgba(16,16,18,.95), inset 0 0 0 9px rgba(44,44,49,.98)}
#blackjack .bj-wager-display[data-tier="white"] .bj-chip-tower i{background:repeating-conic-gradient(#f5f4ef 0deg 34deg,#8d8d8d 34deg 43deg);box-shadow:inset 0 0 0 3px #ddddda,0 2px 2px #0006;color:#222}
#blackjack .bj-wager-display[data-tier="red"] .bj-chip-tower i{background:repeating-conic-gradient(#a61f3e 0deg 34deg,#f6e7be 34deg 43deg);box-shadow:inset 0 0 0 3px #92293d,0 2px 2px #0006}
#blackjack .bj-wager-display[data-tier="green"] .bj-chip-tower i{background:repeating-conic-gradient(#2a8758 0deg 34deg,#f6e7be 34deg 43deg);box-shadow:inset 0 0 0 3px #236a46,0 2px 2px #0006}
#blackjack .bj-wager-display[data-tier="black"] .bj-chip-tower i{background:repeating-conic-gradient(#2d2d32 0deg 34deg,#d8c395 34deg 43deg);box-shadow:inset 0 0 0 3px #19191d,0 2px 2px #0006}
#blackjack .bj-wager-display[data-stack="split"]{padding-inline:10px 12px}
#blackjack .bj-wager-display[data-stack="split"] .bj-wager-caption::after{
  content:" • SPLIT";
  color:#ffd783;
}
#blackjack .bj-wager-display[data-state="playing"]{background:linear-gradient(180deg,rgba(18,25,28,.94),rgba(38,58,49,.86))}
#blackjack .bj-wager-display[data-state="settled"]{background:linear-gradient(180deg,rgba(18,32,22,.94),rgba(34,66,45,.82))}
#blackjack .bj-player-zone{padding-bottom:28px}

@media (max-width: 920px) and (orientation: landscape){
  #blackjack .bj-dealer-zone::after{top:-8px;padding:2px 8px;font-size:6px}
  #blackjack .bj-hand{padding-top:8px;padding-bottom:11px}
  #blackjack .bj-hand::before{width:36px;height:36px;bottom:-14px;font-size:9px;border-width:2px;box-shadow:0 4px 10px rgba(0,0,0,.28), inset 0 0 0 3px rgba(88,22,36,.84), inset 0 0 0 7px rgba(176,36,63,.96)}
  #blackjack .bj-hand[data-tier="white"]::before{box-shadow:0 4px 10px rgba(0,0,0,.28), inset 0 0 0 3px rgba(151,151,151,.94), inset 0 0 0 7px rgba(242,244,242,.98)}
  #blackjack .bj-hand[data-tier="green"]::before{box-shadow:0 4px 10px rgba(0,0,0,.28), inset 0 0 0 3px rgba(25,80,53,.9), inset 0 0 0 7px rgba(48,132,88,.98)}
  #blackjack .bj-hand[data-tier="black"]::before{box-shadow:0 4px 10px rgba(0,0,0,.28), inset 0 0 0 3px rgba(16,16,18,.95), inset 0 0 0 7px rgba(44,44,49,.98)}
}

@media (max-width: 720px) and (orientation: landscape){
  #blackjack .bj-table-meta{top:126px}
  #blackjack .bj-table-meta span:last-child{display:none}
  #blackjack .bj-dealer-zone::after{display:none}
  #blackjack .bj-player-zone{padding-bottom:22px}
  #blackjack .bj-hand::before{width:33px;height:33px;bottom:-13px;font-size:8px}
}

/* CASINOIR v0.49.01 — blackjack polish pass 4 (outcome ambience + host mood + verdict clarity). */
#blackjack[data-bj-outcome="win"] .bj-table-area,
#blackjack[data-bj-outcome="blackjack"] .bj-table-area{
  box-shadow:inset 0 0 0 1px rgba(255,232,170,.24), inset 0 0 42px rgba(245,205,102,.18), 0 10px 32px rgba(0,0,0,.34);
}
#blackjack[data-bj-outcome="lose"] .bj-table-area,
#blackjack[data-bj-outcome="bust"] .bj-table-area{
  box-shadow:inset 0 0 0 1px rgba(202,170,160,.15), inset 0 0 36px rgba(92,110,120,.16), 0 10px 32px rgba(0,0,0,.34);
}
#blackjack[data-bj-outcome="push"] .bj-table-area,
#blackjack[data-bj-outcome="surrender"] .bj-table-area,
#blackjack[data-bj-outcome="even_money"] .bj-table-area{
  box-shadow:inset 0 0 0 1px rgba(191,223,204,.18), inset 0 0 36px rgba(88,153,122,.12), 0 10px 32px rgba(0,0,0,.34);
}
#blackjack[data-bj-outcome="insurance"] .bj-phase-pill{
  border-color:#9ac7ec;color:#d9f1ff;box-shadow:0 0 0 1px rgba(154,199,236,.16),0 0 18px rgba(96,158,214,.15);
}
#blackjack .bj-hand[data-state="win"],
#blackjack .bj-hand[data-state="blackjack"],
#blackjack .bj-hand[data-state="even_money"]{
  background:linear-gradient(180deg,rgba(44,74,49,.68),rgba(16,41,29,.78));
  border-color:rgba(246,209,116,.45);
  box-shadow:0 0 0 1px rgba(251,223,148,.18),0 0 18px rgba(247,208,110,.13);
}
#blackjack .bj-hand[data-state="push"],
#blackjack .bj-hand[data-state="surrender"]{
  background:linear-gradient(180deg,rgba(32,64,53,.62),rgba(13,34,30,.76));
  border-color:rgba(182,220,197,.34);
  box-shadow:0 0 0 1px rgba(206,234,219,.14),0 0 16px rgba(119,191,154,.1);
}
#blackjack .bj-hand[data-state="lose"],
#blackjack .bj-hand[data-state="bust"]{
  background:linear-gradient(180deg,rgba(51,42,42,.66),rgba(24,22,25,.82));
  border-color:rgba(204,156,150,.25);
  box-shadow:0 0 0 1px rgba(214,170,160,.09),0 0 12px rgba(88,93,100,.1);
}
#blackjack .bj-hand[data-state="blackjack"]::before{
  color:#332613;
  border-color:rgba(255,240,194,.96);
  box-shadow:0 8px 18px rgba(0,0,0,.34), inset 0 0 0 4px rgba(193,147,51,.92), inset 0 0 0 9px rgba(243,212,104,.98);
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.40), rgba(255,255,255,0) 24%), repeating-conic-gradient(from 12deg, #efc84d 0deg 34deg, #fff4c7 34deg 46deg);
}
#blackjack .bj-hand-verdict[data-outcome="win"],
#blackjack .bj-hand-verdict[data-outcome="blackjack"],
#blackjack .bj-hand-verdict[data-outcome="even_money"]{
  color:#fff3ca;
  border-color:rgba(246,213,123,.5);
  background:linear-gradient(180deg,rgba(90,71,26,.48),rgba(35,45,22,.58));
}
#blackjack .bj-hand-verdict[data-outcome="push"],
#blackjack .bj-hand-verdict[data-outcome="surrender"]{
  color:#e8fff1;
  border-color:rgba(170,223,198,.46);
  background:linear-gradient(180deg,rgba(28,73,56,.42),rgba(17,44,34,.52));
}
#blackjack .bj-table-host[data-mood="neutral"] .bj-host-copy{border-color:#d9bc7b8a}
#blackjack .bj-table-host[data-mood="win"] .bj-host-copy strong{color:#fff0bc}
#blackjack .bj-table-host[data-mood="win"] .bj-host-copy p{color:#fff3d6}
#blackjack .bj-table-host[data-mood="push"] .bj-host-copy{border-color:#9cc9b2;box-shadow:0 0 12px rgba(120,190,155,.26)}
#blackjack .bj-table-host[data-mood="push"] .bj-host-copy strong{color:#dff8ea}
#blackjack .bj-table-host[data-mood="lose"] .bj-host-copy p{color:#ebdbd3}
#blackjack .bj-dealer-readout{transition:border-color .2s, color .2s, box-shadow .2s, background .2s}
#blackjack[data-bj-state="playing"] .bj-dealer-readout{border-color:rgba(123,212,171,.36);box-shadow:0 0 12px rgba(57,134,102,.12)}
#blackjack[data-bj-state="settled"] .bj-dealer-readout{border-color:rgba(241,212,130,.34);box-shadow:0 0 12px rgba(214,169,74,.12)}
#blackjack .bj-console-prompt{transition:background .2s,color .2s,box-shadow .2s}
#blackjack[data-bj-state="playing"] .bj-console-prompt{background:#d6efdf;color:#113527;box-shadow:0 0 0 1px rgba(98,164,124,.18),0 0 12px rgba(69,153,98,.12)}
#blackjack[data-bj-state="settled"] .bj-console-prompt{background:#f0deb0;color:#352715;box-shadow:0 0 0 1px rgba(200,159,66,.18),0 0 12px rgba(187,149,64,.14)}
#blackjack .bj-table-meta span:last-child{display:inline-flex}
@media (max-width: 720px) and (orientation: landscape){
  #blackjack .bj-hand[data-state="blackjack"]::before{box-shadow:0 4px 10px rgba(0,0,0,.28), inset 0 0 0 3px rgba(193,147,51,.92), inset 0 0 0 7px rgba(243,212,104,.98)}
}


/* CASINOIR 0.49.01 — responsive table asset and physically anchored practice chips.
   The single AI-generated 4:3 artwork is perspective-fitted into the landscape casino viewport;
   live cards/chips remain DOM elements so they do not become baked into the artwork. */
#blackjack .bj-table-area{background:linear-gradient(180deg,#071c1a,#0d3b2d 72%,#0b1e1c);overflow:hidden;isolation:isolate}
#blackjack .bj-table-area::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border:0;border-radius:0;box-shadow:none;background:linear-gradient(180deg,rgba(0,0,0,.13),transparent 24%,transparent 74%,rgba(0,0,0,.10))}
#blackjack .bj-table-scenery{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;object-position:center;pointer-events:none;user-select:none;z-index:0;display:block;filter:brightness(.96) saturate(1.05)}
#blackjack .bj-table-arc,#blackjack .bj-table-rule,#blackjack .bj-table-meta{display:none!important}
#blackjack .bj-phase-pill{top:clamp(6px,1vh,10px);z-index:7;box-shadow:0 4px 15px rgba(0,0,0,.4)}
#blackjack .bj-table-host{z-index:6;top:clamp(6px,1.5vh,16px);right:clamp(6px,1.4vw,16px)}
#blackjack .bj-host-copy{background:linear-gradient(180deg,rgba(12,20,21,.96),rgba(16,27,26,.89))}
#blackjack .bj-dealer-zone{top:17%;left:50%;width:min(45%,390px);transform:translateX(-50%);min-width:0;padding:2px 5px 4px;background:transparent;border:0;border-radius:0;backdrop-filter:none;box-shadow:none;z-index:3;gap:clamp(2px,.5vh,6px)}
#blackjack .bj-dealer-zone::before,#blackjack .bj-dealer-zone::after{display:none}
#blackjack .bj-zone-title{background:rgba(7,19,18,.83);border-color:rgba(239,202,113,.64);box-shadow:0 3px 10px rgba(0,0,0,.28)}
#blackjack .bj-dealer-readout{background:rgba(5,21,19,.81);border:1px solid rgba(221,197,134,.36);color:#eff6eb;white-space:normal;max-width:min(100%,340px);line-height:1.2;text-wrap:balance;box-shadow:0 5px 11px rgba(0,0,0,.2)}
#blackjack .bj-cards .bj-card,#blackjack .bj-hand-cards .bj-card{box-shadow:0 6px 10px rgba(0,0,0,.43),0 0 0 1px rgba(255,251,233,.18) inset;transform-origin:50% 100%}
#blackjack .bj-card--back{box-shadow:0 7px 12px rgba(0,0,0,.43),inset 0 0 0 2px #e9bc6a}
#blackjack .bj-player-zone{left:50%;top:44%;bottom:auto;width:min(66%,760px);height:clamp(76px,18vh,142px);min-height:0;padding:0;transform:translateX(-50%);z-index:4}
#blackjack .bj-player-zone::before{display:none}
#blackjack .bj-hand{bottom:0;left:50%;box-sizing:border-box;width:clamp(106px,23%,210px);min-width:0;max-width:none;padding:4px 4px 6px;border-radius:10px;border:1px solid rgba(238,208,123,.28);background:linear-gradient(180deg,rgba(7,20,19,.64),rgba(8,26,22,.30));box-shadow:0 5px 14px rgba(0,0,0,.21);backdrop-filter:none;z-index:1;overflow:visible}
#blackjack .bj-hand::before{display:none!important}
#blackjack .bj-hand::after{display:none}
#blackjack .bj-hand-caption{flex-wrap:wrap;gap:3px;justify-content:center;min-height:14px;text-shadow:0 2px 3px rgba(0,0,0,.85)}
#blackjack .bj-hand-caption small{font-size:clamp(7px,.8vw,10px)}
#blackjack .bj-hand.is-active{border:1.5px solid #ffdda0;box-shadow:0 0 0 1px rgba(255,232,179,.25),0 0 14px rgba(255,210,122,.23)}
#blackjack .bj-hand[data-hand-count="2"][data-hand-index="0"]{left:28%}
#blackjack .bj-hand[data-hand-count="2"][data-hand-index="1"]{left:72%}
#blackjack .bj-hand[data-hand-count="2"]{width:clamp(104px,35%,200px)}
#blackjack .bj-hand-cards{min-height:0}
#blackjack .bj-wager-display{position:absolute;top:clamp(5px,1%,12px);left:clamp(8px,1.3%,18px);bottom:auto;transform:none;min-width:0;padding:3px 8px;z-index:5;background:rgba(9,26,23,.88);border-color:rgba(232,196,114,.53);box-shadow:0 5px 16px rgba(0,0,0,.32)}
#blackjack .bj-wager-display .bj-chip-tower{display:none}
#blackjack .bj-table-stakes{position:absolute;inset:0;z-index:5;pointer-events:none}
#blackjack .bj-stack{position:absolute;top:71%;left:50%;width:clamp(39px,4vw,58px);height:clamp(33px,5vw,64px);transform:translate(-50%,-50%);filter:drop-shadow(0 4px 6px rgba(0,0,0,.42));}
#blackjack .bj-stack[data-count="2"][data-spot="0"]{left:28%}
#blackjack .bj-stack[data-count="2"][data-spot="1"]{left:72%}
#blackjack .bj-stack-disc{position:absolute;left:50%;bottom:calc(14px + var(--depth)*4px);transform:translateX(-50%) rotate(-6deg);box-sizing:border-box;width:clamp(33px,4vw,52px);height:clamp(22px,3vw,38px);display:grid;place-items:center;border-radius:50%;border:3px dashed rgba(252,239,211,.94);color:#fff8e8;font:900 clamp(9px,1.1vw,13px)/1 system-ui,sans-serif;text-shadow:0 1px 2px rgba(0,0,0,.48);box-shadow:inset 0 0 0 3px rgba(75,18,28,.7),0 4px 4px rgba(0,0,0,.28);background:repeating-conic-gradient(#a22740 0deg 34deg,#f8e8c4 34deg 46deg)}
#blackjack .bj-stack-disc[data-tier="white"]{background:repeating-conic-gradient(#f8f8f0 0deg 34deg,#91918d 34deg 46deg);box-shadow:inset 0 0 0 3px #e2e2d9,0 4px 4px rgba(0,0,0,.27);color:#252525;text-shadow:none}
#blackjack .bj-stack-disc[data-tier="green"]{background:repeating-conic-gradient(#26784c 0deg 34deg,#f5e9c5 34deg 46deg);box-shadow:inset 0 0 0 3px #226e46,0 4px 4px rgba(0,0,0,.27)}
#blackjack .bj-stack-disc[data-tier="black"]{background:repeating-conic-gradient(#25282d 0deg 34deg,#e9d3aa 34deg 46deg);box-shadow:inset 0 0 0 3px #17191d,0 4px 4px rgba(0,0,0,.27)}
#blackjack .bj-stack-caption{position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);white-space:nowrap;color:#fff2cf;font:900 clamp(8px,.82vw,11px)/1 system-ui,sans-serif;padding:2px 5px;border-radius:9px;background:rgba(3,22,17,.9);border:1px solid rgba(245,214,143,.62);text-shadow:0 1px 2px rgba(0,0,0,.6);font-variant-numeric:tabular-nums}
#blackjack .bj-stack[data-phase="betting"]{opacity:.84}
#blackjack .bj-stack[data-outcome="lose"],#blackjack .bj-stack[data-outcome="bust"]{opacity:.52;filter:grayscale(.45) drop-shadow(0 4px 5px rgba(0,0,0,.36))}
#blackjack .bj-stack[data-outcome="push"],#blackjack .bj-stack[data-outcome="surrender"]{filter:drop-shadow(0 0 5px rgba(196,226,206,.4))}
#blackjack .bj-stack[data-outcome="win"],#blackjack .bj-stack[data-outcome="blackjack"],#blackjack .bj-stack[data-outcome="even_money"]{filter:drop-shadow(0 0 7px rgba(246,211,137,.64))}
#blackjack .bj-result-ribbon{position:absolute;left:clamp(5px,1.4%,16px);top:clamp(50px,22%,128px);transform:none;z-index:7;width:max-content;max-width:min(27%,305px);padding:6px 8px;display:grid;gap:3px;justify-items:center;line-height:1.1;border-radius:9px;pointer-events:none}
#blackjack .bj-result-ribbon strong{font-size:clamp(10px,1vw,17px)}
#blackjack .bj-result-ribbon span{font-size:clamp(8px,.8vw,11px)}
#blackjack .bj-result-ribbon[hidden]{display:none!important;animation:none!important}
#blackjack .bj-result-ribbon:not([hidden]){animation:bjRibbons .35s ease-out both}
@media (max-width:920px) and (orientation:landscape){
 #blackjack .bj-table-area{inset:clamp(43px,12vh,52px) .65% clamp(104px,29vh,126px);background:linear-gradient(180deg,#071c1a,#0d3b2d 72%,#0b1e1c)}
 #blackjack .bj-dealer-zone{top:17%;width:min(48%,335px);padding:0 3px;gap:2px}
 #blackjack .bj-player-zone{top:44%;height:clamp(76px,18vh,90px);width:min(66%,500px)}
 #blackjack .bj-hand{width:clamp(101px,28%,145px);padding:3px 4px 5px}
 #blackjack .bj-hand[data-hand-count="2"]{width:clamp(98px,35%,138px)}
 #blackjack .bj-table-host{top:7px;right:5px;width:clamp(76px,12vw,110px)}
 #blackjack .bj-host-portrait{height:clamp(52px,16vh,78px)}
 #blackjack .bj-host-copy{padding:3px}
 #blackjack .bj-result-ribbon{top:23%;left:5px;max-width:26%;padding:4px 5px}
 #blackjack .bj-wager-display{top:5px;left:7px;padding:2px 6px}
 #blackjack .bj-stack{top:72%}
 #blackjack .bj-stack-disc{width:clamp(31px,4vw,42px);height:clamp(21px,3vw,30px);bottom:calc(12px + var(--depth)*3px);border-width:2px}
 #blackjack .bj-stack-caption{font-size:8px}
}
@media (max-width:720px) and (orientation:landscape){
 #blackjack .bj-dealer-zone{top:16%;width:min(46%,292px)}
 #blackjack .bj-player-zone{top:43%;height:76px;width:min(65%,410px)}
 #blackjack .bj-hand{width:105px}
 #blackjack .bj-hand[data-hand-count="2"]{width:103px}
 #blackjack .bj-hand[data-hand-count="2"][data-hand-index="0"]{left:26%}
 #blackjack .bj-hand[data-hand-count="2"][data-hand-index="1"]{left:74%}
 #blackjack .bj-stack[data-count="2"][data-spot="0"]{left:26%}
 #blackjack .bj-stack[data-count="2"][data-spot="1"]{left:74%}
 #blackjack .bj-stack{top:72%}
 #blackjack .bj-result-ribbon{max-width:24%;font-size:8px}
}
@media (prefers-reduced-motion:reduce){#blackjack .bj-stack,#blackjack .bj-stack-disc,#blackjack .bj-result-ribbon{animation:none!important;transition:none!important}}
@media (max-width:720px) and (orientation:landscape){#blackjack .bj-table-area{bottom:max(113px,29vh)}}
/* Final seat-level spacing: keep dealer hand, player hand and betting circle separate. */
#blackjack .bj-dealer-zone{top:9%}
#blackjack .bj-player-zone{top:38%}
@media (max-width:920px) and (orientation:landscape){
 #blackjack .bj-dealer-zone{top:5%}
 #blackjack .bj-player-zone{top:38%}
 #blackjack .bj-dealer-readout{display:none}
}
/* Separate live status from dealer cards, and keep legible card faces above the chips on small screens. */
#blackjack .bj-phase-pill{left:70%}
@media (max-width:920px) and (orientation:landscape){
 #blackjack .bj-phase-pill{left:70%;top:5px}
 #blackjack .bj-player-zone{top:44%}
 #blackjack .bj-hand-caption small{display:none}
 #blackjack .bj-card{width:clamp(32px,4.5vw,41px);height:clamp(43px,12vh,49px)}
 #blackjack .bj-stack{top:77%}
}

/* The optional insurance wager has a separate place on the printed insurance line. */
#blackjack .bj-insurance-marker{position:absolute;top:43%;left:13%;z-index:6;display:flex;align-items:center;gap:5px;max-width:22%;padding:3px 7px;border-radius:999px;border:1px solid rgba(146,191,233,.68);background:rgba(8,23,35,.88);box-shadow:0 5px 11px rgba(0,0,0,.32);color:#e9f5ff;font:800 clamp(8px,.8vw,11px)/1.2 system-ui,sans-serif;white-space:normal;pointer-events:none;text-wrap:balance}
#blackjack .bj-insurance-marker[hidden]{display:none!important}
#blackjack .bj-insurance-disc{width:clamp(16px,2vw,25px);height:clamp(16px,2vw,25px);flex:none;display:grid;place-items:center;border-radius:50%;border:2px dashed rgba(254,239,217,.92);background:repeating-conic-gradient(#a22740 0deg 34deg,#f8e8c4 34deg 46deg);box-shadow:0 2px 4px rgba(0,0,0,.35),inset 0 0 0 3px #92293d}
#blackjack .bj-insurance-marker[data-status="offer"] .bj-insurance-disc{background:linear-gradient(145deg,#234967,#14384e);box-shadow:0 2px 4px rgba(0,0,0,.35),inset 0 0 0 3px #346583;border-color:#bed4e5}
#blackjack .bj-insurance-marker[data-status="win"]{border-color:#f3d08e;color:#fff0c8;background:rgba(53,42,21,.9)}
#blackjack .bj-insurance-marker[data-status="lose"]{opacity:.75;filter:saturate(.6)}
@media(max-width:920px) and (orientation:landscape){#blackjack .bj-insurance-marker{left:7%;top:42%;max-width:26%;padding:2px 5px;font-size:8px}}
@media(max-width:720px) and (orientation:landscape){#blackjack .bj-insurance-marker{left:6%;max-width:25%;font-size:7px;gap:3px}}


/* v0.53.19: bring Hold'em top-up in front of the table HUD; keep iPhone safe area. */
#topUpModal{z-index:2000!important;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-sizing:border-box}
#topUpModal .cash-flow-panel--compact{box-sizing:border-box;width:min(430px,100%);max-height:calc(100dvh - 16px);overflow-y:auto}
#tablePreview #tableAddChips.is-topup-suggested:not(:disabled){border-color:#e9ba65!important;box-shadow:0 0 0 1px #e9ba6555,0 0 12px #f2bd5966!important;color:#fff4d7!important}


/* CASINOIR v0.54.02 — actual transparent character sprite (no synthetic repaint). */
.cosmetic-swatch--mint-holiday{border-radius:8px;background:linear-gradient(135deg,rgba(164,230,201,.18),rgba(255,249,233,.08));overflow:hidden;display:grid;place-items:center}
.cosmetic-swatch--mint-holiday img{width:100%;height:100%;object-fit:contain;object-position:center;filter:none}
.shop-art--portrait,.collection-art--portrait{display:flex;align-items:center;justify-content:center;overflow:hidden}
.shop-art--portrait img,.collection-art--portrait img{width:100%;height:100%;object-fit:contain;object-position:center;filter:none}

/* CASINOIR v0.54.05 — remove retired player XP/level UI without touching saved XP values. */
#profile .profile-identity{grid-template-rows:auto auto minmax(0,1fr)!important;align-content:start!important}
#profile .profile-avatar{grid-row:1/4!important}
#profile .profile-badge-strip{align-self:start!important}
#profile .profile-panel[data-profile-panel="overview"] .profile-stat-grid{height:100%!important;min-height:0!important}
#profile .achievement-dashboard{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important}
#profile .achievement-dashboard__summary{grid-template-columns:auto auto minmax(0,1fr)!important}
#home .home-profile__copy{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:1px!important}
#home .home-profile__copy small{display:block!important;max-width:100%!important}
#home .home-profile__copy .home-profile__label{font-size:clamp(7px,.68vw,10px)!important;white-space:nowrap!important;color:#d0b67b!important}

/* v0.54.19 — subtitle-first HOME voice interface; overrides retired display:none rule. */
#home #homeDialogue.home-dialogue:not([hidden]) {display:block!important;}
#home #homeDialogue.home-dialogue[hidden] {display:none!important;}
#home #homeDialogue.home-dialogue {padding:7px 9px 7px!important;min-height:0!important;max-height:min(138px,47vh)!important;overscroll-behavior:contain;}
#home .home-voice-header {display:flex;align-items:center;justify-content:space-between;gap:5px;}
#home .home-voice-header small {font-weight:900!important;color:#8f2732!important;}
#home .home-voice-header button,#home .home-voice-actions button {border:1px solid #a87941;background:#fff7dd;color:#452918;border-radius:7px;padding:3px 6px;font-size:clamp(9px,.85vw,11px);line-height:1.15;font-weight:700;touch-action:manipulation;cursor:pointer;}
#home .home-voice-actions{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:4px;flex-wrap:wrap;}
#home .home-voice-actions #homeVoiceSpecial {background:#52345d;color:#fff0c9;border-color:#a87caf;}
#home .home-voice-actions #homeVoiceSpecial[hidden] {display:none!important;}
#home .home-voice-status{display:block;font-size:9px;color:#902c30;line-height:1.18;}
#home .home-voice-status:empty{display:none;}
#home #homeDialogueText {margin:4px 0 0!important;white-space:normal;overflow-wrap:anywhere;line-break:strict;}
#home #homeHostImage {cursor:pointer;touch-action:manipulation;}
@media(max-width:760px) and (orientation:landscape){
 #home #homeDialogue.home-dialogue{max-height:min(130px,51vh)!important;}
 #home .home-voice-header button,#home .home-voice-actions button {font-size:9px;padding:2px 4px;}
}

/* v0.54.20 — voice toggle in SETTINGS, tap-to-show bubble and passive HOME hint. */
#home .home-host-zone .home-voice-hint{
  position:absolute;z-index:8;left:53%;top:28%;right:auto;bottom:auto;pointer-events:none;
  display:inline-flex;align-items:center;gap:5px;padding:5px 9px;
  background:rgba(15,28,31,.90);border:1px solid rgba(245,207,117,.85);
  border-radius:999px;box-shadow:0 3px 12px rgba(0,0,0,.48);
  color:#fff2cf;font:800 clamp(9px,.85vw,11px)/1.2 system-ui,sans-serif;
  white-space:nowrap;text-shadow:0 1px 1px #152119;
}
#home .home-voice-hint__icon{font-size:14px;color:#efce8b;line-height:1}
#home #homeDialogue.home-dialogue[hidden]{display:none!important}
#home .home-host-zone.is-speaking .home-voice-hint{opacity:0}
#home #homeHostImage:focus-visible{outline:2px solid #ffe3a0;outline-offset:3px}
.system-menu-foot>div{flex-wrap:wrap;justify-content:flex-end;max-height:25vh;overflow-y:auto}
.system-menu-foot #homeVoiceToggle[aria-pressed="true"]{border-color:rgba(225,190,101,.65);color:#ffe7a8}
@media (max-width:760px) and (orientation:landscape){
  #home .home-host-zone .home-voice-hint{left:52%;top:29%;gap:3px;padding:3px 6px;font-size:9px}
  #home .home-voice-hint__icon{font-size:11px}
  .system-menu-foot>div{gap:3px}
  .system-menu-foot #homeVoiceToggle{font-size:.31rem}
}
@media(prefers-reduced-motion:reduce){#home .home-voice-hint{animation:none!important}}

/* v0.54.21 — hide the optional action row until Lv.10 is unlocked. */
#home .home-voice-actions:has(#homeVoiceSpecial[hidden]){display:none!important}
