:root {
  --bg: #16130f;
  --bg2: #1f1a14;
  --card: #26201a;
  --line: #3a3128;
  --text: #efe6d6;
  --muted: #a99d8a;
  --accent: #e0a437;
  --accent2: #6fb36a;
  --danger: #d9534f;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% -200px, #3a2c15 0%, var(--bg) 60%);
  min-height: 100vh;
}
a { color: var(--accent); }
header.top {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: 1040px; margin: 0 auto; padding: 18px 20px;
}
header.top img { width: 40px; height: 40px; image-rendering: pixelated; border-radius: 8px; }
header.top .brand { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
header.top nav { margin-left: auto; display: flex; gap: 18px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover, header.top nav a[aria-current] { color: var(--text); }
main { max-width: 1040px; margin: 0 auto; padding: 0 20px 60px; }
.hero { text-align: center; padding: 40px 0 28px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); margin: 0 0 10px; letter-spacing: -0.5px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 22px; }
.address {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 18px; font-size: 22px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
.address button {
  font: inherit; font-size: 14px; font-family: system-ui, sans-serif; cursor: pointer;
  background: var(--accent); color: #1a1408; border: 0; border-radius: 8px; padding: 6px 12px; font-weight: 600;
}
.address button:active { transform: translateY(1px); }
.note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card h2 { margin: 0 0 12px; font-size: 20px; }
.card ol, .card ul { padding-left: 20px; margin: 0; }
.card li { margin: 6px 0; }
.card li b { color: var(--text); }
code, kbd {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.92em;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px;
}
.status-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.dot.on { background: var(--accent2); box-shadow: 0 0 8px var(--accent2); }
.dot.off { background: var(--danger); }
.big { font-size: 30px; font-weight: 700; }
table.tables { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
table.tables th, table.tables td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.tables th { color: var(--muted); font-weight: 600; }
table.tables td.r, table.tables th.r { text-align: right; }
.phase { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); color: var(--muted); }
.phase.lobby { color: var(--accent2); border-color: var(--accent2); }
.phase.over { color: var(--muted); }
.phase.play { color: var(--accent); border-color: var(--accent); }
.muted { color: var(--muted); }
.shots { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.shot { aspect-ratio: 16/9; background: var(--bg2); border: 1px dashed var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
section.text { max-width: 760px; margin: 0 auto; }
section.text h1 { margin-top: 30px; }
section.text h2 { margin-top: 30px; font-size: 22px; }
section.text table { border-collapse: collapse; width: 100%; margin: 12px 0; }
section.text th, section.text td { border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; }
section.text th { color: var(--muted); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; padding: 22px 20px 40px; }
footer p { margin: 6px 0; max-width: 820px; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) {
  .address { font-size: 17px; flex-wrap: wrap; justify-content: center; }
  header.top nav { margin-left: 0; width: 100%; }
}
