* { box-sizing: border-box; font-family: var(--felt-font, Arial, Helvetica, sans-serif); -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; background: var(--felt-table); color: var(--felt-text); }
body { overscroll-behavior: none; }
:root { --felt-table:#124b60; --felt-deep:#0c3545; --felt-text:#fff1d5; --felt-muted:#c5d1ca; --felt-ivory:#f5e5c5; --felt-ink:#123f50; --felt-line:#baa987; --felt-coral:#df795e; --felt-surface:radial-gradient(ellipse at 50% 35%, rgba(6,37,52,0) 20%, rgba(6,29,43,.2) 100%), url("/textures/coastal-felt-v1.jpg") center / cover, #10475d; --felt-viewport-width: 100vw; --felt-viewport-height: 100vh; --felt-viewport-offset-left: 0px; --felt-viewport-offset-top: 0px; }
@supports (height: 100dvh) { :root { --felt-viewport-height: 100dvh; } }
.felt-game { position: absolute; left: 0; top: 0; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; }
canvas { display: block; position: relative; z-index: 10; left: 0; top: 0; width: 100%; height: 100%; }
button, input { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--felt-muted); outline-offset: 5px; }
.felt-splash { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; align-items: safe center; overflow-y: auto; padding: 28px; background: var(--felt-surface); }
.felt-splash::before { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(245,229,197,.55); border-radius: 26px; pointer-events: none; }
.felt-splash-content { width: min(100%, 420px); min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.felt-splash h1 { font-size: clamp(36px, 6vh, 48px); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; margin: 0; }
.felt-subtitle { margin: 10px 0 0; font-size: 20px; letter-spacing: .18em; font-weight: 400; }
.felt-suits { display: flex; gap: 17px; margin: 24px 0 28px; font-size: 26px; line-height: 1; }
.felt-suits .red { color: var(--felt-coral); }
.felt-primary { background: linear-gradient(180deg, #fff4df, var(--felt-ivory)); border: 1px solid var(--felt-ivory); color: var(--felt-ink); border-radius: 999px; box-shadow: 0 3px 8px rgba(5,26,36,.14); min-height: 48px; padding: 12px 24px; font-size: 16px; font-weight: 600; }
.felt-primary:hover { background: var(--felt-text); }
/* The waiting room uses the full viewport, independent of the game canvas. */
.felt-lobby { position: absolute; inset: 0; z-index: 20; overflow: auto; background: var(--felt-surface); color: var(--felt-text); padding: max(24px, env(safe-area-inset-top)) max(40px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(40px, env(safe-area-inset-left)); }
.felt-lobby[hidden], .felt-lobby [hidden] { display: none; }
.felt-lobby-shell { width: 100%; max-width: 1120px; height: 100%; min-height: 0; margin: 0 auto; display: grid; grid-template-rows: 48px minmax(0, 1fr) auto; gap: 22px; }
.felt-lobby-header { display: flex; align-items: center; justify-content: space-between; gap: 52px; }
.felt-lobby-brand { color: var(--felt-muted); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.felt-lobby-leave { min-width: 64px; min-height: 48px; margin-right: -12px; padding: 12px; border: 0; border-radius: 6px; background: none; color: var(--felt-muted); font-size: 13px; }
.felt-lobby-leave:hover:not(:disabled) { color: var(--felt-text); background: rgba(245,229,197,.06); }
.felt-lobby-body { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 12px 0 24px; }
.felt-lobby-body > * { flex-shrink: 0; }
.felt-lobby-title { margin: 0; max-width: 11em; font-size: clamp(36px, 4.8vw, 48px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.felt-lobby-description { max-width: 29em; margin: 16px 0 0; color: var(--felt-muted); font-size: 14px; line-height: 1.55; }
.felt-lobby-table { min-width: 0; }
.felt-lobby-count { margin: 0 0 22px; color: var(--felt-muted); font-size: 13px; line-height: 1.4; }
.felt-lobby-seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.felt-lobby-seat { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.felt-lobby-avatar { width: 64px; height: 64px; display: grid; place-items: center; flex: 0 0 auto; border: 1px dashed rgba(245,229,197,.38); border-radius: 50%; font-size: 21px; font-weight: 400; }
.felt-lobby-seat.is-occupied .felt-lobby-avatar { background: var(--felt-deep); border: 1px solid var(--felt-line); }
.felt-lobby-seat.is-you .felt-lobby-avatar { background: var(--felt-coral); border-color: var(--felt-ivory); color: var(--felt-text); }
.felt-lobby-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; width: 100%; min-height: 36px; overflow: hidden; overflow-wrap: anywhere; color: var(--felt-text); font-size: 13px; line-height: 18px; text-align: center; }
.felt-lobby-footer { min-height: 70px; padding-top: 20px; border-top: 1px solid rgba(245,229,197,.18); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.felt-bot-option { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; color: var(--felt-muted); font-size: 13px; line-height: 20px; cursor: pointer; position: relative; }
.felt-bot-option input { position: absolute; right: 0; width: 38px; height: 24px; opacity: 0; margin: 0; cursor: pointer; }
.felt-switch-track { width: 36px; height: 22px; flex: 0 0 36px; padding: 3px; background: var(--felt-deep); border: 1px solid var(--felt-line); border-radius: 14px; pointer-events: none; }
.felt-switch-track::after { content: ""; display: block; width: 14px; height: 14px; background: var(--felt-ivory); border-radius: 50%; }
.felt-bot-option input:checked + .felt-switch-track { background: var(--felt-coral); border-color: var(--felt-coral); }
.felt-bot-option input:checked + .felt-switch-track::after { transform: translateX(14px); background: var(--felt-ivory); }
.felt-bot-option input:focus-visible + .felt-switch-track { outline: 2px solid var(--felt-text); outline-offset: 4px; }
.felt-bot-option input:disabled + .felt-switch-track { opacity: .55; }
.felt-bot-option:has(input:disabled) { cursor: default; }
.felt-lobby-start { min-width: 152px; flex: 0 0 auto; font-size: 16px; }
.felt-lobby button:disabled { cursor: default; }
@media (min-width: 601px) and (max-height: 430px) {
  .felt-lobby { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .felt-lobby-shell { gap: 12px; }
  .felt-lobby-body { padding: 6px 0 14px; }
  .felt-lobby-title { font-size: 38px; }
}
@media (max-width: 700px) and (orientation: landscape) {
  .felt-lobby { padding: max(12px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
  .felt-lobby-shell { gap: 8px; }
  .felt-lobby-body { gap: 28px; padding: 4px 0 12px; }
  .felt-lobby-title { font-size: 30px; }
  .felt-lobby-description { margin-top: 12px; font-size: 13px; }
  .felt-lobby-count { margin-bottom: 16px; }
  .felt-lobby-seats { gap: 8px; }
  .felt-lobby-avatar { width: 44px; height: 44px; font-size: 17px; }
  .felt-lobby-seat { gap: 8px; }
  .felt-lobby-name { font-size: 12px; }
  .felt-lobby-footer { padding-top: 12px; min-height: 60px; gap: 16px; }
  .felt-lobby-start { min-width: 128px; }
}
@media (max-width: 600px) and (orientation: portrait) {
  .felt-lobby { padding: max(20px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
  .felt-lobby-shell { gap: 28px; }
  .felt-lobby-body { display: flex; flex-direction: column; justify-content: safe center; align-items: stretch; gap: clamp(16px, calc(var(--felt-viewport-height) - 550px), 48px); padding: 12px 0 clamp(12px, calc(var(--felt-viewport-height) - 550px), 32px); }
  .felt-lobby-title { font-size: 40px; }
  .felt-lobby-description { max-width: 24em; }
  .felt-lobby-seats { gap: 10px; }
  .felt-lobby-avatar { width: 60px; height: 60px; }
  .felt-lobby-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .felt-bot-option { justify-content: space-between; }
  .felt-lobby-start { width: 100%; }
}
/* Keep all four names visible above the fixed actions on short phones. */
@media (max-width: 600px) and (orientation: portrait) and (max-height: 700px) {
  .felt-lobby { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .felt-lobby-shell { grid-template-rows: 44px minmax(0, 1fr) auto; gap: 16px; }
  .felt-lobby-body { gap: 20px; padding: 4px 0 12px; }
  .felt-lobby-title { font-size: clamp(32px, 9.5vw, 38px); }
  .felt-lobby-description { margin-top: 12px; }
  .felt-lobby-count { margin-bottom: 12px; }
  .felt-lobby-seat { gap: 8px; }
  .felt-lobby-avatar { width: 50px; height: 50px; font-size: 19px; }
  .felt-lobby-footer { padding-top: 14px; }
}
.felt-join { width: min(280px, 100%); }
.felt-link { border: 0; background: none; color: var(--felt-text); font-size: 14px; min-height: 44px; padding: 10px 18px; margin-top: 13px; }
.felt-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.felt-load-status { color: var(--felt-muted); font-size: 12px; height: 16px; margin: 8px 0 0; }
.settings { position: absolute; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(5,26,36,.72); color: var(--felt-text); }
.settings-box { position: relative; width: min(640px, 100%); max-height: 100%; overflow: auto; padding: 28px; background: var(--felt-deep); border: 1px solid var(--felt-line); border-radius: 22px; font-size: 15px; line-height: 1.6; }
.settings-close { position: sticky; top: 0; float: right; margin: 0 0 12px 16px; color: var(--felt-text); background: var(--felt-table); border: 1px solid var(--felt-line); border-radius: 999px; padding: 8px 14px; min-height: 40px; z-index: 1; }
.settings-box a { color: var(--felt-ivory); text-underline-offset: 3px; }
.settings-box h1 { font-size: 24px; line-height: 1.25; margin: 0 0 24px; font-weight: 500; }
.settings-box h2 { font-size: 17px; margin: 24px 0 8px; font-weight: 600; }
.settings-box li { margin-bottom: 8px; }
.how-to-play { margin: 0; font-size: inherit; }
.how-to-play #quick-start { margin-top: 0; }
.how-to-play-quick-start { margin: 12px 0 0; padding-left: 20px; line-height: 1.45; }
.how-to-play-full-rules { margin-top: 20px; border-top: 1px solid var(--felt-line); }
.how-to-play-full-rules > summary { min-height: 44px; padding: 10px 0; font-weight: 600; cursor: pointer; }
.how-to-play-full-rules > summary:focus-visible { outline: 2px solid var(--felt-muted); outline-offset: 3px; }
.rules-disclosure { margin-top: 18px; border-top: 1px solid var(--felt-line); }
.settings .felt-sound-controls + .rules-disclosure { margin-top: 0; border-top: 0; }
.rules-disclosure > summary { min-height: 44px; padding: 10px 0; color: var(--felt-text); font-weight: 600; cursor: pointer; }
.rules-disclosure > summary:focus-visible, .rules-disclosure-content:focus-visible { outline: 2px solid var(--felt-muted); outline-offset: 3px; }
.rules-disclosure-content { max-height: min(50dvh, 420px); overflow: auto; overscroll-behavior: contain; padding: 2px 4px 8px 0; font-size: 15px; line-height: 1.5; }
.rules-disclosure .how-to-play h2 { margin: 20px 0 8px; font-size: 17px; line-height: 1.3; font-weight: 600; }
.rules-disclosure .how-to-play h3 { margin: 18px 0 8px; font-size: 15px; line-height: 1.4; }
.rules-disclosure .how-to-play p { margin: 8px 0; }
.rules-disclosure .how-to-play ul { padding-left: 20px; }
.rules-disclosure .how-to-play li { margin-bottom: 8px; }
.settings-review-trick { min-height: 44px; padding: 10px 16px; border: 1px solid var(--felt-line); border-radius: 6px; background: transparent; color: var(--felt-text); font: inherit; cursor: pointer; }
.end-game { border: 1px solid var(--felt-coral); border-radius: 999px; background: none; color: var(--felt-coral); min-height: 44px; padding: 10px 16px; }
@media (max-height: 430px) { .felt-splash { padding: 18px; } .felt-splash::before { inset: 12px; } .felt-splash h1 { font-size: 36px; } .felt-subtitle { margin-top: 7px; font-size: 17px; } .felt-suits { margin: 18px 0 22px; font-size: 20px; } .felt-link { margin-top: 6px; } .felt-load-status { margin-top: 0; } .settings { padding: 12px; } .settings-box { padding: 20px; } }

/* Private invites remain secondary to the room's main status. */
.felt-splash-content .felt-invitation { max-width: 300px; margin: -10px 0 18px; color: var(--felt-muted); font-size: 14px; line-height: 1.4; }
.felt-invitation[hidden], .felt-invite-fallback[hidden] { display: none; }
.felt-private + .felt-rules { margin-top: 0; color: var(--felt-muted); font-size: 13px; }
.felt-splash .felt-load-status { max-width: min(440px, calc(100vw - 48px)); height: auto; min-height: 16px; line-height: 1.4; }
.felt-lobby.is-private .felt-lobby-footer { justify-content: flex-end; }
.felt-lobby-private-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.felt-lobby-copy { min-width: 144px; min-height: 48px; padding: 12px 16px; font-size: 14px; border-radius: 999px; }
.felt-lobby-copy.is-secondary { color: var(--felt-text); background: none; border: 1px solid var(--felt-line); }
.felt-lobby-copy.is-secondary:hover { color: var(--felt-text); border-color: var(--felt-muted); }
.felt-invite-fallback { margin-top: 12px; font-size: 12px; color: var(--felt-muted); }
.felt-invite-fallback input { display: block; width: 100%; min-height: 40px; margin-top: 6px; padding: 8px; border: 1px solid var(--felt-line); border-radius: 5px; background: var(--felt-deep); color: var(--felt-text); font-size: 12px; }
@media (max-width: 700px) and (orientation: landscape) {
  .felt-lobby-private-actions { gap: 8px; }
  .felt-lobby-copy { min-width: 128px; padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 600px) and (orientation: portrait) {
  .felt-lobby-private-actions { width: 100%; }
  .felt-lobby-private-actions button { min-width: 0; flex: 1; }
  .felt-lobby.is-private .felt-lobby-private-actions { flex-direction: column-reverse; align-items: stretch; }
}
@media (max-height: 430px) {
  .felt-private { margin-top: 4px; }
  .felt-splash-content .felt-invitation { margin-top: -12px; margin-bottom: 12px; }
}

@media (max-height: 360px) {
  .felt-splash { overflow-y: auto; }
  .felt-splash h1 { font-size: 30px; }
  .felt-subtitle { margin-top: 4px; font-size: 15px; }
  .felt-suits { margin: 12px 0 16px; font-size: 18px; }
}


/* Quiet, native audio preferences within the existing game settings panel. */
.settings .felt-sound-controls { clear: both; min-width: 0; margin: 0 0 24px; padding: 16px 0 20px; border-top: 1px solid rgba(245,229,197,.2); border-bottom: 1px solid rgba(245,229,197,.2); }
.felt-sound-toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; font-size: 16px; font-weight: 500; cursor: pointer; }
.felt-sound-toggle input { position: absolute; top: 0; right: 0; width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.felt-sound-switch { display: block; flex: 0 0 38px; width: 38px; height: 24px; padding: 3px; border: 1px solid var(--felt-line); border-radius: 14px; background: var(--felt-table); pointer-events: none; }
.felt-sound-switch::after { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--felt-ivory); }
.felt-sound-toggle input:checked + .felt-sound-switch { border-color: var(--felt-coral); background: var(--felt-coral); }
.felt-sound-toggle input:checked + .felt-sound-switch::after { transform: translateX(14px); background: var(--felt-ivory); }
.felt-sound-toggle input:focus-visible + .felt-sound-switch { outline: 2px solid var(--felt-text); outline-offset: 4px; }
.felt-sound-controls .felt-sound-description { margin: 0 0 20px; color: var(--felt-muted); font-size: 13px; line-height: 1.5; }
.felt-sound-volume { min-width: 0; }
.felt-sound-volume-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 1.4; }
.felt-sound-volume-label output { color: var(--felt-muted); font-variant-numeric: tabular-nums; }
.felt-sound-volume input { display: block; width: 100%; height: 44px; margin: 0; padding: 0; accent-color: var(--felt-coral); cursor: pointer; }
.felt-sound-volume input:focus-visible { outline: 2px solid var(--felt-muted); outline-offset: 3px; border-radius: 5px; }
.felt-sound-controls[data-enabled="false"] .felt-sound-volume { opacity: .55; }
.felt-sound-controls .felt-sound-test { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 4px 0 0; padding: 8px 14px; border: 1px solid var(--felt-line); border-radius: 999px; background: linear-gradient(180deg, #fff4df, var(--felt-ivory)); color: var(--felt-ink); font-weight: 600; font-size: 13px; line-height: 1.4; }
.felt-sound-controls .felt-sound-test:hover:not(:disabled) { color: var(--felt-ink); border-color: var(--felt-text); background: var(--felt-text); }
.felt-sound-controls button:disabled, .felt-sound-controls input:disabled { cursor: default; }
@media (max-width: 380px) { .settings:has(.felt-sound-controls) { padding: 16px; } .settings-box:has(.felt-sound-controls) { padding: 20px; } }

.felt-sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

.settings-review-trick + .settings-review-trick { margin-left: 8px; }
@media (max-width:380px) { .settings-review-trick { display:block; width:100%; } .settings-review-trick + .settings-review-trick { margin:8px 0 0; } }

/* The coastal secondary action mirrors the table's fine ivory outline. */
.felt-splash .felt-private { min-width:min(280px,100%); border:1px solid rgba(245,229,197,.7); border-radius:999px; padding:11px 24px; margin-top:12px; }
.felt-splash .felt-private:hover { background:rgba(245,229,197,.06); text-decoration:none; }

/* Shared input and entrance motion. Individual transforms leave layout geometry intact. */
button, a[href], summary, input, select, [role="button"], [role="switch"] {
  transition: scale 120ms ease-out, filter 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out;
}
@media (hover:hover) { button:hover:not(:disabled), summary:hover, a[href]:hover { filter: brightness(1.06); } }
.ui-pressed, button.ui-pressed:not(:disabled), button:active:not(:disabled), summary:active, a[href]:active {
  scale: .975; filter: brightness(.92);
}
label.ui-pressed { scale: 1; filter: brightness(1.12); }
button[aria-label="Back to lobby"].ui-pressed { background: rgba(18,63,80,.12) !important; }
dialog[open], .settings-box, .table-details-panel:not([hidden]), .tutorial-page > *, .felt-lobby:not([hidden]) .felt-lobby-shell {
  animation: felt-menu-in 220ms cubic-bezier(.2,.7,.2,1) both;
}
dialog[open]::backdrop, .settings { animation: felt-overlay-in 180ms ease-out both; }
details[open] > :not(summary) { animation: felt-menu-in 180ms ease-out both; }
.felt-splash::before { animation: felt-border-breathe 8s ease-in-out infinite; }
.felt-splash-content > * { animation: felt-home-in 600ms cubic-bezier(.2,.7,.2,1) both; }
.felt-splash-content > :nth-child(2) { animation-delay: 45ms; }
.felt-splash-content > :nth-child(3) { animation-delay: 90ms; }
.felt-splash-content > :nth-child(5) { animation-delay: 135ms; }
.felt-splash-content > :nth-child(6) { animation-delay: 170ms; }
.felt-splash-content > :nth-child(n+7) { animation-delay: 200ms; }
.felt-splash h1 { animation: felt-home-in 650ms ease-out both, felt-title-glow 8s 650ms ease-in-out infinite; }
.felt-suits span { animation: felt-suit-drift 5.8s ease-in-out infinite; }
.felt-suits span:nth-child(2) { animation-delay: -1.4s; }
.felt-suits span:nth-child(3) { animation-delay: -2.9s; }
.felt-suits span:nth-child(4) { animation-delay: -4.3s; }
@keyframes felt-menu-in { from { opacity:0; translate:0 8px; scale:.99; } to { opacity:1; translate:0 0; scale:1; } }
@keyframes felt-overlay-in { from { opacity:0; } to { opacity:1; } }
@keyframes felt-home-in { from { opacity:0; translate:0 7px; } to { opacity:1; translate:0 0; } }
@keyframes felt-suit-drift { 0%,100% { translate:0 0; rotate:-1deg; } 50% { translate:0 -3px; rotate:1deg; } }
@keyframes felt-border-breathe { 0%,100% { opacity:.65; } 50% { opacity:1; } }
@keyframes felt-title-glow { 0%,100% { text-shadow:0 0 18px rgba(245,229,197,0); } 50% { text-shadow:0 0 18px rgba(245,229,197,.09); } }
@media (prefers-reduced-motion:reduce) {
  .felt-splash *, .felt-splash::before, dialog[open], dialog[open]::backdrop, .settings, .settings-box,
  .table-details-panel, .tutorial-page > *, .felt-lobby-shell, details[open] > :not(summary) { animation:none !important; }
  button, a[href], summary, input, select, [role="button"], [role="switch"] { transition:none; }
  .ui-pressed, button:active:not(:disabled), summary:active, a[href]:active { scale:1; }
}

/* Room warnings use the turn caption's space rather than blocking the hand. */
.felt-lifecycle-notice { position:absolute; z-index:39; width:max-content; min-width:0; height:26px; padding:3px 10px; display:flex; align-items:center; gap:6px; border:1px solid var(--felt-coral); border-radius:16px; background:rgba(12,53,69,.92); color:var(--felt-text); line-height:18px; white-space:nowrap; pointer-events:none; user-select:none; box-shadow:0 2px 6px rgba(5,26,36,.12); animation:felt-menu-in 180ms ease-out both; }
.felt-lifecycle-notice[hidden], .felt-lifecycle-notice [hidden] { display:none; }
.felt-lifecycle-icon { flex:0 0 auto; color:var(--felt-coral); font-size:15px; }
.felt-lifecycle-label { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.felt-lifecycle-consequence { flex:0 0 auto; color:var(--felt-muted); padding-left:6px; border-left:1px solid rgba(245,229,197,.25); }
.felt-lifecycle-clock { flex:0 0 auto; font-variant-numeric:tabular-nums; font-weight:600; color:var(--felt-ivory); }
.felt-lifecycle-notice[data-kind="private"] { border-color:var(--felt-line); }
.felt-lifecycle-notice.is-compact { gap:4px; padding:3px 6px; }
.felt-lifecycle-notice.is-compact .felt-lifecycle-consequence { display:none; }
.felt-lifecycle-notice.is-in-lobby { position:static; max-width:100% !important; height:auto; min-height:30px; margin-top:18px; font-size:13px !important; transform:none !important; white-space:normal; }
.felt-lifecycle-notice.is-in-lobby .felt-lifecycle-label { overflow:visible; }
.felt-lifecycle-notice.is-in-lobby .felt-lifecycle-consequence { white-space:nowrap; }
@media (prefers-reduced-motion:reduce) { .felt-lifecycle-notice { animation:none; } }

.felt-lifecycle-icon svg { display:block; width:15px; height:15px; }

.felt-lifecycle-notice.is-compact .felt-lifecycle-clock::before { content:"Closes "; font-weight:400; color:var(--felt-muted); }

/* A shared invitation has one destination and one action. */
.felt-invite-entry { padding: max(32px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left)); }
.felt-invite-entry .felt-splash-content { width: min(100%, 380px); padding: 16px 0; }
.felt-invite-brand { margin: 0 0 30px; color: var(--felt-muted); font-size: 16px; letter-spacing: .05em; }
.felt-invite-brand span { margin-left: 8px; color: var(--felt-ivory); letter-spacing: .18em; }
.felt-invite-mark { display: flex; justify-content: center; margin: 0 0 27px; }
.felt-invite-mark span { display: grid; place-items: center; width: 46px; height: 62px; border-radius: 7px; background: linear-gradient(160deg, #fff5df, #ead6b4); color: var(--felt-ink); box-shadow: 0 5px 15px #051e2b44; font-size: 35px; transform: rotate(-10deg); }
.felt-invite-mark span + span { margin-left: -5px; color: #b12e35; transform: rotate(10deg) translateY(3px); }
.felt-invite-eyebrow { margin: 0 0 10px; color: var(--felt-muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.felt-invite-entry h1 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(30px, 8vw, 42px); line-height: 1.12; }
.felt-invite-detail { max-width: 32ch; margin: 14px 0 0; color: var(--felt-muted); font-size: 15px; line-height: 1.5; }
.felt-invite-seats { display: flex; gap: 10px; margin: 22px 0 26px; }
.felt-invite-seats span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px dashed #baa98788; border-radius: 50%; color: #c5d1ca88; font-size: 18px; }
.felt-invite-seats .is-seated { border: 1px solid var(--felt-line); background: #fff1d511; color: var(--felt-ivory); }
.felt-invite-form { width: 100%; text-align: left; }
.felt-invite-form label { display: block; margin-bottom: 8px; color: var(--felt-muted); font-size: 14px; }
.felt-invite-form input { width: 100%; min-height: 50px; padding: 12px 16px; color: var(--felt-text); background: #0c354588; border: 1px solid #baa98788; border-radius: 12px; font-size: 16px; outline-color: var(--felt-ivory); }
.felt-invite-form input::placeholder { color: #c5d1ca99; }
.felt-invite-form button { width: 100%; margin-top: 16px; min-height: 52px; border: 0; font-size: 17px; }
.felt-invite-reassurance { margin: 14px 0 0; color: var(--felt-muted); font-size: 12px; }
.felt-invite-entry .felt-load-status { min-height: 0; margin: 12px 0 0; font-size: 13px; }
.felt-invite-entry .felt-invite-back { margin-top: 12px; padding: 10px 14px; min-height: 44px; color: var(--felt-muted); font-size: 13px; }
.felt-invite-entry [hidden] { display: none; }
@media (max-height: 690px) {
  .felt-invite-entry .felt-splash-content { padding: 0; }
  .felt-invite-brand { margin-bottom: 16px; }
  .felt-invite-mark { margin-bottom: 18px; }
  .felt-invite-mark span { width: 36px; height: 48px; font-size: 28px; }
  .felt-invite-seats { margin: 16px 0 20px; }
}
@media (max-height: 440px) and (orientation: landscape) {
  .felt-invite-entry .felt-splash-content { width: min(100%, 680px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
  .felt-invite-brand { grid-column: 1; margin: 0 0 12px; }
  .felt-invite-mark, .felt-invite-eyebrow, .felt-invite-seats { display: none; }
  .felt-invite-entry h1 { grid-column: 1; font-size: 30px; }
  .felt-invite-detail { grid-column: 1; margin: 12px 0; }
  .felt-invite-form { grid-column: 2; grid-row: 1 / span 3; }
  .felt-invite-reassurance { grid-column: 2; margin: 8px 0; }
  .felt-invite-entry .felt-load-status { grid-column: 1 / -1; }
  .felt-invite-entry .felt-invite-back { grid-column: 1 / -1; margin-top: 0; }
}
.felt-lobby-invite-actions { display: flex; align-items: center; gap: 8px; }
.felt-lobby-copy.is-text { min-width: 0; border: 0; color: var(--felt-muted); background: transparent; padding: 10px; font-size: 12px; }
.felt-lobby-copy.is-text:hover { color: var(--felt-text); text-decoration: underline; }
@media (max-width: 600px) and (orientation: portrait) {
  .felt-lobby-invite-actions { flex-wrap: wrap; justify-content: center; }
  .felt-lobby-invite-actions .felt-lobby-copy.is-text { flex: 0 0 100%; }
  .felt-lobby-invite-actions .felt-lobby-copy.is-secondary { flex: 1; }
}

/* Reading direction changes text, never the card order or seats at the table. */
canvas, .felt-lobby-seats, .tutorial-table, .tutorial-hand, .tutorial-play-area,
.tutorial-tally, .recap-levels, .recap-kitty { direction: ltr; }
[dir="rtl"] .felt-tutorial, [dir="rtl"] .how-to-play,
[dir="rtl"] .table-details-body, [dir="rtl"] .recap-body { text-align: right; }
[dir="rtl"] .how-to-play ul, [dir="rtl"] .how-to-play ol { padding-inline-start: 24px; padding-inline-end: 0; }
[dir="rtl"] .felt-bot-option input { right: auto; left: 0; }
[dir="rtl"] .felt-lifecycle-clock { direction: ltr; unicode-bidi: isolate; }
:lang(ar), :lang(hi) { letter-spacing: normal; }
.felt-language-switcher { min-width: 0; }
.felt-language-switcher select {
  flex: 0 1 auto; appearance: none; -webkit-appearance: none; font: inherit;
  min-height: 44px; min-width: 0; max-width: 210px; padding-block: 8px; padding-inline: 12px 40px;
  border: 1px solid #baa98766; border-radius: 999px; color: var(--felt-text); cursor: pointer;
  background-color: var(--felt-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23fff1d5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 12px 8px; background-position: right 16px center;
}
[dir="rtl"] .felt-language-switcher select { background-position: left 16px center; }
[dir="rtl"] .tutorial-tally > small, [dir="rtl"] .tutorial-tally > p, [dir="rtl"] .tutorial-tally > details { direction: rtl; }

/* Private seats retain their identity while waiting for every human's consent. */
.felt-lobby.is-private .felt-lobby-player-status { display:inline-flex; align-items:center; justify-content:center; gap:4px; max-width:100%; min-height:22px; padding:3px 6px; border:1px solid var(--felt-line); border-radius:999px; color:var(--felt-muted); font-size:11px; line-height:1.25; text-align:center; overflow-wrap:anywhere; }
.felt-lobby.is-private .felt-lobby-player-status::before { content:"○"; flex:none; font-size:12px; line-height:1; }
.felt-lobby.is-private .is-ready .felt-lobby-player-status { color:var(--felt-ivory); border-color:var(--felt-ivory); }
.felt-lobby.is-private .is-ready .felt-lobby-player-status::before { content:"✓"; }
.felt-lobby.is-private .is-disconnected .felt-lobby-player-status { color:var(--felt-coral); border-color:var(--felt-coral); }
.felt-lobby.is-private .is-disconnected .felt-lobby-player-status::before { content:"×"; }
.felt-lobby.is-private .is-disconnected .felt-lobby-avatar { opacity:.6; border-style:dashed; }
.felt-lobby.is-private .felt-lobby-ready-hint { color:var(--felt-muted); font-size:13px; line-height:1.5; margin:10px 0 0; }
.felt-lobby.is-private .felt-lobby-start[aria-pressed="true"] { box-shadow:inset 0 0 0 2px var(--felt-table); }
.felt-lobby.is-private .felt-lobby-player-status[hidden], .felt-lobby.is-private .felt-lobby-ready-hint[hidden] { display:none; }

/* Keep every private seat visible in portrait, even when translated guidance is long. */
@media (max-width:600px) and (orientation:portrait) {
  .felt-lobby.is-private .felt-lobby-body { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto; align-items:stretch; gap:14px; overflow:hidden; padding:4px 0 12px; }
  .felt-lobby.is-private .felt-lobby-message { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding-bottom:4px; }
}
@media (max-width:600px) {
  .felt-lobby.is-private .felt-lobby-player-status { padding:3px 4px; }
  .felt-lobby.is-private .felt-lobby-player-status::before { display:none; }
}
@media (max-width:600px) and (orientation:landscape) {
  .felt-lobby.is-private .felt-lobby-name { min-height:18px; }
}

/* A small, stable countdown beside the readiness toggle; it never blocks cancellation. */
.felt-lobby.is-private .felt-lobby-start:not([hidden]) { min-width:200px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding-inline:14px; }
.felt-lobby-start-countdown { font-size:11px; line-height:1.25; font-weight:500; white-space:nowrap; font-variant-numeric:tabular-nums; }
.felt-lobby-start-countdown[hidden] { display:none; }

/* Reactions float over the existing table geometry without moving cards. */
.table-reactions { position: absolute; inset: 0; z-index: 18; pointer-events: none; color: var(--felt-text); }
.table-reactions[hidden], .table-reactions [hidden] { display: none; }
.table-reaction-trigger { position: absolute; display: flex; align-items: center; justify-content: flex-end; padding: 0 2px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--felt-ivory); pointer-events: auto; }
.table-reaction-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; opacity: .45; transition: opacity 150ms ease; }
.table-reaction-trigger:hover:not(:disabled), .table-reaction-trigger:focus-visible { border-color: rgba(245,229,197,.35); }
.table-reaction-trigger:hover svg, .table-reaction-trigger:focus-visible svg { opacity: 1; }
.table-reaction-trigger:focus-visible { outline-offset: 2px; }
.table-reaction-trigger.is-fallback { justify-content: center; padding: 0; }
.table-reaction-trigger.is-fallback svg { width: 23px; height: 23px; opacity: .8; }
.table-reaction-trigger:disabled { cursor: default; opacity: .35; }
.table-reaction-picker { position: absolute; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 8px; border: 1px solid rgba(245,229,197,.65); border-radius: 18px; background: linear-gradient(165deg, #19586b, #0c3545); box-shadow: 0 8px 24px rgba(3,24,33,.3); pointer-events: auto; animation: table-reaction-picker-in 140ms ease-out both; }
.table-reaction-option { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 10px 6px; border: 0; border-radius: 11px; background: transparent; color: var(--felt-text); }
.table-reaction-option:hover, .table-reaction-option:focus-visible { background: rgba(245,229,197,.12); outline-offset: -2px; }
.table-reaction-label { max-width: 100%; overflow-wrap: anywhere; font-size: 14px; line-height: 19px; font-weight: 600; }
.table-reaction-bubble { position: absolute; display: grid; place-items: center; width: max-content; min-width: 44px; min-height: 34px; padding: 7px 9px; text-align: center; overflow-wrap: anywhere; white-space: normal; color: var(--felt-ink); border: 1px solid rgba(255,241,213,.9); border-radius: 14px 14px 14px 4px; background: var(--felt-text); box-shadow: 0 3px 10px rgba(3,24,33,.18); font-size: 14px; line-height: 18px; font-weight: 600; pointer-events: none; animation: table-reaction-pop 160ms ease-out both, table-reaction-fade 350ms ease-in var(--reaction-fade-delay) forwards; }
.table-reaction-bubble.is-narrow { padding-inline: 4px; }
@keyframes table-reaction-picker-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@keyframes table-reaction-pop { from { opacity: 0; transform: scale(.9) translateY(3px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes table-reaction-fade { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .table-reaction-trigger svg { transition: none; } .table-reaction-picker, .table-reaction-bubble { animation: none; } }

/* Only the current burier gets a private review target on the face-down stack. */
.kitty-review-trigger { position:absolute; z-index:17; padding:0; border:1px solid transparent; border-radius:10px; background:transparent; color:var(--felt-ivory); cursor:pointer; touch-action:manipulation; pointer-events:auto; }
.kitty-review-trigger[hidden], .kitty-review-trigger [hidden] { display:none; }
.kitty-review-trigger svg { position:absolute; right:-2px; top:1px; box-sizing:content-box; width:17px; height:17px; padding:3px; border:1px solid var(--felt-line); border-radius:999px; background:var(--felt-deep); fill:none; stroke:currentColor; stroke-width:1.6; }
.kitty-review-trigger span { position:absolute; left:50%; bottom:-1px; transform:translateX(-50%); padding:1px 6px; border:1px solid var(--felt-line); border-radius:999px; background:var(--felt-deep); font-family:inherit; font-size:11px; line-height:16px; font-weight:600; white-space:nowrap; }
.kitty-review-trigger:hover, .kitty-review-trigger:focus-visible { border-color:var(--felt-line); background:rgba(255,241,213,.06); }
.kitty-review-trigger.is-header svg { left:50%; right:auto; transform:translateX(-50%); }

/* A guaranteed result can be reviewed without adding another table control. */
.table-details-finish { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--felt-line); }
.table-details-finish p { margin: 6px 0 12px; color: var(--felt-muted); font-size: 14px; line-height: 1.4; }
.table-details-finish button { width: 100%; min-height: 44px; padding: 8px 16px; border: 1px solid var(--felt-line); border-radius: 999px; background: var(--felt-text); color: var(--felt-ink); font: inherit; cursor: pointer; }
.felt-end-round { box-sizing: border-box; width: calc(100% - 32px); max-width: 420px; max-height: calc(100dvh - 32px); margin: auto; padding: 24px; overflow: auto; border: 1px solid var(--felt-line); border-radius: 20px; background: linear-gradient(150deg, #19586b, #0c3545); color: var(--felt-text); font: 16px/1.45 var(--felt-font, Arial, Helvetica, sans-serif); box-shadow: 0 12px 40px rgba(3,24,33,.35); }
.felt-end-round::backdrop { background: rgba(5,26,36,.72); }
.felt-end-round h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; }
.felt-end-round p { margin: 0; color: var(--felt-muted); overflow-wrap: anywhere; }
.felt-end-round .end-round-result { padding: 18px 0; margin: 18px 0; border-block: 1px solid var(--felt-line); text-align: center; }
.felt-end-round .end-round-result > strong { font-size: 22px; font-weight: 600; }
.felt-end-round .end-round-members { margin-top: 4px; }
.end-round-levels { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 14px 0 4px; }
.end-round-level { display: grid; place-items: center; width: 46px; height: 64px; border-radius: 6px; background: linear-gradient(#fff7e6, #f0e0bf); color: var(--felt-ink); font: 600 34px/1 Georgia, serif; box-shadow: 0 3px 7px rgba(3,24,33,.22); }
.felt-end-round footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.felt-end-round button { flex: 1 1 120px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--felt-line); border-radius: 999px; background: transparent; color: var(--felt-text); font: inherit; cursor: pointer; touch-action: manipulation; }
.felt-end-round .end-round-confirm { background: linear-gradient(#fff7e6, #f0e0bf); color: var(--felt-ink); font-weight: 600; }
.felt-end-round button:disabled { opacity: .5; cursor: default; }
.felt-end-round .end-round-error { margin-top: 12px; color: var(--felt-text); }
@media(max-height: 430px) { .felt-end-round { padding: 16px 20px; } .felt-end-round .end-round-result { margin: 12px 0; padding: 12px 0; } .felt-end-round footer { margin-top: 14px; } }

@media(min-width: 540px) and (max-height: 430px) {
  .felt-end-round[open] { display: grid; grid-template-columns: minmax(140px,.8fr) minmax(0,1.4fr); gap: 10px 20px; max-width: 640px; font-size: 14px; }
  .felt-end-round h2 { grid-column: 2; grid-row: 1; font-size: 22px; margin: 0; }
  .felt-end-round .end-round-explanation { grid-column: 2; grid-row: 2; }
  .felt-end-round .end-round-result { grid-column: 1; grid-row: 1 / 6; align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 8px 18px 8px 0; border-block: 0; border-inline-end: 1px solid var(--felt-line); }
  .felt-end-round .end-round-note { grid-column: 2; grid-row: 3; }
  .felt-end-round .end-round-error { grid-column: 2; grid-row: 4; margin: 0; }
  .felt-end-round footer { grid-column: 2; grid-row: 5; margin-top: 2px; gap: 8px; }
  .felt-end-round button { flex-basis: 100px; padding: 8px; }
}

/* Optional table voice: a quiet entry, explicit microphone consent, no backdrop. */
.table-voice { position:absolute; inset:0; z-index:24; pointer-events:none; }
.table-voice[hidden], .table-voice [hidden] { display:none; }
.table-voice button { touch-action:manipulation; }
.table-voice-trigger { position:absolute; z-index:1; display:flex; align-items:center; justify-content:center; padding:8px; border:1px solid rgba(245,229,197,.48); border-radius:50%; background:rgba(12,53,69,.65); color:var(--felt-ivory); pointer-events:auto; }
.table-voice-trigger:hover, .table-voice-trigger:focus-visible, .table-voice-trigger.is-joined { border-color:var(--felt-line); background:var(--felt-deep); }
.table-voice-trigger .voice-mic { width:23px; height:23px; }
.voice-mic, .voice-listening { flex:0 0 auto; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.voice-listening { display:none; }
.table-voice-trigger .voice-listening { width:23px; height:23px; }
.table-voice-trigger.is-off .voice-mic-slash { display:block; }
.table-voice-trigger.is-muted .voice-mic { display:none; }
.table-voice-trigger.is-muted .voice-listening { display:block; }
.voice-mic-slash { display:none; }
.is-muted > .voice-mic .voice-mic-slash { display:block; }
.voice-speaking-bars { display:none; align-items:center; justify-content:center; gap:2px; width:12px; height:15px; color:var(--felt-line); }
.voice-speaking-bars i { display:block; width:2px; height:7px; border-radius:1px; background:currentColor; }
.voice-speaking-bars i:nth-child(2) { height:13px; }
.voice-speaking-bars i:nth-child(3) { height:9px; }
.is-speaking > .voice-speaking-bars { display:inline-flex; }
.table-voice-trigger .voice-speaking-bars { position:absolute; right:-3px; bottom:3px; padding:2px; width:16px; height:19px; border-radius:5px; background:var(--felt-deep); }
.table-voice-panel { position:absolute; z-index:2; padding:14px; overflow:auto; overscroll-behavior:contain; pointer-events:auto; border:1px solid var(--felt-line); border-radius:18px; background:linear-gradient(160deg,#19586b,#0c3545); box-shadow:0 8px 24px rgba(3,24,33,.3); color:var(--felt-text); font-size:14px; line-height:1.4; }
.table-voice-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:-8px -8px 6px 0; }
.table-voice-title { margin:0; font-size:19px; font-weight:600; line-height:1.2; overflow-wrap:anywhere; }
.table-voice-close { flex:0 0 44px; width:44px; height:44px; border:0; padding:10px; border-radius:50%; color:var(--felt-muted); background:transparent; }
.table-voice-close svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; }
.table-voice-close:hover { background:rgba(245,229,197,.08); }
.table-voice-join, .table-voice-audio, .table-voice-leave { width:100%; min-height:44px; padding:9px 12px; border:1px solid var(--felt-line); border-radius:999px; font:inherit; overflow-wrap:anywhere; }
.table-voice-join, .table-voice-audio { color:var(--felt-ink); background:linear-gradient(#fff7e6,#f0e0bf); font-weight:600; }
.table-voice-leave { margin-top:10px; color:var(--felt-text); background:transparent; }
.table-voice button:disabled { cursor:default; opacity:.5; }
.table-voice-hint, .table-voice-notice { margin:10px 0; color:var(--felt-muted); overflow-wrap:anywhere; }
.table-voice-notice { padding-block:8px; border-block:1px solid rgba(245,229,197,.2); }
.table-voice-privacy { margin:10px 0 0; color:var(--felt-muted); font-size:12px; text-align:center; }
.table-voice-microphone { display:flex; align-items:center; gap:9px; width:100%; min-height:44px; padding:8px 0; border:0; background:transparent; color:var(--felt-text); font:inherit; text-align:start; }
.table-voice-mic-label { flex:1; overflow-wrap:anywhere; }
.table-voice-switch { flex:0 0 34px; width:34px; height:21px; padding:3px; border:1px solid var(--felt-line); border-radius:20px; background:rgba(245,229,197,.24); }
.table-voice-switch::after { content:""; display:block; width:13px; height:13px; margin-inline-start:13px; border-radius:50%; background:var(--felt-ivory); }
.table-voice-microphone.is-muted .table-voice-switch { background:var(--felt-deep); }
.table-voice-microphone.is-muted .table-voice-switch::after { margin-inline-start:0; }
.table-voice-status { margin:0 0 8px; color:var(--felt-muted); }
.table-voice-people { list-style:none; padding:0; margin:10px 0 0; border-top:1px solid rgba(245,229,197,.2); }
.table-voice-person { display:grid; grid-template-columns:minmax(0,1fr) auto 32px; align-items:center; gap:8px; min-height:40px; padding:5px 0; }
.table-voice-person-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.table-voice-person-status { color:var(--felt-muted); font-size:12px; text-align:end; max-width:125px; overflow-wrap:anywhere; }
.table-voice-person-icon { display:flex; align-items:center; justify-content:flex-end; color:var(--felt-ivory); }
.table-voice-person-icon .voice-mic { width:17px; height:20px; }
.table-voice-person.is-reconnecting .table-voice-person-icon { opacity:.4; }
.table-voice-indicator { position:absolute; display:flex; align-items:center; justify-content:center; gap:1px; color:var(--felt-ivory); pointer-events:none; }
.table-voice-indicator .voice-mic { width:15px; height:17px; }
.table-voice-indicator.is-muted { opacity:.7; }
.table-voice-indicator .voice-speaking-bars { width:11px; }
.table-voice-indicator.is-lobby { border:1px solid var(--felt-line); border-radius:50%; background:var(--felt-deep); }
.table-voice-indicator.is-lobby.is-muted { opacity:1; color:var(--felt-muted); }
.table-voice-indicator.is-lobby.is-muted .voice-mic { display:none; }
.table-voice-indicator.is-lobby.is-muted .voice-listening { display:block; width:16px; height:16px; }
.table-voice-indicator.is-lobby .voice-speaking-bars { display:none; }
.table-voice-indicator.is-lobby.is-speaking { color:var(--felt-text); border-color:var(--felt-ivory); box-shadow:0 0 0 3px rgba(245,229,197,.2); }
@media (max-height:430px) { .table-voice-panel { padding:10px 14px; } .table-voice-hint, .table-voice-notice, .table-voice-people { margin-block:7px; } .table-voice-privacy { margin-top:7px; } }
@media (prefers-reduced-motion:reduce) { .table-voice *, .table-voice *::after { transition:none; animation:none; } }
