:root {
  --blue: #4b6dad;
  --blue-2: #5b7cbc;
  --ink: #1d1d1f;
  --text: #2a2a2e;
  --muted: #5c6270;
  --panel: #ffffff;
  --side: #f7f7f7;
  --card: #f1f1f1;
  --seg: #ffffff;
  --line: #d9dbe0;
  --ribbon: #8ea7d6;
  --ribbon-fold: #4f72b3;
  --ribbon-ink: #14213d;
  --info: #dbe3f0;
  --info-ink: #3b4a66;
  --nav: #ffffff;
  --nav-ink: #2b2b2b;
  --logo: #1953ab;
  --wave1: rgba(255, 255, 255, 0.10);
  --wave2: rgba(255, 255, 255, 0.17);
  --wave3: rgba(255, 255, 255, 0.28);
  --pill-g: #8cc79a;
  --pill-o: #e3a462;
  --pill-r: #d6765d;
  --pill-b: #86a5d8;
  --pill-p: #a8a6e0;
  --pill-v: #b490d0;
  --pill-k: #d28bd5;
  --pill-ink: #1e2433;
  --badge-bg: #9db1d8;
  --badge-ink: #5d78b0;
  --mine: #e4ebf7;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(0, 0, 0, 0.07);
  --name-l: 38%;
  --chat-w: 380px;
  --nav-h: 68px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --blue: #2b4170;
  --blue-2: #3a5288;
  --ink: #eef1f7;
  --text: #dfe3ec;
  --muted: #a3abbd;
  --panel: #1d2433;
  --side: #232b3c;
  --card: #283144;
  --seg: #1d2433;
  --line: #3a4459;
  --ribbon: #6a86c2;
  --ribbon-fold: #3b5696;
  --ribbon-ink: #0b1222;
  --info: #2a3854;
  --info-ink: #c8d3ea;
  --nav: #151a25;
  --nav-ink: #e6e9f0;
  --logo: #8ea7d6;
  --wave1: rgba(255, 255, 255, 0.04);
  --wave2: rgba(255, 255, 255, 0.07);
  --wave3: rgba(255, 255, 255, 0.10);
  --badge-bg: #3f5687;
  --badge-ink: #8ea7d6;
  --mine: #2c3a58;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.3);
  --name-l: 72%;
  color-scheme: dark;
}

:root.big { font-size: 112.5%; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--blue);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--ink); font-weight: 500; margin: 0; }
button { font: inherit; color: inherit; }
svg { display: block; }

.waves { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }
.waves .w1 { fill: var(--wave1); }
.waves .w2 { fill: var(--wave2); }
.waves .w3 { fill: var(--wave3); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--panel); color: var(--ink); padding: 8px 14px; border-radius: 6px;
}
.skip:focus { top: 10px; }

