/*! LSS-COPYRIGHT © 2026 Newmeth · 教具工坊 LSS Toolkit Studio
 * 保留所有权利 / All rights reserved. 非开源；授权见 /license.html
 * 不授权：复制、改写换皮、用作模型训练语料。 */
:root {
  --ink: #252120;
  --panel: rgba(255, 253, 251, .9);
  --line: rgba(72, 63, 59, .16);
  --cyan: #a13420;
  --orange: #a13420;
  --cream: #fffdfb;
  --muted: #77706c;
  --mono: "SFMono-Regular", Consolas, monospace;
  --body: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html, body { width: 100%; min-width: 320px; height: 100%; overflow: hidden; color-scheme: light; }
body { margin: 0; color: var(--ink); background: #f5f5f5; font-family: var(--body); }
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.v2-stage { position: relative; width: 100%; height: 100dvh; min-height: 36rem; overflow: hidden; border: 0; border-radius: 0; background: #f5f5f5; box-shadow: none; isolation: isolate; }
.v2-stage::before { display: none; }
#three-stage { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.stage-vignette { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: radial-gradient(circle at 54% 48%, transparent 32%, rgba(8, 8, 7, .2) 68%, rgba(3, 4, 4, .76) 110%), linear-gradient(180deg, rgba(4, 5, 5, .34), transparent 22%, transparent 69%, rgba(4, 4, 3, .6)); }
.stage-wordmark { position: absolute; z-index: 2; top: 24%; left: 55%; display: flex; align-items: baseline; pointer-events: none; opacity: .07; transform: translate(-50%, -50%); font: 800 clamp(5rem, 10.5vw, 11rem)/.82 "Avenir Next", "PingFang SC", sans-serif; letter-spacing: -.09em; white-space: nowrap; user-select: none; }
.stage-wordmark__new { color: #a13420; }
.stage-wordmark__meth { color: #34302d; }

.v2-topbar { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 3.6rem; padding: .48rem 1rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(3, 10, 14, .82), rgba(3, 10, 14, .36)); backdrop-filter: blur(18px); }
.v2-brand { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; color: var(--muted); text-decoration: none; font-size: .68rem; }
.v2-brand span { padding-right: .6rem; border-right: 1px solid var(--line); }
.v2-brand strong { color: var(--cream); }
.flow-progress { display: flex; align-items: center; gap: .55rem; }
.flow-progress button { display: flex; align-items: center; gap: .38rem; padding: .32rem .42rem; color: #70878d; border: 0; background: transparent; cursor: pointer; }
.flow-progress button span { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 1px solid currentColor; border-radius: 50%; font: 700 .55rem/1 var(--mono); }
.flow-progress button strong { font-size: .68rem; white-space: nowrap; }
.flow-progress button.is-active { color: var(--cream); }
.flow-progress button.is-active span { color: #071016; border-color: var(--orange); background: var(--orange); box-shadow: 0 0 18px rgba(255, 155, 81, .32); }
.flow-progress i { width: 2.4rem; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.24), rgba(255,255,255,.05)); }
.v2-topbar__actions { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; }
.icon-button { display: inline-grid; place-items: center; color: var(--cream); border: 1px solid var(--line); background: rgba(7, 16, 22, .62); backdrop-filter: blur(14px); cursor: pointer; }
.fullscreen-button { grid-template-columns: 1.1rem auto; gap: .35rem; min-height: 2.55rem; padding: .4rem .68rem; border-radius: 999px; font-size: .64rem; }
.fullscreen-button svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.fullscreen-button.is-active { color: var(--cyan); border-color: rgba(91, 218, 241, .45); }
.sound-button { grid-template-columns: auto auto; gap: .3rem; min-height: 2.55rem; padding: .4rem .62rem; border-radius: 999px; font-size: .61rem; }
.sound-button span { color: var(--orange); font: 800 .68rem/1 var(--mono); }
.sound-button b { font-weight: 650; }
.sound-button.is-muted { color: var(--muted); opacity: .72; }
.sound-button.is-muted span { color: var(--muted); }
.help-button { position: absolute; z-index: 15; top: 4.55rem; left: 1rem; width: 2.55rem; height: 2.55rem; border-radius: 50%; color: var(--cyan); font: 700 1rem/1 var(--mono); }

.mission-hud { position: absolute; z-index: 4; top: 8.1rem; left: clamp(1rem, 4vw, 4.5rem); width: min(29rem, calc(100vw - 2rem)); pointer-events: none; text-shadow: 0 3px 16px rgba(0,0,0,.65); }
.mission-hud > p:first-child { display: flex; align-items: center; gap: .55rem; margin: 0; color: var(--cyan); font: 700 .6rem/1 var(--mono); letter-spacing: .12em; }
.mission-hud > p:first-child i { width: 1.7rem; height: 1px; background: currentColor; }
.mission-hud h1 { max-width: 27rem; margin: .65rem 0 .7rem; font-size: clamp(2.4rem, 4.7vw, 5rem); line-height: .92; letter-spacing: -.055em; }
.mission-hud h1 > span:not(.sv2-clause) { color: var(--orange); }
.mission-hud > p:last-child { max-width: 26rem; margin: 0; color: #bed0d4; font-size: .78rem; line-height: 1.65; }

.metrics-hud { position: absolute; z-index: 4; top: 5rem; right: 1rem; overflow: hidden; border: 1px solid var(--line); border-radius: .55rem; background: rgba(4, 12, 17, .55); backdrop-filter: blur(12px); }
.metrics-current { display: grid; grid-template-columns: repeat(3, minmax(4.4rem, 1fr)); }
.metrics-hud .metric { min-width: 5.1rem; padding: .58rem .65rem; border-left: 1px solid var(--line); }
.metrics-hud .metric:first-child { border-left: 0; }
.metrics-hud small { display: block; margin-bottom: .25rem; color: var(--muted); font: 650 .5rem/1 var(--mono); letter-spacing: .1em; }
.metrics-hud strong { color: var(--cyan); font: 800 1.05rem/1 var(--mono); }
.metrics-hud em { margin-left: .15rem; color: var(--muted); font: normal .5rem/1 var(--mono); }
.metrics-recent { display: flex; align-items: center; justify-content: center; min-height: 2rem; padding: .4rem .65rem; border-top: 1px solid var(--line); color: var(--muted); font: 600 .52rem/1 var(--mono); }
.metrics-recent[hidden] { display: none; }
.metrics-recent__item { min-width: 0; text-align: center; white-space: nowrap; }
.metrics-recent__item + .metrics-recent__item { margin-left: 11px; padding-left: 11px; border-left: 1px solid var(--line); }

.factor-hud { position: absolute; z-index: 5; left: clamp(1rem, 3vw, 3.6rem); bottom: 4.9rem; display: grid; grid-template-columns: 9.2rem 10.2rem 9rem minmax(14rem, 18rem); gap: .55rem; padding: .65rem; border: 1px solid var(--line); border-radius: .85rem; background: rgba(13, 15, 14, .75); backdrop-filter: blur(16px); }
.factor-hud fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.factor-hud legend, .angle-slider label { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: .5rem; color: #d0dcdf; font-size: .61rem; font-weight: 700; letter-spacing: .025em; }
.hud-segments { display: grid; grid-template-columns: 1fr 1fr; padding: .18rem; border: 1px solid var(--line); border-radius: .45rem; background: rgba(0,0,0,.28); }
.hud-segments--three { grid-template-columns: repeat(3, 1fr); }
.hud-segments input { position: absolute; opacity: 0; }
.hud-segments label { padding: .46rem .36rem; color: var(--muted); border-radius: .3rem; cursor: pointer; text-align: center; font-size: .64rem; white-space: nowrap; transition: color .16s ease, background-color .16s ease; }
.hud-segments label:hover { color: var(--cream); background: rgba(255, 255, 255, .055); }
.hud-segments input:checked + label { color: #0b1113; background: var(--cream); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset; font-weight: 800; }
.angle-slider { min-width: 0; }
.angle-slider label span { display: inline-flex; align-items: center; }
.angle-slider output { color: var(--orange); font: 800 .72rem/1 var(--mono); }
.angle-slider input { display: block; width: 100%; height: .8rem; margin: 0; accent-color: var(--orange); cursor: ew-resize; }
.angle-slider > div { display: flex; justify-content: space-between; gap: .5rem; color: #7d9399; font: 500 .48rem/1 var(--mono); }
.angle-slider > div small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.launch-button { position: absolute; z-index: 7; right: 2rem; bottom: 4.8rem; display: flex; align-items: center; gap: .7rem; min-width: 9.5rem; min-height: 4rem; padding: .55rem 1.1rem .55rem .65rem; color: #1b0e04; border: 1px solid #ffd0aa; border-radius: 999px; background: linear-gradient(135deg, #ffc08d, var(--orange)); box-shadow: 0 12px 34px rgba(255, 127, 47, .28), inset 0 1px rgba(255,255,255,.55); cursor: pointer; }
.launch-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(255, 127, 47, .38), inset 0 1px rgba(255,255,255,.55); }
.launch-button:disabled { cursor: not-allowed; filter: grayscale(.75); opacity: .48; }
.launch-button__pulse { position: absolute; inset: -6px; border: 1px solid rgba(255, 171, 102, .45); border-radius: inherit; animation: launch-pulse 2.2s ease-out infinite; }
.launch-button__icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: rgba(51, 23, 5, .12); font: 900 1.25rem/1 var(--mono); }
.launch-button > span:last-child { display: grid; text-align: left; }
.launch-button strong { font-size: 1rem; }
.launch-button small { margin-top: .15rem; font: 700 .5rem/1 var(--mono); letter-spacing: .14em; }
@keyframes launch-pulse { 0% { opacity: .65; transform: scale(.96); } 65%, 100% { opacity: 0; transform: scale(1.13); } }

.impact-result { position: absolute; z-index: 4; left: 50%; bottom: 9.6rem; width: min(28rem, 80vw); padding: .4rem .75rem; color: #c6d8dc; border: 0; background: transparent; transform: translateX(-50%); text-align: center; text-shadow: 0 2px 12px #000; font-size: .68rem; }
.impact-result.is-hit { color: var(--cream); animation: result-in 420ms cubic-bezier(.2,.8,.2,1); }
@keyframes result-in { from { opacity: 0; transform: translate(-50%, .6rem) scale(.96); } }
.drawer-handle { --island-surface: rgba(4, 12, 17, .88); position: absolute; z-index: 21; top: 4.56rem; left: 50%; bottom: auto; display: flex; align-items: center; justify-content: center; gap: .35rem; width: 12.5rem; height: 2.75rem; box-sizing: border-box; padding: 0 .75rem; color: #bacbd0; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 1.25rem 1.25rem; background: var(--island-surface); box-shadow: 0 .6rem 1.7rem rgba(0,0,0,.18); backdrop-filter: blur(15px); cursor: pointer; transform: translateX(-50%); transform-origin: 50% 0; transition: transform 360ms cubic-bezier(.2,.9,.2,1.25), background-color 180ms ease, box-shadow 180ms ease; font-size: .62rem; }
.drawer-handle::before, .drawer-handle::after { content: ""; position: absolute; top: 0; width: 14px; height: 24px; pointer-events: none; background: var(--island-surface); -webkit-mask-image: none; mask-image: none; }
.drawer-handle::before { right: calc(100% - 1px); -webkit-clip-path: path("M 0 0 H 14 V 24 C 14 10.745 7.732 0 0 0 Z"); clip-path: path("M 0 0 H 14 V 24 C 14 10.745 7.732 0 0 0 Z"); }
.drawer-handle::after { left: calc(100% - 1px); -webkit-clip-path: path("M 14 0 H 0 V 24 C 0 10.745 6.268 0 14 0 Z"); clip-path: path("M 14 0 H 0 V 24 C 0 10.745 6.268 0 14 0 Z"); }
.drawer-handle:is(:hover, :focus-visible, .is-hovering) { --island-surface: rgba(4, 12, 17, .96); transform: translateX(-50%) scale(1.025, 1.07); box-shadow: 0 .9rem 2rem rgba(0,0,0,.24); }
.drawer-handle i { width: 1px; height: .8rem; background: var(--line); }
.drawer-handle span { color: var(--cyan); font: 800 .72rem/1 var(--mono); }
.drawer-handle b { color: var(--orange); }
.stage-credit { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; color: rgba(191, 213, 218, .43); font: 600 .48rem/1 var(--mono); letter-spacing: .12em; }

.doe-panel { position: absolute; z-index: 30; top: 5rem; right: 1rem; width: min(24rem, calc(100vw - 2rem)); overflow: hidden; border: 1px solid rgba(91, 218, 241, .35); border-radius: .85rem; background: rgba(4, 13, 18, .93); box-shadow: 0 28px 70px rgba(0, 0, 0, .48); backdrop-filter: blur(22px); }
.doe-panel > header, .data-drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.doe-panel header small, .data-drawer__head small, .analysis-guide-card > small { color: var(--cyan); font: 700 .55rem/1 var(--mono); letter-spacing: .12em; }
.doe-panel h2, .data-drawer__head h2 { margin: .38rem 0 0; font-size: 1rem; }
.doe-panel header button, .data-drawer__head button, .help-overlay > button { width: 2rem; height: 2rem; color: var(--muted); border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.doe-panel__body { padding: 1rem; }
.doe-plan-label { display: grid; gap: .4rem; margin-bottom: .75rem; color: var(--muted); font-size: .62rem; }
.doe-plan-label select { width: 100%; padding: .58rem .62rem; color: var(--cream); border: 1px solid var(--line); border-radius: .4rem; background: #161a19; font: 650 .66rem/1.3 var(--body); }
.doe-panel__body > p { margin: 0 0 .8rem; color: #a8bbc0; font-size: .68rem; line-height: 1.55; }
.doe-next { display: grid; gap: .35rem; padding: .75rem; border-left: 3px solid var(--orange); background: rgba(255, 155, 81, .07); }
.doe-next span { color: var(--orange); font: 700 .5rem/1 var(--mono); letter-spacing: .1em; }
.doe-next strong { font-size: .82rem; }
.doe-next small { color: var(--muted); font: 500 .55rem/1 var(--mono); }
.doe-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.doe-actions button { padding: .55rem .7rem; color: var(--cream); border: 1px solid #40555d; border-radius: .4rem; background: #17262c; cursor: pointer; font-size: .65rem; }
.doe-actions button:first-child, .doe-actions button:nth-child(2) { color: #201005; border-color: #ffc18f; background: var(--orange); font-weight: 800; }
.doe-lock { padding: .5rem .6rem; border: 1px solid var(--line); border-radius: .35rem; font: 650 .58rem/1.4 var(--mono); }
.doe-lock.is-locked { color: #ffc49e; border-color: rgba(255, 155, 81, .35); }
.doe-lock.is-ready { color: var(--cyan); border-color: rgba(91, 218, 241, .35); }
.doe-runs { display: grid; grid-template-columns: repeat(8, 1fr); gap: .3rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.doe-runs li { display: grid; place-items: center; aspect-ratio: 1; color: #60777e; border: 1px solid var(--line); border-radius: .25rem; font: 650 .5rem/1 var(--mono); }
.doe-runs li.is-current { color: #170b02; border-color: var(--orange); background: var(--orange); box-shadow: 0 0 15px rgba(255,155,81,.28); }
.doe-runs li.is-done { color: #062128; border-color: var(--cyan); background: var(--cyan); }

.help-overlay { position: absolute; z-index: 35; inset: 4.5rem auto auto 1rem; width: min(43rem, calc(100vw - 2rem)); max-height: calc(100dvh - 6rem); overflow: auto; padding: 1.4rem; color: var(--cream); border: 1px solid rgba(255,155,81,.45); border-left: 4px solid var(--orange); border-radius: .9rem; background: rgba(6, 14, 19, .96); box-shadow: 0 30px 80px rgba(0,0,0,.55); backdrop-filter: blur(24px); }
.help-overlay > button { position: absolute; top: .8rem; right: .8rem; }
.help-overlay > p { margin: 0; color: var(--orange); font: 700 .55rem/1 var(--mono); letter-spacing: .12em; }
.help-overlay h2 { margin: .55rem 0 1.2rem; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.help-grid article { padding: .9rem; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.help-grid span { color: var(--cyan); font: 700 .58rem/1 var(--mono); }
.help-grid h3 { margin: .5rem 0; font-size: .8rem; }
.help-grid p { margin: 0; color: #a9bcc1; font-size: .68rem; line-height: 1.55; }
.help-overlay aside { margin-top: .8rem; padding: .75rem; color: #b9cbd0; border-left: 2px solid var(--cyan); background: rgba(91,218,241,.05); font-size: .68rem; }
.help-overlay aside strong { margin-right: .7rem; color: var(--cyan); }

.data-drawer {
  --data-island-scale-x: .16; --data-island-scale-y: .055;
  position: absolute; z-index: 40; top: 4.56rem; left: 50%; right: auto; bottom: auto;
  width: min(calc(100% - 2rem), 90rem); height: min(calc(100dvh - 5.56rem), 52rem); box-sizing: border-box; overflow: visible;
  color: var(--cream); border: 1px solid rgba(91, 218, 241, .38); border-top: 0; border-radius: 0 0 1.65rem 1.65rem;
  background: rgba(5, 13, 18, .985); box-shadow: 0 24px 70px rgba(0,0,0,.42); backdrop-filter: none;
  transform: translateX(-50%) scale(var(--data-island-scale-x), var(--data-island-scale-y)); transform-origin: 50% 0;
  opacity: 0; pointer-events: none; visibility: hidden; contain: layout style; isolation: isolate; will-change: transform, opacity;
  transition: transform 440ms cubic-bezier(.2,.78,.18,1), opacity 80ms ease, border-radius 300ms ease, visibility 0s linear 440ms;
}
.data-drawer::before, .data-drawer::after { content: ""; position: absolute; z-index: 8; top: 0; width: 14px; height: 24px; pointer-events: none; background: rgba(5, 13, 18, .985); -webkit-mask-image: none; mask-image: none; }
.data-drawer::before { right: calc(100% - 1px); -webkit-clip-path: path("M 0 0 H 14 V 24 C 14 10.745 7.732 0 0 0 Z"); clip-path: path("M 0 0 H 14 V 24 C 14 10.745 7.732 0 0 0 Z"); }
.data-drawer::after { left: calc(100% - 1px); -webkit-clip-path: path("M 14 0 H 0 V 24 C 0 10.745 6.268 0 14 0 Z"); clip-path: path("M 14 0 H 0 V 24 C 0 10.745 6.268 0 14 0 Z"); }
.data-drawer.is-open { transform: translateX(-50%) scale(1); opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.data-drawer__head, .data-tabs, .data-panels { opacity: 0; visibility: hidden; transform: translateY(-.45rem); transition: opacity 170ms ease, transform 230ms cubic-bezier(.2,.8,.2,1), visibility 0s linear 230ms; }
.data-drawer.is-open.is-settled .data-drawer__head, .data-drawer.is-open.is-settled .data-tabs, .data-drawer.is-open.is-settled .data-panels { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.data-drawer__head { position: relative; z-index: 5; align-items: center; padding: 1.2rem 1.4rem 1rem; background: rgba(5, 13, 18, .985); backdrop-filter: none; }
.data-drawer__head h2 { margin-top: .32rem; font-size: 1.35rem; }
.data-drawer__head p { margin: .35rem 0 0; color: var(--muted); font-size: .7rem; }
.data-tabs { display: flex; gap: 1.4rem; padding: 0 1.4rem; border-bottom: 1px solid var(--line); }
.data-tabs button { position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.8rem; padding: 0 .1rem; color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: .75rem; font-weight: 700; }
.data-tabs button span { font: 800 .55rem/1 var(--mono); opacity: .7; }
.data-tabs button[aria-selected="true"] { color: var(--orange); }
.data-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 999px 999px 0 0; background: var(--orange); }
.data-tabs button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: .3rem; }
.data-panels { height: calc(100% - 8.6rem); overflow: auto; }
.data-panel { max-width: 90rem; margin: 0 auto; padding: 1.1rem 1.4rem 2rem; }
.data-panel[hidden] { display: none; }
.data-panel--overview { display: grid; gap: 1rem; }
.data-drawer__ghost { margin: 0; padding: 0; }
#collector, .analysis-guide-card { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(6,16,21,.72); }
.analysis-guide-card h3 { margin: .5rem 0 .9rem; }
.analysis-guide-card ol { margin: 0; padding-left: 1.2rem; color: #a9bcc1; font-size: .69rem; line-height: 1.6; }
.analysis-guide-card li + li { margin-top: .55rem; }
.analysis-guide-card li::marker { color: var(--orange); font-family: var(--mono); font-weight: 800; }

.impact-label { position: absolute; z-index: 8; display: none; min-width: 7.5rem; padding: .45rem .6rem; color: #071016; border-radius: .35rem; background: var(--cream); box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: translate(-50%, -120%); text-align: center; }
.impact-label.is-visible { display: grid; animation: impact-pop 1100ms cubic-bezier(.17,.84,.44,1); }
.impact-label small { font: 800 .45rem/1 var(--mono); letter-spacing: .1em; }
.impact-label strong { margin-top: .25rem; font: 900 .85rem/1 var(--mono); }
@keyframes impact-pop { 0% { opacity: 0; transform: translate(-50%, -80%) scale(.75); } 20%, 75% { opacity: 1; transform: translate(-50%, -125%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -150%) scale(.96); } }

@media (max-width: 1180px) {
  .factor-hud { right: 11.5rem; grid-template-columns: repeat(3, 1fr); left: 1rem; }
  .angle-slider { grid-column: 1 / -1; }
  .launch-button { left: auto; right: 1rem; transform: none; }
  .launch-button:hover:not(:disabled) { transform: translateY(-2px); }
  .impact-result { left: auto; right: 1rem; width: 16rem; transform: none; text-align: right; }
}

@media (max-width: 820px) {
  .v2-topbar { grid-template-columns: 1fr auto; }
  .flow-progress { position: absolute; top: 3.6rem; left: 0; right: 0; justify-content: center; padding: .35rem; border-bottom: 1px solid var(--line); background: rgba(4,12,17,.55); }
  .flow-progress i { width: 1.2rem; }
  .v2-brand strong, .fullscreen-button span { display: none; }
  .fullscreen-button { grid-template-columns: 1fr; width: 2.55rem; padding: .4rem; }
  .help-button { top: 7.2rem; }
  .mission-hud { top: 9rem; }
  .mission-hud h1 { max-width: 18rem; font-size: 2.8rem; }
  .metrics-hud { top: 7.2rem; }
  .factor-hud { right: 1rem; bottom: 4.8rem; grid-template-columns: repeat(3, 1fr); }
  .angle-slider { grid-column: 1 / -1; }
  .launch-button { bottom: 12.6rem; }
  .impact-result { bottom: 16.8rem; }
  .data-drawer__content { grid-template-columns: 1fr; }
  .data-drawer { top: 6.35rem; }
  .data-drawer.is-open { height: calc(100dvh - 6.35rem); }
}

@media (max-width: 620px) {
  .v2-stage { min-height: 34rem; }
  .v2-topbar { padding-inline: .55rem; }
  .v2-brand { font-size: .62rem; }
  .sound-button b { display: none; }
  .sound-button { grid-template-columns: 1fr; width: 2.55rem; padding: .4rem; }
  .sv2-profile__chip { padding-right: .35rem; }
  .sv2-profile__chip > span:last-child { display: none; }
  .flow-progress button strong { font-size: .58rem; }
  .mission-hud { top: 8.8rem; left: .8rem; }
  .mission-hud h1 { width: 12rem; font-size: 2.25rem; }
  .mission-hud > p:last-child { width: 13rem; font-size: .66rem; }
  .metrics-hud { top: 7rem; right: .55rem; }
  .metrics-current { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metrics-hud .metric { min-width: 0; padding: .4rem .5rem; }
  .factor-hud { left: .55rem; right: .55rem; bottom: 4.55rem; grid-template-columns: repeat(3, 1fr); }
  .angle-slider { grid-column: 1 / -1; grid-row: 1; }
  .hud-segments label { padding-inline: .2rem; font-size: .58rem; }
  .launch-button { right: .55rem; bottom: 13.8rem; min-width: 8rem; min-height: 3.35rem; }
  .launch-button__icon { width: 2.25rem; height: 2.25rem; }
  /* ⚠ 抬高到 19.5rem：DOE 模式下点火按钮的文案更长、按钮更宽（实测 390px 下从 129px 变 129→
     x 75–204），会压住这行状态。清干净 localStorage 时测不出来 —— 必须按真实的 DOE 模式量。 */
  .impact-result { right: .4rem; bottom: 19.5rem; width: 12rem; font-size: .58rem; }
  .drawer-handle { white-space: nowrap; }
  .stage-credit { display: none; }
  .help-grid { grid-template-columns: 1fr; }
  .data-drawer { top: 6.35rem; width: 13.125rem; }
  .data-drawer.is-open { width: calc(100% - 1rem); height: calc(100dvh - 6.35rem); }
}

@media (prefers-reduced-motion: reduce) {
  .launch-button__pulse { display: none; }
  .drawer-handle { transition: none; }
  .data-drawer { transition: none; }
  .impact-label.is-visible, .impact-result.is-hit { animation: none; }
}

/* 中文字形的墨水高度几乎撑满 em 框，行高 < 1 必然上下行压字（实测大厅 24.3px、旗舰页 .85 档最狠）。西文显示体收到 .85 好看，中文不行。 */
.mission-hud h1 { line-height: 1.02; }

/* 英文标签比中文高一行，定高胶囊里的字会溢出（实测内容 80px、容器 69px）。
   让它按内容长高；min-height 仍保底。 */
.launch-button { height: auto; align-items: center; }
.launch-button > span:last-child { display: grid; line-height: 1.2; }

/* 仰角步进：滑轨在触屏 / 投影仪场景下很难精确落到 5° 档；
   学员要"照运行表把仰角调到 30°"时，确定性比手感重要。 */
.angle-steps { display: inline-flex; gap: .25rem; margin-left: .45rem; vertical-align: middle; }
.angle-steps button { width: 1.55rem; height: 1.55rem; color: var(--sv2-cream, #edf5f2);
  border: 1px solid rgba(178, 211, 220, .28); border-radius: 50%; background: rgba(6, 14, 19, .6);
  font: 700 .85rem/1 var(--sv2-mono, monospace); cursor: pointer;
  transition: border-color .16s ease, color .16s ease, transform .16s ease; }
.angle-steps button:hover { color: #ffd166; border-color: rgba(255, 155, 81, .6); transform: translateY(-1px); }
.angle-steps button:active { transform: translateY(0); }
.angle-steps button:focus-visible { outline: 2px solid var(--sv2-cyan, #5bdaf1); outline-offset: 2px; }
/* 滑轨命中区加大：原来只有轨道本身可点，触屏上很容易点空 */
#v2-angle { padding: .45rem 0; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .angle-steps button { transition: none; } }
