/* The Magistrate - the summons page (/s/<code>) and the landing page. Served by the Crown Service. */
@font-face { font-family: "Roboto Black"; src: url("/static/fonts/Roboto-Black.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("/static/fonts/Roboto-BoldCondensed.ttf") format("truetype"); font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0d0b08; --panel: rgba(13, 11, 8, 0.86); --ivory: #eee6d6; --grey: #aaa294;
  --gold-hi: #ffe296; --gold: #d9a441; --gold-lo: #be8028; --red: #c4261e; --line: rgba(217, 164, 65, 0.45);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--ink) url("/static/page_bg.jpg") center / cover fixed no-repeat;
  color: var(--ivory); font: 17px/1.45 "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh;
  padding: 24px 16px;
}
.sheet {
  width: 100%; max-width: 560px; background: var(--panel); border: 1px solid var(--line);
  outline: 1px solid rgba(217, 164, 65, 0.18); outline-offset: 6px; border-radius: 4px;
  padding: 28px 32px 30px; text-align: center; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.logo { width: 180px; height: auto; display: block; margin: -4px auto 6px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.6)); }
.kicker { margin: 4px 0 0; color: var(--gold-hi); letter-spacing: 0.32em; font-size: 15px; }
h1 {
  margin: 4px 0 2px; font: 64px/1.02 "Roboto Black", Impact, sans-serif; letter-spacing: 0.01em;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); -webkit-background-clip: text; background-clip: text;
  color: transparent; overflow-wrap: anywhere; text-shadow: 0 0 28px rgba(255, 190, 80, 0.18);
}
.risen h1 { font-size: 44px; }
.lede { margin: 6px 0 0; color: var(--ivory); font-size: 19px; }
.where { margin: 2px 0 14px; font: 40px/1.1 "Roboto Black", Impact, sans-serif; color: var(--ivory); letter-spacing: 0.01em; }
.facts { list-style: none; padding: 0; margin: 0 0 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; }
.facts li { display: flex; flex-direction: column; align-items: center; min-width: 70px; }
.facts b { color: var(--gold); font-weight: 400; letter-spacing: 0.18em; font-size: 13px; }
.facts span { font: 30px/1.2 "Roboto Black", Impact, sans-serif; }
.facts em { font-style: normal; color: var(--grey); font-size: 13px; }
.pips { display: flex; gap: 7px; padding-top: 8px; }
.pips i { width: 20px; height: 20px; border-radius: 50%; display: block; }
.pips i.open { border: 3px solid var(--gold-hi); box-shadow: inset 0 0 0 4px var(--panel), inset 0 0 0 10px var(--gold-hi); }
.pips i.taken { background: #463e32; }
.phase { font-size: 15px !important; font-family: "Roboto Condensed", sans-serif !important; letter-spacing: 0.12em;
  background: var(--red); color: #fff4e6; border-radius: 999px; padding: 6px 14px; margin-top: 8px; line-height: 1 !important; }
.live { margin: -4px auto 16px; padding: 8px 12px; border: 1px solid rgba(196, 38, 30, 0.7); color: #ffd9d2;
  letter-spacing: 0.08em; font-size: 14px; border-radius: 3px; }
.join {
  display: block; margin: 6px auto 0; padding: 18px 20px; max-width: 380px; text-decoration: none; letter-spacing: 0.16em;
  font: 26px/1 "Roboto Black", Impact, sans-serif; color: #1a1206; border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 0 0 1px rgba(255, 226, 150, 0.6) inset, 0 10px 30px rgba(217, 164, 65, 0.25);
}
.join:hover, .join:focus-visible { filter: brightness(1.08); outline: none; box-shadow: 0 0 0 2px var(--gold-hi), 0 10px 34px rgba(217, 164, 65, 0.4); }
.code { margin: 14px 0 0; color: var(--grey); font-size: 15px; letter-spacing: 0.04em; }
.code b { color: var(--ivory); letter-spacing: 0.18em; }
.code button { font: inherit; font-size: 13px; color: var(--gold-hi); background: none; border: 1px solid var(--line);
  border-radius: 3px; padding: 3px 8px; margin-left: 6px; cursor: pointer; }
.nogame { margin: 16px 0 0; color: var(--grey); font-size: 15px; transition: color .3s; }
.nogame a { color: var(--gold-hi); }
.nogame.flash { color: var(--ivory); }
footer { margin-top: 20px; color: var(--grey); letter-spacing: 0.24em; font-size: 12px; text-align: center; }
@media (max-width: 480px) {
  .sheet { padding: 22px 18px 24px; }
  h1 { font-size: 46px; }
  .where { font-size: 30px; }
  .join { font-size: 21px; }
}
