/* TheChase — the game UI for The Chase Club, in the club website's poster style:
   near-black and white, Anton headlines over Figtree text, and the club's flat colours
   (lime = live, orange = catchers, cream = runners, red = danger). No neon, no gradients. */

:root {
  --bg: #0b0b0b;
  --surface: #161616;
  --surface-2: #1f1f1f;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f5f5f2;
  --muted: #a3a3a0;
  --faint: #6b6b68;
  --paper: #f3f2ee;
  --accent: #c7f23a;
  --accent-ink: #0f1400;
  --runner: #efe6d2;
  --catcher: #ff6a13;
  --danger: #e5261f;
  --caught: #5c5c5a;
  --glass: rgba(14, 14, 14, .9);
  --radius: 18px;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

/* ---------- type ---------- */
.logo { font-family: var(--font-display); font-size: 52px; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.logo span { color: var(--text); margin-left: .22em; }
/* The Chase Club's logo: black on paper, so it sits on its own light tile. */
.club-logo { display: block; width: 120px; height: auto; padding: 6px; border-radius: 18px; background: var(--paper); margin-bottom: 28px; position: relative; }
.club-logo.small { width: 40px; padding: 3px; border-radius: 10px; margin: 0; box-shadow: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.logo small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-top: 12px; }
.title { font-family: var(--font-display); font-size: 40px; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.lead { color: var(--muted); font-size: 17px; margin-top: 8px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.section { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 36px 0 12px; display: flex; gap: 8px; align-items: baseline; }
.muted { color: var(--muted); }
.fine { color: var(--faint); font-size: 13px; text-align: center; margin-top: 12px; }
.hint { color: var(--muted); font-size: 14px; }
.error { color: var(--danger); font-size: 14px; min-height: 1.4em; margin-top: 12px; }
.num-tab { font-variant-numeric: tabular-nums; }

/* ---------- page layout (everything except the map screens) ---------- */
.page {
  min-height: 100dvh; width: min(560px, 100%); margin: 0 auto; padding: 0 24px;
  display: flex; flex-direction: column;
}
.page.wide { width: min(760px, 100%); }
.page-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(14px + var(--safe-top)) 0 8px; min-height: 60px;
}
.page-body { flex: 1; padding: 24px 0 32px; }
.page-body.hero { padding-top: 14vh; }
.page-action {
  position: sticky; bottom: 0; z-index: 5;
  padding: 24px 0 calc(20px + var(--safe-bottom));
  background: linear-gradient(to bottom, transparent, var(--bg) 28%);
}
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > .grow, .grow { flex: 1; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* ---------- fields ---------- */
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
input, select {
  font: inherit; font-size: 18px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  height: 56px; padding: 0 16px; width: 100%; min-width: 0;
  transition: border-color .15s, background .15s;
}
input::placeholder { color: var(--faint); }
input:focus { outline: none; border-color: var(--line-strong); background: var(--surface-2); }
input:disabled { opacity: .6; }
.code-input { text-transform: uppercase; letter-spacing: .32em; font-weight: 700; font-size: 22px; text-align: center; }
.code-input::placeholder { letter-spacing: .32em; font-weight: 600; }
input[type="checkbox"] { width: 22px; height: 22px; padding: 0; accent-color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--surface-2); color: var(--text);
  font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .1s ease, background .2s, opacity .2s, color .2s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; height: 56px; font-size: 17px; }
.btn.primary { background: #fff; color: #0b0b0b; }
.btn.secondary { background: var(--surface-2); border-color: var(--line); }
.btn.text { background: none; color: var(--muted); padding: 0 6px; height: 40px; }
.btn.small { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.danger { background: none; color: #ff5a52; border-color: rgba(229, 38, 31, .5); }
.btn.armed { background: var(--danger); color: white; border-color: transparent; }
.icon-btn { width: 40px; padding: 0; }

/* ---------- lists ---------- */
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.people li {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 4px;
  border-bottom: 1px solid var(--line);
}
.people li:last-child { border-bottom: none; }
.people .who { flex: 1; min-width: 0; display: grid; }
.people .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people .sub { font-size: 13px; color: var(--muted); }
.people li.out .name { color: var(--faint); text-decoration: line-through; }
.people .empty { color: var(--muted); border: none; justify-content: center; padding: 24px 0; text-align: center; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--surface-2); color: var(--muted); position: relative;
}
.avatar.runner { background: rgba(239, 230, 210, .12); color: var(--runner); }
.avatar.catcher { background: rgba(255, 106, 19, .14); color: var(--catcher); }
.avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--faint); border: 2px solid var(--bg);
}
.avatar.on::after { background: var(--accent); }
.avatar.no-status::after { display: none; }

.chip {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap; flex: none;
  background: var(--surface-2); color: var(--muted); border: 1px solid transparent;
}
.chip.ok { color: var(--text); }
.chip.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.chip.bad { color: #ff5a52; background: rgba(229, 38, 31, .14); }
.chip.runner { color: var(--runner); background: rgba(239, 230, 210, .1); }
.chip.catcher { color: var(--catcher); background: rgba(255, 106, 19, .12); }
button.chip { cursor: pointer; border-color: var(--line); height: 36px; padding: 0 12px; }

/* ---------- notices ---------- */
.notice {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 28px; padding: 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.notice.bad { border-color: rgba(229, 38, 31, .5); }
.notice b { display: block; font-weight: 600; }
.notice .hint { margin-top: 2px; }

.waiting { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-top: 10px; }
.breath { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .25; transform: scale(.7); } }

.room-code { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.room-code b { color: var(--text); font-weight: 800; letter-spacing: .18em; margin-left: 6px; }

/* ---------- maps ---------- */
.map { background: #e8e4dc; }
.map.fill { position: fixed; inset: 0; }
/* Daylight map: the normal full-colour street map, easy to read outdoors in bright sun. */
.map .leaflet-tile-pane { filter: saturate(1.15) contrast(1.05); }
.leaflet-container { font: inherit; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface); color: var(--text); border-radius: 12px; }
.leaflet-popup-content { margin: 12px 14px; font-size: 14px; }
.leaflet-control-attribution { background: rgba(255, 255, 255, .8) !important; color: #555; font-size: 10px; }
.leaflet-control-attribution a { color: #555; }
.leaflet-bar a { background: var(--glass); color: var(--text); border-color: var(--line) !important; }
.leaflet-bar { border: 1px solid var(--line) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-touch .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; font-size: 20px; }

.zone-mask { stroke: none; fill: #111; fill-opacity: .28; transition: fill .6s; }
.map.danger .zone-mask { fill: var(--danger); fill-opacity: .3; }
.zone-edge { stroke: #111; stroke-width: 3.5; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff); }
.zone-next { stroke: #111; stroke-opacity: .8; stroke-width: 2.5; stroke-dasharray: 8 8; }
.zone-plan { stroke: #111; stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 5 8; }
.zone-setup { stroke: #111; stroke-width: 3; fill: #111; fill-opacity: .08; }
.accuracy { stroke: #1d6fe0; stroke-opacity: .5; stroke-width: 1; fill: #1d6fe0; fill-opacity: .12; }

.marker { position: relative; }
.dot {
  width: 26px; height: 26px; border-radius: 50%; position: relative;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--bg);
  border: 2.5px solid #0b0b0b; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 3px 8px rgba(0, 0, 0, .45);
}
.dot-runner { background: var(--runner); }
.dot-catcher { background: var(--catcher); }
.dot-reveal { opacity: .8; outline: 2px dashed rgba(255, 255, 255, .7); outline-offset: 2px; }
.dot::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; pointer-events: none;
  border: 2px solid currentColor; opacity: 0;
}
.dot-runner::after { color: var(--runner); }
.dot-catcher::after { color: var(--catcher); }
.dot.ping::after { animation: ping 1.4s ease-out; }
@keyframes ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
.dot-me { border-color: #fff; border-width: 3px; box-shadow: 0 0 0 2px #0b0b0b, 0 3px 10px rgba(0, 0, 0, .5); }
.dot-me::after { opacity: .5; color: #0b0b0b; animation: halo 2.8s ease-in-out infinite; }
@keyframes halo { 0%, 100% { transform: scale(1.2); opacity: .35; } 50% { transform: scale(1.7); opacity: 0; } }
.marker-label {
  position: absolute; top: 29px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 6px;
  background: var(--glass); color: var(--text);
}
.pin div { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; }
.pin-caught div { width: 14px; height: 14px; margin: 4px; background: var(--caught); border: 2px solid var(--bg); opacity: .85; }
.pin-sos div { width: auto; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--danger); color: white; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.pin-center div { width: 14px; height: 14px; margin: 4px; background: white; border: 3px solid var(--bg); cursor: move; }
.pin-handle div { background: white; border: 3px solid #111; box-shadow: 0 0 0 6px rgba(17, 17, 17, .15), 0 2px 8px rgba(0, 0, 0, .4); cursor: ew-resize; }
.radius-tip { background: var(--glass); color: var(--text); border: none; box-shadow: none; font-weight: 700; border-radius: 8px; }
.radius-tip::before { display: none; }

/* ---------- floating glass ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hud { position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: grid; justify-items: center; gap: 8px; padding: calc(12px + var(--safe-top)) 16px 0; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud-bar { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; max-width: 100%; min-width: 0; }
.hud-bar .room-code { flex: none; }
.role-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.role-dot.runner { background: var(--runner); }
.role-dot.catcher { background: var(--catcher); }
.timer { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hud-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; min-width: 0; }
.hud-sub:empty { display: none; }
.banner { max-width: min(480px, 100%); text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 14px; }
.banner.danger { background: var(--danger); border-color: transparent; color: white; }
.banner.clickable { cursor: pointer; }

.fab {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; color: var(--text); cursor: pointer;
}
.chip-btn { height: 40px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text); }
.chip-btn.on { border-color: var(--line-strong); }

/* bottom sheet (players / actions) */
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600;
  width: min(560px, 100%); margin: 0 auto;
  border-radius: 24px 24px 0 0; border-bottom: none;
  padding: 6px 20px calc(16px + var(--safe-bottom));
}
.sheet .fabs { position: absolute; right: 16px; bottom: calc(100% + 12px); display: flex; gap: 10px; align-items: center; }
.sheet-handle { display: block; width: 100%; height: 22px; background: none; border: none; cursor: pointer; position: relative; }
.sheet-handle::before { content: ""; position: absolute; left: 50%; top: 9px; width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); transform: translateX(-50%); }
.sheet-summary { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.sheet-summary b { color: var(--text); font-weight: 600; }
.sheet-summary .sep { color: var(--faint); }
.sheet-peek .btn.block { margin-top: 12px; }
.sheet-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.sheet-more > div { overflow: hidden; }
/* Open sheet: its contents scroll inside the screen, so the top bar and the main button never get pushed off. */
.sheet.open .sheet-more > div { overflow-y: auto; overscroll-behavior: contain; max-height: calc(100dvh - 300px - var(--safe-top) - var(--safe-bottom)); }
.sheet.open .sheet-more { grid-template-rows: 1fr; }
.sheet-more .people { margin-top: 8px; }
.sheet-more .row { margin-top: 14px; }
.sheet-more .row .btn { flex: 1; }

/* overlays */
.overlay { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .72); animation: fade .25s ease; }
.card { width: min(400px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; text-align: center; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin-top: 6px; }
.card p { margin-top: 8px; }
.card .btn.block { margin-top: 20px; }
.card .row { justify-content: center; margin-top: 10px; }
.card .row .btn { flex: 1; }
.card-icon { font-size: 40px; line-height: 1; }
.countdown { font-family: var(--font-display); font-size: 44px; font-weight: 400; letter-spacing: .02em; margin-top: 12px; }
.help-steps { text-align: left; margin: 16px 0 0; padding-left: 20px; font-size: 14px; display: grid; gap: 8px; color: var(--text); }
.pick-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; text-align: left; }
.pick-list .btn { width: 100%; justify-content: space-between; height: 56px; }
@keyframes fade { from { opacity: 0; } }

/* the role reveal: a full-screen poster in the role's colour */
.reveal {
  position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; text-align: center; padding: 32px;
  background: var(--role); color: var(--role-ink); cursor: pointer; overflow: hidden; animation: reveal-in .6s cubic-bezier(.2, 1, .3, 1);
}
.reveal::before {
  content: ""; position: absolute; inset: -40px; opacity: .07;
  background: repeating-linear-gradient(-45deg, var(--role-ink) 0 2px, transparent 2px 22px);
}
.reveal.runner { --role: var(--runner); --role-ink: #1a1408; }
.reveal.catcher { --role: var(--catcher); --role-ink: #160700; }
.reveal-inner { position: relative; animation: rise .8s ease .15s both; }
.reveal .eyebrow { color: var(--role-ink); opacity: .7; }
.reveal h1 { font-family: var(--font-display); font-size: clamp(76px, 25vw, 150px); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .88; color: var(--role-ink); margin: 18px 0 14px; }
.reveal p { color: var(--role-ink); opacity: .8; font-size: 17px; font-weight: 600; max-width: 320px; margin: 0 auto; }
.reveal .fine { margin-top: 40px; color: var(--role-ink); opacity: .6; font-weight: 700; }
.reveal.leaving { animation: fade-out .5s ease forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade-out { to { opacity: 0; } }

/* results */
.results { position: fixed; inset: 0; z-index: 700; display: grid; align-items: end; justify-items: center; background: rgba(0, 0, 0, .55); overflow: auto; }
.results.peek { background: none; pointer-events: none; }
.results.peek .results-card { pointer-events: auto; max-height: 132px; overflow: hidden; }
.results-card { width: min(560px, 100%); border-radius: 24px 24px 0 0; padding: 28px 24px calc(20px + var(--safe-bottom)); animation: rise .5s ease; }
.results-title { font-family: var(--font-display); font-size: 48px; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.results-sub { color: var(--muted); margin-top: 4px; }
.results-you { margin-top: 18px; font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 20px 0; background: var(--line); border-radius: 16px; overflow: hidden; }
.stats div { background: var(--surface); padding: 14px 8px; text-align: center; }
.stats b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 400; letter-spacing: .02em; line-height: 1.1; }
.stats span { font-size: 12px; color: var(--muted); }
.stats b span { font-size: inherit; color: inherit; }
a.btn { text-decoration: none; }
.or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.recap { list-style: none; padding: 0; margin: 0; }
.recap li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.recap li:last-child { border-bottom: none; }
.recap li.static { cursor: default; color: var(--muted); }
.recap .pin-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--caught); flex: none; }
.recap .where { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- pop-up notifications: solid cards with the club's colour stripe ---------- */
.tone-accent { --tone: var(--accent); --tone-ink: #0f1400; }
.tone-danger { --tone: var(--danger); --tone-ink: #fff; }
.tone-runner { --tone: var(--runner); --tone-ink: #1a1408; }
.tone-catcher { --tone: var(--catcher); --tone-ink: #160700; }
.tone-neutral { --tone: #d8d8d4; --tone-ink: #0b0b0b; }

#toasts {
  position: fixed; z-index: 1000; left: 50%; transform: translateX(-50%);
  top: calc(10px + var(--safe-top)); width: min(420px, calc(100% - 24px));
  display: grid; gap: 8px; pointer-events: none;
}
.toast {
  position: relative; overflow: hidden; pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 14px 12px; border-radius: 16px; cursor: default;
  background: #141414; border: 1px solid var(--line); border-left: 4px solid var(--tone);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
  animation: toast-in .5s cubic-bezier(.2, 1.25, .35, 1);
  transition: transform .25s, opacity .25s;
}
.toast.clickable { cursor: pointer; }
.toast-icon {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--tone); color: var(--tone-ink);
  animation: icon-pop .55s cubic-bezier(.3, 1.6, .4, 1) .08s backwards;
}
.toast-icon svg { width: 20px; height: 20px; }
.toast-body { display: grid; gap: 1px; min-width: 0; font-size: 14px; line-height: 1.35; }
.toast-body b { font-family: var(--font-display); font-weight: 400; font-size: 17px; letter-spacing: .03em; text-transform: uppercase; color: var(--tone); }
.toast-body span { color: var(--muted); }
.toast-body span:only-child { color: var(--text); font-weight: 600; }
.toast-life { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--tone); transform-origin: left; animation: life var(--life, 4s) linear forwards; }
.toast.tone-danger { animation: toast-in .5s cubic-bezier(.2, 1.25, .35, 1), shake .45s ease .45s; }
.toast.tone-danger .toast-icon, .toast.tone-catcher .toast-icon { animation: icon-pop .55s cubic-bezier(.3, 1.6, .4, 1) .08s backwards, knock .9s ease-in-out .6s 2; }
.toast.leaving { animation: toast-out .3s ease forwards; pointer-events: none; }

@keyframes toast-in { from { opacity: 0; transform: translateY(-28px) scale(.94); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-20px) scale(.96); } }
@keyframes icon-pop { from { transform: scale(0) rotate(-25deg); } }
@keyframes knock { 15%, 45% { transform: rotate(-12deg); } 30%, 60% { transform: rotate(12deg); } 75% { transform: none; } }
@keyframes life { to { transform: scaleX(0); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

.conn {
  position: fixed; z-index: 1100; left: 50%; bottom: calc(16px + var(--safe-bottom)); transform: translateX(-50%);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}

/* ---------- organizer portal ---------- */
.steps { display: flex; gap: 6px; margin: 4px 0 28px; }
.steps button {
  flex: 1; display: grid; gap: 8px; text-align: left; background: none; border: none; padding: 0 0 12px; cursor: pointer; min-height: 44px;
  font-size: 13px; font-weight: 600; color: var(--faint);
}
.steps button::before { content: ""; height: 3px; border-radius: 2px; background: var(--surface-2); }
.steps button.done { color: var(--muted); }
.steps button.done::before { background: var(--line-strong); }
.steps button.current { color: var(--text); }
.steps button.current::before { background: var(--text); }

.code-big { font-family: var(--font-display); font-size: 58px; font-weight: 400; letter-spacing: .12em; line-height: 1.05; }
.share-box { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.share-box .hint { margin: 6px 0 16px; }

.settings { display: grid; gap: 0; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; border-bottom: 1px solid var(--line); }
.setting:last-child { border-bottom: none; }
.setting .label { display: grid; }
.setting .label b { font-weight: 600; }
.setting .label span { font-size: 13px; color: var(--muted); }
.setting .value { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.setting input[type="number"] { width: 84px; height: 48px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.setting.big input[type="number"] { width: 100px; height: 60px; font-size: 26px; }
details.more { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 4px; }
details.more summary { cursor: pointer; list-style: none; color: var(--muted); font-weight: 600; font-size: 14px; padding: 16px 0; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: " +"; }
details.more[open] summary::after { content: " –"; }

.setup-map { height: min(58vh, 520px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 16px; position: relative; isolation: isolate; }
.setup-map .map { height: 100%; }
.setup-map .map.pickable, .setup-map .map { cursor: crosshair; }

.room-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.room-list li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: background .2s;
}
.room-list li:hover { background: var(--surface-2); }
.room-list li.past { background: none; cursor: default; }
.room-list .code { font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: .1em; }
.room-list .meta { font-size: 13px; color: var(--muted); }
.room-list .grow { display: grid; gap: 2px; }
.phase-tag { font-size: 12px; font-weight: 600; color: var(--muted); }
.phase-tag.live { color: var(--text); }
.phase-tag.live::before { content: "● "; color: var(--accent); }
.empty-state { color: var(--muted); padding: 32px 0; text-align: center; }

/* Narrow phones: organizer player rows put badges and actions on a second line so names stay readable. */
@media (max-width: 480px) {
  .admin-live .hud-bar { gap: 8px; padding: 0 14px 0 4px; }
  .admin-live .hud-bar .room-code { font-size: 0; }
  .admin-live .hud-bar .room-code b { font-size: 13px; margin: 0; }
  .sheet.open .fabs { display: none; }
  #setup-players li, #live-players li { flex-wrap: wrap; row-gap: 6px; gap: 8px; position: relative; padding-left: 52px; }
  #setup-players .avatar, #live-players .avatar { position: absolute; left: 4px; top: 10px; }
  #setup-players .who, #live-players .who { flex: 1 1 100%; }
  #setup-players li > [data-kick], #live-players li > [data-kick] { margin-left: auto; }
}

/* live control: map + sheet; on wide screens the sheet becomes a side panel */
.live-sheet .people .actions { display: flex; gap: 6px; align-items: center; }
.live-sheet .secondary-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.live-sheet .secondary-actions .btn { flex: 1; }
.live-sheet .results-mini { margin-top: 4px; }
.live-sheet .results-mini .results-title { font-size: 26px; }
@media (min-width: 900px) {
  .live-sheet {
    left: auto; right: 16px; top: calc(16px + var(--safe-top)); bottom: 16px; margin: 0;
    width: 380px; border-radius: 24px; border-bottom: 1px solid var(--line); overflow: auto;
    padding-top: 20px;
  }
  .live-sheet .sheet-handle { display: none; }
  .live-sheet .sheet-more { grid-template-rows: 1fr; }
  .live-sheet .sheet-more > div { max-height: none; overflow: visible; }
  .live-sheet .fabs { position: fixed; right: 412px; bottom: 24px; }
  .admin-live .hud { right: 396px; }
}

/* =====================================================================
   Motion: radar, splash moments, entrances and celebrations
   ===================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave { 0% { transform: scale(.05); opacity: .75; } 100% { transform: scale(1); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes row-in { from { opacity: 0; transform: translateX(-18px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.4); } 60% { transform: scale(1.15); } }
@keyframes bump { 50% { transform: scale(1.05); } }

/* ---------- radar dish ---------- */
.radar {
  --size: 280px; --radar: var(--accent); --sweep: 4s;
  --ring: color-mix(in srgb, var(--radar) 22%, transparent);
  position: relative; width: var(--size); height: var(--size); border-radius: 50%; flex: none;
  transition: opacity .6s;
}
.radar-grid {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--radar) 45%, transparent);
  background:
    linear-gradient(var(--ring), var(--ring)) center / 1px 100% no-repeat,
    linear-gradient(var(--ring), var(--ring)) center / 100% 1px no-repeat,
    radial-gradient(circle closest-side, transparent calc(25% - 1px), var(--ring) 25%, transparent calc(25% + 1px),
      transparent calc(50% - 1px), var(--ring) 50%, transparent calc(50% + 1px),
      transparent calc(75% - 1px), var(--ring) 75%, transparent calc(75% + 1px)),
    radial-gradient(circle closest-side, color-mix(in srgb, var(--radar) 12%, transparent), transparent);
}
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 250deg, color-mix(in srgb, var(--radar) 6%, transparent) 285deg,
    color-mix(in srgb, var(--radar) 45%, transparent) 357deg, var(--radar) 360deg);
  animation: spin var(--sweep) linear infinite;
}
.radar-sweep::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 50%; margin-left: -1px;
  background: linear-gradient(to top, transparent, var(--radar));
}
.radar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%;
  background: var(--radar);
}
.radar-wave, .radar-burst { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--radar); opacity: 0; pointer-events: none; }
.radar-wave { animation: wave calc(var(--sweep) * .75) ease-out infinite; }
.radar-wave:nth-of-type(2) { animation-delay: calc(var(--sweep) * .25); }
.radar-wave:nth-of-type(3) { animation-delay: calc(var(--sweep) * .5); }
.radar.pinged .radar-burst { border-width: 3px; animation: burst 1.3s cubic-bezier(.1, .6, .3, 1); }
.radar.pinged .radar-grid { animation: radar-flash .9s ease; }
@keyframes burst { 0% { transform: scale(.1); opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes radar-flash { 30% { background-color: color-mix(in srgb, var(--radar) 28%, transparent); } }
.radar[data-mode="warmup"] { --radar: var(--catcher); --sweep: 9s; opacity: .65; }
.radar[data-mode="warmup"] .radar-grid { border-style: dashed; }
.radar-blips { position: absolute; inset: 0; }

/* on the live map, centred on the catcher */
.radar-marker .radar { position: absolute; left: 0; top: 0; --size: min(78vw, 360px); transform: translate(-50%, -50%); --radar: #4f8a00; }
.radar-marker .radar[data-mode="warmup"] { --radar: #d4520a; }

/* ambient radar behind the logo */
.radar.ambient {
  --size: min(620px, 150vw); --sweep: 7s; position: fixed; z-index: -1; pointer-events: none; opacity: .3;
  left: 50%; top: calc(14vh + 40px + var(--safe-top)); margin-left: calc(var(--size) / -2); margin-top: calc(var(--size) / -2);
  animation: fade 2s ease;
}
.hero > :not(.radar) { animation: rise .8s cubic-bezier(.2, 1, .3, 1) backwards; }
.hero > :nth-child(3) { animation-delay: .12s; }
.hero > :nth-child(4) { animation-delay: .24s; }
.page-action { animation: rise .8s cubic-bezier(.2, 1, .3, 1) .3s backwards; }

/* lobby radar: everyone in the room is a blip */
.lobby-radar { display: grid; place-items: center; margin: 32px -24px 10px; padding: 0 24px 24px; overflow: hidden; } /* the spinning sweep must not widen the page */
.radar.lobby { --size: min(270px, 74vw); animation: pop-in .8s cubic-bezier(.3, 1.4, .4, 1); }
.radar.lobby::after { display: none; }
.waiting.center { justify-content: center; text-align: center; }
.blip { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; animation: pop-in .6s cubic-bezier(.3, 1.6, .4, 1) backwards; }
.blip i {
  display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--radar);
  animation: blip-glow var(--sweep) linear infinite;
}
.blip span {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 11px; font-weight: 600; color: var(--muted); max-width: 90px; overflow: hidden; text-overflow: ellipsis;
}
.blip.me i { background: var(--text); box-shadow: 0 0 0 5px rgba(255, 255, 255, .14); animation: halo-dot 2.4s ease-in-out infinite; }
.blip.me span { color: var(--text); }
@keyframes blip-glow { 0% { opacity: 1; transform: scale(1.7); } 35% { opacity: .55; transform: scale(1); } 100% { opacity: .35; transform: scale(1); } }
@keyframes halo-dot { 50% { box-shadow: 0 0 0 9px rgba(255, 255, 255, .06); } }

/* ---------- radar status pill in the game HUD ---------- */
.scan {
  --tone: var(--accent); display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 15px 0 8px;
  border-radius: 999px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; max-width: 100%;
  border-color: color-mix(in srgb, var(--tone) 45%, transparent);
  animation: drop .4s ease;
}
.scan-icon { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; overflow: hidden; border: 1.5px solid color-mix(in srgb, var(--tone) 65%, transparent); }
.scan-icon::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent 0deg 260deg, var(--tone) 360deg); animation: spin 1.6s linear infinite; }
.scan-icon i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: var(--tone); }
.scan.mode-warmup { --tone: var(--catcher); }
.scan.mode-warmup .scan-icon::before { animation-duration: 4s; opacity: .6; }
.scan.mode-lock { animation: drop .4s ease, bump .5s ease-in-out 3; }
.scan.mode-lock .scan-icon::before { animation-duration: .5s; }
.scan.mode-cloak { --tone: var(--runner); }
.scan.mode-cloak .scan-icon::before { display: none; }
.scan.mode-cloak .scan-icon { animation: breathe 3s ease-in-out infinite; }
/* Spotted: the pill turns solid orange so a runner can't miss it. */
.scan.mode-exposed { --tone: #160700; background: var(--catcher); color: #160700; border-color: transparent; animation: bump 1s ease-in-out infinite; }

/* ---------- big moments (hunt starts, catches, zone shrinks): a poster band slams across the screen ---------- */
.splash {
  position: fixed; inset: 0; z-index: 980; display: grid; place-items: center; pointer-events: none; overflow: hidden;
  background: rgba(0, 0, 0, .35); animation: splash-bg 2.6s ease forwards;
}
.splash-text {
  position: relative; width: 130%; display: grid; gap: 8px; justify-items: center; padding: 24px 15% 22px;
  background: var(--tone); color: var(--tone-ink); text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  animation: band 2.6s cubic-bezier(.2, 1, .3, 1) forwards;
}
.splash-text b {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(58px, 18vw, 120px); line-height: .9;
  text-transform: uppercase; letter-spacing: .01em;
  animation: slam 2.6s cubic-bezier(.2, 1.3, .3, 1) forwards;
}
.splash-text span { font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; animation: splash-sub 2.6s ease forwards; }
@keyframes splash-bg { 0% { opacity: 0; } 8%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes band {
  0% { transform: translateX(-110%) rotate(-4deg); }
  14%, 82% { transform: translateX(0) rotate(-4deg); }
  100% { transform: translateX(110%) rotate(-4deg); }
}
@keyframes slam { 0%, 8% { transform: scale(1.7); opacity: 0; } 20% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes splash-sub { 0%, 18% { opacity: 0; transform: translateY(8px); } 30%, 100% { opacity: 1; transform: none; } }

/* a solid frame that flashes in from the screen edges (spotted by the radar, left the zone) */
.edge-flash { position: fixed; inset: 0; z-index: 970; pointer-events: none; animation: edge 1.4s ease-out forwards; }
@keyframes edge {
  0% { box-shadow: inset 0 0 0 0 transparent; }
  15% { box-shadow: inset 0 0 0 10px var(--tone); }
  100% { box-shadow: inset 0 0 0 0 transparent; }
}

.confetti { position: fixed; inset: 0; z-index: 990; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -24px; animation: fall linear both; animation-timing-function: cubic-bezier(.25, .6, .45, 1); }
@keyframes fall { from { transform: translate(0, 0) rotate(0); } to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }

/* ---------- screens, buttons, cards ---------- */
.screen.page { animation: fade .45s ease; }
@media (hover: hover) { .btn.primary:not(:disabled):hover { background: #e6e6e2; } }
.btn.armed { animation: bump .8s ease-in-out infinite; }

.overlay { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.overlay .card { animation: card-in .45s cubic-bezier(.2, 1.25, .3, 1); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.94); } }
/* Catch confirmation: a solid orange "TAG!" header, like the club's posters. */
#modal-catch .card { padding-top: 0; border-color: rgba(255, 106, 19, .5); }
#modal-catch .card::before {
  content: "Tag!"; display: block; margin: 0 -24px 20px; padding: 16px 0 12px;
  background: var(--catcher); color: #160700;
  font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
}
.countdown { animation: tick 1s ease-in-out infinite; }
@keyframes tick { 50% { transform: scale(1.06); } }

/* location prompt: a pin with sonar rings; a sweep spins while searching */
.locate { position: relative; width: 76px; height: 76px; margin: 0 auto 6px; display: grid; place-items: center; color: var(--accent); }
.locate svg { position: relative; width: 34px; height: 34px; animation: float 2.2s ease-in-out infinite; }
.locate i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: wave 2.4s ease-out infinite; }
.locate i:nth-child(2) { animation-delay: 1.2s; }
.locate::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity .3s;
  background: conic-gradient(from 0deg, transparent 0deg 250deg, color-mix(in srgb, var(--accent) 45%, transparent) 360deg);
  animation: spin 1.2s linear infinite;
}
.searching .locate::before { opacity: 1; }
.searching .locate i { animation-duration: 1s; }

/* lobby & lists */
.people li.enter { animation: row-in .55s cubic-bezier(.2, 1.2, .3, 1) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
.avatar.on::after { animation: online 2.4s ease-in-out infinite; }
@keyframes online { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); } }
.chip.ok::before { animation: breathe 2s ease-in-out infinite; }
.phase-tag.live::before { animation: breathe 1.6s ease-in-out infinite; display: inline-block; }
.room-list li { transition: background .2s, transform .2s, border-color .2s; }
@media (hover: hover) { .room-list li:not(.past):hover { transform: translateY(-2px); border-color: var(--line-strong); } }
.steps button::before { transition: background .4s; }

/* ---------- game screen ---------- */
.hud-bar { animation: drop .5s cubic-bezier(.2, 1.2, .3, 1); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.sheet { animation: sheet-up .6s cubic-bezier(.2, 1.1, .3, 1); box-shadow: 0 -10px 40px rgba(0, 0, 0, .45); }
@keyframes sheet-up { from { transform: translateY(100%); } }
.banner { animation: drop .35s ease; }
.banner.danger { animation: drop .35s ease, danger-pulse 1.2s ease-in-out infinite; }
@keyframes danger-pulse { 50% { box-shadow: 0 0 0 6px rgba(229, 38, 31, .3); } }
.map.danger .zone-mask { animation: mask-pulse 1.4s ease-in-out infinite; }
@keyframes mask-pulse { 50% { fill-opacity: .38; } }
.zone-next { animation: march 1.2s linear infinite; }
.zone-plan { animation: march 2.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -28; } }

.dot::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; pointer-events: none; border: 2px solid currentColor; opacity: 0;
}
.dot-runner::before { color: var(--runner); }
.dot-catcher::before { color: var(--catcher); }
.dot.ping::before { animation: ping 1.6s ease-out .3s; }
.dot.ping { animation: pop-in .5s cubic-bezier(.3, 1.6, .4, 1); }
.pin.fresh div { animation: pin-drop .7s cubic-bezier(.3, 1.6, .4, 1); }
@keyframes pin-drop { from { opacity: 0; transform: translateY(-40px) scale(.5); } }
.pin-sos div { animation: sos-pulse 1s ease-in-out infinite; }
.pin-sos.fresh div { animation: pin-drop .7s cubic-bezier(.3, 1.6, .4, 1), sos-pulse 1s ease-in-out .7s infinite; }
@keyframes sos-pulse { 50% { box-shadow: 0 0 0 7px rgba(229, 38, 31, .35); } }

/* ---------- role reveal ---------- */
@keyframes reveal-in { from { clip-path: circle(0 at 50% 50%); } to { clip-path: circle(150% at 50% 50%); } }
.reveal-rings { position: absolute; left: 50%; top: 50%; }
.reveal-rings i {
  position: absolute; width: 160px; height: 160px; left: -80px; top: -80px; border-radius: 50%;
  border: 2px solid var(--role-ink); opacity: 0; animation: reveal-ring 3.2s cubic-bezier(.2, .6, .3, 1) infinite;
}
.reveal-rings i:nth-child(2) { animation-delay: .8s; }
.reveal-rings i:nth-child(3) { animation-delay: 1.6s; }
.reveal-rings i:nth-child(4) { animation-delay: 2.4s; }
@keyframes reveal-ring { 0% { transform: scale(.3); opacity: .25; } 100% { transform: scale(5); opacity: 0; } }
.reveal-icon {
  width: 80px; height: 80px; margin: 22px auto 0; border-radius: 24px; display: grid; place-items: center;
  background: var(--role-ink); color: var(--role);
  animation: icon-pop .8s cubic-bezier(.3, 1.6, .4, 1) .3s backwards, float 3s ease-in-out 1.1s infinite;
}
.reveal-icon svg { width: 42px; height: 42px; }
.reveal.catcher .reveal-icon svg { animation: spin 3s linear infinite; }
.reveal.runner .reveal-icon svg { animation: breathe 2.6s ease-in-out infinite; }
.reveal h1 span { display: inline-block; animation: letter-in .6s cubic-bezier(.2, 1.4, .3, 1) backwards; animation-delay: calc(.4s + var(--i) * 55ms); }
@keyframes letter-in { from { opacity: 0; transform: translateY(60px) scale(.7); } }
.reveal-timer { position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: var(--role-ink); transform-origin: left; animation: life 6s linear forwards; }

/* ---------- results ---------- */
.results-card.celebrate { animation: results-in .75s cubic-bezier(.2, 1.2, .3, 1); }
@keyframes results-in { from { opacity: 0; transform: translateY(80px); } }
.results-card.celebrate .results-title { animation: title-pop .7s cubic-bezier(.3, 1.6, .4, 1) .2s backwards; }
.results-title.win { color: var(--accent); }
@keyframes title-pop { from { opacity: 0; transform: scale(.6) rotate(-3deg); } }
.celebrate .stats div { animation: rise .6s cubic-bezier(.2, 1.2, .3, 1) backwards; }
.celebrate .stats div:nth-child(1) { animation-delay: .35s; }
.celebrate .stats div:nth-child(2) { animation-delay: .45s; }
.celebrate .stats div:nth-child(3) { animation-delay: .55s; }
.celebrate .recap li { animation: row-in .5s cubic-bezier(.2, 1.2, .3, 1) backwards; animation-delay: calc(.6s + var(--i, 0) * 80ms); }

.conn { animation: drop .3s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- short phones: the form must never sit under the bottom buttons ---------- */
.organizer-link { margin-top: 6px; }
.organizer-link a { color: var(--text); font-weight: 700; text-underline-offset: 3px; }
@media (max-height: 740px) {
  .page-body.hero { padding-top: 5vh; }
  .hero .club-logo { width: 84px; margin-bottom: 18px; }
  .hero .logo { font-size: 44px; }
  .hero form.stack { margin-top: 28px !important; }
  .page-body.hero + .page-action { position: static; background: none; padding-top: 8px; }
}
