:root {
  --bg: #111827;
  --panel: #172338;
  --line: #30415d;
  --text: #f8fafc;
  --muted: #b7c5d8;
  --mint: #5eead4;
  --amber: #f59e0b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 80% 6%, rgba(245,158,11,.18), transparent 18rem), var(--bg); color: var(--text); }
button { border: 0; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.app-shell { width: min(720px, 100%); min-height: 100dvh; margin: 0 auto; padding: 16px 14px 22px; }
.topbar, .status-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eyebrow, .label, .status-label { margin: 0 0 4px; color: var(--amber); font-size: .76rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2rem, 9vw, 3.4rem); line-height: .95; }
.icon-button, .primary { min-height: 44px; border-radius: 14px; font-weight: 900; }
.icon-button { width: 48px; background: var(--panel); border: 1px solid var(--line); }
.primary { padding: 0 16px; background: var(--amber); color: #111827; }
.status-card, .players, .row { margin-top: 12px; padding: 14px; border: 1px solid rgba(245,158,11,.28); border-radius: 18px; background: rgba(23,35,56,.88); }
.status-text, .mini-note { margin: 0; color: var(--muted); line-height: 1.35; }
.rows { display: grid; gap: 8px; margin-top: 12px; }
.row { display: flex; align-items: center; gap: 8px; overflow-x: auto; }
.row-title { flex: 0 0 72px; color: var(--amber); font-weight: 1000; white-space: pre-line; line-height: 1.15; }
.card, .hand button { display: grid; place-items: center; min-width: 58px; height: 78px; border-radius: 12px; border: 2px solid rgba(248,250,252,.7); background: #f8fafc; color: #111827; font-weight: 1000; box-shadow: 0 10px 22px rgba(0,0,0,.22); text-align: center; }
.art-card { text-indent: -9999px; overflow: hidden; }
.hand { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; margin-top: 8px; }
.hand button:disabled { opacity: .45; cursor: not-allowed; }
.players { white-space: pre-wrap; font: 800 .9rem/1.35 ui-monospace, Consolas, monospace; }
.footer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.secondary { min-height: 44px; border-radius: 14px; padding: 0 14px; border: 1px solid var(--line); background: var(--panel); font-weight: 900; }
@media (max-width: 460px) { .status-card { align-items: stretch; flex-direction: column; } }
