:root {
  --sky: 0;     /* 0 = daylight on the pad, 1 = black space (set from JS) */
  --deep: 0;    /* 0..1, nebula glow for interstellar distances */
  --ink: #eef4ff;
  --muted: #a9b7d6;
  --card: rgba(10, 14, 38, 0.66);
  --card-border: rgba(160, 180, 255, 0.18);
  --accent: #7ee8ff;
  --accent-ink: #05202a;
  --warn: #ff8f7a;
  --nova: #ffd36b;
  --radius: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100dvh; overflow-x: hidden; background: #03040c; }

/* ---------- sky & stars ---------- */
#sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(60% 45% at 78% 22%, rgba(170, 80, 255, calc(0.35 * var(--deep))), transparent 70%),
    radial-gradient(50% 40% at 18% 70%, rgba(255, 90, 160, calc(0.25 * var(--deep))), transparent 70%),
    linear-gradient(180deg,
      hsl(215, 75%, calc(52% - 49% * var(--sky))) 0%,
      hsl(222, 70%, calc(66% - 62% * var(--sky))) 70%,
      hsl(30, 80%, calc(72% - 69% * var(--sky))) 100%);
  transition: background 1.5s ease;
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
#earth {
  position: absolute; left: 50%; bottom: -118vmax; width: 150vmax; height: 150vmax; margin-left: -75vmax; border-radius: 50%;
  background: radial-gradient(circle at 50% 12%, #3d8be0, #1c4f9c 40%, #0b2554 70%);
  box-shadow: 0 0 60px 18px rgba(120, 190, 255, .55), inset 0 30px 60px rgba(255,255,255,.25);
  transform: translateY(calc(var(--sky) * 40vh)) scale(calc(1 - .45 * var(--sky)));
  transform-origin: 50% 0;
  opacity: calc(1 - var(--sky) * .85);
  transition: transform 1.6s cubic-bezier(.3,.8,.3,1), opacity 1.6s;
}

/* ---------- journey gauge ---------- */
#gauge { position: fixed; right: 14px; top: 84px; bottom: 26px; width: 92px; z-index: 1; }
.gauge-track { position: relative; height: 100%; }
.gauge-track::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
#gauge-fill { position: absolute; left: 10px; bottom: 0; width: 4px; border-radius: 4px; height: 0%;
  background: linear-gradient(0deg, var(--accent), #b78bff 60%, var(--nova)); box-shadow: 0 0 10px var(--accent);
  transition: height 1.6s cubic-bezier(.3,1.2,.4,1); }
#gauge-marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
#gauge-marks li { position: absolute; left: 6px; transform: translateY(50%); font-size: 10px; color: rgba(255,255,255,.5); white-space: nowrap; padding-left: 16px; }
#gauge-marks li::before { content: ""; position: absolute; left: 1px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: #14193a; border: 1px solid rgba(255,255,255,.35); }
#gauge-marks li.reached { color: var(--ink); }
#gauge-marks li.reached::before { background: var(--accent); border-color: var(--accent); }
#gauge-rocket { position: absolute; left: -2px; bottom: 0; font-size: 22px; transform: translateY(50%) rotate(-45deg);
  filter: drop-shadow(0 0 8px rgba(255, 180, 90, .9)); transition: bottom 1.6s cubic-bezier(.3,1.2,.4,1); }

