/* Three Sisters — page furniture from the Lost Cities styles (garden green), the drawn sheets and rondel at the end. */
:root {
  --felt-glow: #7a9a3e; /* the glow at the top of the home page */
  --sheet: #23301a; /* pop-up window background */
  --felt: #46642a;
  --felt-dark: #1c2a10;
  --gold: #f5b700;
  --gold-deep: #c98a00;
  --ink: #1d1d1f;
  --paper: #fffdf6;
  --panel: rgba(28, 36, 14, 0.86);
  --text: #f4f1e8;
  --muted: #b9c8bf;
  --cw: 70px;
  --ch: 100px;
  --pw: 64px;
  --ph: 92px;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

input { -webkit-user-select: text; user-select: text; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- shared bits ---------- */
#home, #lobby {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: radial-gradient(ellipse at 50% 20%, var(--felt-glow) 0%, var(--felt) 40%, var(--felt-dark) 100%);
}
.home-wrap { max-width: 560px; margin: 0 auto; padding: 24px 16px 48px; }
.brand { text-align: center; margin: 8px 0 20px; }
.brand h1 { font-family: Georgia, "Times New Roman", serif; font-size: 44px; margin: 8px 0 0; letter-spacing: 1px; text-shadow: 0 3px 0 rgba(0,0,0,.3); }

.panel { background: var(--panel); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px; margin: 14px 0; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.panel h2 { margin: 0 0 8px; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.field { display: block; margin: 8px 0 4px; }
.field span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.field input { width: 100%; font-size: 20px; padding: 12px 14px; border-radius: 12px; border: 2px solid rgba(255,255,255,.15); background: rgba(0,0,0,.3); color: var(--text); outline: none; }
.row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.btn { border: 0; border-radius: 12px; padding: 12px 18px; font-size: 17px; font-weight: 700; background: rgba(255,255,255,.12); }
.btn.gold:disabled { filter: grayscale(.8); opacity: .6; }
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.25); }
.btn.danger { background: #a3242f; }
.btn.small { padding: 8px 12px; font-size: 15px; }
.linkish { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--gold); text-decoration: underline; font-size: 15px; }

.count-picker { display: flex; gap: 8px; margin: 8px 0 14px; }
.count-picker button { flex: 1; font-size: 22px; font-weight: 700; padding: 10px 0; border-radius: 12px; border: 2px solid rgba(255,255,255,.2); background: rgba(0,0,0,.25); }
.count-picker button.on { border-color: var(--gold); background: rgba(245,183,0,.2); color: var(--gold); }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4be08c; box-shadow: 0 0 8px #4be08c; animation: pulse 1.6s infinite; }
.game-list { display: flex; flex-direction: column; gap: 8px; }
.game-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.game-item .code { font-family: ui-monospace, Menlo, Consolas, monospace; background: rgba(0,0,0,.35); padding: 2px 6px; border-radius: 6px; font-size: 13px; margin-left: 6px; }

.code-row { display: flex; align-items: baseline; justify-content: space-between; }
.code-row strong { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 30px; color: var(--gold); letter-spacing: 4px; }
.seat-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.seat-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.seat-list li.empty { opacity: .5; border: 2px dashed rgba(255,255,255,.2); background: transparent; }
.seat-list .tag { font-size: 12px; color: var(--muted); }

.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 18px; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 2px 6px rgba(0,0,0,.4); flex: none; text-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* ---------- table ---------- */
#table { overflow: hidden; touch-action: none; }
.felt {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255,255,255,.10), transparent 60%),
    repeating-radial-gradient(circle at 30% 30%, rgba(0,0,0,.025) 0 2px, transparent 2px 4px),
    radial-gradient(ellipse at 50% 40%, #8a5530 0%, var(--felt) 45%, var(--felt-dark) 100%);
}
.topbar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 6px calc(10px + var(--safe-r)) 0 calc(10px + var(--safe-l)); z-index: 5; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.round-info { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.top-buttons { display: flex; gap: 6px; }
.icon-btn { height: 34px; min-width: 34px; padding: 0 8px; border-radius: 10px; border: 0; background: rgba(0,0,0,.35); font-size: 16px; display: flex; align-items: center; gap: 4px; }
.icon-btn span { font-size: 13px; font-weight: 700; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 12px; animation: fade .2s ease-out; }
.sheet.narrow { width: 420px; }
.sheet.wide { width: 900px; }
.sheet h2 { margin: 0 0 10px; font-family: Georgia, serif; }
.sheet .btn { margin-top: 8px; }
.sheet .btn.ghost, .sheet .btn.danger { width: 100%; }
.toggle { display: flex; gap: 10px; align-items: center; font-size: 15px; margin: 8px 0; }
.toggle input { width: 22px; height: 22px; }
.rules h3 { color: var(--text); margin: 0 0 4px; font-size: 15px; }
.rules p { margin: 4px 0; }
.claim-list { display: flex; flex-direction: column; gap: 8px; }
.claim-list button { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08); font-size: 17px; font-weight: 700; text-align: left; }

