:root {
  --night: #0b1324; --night-2: #111c33; --card: #15213b; --line: #24345a;
  --text: #eef2fa; --muted: #93a2c2; --gold: #ffcf5a; --gold-2: #ff9f3a; --red: #ff6b5e; --green: #6ee7a8;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #1d2f57 0%, transparent 60%),
              radial-gradient(900px 500px at 110% 10%, #2a1d3d 0%, transparent 55%), var(--night);
}
.garland {
  height: 22px; margin-bottom: 8px;
  background: radial-gradient(circle at 12px 8px, var(--gold) 0 4px, transparent 5px) 0 0/48px 22px repeat-x,
              radial-gradient(circle at 36px 14px, var(--red) 0 4px, transparent 5px) 0 0/48px 22px repeat-x;
  filter: drop-shadow(0 0 6px rgba(255, 207, 90, .55));
}
header, main, footer { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 24px; padding-bottom: 8px; }
.eyebrow { margin: 0; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; font-weight: 600; }
h1 { margin: 4px 0 6px; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; }
.lead { margin: 0; color: var(--muted); max-width: 60ch; }
.session { margin-top: 12px; min-height: 24px; color: var(--muted); }
.session b { color: var(--gold); }
main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; margin-top: 20px; align-items: start; }
@media (max-width: 860px) { main { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, var(--card), var(--night-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; }
h2 { margin: 0 0 10px; font-size: 20px; } h3 { margin: 16px 0 8px; font-size: 15px; }
.card > h3:first-child { margin-top: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:nth-child(1) td:first-child { color: var(--gold); font-weight: 700; }
tbody tr:nth-child(2) td:first-child { color: #d9e2f2; font-weight: 700; }
tbody tr:nth-child(3) td:first-child { color: #e8a36a; font-weight: 700; }
tr.mine td { background: rgba(255, 207, 90, .08); }
.stars { color: var(--gold); letter-spacing: 2px; }
.muted { color: var(--muted); } .small { font-size: 14px; }
@media (max-width: 560px) { .hide-s { display: none; } }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tabs button { flex: 1; }
button { font: inherit; cursor: pointer; border-radius: 10px; padding: 9px 14px; border: 1px solid var(--line); background: transparent; color: var(--text); }
button.active { background: var(--line); }
button.primary { width: 100%; border: 0; color: #2a1a00; font-weight: 700; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
button.ghost:hover, .tabs button:hover { border-color: var(--gold); }
button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
label { display: block; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
input { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; color: var(--text); background: var(--night); border: 1px solid var(--line); border-radius: 10px; }
.msg { min-height: 22px; margin: 10px 0 0; font-size: 14px; } .msg.err { color: var(--red); } .msg.ok { color: var(--green); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.stats div { background: var(--night); border-radius: 10px; padding: 10px 4px; }
.stats span { display: block; font-size: 24px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.stats small { color: var(--muted); }
.recent { padding-left: 20px; margin: 0 0 14px; } .recent li { margin: 4px 0; }
footer { padding-bottom: 28px; }
