:root {
  --felt-1: #13543f;
  --felt-2: #0a2f24;
  --felt-3: #06201a;
  --gold: #d9b45a;
  --gold-2: #f3dc97;
  --gold-dim: rgba(217, 180, 90, .35);
  --ink: #f5efe1;
  --muted: rgba(245, 239, 225, .62);
  --card-bg: #fdfaf2;
  --card-edge: #e7dfcb;
  --black: #1b1f24;
  --red: #c4262e;
  --danger: #e05a4f;
  --glass: rgba(6, 26, 20, .72);
  --line: rgba(255, 255, 255, .09);
  --cw: min(66px, 16.5vw);
  --ch: calc(var(--cw) * 1.42);
  --tcw: min(60px, 15vw);
  --tch: calc(var(--tcw) * 1.42);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--felt-3);
  background-image:
    radial-gradient(120% 80% at 50% 35%, var(--felt-1) 0%, var(--felt-2) 55%, var(--felt-3) 100%);
  overflow: hidden;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input { font: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.center { text-align: center; }
.red { color: var(--red); }

/* ---------- Screens ---------- */
.screen {
  position: fixed; inset: 0; display: none; flex-direction: column;
  padding-top: var(--safe-t);
}
.screen.active { display: flex; }

/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; min-height: 52px; padding: 0 1.2rem; border-radius: 14px;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  transition: transform .12s ease, filter .15s ease, opacity .15s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn.gold {
  color: #2a1f05;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #b8923a);
  box-shadow: 0 6px 18px rgba(217, 180, 90, .28), inset 0 1px 0 rgba(255,255,255,.6);
}
.btn.ghost { background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.btn.danger { background: rgba(224, 90, 79, .14); color: #ffb3aa; border: 1px solid rgba(224, 90, 79, .35); }
.btn.sm { min-height: 40px; width: auto; font-size: .9rem; border-radius: 999px; }
.link { color: var(--gold-2); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; padding: .8rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 1.1rem; flex: none;
}

/* ---------- Home ---------- */
.home-wrap {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 20px calc(24px + var(--safe-b)); gap: 22px; max-width: 440px; margin: 0 auto; width: 100%;
  overflow-y: auto;
}
.brand { text-align: center; }
.brand-cards { position: relative; height: 112px; width: 180px; margin: 0 auto 6px; }
.brand-cards .card { position: absolute; left: 50%; top: 8px; margin-left: -34px; }
.tilt-l { transform: rotate(-16deg) translate(-38px, 8px); }
.tilt-c { transform: rotate(0deg) translateY(-4px); z-index: 2; }
.tilt-r { transform: rotate(16deg) translate(38px, 8px); z-index: 3; }
.logo {
  font-family: 'Playfair Display', serif; font-weight: 800; font-size: 4.2rem; margin: 0; line-height: 1;
  letter-spacing: .02em;
  background: linear-gradient(180deg, #fff6d6 0%, var(--gold-2) 35%, var(--gold) 70%, #a8822f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45));
}
.tagline { margin: .4rem 0 0; color: var(--muted); letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; }
.panel {
  width: 100%; padding: 20px; border-radius: 22px; display: flex; flex-direction: column; gap: 14px;
  background: var(--glass); border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.35); backdrop-filter: blur(10px);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: .78rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.field input {
  height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(0,0,0,.28); color: var(--ink); font-size: 1.05rem; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--gold-dim); box-shadow: 0 0 0 3px rgba(217,180,90,.15); }
.code-input { text-transform: uppercase; letter-spacing: .5em; text-align: center; font-weight: 700; font-size: 1.4rem !important; }
.join-box { display: flex; flex-direction: column; gap: 14px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Topbar ---------- */
.topbar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent);
}
.topbar-title { flex: 1; text-align: center; font-weight: 600; }

/* ---------- Lobby ---------- */
.lobby-wrap {
  flex: 1; overflow-y: auto; padding: 8px 20px calc(20px + var(--safe-b));
  display: flex; flex-direction: column; gap: 18px; max-width: 440px; margin: 0 auto; width: 100%;
}
.code-card {
  text-align: center; padding: 20px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.big-code {
  font-family: 'Playfair Display', serif; font-weight: 800; font-size: 3.2rem; letter-spacing: .22em;
  color: var(--gold-2); padding-left: .22em;
}
.seat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.seat-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); min-height: 64px;
}
.seat-row.empty { border-style: dashed; background: transparent; }
.seat-row .grow { flex: 1; min-width: 0; }
.seat-row .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: rgba(217,180,90,.16); color: var(--gold-2);
}
.tag.off { background: rgba(224,90,79,.16); color: #ffb3aa; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 700; font-size: 1rem; color: #1a1406;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  box-shadow: 0 2px 8px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.5);
}
.avatar.bot { background: linear-gradient(145deg, #b9c4cf, #7d8b99); }
.avatar.empty { background: rgba(255,255,255,.06); color: var(--muted); box-shadow: none; border: 1px dashed var(--line); }

/* ---------- Cards ---------- */
.card {
  position: relative; width: var(--cw); height: var(--ch); border-radius: calc(var(--cw) * .11);
  background: linear-gradient(160deg, #fffdf7 0%, var(--card-bg) 60%, #f1ead8 100%);
  border: 1px solid var(--card-edge);
  box-shadow: 0 1px 0 #fff inset, 0 3px 8px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.25);
  color: var(--black); flex: none; overflow: hidden;
}
.card.red { color: var(--red); }
.card .idx {
  position: absolute; top: 5%; left: 8%; display: flex; flex-direction: column; align-items: center;
  font-weight: 700; font-size: calc(var(--cw) * .27); line-height: .95; letter-spacing: -.04em;
}
.card .idx i { font-style: normal; font-size: .82em; margin-top: 1px; }
.card .pip {
  position: absolute; right: 9%; bottom: 6%; font-size: calc(var(--cw) * .52); line-height: 1;
}
.card.face .pip { display: none; }
.card .face-art {
  position: absolute; right: 7%; bottom: 5%; width: 58%; height: 62%; border-radius: 6px;
  display: grid; place-items: center; font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: calc(var(--cw) * .42); line-height: 1;
  background: linear-gradient(160deg, rgba(217,180,90,.22), rgba(217,180,90,.06));
  border: 1px solid rgba(217,180,90,.55);
}
.card .face-art small { display: block; font-size: .5em; font-family: 'Inter', sans-serif; text-align: center; }
.card.mini { --cw: 68px; }
.card.back {
  background:
    repeating-linear-gradient(45deg, rgba(217,180,90,.18) 0 2px, transparent 2px 8px),
    linear-gradient(145deg, #7a1b22, #4a0d13);
  border: 2px solid #f3e7c8;
}

/* ---------- Game table ---------- */
#game { background: transparent; }
#game .topbar { padding-bottom: 4px; }
.contract-chip {
  flex: 1; min-width: 0; text-align: center; padding: 6px 12px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--gold-dim);
  display: flex; flex-direction: column; line-height: 1.2;
}
.contract-chip span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.08rem; color: var(--gold-2); }
.contract-chip small { color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-btn { width: auto; padding: 0 12px; font-size: .85rem; font-weight: 600; }

.table { position: relative; flex: 1; min-height: 0; }
.seat {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: filter .2s;
}
.seat .avatar { width: 44px; height: 44px; position: relative; transition: box-shadow .25s; }
.seat .pname { font-size: .78rem; font-weight: 600; max-width: 92px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat .pmeta { display: flex; gap: 6px; font-size: .7rem; }
.seat .pill { padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid var(--line); white-space: nowrap; }
.seat .pill.score { color: var(--gold-2); }
.seat .pill.neg { color: #ffb3aa; }
.seat.turn .avatar { box-shadow: 0 0 0 3px var(--felt-2), 0 0 0 5px var(--gold), 0 0 22px 6px rgba(217,180,90,.55); animation: pulse 1.4s ease-in-out infinite; }
.seat.offline { filter: grayscale(1) opacity(.55); }
.seat .badge {
  position: absolute; right: -6px; bottom: -4px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
  display: grid; place-items: center; font-size: .66rem; font-weight: 700; background: #0b2a21; border: 1px solid var(--gold-dim); color: var(--gold-2);
}
.seat .chooser-mark { position: absolute; left: -8px; top: -8px; font-size: .95rem; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.pos-2 { top: 4px; left: 50%; transform: translateX(-50%); }
.pos-1 { left: 8px; top: 42%; transform: translateY(-50%); }
.pos-3 { right: 8px; top: 42%; transform: translateY(-50%); }
@keyframes pulse { 50% { box-shadow: 0 0 0 3px var(--felt-2), 0 0 0 5px var(--gold-2), 0 0 30px 10px rgba(217,180,90,.35); } }

.trick {
  position: absolute; left: 50%; top: 45%; width: 0; height: 0;
}
.trick .card { --cw: var(--tcw); position: absolute; left: calc(var(--tcw) / -2); top: calc(var(--tch) / -2); transition: transform .45s cubic-bezier(.3,.7,.4,1), opacity .45s; }
.trick .card.t0 { transform: translate(0, calc(var(--tch) * .42)) rotate(2deg); animation: in0 .28s ease-out; }
.trick .card.t1 { transform: translate(calc(var(--tcw) * -.72), 0) rotate(-8deg); animation: in1 .28s ease-out; }
.trick .card.t2 { transform: translate(0, calc(var(--tch) * -.42)) rotate(-3deg); animation: in2 .28s ease-out; }
.trick .card.t3 { transform: translate(calc(var(--tcw) * .72), 0) rotate(7deg); animation: in3 .28s ease-out; }
@keyframes in0 { from { transform: translate(0, 50vh) scale(1.1); } }
@keyframes in1 { from { transform: translate(-50vw, 0) rotate(-40deg); opacity: 0; } }
@keyframes in2 { from { transform: translate(0, -40vh) rotate(-20deg); opacity: 0; } }
@keyframes in3 { from { transform: translate(50vw, 0) rotate(40deg); opacity: 0; } }
.trick .card.win { box-shadow: 0 0 0 3px var(--gold), 0 0 28px 6px rgba(217,180,90,.7); z-index: 10; }
.trick.collect .card { transition: transform .5s ease-in, opacity .5s ease-in; opacity: 0; }
.trick.collect .trick-caption { opacity: 0; }
.trick-caption {
  position: absolute; left: 0; top: calc(var(--tch) * .42 + var(--tch) / 2 + 12px); transform: translateX(-50%);
  white-space: nowrap; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1f05; z-index: 20;
  box-shadow: 0 6px 18px rgba(0,0,0,.4); animation: pop .25s ease-out; transition: opacity .3s;
}
@keyframes pop { from { transform: translateX(-50%) scale(.6); opacity: 0; } }
.last-chip {
  position: absolute; left: 10px; top: 8px; z-index: 5; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 6px 8px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); font-size: .66rem; color: var(--muted);
}
.mini-trick { display: flex; gap: 3px; }
.mini-trick .mini {
  min-width: 24px; padding: 2px 3px; border-radius: 4px; background: var(--card-bg); color: var(--black);
  font-size: .72rem; font-weight: 700; text-align: center; line-height: 1.2;
}
.mini-trick .mini.red { color: var(--red); }
.mini-trick .mini.win { box-shadow: 0 0 0 2px var(--gold); }
.trick.collect.to-0 .card { transform: translate(0, 40vh) scale(.5); }
.trick.collect.to-1 .card { transform: translate(-45vw, 0) scale(.5); }
.trick.collect.to-2 .card { transform: translate(0, -35vh) scale(.5); }
.trick.collect.to-3 .card { transform: translate(45vw, 0) scale(.5); }

.status {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  padding: 8px 16px; border-radius: 999px; font-size: .86rem; font-weight: 500; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--line); max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis;
  transition: opacity .2s;
}
.status:empty { opacity: 0; }
.status.you { border-color: var(--gold); color: var(--gold-2); box-shadow: 0 0 20px rgba(217,180,90,.25); }

.me-bar { position: relative; height: 34px; }
.me-bar .seat { position: static; flex-direction: row; justify-content: center; gap: 10px; }
.me-bar .seat .avatar { width: 30px; height: 30px; font-size: .8rem; }
.me-bar .seat .badge { display: none; }

.hand {
  position: relative; height: calc(var(--ch) + 30px + var(--safe-b)); padding: 16px 8px var(--safe-b);
  display: flex; justify-content: center; align-items: flex-start;
}
.hand .card {
  margin-left: var(--overlap, -30px); transition: transform .18s cubic-bezier(.3,.7,.4,1), filter .2s;
  transform: translateY(var(--lift, 0)) rotate(var(--rot, 0deg)); transform-origin: 50% 120%;
}
.hand .card:first-child { margin-left: 0; }
.hand.active .card.legal { cursor: pointer; }
.hand.active .card:not(.legal) { filter: brightness(.55) saturate(.6); }
.hand .card.sel { z-index: 5; --lift: -22px !important; box-shadow: 0 0 0 2px var(--gold), 0 10px 22px rgba(0,0,0,.5); }
.hand-hint { position: absolute; top: -2px; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--gold-2); pointer-events: none; }

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 50; display: none; align-items: flex-end; justify-content: center;
  background: rgba(2, 10, 8, .6); backdrop-filter: blur(3px);
}
.modal.open { display: flex; animation: fade .2s ease-out; }
.sheet {
  width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto;
  padding: 22px 18px calc(18px + var(--safe-b)); border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #0f3b2e, #0a2a20); border: 1px solid var(--gold-dim); border-bottom: 0;
  box-shadow: 0 -20px 60px rgba(0,0,0,.5);
  display: flex; flex-direction: column; gap: 12px; animation: up .28s cubic-bezier(.3,.7,.4,1);
}
.sheet h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: 0; color: var(--gold-2); }
.sheet h3 { font-size: .95rem; margin: .6rem 0 0; color: var(--gold-2); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

.contract-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contract-opt {
  text-align: left; padding: 11px 12px; border-radius: 14px; background: rgba(255,255,255,.05);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-height: 62px;
  transition: border-color .15s, background .15s;
}
.contract-opt b { font-size: .95rem; }
.contract-opt small { color: var(--muted); font-size: .72rem; line-height: 1.25; }
.contract-opt.pos { border-color: rgba(217,180,90,.3); }
.contract-opt.pos b { color: var(--gold-2); }
.contract-opt.sel { border-color: var(--gold); background: rgba(217,180,90,.14); box-shadow: 0 0 0 1px var(--gold); }
.contract-opt:disabled { opacity: .28; text-decoration: line-through; }
.suits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.suits button {
  height: 54px; border-radius: 14px; font-size: 1.7rem; background: var(--card-bg); color: var(--black);
  border: 2px solid transparent; box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.suits button.red { color: var(--red); }
.suits button.sel { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,180,90,.4); }
.trump-pick p { margin: 0 0 6px; }
.choose-hand { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; padding: 4px 0; }
.choose-hand .card { --cw: 38px; }
.choose-hand .card .pip { display: none; }
.choose-hand .card .face-art { display: none; }

.result-list { display: flex; flex-direction: column; gap: 8px; }
.result-row {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line);
}
.result-row .avatar { width: 32px; height: 32px; font-size: .85rem; }
.result-row .delta { font-weight: 700; font-variant-numeric: tabular-nums; }
.result-row .delta.neg { color: #ff9f95; }
.result-row .delta.pos { color: #9fe3b0; }
.result-row .total { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 56px; text-align: right; }
.result-row .ok { font-size: .72rem; color: #9fe3b0; }

.crown { font-size: 3rem; text-align: center; color: var(--gold); line-height: 1; filter: drop-shadow(0 4px 12px rgba(217,180,90,.5)); }
#overTitle { text-align: center; }
.podium { display: flex; flex-direction: column; gap: 8px; }
.podium .result-row:first-child { border-color: var(--gold); background: rgba(217,180,90,.12); }
.place { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.2rem; color: var(--gold-2); width: 22px; text-align: center; }

.score-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.score-table { width: 100%; border-collapse: collapse; font-size: .82rem; font-variant-numeric: tabular-nums; }
.score-table th, .score-table td { padding: 8px 6px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.score-table th:first-child, .score-table td:first-child { text-align: left; padding-left: 10px; }
.score-table thead th { font-size: .72rem; color: var(--gold-2); font-weight: 600; background: rgba(0,0,0,.2); max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
.score-table tfoot td { font-weight: 700; color: var(--gold-2); border-bottom: 0; background: rgba(0,0,0,.2); }
.score-table td.neg { color: #ff9f95; }
.score-table td.pos { color: #9fe3b0; }
.score-table td.zero { color: var(--muted); }
.score-table .by { color: var(--muted); font-size: .7rem; display: block; }
.contracts-left { display: flex; flex-wrap: wrap; gap: 6px; }
.contracts-left .tag.used { opacity: .35; text-decoration: line-through; }

.last-trick { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.last-trick figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .75rem; }
.last-trick figure.win figcaption { color: var(--gold-2); font-weight: 700; }

.rules p, .rules li { font-size: .9rem; line-height: 1.5; margin: 0; }
.rules ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Toast / conn ---------- */
.toast {
  position: fixed; left: 50%; top: calc(14px + var(--safe-t)); transform: translate(-50%, -200%); z-index: 100; visibility: hidden;
  padding: 10px 16px; border-radius: 12px; background: #2a0f0f; border: 1px solid rgba(224,90,79,.5); color: #ffd5cf;
  font-size: .88rem; transition: transform .25s ease; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.info { background: #0f2e24; border-color: var(--gold-dim); color: var(--gold-2); }
.conn {
  position: fixed; left: 50%; bottom: calc(16px + var(--safe-b)); transform: translateX(-50%); z-index: 99;
  padding: 8px 14px; border-radius: 999px; background: #3a2a07; color: var(--gold-2); font-size: .8rem; display: none;
}
.conn.show { display: block; }

@media (min-height: 760px) {
  :root { --cw: min(74px, 16.5vw); --tcw: min(68px, 16vw); }
  .seat .avatar { width: 52px; height: 52px; font-size: 1.1rem; }
}
@media (min-width: 700px) {
  :root { --cw: 84px; --tcw: 80px; }
  .pos-1 { left: 10%; } .pos-3 { right: 10%; }
}
