/* The same three-digit HUD sits in every nameplate's stack row. It never
   covers a card index, the avatar or the centred nickname. */
.seat > .vpip-badge { position:absolute;bottom:1px;left:2px;z-index:6;display:grid;place-items:center;box-sizing:border-box;width:26px;min-width:26px;height:18px;padding:0 2px;border:1px solid #746d70;border-radius:3px;color:#fff;background:linear-gradient(#353235,#171618);box-shadow:0 1px 2px #0007;font-size:10px;line-height:16px;font-weight:700;letter-spacing:0;white-space:nowrap;font-variant-numeric:tabular-nums; }
.seat.has-vpip .player-stack { padding-left:30px;padding-right:2px; }
.seat > .vpip-badge[hidden] { display:none; }
.vpip-badge[data-vpip-band="active"] { border-color:#a66d42;background:linear-gradient(#754b2b,#40291c); }
.vpip-badge[data-vpip-band="tight"] { border-color:#657c89; }
.vpip-badge:focus-visible { outline:2px solid #f1d086;outline-offset:2px; }
.seat.empty-seat .vpip-badge { display: none; }
/* Consent runs between hands, after the previous cards have been cleared.
   Each pending player gets the same authoritative, absolute-deadline clock. */
.seat > .choice-seat-clock { position:absolute;left:calc(50% - 15px);bottom:42px;z-index:7;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #d6bb76;border-radius:50%;color:#fff8e9;background:conic-gradient(#e4c478 calc(var(--choice-progress,1) * 1turn),#514943 0);box-shadow:0 2px 6px #0009;font-size:12px;font-weight:750;line-height:1;font-variant-numeric:tabular-nums;isolation:isolate;pointer-events:none; }
.choice-seat-clock::before { content:"";position:absolute;inset:3px;z-index:-1;border-radius:50%;background:#272124; }
.seat > .choice-seat-clock[hidden],.seat.empty-seat > .choice-seat-clock { display:none; }
.choice-seat-clock[data-expiring="true"] { border-color:#e09e83;color:#ffd2bd;background:conic-gradient(#e0a283 calc(var(--choice-progress,1) * 1turn),#514943 0); }
.chat-modal { width: min(100vw,420px); max-width: 100vw; max-height: min(78dvh,650px); padding: 16px 16px calc(12px + env(safe-area-inset-bottom,0px)); border-radius: 14px 14px 0 0; margin: auto auto 0; color: #e6dce3; background: #1a161d; }
.chat-modal[open] { display: flex; flex-direction: column; gap: 10px; }
.chat-modal .modal-head { flex-shrink: 0; margin-bottom: 0; }
.chat-status { color: #a497a1; font-size: 11px; line-height: 1.5; }
.chat-messages { min-height: 140px; height: min(40dvh,360px); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 6px 2px; scrollbar-width: thin; }
.chat-message { max-width: 90%; align-self: flex-start; padding: 9px 11px; border-radius: 9px 9px 9px 2px; background: #302731; border: 1px solid #493a47; }
.chat-message.own { align-self: flex-end; border-radius: 9px 9px 2px 9px; background: #42313d; border-color: #725265; }
.chat-message-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 4px; }
.chat-message-author { max-width: 180px; overflow: hidden; text-overflow: ellipsis; font-size: 10px; color: #d7c395; font-weight: 650; }
.chat-message-time { flex-shrink: 0; color: #9f8c99; font-size: 9px; }
.chat-message-text { font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-empty { margin: auto; max-width: 230px; text-align: center; color: #a493a0; font-size: 12px; line-height: 1.7; }
.chat-form { display: flex; gap: 8px; flex-shrink: 0; }
.chat-input-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.chat-form .input { flex: 1; min-width: 0; height: 44px; margin: 0; font-size: 14px; }
.chat-form button { flex: 0 0 62px; height: 44px; border: 1px solid #84694d; border-radius: 5px; color: #ead4a4; background: #423624; font-size: 12px; font-weight: 650; }
.chat-error { min-height: 13px; font-size: 11px; line-height: 1.5; color: #edb2bd; }
.stats-modal { color: #e3d8e0; }
.stats-name { display: block; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.stats-number { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 10px; }
.stats-number strong { color: #ead19a; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.stats-number span { color: #ad9ba7; font-size: 12px; }
.stats-sample { margin: 8px 0; color: #c3b5bf; font-size: 12px; line-height: 1.6; }
.stats-policy { color: #988792; font-size: 11px; line-height: 1.6; }
