/* ============================================================
   RoamDial clone — styles
   ============================================================ */
:root {
  --bg: #101f1d;
  --bg-deep: #0a1413;
  --ink: #f5f1e8;
  --muted: #b3c1b7;
  --muted-2: #78877f;
  --accent: #f36b45;
  --accent-ink: #172d2a;
  --line: rgba(245, 241, 232, 0.13);
  --line-soft: rgba(245, 241, 232, 0.07);
  --panel: rgba(12, 24, 22, 0.72);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --sans: "Inter", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --serif: "Instrument Serif", "Songti SC", Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(243, 107, 69, 0.35); }

/* ---------- canvases & atmosphere ---------- */
#globe {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
  opacity: 0;
  transition: opacity 1.1s ease;
}
body.map #globe { opacity: 1; }
body.dragging #globe { cursor: grabbing; }

#grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.5'/></svg>");
}

#vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0) 40%, rgba(4, 10, 9, 0.55) 78%, rgba(4, 10, 9, 0.85) 100%),
    linear-gradient(180deg, rgba(6, 14, 13, 0.55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 72%, rgba(5, 12, 11, 0.6) 100%);
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 30px 0;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }

.brandblock { display: flex; flex-direction: column; gap: 6px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand svg { width: 21px; height: 21px; }
.brand-mark { transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark { transform: rotate(180deg); }

.brand-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(245, 241, 232, 0.62);
  line-height: 1.35;
  transition: opacity 0.15s ease;
}
.brand-quote small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  margin-top: 4px;
}
.brand-sub-line {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-top: 2px;
}

.topright {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* segmented view switch */
.seg {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(9, 20, 18, 0.55);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(8px);
}
body.map .seg { display: inline-flex; }
.seg button {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  transition: all 0.2s ease;
}
.seg button.on { background: var(--ink); color: #16211f; font-weight: 500; }

.iconbtn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.iconbtn:hover { background: rgba(245, 241, 232, 0.08); border-color: var(--line-soft); }
.iconbtn svg { width: 16px; height: 16px; }

.pillbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
  background: rgba(9, 20, 18, 0.35);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.pillbtn:hover { border-color: rgba(245, 241, 232, 0.35); }
.pillbtn b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); }
.pillbtn svg { width: 14px; height: 14px; }

/* ---------- hero ---------- */
#hero {
  position: fixed;
  z-index: 15;
  left: 64px;
  top: 30vh;
  max-width: 560px;
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
}
body.map #hero {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-28px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.19em;
  color: var(--muted);
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(243, 107, 69, 0.8);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.kicker {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  text-transform: uppercase;
}

#hero h1 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 4.62vw, 62px);
  line-height: 0.97;
  letter-spacing: -0.025em;
  color: #f7f4ec;
}
#hero .lede {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 380px;
}

.cta { display: flex; align-items: center; gap: 22px; margin-top: 26px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 34px -14px rgba(243, 107, 69, 0.7);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, background 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px -12px rgba(243, 107, 69, 0.9);
  background: #f87a56;
}
.btn-primary svg { width: 13px; height: 13px; fill: currentColor; }

.btn-ghost {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--line); }

/* hero footer links */
.hero-foot {
  position: fixed;
  left: 0; right: 0;
  bottom: 20px;
  z-index: 5;
  text-align: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.85;
  color: var(--muted-2);
  transition: opacity 0.4s ease;
}
body.map .hero-foot { opacity: 0; pointer-events: none; }
.hero-foot a { color: var(--muted); border-bottom: 1px solid rgba(245, 241, 232, 0.16); }
.hero-foot a:hover { color: var(--ink); border-color: var(--ink); }
.hero-foot .lbl { border-bottom: 1px solid rgba(245, 241, 232, 0.16); padding-bottom: 1px; }
.hero-foot .sep { color: rgba(245, 241, 232, 0.28); margin: 0 2px; }

/* ---------- HUD (map mode) ---------- */
#hud {
  position: fixed;
  z-index: 12;
  left: 64px;
  bottom: 96px;
  width: 430px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.6s ease 0.15s, transform 0.6s cubic-bezier(.2,.8,.2,1) 0.15s;
}
body.map #hud { opacity: 1; transform: none; pointer-events: auto; }

.statusline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.statusline .rule { width: 26px; height: 1px; background: rgba(245, 241, 232, 0.3); }
.statusline .state.live { color: var(--accent); }

#stationName {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #f7f4ec;
}