.score-table-wrap { overflow-x: auto; }
table.scores { border-collapse: collapse; width: 100%; font-size: 14px; }
table.scores th, table.scores td { padding: 5px 8px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.08); white-space: nowrap; }
table.scores th { font-size: 13px; }
table.scores td.rd { color: var(--muted); text-align: left; }
table.scores tr.current td { background: rgba(245,183,0,.12); }
table.scores tr.total td { font-weight: 900; font-size: 16px; border-top: 2px solid rgba(255,255,255,.3); }
table.scores td.zero { color: #4be08c; font-weight: 800; }
table.scores td.leader { color: var(--gold); }
table.scores .th-name { display: inline-flex; align-items: center; gap: 4px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.result-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.05); margin-bottom: 6px; }
.result-row.out { background: rgba(245,183,0,.15); border: 1px solid rgba(245,183,0,.5); }
.result-row .who { width: 110px; flex: none; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.result-row .who .avatar { width: 28px; height: 28px; font-size: 13px; }
.result-row .cards { flex: 1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.result-row .left { display: flex; gap: 3px; padding: 3px; border-radius: 6px; background: rgba(214,40,58,.25); outline: 1px dashed rgba(255,120,120,.6); }
.result-row .pts { width: 70px; text-align: right; font-weight: 900; font-size: 18px; }
.result-row .pts small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.winner-banner { text-align: center; font-size: 22px; margin: 4px 0 12px; }
.winner-banner .big { font-size: 48px; display: block; animation: float 1.4s ease-in-out infinite; }

.rotate { display: none; }
@media (orientation: portrait) {
  body.in-game .rotate { display: flex; position: fixed; inset: 0; z-index: 100; flex-direction: column; align-items: center; justify-content: center; background: var(--felt-dark); font-size: 20px; text-align: center; padding: 24px; }
  .rotate-phone { font-size: 80px; animation: turn 2s ease-in-out infinite; }
}

.toast { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 90; background: #222; color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.5); animation: rise .2s ease-out; max-width: 90vw; }

.your-turn-flash { position: absolute; inset: 0; z-index: 25; pointer-events: none; box-shadow: inset 0 0 60px 10px rgba(245,183,0,.7); animation: fadeOut 1.2s ease-out forwards; }

@keyframes glow { 0%,100% { box-shadow: 0 0 0 3px var(--gold), 0 0 10px 3px rgba(245,183,0,.6); } 50% { box-shadow: 0 0 0 3px var(--gold), 0 0 22px 8px rgba(245,183,0,.95); } }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -4px); } }

.back-link { display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px; padding: 4px 0; }
.back-link:active { color: var(--gold); }
.linkbtn { display: block; text-align: center; text-decoration: none; box-sizing: border-box; margin-top: 8px; }

/* Shell pieces copied from ud.css: the history list, its delete button (🗑), the lobby's bot rows, confetti */
.celebrate { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 70; pointer-events: none; }
/* game history */
#historyBtn { margin-top: 4px; }
.win-tally { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.win-chip b { color: var(--gold); margin-left: 4px; }
.history-list { display: flex; flex-direction: column; gap: 8px; }
.history-item { background: rgba(255,255,255,.06); border-radius: 12px; overflow: hidden; }
.history-item.open { background: rgba(255,255,255,.1); }
.history-item.incomplete .hi-title { color: var(--muted); }
.hi-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; }
.hi-main { flex: 1; min-width: 0; }
.hi-date { font-size: 12px; color: var(--muted); }
.hi-title { font-size: 16px; margin: 2px 0; }
.hi-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hi-del { border: 0; background: rgba(0,0,0,.25); border-radius: 10px; width: 36px; height: 36px; font-size: 16px; flex: none; }
.hi-detail { padding: 0 12px 12px; overflow-x: auto; }
.seat-list li.can-bot { flex-wrap: wrap; }
.bot-tag { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 4px; }


