:root {
  --bg: #04060a;
  --panel: rgba(13, 18, 27, 0.78);
  --panel-solid: #0c1119;
  --line: rgba(140, 170, 210, 0.14);
  --line-strong: rgba(140, 170, 210, 0.28);
  --text: #e9eef6;
  --muted: #8592a6;
  --orange: #ff6a1a;
  --amber: #ffb547;
  --cyan: #69d2ff;
  --green: #3ee08f;
  --red: #ff4d5e;
  --steel: #cfd6df;
  --steel-dark: #8d97a4;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --r: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  overflow-x: hidden;
  background-image:
    radial-gradient(1200px 600px at 75% -10%, rgba(255, 106, 26, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(105, 210, 255, 0.06), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
}
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
a { color: var(--cyan); }
b { font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
button { font-family: inherit; cursor: pointer; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--amber);
  font-weight: 600;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 22px;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff3d6, var(--orange) 55%, #b23300);
  box-shadow: 0 0 14px var(--orange), 0 0 30px rgba(255, 106, 26, 0.5);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 6px var(--orange), 0 0 14px rgba(255, 106, 26, 0.3); } }
.brand-name { font-family: var(--mono); font-weight: 800; letter-spacing: 0.16em; font-size: 14px; }
.brand-name b { color: var(--orange); font-weight: 800; margin-left: 4px; }
.mission-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--steel);
}
.clocks { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; }
.utc { color: var(--muted); }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 181, 71, 0.4); color: var(--amber);
  font-weight: 600; letter-spacing: 0.1em; font-size: 11px;
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status-pill.s-live { color: var(--red); border-color: rgba(255, 77, 94, 0.5); }
.status-pill.s-live i { animation: blink 1s steps(2) infinite; }
.status-pill.s-orbit { color: var(--cyan); border-color: rgba(105, 210, 255, 0.45); }
.status-pill.s-done { color: var(--green); border-color: rgba(62, 224, 143, 0.45); }
@keyframes blink { 50% { opacity: 0.2; } }