.station-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.flag {
  font-size: 14px;
  line-height: 1;
  filter: saturate(0.9);
}
.station-tags {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.score {
  margin-top: 10px;
  height: 38px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.score.on { opacity: 1; }
.score i {
  display: block;
  width: 2px;
  background: rgba(243, 107, 69, 0.85);
  border-radius: 1px;
  transition: height 0.09s linear;
}

.transport {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  white-space: nowrap;
}
.tbtn {
  display: grid;
  min-width: 18px;
  place-items: center;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
}
.tbtn:hover { opacity: 1; transform: translateY(-1px); }
.tbtn svg { width: 15px; height: 15px; fill: currentColor; }

#playBtn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(243, 107, 69, 0.5);
  color: var(--accent);
  display: grid;
  place-items: center;
  position: relative;
  transition: all 0.25s ease;
}
#playBtn::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(243, 107, 69, 0.16);
  opacity: 0;
  transition: opacity 0.3s;
}
#playBtn:hover { background: rgba(243, 107, 69, 0.09); }
#playBtn:hover::after { opacity: 1; }
body.playing #playBtn { color: var(--accent); background: rgba(243, 107, 69, 0.12); }
#playBtn svg { width: 17px; height: 17px; fill: currentColor; }

.nextlabel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.2s;
}
.nextlabel:hover { color: var(--ink); }

.volwrap { display: flex; align-items: center; gap: 9px; margin-left: 4px; }
.volwrap svg { width: 16px; height: 16px; fill: var(--muted); stroke: var(--muted); }
.volwrap .tbtn { opacity: 0.9; }
.volwrap .tbtn:hover svg { stroke: var(--ink); }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 84px;
  height: 1px;
  background: rgba(245, 241, 232, 0.25);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer;
}

/* ---------- clock ---------- */
#clock {
  position: fixed;
  z-index: 12;
  top: 74px;
  right: 34px;
  text-align: right;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease 0.3s;
}
body.map #clock { opacity: 1; }
#clock .time {
  font-family: var(--mono);
  font-weight: 300;
  font-size: clamp(44px, 5vw, 62px);
  letter-spacing: 0.01em;
  line-height: 1;
  color: rgba(245, 241, 232, 0.32);
  font-variant-numeric: tabular-nums;
}
#clock .label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(179, 193, 183, 0.5);
}

/* ---------- hint block ---------- */
#hints {
  position: fixed;
  z-index: 12;
  right: 36px;
  bottom: 150px;
  max-width: 240px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  line-height: 2.05;
  color: rgba(179, 193, 183, 0.42);
  text-align: right;
  opacity: 0;
  transition: opacity 0.6s ease 0.6s;
}
body.map #hints { opacity: 1; }
#hints kbd { color: rgba(245, 241, 232, 0.6); }
#hints > div { white-space: nowrap; }

/* ---------- filters ---------- */
#filters {
  position: fixed;
  z-index: 13;
  left: 0; right: 0;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.6s ease 0.35s, transform 0.6s cubic-bezier(.2,.8,.2,1) 0.35s;
}
body.map #filters { opacity: 1; transform: none; pointer-events: auto; }

.filterbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 21, 19, 0.6);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.2s;
}
.filterbtn:hover { border-color: rgba(245, 241, 232, 0.32); }

.chips {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
  mask-image: linear-gradient(90deg, #000 96%, transparent);
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 21, 19, 0.5);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.chip:hover { color: var(--ink); border-color: var(--line); }
.chip.on { background: var(--ink); color: #16211f; border-color: var(--ink); font-weight: 500; }
.chip.on .n { color: rgba(22, 33, 31, 0.55); }
.chip .b {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c, var(--muted-2));
  box-shadow: 0 0 8px var(--c, transparent);
}
.chip .n { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); }

/* filter dropdown sits above the chip bar */
.filtermenu {
  left: 32px;
  right: auto;
  top: auto;
  bottom: 74px;
  width: 268px;
  max-height: 56vh;
}
.filtermenu .row { padding: 9px 10px; }
.filtermenu .row .swatch {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: var(--c);
  box-shadow: 0 0 9px var(--c);
}
.filtermenu .row .t1 { font-size: 12.5px; }
.filtermenu .row.on { background: rgba(245, 241, 232, 0.1); }
.filtermenu .row.on .t1 { color: var(--ink); font-weight: 500; }
.filtermenu .row .meta { font-size: 10px; }