/* ---------- layout ---------- */
#app { max-width: 720px; margin: 0 auto; padding: 24px 112px 60px 18px; }
@media (min-width: 900px) { #app { padding-left: 112px; } }
.screen { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 18px; margin: 14px 0;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.row > .btn { flex: 1 1 160px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.label { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.error { color: var(--warn); }
h1, h2 { margin: 0.2em 0; }
h2 { font-size: 1.45rem; line-height: 1.3; }

/* Home screen: the whole sky becomes a hyperspace starfield (warp.js). */
#warp { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
#sky::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 30%, #0d1440 0%, #050822 60%, #02030a 100%); z-index: -1; }
body.home-warp #sky::after { opacity: 1; }
body.home-warp #warp { opacity: 1; }
body.home-warp #stars, body.home-warp #earth { opacity: 0; }
#stars, #earth { transition: opacity 1.2s ease, transform 1.6s ease; }
body.home-warp { cursor: crosshair; }
body.home-warp :is(.card, button, input, a, label, summary, details) { cursor: auto; }
body.home-warp button, body.home-warp summary, body.home-warp a { cursor: pointer; }
.hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: clamp(150px, 26vw, 220px); margin: 1vh 0 4px; user-select: none; -webkit-user-select: none; pointer-events: none; }
.logo { position: relative; margin: 0; font-size: clamp(2.4rem, 10vw, 5.2rem); letter-spacing: .12em; white-space: nowrap; text-align: center;
  font-weight: 900; font-style: italic; color: #fff; pointer-events: none;
  text-shadow: calc(var(--split, 1.5) * -1px) 0 rgba(255, 79, 216, .85), calc(var(--split, 1.5) * 1px) 0 rgba(79, 227, 255, .85), 0 0 26px rgba(126, 232, 255, .45);
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--zoom, 1)); }
.logo.warp-in { animation: warp-in 1.6s cubic-bezier(.16, .9, .3, 1) both; }
@keyframes warp-in {
  0% { letter-spacing: 1.1em; opacity: 0; filter: blur(6px); }
  60% { opacity: 1; filter: blur(0); }
  100% { letter-spacing: .12em; }
}
.warp-hint { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(190, 220, 255, .55);
  pointer-events: none; transition: opacity .8s; animation: hint-in 1s 2.2s backwards; }
.warp-hint.used { opacity: 0; }
@keyframes hint-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .logo.warp-in, .warp-hint { animation: none; } }
.tagline { text-align: center; color: var(--ink); font-size: 1.15rem; margin: 0; }
.tagline em { color: var(--accent); font-style: normal; }
.subtag { text-align: center; color: rgba(238, 244, 255, .82); margin: 4px 0 0; }
.invite { text-align: center; border-color: var(--accent); }
.how ul { padding-left: 1.2em; line-height: 1.55; }
summary { cursor: pointer; font-weight: 600; }

input {
  width: 100%; font: inherit; font-size: 1.1rem; color: var(--ink); background: rgba(2, 4, 18, 0.6);
  border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; outline: none;
}
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(126, 232, 255, .2); }

