:root {
  --felt: #0b3d2e; --felt2: #0e4d3a; --gold: #f2b705; --muted: #9fb9ae; --panel: #12251f; --ink: #101820;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
  --gutter: 16px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--felt); color: #eef6f1; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: var(--gold); }
.wrap { width: 100%; max-width: 860px; margin: 0 auto;
  padding: calc(10px + var(--safe-t)) calc(var(--gutter) + var(--safe-r)) 16px calc(var(--gutter) + var(--safe-l)); }
header.site { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand b { font-size: 20px; letter-spacing: .01em; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.acct { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid #ffffff30; background: #ffffff12; color: #eef6f1; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; touch-action: manipulation; }
.btn.primary { background: var(--gold); color: #1d1600; border-color: transparent; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: default; }
main { flex: 1; }
.hero { padding: 18px 0 8px; }
.hero h1 { font-size: 28px; line-height: 1.2; margin: 6px 0 8px; }
.hero p { color: #cfe3da; margin: 0 0 12px; }
.tag { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #1d1600; background: var(--gold); border-radius: 999px; padding: 2px 10px; font-weight: 700; }
.tag.soon { background: #ffffff22; color: var(--muted); }
.games { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 14px 0; }
@media (min-width: 620px) { .games { grid-template-columns: 1fr 1fr; } }
.game { background: var(--felt2); border: 1px solid #ffffff18; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.game h2 { margin: 0; font-size: 20px; }
.game p { margin: 0; color: #cfe3da; font-size: 15px; }
.game .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.game.soon { opacity: .75; }
.cards { font-size: 26px; letter-spacing: 2px; }
.red { color: #ff6b6b; }
.panel { background: var(--panel); border: 1px solid #ffffff14; border-radius: 16px; padding: 16px; margin: 14px 0; }
.panel h2 { margin-top: 0; font-size: 19px; }
.doc h1 { font-size: 26px; margin: 14px 0 6px; }
.doc h2 { font-size: 19px; margin: 22px 0 6px; color: var(--gold); }
.doc p, .doc li { color: #dcebe4; }
.doc .meta { color: var(--muted); font-size: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc td { border-bottom: 1px solid #ffffff14; padding: 6px 4px; vertical-align: top; }
.doc td:first-child { font-weight: 700; white-space: nowrap; padding-right: 12px; }
form.signin { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
form.signin label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
form.signin input { font: inherit; font-size: 16px; padding: 12px; border-radius: 10px; border: 1px solid #ffffff30; background: #0a2a20; color: #fff; min-height: 44px; }
.err { color: #ffb4a8; min-height: 1.4em; margin: 0; }
.note { color: var(--muted); font-size: 14px; }
footer.site { border-top: 1px solid #ffffff14; margin-top: 18px; }
footer.site .wrap { padding-bottom: calc(18px + var(--safe-b)); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
footer.site a { color: #cfe3da; }
footer.site .chips { color: var(--gold); }
footer.site .fine { flex-basis: 100%; font-size: 13px; }
@media (orientation: landscape) and (max-height: 500px) { .hero { padding-top: 6px; } .hero h1 { font-size: 24px; } }