/* ---------- generic floating panel ---------- */
.panel {
  position: fixed;
  z-index: 40;
  top: 70px;
  right: 26px;
  width: 330px;
  max-height: min(70vh, 620px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(-8px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(.2,.8,.2,1);
}
.panel.open { opacity: 1; transform: none; pointer-events: auto; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-head h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.panel-head .x { color: var(--muted-2); font-size: 16px; line-height: 1; padding: 2px 4px; }
.panel-head .x:hover { color: var(--ink); }
.panel-body { overflow-y: auto; padding: 8px; }
.panel-body::-webkit-scrollbar { width: 6px; }
.panel-body::-webkit-scrollbar-thumb { background: rgba(245, 241, 232, 0.14); border-radius: 3px; }

.row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 10px;
  border-radius: 10px;
  text-align: left;
  transition: background 0.15s;
}
.row:hover { background: rgba(245, 241, 232, 0.06); }
.row .swatch {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(245, 241, 232, 0.8);
  background: rgba(245, 241, 232, 0.07);
  border: 1px solid var(--line-soft);
}
.row .txt { min-width: 0; flex: 1; }
.row .t1 {
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .t2 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  color: var(--muted-2);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .meta { font-family: var(--mono); font-size: 10px; color: var(--muted-2); }
.info-p { font-size: 12.5px; line-height: 1.75; color: var(--muted); margin: 6px 10px 12px; }
.info-p b { color: var(--ink); font-weight: 500; }
.info-kv { display:flex; justify-content:space-between; font-family:var(--mono); font-size:10px; letter-spacing:.08em; color:var(--muted-2); padding:7px 10px; border-bottom:1px solid var(--line-soft); }
.info-kv span:last-child { color: var(--muted); }
.empty { padding: 26px 16px; text-align: center; font-size: 12px; color: var(--muted-2); line-height: 1.7; }

/* ---------- search overlay ---------- */
#searchWrap {
  position: fixed;
  z-index: 45;
  left: 50%;
  top: 78px;
  transform: translate(-50%, -10px);
  width: min(560px, calc(100vw - 40px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(.2,.8,.2,1);
}
#searchWrap.open { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.searchfield {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  background: rgba(9, 19, 17, 0.86);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px -24px #000;
}
.searchfield svg { width: 15px; height: 15px; stroke: var(--muted); fill: none; flex: none; }
.searchfield input {
  flex: 1;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-family: var(--sans);
}
.searchfield input::placeholder { color: var(--muted-2); }
.searchfield kbd {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 6px;
}
.searchresults {
  margin-top: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(9, 19, 17, 0.93);
  backdrop-filter: blur(20px);
  max-height: 52vh;
  overflow-y: auto;
  padding: 6px;
  display: none;
}
.searchresults.show { display: block; }

/* ---------- settings ---------- */
.setting { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.setting .lbl { font-size: 12.5px; color: var(--ink); }
.setting .sub { font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); margin-top: 3px; letter-spacing: 0.07em; }
.switch {
  width: 38px; height: 21px;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.16);
  position: relative;
  flex: none;
  transition: background 0.2s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1);
}
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(17px); background: #1b2a27; }

/* ---------- genre view ---------- */
#genreView {
  position: fixed;
  z-index: 11;
  inset: 0;
  display: none;
  place-items: center;
  padding: 120px 40px 120px;
  pointer-events: none;
}
body.genres #genreView { display: grid; pointer-events: auto; }
body.genres #globe { opacity: 0.35; }
body.genres #hud, body.genres #clock { opacity: 0; pointer-events: none; }
.genre-grid {
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.genre-card {
  text-align: left;
  padding: 20px 20px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 21, 19, 0.55);
  backdrop-filter: blur(14px);
  transition: all 0.22s cubic-bezier(.2,.8,.2,1);
}
.genre-card:hover { border-color: rgba(245, 241, 232, 0.28); transform: translateY(-3px); background: rgba(16, 32, 29, 0.8); }
.genre-card .gn {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
.genre-card .gn i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.genre-card .gc {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* ---------- toast ---------- */
#toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 110px;
  transform: translate(-50%, 12px);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(9, 19, 17, 0.94);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  #hero { left: 26px; top: 16vh; }
  .hero-foot { display: none; }
  .topbar { padding: 16px 18px 0; }
  #hud { left: 26px; width: calc(100vw - 52px); bottom: 88px; }
  #hints, #clock .label { display: none; }
  #clock { top: 64px; right: 20px; }
  #clock .time { font-size: 34px; }
  .brand-quote, .brand-sub-line { display: none; }
  #filters { padding: 0 18px; }
  .panel { right: 12px; left: 12px; width: auto; }
}