.btn { font: inherit; font-weight: 600; cursor: pointer; border-radius: 12px; padding: 12px 18px; border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.08); color: var(--ink); transition: transform .08s, background .2s; }
.btn:hover { background: rgba(255,255,255,0.14); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-primary:hover { background: #a8f1ff; }
.btn-ghost { background: transparent; }
.btn.small { padding: 7px 12px; font-size: .9rem; }
.wide { width: 100%; margin-top: 14px; }

.topics-label { margin-top: 14px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { font: inherit; font-size: .9rem; cursor: pointer; padding: 7px 12px; border-radius: 999px; color: var(--muted);
  background: transparent; border: 1px solid var(--card-border); }
.topic[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: transparent; font-weight: 600; }
.topic small { opacity: .7; margin-left: 4px; }

.code { font-family: ui-monospace, Consolas, monospace; letter-spacing: .12em; color: var(--accent); }
.link-row { display: flex; gap: 8px; }
.link-row input { font-size: .95rem; }

.players { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.players li { background: rgba(255,255,255,0.08); border-radius: 999px; padding: 6px 12px; font-size: .95rem; }
.players li.host::after { content: " ★"; color: var(--nova); }
.players li.off { opacity: .45; }
.players li.done { background: rgba(126, 232, 255, .2); }
.players.compact { justify-content: center; }

/* ---------- game ---------- */
.hud { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hud-buttons { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hud-dist { text-align: center; display: grid; line-height: 1.25; }
.hud-dist strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.chip { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px;
  border-radius: 999px; background: rgba(126, 232, 255, .14); color: var(--accent); }
.qcard h2 { font-size: clamp(1.4rem, 4.6vw, 2rem); margin: 12px 0 16px; }
.timer { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; }
#timer-bar { height: 100%; width: 100%; background: linear-gradient(90deg, var(--warn), var(--nova) 30%, var(--accent) 60%); transform-origin: left; }
.timer-label { text-align: right; color: var(--muted); font-size: .85rem; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.timer-label.low { color: var(--warn); font-weight: 700; }
#answer-form { display: flex; gap: 8px; }
.miss { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 143, 122, .14); color: #ffd2c8; }
.shake { animation: shake .35s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.locked { margin: 12px 0 0; padding: 12px; border-radius: 12px; background: rgba(126, 232, 255, .12); }

.radar { width: 74px; height: 74px; margin: 10px auto 14px; border-radius: 50%; border: 2px solid rgba(126,232,255,.4);
  background: conic-gradient(from 0deg, rgba(126,232,255,.55), transparent 25%); animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.results { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.results li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border-radius: 12px; background: rgba(2, 4, 20, 0.5);
  border: 1px solid transparent; animation: fade .4s ease both; }
.results li.you { border-color: rgba(126, 232, 255, .55); }
.results li.bad .ans { text-decoration: line-through; opacity: .7; }
.results .who { font-weight: 700; }
.results .ans { font-size: 1.1rem; }
.results .pts { grid-row: span 2; align-self: center; font-size: 1.5rem; font-weight: 800; text-align: right; }
.results .pts small { display: block; font-size: .7rem; color: var(--muted); font-weight: 400; }
.results .why { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
.rarity { display: inline-block; vertical-align: middle; width: 70px; height: 6px; border-radius: 9px; background: rgba(255,255,255,.12); margin-left: 6px; overflow: hidden; }
.rarity i { display: block; height: 100%; background: var(--accent); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.badge.nova { background: var(--nova); color: #4a3000; box-shadow: 0 0 14px rgba(255, 211, 107, .8); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 26px rgba(255, 211, 107, 1); } }
.badge.lone { background: rgba(126, 232, 255, .2); color: var(--accent); }
.badge.shared { background: rgba(255, 143, 122, .2); color: var(--warn); }
.badge.ai { background: rgba(180, 150, 255, .22); color: #d2c4ff; }
/* rarity tiers: cool and dim for common, hot and glowing for the rarest */
.tier { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; padding: 2px 9px 2px 4px; border-radius: 999px;
  border: 1px solid var(--t-color); color: var(--t-color); background: color-mix(in srgb, var(--t-color) 14%, transparent); vertical-align: middle; white-space: nowrap; }
.tier small { font-weight: 500; opacity: .8; }
.tier-icon { font-size: 1rem; line-height: 1; }
.tier-satellite { --t-color: #9aa8c7; }
.tier-moonshot  { --t-color: #8fe3a8; }
.tier-comet     { --t-color: #6cc8ff; }
.tier-giant     { --t-color: #c69bff; }
.tier-nebula    { --t-color: #ff8fd8; box-shadow: 0 0 10px rgba(255, 143, 216, .45); }
.tier-blackhole { --t-color: #ffb36b; box-shadow: 0 0 14px rgba(255, 179, 107, .6); }
.tier-supernova { --t-color: var(--nova); box-shadow: 0 0 18px rgba(255, 211, 107, .9); animation: pulse 1.4s ease-in-out infinite; }
.results li.row-nebula { border-color: rgba(255, 143, 216, .45); }
.results li.row-blackhole { border-color: rgba(255, 179, 107, .6); }
.results li.row-supernova { border-color: var(--nova); box-shadow: 0 0 24px rgba(255, 211, 107, .35); }
.tier-legend { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.hauls { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.haul { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(2, 4, 20, .45); }
.haul strong { font-size: 1.2rem; }
.haul.none { opacity: .4; }

.reveal { display: grid; gap: 6px; padding: 12px 0 0; border-top: 1px solid var(--card-border); }
.nova-text { color: var(--nova); }
.landed { margin: 0 0 6px; color: var(--nova); font-weight: 600; }

/* ---------- stats ---------- */
.dist-hero { text-align: center; }
.dist-hero .big { font-size: clamp(2.2rem, 9vw, 3.8rem); font-weight: 800; line-height: 1.1;
  background: linear-gradient(180deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dist-hero .dist { font-size: 1.3rem; color: var(--nova); font-weight: 700; margin: 6px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.stat { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 14px; text-align: center; }
.stat .v { font-size: 1.7rem; font-weight: 800; }
.stat .k { color: var(--muted); font-size: .82rem; }
.highlight { margin: 6px 0; }
.board { margin: 0; padding-left: 1.4em; line-height: 1.9; }
.board li.you { color: var(--accent); font-weight: 700; }
.cats { display: grid; gap: 8px; }
.cat-row { display: grid; grid-template-columns: 9.5em 1fr auto; gap: 10px; align-items: center; font-size: .92rem; }
.cat-bar { height: 8px; border-radius: 9px; background: rgba(255,255,255,.1); overflow: hidden; }
.cat-bar i { display: block; height: 100%; background: linear-gradient(90deg, #6d7dff, var(--accent)); }
.history { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 10px; }
.history th, .history td { text-align: left; padding: 6px; border-bottom: 1px solid var(--card-border); vertical-align: top; }
.history td:last-child, .history th:last-child { text-align: right; }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #141a44; border: 1px solid var(--accent);
  padding: 10px 16px; border-radius: 12px; z-index: 10; }

@media (max-width: 560px) {
  #app { padding-right: 46px; }
  #gauge { width: 30px; right: 8px; }
  #gauge-marks li { font-size: 0; }
  #answer-form { flex-direction: column; }
  .hud { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- launch sequence (after a correct answer, < 3 s) ---------- */
#launch {
  --h: .5;                 /* 0..1 height the rocket reaches, set per rarity */
  position: fixed; inset: 0; z-index: 20; overflow: hidden;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 62%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, #fff, transparent), radial-gradient(1px 1px at 63% 12%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 78% 48%, #fff, transparent), radial-gradient(1px 1px at 88% 22%, #fff, transparent),
    radial-gradient(1px 1px at 8% 78%, #fff, transparent), radial-gradient(1.5px 1.5px at 56% 82%, #fff, transparent),
    radial-gradient(1px 1px at 92% 70%, #fff, transparent), radial-gradient(1px 1px at 35% 8%, #fff, transparent),
    linear-gradient(180deg, #02030c 0%, #0a1040 55%, #1f3a8a 85%, #e58a4a 100%);
  opacity: 0;
}
#launch.go { animation: launch-in .25s ease forwards; }
#launch.out { animation: launch-out .3s ease forwards; }
@keyframes launch-in { to { opacity: 1; } }
@keyframes launch-out { from { opacity: 1; } to { opacity: 0; } }

#launch-ground { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 90px; border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 0, #3d8be0, #0b2554 70%); box-shadow: 0 0 40px 10px rgba(120,190,255,.5); }

#launch-line { position: absolute; left: 0; right: 0; bottom: calc(8% + var(--h) * 82%); height: 0;
  border-top: 2px dashed var(--t-color); filter: drop-shadow(0 0 6px var(--t-color));
  transform: scaleX(0); transform-origin: left; }
#launch.go #launch-line { animation: line-draw .5s .15s ease-out forwards; }
@keyframes line-draw { to { transform: scaleX(1); } }
#launch-line-label { position: absolute; left: 14px; bottom: 6px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-size: .8rem; color: var(--t-color); }

#launch-rocket { position: absolute; left: 30%; bottom: 8%; font-size: 54px; line-height: 1; margin-left: -27px;
  transform: rotate(-45deg); filter: drop-shadow(0 0 12px rgba(255,190,100,.9)); }
#launch.go #launch-rocket { animation: rumble .3s linear, fly 1.25s .3s cubic-bezier(.5,0,.25,1) forwards; }
@keyframes rumble { 25% { translate: -2px 0; } 50% { translate: 2px 1px; } 75% { translate: -1px -1px; } }
@keyframes fly { to { bottom: calc(8% + var(--h) * 82% - 27px); } }
#launch-rocket .flame { position: absolute; left: 4px; top: 40px; width: 16px; height: 0; border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, #fff6c2, #ffb13b 40%, rgba(255,80,40,0)); transform: rotate(45deg); transform-origin: top center; }
#launch.go #launch-rocket .flame { animation: flame 1.55s ease-out forwards; }
@keyframes flame { 10% { height: 30px; } 60% { height: 90px; } 100% { height: 14px; } }

#launch-card { position: absolute; right: 8%; top: 50%; translate: 0 -50%; width: min(46%, 360px); text-align: center;
  padding: 22px 18px; border-radius: 20px; background: rgba(6, 10, 34, .72); border: 1px solid var(--t-color);
  box-shadow: 0 0 40px color-mix(in srgb, var(--t-color) 40%, transparent); opacity: 0; scale: .85; }
#launch.go #launch-card { animation: card-pop .35s 1.35s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes card-pop { to { opacity: 1; scale: 1; } }
#launch-icon { font-size: 3.2rem; line-height: 1.1; }
#launch-name { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; color: var(--t-color); }
#launch-level { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
#launch-points { font-size: clamp(2rem, 7vw, 3rem); font-weight: 800; margin-top: 6px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  #launch.go #launch-rocket { bottom: calc(8% + var(--h) * 82% - 27px); }
  #launch.go #launch-line { transform: scaleX(1); }
  #launch.go #launch-card { opacity: 1; scale: 1; }
}

/* all rarity lines during the launch */
#launch-tiers { position: absolute; inset: 0; pointer-events: none; }
#launch-tiers .tl { position: absolute; left: 0; right: 0; bottom: calc(8% + var(--lh) * 82%); height: 0;
  border-top: 1px dashed color-mix(in srgb, var(--t-color) 35%, transparent); box-shadow: none; animation: none; }
#launch-tiers .tl span { position: absolute; left: 14px; bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: color-mix(in srgb, var(--t-color) 45%, transparent); }
#launch.go #launch-tiers .tl.passed { animation: tl-pass .35s var(--d) ease-out forwards; }
#launch.go #launch-tiers .tl.passed span { animation: tl-pass-label .35s var(--d) ease-out forwards; }
@keyframes tl-pass { to { border-top-color: var(--t-color); filter: drop-shadow(0 0 4px var(--t-color)); } }
@keyframes tl-pass-label { 0% { scale: 1; } 40% { scale: 1.25; } 100% { scale: 1; color: var(--t-color); } }
#launch-tiers .tl.above { opacity: .55; }
@media (prefers-reduced-motion: reduce) {
  #launch.go #launch-tiers .tl.passed { border-top-color: var(--t-color); }
  #launch.go #launch-tiers .tl.passed span { color: var(--t-color); }
}

/* live guess feed (multiplayer, after you lock in) */
.feed { margin-top: 12px; }
.feed ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-height: 220px; overflow-y: auto; }
.feed li { padding: 7px 10px; border-radius: 10px; background: rgba(2, 4, 20, .45); animation: fade .3s ease; }
.feed-mark { display: inline-block; width: 1.4em; font-weight: 800; }
.feed-hit .feed-mark { color: var(--accent); }
.feed-miss { opacity: .75; }
.feed-miss .feed-mark { color: var(--warn); }
.feed-miss strong + * , .feed-miss { text-decoration-color: var(--warn); }

/* final rankings */
.rankings { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rank { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(2, 4, 20, .5); }
.rank.you { outline: 1px solid var(--accent); }
.rank-place { font-size: 1.6rem; text-align: center; font-weight: 800; color: var(--muted); }
.rank-name { font-weight: 700; font-size: 1.1rem; display: grid; }
.rank-name small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.rank-pts { font-size: 1.5rem; font-weight: 800; text-align: right; display: grid; }
.rank-pts small { font-size: .7rem; color: var(--muted); font-weight: 400; }
.rank.place-1 { background: linear-gradient(90deg, rgba(255, 211, 107, .22), rgba(2, 4, 20, .5)); box-shadow: 0 0 18px rgba(255, 211, 107, .25); }
.rank.place-2 { background: linear-gradient(90deg, rgba(200, 210, 230, .16), rgba(2, 4, 20, .5)); }
.rank.place-3 { background: linear-gradient(90deg, rgba(205, 140, 90, .18), rgba(2, 4, 20, .5)); }
