:root {
  --night: #07111a;
  --panel: #081722e8;
  --line: #3d5964;
  --text: #edf2ed;
  --muted: #aac0c4;
  --gold: #e6ba78;
  --green: #8ec9aa;
  --red: #ed9b8a;
  --radius: 16px;
  color: var(--text);
  background: var(--night);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--night); }
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; }
body::before { background: url("/treasure-vault-desktop.png") center / cover no-repeat; }
body::after { background: linear-gradient(180deg, #07111ade 0%, #07111a91 52%, #07111af2 100%); }
.page { position: relative; z-index: 1; width: min(1120px, calc(100% - 44px)); min-height: 100vh; margin: 0 auto; padding: 40px 0 0; display: flex; flex-direction: column; }
.logo { display: block; width: 70%; height: auto; margin: 0 auto 24px; }
.tabs { display: flex; width: 100%; gap: 8px; margin: 0 0 36px; }
.tabs a { min-height: 44px; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: #07111adb; color: var(--muted); text-decoration: none; font-weight: 700; }
.tabs a:hover { border-color: var(--gold); color: var(--text); }
.tabs a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.tabs a[aria-current="page"] { color: #211706; background: var(--gold); border-color: var(--gold); }
.page-content { flex: 1; padding: 0; }
.page-introduction { margin: 0 0 28px; padding: 0; border: 0; }
.eyebrow { margin: 0 0 12px; color: var(--gold); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
h1, h2, h3 { font-family: Georgia, serif; }
h1 { margin: 0 0 8px; font-size: clamp(36px, 6vw, 64px); }
h2 { margin: 38px 0 16px; }
.muted, .hero-copy { color: var(--muted); line-height: 1.55; }
.hero-copy { max-width: 680px; margin: 0; }
.panel-grid { display: grid; border: 1px solid #6e8b948a; border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: 0 22px 50px #03090c66; }
.panel-grid--three { grid-template-columns: repeat(3, 1fr); }
.panel-grid--two { grid-template-columns: repeat(2, 1fr); }
.panel { min-width: 0; padding: 30px; }
.panel + .panel { border-left: 1px solid var(--line); }
.panel-grid--two .panel:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
.panel-grid--two .panel:nth-child(4) { border-top: 1px solid var(--line); }
.panel-label, .panel dt { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.panel dl, .panel dd { margin: 0; }
.panel-value, .panel dd { display: flex; align-items: center; gap: 12px; margin-top: 15px; font: normal clamp(32px, 4vw, 52px)/1 Georgia, serif; overflow-wrap: anywhere; }
.panel small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 5px #aac0c41f; }
.is-running .dot { background: var(--green); box-shadow: 0 0 0 5px #8ec9aa22; }
.is-stopped .dot { background: var(--red); box-shadow: 0 0 0 5px #ed9b8a22; }
.player-names { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.site-footer { margin-top: 56px; padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer__title { margin: 0 0 12px; color: var(--gold); font-size: 12px; letter-spacing: .17em; text-transform: uppercase; }
.site-footer__activity { display: flex; flex-wrap: wrap; gap: 8px 38px; margin-bottom: 13px; }
.site-footer strong { color: var(--text); font-weight: 600; }
.site-footer p { margin: 0; line-height: 1.5; }
@media (max-width: 760px) {
  body::before { background-image: url("/treasure-vault-mobile.png"); }
  .page { width: min(100% - 32px, 1120px); padding-top: 26px; }
  .logo { width: min(100%, 420px); }
  .tabs { overflow-x: auto; padding-bottom: 4px; }
  .tabs a { flex: 1 0 auto; }
  .panel-grid--three, .panel-grid--two { grid-template-columns: 1fr; }
  .panel + .panel { border-top: 1px solid var(--line); border-left: 0; }
  .panel { padding: 24px; }
}
@media (prefers-reduced-motion: no-preference) { .tabs a, .dot { transition: color .2s ease, border-color .2s ease, background-color .2s ease; } }
