:root {
  --bg: #05090b;
  --bg-deep: #020405;
  --panel: rgba(10, 18, 22, .72);
  --ice: #d9f4fb;
  --cyan: #8fc8d6;
  --cyan-dim: #416c77;
  --muted: #728188;
  --line: rgba(151, 201, 214, .16);
  --line-strong: rgba(176, 225, 237, .34);
  --signal: #ff633f;
  --signal-soft: rgba(255, 99, 63, .18);
  --content: min(100vw - 56px, 1680px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ice);
  background:
    radial-gradient(circle at 72% 48%, rgba(60, 124, 140, .11), transparent 28%),
    linear-gradient(120deg, #05090b 0%, #071015 56%, #030708 100%);
  font-family: "Bahnschrift", "DIN Alternate", "Microsoft YaHei UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(173, 196, 199, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 196, 199, .05) 1px, transparent 1px),
    linear-gradient(rgba(255, 66, 45, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 165, 210, .022) 1px, transparent 1px);
  background-size: 116px 116px, 116px 116px, 116px 116px, 116px 116px;
  background-position: 0 0, 0 0, 1px 0, -1px 0;
  mask-image: radial-gradient(ellipse at 62% 53%, #000 8%, rgba(0,0,0,.82) 58%, transparent 93%);
  transform: perspective(980px) rotateX(54deg) rotateZ(-7deg) scale(1.48);
  transform-origin: 62% 56%;
  animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift { to { background-position: 116px 58px, 58px 116px, 117px 58px, 57px 116px; } }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, canvas:focus-visible, input:focus-visible { outline: 1px solid var(--signal); outline-offset: 4px; }
.noise {
  position: fixed;
  inset: -4%;
  z-index: 20;
  pointer-events: none;
  opacity: .066;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.94'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  animation: noiseShift .22s steps(2, end) infinite;
}
.noise::before,
.noise::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.noise::before {
  opacity: .42;
  background:
    radial-gradient(circle, rgba(211,230,233,.9) 0 .45px, transparent .7px) 0 0 / 5px 5px,
    radial-gradient(circle, rgba(255,92,62,.42) 0 .4px, transparent .65px) 1px 0 / 7px 7px,
    radial-gradient(circle, rgba(45,172,217,.4) 0 .4px, transparent .65px) -1px 0 / 9px 9px;
}
.noise::after {
  opacity: .14;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(214,231,234,.14) 4px);
}
@keyframes noiseShift {
  0% { transform: translate3d(-1.2%, -.8%, 0); }
  25% { transform: translate3d(.8%, -1.1%, 0); }
  50% { transform: translate3d(-.5%, 1%, 0); }
  75% { transform: translate3d(1.1%, .45%, 0); }
  100% { transform: translate3d(-.8%, -.35%, 0); }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: fixed;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  height: 76px;
  padding: 0 max(28px, calc((100vw - 1680px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 9, 11, .72);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
  width: fit-content;
}
.brand-mark {
  position: relative;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(124, 191, 207, .045);
}
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; position: absolute; border-radius: 50%; }
.brand-mark::before { inset: 7px; border: 1px solid var(--cyan); }
.brand-mark::after { width: 4px; height: 4px; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.brand-mark i { width: 1px; height: 39px; background: linear-gradient(transparent, var(--cyan-dim), transparent); transform: rotate(38deg); }
.brand > span:last-child { display: grid; gap: 2px; }
.brand b { font-size: 12px; letter-spacing: .18em; }
.brand small { color: var(--muted); font-size: 7px; letter-spacing: .26em; }
.top-status { display: flex; align-items: center; gap: 28px; color: #6f8189; font-size: 8px; letter-spacing: .18em; }
.top-status span:first-child { color: #a9c3ca; }
.top-status i { width: 5px; height: 5px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #6fffa7; box-shadow: 0 0 9px rgba(111,255,167,.7); }
.icon-button {
  justify-self: end;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.sound-bars { height: 13px; display: flex; align-items: center; gap: 2px; }
.sound-bars i { width: 1px; height: 4px; background: var(--cyan); animation: sound 1.1s ease-in-out infinite alternate; animation-play-state: paused; }
.sound-bars i:nth-child(2) { height: 9px; animation-delay: -.2s; }
.sound-bars i:nth-child(3) { height: 13px; animation-delay: -.4s; }
.sound-bars i:nth-child(4) { height: 7px; animation-delay: -.6s; }
.icon-button[aria-pressed="true"] .sound-bars i { animation-play-state: running; }
@keyframes sound { to { transform: scaleY(.25); opacity: .45; } }

.hero {
  position: relative;
  width: var(--content);
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  padding: 114px 0 72px;
  display: grid;
  grid-template-columns: minmax(330px, 0.83fr) minmax(560px, 1.5fr) minmax(196px, .42fr);
  align-items: center;
  gap: clamp(18px, 2vw, 38px);
}
.hero-copy { position: relative; z-index: 4; padding-left: clamp(0px, 2.5vw, 42px); }
.eyebrow { margin: 0 0 28px; display: flex; align-items: center; gap: 12px; color: var(--cyan); font-size: 8px; letter-spacing: .2em; }
.eyebrow i { width: 32px; height: 1px; background: var(--signal); }
.eyebrow b { color: #65767d; font-weight: 400; }
h1 { margin: 0; font-size: clamp(54px, 5.5vw, 92px); font-weight: 300; line-height: .98; letter-spacing: -.065em; }
h1 em { color: transparent; font-style: normal; background: linear-gradient(100deg, #eef8fa 0%, #87aab2 48%, #d7e8ec 84%); background-clip: text; -webkit-background-clip: text; }
.lede { max-width: 420px; margin: 30px 0 0; color: #8c9ba0; font-size: 13px; line-height: 2; letter-spacing: .045em; }
.spec-row { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-row > div { min-width: 0; padding: 15px 14px 16px 0; border-right: 1px solid var(--line); }
.spec-row > div + div { padding-left: 16px; }
.spec-row > div:last-child { border-right: 0; }
.spec-row small { display: block; margin-bottom: 7px; color: #566970; font-size: 8px; letter-spacing: .12em; }
.spec-row strong { font-size: 20px; font-weight: 400; letter-spacing: .02em; }
.spec-row sup { margin-left: 3px; color: var(--muted); font-size: 7px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 26px; }
.primary-action {
  min-width: 218px;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid rgba(255, 99, 63, .62);
  background: linear-gradient(90deg, rgba(255,99,63,.13), rgba(255,99,63,.02));
  text-align: left;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.primary-action:hover { transform: translateY(-2px); border-color: var(--signal); background: rgba(255,99,63,.16); }
.primary-action > span:nth-child(2) { display: grid; gap: 3px; }
.primary-action b { font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.primary-action small { color: #8b6a62; font-size: 7px; letter-spacing: .16em; }
.action-icon { position: relative; width: 26px; height: 26px; display: block; }
.action-icon i { position: absolute; inset: 4px; border: 1px solid var(--signal); border-radius: 50%; transition: transform .6s var(--ease); }
.action-icon i:nth-child(2) { transform: scale(.66); }
.action-icon i:nth-child(3) { transform: scale(.32); background: var(--signal); }
.primary-action[aria-pressed="true"] .action-icon i:first-child { transform: translateX(-6px); }
.primary-action[aria-pressed="true"] .action-icon i:nth-child(3) { transform: translateX(6px) scale(.32); }
.text-action { padding: 12px 0; display: flex; gap: 18px; border: 0; border-bottom: 1px solid #3a4b51; color: #8fa0a6; background: transparent; font-size: 10px; letter-spacing: .12em; cursor: pointer; }
.text-action i { color: var(--signal); font-style: normal; transition: transform .25s ease; }
.text-action:hover i { transform: translate(3px, -3px); }

.stage-shell {
  position: relative;
  z-index: 2;
  min-width: 0;
  height: min(82vh, 900px);
  min-height: 650px;
  isolation: isolate;
}
.stage-shell::before {
  content: "";
  position: absolute;
  inset: 8% 2%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 135, 151, .13), rgba(14,32,37,.035) 48%, transparent 69%);
  filter: blur(10px);
}
#ring-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
#ring-canvas:active { cursor: grabbing; }
.canvas-fallback { position: absolute; inset: 20%; place-content: center; gap: 10px; border: 1px solid var(--line); color: var(--muted); text-align: center; }
.canvas-fallback:not([hidden]) { display: grid; }
.canvas-fallback strong { color: var(--ice); font-size: 14px; }
.canvas-fallback span { font-size: 11px; }
.instrument-rings { position: absolute; z-index: -1; inset: 9%; pointer-events: none; opacity: .55; }
.instrument-rings i { position: absolute; inset: 0; border: 1px solid rgba(138, 194, 208, .11); border-radius: 50%; }
.instrument-rings i:nth-child(2) { inset: 8%; border-style: dashed; animation: orbit 34s linear infinite; }
.instrument-rings i:nth-child(3) { inset: 18%; border-color: rgba(255, 99, 63, .1); border-style: dotted; animation: orbit 22s linear infinite reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }
.axis-readout { position: absolute; top: 11%; left: 6%; display: flex; gap: 10px; color: #50636a; font-size: 7px; letter-spacing: .08em; }
.axis-readout span { padding: 5px 7px; border: 1px solid rgba(137,190,204,.1); }
.axis-readout b { color: #879ba2; font-weight: 400; }
.stage-hint { position: absolute; right: 50%; bottom: 5%; transform: translateX(50%); display: flex; align-items: center; gap: 11px; color: #5d7077; font-size: 8px; letter-spacing: .13em; white-space: nowrap; }
.stage-hint > span { color: var(--signal); font-size: 13px; }
.stage-hint i { width: 2px; height: 2px; border-radius: 50%; background: #53656c; }
.stage-corner { position: absolute; width: 44px; height: 44px; pointer-events: none; }
.stage-corner-a { top: 9%; right: 2%; border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
.stage-corner-b { bottom: 9%; left: 2%; border-bottom: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.focus-label { position: absolute; display: flex; align-items: center; color: #7f9197; font-size: 8px; letter-spacing: .12em; opacity: 0; transition: opacity .45s ease, transform .45s var(--ease); pointer-events: none; }
.focus-label span { color: var(--signal); }
.focus-label i { width: 70px; height: 1px; margin: 0 9px; background: linear-gradient(90deg, var(--signal), rgba(255,99,63,.1)); }
.focus-label p { margin: 0; display: grid; gap: 3px; }
.focus-label b { color: #b7ccd2; font-size: 8px; font-weight: 500; }
.focus-label small { color: #4f6269; font-size: 6px; }
.focus-label-sensor { right: 4%; bottom: 29%; transform: translateX(8px); }
.focus-label-shell { top: 28%; left: 0; flex-direction: row-reverse; transform: translateX(-8px); }
.focus-label-shell i { background: linear-gradient(90deg, rgba(255,99,63,.1), var(--signal)); }
.stage-shell.is-exploded .focus-label { opacity: 1; transform: translateX(0); }
.telemetry-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; font-family: "Consolas", "Lucida Console", monospace; }
.telemetry-layer span {
  position: absolute;
  padding: 3px 5px;
  color: rgba(213, 150, 52, .48);
  font-size: 6px;
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
  text-shadow: -1px 0 rgba(255, 60, 41, .28), 1px 0 rgba(51, 213, 255, .26);
  opacity: .3;
  transition: opacity .6s ease, transform .8s var(--ease);
}
.telemetry-layer span::before { content: ""; width: 4px; height: 4px; display: inline-block; margin-right: 5px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.telemetry-a { top: 18%; left: 36%; }
.telemetry-b { top: 31%; right: 8%; }
.telemetry-c { right: 15%; bottom: 29%; }
.telemetry-d { bottom: 18%; left: 29%; }
.telemetry-e { top: 43%; left: 7%; }
.telemetry-f { top: 12%; right: 28%; }
.telemetry-g { right: 6%; bottom: 13%; color: rgba(120, 202, 220, .44) !important; }
.stage-shell.is-exploded .telemetry-layer span { opacity: .9; transform: translateY(-3px); }
.stage-shell.is-isolating .telemetry-layer { opacity: .34; }
.stage-shell.is-isolating .focus-label { opacity: .32; }
.telemetry-layer span:nth-child(2n) { animation: telemetryBlink 3.6s steps(1) infinite; }
@keyframes telemetryBlink { 0%, 86%, 100% { filter: brightness(1); } 87%, 89% { filter: brightness(2.4); } }

.component-rail { position: relative; z-index: 5; align-self: center; border-left: 1px solid var(--line); }
.rail-head { height: 39px; padding-left: 16px; display: flex; align-items: center; justify-content: space-between; color: #52666d; font-size: 7px; letter-spacing: .17em; border-bottom: 1px solid var(--line); }
.rail-head b { color: var(--signal); font-weight: 400; }
.component-rail ol { margin: 0; padding: 0; list-style: none; }
.component-rail li { border-bottom: 1px solid rgba(141,193,205,.1); }
.component-rail button { width: 100%; min-height: 62px; padding: 0 0 0 16px; display: grid; grid-template-columns: 22px 1fr 20px; align-items: center; gap: 9px; border: 0; color: #61747b; background: transparent; text-align: left; cursor: pointer; transition: color .25s ease, background .25s ease; }
.component-rail button:hover, .component-rail button.is-active { color: var(--ice); background: linear-gradient(90deg, rgba(88,154,169,.1), transparent); }
.component-rail button > span { color: #4d6067; font-size: 7px; }
.component-rail button.is-active > span { color: var(--signal); }
.component-rail button p { margin: 0; display: grid; gap: 4px; }
.component-rail button b { font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.component-rail button small { color: #4c5e64; font-size: 6px; letter-spacing: .13em; }
.component-rail button > i { width: 9px; height: 1px; background: #2c4046; transition: width .25s ease, background .25s ease; }
.component-rail button.is-active > i { width: 17px; background: var(--signal); }

.control-dock { position: absolute; z-index: 8; right: calc(196px + clamp(18px, 2vw, 38px)); bottom: 72px; width: min(420px, 31vw); padding: 13px 16px 11px; border: 1px solid var(--line); background: rgba(5,11,13,.8); backdrop-filter: blur(14px); }
.control-dock label { display: flex; justify-content: space-between; color: #5c6f76; font-size: 7px; letter-spacing: .16em; }
.control-dock label b { color: var(--signal); font-weight: 400; }
.control-dock input { width: 100%; height: 14px; margin: 7px 0 3px; appearance: none; background: transparent; cursor: ew-resize; }
.control-dock input::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--signal) var(--range, 0%), #283b41 var(--range, 0%)); }
.control-dock input::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -4px; appearance: none; border: 1px solid var(--signal); border-radius: 50%; background: #091014; box-shadow: 0 0 0 3px rgba(255,99,63,.1); }
.control-dock input::-moz-range-track { height: 1px; background: #283b41; }
.control-dock input::-moz-range-progress { height: 1px; background: var(--signal); }
.control-dock input::-moz-range-thumb { width: 9px; height: 9px; border: 1px solid var(--signal); border-radius: 50%; background: #091014; }
.dock-actions { display: flex; justify-content: space-between; align-items: center; color: #3f5258; font-size: 6px; letter-spacing: .13em; }
.dock-actions button { padding: 4px 0; border: 0; color: #758990; background: transparent; font-size: 7px; letter-spacing: .1em; cursor: pointer; }
.dock-actions button i { width: 4px; height: 4px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 6px rgba(255,99,63,.8); }
.dock-actions button[aria-pressed="false"] i { background: #43545a; box-shadow: none; }
#render-mode-button[aria-pressed="true"] { color: #e7c198; }
#render-mode-button[aria-pressed="true"] i { background: #ff9d4f; box-shadow: 0 0 7px rgba(255,157,79,.7); }

body.photo-mode {
  background:
    radial-gradient(circle at 67% 47%, rgba(88, 103, 101, .18), transparent 30%),
    radial-gradient(circle at 61% 74%, rgba(133, 76, 44, .075), transparent 34%),
    linear-gradient(124deg, #080b0c 0%, #101212 52%, #070a0b 100%);
}
body.photo-mode::before { opacity: .34; }
body.photo-mode .noise { opacity: .086; }
body.photo-mode .topbar, body.photo-mode .bottom-meta { background: rgba(12, 11, 10, .68); border-color: rgba(226, 179, 125, .16); }
body.photo-mode .stage-shell::before {
  background: radial-gradient(circle, rgba(119, 143, 141, .13), rgba(23, 35, 36, .055) 48%, transparent 72%);
}
body.photo-mode .instrument-rings { opacity: .13; }
body.photo-mode .telemetry-layer { opacity: .22; }
body.photo-mode .stage-hint { color: #6f6259; }
body.photo-mode .component-rail { border-color: rgba(227, 186, 139, .15); }
body.photo-mode .component-rail button:hover,
body.photo-mode .component-rail button.is-active { background: linear-gradient(90deg, rgba(166, 100, 51, .14), transparent); }
body.photo-mode #ring-canvas {
  filter:
    saturate(1.025)
    contrast(1.035)
    brightness(1.18)
    drop-shadow(1px 0 rgba(255, 66, 42, .1))
    drop-shadow(-1px 0 rgba(31, 166, 218, .09));
}

@media (prefers-reduced-motion: reduce) {
  body::before, .noise { animation: none !important; }
}

.bottom-meta { position: fixed; z-index: 9; right: 0; bottom: 0; left: 0; height: 48px; padding: 0 max(28px, calc((100vw - 1680px) / 2)); display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; align-items: center; border-top: 1px solid var(--line); background: rgba(4, 8, 10, .82); backdrop-filter: blur(14px); color: #53656b; font-size: 7px; letter-spacing: .13em; }
.bottom-meta p { margin: 0; }
.bottom-meta span { margin-right: 8px; color: #86999f; }

body:not(.ready) .hero-copy, body:not(.ready) .component-rail, body:not(.ready) .control-dock { opacity: 0; transform: translateY(12px); }
.hero-copy, .component-rail, .control-dock { transition: opacity .8s ease, transform .8s var(--ease); }
body:not(.ready) .stage-shell { opacity: 0; transform: scale(.97); }
.stage-shell { transition: opacity 1s ease, transform 1s var(--ease); }

@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(300px, .8fr) minmax(480px, 1.3fr); }
  .component-rail { display: none; }
  .control-dock { right: 0; width: min(420px, 43vw); }
}

@media (max-width: 840px) {
  :root { --content: calc(100vw - 32px); }
  .topbar { height: 64px; padding: 0 16px; grid-template-columns: 1fr auto; }
  .top-status { display: none; }
  .hero { min-height: auto; padding: 92px 0 96px; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 18px; }
  h1 { font-size: clamp(50px, 15vw, 74px); }
  .lede { max-width: 94%; margin-top: 20px; line-height: 1.8; }
  .spec-row { margin-top: 24px; }
  .hero-actions { margin-top: 24px; }
  .primary-action { min-width: 190px; height: 58px; }
  .stage-shell { height: 62vh; min-height: 490px; margin: -10px -16px 0; }
  .axis-readout { top: 12%; left: 5%; }
  .focus-label { display: none; }
  .telemetry-layer span { font-size: 5px; opacity: .18; }
  .telemetry-b, .telemetry-e, .telemetry-f { display: none; }
  .control-dock { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -36px; }
  .bottom-meta { height: 42px; padding: 0 16px; grid-template-columns: auto auto; }
  .bottom-meta p:nth-child(2) { display: none; }
  .hide-mobile { display: none !important; }
}

@media (max-width: 480px) {
  .spec-row strong { font-size: 17px; }
  .spec-row > div { padding-right: 8px; }
  .spec-row > div + div { padding-left: 9px; }
  .hero-actions { justify-content: space-between; gap: 14px; }
  .primary-action { flex: 1; min-width: 0; padding: 0 14px; }
  .text-action { font-size: 9px; gap: 8px; }
  .stage-shell { height: 56vh; min-height: 430px; }
  .stage-hint { bottom: 7%; font-size: 7px; gap: 7px; }
  .dock-actions { justify-content: flex-start; gap: 24px; }
  .dock-actions > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .12s !important; }
}

/* Full-bleed museum embed: the parent page owns the brand navigation and copy. */
html.embed-mode,
html.embed-mode body {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

html.embed-mode .topbar,
html.embed-mode .bottom-meta,
html.embed-mode .hero-copy {
  display: none;
}

html.embed-mode .hero {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  margin: 0;
  padding: 0;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.28fr);
  gap: 0;
}

html.embed-mode .stage-shell {
  width: 100%;
  height: 100vh;
  min-height: 0;
}

html.embed-mode .component-rail {
  height: min(560px, 78vh);
  margin-right: 22px;
  background: linear-gradient(90deg, rgba(5, 11, 13, .58), rgba(5, 11, 13, .08));
}

html.embed-mode .control-dock {
  right: calc(190px + 30px);
  bottom: 28px;
  width: min(430px, 34vw);
}

@media (max-width: 1180px) {
  html.embed-mode .hero { display: block; }
  html.embed-mode .component-rail { display: none; }
  html.embed-mode .control-dock { right: 28px; width: min(420px, 44vw); }
}

@media (max-width: 840px) {
  html.embed-mode .hero { padding: 0; }
  html.embed-mode .stage-shell { height: 100vh; min-height: 0; margin: 0; }
  html.embed-mode .control-dock {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    margin: 0;
  }
  html.embed-mode .axis-readout { top: 18px; }
  html.embed-mode .stage-hint { bottom: 86px; }
  html.embed-mode body.photo-mode #ring-canvas { filter: saturate(1.03) contrast(1.025) brightness(1.3); }
}
