:root { --red: #c8202a; --red-hi: #e02a35; --bg: #000; --panel: #111; --line: #2a2a2a; --text: #fff; --muted: #a8a8a8; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Rajdhani, "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.45; }
a { color: var(--red-hi); }
.top { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 2px solid var(--red); }
.brand { font-size: 26px; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: .5px; }
.brand span { color: var(--red); }
.signup { background: var(--red); color: #fff; text-decoration: none; padding: 7px 12px; border-radius: 6px; font-weight: 700; font-size: 15px; }
main { max-width: 760px; margin: 0 auto; padding: 14px 12px 30px; }
h1 { font-size: 28px; line-height: 1.15; margin: 8px 0 6px; }
h2 { font-size: 22px; margin: 0 0 8px; }
h3 { font-size: 18px; margin: 18px 0 4px; color: var(--red-hi); }
.lead { color: var(--muted); margin: 0 0 14px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.row[hidden] { display: none; }
.row label { width: 92px; white-space: nowrap; color: var(--muted); font-weight: 700; }
select { flex: 1; background: #000; color: #fff; border: 1px solid #444; border-radius: 6px; padding: 9px 8px; font: inherit; min-width: 0; }
.hand { border-top: 1px solid var(--line); padding: 8px 0 10px; }
.hand h4 { margin: 0 0 6px; font-size: 16px; display: flex; gap: 8px; align-items: baseline; }
.hand h4 small { color: var(--muted); font-weight: 400; font-size: 14px; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { width: 44px; height: 62px; border-radius: 6px; border: 2px dashed #555; background: #000; color: #666; font: inherit; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.slot.filled { background: #fff; border: 2px solid #fff; }
.slot.active { border-color: var(--red-hi); border-style: solid; box-shadow: 0 0 0 2px var(--red); }
.slot.dim { opacity: .55; }
.red { color: #d21f2b; }
.blk { color: #111; }
.pickerhead { display: flex; justify-content: space-between; align-items: center; margin: 6px 0; color: var(--muted); font-weight: 700; }
button.ghost { background: transparent; color: var(--muted); border: 1px solid #444; border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 14px; cursor: pointer; }
.grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 3px; }
.gc { aspect-ratio: 5 / 7; min-height: 40px; border: 0; border-radius: 4px; background: #fff; font: inherit; font-weight: 700; font-size: 14px; line-height: 1.05; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gc small { font-size: 12px; }
.gc:disabled { background: #2b2b2b; color: #555 !important; cursor: not-allowed; }
.msg { min-height: 24px; margin: 12px 0 4px; color: var(--muted); }
.msg.err { color: #ff8a8a; }
.results { margin-top: 4px; }
.res { margin-bottom: 12px; }
.res .name { display: flex; justify-content: space-between; font-weight: 700; }
.res .name b { font-size: 22px; }
.bar { height: 14px; background: #2a2a2a; border-radius: 7px; overflow: hidden; margin: 3px 0; }
.bar i { display: block; height: 100%; background: #6a6a6a; }
.res.hero .bar i { background: var(--red); }
.res .sub { color: var(--muted); font-size: 14px; }
.meta { color: var(--muted); font-size: 13px; margin-top: 6px; }
.cta { background: var(--red); border-radius: 10px; padding: 16px; margin: 20px 0; }
.cta p { margin: 0 0 12px; }
.btn { display: inline-block; background: #000; color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 6px; font-weight: 700; }
.about p { color: #d6d6d6; margin: 0 0 6px; }
footer { border-top: 1px solid var(--line); padding: 14px 16px 24px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 420px) {
  h1 { font-size: 24px; }
  .row label { width: 88px; }
  .slot { width: 40px; height: 56px; }
  .gc { min-height: 38px; font-size: 13px; }
  .signup { font-size: 14px; padding: 6px 10px; }
}
