:root {
  --bg: #f3f4f6;
  --panel: #ffffff;
  --ink: #15181d;
  --ink-2: #545b66;
  --ink-3: #8a919c;
  --line: #e2e5ea;
  --accent: #0f7a52;
  --accent-2: #0b6343;
  --accent-soft: #e5f4ed;
  --raise: #c97a00;
  --danger: #c2372f;
  --felt-1: #2f8f66;
  --felt-2: #1d6b4a;
  --rim: #d8dce2;
  --gold: #e6b43c;
  --red-suit: #d12c2c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 14px rgba(16, 24, 40, .06);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { min-height: 100dvh; overscroll-behavior: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; color: inherit; }
a { color: var(--accent); }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hidden { display: none !important; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 11px 16px; font-weight: 600; font-size: 15px; transition: transform .06s, background .15s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.small { padding: 7px 11px; font-size: 13px; border-radius: 10px; }
.btn:disabled { opacity: .45; pointer-events: none; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; position: relative; }
.iconbtn:hover { background: rgba(0, 0, 0, .05); }
.dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }

/* ---------- home ---------- */
.home { max-width: 640px; margin: 0 auto; padding: 20px 16px 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 6px 0 4px; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; display: block; flex: none; }
.tag { color: var(--ink-2); margin: 0 0 22px; }
.card-panel { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; }
.card-panel h2 { font-size: 16px; margin: 0 0 12px; letter-spacing: -.01em; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.input { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; background: #fff; font-size: 16px; }
.input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.code-input { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.seg button.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }
.big-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.big-choice button { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 13px; padding: 14px; }
.big-choice button b { display: block; font-size: 15px; margin-bottom: 3px; }
.big-choice button span { font-size: 13px; color: var(--ink-2); }
.big-choice button.on { border-color: var(--accent); background: var(--accent-soft); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.toggle:first-of-type { border-top: 0; }
.toggle small { display: block; color: var(--ink-2); font-size: 12.5px; margin-top: 2px; }
.switch { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: #cfd4db; position: relative; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { left: 21px; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.list-item:first-child { border-top: 0; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: #eef0f3; color: var(--ink-2); }
.pill.green { background: var(--accent-soft); color: var(--accent-2); }
.pill.amber { background: #fdf1dc; color: #8a5300; }
.pill.red { background: #fbe6e4; color: var(--danger); }
.empty { color: var(--ink-3); font-size: 14px; padding: 6px 0; }
.foot { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 26px; }

/* ---------- table screen ---------- */
.game { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.topbar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; padding-top: max(6px, env(safe-area-inset-top)); background: var(--panel); border-bottom: 1px solid var(--line); }
.topbar .title { flex: 1; min-width: 0; }
.topbar .title b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .title span { font-size: 12px; color: var(--ink-2); }
.fair-chip { display: inline-flex; align-items: center; gap: 5px; border: 0; background: var(--accent-soft); color: var(--accent-2); font-weight: 700; font-size: 12.5px; padding: 7px 10px; border-radius: 99px; }
.fair-chip.warn { background: #fbe6e4; color: var(--danger); }
.fair-chip .icon { width: 16px; height: 16px; }
.banner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 13px; padding: 7px 10px; background: #fff8e8; border-bottom: 1px solid #f1e3bd; color: #6b4a00; }
.banner b { color: #3d2a00; }
.notice { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); background: rgba(21, 24, 29, .86); color: #fff; padding: 7px 13px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; z-index: 5; pointer-events: none; }

.stage { flex: 1; position: relative; display: grid; place-items: center; padding: 34px 26px 30px; min-height: 0; }
.felt { position: relative; width: min(100%, calc((100dvh - 250px) * 0.56)); aspect-ratio: 0.56; border-radius: 999px; background: radial-gradient(ellipse at 50% 45%, var(--felt-1), var(--felt-2) 75%); box-shadow: 0 0 0 10px var(--rim), 0 0 0 11px #c5cad2, inset 0 0 40px rgba(0,0,0,.25), 0 18px 40px rgba(16,24,40,.18); }
@media (min-aspect-ratio: 1/1) {
  .felt { width: min(100%, calc((100dvh - 230px) * 1.9)); aspect-ratio: 1.9; }
}
.center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: 90%; }
.board { display: flex; gap: 5px; justify-content: center; }
.pot { color: #fff; font-weight: 700; font-size: 14px; background: rgba(0,0,0,.22); padding: 4px 12px; border-radius: 99px; }
.result { color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.4); max-width: 100%; }
.waiting { color: rgba(255,255,255,.9); font-size: 14px; text-align: center; max-width: 80%; }
.watermark { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); color: rgba(255,255,255,.14); font-weight: 800; letter-spacing: .08em; font-size: 13px; white-space: nowrap; }

/* cards */
.c { width: 38px; height: 54px; border-radius: 6px; background: #fff; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.25); color: #15181d; position: relative; }
.c.fresh { animation: deal .25s ease-out; }
.c .r { font-size: 19px; letter-spacing: -.04em; }
.c .s { font-size: 17px; margin-top: 1px; }
.c.red { color: var(--red-suit); }
.c.back { background: repeating-linear-gradient(45deg, #2b5ea8 0 4px, #24508f 4px 8px); border: 2px solid #fff; }
.c.slot { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18); }
.c.win { box-shadow: 0 0 0 2px var(--gold), 0 2px 8px rgba(0,0,0,.3); }
.c.dim { opacity: .5; }
@keyframes deal { from { transform: translateY(-8px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) { .c { width: 46px; height: 66px; } .c .r { font-size: 23px; } .c .s { font-size: 20px; } }

/* seats */
.seat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; width: 92px; z-index: 2; }
.seat .cards { display: flex; gap: 2px; height: 40px; margin-bottom: -10px; z-index: 1; }
.seat .cards .c { width: 28px; height: 40px; border-radius: 4px; }
.seat .cards .c .r { font-size: 15px; }
.seat .cards .c .s { font-size: 13px; }
.seat.me .cards { height: 58px; margin-bottom: -12px; }
.seat.me .cards .c { width: 40px; height: 58px; border-radius: 6px; }
.seat.me .cards .c .r { font-size: 20px; }
.seat.me .cards .c .s { font-size: 17px; }
.plate { position: relative; background: var(--panel); border-radius: 12px; padding: 5px 8px 6px; min-width: 84px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.22); border: 2px solid transparent; z-index: 2; }
.plate .nm { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
.plate .st { font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; }
.plate .tagline { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.seat.turn .plate { border-color: var(--gold); }
.seat.folded .plate { opacity: .55; }
.seat.folded .cards { opacity: .35; }
.seat.off .plate { opacity: .6; }
.seat.winner .plate { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,180,60,.45), 0 2px 8px rgba(0,0,0,.22); }
.timer { position: absolute; left: 6px; right: 6px; bottom: 2px; height: 3px; border-radius: 2px; background: #eceef1; overflow: hidden; }
.timer i { display: block; height: 100%; background: var(--accent); transform-origin: left; }
.timer.low i { background: var(--danger); }
.empty-seat { position: absolute; transform: translate(-50%, -50%); border: 1.5px dashed rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 600; z-index: 2; }
.empty-seat.out { border-color: #c5cad2; color: var(--ink-3); background: #fff; }
.seat-dot { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.35); z-index: 1; }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .seat { width: 120px; }
  .plate { min-width: 110px; padding: 7px 10px 8px; }
  .plate .nm { font-size: 14px; max-width: 110px; }
  .plate .st { font-size: 17px; }
  .seat .cards { height: 54px; }
  .seat .cards .c { width: 38px; height: 54px; }
  .seat .cards .c .r { font-size: 19px; } .seat .cards .c .s { font-size: 16px; }
  .seat.me .cards { height: 70px; }
  .seat.me .cards .c { width: 50px; height: 70px; }
  .seat.me .cards .c .r { font-size: 25px; } .seat.me .cards .c .s { font-size: 21px; }
  .bet { font-size: 15px; } .pot { font-size: 16px; }
}
.dealer { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #15181d; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.35); transform: translate(-50%, -50%); z-index: 3; }
.bet { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 4px; color: #fff; font-size: 12.5px; font-weight: 700; z-index: 3; white-space: nowrap; }
.chip { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 2.5px #fff6, 0 1px 2px rgba(0,0,0,.4); border: 1.5px dashed #fff8; }
.handname { font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.45); border-radius: 6px; padding: 2px 6px; margin-top: 3px; white-space: nowrap; }
.won { font-size: 12px; font-weight: 800; color: #1c1300; background: var(--gold); border-radius: 6px; padding: 2px 6px; margin-top: 3px; }

/* action bar: ONE fixed height whatever it shows, so the table above never moves */
.actions { position: relative; z-index: 20; flex: none; box-sizing: border-box; height: calc(76px + max(0px, env(safe-area-inset-bottom) - 10px)); background: var(--panel); border-top: 1px solid var(--line); padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.actions .main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.actions .main .btn { padding: 14px 6px; font-size: 16px; border-radius: 13px; }
.btn.fold { color: var(--danger); }
.btn.call { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.raise { background: var(--raise); border-color: var(--raise); color: #fff; }
/* the bet panel floats above the Raise button instead of pushing the table up */
.raisebox { position: absolute; right: 10px; bottom: calc(100% + 8px); width: 168px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 10px 30px rgba(16,24,40,.28); display: flex; flex-direction: column; gap: 6px; animation: rbin .15s ease-out; }
@keyframes rbin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.raisebox .amt { width: 100%; box-sizing: border-box; text-align: center; font-weight: 800; font-size: 20px; border: 1.5px solid var(--raise); color: var(--raise); border-radius: 10px; padding: 7px 4px; }
.raisebox .presets { display: flex; flex-direction: column; gap: 5px; }
.raisebox .presets button { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 0; font-size: 14px; font-weight: 600; }
.raisebox .presets button.on { border-color: var(--raise); background: #fdf3e2; color: var(--raise); }
.raisebox input[type=range] { width: 100%; accent-color: var(--raise); height: 28px; margin: 0; }
.raisebox .rbx { position: absolute; top: -10px; left: -10px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #2a2f37; color: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.raisebox .rbx .icon { width: 15px; height: 15px; }
@media (min-width: 700px) { .raisebox { width: 200px; right: max(10px, calc(50% - 300px)); } }
.idle { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: nowrap; overflow-x: auto; height: 56px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.pre { display: flex; gap: 8px; justify-content: center; }
.pre label { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 11px; padding: 10px 14px; font-weight: 600; font-size: 14px; }
.pre input { accent-color: var(--accent); width: 18px; height: 18px; }

/* sheets */
.sheet-wrap { position: fixed; inset: 0; background: rgba(15, 18, 24, .35); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { background: var(--panel); width: 100%; max-width: 560px; max-height: 88dvh; overflow: auto; border-radius: 18px 18px 0 0; padding: 18px 18px max(18px, env(safe-area-inset-bottom)); animation: up .2s ease-out; }
@media (min-width: 700px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 18px; } }
.sheet h3 { margin: 0; font-size: 18px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
.check { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.check:first-child { border-top: 0; }
.check .ok { color: var(--accent); font-weight: 800; }
.check .no { color: var(--danger); font-weight: 800; }
.chatlog { display: flex; flex-direction: column; gap: 8px; max-height: 50dvh; overflow: auto; margin-bottom: 10px; }
.chatlog .m b { font-size: 13px; margin-right: 6px; }
.chatlog .m { font-size: 14.5px; }
.standings .list-item b { width: 34px; display: inline-block; }
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); background: #15181d; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; z-index: 60; animation: up .2s; max-width: 90vw; text-align: center; }
.conn { position: fixed; top: 0; left: 0; right: 0; background: var(--danger); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 4px; z-index: 70; }
.chatpop { position: absolute; transform: translate(-50%, -100%); background: #fff; color: #15181d; font-size: 12.5px; padding: 5px 9px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.25); max-width: 150px; z-index: 6; animation: up .2s; pointer-events: none; }

/* verify page */
.verify { max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; }
.verify table { width: 100%; border-collapse: collapse; font-size: 14px; }
.verify td, .verify th { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.deckgrid { display: flex; flex-wrap: wrap; gap: 4px; }
.deckgrid .c { width: 30px; height: 42px; animation: none; }
.deckgrid .c .r { font-size: 15px; } .deckgrid .c .s { font-size: 13px; }
.deckgrid .c.used { box-shadow: 0 0 0 2px var(--accent); }
.deckgrid .c small { position: absolute; top: -7px; right: -5px; font-size: 9px; background: #15181d; color: #fff; border-radius: 4px; padding: 1px 3px; }
.prose p, .prose li { line-height: 1.6; }
.prose h2 { margin-top: 28px; }

/* big tournament page */
.big-choice button:nth-child(3) { grid-column: 1 / -1; }
.tourney .thead { gap: 10px; margin-bottom: 14px; }
.tourney .thead .brand { font-size: 22px; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tstat { background: #f6f7f9; border-radius: 12px; padding: 10px 12px; min-height: 76px; }
.tstat > span { display: block; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.tstat > b { display: block; font-size: 20px; letter-spacing: -.01em; margin: 2px 0; }
.ladder { display: flex; flex-wrap: wrap; gap: 6px; }
.standings .list-item.mine { background: var(--accent-soft); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 10px; }
.standings .list-item b { width: 40px; }
@media (max-width: 420px) { .tstat > b { font-size: 17px; } .tstats { gap: 6px; } }
a.btn { text-decoration: none; }
.bottag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #eef0f3; color: var(--ink-2); padding: 1px 5px; border-radius: 5px; vertical-align: 1px; }

/* webcams */
.camlayer { position: fixed; inset: 0; pointer-events: none; z-index: 4; }
.camtile { position: fixed; border-radius: 50%; overflow: hidden; background: #1d2a24; border: 2.5px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: left .25s, top .25s; }
.camtile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.camtile.me video { transform: scaleX(-1); }
.camtile .micoff { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--danger); border: 2px solid #fff; }
.iconbtn#cam.on { color: var(--accent-2); background: var(--accent-soft); }

/* following the hand */
.ticker { color: rgba(255,255,255,.88); font-size: 12.5px; font-weight: 600; text-align: center; margin-top: 6px; min-height: 17px; max-width: 92%; }
.c.fresh { animation: deal .35s ease-out both; }
.fxlayer { position: fixed; inset: 0; pointer-events: none; z-index: 7; }
.actpop { position: fixed; transform: translate(-50%, -100%); padding: 5px 11px; border-radius: 99px; font-size: 13px; font-weight: 800; color: #fff; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,.3); opacity: 0; animation: actpop 1.9s ease-out both; }
.actpop.fold { background: #5b6470; }
.actpop.call { background: var(--accent); }
.actpop.raise { background: #c97a00; }
@keyframes actpop { 0% { opacity: 0; transform: translate(-50%, -60%) scale(.7); } 12% { opacity: 1; transform: translate(-50%, -100%) scale(1.08); } 20% { transform: translate(-50%, -100%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -130%); } }
.muck { position: fixed; width: 22px; height: 31px; border-radius: 4px; background: repeating-linear-gradient(45deg, #1f4fa8 0 4px, #2a5fc0 4px 8px); border: 1.5px solid #fff; opacity: 0; animation: muck .8s ease-in both; }
@keyframes muck { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(160deg) scale(.6); } }
.myhand { margin-top: 4px; background: rgba(21,24,29,.82); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.camtile.spot { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,177,58,.45), 0 6px 18px rgba(0,0,0,.35); animation: camspot .3s ease-out; }
.camtile.talk { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(26,140,90,.45), 0 6px 18px rgba(0,0,0,.35); }
@keyframes camspot { from { transform: scale(.6); opacity: .3; } }
.talkbtn { position: fixed; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 8; display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 99px; border: 0; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; box-shadow: 0 3px 12px rgba(0,0,0,.25); user-select: none; -webkit-user-select: none; touch-action: none; }
.talkbtn.on { background: var(--accent); color: #fff; transform: scale(1.06); }
.talkbtn[hidden] { display: none; }

/* view switch */
.viewchip { position: absolute; top: 8px; left: 10px; z-index: 6; display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 99px; padding: 6px 11px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; box-shadow: 0 1px 5px rgba(0,0,0,.15); }
.viewchip .icon { width: 15px; height: 15px; }

/* Story view */
.stage.story { display: flex; flex-direction: column; place-items: stretch; padding: 0; }
.map { position: relative; flex: none; height: 150px; padding: 10px 14px 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
.map .viewchip { top: 8px; left: auto; right: 10px; }
.mapfelt { position: relative; height: 100%; max-width: 360px; margin: 0 auto; border-radius: 999px; background: radial-gradient(ellipse at 50% 45%, var(--felt-1), var(--felt-2) 75%); box-shadow: 0 0 0 5px var(--rim), 0 0 0 6px #c5cad2; }
.mapmid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.mboard { display: flex; gap: 2px; justify-content: center; }
.mboard .c { width: 19px; height: 26px; border-radius: 3px; }
.mboard .c .r { font-size: 10.5px; } .mboard .c .s { font-size: 9px; }
.mpot { color: #fff; font-size: 11px; font-weight: 700; margin-top: 3px; }
.mseat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.mdot { width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); transition: transform .2s; }
.mst { font-size: 10px; font-weight: 700; color: #fff; background: rgba(21,24,29,.7); border-radius: 6px; padding: 0 4px; margin-top: -3px; }
.mseat.turn .mdot { transform: scale(1.25); box-shadow: 0 0 0 3px var(--gold), 0 0 14px rgba(230,180,60,.9); animation: pulse 1.2s ease-in-out infinite; }
.mseat.me .mdot { border-color: #b8f0d4; }
.mseat.folded, .mseat.out { opacity: .4; }
.mseat.winner .mdot { box-shadow: 0 0 0 3px var(--gold); }
.md { position: absolute; right: -10px; top: -6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; color: #15181d; font-size: 9px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.mempty { position: absolute; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.45); background: transparent; padding: 0; }
.mempty.sit { width: 28px; height: 28px; color: #fff; font-weight: 800; font-size: 16px; border-color: rgba(255,255,255,.8); }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px var(--gold), 0 0 20px rgba(230,180,60,.9); } }

.feed { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 12px 14px; -webkit-overflow-scrolling: touch; }
.feed .hand.old { opacity: .62; }
.hhead { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin: 16px 2px 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.hand:first-child .hhead { border-top: 0; margin-top: 4px; }
.sys { text-align: center; font-size: 12.5px; color: var(--ink-2); margin: 5px 0; }
.line { display: flex; align-items: flex-end; gap: 7px; margin: 6px 0; }
.line.me { justify-content: flex-end; }
.av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.bubble { max-width: 78%; background: #fff; border-radius: 16px 16px 16px 5px; padding: 7px 12px; font-size: 14.5px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.07); animation: up .2s; }
.line.me .bubble { border-radius: 16px 16px 5px 16px; }
.bubble .who { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 1px; }
.bubble.fold { background: #eceef1; color: var(--ink-2); }
.bubble.call { background: #e6f4ec; color: #105f3c; }
.bubble.raise { background: #fdf0d9; color: #8a5300; }
.line.me .bubble.fold { background: #dfe2e6; }
.bubble.cards-b, .line.show .bubble { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; background: #fff; }
.bubble.cards-b .lbl, .line.show .bubble .who { width: 100%; }
.bubble .c, .street .c, .mine .c { width: 30px; height: 42px; border-radius: 5px; }
.bubble .c .r, .street .c .r { font-size: 16px; } .bubble .c .s, .street .c .s { font-size: 13px; }
.line.show .hn { margin-left: 6px; font-size: 13px; color: var(--ink-2); }
.street { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 10px; padding: 8px 10px; background: linear-gradient(90deg, transparent, var(--felt-1) 15%, var(--felt-2) 85%, transparent); border-radius: 12px; }
.street .sname { color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.street .sboard { display: flex; gap: 3px; }
.street .c.old { opacity: .75; transform: scale(.9); }
.street .spot { color: #fff; font-size: 12px; font-weight: 700; }
.stage.story .won { margin: 10px auto 4px; text-align: center; background: #fdf1dc; color: #6e4300; border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: 14px; display: flex; gap: 7px; align-items: center; justify-content: center; }
.line.thinking .bubble { background: #fff; border: 2px solid var(--gold); min-width: 150px; }
.line.thinking .timer { margin-top: 6px; }
.dots i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); margin-left: 3px; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.mine { flex: none; display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: var(--panel); border-top: 1px solid var(--line); }
.mine .mcards { display: flex; gap: 3px; }
.mine .c { width: 38px; height: 53px; } .mine .c .r { font-size: 19px; } .mine .c .s { font-size: 16px; }
.mine .minfo { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; color: var(--ink-2); }
.mine .minfo b { color: var(--ink); font-size: 15px; }
.mine .mstack { text-align: right; font-weight: 800; font-size: 16px; } .mine .mstack small { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.map .viewchip { top: auto; bottom: 8px; right: 10px; }
.stage.story { align-items: center; }
.stage.story .map, .stage.story .mine { width: 100%; }
.stage.story .feed { width: min(100%, 700px); }
.stage.story .mine { justify-content: center; }
.stage.story .mine > .minfo { max-width: 460px; }
.topbar .title span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body:has(#stage.story) .talkbtn { bottom: auto; top: calc(268px + env(safe-area-inset-top)); }
.whoseturn { color: #fff; font-size: 14px; margin-top: 6px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.whoseturn b { color: #ffe08a; }
.plate .tagline { white-space: nowrap; }

/* Seated view: the same table seen from your chair. The felt tips away from you (real 3D), chips, board and
   pot lie flat on it, and the players stand up on the rim facing you, smaller the farther away they sit. */
.stage.across { perspective: 900px; perspective-origin: 50% 0%; padding: 0 0 22px; align-items: end; overflow: hidden; }
.stage.across .felt { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%) rotateX(46deg); transform-origin: 50% 100%; transform-style: preserve-3d; width: min(118%, calc((100dvh - 150px) * 0.7)); aspect-ratio: 0.6; }
@media (min-aspect-ratio: 1/1) {
  .stage.across { perspective: 1400px; }
  .stage.across .felt { width: min(90%, calc((100dvh - 140px) * 1.3)); aspect-ratio: 1.2; }
}
.stage.across .seat, .stage.across .empty-seat, .stage.across .seat-dot, .stage.across .chatpop { transform: translate(-50%, -100%) rotateX(-46deg); transform-origin: 50% 100%; }
.stage.across .seat { margin-top: 22px; }
.stage.across .seat.me { margin-top: 40px; }
.stage.across .watermark:not(.sponsor) { display: none; }

/* members + sponsored tournaments */
.acct { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; background: #fff; border-radius: 14px; padding: 10px 14px; margin: 0 0 14px; box-shadow: 0 1px 2px rgba(0,0,0,.06); font-size: 13.5px; }
.acct .icon { width: 18px; height: 18px; color: var(--accent); }
.acct > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.linkbtn { background: none; border: 0; color: var(--ink-2); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; }
.sponsored .pill { white-space: nowrap; }
.splogo-sm { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; box-shadow: 0 0 0 1px var(--line); }
.splogo-md { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; flex: none; box-shadow: 0 0 0 1px var(--line); }
.sponsorcard .spname { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.sponsorcard .spname a { color: inherit; }
.prizes { display: grid; gap: 6px; margin-top: 12px; }
.prize { display: flex; gap: 10px; align-items: baseline; background: #fff8e8; border-radius: 10px; padding: 8px 12px; }
.prize span { font-size: 12px; font-weight: 800; color: #8a5a00; min-width: 30px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 8px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
select.input { appearance: auto; }
.claim h3 { display: flex; gap: 8px; align-items: center; margin: 14px 0 6px; font-size: 16px; }
.claimdone { display: flex; gap: 10px; align-items: center; background: var(--accent-soft); border-radius: 12px; padding: 10px 12px; margin-top: 10px; font-size: 14px; }
.watermark.sponsor { display: flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255,255,255,.5); top: 16%; letter-spacing: .02em; font-size: 12px; }
.watermark.sponsor img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; background: rgba(255,255,255,.92); padding: 4px; opacity: .9; }
.spcard { position: fixed; left: 50%; top: 68px; transform: translateX(-50%); z-index: 40; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 10px 10px 10px 12px; box-shadow: 0 10px 30px rgba(16,24,40,.25); width: min(94vw, 460px); animation: spin .35s ease-out; transition: opacity .35s, transform .35s; }
.spcard.bye { opacity: 0; transform: translate(-50%, -10px); }
.spcard img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; flex: none; }
.spcard > div { flex: 1; min-width: 0; }
.spcard .small { color: var(--ink-2); }
.spcard .spn { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.spcard .spad { font-size: 13.5px; margin-top: 2px; }
@keyframes spin { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translateX(-50%); } }
.offer { display: flex; gap: 12px; align-items: center; background: #fff8e8; border-radius: 12px; padding: 12px; margin-top: 12px; }
.offer img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: #fff; flex: none; }
.testbar { background: #2a2f37; color: #fff; font-size: 12.5px; font-weight: 600; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; text-align: center; }

/* winning a pot: chips slide from the middle to the winner, whose plate glows */
.potchip { position: fixed; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 2.5px #fff7, 0 2px 4px rgba(0,0,0,.4); border: 1.5px dashed #fff9; animation: potslide .75s cubic-bezier(.5,0,.3,1) both; }
@keyframes potslide { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 12% { opacity: 1; transform: translate(0, 0) scale(1); } 88% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(.9); opacity: 0; } }
.winpop { position: fixed; transform: translate(-50%, -100%); background: var(--gold); color: #1c1300; font-weight: 800; font-size: 15px; padding: 4px 11px; border-radius: 99px; box-shadow: 0 4px 12px rgba(0,0,0,.3); white-space: nowrap; animation: winpop 2.4s ease-out both; }
@keyframes winpop { 0% { opacity: 0; transform: translate(-50%, -60%) scale(.7); } 15% { opacity: 1; transform: translate(-50%, -100%) scale(1.08); } 25% { transform: translate(-50%, -100%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -150%); } }
.seat.winner .plate { animation: winglow 1.1s ease-in-out 3; }
@keyframes winglow { 0%, 100% { box-shadow: 0 0 0 3px rgba(230,180,60,.45), 0 2px 8px rgba(0,0,0,.22); } 50% { box-shadow: 0 0 0 7px rgba(230,180,60,.75), 0 0 26px rgba(230,180,60,.9); } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.three { display: grid; grid-template-columns: 1.6fr .9fr 1fr; gap: 0 8px; }
[hidden] { display: none !important; }

/* ---------- TV screen (/tv/CODE): sized by the screen, readable across a room ---------- */
body.tvmode { background: #0f2a20; overflow: hidden; cursor: none; }
.tv { height: 100vh; width: 100vw; color: #fff; font-size: 1.6vh; box-sizing: border-box; }
.tvload { display: grid; place-items: center; height: 100vh; font-size: 4vh; color: #cfe; }
.tv .tvlab { font-size: 1.7vh; text-transform: uppercase; letter-spacing: .08em; color: #9fc9b5; font-weight: 700; }
.tv .tvsub { font-size: 2.2vh; color: #cfe3d8; }
.tvbrand { font-weight: 800; font-size: 3.4vh; display: flex; gap: 1vh; align-items: center; }
.tvbrand .mark { width: 5vh; height: 5vh; font-size: 3vh; }
.tvsp { display: flex; gap: 1.6vh; align-items: center; }
.tvsp img { width: 9vh; height: 9vh; object-fit: contain; background: #fff; border-radius: 1.6vh; padding: .5vh; flex: none; }
.tvsp .tvspn { font-size: 3.4vh; font-weight: 800; letter-spacing: -.01em; }
.tvsp .tvad { font-size: 2vh; color: #f4d58d; margin-top: .3vh; }
.tvsp.big img { width: 16vh; height: 16vh; }
.tvsp.big .tvspn { font-size: 5vh; }
.tvsp.big .tvad { font-size: 2.8vh; }
/* playing */
.tvplay { display: grid; grid-template-columns: 1fr 34vw; gap: 2vh; padding: 2.4vh; background: radial-gradient(ellipse at 35% 40%, #174a37, #0b2219 70%); }
.tvmain { display: flex; flex-direction: column; min-width: 0; }
.tvhead { display: flex; justify-content: space-between; align-items: baseline; font-size: 3vh; padding: 0 1vh 1vh; }
.tvhead span { color: #9fc9b5; font-size: 2.4vh; }
.tvtable { flex: 1; display: grid; place-items: center; min-height: 0; padding: 7vh 8vh; }
.tvfelt { position: relative; width: 100%; height: 100%; border-radius: 999px; background: radial-gradient(ellipse at 50% 45%, var(--felt-1), var(--felt-2) 75%); box-shadow: 0 0 0 1.4vh #3a2a1c, 0 0 0 1.6vh #1a120b, inset 0 0 6vh rgba(0,0,0,.35), 0 3vh 6vh rgba(0,0,0,.4); }
.tvwm { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); opacity: .35; }
.tvwm img { width: 10vh; height: 10vh; object-fit: contain; border-radius: 1.5vh; background: #fff; padding: .6vh; }
.tvcenter { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -45%); display: flex; flex-direction: column; align-items: center; gap: 1.2vh; text-align: center; width: 70%; }
.tvboard { display: flex; gap: .8vh; }
.tv .c { width: 7.4vh; height: 10.4vh; border-radius: 1vh; }
.tv .c .r { font-size: 4vh; } .tv .c .s { font-size: 3.4vh; }
.tvpot { font-size: 3.2vh; font-weight: 800; background: rgba(0,0,0,.28); padding: .5vh 2vh; border-radius: 99px; }
.tvturn { font-size: 2.6vh; font-weight: 700; color: #f4d58d; }
.tvres { font-size: 2.8vh; font-weight: 700; color: #f4d58d; }
.tvseat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; transition: opacity .3s; }
.tvseat .tvcards { display: flex; gap: .4vh; height: 7vh; margin-bottom: -1.6vh; }
.tvseat .tvcards .c { width: 5vh; height: 7vh; border-radius: .7vh; }
.tvseat .tvcards .c .r { font-size: 2.6vh; } .tvseat .tvcards .c .s { font-size: 2.2vh; }
.tvplate { background: #fff; color: #15181d; border-radius: 1.4vh; padding: .7vh 1.6vh; min-width: 13vh; text-align: center; box-shadow: 0 .6vh 1.6vh rgba(0,0,0,.35); border: .35vh solid transparent; position: relative; z-index: 1; }
.tvplate b { display: block; font-size: 2.2vh; white-space: nowrap; max-width: 18vh; overflow: hidden; text-overflow: ellipsis; }
.tvplate span { display: block; font-size: 2.6vh; font-weight: 800; }
.tvplate i { display: block; font-style: normal; font-size: 1.5vh; font-weight: 700; text-transform: uppercase; color: #6b7280; letter-spacing: .04em; }
.tvplate em { position: absolute; left: 50%; top: 100%; transform: translate(-50%, .6vh); font-style: normal; background: var(--gold); color: #1c1300; font-weight: 800; font-size: 2vh; padding: .2vh 1.2vh; border-radius: 99px; white-space: nowrap; }
.tvseat.turn .tvplate { border-color: var(--gold); box-shadow: 0 0 0 .6vh rgba(230,180,60,.45), 0 .6vh 1.6vh rgba(0,0,0,.35); }
.tvseat.folded { opacity: .5; }
.tvseat.off { opacity: .35; }
.tvseat.winner .tvplate { border-color: var(--gold); animation: winglow 1.1s ease-in-out 3; }
.tvbet { position: absolute; transform: translate(-50%, -50%); display: flex; gap: .6vh; align-items: center; font-weight: 800; font-size: 2.2vh; }
.tvbet .chip { width: 2vh; height: 2vh; }
.tvdealer { position: absolute; transform: translate(-50%, -50%); width: 3.4vh; height: 3.4vh; border-radius: 50%; background: #fff; color: #111; font-weight: 800; font-size: 1.8vh; display: grid; place-items: center; }
.tvside { display: flex; flex-direction: column; gap: 1.6vh; min-height: 0; }
.tvbox { background: rgba(255,255,255,.07); border-radius: 2vh; padding: 1.6vh 2vh; }
.tvbig { font-size: 7vh; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.tvmid { font-size: 4vh; font-weight: 800; }
.tvmid small { font-size: 2vh; color: #9fc9b5; font-weight: 600; }
.tvrow { display: grid; grid-template-columns: 1fr 1fr; gap: 1vh; }
.tvlead { display: grid; grid-template-columns: 3vh 1fr auto; gap: 1vh; align-items: baseline; font-size: 2.5vh; padding: .35vh 0; }
.tvlead span { color: #9fc9b5; font-weight: 700; font-size: 2vh; }
.tvlead b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvlead em { font-style: normal; font-weight: 800; }
.tvlead.out { opacity: .6; font-size: 2.1vh; }
.tvjoin { display: flex; gap: 1.6vh; align-items: center; margin-top: auto; }
.tvjoin .qr { border-radius: 1vh; flex: none; width: 13vh; height: 13vh; }
.tvurl { font-size: 2.2vh; font-weight: 700; word-break: break-all; }
/* sign-ups */
.tvwait { display: grid; grid-template-columns: 1fr 44vh; gap: 6vh; align-items: center; padding: 6vh 7vh; background: radial-gradient(ellipse at 30% 30%, #174a37, #0b2219 70%); }
.tvwait h1 { font-size: 8vh; margin: 3vh 0 2vh; letter-spacing: -.02em; line-height: 1; }
.tvprizes { display: flex; flex-direction: column; gap: 1.2vh; margin-bottom: 3vh; }
.tvprizes div { font-size: 3.6vh; font-weight: 700; background: rgba(244,213,141,.14); border-radius: 1.6vh; padding: 1.2vh 2vh; }
.tvprizes span { color: #f4d58d; margin-right: 2vh; font-size: 2.6vh; }
.tvstarts { font-size: 4.4vh; margin-bottom: 1vh; }
.tvstarts b { color: #f4d58d; }
.tvnames { display: flex; flex-wrap: wrap; gap: 1vh; margin-top: 3vh; max-height: 16vh; overflow: hidden; }
.tvnames span { background: rgba(255,255,255,.1); border-radius: 99px; padding: .6vh 1.6vh; font-size: 2.2vh; }
.tvwr { text-align: center; }
.tvwr .qr { width: 40vh; height: 40vh; border-radius: 2vh; }
.tvscan { font-size: 4vh; font-weight: 800; margin-top: 2vh; }
/* the winner */
.tvdone { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2vh; background: radial-gradient(ellipse at 50% 40%, #2b5d45, #0b2219 70%); }
.tvwinner { font-size: 13vh; margin: 0; color: #f4d58d; letter-spacing: -.02em; line-height: 1; }
.tvpod { display: flex; gap: 5vh; font-size: 3.6vh; font-weight: 700; }
.tvpod span { color: #9fc9b5; margin-right: 1.2vh; }
.tvoffer { font-size: 3.2vh; background: rgba(244,213,141,.16); border-radius: 2vh; padding: 1.6vh 3vh; max-width: 70vw; }

/* TV picker (/tv with no code) */
.tvhome{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:60px;text-align:center}
.tvhome h1{font-size:64px;margin:0}
.tvbrand{display:flex;align-items:center;gap:12px;font-size:26px;font-weight:700;opacity:.85}
.tvbrand svg{width:32px;height:32px}
.tvpicks{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:18px;width:min(1300px,100%)}
.tvpick{min-width:0;display:flex;align-items:center;gap:20px;padding:22px 26px;border-radius:18px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;text-align:left;font-size:30px}
.tvpick:hover,.tvpick:focus{background:rgba(255,255,255,.16);outline:3px solid #f2d38a}
.tvpick img,.tvpickic{width:76px;height:76px;border-radius:14px;background:#fff;object-fit:contain;flex:none;display:grid;place-items:center;color:#1f5c45}
.tvpickic svg{width:40px;height:40px}
.tvpick small{display:block;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.75;margin-top:4px}
.tvcode{display:flex;gap:12px}
.tvcode input{font:inherit;font-size:34px;width:300px;padding:14px 20px;border-radius:14px;border:0;text-transform:uppercase;letter-spacing:.12em;text-align:center}
.tvcode button{font:inherit;font-size:30px;font-weight:700;padding:14px 30px;border-radius:14px;border:0;background:#f2d38a;color:#1d2a22;cursor:pointer}
.tvhome .tvsub a{color:#f2d38a}
.tvpick>span{min-width:0}