/* ---------- layout ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr);
  gap: 18px;
  padding: 18px 22px 8px;
  max-width: 1680px; margin: 0 auto;
}
.left { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* ---------- stream ---------- */
.stream-card { overflow: hidden; }
.stream-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.stream-tabs::-webkit-scrollbar { display: none; }
.stream-tab {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 7px 12px; border-radius: 9px;
  background: transparent; border: 1px solid transparent; color: var(--muted);
  text-align: left;
}
.stream-tab b { color: var(--text); font-size: 13px; font-weight: 600; }
.stream-tab span { font-size: 11px; }
.stream-tab:hover { background: rgba(255, 255, 255, 0.04); }
.stream-tab[aria-selected="true"] { background: rgba(255, 106, 26, 0.12); border-color: rgba(255, 106, 26, 0.4); }
.stream-tab[aria-selected="true"] b { color: var(--orange); }
.stream-tab .ext { opacity: 0.7; }
.stream-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.stream-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stream-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  color: var(--muted); font-family: var(--mono); font-size: 13px; text-align: center; padding: 20px;
}
.ph-ring { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--orange); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stream-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; flex-wrap: wrap; }
.custom-form { display: flex; gap: 6px; }
.custom-form input {
  width: 210px; max-width: 48vw;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 8px; padding: 7px 10px; font-family: var(--mono); font-size: 12px;
}
.custom-form button, .chip-btn, .presets button {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 8px; padding: 7px 12px; font-size: 12.5px; font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.custom-form button:hover, .chip-btn:hover, .presets button:hover { border-color: var(--orange); color: var(--orange); }
.chip-btn[aria-pressed="true"] { background: var(--orange); color: #120600; border-color: var(--orange); }

/* ---------- clocks ---------- */
.clock-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.clock-card, .next-card { padding: 18px 20px; }
.big-clock {
  font-family: var(--mono); font-weight: 800;
  font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.02em;
  margin: 6px 0 8px;
  background: linear-gradient(180deg, #fff 30%, #ffd7b8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(255, 106, 26, 0.25);
}
.big-clock.plus { background: linear-gradient(180deg, #fff 30%, #b9ecff); -webkit-background-clip: text; background-clip: text; }
.clock-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.dot-sep { opacity: 0.5; }
.window-bar { margin-top: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.window-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--orange)); transition: width 1s linear; }
.next-label { font-size: 21px; font-weight: 600; margin-top: 6px; line-height: 1.2; min-height: 2.4em; }
.next-in { font-family: var(--mono); font-size: 26px; font-weight: 800; color: var(--orange); margin-top: 4px; font-variant-numeric: tabular-nums; }
.next-meta { margin-top: 2px; font-family: var(--mono); }
.phase-strip { display: flex; gap: 4px; margin-top: 14px; }
.phase-strip span {
  flex: 1; text-align: center; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.04em;
  padding: 6px 2px 0; border-top: 3px solid rgba(255, 255, 255, 0.08); color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.phase-strip span.done { border-top-color: rgba(255, 106, 26, 0.45); color: var(--steel-dark); }
.phase-strip span.now { border-top-color: var(--orange); color: var(--orange); }

.double-card { display: grid; grid-template-columns: repeat(3, 1fr); }
.dc-item { padding: 16px 20px; border-left: 1px solid var(--line); }
.dc-item:first-child { border-left: 0; }
.dc-time { font-family: var(--mono); font-size: 22px; font-weight: 800; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.dc-time.good { color: var(--green); }

/* ---------- explorer ---------- */
.right { padding: 18px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 66px; align-self: start; max-height: calc(100vh - 80px); }
.ex-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ex-head h2 { margin: 4px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.ex-body { display: grid; grid-template-columns: minmax(130px, 0.9fr) minmax(0, 1.1fr); gap: 14px; min-height: 0; flex: 1; }
.rocket-wrap { position: relative; min-height: 0; display: flex; justify-content: center; }
#rocket { width: 100%; height: 100%; max-height: calc(100vh - 230px); min-height: 440px; overflow: visible; }
.rocket-scale { position: absolute; left: 0; top: 3%; bottom: 3%; width: 1px; background: var(--line-strong); }
.rocket-scale span { position: absolute; top: 50%; left: -7px; transform: rotate(-90deg) translateX(50%); transform-origin: left top; font-family: var(--mono); font-size: 10px; color: var(--muted); white-space: nowrap; }

#rocket .part { cursor: pointer; transition: transform 0.55s cubic-bezier(.2, .8, .2, 1), filter 0.25s, opacity 0.25s; }
#rocket .part:hover { filter: brightness(1.25); }
#rocket .part.sel { filter: drop-shadow(0 0 6px rgba(255, 106, 26, 0.9)) brightness(1.15); }
#rocket.has-sel .part:not(.sel):not(.ghost) { opacity: 0.55; }
#rocket .callout { opacity: 0; transition: opacity 0.3s; pointer-events: none; }
#rocket.exploded .callout { opacity: 1; }
#rocket .callout text { font-family: var(--mono); font-size: 9.5px; fill: var(--steel); letter-spacing: 0.04em; }
#rocket .callout line { stroke: var(--line-strong); stroke-width: 0.8; }
#rocket .flame { transform-origin: 100px 975px; animation: flick 0.12s infinite alternate; }
@keyframes flick { from { transform: scaleY(1); opacity: 0.85; } to { transform: scaleY(1.08); opacity: 1; } }

.part-card {
  border-left: 1px solid var(--line); padding-left: 14px;
  display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 0;
}
.pc-stage { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--cyan); }
.part-card h3 { margin: 0; font-size: 20px; line-height: 1.15; }
.pc-stats { display: grid; gap: 6px; }
.pc-stat { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.pc-stat span { color: var(--muted); font-size: 12px; }
.pc-stat b { font-family: var(--mono); font-size: 12.5px; text-align: right; color: var(--text); }
.part-card p { margin: 0; color: #c3ccd8; font-size: 14px; }
.pc-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; padding-top: 6px; }
.pc-dims div { text-align: center; padding: 8px 4px; border: 1px solid var(--line); border-radius: 8px; }
.pc-dims b { display: block; font-family: var(--mono); font-size: 14px; color: var(--orange); }
.pc-dims span { font-size: 11px; color: var(--muted); }
.part-card.flash { animation: cardin 0.35s ease; }
@keyframes cardin { from { opacity: 0; transform: translateX(8px); } }

.part-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.part-chips button {
  font-size: 11.5px; padding: 5px 9px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--muted);
}
.part-chips button:hover { color: var(--text); }
.part-chips button.sel { color: #120600; background: var(--orange); border-color: var(--orange); }

/* ---------- timeline rail ---------- */
.rail-section, .history { padding: 22px; max-width: 1680px; margin: 0 auto; }
.section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.section-head.tight { margin-bottom: 6px; }
.rail {
  display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 14px; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ev {
  flex: 0 0 auto; width: 176px; padding: 12px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line); position: relative;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.ev::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; background: var(--line); border-radius: 2px; }
.ev .ev-t { font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ev .ev-l { font-size: 13.5px; font-weight: 500; margin: 4px 0; line-height: 1.25; min-height: 2.5em; }
.ev .ev-local { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.ev.big .ev-l { color: var(--amber); font-weight: 700; }
.ev.past { opacity: 0.55; }
.ev.past::before { background: rgba(255, 106, 26, 0.5); }
.ev.now { border-color: var(--orange); background: rgba(255, 106, 26, 0.12); transform: translateY(-3px); opacity: 1; }
.ev.now::before { background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.ev.now .ev-t { color: var(--orange); }
.ev.ph-booster .ev-t::after, .ev.ph-ship .ev-t::after, .ev.ph-return .ev-t::after {
  font-size: 9px; letter-spacing: 0.12em; margin-left: 6px; padding: 1px 5px; border-radius: 4px; border: 1px solid currentColor;
}
.ev.ph-booster .ev-t::after { content: "BOOSTER"; color: var(--amber); }
.ev.ph-ship .ev-t::after { content: "SHIP"; color: var(--cyan); }
.ev.ph-return .ev-t::after { content: "SHIP"; color: var(--cyan); }

/* ---------- facts band ---------- */
.facts-band { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 106, 26, 0.035); padding: 14px 0; }
.facts-track { display: flex; gap: 46px; width: max-content; animation: marquee 80s linear infinite; }
.facts-band:hover .facts-track { animation-play-state: paused; }
.fact { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.fact b { font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--orange); }
.fact span { color: #c3ccd8; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- lab + scale ---------- */
.grid2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; padding: 22px; max-width: 1680px; margin: 0 auto; }
.lab, .scale { padding: 18px 20px; }
.lab-body { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
#engines { width: 100%; max-width: 340px; justify-self: center; }
#engines .eng { cursor: pointer; transition: fill 0.2s; }
#engines .eng-g:hover .eng-ring { stroke: var(--amber); }
.lab-count { font-family: var(--mono); display: flex; align-items: baseline; gap: 8px; }
.lab-count b { font-size: 48px; font-weight: 800; line-height: 1; }
.lab-count span { color: var(--muted); }
.lab-meter { position: relative; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); margin: 12px 0; overflow: visible; }
.lab-meter div { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ff3d00, var(--orange), var(--amber)); width: 100%; transition: width 0.35s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 16px rgba(255, 106, 26, 0.5); }
.lab-meter .mark { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--text); left: 60.6%; border-radius: 2px; }
.lab-meter .mark::after { content: "WEIGHT"; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 9px; color: var(--muted); font-style: normal; letter-spacing: 0.1em; }
.lab-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.lab-row:first-of-type { margin-top: 14px; }
.lab-row b { font-family: var(--mono); }
.lab-verdict { margin: 12px 0 10px; font-family: var(--mono); font-weight: 800; letter-spacing: 0.14em; padding: 9px 12px; border-radius: 8px; text-align: center; font-size: 13px; }
.lab-verdict.go { background: rgba(62, 224, 143, 0.12); color: var(--green); border: 1px solid rgba(62, 224, 143, 0.35); }
.lab-verdict.nogo { background: rgba(255, 77, 94, 0.1); color: var(--red); border: 1px solid rgba(255, 77, 94, 0.35); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.presets button { font-size: 12px; padding: 6px 10px; }

#scaleSvg { width: 100%; display: block; margin-top: 6px; }
#scaleSvg .sc { cursor: pointer; transition: opacity 0.2s; }
#scaleSvg .sc text { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
#scaleSvg .sc.sel text { fill: var(--text); }
#scaleSvg .sc.dim { opacity: 0.4; }
.scale-read { font-size: 15px; margin-top: 8px; min-height: 2.6em; }
.scale-read b { font-family: var(--mono); color: var(--orange); }

/* ---------- history ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); margin-bottom: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.ok { background: var(--green); } .catch { background: var(--amber); } .ctrl { background: var(--cyan); }
.fail { background: var(--red); } .none { background: #2a3240; } .live { background: var(--orange); animation: blink 1.2s steps(2) infinite; }
.flights { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 6px; }
.fl {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.fl:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.fl.sel { border-color: var(--orange); }
.fl.tonight { border-color: rgba(255, 106, 26, 0.6); background: rgba(255, 106, 26, 0.1); }
.fl-n { font-family: var(--mono); font-weight: 800; font-size: 16px; }
.fl-bars { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.fl-bars i { display: block; height: 6px; border-radius: 3px; }
.fl-y { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.flight-detail { margin-top: 12px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; }
.fd-big { font-family: var(--mono); font-weight: 800; font-size: 40px; line-height: 1; color: var(--orange); grid-row: span 3; }
.fd-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.fd-out { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-out span { font-size: 12px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-strong); display: inline-flex; gap: 6px; align-items: center; }
.flight-detail p { margin: 0; color: #c3ccd8; }

.foot { padding: 26px 22px 40px; max-width: 1680px; margin: 0 auto; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 8px; font-size: 13px; color: #aab4c2; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .layout { grid-template-columns: 1fr; }
  .right { position: relative; top: 0; max-height: none; }
  #rocket { max-height: 620px; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .topbar { padding: 8px 16px; }
  .hide-sm { display: none; }
  .mission-tags .tag:nth-child(2) { display: none; }
  .layout, .grid2, .rail-section, .history { padding-left: 16px; padding-right: 16px; }
  .layout { padding-top: 12px; gap: 14px; }
  .left { gap: 14px; }
  .clock-row { grid-template-columns: 1fr; gap: 14px; }
  .double-card { grid-template-columns: 1fr; }
  .dc-item { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 12px 16px; }
  .dc-item:first-child { border-top: 0; }
  .dc-item .eyebrow { grid-column: 1; }
  .dc-item .dc-time { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 18px; }
  .dc-item .small { grid-column: 1; }
  .ex-body { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
  #rocket { min-height: 380px; max-height: 460px; }
  .part-card { padding-left: 10px; }
  .part-card h3 { font-size: 17px; }
  .part-card p { font-size: 13px; }
  .lab-body { grid-template-columns: 1fr; }
  #engines { max-width: 260px; }
  .flights { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .flight-detail { grid-template-columns: 1fr; }
  .fd-big { grid-row: auto; font-size: 30px; }
  .stream-foot { flex-direction: column; align-items: stretch; }
  .custom-form input { flex: 1; width: auto; max-width: none; }
  .fact b { font-size: 18px; }
  .ev { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* X (Twitter) embed inside the stream frame */
.xwrap { position: absolute; inset: 0; overflow-y: auto; display: flex; justify-content: center; padding: 10px; }
.xwrap .twitter-tweet { margin: 0 auto !important; }
.xfallback { margin: auto; padding: 14px 20px; border-radius: 10px; background: var(--orange); color: #120600; font-weight: 700; text-decoration: none; }
.tag, .status-pill { white-space: nowrap; }
@media (max-width: 480px) {
  .mission-tags { display: none; }
  .brand-name { font-size: 13px; }
}
@media (max-width: 760px) {
  .pc-stat { flex-direction: column; gap: 1px; padding: 6px 8px; }
  .pc-stat b { text-align: left; }
  .ex-body { grid-template-columns: 124px minmax(0, 1fr); }
}

/* explorer sizing: rocket height follows the screen, panel only sticks on tall screens */
.right { position: relative; top: 0; max-height: none; }
.ex-body { flex: none; }
#rocket { height: clamp(420px, calc(100vh - 270px), 860px); min-height: 0; max-height: none; }
@media (min-width: 1181px) and (min-height: 800px) {
  .right { position: sticky; top: 66px; }
}
@media (max-width: 760px) {
  #rocket { height: 440px; }
}

/* share-card mode (?og=1), used only to render og.png */
body.og { background-attachment: scroll; overflow: hidden; }
body.og .topbar, body.og .left, body.og .rail-section, body.og .facts-band, body.og .grid2, body.og .history, body.og .foot, body.og .part-chips, body.og .ex-head, body.og .part-card { display: none !important; }
body.og .layout { display: block; padding: 0; }
body.og .right { position: absolute; right: 40px; top: 24px; width: 300px; height: 582px; padding: 10px; background: transparent; border: 0; box-shadow: none; }
body.og .ex-body { display: block; }
body.og #rocket { height: 570px; }
body.og .rocket-scale { display: none; }
.og-title { position: absolute; left: 64px; top: 70px; width: 760px; }
.og-title .eyebrow { font-size: 16px; }
.og-title h1 { font-family: var(--mono); font-size: 92px; line-height: 0.95; margin: 18px 0 22px; letter-spacing: 0.02em; }
.og-title h1 span { color: var(--orange); display: block; }
.og-title p { font-size: 30px; margin: 0 0 10px; color: #dbe3ee; }
.og-title .og-when { margin-top: 34px; display: inline-flex; gap: 14px; font-family: var(--mono); font-size: 22px; padding: 12px 18px; border: 1px solid rgba(255,106,26,.5); border-radius: 12px; color: var(--amber); }
body.og .right { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ===== v5: Ignition, Raptor, Evolution ===== */
.ignition, .raptor-sec, .evo-sec { padding: 34px 22px 10px; max-width: 1680px; margin: 0 auto; }
.big-h { font-size: clamp(30px, 4vw, 52px) !important; letter-spacing: -0.02em; line-height: 1; margin-top: 6px !important; }
.section-head > div + .muted { max-width: 560px; }
.ex-btns { display: flex; gap: 6px; }
.ign-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 18px; }
.fire-card { position: relative; overflow: hidden; min-height: 520px; padding: 0; }
#fire { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fire-hud { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: space-between; padding: 16px 18px; pointer-events: none; }
.fire-hud div { display: flex; flex-direction: column; gap: 2px; }
.fire-hud .hud-r { align-items: flex-end; }
.fire-hud b { font-family: var(--mono); font-size: 28px; font-weight: 800; text-shadow: 0 0 20px rgba(255, 106, 26, 0.6); font-variant-numeric: tabular-nums; }
.fire-cap { position: absolute; left: 18px; right: 18px; bottom: 10px; text-shadow: 0 1px 4px #000; }
.lab { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.lab-top { display: grid; grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.lab-top #engines { max-width: 230px; }
.lab-row:first-of-type { margin-top: 6px; }
.throttle label { display: flex; justify-content: space-between; align-items: baseline; }
.throttle label b { font-family: var(--mono); font-size: 18px; }
.thr-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; margin: 4px 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #3a2a20, var(--orange)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #3a2a20, var(--orange)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); margin-top: -8px; box-shadow: 0 0 14px rgba(255, 106, 26, 0.7); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 0 14px rgba(255, 106, 26, 0.7); }
.presets button.hot { background: var(--orange); color: #120600; border-color: var(--orange); font-weight: 700; }
.presets button.hot:hover { color: #120600; filter: brightness(1.1); }

.raptor-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: 0; overflow: hidden; }
.raptor-stage { background: radial-gradient(600px 400px at 50% 40%, rgba(105, 210, 255, 0.05), transparent 70%); border-right: 1px solid var(--line); }
#raptorSvg { width: 100%; display: block; max-height: 640px; }
#raptorSvg .comp { cursor: pointer; transition: opacity 0.3s, filter 0.3s; }
#raptorSvg .comp:hover { filter: brightness(1.3); }
#raptorSvg.focus .comp:not(.on) { opacity: 0.28; }
#raptorSvg.focus .flow:not(.on) { opacity: 0.12; }
#raptorSvg .flow { fill: none; stroke-linecap: round; stroke-width: 5; stroke-dasharray: 2 12; animation: flow 0.9s linear infinite; transition: opacity 0.3s; }
#raptorSvg .flow.fast { animation-duration: 0.45s; }
#raptorSvg .pipe { fill: none; stroke: #2a323e; stroke-width: 11; stroke-linecap: round; }
#raptorSvg text { font-family: var(--mono); font-size: 11px; fill: #9aa6b8; letter-spacing: 0.05em; pointer-events: none; }
#raptorSvg .lbl-on { fill: var(--text); }
@keyframes flow { to { stroke-dashoffset: -28; } }
.raptor-side { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.raptor-side h3 { margin: 0; font-size: 24px; line-height: 1.15; }
.raptor-side p { margin: 0; color: #c3ccd8; font-size: 15px; }
.step-nav { display: flex; align-items: center; gap: 10px; }
.step-nav button { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); color: var(--text); font-size: 20px; line-height: 1; }
.step-nav button:hover { border-color: var(--orange); color: var(--orange); }
.step-dots { display: flex; gap: 6px; flex: 1; }
.step-dots i { flex: 1; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); cursor: pointer; }
.step-dots i.on { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.flow-key { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: auto; color: var(--muted); }
.flow-key span { display: flex; align-items: center; gap: 7px; }
.flow-key i { width: 18px; height: 4px; border-radius: 3px; }

.evo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.evo-card, .block-card { padding: 18px 20px; }
#evoSvg { width: 100%; max-height: 440px; display: block; }
.evo-ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.evo-ticks span { cursor: pointer; }
.evo-ticks span.on { color: var(--orange); }
.evo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.evo-stats div { text-align: center; padding: 10px 6px; border: 1px solid var(--line); border-radius: 10px; }
.evo-stats b { display: block; font-family: var(--mono); font-size: 26px; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.evo-stats span { font-size: 11.5px; color: var(--muted); }
.block-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.block-tabs button { flex: 1; padding: 9px; border-radius: 9px; background: transparent; border: 1px solid var(--line-strong); color: var(--muted); font-weight: 600; }
.block-tabs button.sel { background: rgba(255, 106, 26, 0.14); border-color: var(--orange); color: var(--orange); }
.block-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
#blockSvg { width: 100%; max-height: 470px; }
#blockSvg .bk { transition: all 0.6s cubic-bezier(.2, .8, .2, 1); }
.block-info { display: flex; flex-direction: column; gap: 6px; }
.block-info h3 { margin: 0 0 4px; font-size: 20px; }
.block-info p { margin: 6px 0 0; color: #c3ccd8; font-size: 14px; }
.bi-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font-size: 13px; }
.bi-row span { color: var(--muted); }
.bi-row b { font-family: var(--mono); text-align: right; }
.bi-row b.up { color: var(--green); }
.grid2.single { grid-template-columns: 1fr; }
.grid2.single .scale { max-width: 980px; width: 100%; margin: 0 auto; }

/* x-ray */
#rocket .xray { opacity: 0; pointer-events: none; transition: opacity 0.4s; }
#rocket.xr .xray { opacity: 1; }
#rocket.xr .skin { opacity: 0.16; }
#rocket .skin { transition: opacity 0.4s; }
#rocket .xray text { font-family: var(--mono); font-size: 10px; fill: #e9eef6; font-weight: 600; }
.xray-cap { display: none; }
.xr-on .xray-cap { display: block; }

@media (max-width: 1180px) {
  .ign-grid, .raptor-card, .evo-grid { grid-template-columns: 1fr; }
  .raptor-stage { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .ignition, .raptor-sec, .evo-sec { padding: 26px 16px 6px; }
  .fire-card { min-height: 380px; }
  .fire-hud b { font-size: 22px; }
  .lab-top { grid-template-columns: 1fr; }
  .lab-top #engines { max-width: 220px; justify-self: center; }
  .block-body { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
  .evo-stats b { font-size: 20px; }
  .raptor-side { padding: 16px; }
}
.big-clock { white-space: nowrap; font-size: clamp(30px, 4vw, 68px); }
@media (max-width: 1180px) { .big-clock { font-size: clamp(34px, 9vw, 72px); } }
.ignition .section-head, .raptor-sec .section-head, .evo-sec .section-head { align-items: flex-end; justify-content: space-between; gap: 10px 30px; }
.ignition .section-head > .muted, .raptor-sec .section-head > .muted, .evo-sec .section-head > .muted { padding-bottom: 6px; }
@media (max-width: 760px) { .fire-cap { display: none; } .fire-hud { bottom: 10px; } }
.sync-badge { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; padding: 7px 12px; border-radius: 8px; background: rgba(255, 77, 94, 0.18); border: 1px solid rgba(255, 77, 94, 0.6); color: #ffd0d5; backdrop-filter: blur(6px); }
.presets button.live-btn { color: var(--red); border-color: rgba(255, 77, 94, 0.6); }
@media (max-width: 760px) { .sync-badge { font-size: 10px; max-width: 92%; overflow: hidden; text-overflow: ellipsis; } }
/* fire card: caption in its own strip, HUD on a dark scrim (readable over any flame) */
.fire-card { display: flex; flex-direction: column; min-height: 0; }
.fire-view { position: relative; flex: 1; min-height: 480px; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.fire-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(180deg, rgba(4,6,10,0), rgba(4,6,10,0.88)); pointer-events: none; z-index: 1; }
.fire-hud { z-index: 2; bottom: 0 !important; padding: 16px 18px 14px; }
.fire-hud b { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 0 18px rgba(255,106,26,0.45); }
.fire-hud .eyebrow { text-shadow: 0 1px 2px rgba(0,0,0,0.9); }
.fire-cap { position: static !important; display: block !important; padding: 10px 18px 12px; background: var(--panel-solid); border-top: 1px solid var(--line); text-shadow: none !important; color: var(--muted); border-radius: 0 0 var(--r) var(--r); }
.sync-badge { z-index: 3; }
@media (max-width: 760px) { .fire-view { min-height: 360px; } .fire-cap { font-size: 12px; } }
/* readability pass: diagram labels */
#raptorSvg text { font-size: 13px; font-weight: 600; paint-order: stroke; stroke: rgba(4,6,10,0.85); stroke-width: 3px; }
#rocket .callout text { font-size: 12px; font-weight: 600; paint-order: stroke; stroke: #04060a; stroke-width: 3px; }
#rocket .xray text { font-size: 11px; paint-order: stroke; stroke: rgba(4,6,10,0.9); stroke-width: 3px; }
#scaleSvg .sc text { font-size: 12px; }
@media (max-width: 760px) {
  #raptorSvg text { font-size: 20px; stroke-width: 4px; }
  #rocket .callout text { font-size: 17px; }
  #rocket .xray text { font-size: 15px; }
  #scaleSvg .sc text { font-size: 18px !important; }
  .flow-key { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #raptorSvg text { font-size: 22px; }
  #raptorSvg text:not(.lbl-on) { opacity: 0; }
}

/* ===== explainers ===== */
.tip {
  display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 6px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(105, 210, 255, 0.55); background: rgba(105, 210, 255, 0.1);
  color: var(--cyan); font: italic 700 11px/1 Georgia, serif; vertical-align: middle; cursor: pointer; flex: none;
  letter-spacing: 0; text-transform: none;
}
.tip:hover, .tip:focus-visible { background: var(--cyan); color: #04121a; outline: none; }
.big-h .tip, .section-head h2 .tip, .ex-head h2 .tip { width: 20px; height: 20px; font-size: 13px; position: relative; top: -2px; }
.tip-pop {
  position: fixed; z-index: 100; width: 320px; padding: 16px 18px 14px; border-radius: 14px;
  background: #0e141d; border: 1px solid rgba(105, 210, 255, 0.4); box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  color: var(--text); animation: tipin 0.18s ease;
}
.tip-pop[hidden] { display: none; }
@keyframes tipin { from { opacity: 0; transform: translateY(4px); } }
.tip-h { font-weight: 700; font-size: 16px; margin: 0 22px 6px 0; color: var(--cyan); }
.tip-b { font-size: 14.5px; line-height: 1.5; color: #d5dce6; }
.tip-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; }
.tip-all { margin-top: 12px; background: none; border: 0; padding: 0; color: var(--amber); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tip-pop.sheet { left: 10px !important; right: 10px; bottom: 10px; top: auto !important; width: auto; padding: 18px 20px 18px; }
.gl-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px; border-radius: 999px;
  background: rgba(105, 210, 255, 0.1); border: 1px solid rgba(105, 210, 255, 0.45); color: var(--cyan); font-size: 12px; font-weight: 600;
}
.gl-btn b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); color: #04121a; font-size: 12px; }
.gl-btn:hover { background: rgba(105, 210, 255, 0.2); }
.glossary { position: fixed; inset: 0; z-index: 90; background: rgba(2, 4, 8, 0.72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.glossary[hidden] { display: none; }
.gl-panel { width: min(860px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #0b1018; border: 1px solid var(--line-strong); border-radius: 18px; padding: 24px 26px; }
.gl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gl-head h2 { margin: 6px 0 0; font-size: 28px; }
.gl-x { background: none; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); width: 38px; height: 38px; font-size: 22px; }
.gl-intro { color: #d5dce6; font-size: 15.5px; line-height: 1.55; margin: 14px 0 18px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 106, 26, 0.07); border: 1px solid rgba(255, 106, 26, 0.25); }
.gl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.gl-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
.gl-item b { color: var(--cyan); font-size: 15px; }
.gl-item p { margin: 4px 0 0; color: #c3ccd8; font-size: 14px; line-height: 1.5; }
.meter-cap { margin: -4px 0 4px; display: flex; align-items: center; flex-wrap: wrap; }
.verdict-row { display: flex; align-items: center; gap: 4px; }
.verdict-row .lab-verdict { flex: 1; margin: 0; }
.lab-verdict { line-height: 1.35; }
.block-tabs { align-items: center; }
.lab-row span:first-child, .pc-stat span:first-child, .bi-row span:first-child { display: inline-flex; align-items: center; }
@media (max-width: 760px) {
  .gl-btn span { display: none; }
  .gl-btn { padding: 4px; }
  .gl-list { grid-template-columns: 1fr; }
  .gl-panel { padding: 18px; }
  .tip { width: 20px; height: 20px; font-size: 12px; }
  .ex-head { flex-wrap: wrap; }
  .ex-btns { width: 100%; }
  .ex-btns .chip-btn { flex: 1; }
}
.lab-meter .mark::after { display: none; } .meter-cap { margin-top: 2px; }
.story { padding: 26px 22px 0; max-width: 1680px; margin: 0 auto; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.story-card { position: relative; padding: 18px 18px 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.story-card.hot { border-color: rgba(255, 106, 26, 0.5); background: linear-gradient(180deg, rgba(255,106,26,0.10), var(--panel)); }
.st-n { position: absolute; top: 14px; right: 16px; font-family: var(--mono); font-weight: 800; font-size: 34px; color: rgba(255,255,255,0.08); line-height: 1; }
.st-t { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: 0.04em; }
.story-card h3 { margin: 6px 0 6px; font-size: 18px; display: flex; align-items: center; }
.story-card p { margin: 0; color: #c3ccd8; font-size: 14px; line-height: 1.5; }
@media (max-width: 1180px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .story { padding: 22px 16px 0; } .story-grid { grid-template-columns: 1fr; gap: 10px; } }

/* ===== live viewers + chat ===== */
.watching { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: #ffd0d5; white-space: nowrap; }
.watching[hidden] { display: none; }
.watching i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1.4s steps(2) infinite; }
.watching b { font-weight: 800; color: #fff; }
.chat-open { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; border: 1px solid rgba(255,106,26,0.6); background: rgba(12,16,24,0.92); backdrop-filter: blur(10px); color: var(--text); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 24px rgba(255,106,26,0.25); }
.chat-open:hover { border-color: var(--orange); }
.co-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.co-n { font-weight: 500; color: var(--muted); font-size: 12px; }
.co-unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; display: grid; place-items: center; }
.co-unread[hidden] { display: none; }
.chat { position: fixed; right: 18px; bottom: 76px; z-index: 61; width: 370px; height: min(560px, calc(100vh - 150px)); display: flex; flex-direction: column; border-radius: 16px; background: rgba(10,14,21,0.96); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0,0,0,0.6); backdrop-filter: blur(14px); transform: translateY(16px) scale(0.98); opacity: 0; pointer-events: none; transition: transform 0.22s ease, opacity 0.22s ease; }
.chat.open { transform: none; opacity: 1; pointer-events: auto; }
.chat[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.chat-sub { margin-top: 3px; }
.chat-list { flex: 1; overflow-y: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.cmsg { font-size: 14px; line-height: 1.4; color: #dfe5ee; overflow-wrap: anywhere; }
.cmsg b { font-weight: 700; margin-right: 6px; }
.cmsg time { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-right: 6px; }
.cmsg span { display: block; }
.cmsg.mine { padding-left: 8px; border-left: 2px solid var(--orange); }
.cmsg.sys { font-size: 12.5px; color: var(--amber); background: rgba(255,181,71,0.08); border: 1px solid rgba(255,181,71,0.25); border-radius: 8px; padding: 7px 9px; }
.chat-form { display: flex; gap: 6px; padding: 10px 12px 6px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; padding: 10px 12px; font-size: 15px; font-family: var(--sans); }
.chat-form input:focus { outline: none; border-color: var(--orange); }
.chat-form button { background: var(--orange); color: #120600; border: 0; border-radius: 10px; padding: 0 16px; font-weight: 800; }
.chat-status { padding: 2px 14px 12px; }
@media (max-width: 760px) {
  .topbar .watching { display: none; }
  .chat-open { right: 12px; bottom: 12px; padding: 10px 14px; }
  .chat { left: 0; right: 0; bottom: 0; width: auto; height: 72vh; border-radius: 18px 18px 0 0; }
  .chat-form input { font-size: 16px; }
}
.evo-stage { position: relative; }
.evo-photos { position: absolute; left: 0; top: 0; width: 34%; max-width: 190px; aspect-ratio: 3 / 4; }
.evo-ph { position: absolute; inset: 0; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgba(0,0,0,0.5); opacity: 0; transform: scale(0.96) rotate(-2deg); transition: opacity 0.45s, transform 0.45s; pointer-events: none; background: #0b1018; }
.evo-ph.on { opacity: 1; transform: rotate(-2deg); pointer-events: auto; }
.evo-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evo-ph[data-ph="1"] img { object-position: 30% 30%; }
.evo-ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 10.5px; color: #e9eef6; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.evo-ph figcaption b { color: var(--orange); }
.evo-ph3 { text-decoration: none; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(255,106,26,0.25), #0b1018 70%); }
.ph3-in { padding: 12px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.ph3-in b { color: var(--orange); font-size: 16px; }
.ph3-in span { color: #c3ccd8; font-size: 11.5px; line-height: 1.4; }
@media (max-width: 760px) { .evo-photos { width: 38%; } .ph3-in span { font-size: 10px; } }
@media (max-width: 1100px) {
  .gl-btn span { display: none; }
  .gl-btn { padding: 4px; }
  .mission-tags .tag:nth-child(3) { display: none; }
  .clocks .utc { display: none; }
}