:focus-visible { outline: 3px solid #f2c94c; outline-offset: 2px; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav-h);
  background: var(--nav);
  color: var(--nav-ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.nav-inner {
  height: 100%;
  max-width: 1780px; margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 72px);
  display: flex; align-items: center; gap: 22px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  color: var(--nav-ink); text-decoration: none;
  font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em;
}
.brand-mark {
  width: 64px; height: 36px; flex: none; transition: transform 0.25s;
  background: var(--logo);
  -webkit-mask: url("/logo.png") center / contain no-repeat;
  mask: url("/logo.png") center / contain no-repeat;
}
.brand:hover .brand-mark { transform: scale(1.06); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 8px; cursor: pointer;
}
.icon-btn:hover { background: rgba(127, 127, 127, 0.14); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tt { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1; }
.tt small { font-size: 0.8rem; }

/* ---------- Layout shell (pushes left when chat is docked) ---------- */
.shell { transition: margin-right 0.3s ease; }

.hero { color: #fff; }
.hero-inner {
  max-width: 1780px; margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 72px) 0;
  display: flex; align-items: center; gap: 24px;
}
.hero-text { flex: 1; min-width: 0; }
.eyebrow {
  margin: 0 0 6px; font-size: 1.05rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.95;
}
.hero h1 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 16px; }
.tabs a, .tabs button {
  color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 6px 10px 10px; font-size: 1.15rem; font-weight: 300;
  border-bottom: 2px solid transparent;
}
.tabs .active { font-weight: 600; border-bottom-color: #fff; }
.tabs a:hover, .tabs button:hover { border-bottom-color: rgba(255, 255, 255, 0.6); }
.badge {
  flex: none; width: 140px; height: 140px; border-radius: 50%; overflow: hidden;
  background: var(--badge-bg); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  display: grid; place-items: center;
}
.badge pre {
  margin: 0; font: 400 9px/1.25 ui-monospace, Consolas, monospace; color: var(--badge-ink);
  transform: scale(1.1);
}

.page {
  max-width: 1780px; margin: 0 auto;
  padding: 22px clamp(16px, 4vw, 72px) 48px;
  display: grid; gap: 22px;
}
.panel {
  background: var(--panel); border-radius: 6px; box-shadow: var(--shadow);
  padding: clamp(16px, 2.2vw, 24px);
}
.panel > h2 { font-size: 1.75rem; margin-bottom: 22px; }

.grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  align-items: start;
}
.main-col { display: grid; gap: 22px; min-width: 0; }

.ghost-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 18px; border: 0; border-radius: 6px; cursor: pointer;
  background: rgba(127, 127, 127, 0.14); color: var(--ink); font-size: 1.1rem; font-weight: 300;
}
.ghost-btn:hover:not(:disabled) { background: rgba(127, 127, 127, 0.22); }
.ghost-btn:disabled { opacity: 0.55; cursor: progress; }
.ghost-btn.small { width: auto; padding: 8px 14px; font-size: 0.95rem; flex: none; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.card-foot .pills { margin-top: 0; }
.ghost-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- Assignment-style cards with folded ribbon ---------- */
.card {
  background: var(--card); border-radius: 6px;
  padding: 18px clamp(16px, 2vw, 24px) 18px;
  position: relative;
}
.kicker { margin: 0 0 8px; font-size: 0.85rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.ribbon {
  position: relative; display: inline-block;
  margin: 0 0 22px calc(-1 * clamp(16px, 2vw, 24px) - 22px);
  padding: 9px 26px 9px calc(clamp(16px, 2vw, 24px) + 22px);
  background: var(--ribbon); color: var(--ribbon-ink);
  font-size: 1.15rem; font-weight: 600; border-radius: 0 3px 3px 0;
}
.ribbon::after {
  content: ""; position: absolute; left: 0; bottom: -20px;
  border-top: 20px solid var(--ribbon-fold); border-left: 22px solid transparent;
}
.meta { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.15rem; font-weight: 300; color: var(--text); }
.meta svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 4px; font-size: 0.95rem; font-weight: 400; color: var(--pill-ink); transition: background 0.4s; }
.pill-g { background: var(--pill-g); }
.pill-o { background: var(--pill-o); }
.pill-r { background: var(--pill-r); }
.pill-b { background: var(--pill-b); }
.pill-p { background: var(--pill-p); }
.pill-v { background: var(--pill-v); }
.pill-k { background: var(--pill-k); }

.info {
  background: var(--info); color: var(--info-ink); border-radius: 6px;
  padding: 26px clamp(16px, 2.5vw, 40px); font-size: 1.05rem; font-weight: 300; line-height: 1.5;
}

/* ---------- Countdown + rocket ---------- */
.launch-card { overflow: visible; }
.launch-body {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px;
  margin: 14px 0 4px;
}
.clock { display: flex; flex-wrap: nowrap; gap: clamp(6px, 1.2vw, 14px); align-self: center; }
.seg {
  flex: 1 1 0; min-width: 0; max-width: 170px;
  background: var(--seg); border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(10px, 1.6vw, 18px) 6px clamp(8px, 1.2vw, 12px);
  display: grid; justify-items: center; gap: 4px;
  position: relative; overflow: hidden;
}
.seg::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); opacity: 0.5; }
.seg[hidden] { display: none; }
.num {
  font-size: clamp(2.1rem, 6.4vw, 5rem); font-weight: 600; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.lbl { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.launch-card.final .num { color: var(--pill-r); }

.pad { position: relative; width: 140px; height: 230px; flex: none; }
.tower { position: absolute; inset: 0; width: 100%; height: 100%; }
.tower-frame { fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; opacity: 0.7; }
.pad-base { fill: var(--muted); opacity: 0.75; }
.pad-base.dim { opacity: 0.45; }
.rocket { position: absolute; left: 50px; bottom: 26px; width: 64px; height: 152px; will-change: transform; }
.rocket svg { width: 100%; height: 100%; overflow: visible; }
.rocket .body { fill: #fbfbfd; stroke: #2b3a5c; stroke-width: 2; }
.rocket .nose { fill: var(--pill-r); stroke: #2b3a5c; stroke-width: 2; }
.rocket .fin { fill: var(--blue-2); stroke: #2b3a5c; stroke-width: 2; stroke-linejoin: round; }
.rocket .fin.mid { fill: none; stroke-width: 4; stroke: var(--blue-2); }
.rocket .nozzle { fill: #8f97a8; stroke: #2b3a5c; stroke-width: 2; }
.rocket .window { fill: var(--ribbon); stroke: #2b3a5c; stroke-width: 3; }
.rocket .window-glint { fill: #fff; opacity: 0.8; }
.rocket .stripe { stroke: var(--pill-o); stroke-width: 5; }
.flame { opacity: 0; transform-origin: 40px 148px; }
.flame-outer { fill: #f29b38; }
.flame-inner { fill: #ffe27a; }

.smoke { position: absolute; left: 0; right: 0; bottom: 14px; height: 50px; pointer-events: none; }
.smoke i {
  position: absolute; bottom: 0; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(200, 205, 215, 0.9); opacity: 0; transform: scale(0.3);
}
.smoke i:nth-child(1) { left: 30px; }
.smoke i:nth-child(2) { left: 52px; animation-delay: 0.15s !important; }
.smoke i:nth-child(3) { left: 74px; animation-delay: 0.3s !important; }
.smoke i:nth-child(4) { left: 40px; animation-delay: 0.45s !important; }
.smoke i:nth-child(5) { left: 64px; animation-delay: 0.6s !important; }

.pad[data-state="idle"] .rocket { animation: settle 0.8s ease-out; }
.pad[data-state="arming"] .rocket { animation: rumble 0.12s linear infinite; }
.pad[data-state="arming"] .flame { opacity: 0.85; animation: flicker 0.09s linear infinite alternate; transform: scaleY(0.55); }
.pad[data-state="arming"] .smoke i { animation: puff 1.2s ease-out infinite; }
.pad[data-state="liftoff"] .rocket { animation: liftoff 3.2s cubic-bezier(0.55, 0, 0.9, 0.4) forwards; }
.pad[data-state="liftoff"] .flame { opacity: 1; animation: flicker 0.07s linear infinite alternate; }
.pad[data-state="liftoff"] .smoke i { animation: puff 1.6s ease-out 3; }
.pad[data-state="gone"] .rocket { opacity: 0; }

@keyframes rumble {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.5px, 0.5px); }
  50% { transform: translate(1px, -0.5px); }
  75% { transform: translate(1.5px, 0.5px); }
  100% { transform: translate(0, 0); }
}
@keyframes flicker { from { transform: scaleY(0.85) scaleX(0.95); } to { transform: scaleY(1.15) scaleX(1.05); } }
@keyframes puff {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3); }
  25% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--dx, 0), -20px) scale(2.2); }
}
.smoke i:nth-child(odd) { --dx: -34px; }
.smoke i:nth-child(even) { --dx: 34px; }
@keyframes liftoff {
  0% { transform: translateY(0); }
  8% { transform: translate(-1px, 2px); }
  100% { transform: translateY(-150vh); }
}
@keyframes settle { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Schedule ---------- */
.sched { display: grid; gap: 18px; }
.sched .card { padding-bottom: 16px; }
.sched .ribbon { margin-bottom: 20px; font-size: 1.1rem; }
.sched .meta { font-size: 1.05rem; }

.foot { color: rgba(255, 255, 255, 0.85); text-align: center; font-size: 0.95rem; padding: 6px 0 0; }

/* ---------- Final-seconds overlay ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center; text-align: center;
  background: rgba(19, 33, 66, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: #fff; cursor: pointer; padding: 16px;
}
.overlay[hidden] { display: none; }
.ov-inner { display: grid; gap: 4px; }
.ov-label { margin: 0; font-size: clamp(1rem, 3vw, 1.6rem); letter-spacing: 0.3em; text-transform: uppercase; font-weight: 400; }
.ov-num {
  margin: 0; font-size: clamp(7rem, 34vmin, 22rem); font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.ov-num.pop { animation: pop 0.9s ease-out; }
.overlay.liftoff .ov-num { font-size: clamp(3.4rem, 12vw, 10rem); line-height: 0.95; letter-spacing: -0.02em; text-wrap: balance; max-width: 12ch; margin: 0 auto; }
.ov-sub { margin: 0; font-size: clamp(1.1rem, 3.4vw, 2rem); font-weight: 400; }
@keyframes pop { 0% { transform: scale(1.35); opacity: 0.4; } 30% { transform: scale(1); opacity: 1; } 100% { transform: scale(0.94); opacity: 0.92; } }

#confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* ---------- Chat panel ---------- */
.chat-fab {
  position: fixed; z-index: 45; right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center; gap: 8px;
  writing-mode: vertical-rl;
  padding: 18px 10px; border: 0; cursor: pointer;
  border-radius: 8px 0 0 8px;
  background: var(--nav); color: var(--nav-ink); box-shadow: var(--shadow);
  font-size: 1rem; font-weight: 500; letter-spacing: 0.04em;
  transition: transform 0.3s ease, opacity 0.2s;
}
.chat-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transform: rotate(90deg); }
.chat-fab:hover { background: var(--side); }
.unread {
  writing-mode: horizontal-tb;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--pill-r); color: #fff; font-size: 0.78rem; font-weight: 600;
  display: grid; place-items: center;
}
.unread[hidden] { display: none; }

.chat {
  position: fixed; z-index: 50; right: 0; top: var(--nav-h); bottom: 0;
  width: var(--chat-w); max-width: 100vw;
  background: var(--panel); color: var(--text);
  box-shadow: -2px 0 16px rgba(0, 0, 0, 0.16);
  display: flex; flex-direction: column;
  transform: translateX(105%); visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
body.chat-open .chat { transform: none; visibility: visible; transition: transform 0.3s ease; }
body.chat-open .chat-fab { opacity: 0; pointer-events: none; transform: translate(100%, -50%); }

@media (min-width: 1100px) {
  body.chat-open .shell { margin-right: var(--chat-w); }
}

.chat-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--line);
  background: var(--blue); color: #fff;
}
.chat-head h2 { color: #fff; font-size: 1.3rem; font-weight: 600; }
.chat-head p { margin: 2px 0 0; font-size: 0.85rem; opacity: 0.9; }
.chat-head .icon-btn { color: #fff; }
.chat-head .icon-btn:hover { background: rgba(255, 255, 255, 0.16); }

.chat-notice {
  margin: 12px 14px 0; padding: 10px 12px; border-radius: 6px;
  background: var(--info); color: var(--info-ink); font-size: 0.88rem; line-height: 1.4;
}
.chat-notice[hidden] { display: none; }

.join { padding: 28px 20px; display: grid; gap: 12px; }
.join[hidden] { display: none; }
.join label { font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.join input, .composer textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 300; color: var(--ink);
  background: var(--panel); border: 1px solid #b8bcc6; border-radius: 6px; padding: 12px 14px;
}
.join input:focus, .composer textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(91, 124, 188, 0.3); }
.hint { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.primary-btn {
  border: 0; border-radius: 6px; cursor: pointer; padding: 12px 18px;
  background: var(--blue-2); color: #fff; font-weight: 500; font-size: 1rem;
}
.primary-btn:hover { filter: brightness(1.08); }
.primary-btn:disabled { opacity: 0.6; cursor: progress; }

.chat-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-body[hidden] { display: none; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; list-style: none; margin: 0; padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 2px; overscroll-behavior: contain; }
.msgs .empty { margin: auto; text-align: center; color: var(--muted); font-size: 0.95rem; padding: 24px 12px; line-height: 1.5; }
.msg { padding: 6px 10px; border-radius: 6px; }
.msg.first { margin-top: 10px; }
.msg.mine { background: var(--mine); }
.msg-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.msg-name { font-weight: 600; color: hsl(var(--h) 55% var(--name-l)); overflow-wrap: anywhere; }
.msg-time { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.msg-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; font-size: 0.97rem; color: var(--text); }

.composer { border-top: 1px solid var(--line); padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); display: grid; gap: 8px; }
.as { font-size: 0.82rem; color: var(--muted); }
.as b { color: var(--ink); font-weight: 500; }
.link-btn { border: 0; background: none; padding: 0; color: var(--blue-2); text-decoration: underline; cursor: pointer; font-size: inherit; }
.row { display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { resize: none; max-height: 132px; line-height: 1.4; padding: 10px 12px; }
.send { padding: 0; width: 46px; height: 46px; flex: none; display: grid; place-items: center; }
.send svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .badge { width: 104px; height: 104px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 58px; }
  .brand { font-size: 1.35rem; }
  .brand-mark { width: 50px; height: 28px; }
  .nav-inner { gap: 10px; }
  .eyebrow { font-size: 0.78rem; letter-spacing: 0.1em; }
  .tabs a, .tabs button { font-size: 1rem; padding: 6px 8px 10px; }
  .badge { display: none; }
  .panel > h2 { font-size: 1.4rem; margin-bottom: 18px; }
  .launch-body { grid-template-columns: 1fr; justify-items: center; }
  .clock { width: 100%; }
  .num { font-size: clamp(1.9rem, 10.5vw, 3rem); }
  .lbl { font-size: 0.68rem; letter-spacing: 0.1em; }
  .pad { width: 112px; height: 184px; }
  .pad[data-state="gone"] { display: none; }
  .rocket { left: 40px; bottom: 21px; width: 51px; height: 122px; }
  .smoke i { width: 28px; height: 28px; }
  .meta { font-size: 1rem; }
  .ribbon { font-size: 1.05rem; }
  .info { padding: 18px 16px; font-size: 0.97rem; }

  .chat { top: 0; width: 100vw; height: 100dvh; z-index: 60; }
  .chat-fab {
    writing-mode: horizontal-tb; top: auto; transform: none;
    right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    border-radius: 28px; padding: 14px 18px;
    background: var(--blue-2); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  }
  .chat-fab:hover { background: var(--blue-2); filter: brightness(1.08); }
  .chat-fab svg { transform: none; }
  body.chat-open .chat-fab { transform: translateY(120%); }
  body.chat-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pad[data-state="arming"] .rocket { animation: none; }
  .pad[data-state="liftoff"] .rocket { animation-duration: 1.6s; }
  .ov-num.pop { animation: none; }
  .chat, .shell, .chat-fab { transition: none; }
}