/* ================= Three Sisters ================= */
.felt {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255,255,255,.08), transparent 60%),
    repeating-radial-gradient(circle at 30% 30%, rgba(0,0,0,.03) 0 2px, transparent 2px 4px),
    radial-gradient(ellipse at 50% 40%, #6b8a3a 0%, var(--felt) 45%, var(--felt-dark) 100%);
}
.ts-title { font-family: Georgia, "Times New Roman", serif; letter-spacing: 3px; text-transform: uppercase; }
.brand-crops { font-size: 46px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.brand-crops span { display: inline-block; transform: translateY(-8px) rotate(-12deg); }
.trump-pill { background: rgba(0,0,0,.35); padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.round-info { gap: 6px; font-size: 15px; }
.tabs { display: flex; background: rgba(0,0,0,.35); border-radius: 999px; padding: 2px; pointer-events: auto; }
.tabs button { border: 0; background: none; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--muted); }
.tabs button.on { background: var(--gold); color: #3a2800; }

/* ---------- the table: players | sheet | rondel + to-do ---------- */
#table { --left: calc(86px + var(--safe-l)); --right: calc(min(230px, 30vw) + var(--safe-r)); --die: 24px; }
.ts-players { position: absolute; left: 0; top: 42px; bottom: calc(4px + var(--safe-b)); width: var(--left); padding: 0 3px 0 calc(3px + var(--safe-l)); display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; z-index: 3; overflow-y: auto; touch-action: pan-y; }
.pchip { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 3px 5px; border-radius: 10px; border: 2px solid transparent; background: rgba(0,0,0,.32); text-align: left; width: 100%; flex: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: pan-y; }
.pchip .pc-top { display: flex; align-items: center; gap: 4px; width: 100%; min-width: 0; }
.pchip .avatar { width: 20px; height: 20px; font-size: 10px; border-width: 1.5px; }
.pchip b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pchip .pc-score { font-size: 16px; font-weight: 900; line-height: 1; }
.pchip .pc-score small { font-size: 10px; color: var(--muted); font-weight: 600; }
.pchip .pc-sub { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pchip.me { background: rgba(0,0,0,.45); border-color: rgba(255,255,255,.18); }
.pchip.roller { border-color: var(--gold); }
.pchip.roller .pc-sub { color: var(--gold); font-weight: 700; }
.pchip.peeking { border-color: #fff; background: rgba(255,255,255,.22); }

.sheet-wrap { position: absolute; left: var(--left); right: var(--right); top: 40px; bottom: calc(2px + var(--safe-b)); display: flex; align-items: center; justify-content: center; z-index: 2; }
.sheet-wrap .ts-sheet { width: 100%; height: 100%; display: block; }
.sheet-wrap.other .ts-sheet { filter: drop-shadow(0 0 6px #fff); }
.peek-tag { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; border-radius: 999px; background: #fff; color: #222; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.peek-tag .avatar { width: 22px; height: 22px; font-size: 10px; }
.peek-tag small { color: #777; font-size: 11px; }

/* ---------- the drawn sheets ---------- */
.ts-sheet text { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; fill: #3a2c14; }
.ts-sheet .bx { fill: #fffdf6; stroke: #5a4a2a; stroke-width: .7; }
.ts-sheet .bx.on { fill: #fff6dc; }
.ts-sheet .xm { stroke: #1f3fbf; stroke-width: 1.5; stroke-linecap: round; fill: none; }
.ts-sheet .cell.fresh .xm { animation: inkPop .5s cubic-bezier(.2,1.6,.4,1); transform-box: fill-box; transform-origin: center; }
@keyframes inkPop { from { transform: scale(2.2) rotate(-12deg); opacity: 0; } }
.ts-sheet .zbg { fill: #8fbf5a; stroke: var(--zc); stroke-width: 1.4; }
.ts-sheet .znum { fill: rgba(40,60,20,.35); font-weight: 900; font-family: Georgia, serif; }
.ts-sheet .pts { fill: #2f5fbf; font-weight: 800; }
.ts-sheet .locked .bx { stroke-dasharray: 1.4 1; opacity: .75; }
.ts-sheet .zone.pick .zbg { stroke: var(--gold); stroke-width: 2.4; filter: drop-shadow(0 0 3px #ffd24a); }
.ts-sheet .zone.pick, .ts-sheet .pumpkin.pick, .ts-sheet .peren.pick, .ts-sheet .frow.pick, .ts-sheet .hrow.pick, .ts-sheet .shed.pick { cursor: pointer; }
.ts-sheet .cost rect { fill: var(--gold); }
.ts-sheet .cost text { fill: #3a2800; font-weight: 900; }
.ts-sheet .vine { fill: none; stroke: #3f6b1f; stroke-width: 1.1; stroke-dasharray: 2 1.2; opacity: .8; }
.ts-sheet .pk { fill: #ee8a2a; stroke: #8a4a12; stroke-width: .6; }
.ts-sheet .pkg { fill: #fff; font-weight: 900; }
.ts-sheet .ztxt { fill: #fff; font-weight: 800; }
.ts-sheet .pumpkin.pick .bx { stroke: #c98a00; stroke-width: 1.2; }
.ts-sheet .rf polygon { stroke: #fff; stroke-width: .8; }
.ts-sheet .rf.got polygon { stroke: #1f3fbf; stroke-width: 1.4; }
.ts-sheet .rfn { fill: #f4f1e8; font-weight: 700; paint-order: stroke; stroke: rgba(0,0,0,.55); stroke-width: .9; }
.ts-sheet .pbg { fill: rgba(255,250,235,.9); stroke: rgba(90,74,42,.35); stroke-width: .5; }
.ts-sheet .pick > .pbg { fill: #fff3c4; stroke: var(--gold); stroke-width: 1.6; filter: drop-shadow(0 0 3px #ffd24a); }
.ts-sheet .pname { font-weight: 800; }
.ts-sheet .gl { fill: #6b5a3a; font-weight: 700; }
.ts-sheet .bx.top { stroke-width: 1.1; }
.ts-sheet .sec { fill: #f4f1e8; font-weight: 900; letter-spacing: .6px; paint-order: stroke; stroke: rgba(0,0,0,.5); stroke-width: .8; }
.ts-sheet .hrow.locked { opacity: .55; }
.ts-sheet .shed.done > .pbg { fill: #e3f3cf; stroke: #4e9e3a; }
.ts-sheet .spts { fill: #2f5fbf; font-weight: 900; }
.ts-sheet .stext { fill: #6b5a3a; }
.ts-sheet .snum { font-weight: 900; }
.ts-sheet .snum.big { fill: #1f3fbf; font-family: Georgia, serif; }
.ts-sheet .gb, .ts-sheet .cb { fill: #fffdf6; stroke: #8a7a5a; stroke-width: .4; }
.ts-sheet .gb.on { fill: #c9881b; }
.ts-sheet .gstar { fill: #fffdf6; stroke: #c98a00; stroke-width: .4; }
.ts-sheet .gstar.on { fill: var(--gold); }
.ts-sheet .cb.on { fill: #7a5230; }
.ts-sheet .cb.spent { fill: #d8c8a8; stroke: #7a5230; }

/* ---------- right: the rondel, to-do list, prompt, buttons ---------- */
.ts-right { position: absolute; right: 0; top: 42px; bottom: calc(4px + var(--safe-b)); width: var(--right); padding: 0 calc(5px + var(--safe-r)) 0 4px; display: flex; flex-direction: column; gap: 5px; z-index: 3; overflow-y: auto; touch-action: pan-y; }
.rondel { display: flex; flex-direction: column; gap: 2px; padding: 4px; border-radius: 12px; background: rgba(40,28,10,.55); flex: none; }
.rs { position: relative; display: flex; align-items: center; gap: 4px; min-height: calc(var(--die) + 4px); padding: 1px 4px; border-radius: 8px; background: rgba(255,250,235,.08); }
.rs.gold { box-shadow: inset 3px 0 0 #f5b700; }
.rs.edith { background: rgba(255,255,255,.18); }
.rs .ri { font-size: 11px; width: 34px; flex: none; text-align: center; }
.rs .rn { font-size: 11px; font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.rs .rd { display: flex; gap: 2px; }
.rs .ed { position: absolute; right: -2px; top: -6px; font-size: 14px; }
.die { position: relative; width: var(--die); height: var(--die); padding: 0; border: 0; background: none; border-radius: 6px; }
.die svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.die.taken { opacity: .35; }
.die.shared { box-shadow: 0 0 0 2px #fff; }
.die.can { animation: pulse 1.2s ease-in-out infinite; box-shadow: 0 0 0 2px var(--gold), 0 0 10px rgba(245,183,0,.9); cursor: pointer; }
.die .by { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; font-size: 8px; font-weight: 900; color: #fff; display: grid; place-items: center; border: 1px solid #fff; }
.todo-list { display: flex; flex-wrap: wrap; gap: 3px; }
.todo-list:empty { display: none; }
.todo { border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.3); border-radius: 999px; padding: 2px 8px; font-size: 11.5px; font-weight: 700; }
.todo.on { background: var(--gold); color: #3a2800; border-color: var(--gold); }
.ts-prompt { font-size: 13px; line-height: 1.3; padding: 0 3px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.ts-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.ts-actions .btn { padding: 7px 10px; font-size: 14px; flex: 1 1 auto; }
.ts-actions .btn.small { padding: 4px 8px; font-size: 12px; flex: 0 1 auto; }

/* ---------- the zone window ---------- */
.zone-sheet { max-width: 96vw; max-height: 94vh; overflow: auto; }
.zgrid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; justify-content: center; padding: 6px 0; }
.zsep { width: 2px; align-self: stretch; background: rgba(255,255,255,.2); }
.grp { display: flex; gap: 4px; align-items: flex-end; padding: 4px; border-radius: 10px; background: rgba(143,191,90,.25); }
.crop { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 2px solid transparent; background: none; border-radius: 8px; padding: 3px; }
.crop .cb { display: flex; flex-direction: column; gap: 3px; }
.crop .zb { width: 30px; height: 30px; border-radius: 4px; background: #fffdf6; border: 1.5px solid #5a4a2a; position: relative; }
.crop .zb.ci { border-radius: 50%; }
.crop .zb.on::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; color: #1f3fbf; font-weight: 900; font-size: 22px; }
.crop .zb.sel { background: #ffe58a; box-shadow: 0 0 8px var(--gold); }
.crop .cl { font-size: 12px; font-weight: 800; white-space: nowrap; }
.crop.can { border-color: rgba(245,183,0,.5); cursor: pointer; }
.crop.sel { border-color: var(--gold); background: rgba(245,183,0,.2); }
.crop:disabled { opacity: .85; cursor: default; }
#zoneActions .btn small { font-weight: 600; font-size: 12px; opacity: .85; }

/* round / event banner */
.round-intro { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; max-width: 80vw; z-index: 40; text-align: center; pointer-events: none; padding: 14px 26px; border-radius: 18px; background: rgba(20,30,10,.72); box-shadow: 0 10px 40px rgba(0,0,0,.5); animation: zoomIn .4s cubic-bezier(.2,1.6,.4,1) both; }
.round-intro .ri-round { font-family: Georgia, serif; font-size: 7vh; font-weight: 900; color: #fff; text-shadow: 0 0 18px var(--gold); }
.round-intro .ri-dealer { margin-top: 6px; font-size: 3.4vh; font-weight: 700; }
table.final-table td .avatar { width: 22px; height: 22px; font-size: 11px; display: inline-grid; vertical-align: middle; }

@media (max-height: 360px) {
  .topbar { padding-top: 3px; }
  .icon-btn { height: 30px; min-width: 30px; }
  .round-info { font-size: 13px; }
  .trump-pill { font-size: 12px; padding: 2px 8px; }
  .tabs button { padding: 3px 9px; font-size: 13px; }
  .ts-players, .ts-right { top: 36px; }
  .sheet-wrap { top: 34px; }
  .ts-prompt { font-size: 12px; }
  .ts-actions .btn { padding: 5px 8px; font-size: 13px; }
}
@media (max-width: 760px) { .track { display: none; } }
