:root {
  color-scheme: dark;
  --bg: #07111b;
  --panel: #0b1723;
  --panel-2: #0d1c2a;
  --line: rgba(151, 183, 205, .13);
  --line-strong: rgba(151, 183, 205, .22);
  --text: #e8f1f7;
  --muted: #8ca2b2;
  --dim: #5c7384;
  --cyan: #66d7f5;
  --ice: #9beaff;
  --green: #8ad9b7;
  --amber: #e5b77c;
  --space: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; background: var(--bg); color: var(--text); }
body { overflow: hidden; }
button, input, select { font: inherit; }
button { color: inherit; }
.app-shell { height: 100dvh; display: flex; flex-direction: column; min-height: 600px; background: radial-gradient(ellipse at 55% -20%, rgba(29, 70, 92, .22), transparent 55%), var(--bg); }
.app-header { height: 62px; flex: 0 0 62px; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--line); background: rgba(6, 15, 24, .94); z-index: 5; }
.brand-lockup { display: flex; align-items: center; gap: 12px; min-width: 310px; }
.brand-mark { width: 27px; height: 27px; border: 1px solid rgba(103, 214, 246, .5); border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 2px; transform: rotate(45deg); }
.brand-mark span { width: 3px; height: 13px; border-radius: 4px; background: var(--cyan); transform: rotate(-45deg); opacity: .8; }
.brand-mark span:nth-child(2) { height: 18px; opacity: 1; }
.brand-mark span:nth-child(3) { height: 9px; opacity: .55; }
.brand-title { font-size: 11px; letter-spacing: .17em; font-weight: 800; color: #dcebf3; }
.brand-title span { color: #7994a6; font-weight: 500; }
.brand-subtitle { margin-top: 4px; font-size: 8px; letter-spacing: .2em; color: #6e8798; font-weight: 650; }
.brand-subtitle i { color: var(--cyan); font-style: normal; padding: 0 3px; }
.header-status { display: flex; align-items: center; gap: 9px; margin: 0 auto; font-size: 9px; letter-spacing: .13em; color: #a2b6c4; font-weight: 700; }
.live-dot, .view-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: #6bdcae; box-shadow: 0 0 10px rgba(107, 220, 174, .65); }
.status-divider { height: 12px; width: 1px; background: var(--line-strong); margin: 0 4px; }
.header-actions { display: flex; gap: 7px; }
.icon-button { width: 29px; height: 29px; border: 1px solid var(--line-strong); border-radius: 7px; background: rgba(18, 37, 52, .7); color: #9bb2c1; cursor: pointer; font-size: 13px; transition: .2s ease; }
.icon-button:hover { border-color: rgba(102, 215, 245, .5); color: var(--cyan); background: rgba(35, 75, 94, .35); }
.workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: 280px minmax(460px, 1fr) 290px; gap: 1px; background: var(--line); }
.control-panel, .science-panel { min-height: 0; background: var(--panel); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #263e50 transparent; }
.control-panel { padding: 19px 17px 16px; }
.panel-heading { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 8px; font-weight: 800; letter-spacing: .2em; color: #6f94a9; }
.panel-heading h1 { margin: 8px 0 6px; font-size: 23px; line-height: 1.05; letter-spacing: -.04em; font-weight: 650; }
.panel-heading p, .science-header p { margin: 0; color: #8ea3b2; font-size: 10px; line-height: 1.55; max-width: 235px; }
.preset-section { padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.section-label { display: flex; align-items: center; justify-content: space-between; color: #9ab0be; font-size: 8px; font-weight: 800; letter-spacing: .16em; margin-bottom: 10px; }
.micro-tag, .section-index { color: #577589; font-size: 8px; letter-spacing: .1em; }
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.preset-button { min-height: 52px; padding: 7px 4px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #101f2d; border: 1px solid rgba(142, 173, 194, .13); border-radius: 7px; color: #8fa5b4; font-size: 8px; font-weight: 650; cursor: pointer; transition: .2s ease; }
.preset-button:hover { border-color: rgba(102, 215, 245, .35); color: #d6e9f1; }
.preset-button.active { border-color: rgba(102, 215, 245, .55); color: #e3f6fc; background: linear-gradient(145deg, rgba(35, 93, 112, .36), rgba(14, 36, 51, .88)); box-shadow: inset 0 0 0 1px rgba(102, 215, 245, .07); }
.preset-glyph { font-size: 15px; line-height: 1; color: var(--cyan); }
.weak-glyph { color: #9eb6c6; }.silt-glyph { color: #d4c09e; }.load-glyph { color: #d8b58d; }
.preset-description { color: #71899a; font-size: 9px; line-height: 1.45; margin-top: 8px; min-height: 25px; }
.control-section { padding: 15px 0 12px; border-bottom: 1px solid var(--line); }
.last-control-section { border-bottom: 0; padding-bottom: 10px; }
.control-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 10px 0 5px; }
.control-row label { color: #d1dfe7; font-size: 10px; font-weight: 560; }
.control-row .unit { color: #6e8798; font-size: 9px; margin-left: 3px; }
.control-row output { color: #a8dff0; font-size: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] { width: 100%; appearance: none; height: 3px; background: linear-gradient(90deg, #3ba8c6, #28485c); border-radius: 4px; outline: none; margin: 7px 0 2px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 11px; height: 11px; border-radius: 50%; background: #c3f2ff; border: 2px solid #3e9fbd; box-shadow: 0 0 0 3px rgba(79, 189, 222, .12); }
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; background: #c3f2ff; border: 2px solid #3e9fbd; box-shadow: 0 0 0 3px rgba(79, 189, 222, .12); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(102, 215, 245, .22); }
.range-scale { display: flex; justify-content: space-between; color: #516b7d; font-size: 7px; letter-spacing: .04em; }
.panel-footnote { margin-top: 3px; padding: 10px 8px; border-radius: 6px; background: rgba(19, 39, 54, .55); color: #72899a; font-size: 8px; line-height: 1.4; }
.footnote-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #d3a66e; margin-right: 5px; vertical-align: 1px; }
.stage-column { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #07121d; }
.stage-toolbar { flex: 0 0 48px; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px 0 16px; border-bottom: 1px solid var(--line); background: rgba(10, 24, 36, .85); }
.stage-label { display: flex; align-items: center; gap: 9px; }
.stage-icon { color: var(--cyan); font-size: 18px; }
.stage-label strong { display: block; font-size: 9px; letter-spacing: .14em; color: #c8dbe5; }
.stage-label small { display: block; margin-top: 4px; font-size: 7px; letter-spacing: .13em; color: #627e91; }
.stage-label small span { color: var(--cyan); padding: 0 3px; }
.stage-toolbar-actions { display: flex; gap: 5px; }
.tool-button { height: 27px; display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border: 1px solid var(--line); border-radius: 5px; background: rgba(17, 35, 49, .82); color: #8fa7b7; font-size: 8px; cursor: pointer; transition: .18s ease; }
.tool-button:hover { color: #d9f5fc; border-color: rgba(102, 215, 245, .4); }
.tool-icon { font-size: 12px; color: var(--cyan); }
.scene-wrap { position: relative; flex: 1; min-height: 270px; overflow: hidden; background: radial-gradient(ellipse at 50% 48%, #17354a 0%, #0b1d2b 48%, #07111b 100%); }
.scene-host { position: absolute; inset: 0; }
.scene-host canvas { width: 100%; height: 100%; display: block; outline: none; }
.scene-vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 90px rgba(0, 5, 11, .42); }
.scene-overlay { position: absolute; z-index: 2; pointer-events: none; color: #a6bdca; }
.top-left-overlay { top: 15px; left: 15px; }
.view-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid rgba(129, 180, 201, .2); border-radius: 4px; background: rgba(7, 20, 31, .72); color: #c6dce6; font-size: 8px; font-weight: 750; letter-spacing: .12em; backdrop-filter: blur(8px); }
.view-chip-dot { width: 5px; height: 5px; }
.view-caption { margin: 7px 0 0 2px; color: #668397; font-size: 7px; letter-spacing: .13em; }
.top-right-overlay { top: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; padding: 9px 10px; border: 1px solid rgba(129, 180, 201, .13); border-radius: 5px; background: rgba(7, 20, 31, .68); backdrop-filter: blur(8px); }
.legend-item { display: flex; align-items: center; gap: 7px; color: #92aaba; font-size: 7px; letter-spacing: .11em; white-space: nowrap; }
.legend-swatch { width: 13px; height: 4px; border-radius: 4px; }
.water-swatch { background: #36c8f4; box-shadow: 0 0 7px #36c8f4; }.ice-swatch { background: #b8f1ff; box-shadow: 0 0 7px #b8f1ff; }.front-swatch { background: #4cddff; border-top: 1px dashed #e2fbff; }
.bottom-left-overlay { left: 16px; bottom: 14px; display: flex; align-items: center; gap: 8px; }
.orientation-cube { width: 23px; height: 23px; border: 1px solid rgba(132, 184, 207, .32); border-radius: 4px; position: relative; display: flex; justify-content: center; align-items: flex-start; padding-top: 2px; background: rgba(9, 26, 39, .6); font-size: 7px; color: #83b9cd; }
.orientation-cube i { position: absolute; width: 1px; height: 8px; bottom: 2px; left: 11px; background: #74d9f1; }.orientation-cube b { position: absolute; width: 6px; height: 1px; bottom: 8px; left: 8px; background: #74d9f1; }
.orientation-label { color: #69879a; font-size: 7px; letter-spacing: .1em; }
.bottom-right-overlay { right: 16px; bottom: 17px; display: flex; align-items: center; gap: 6px; color: #7691a2; font-size: 8px; }
.scale-line { width: 40px; height: 5px; border-bottom: 1px solid #8db8ca; border-left: 1px solid #8db8ca; border-right: 1px solid #8db8ca; }
.scene-loading { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; background: #091725; color: #89b5c8; font-size: 8px; letter-spacing: .18em; transition: opacity .35s ease; }
.scene-loading.hidden { opacity: 0; pointer-events: none; }
.loading-ring { width: 24px; height: 24px; border: 2px solid rgba(92, 185, 215, .15); border-top-color: #70d7f3; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.context-overlay { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: rgba(5, 14, 22, .94); text-align: center; padding: 25px; }
.context-overlay[hidden] { display: none; }.context-icon { color: var(--cyan); font-size: 26px; }.context-overlay strong { font-size: 13px; }.context-overlay span { max-width: 270px; color: #8da4b2; font-size: 10px; line-height: 1.5; }
.transport-bar { flex: 0 0 64px; display: grid; grid-template-columns: 205px minmax(120px, 1fr) 65px; gap: 13px; align-items: center; padding: 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a1824; }
.transport-main { display: flex; align-items: center; gap: 5px; }
.play-button { height: 31px; padding: 0 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(104, 220, 245, .6); border-radius: 5px; background: linear-gradient(135deg, rgba(39, 132, 158, .48), rgba(20, 67, 87, .56)); color: #dff8ff; font-size: 8px; letter-spacing: .12em; font-weight: 800; cursor: pointer; box-shadow: 0 0 18px rgba(51, 176, 209, .08); }
.play-button:hover { background: linear-gradient(135deg, rgba(49, 158, 185, .58), rgba(24, 80, 101, .7)); }
.play-glyph { font-size: 9px; color: #8ce7ff; }
.transport-button { height: 29px; padding: 0 8px; border: 1px solid var(--line); border-radius: 5px; background: #112333; color: #91a9b9; font-size: 7px; letter-spacing: .08em; cursor: pointer; }
.transport-button:hover { color: #e2f5fb; border-color: rgba(102, 215, 245, .35); }
.transport-button span { color: var(--cyan); font-size: 12px; padding-left: 3px; }
.time-control { min-width: 0; }
.time-labels { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.time-labels span { color: #648195; font-size: 7px; letter-spacing: .13em; }
.time-labels strong { color: #b9d4e1; font-size: 9px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.timeline-track { height: 3px; position: relative; border-radius: 4px; background: #243b4d; }
.timeline-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; border-radius: 4px; background: linear-gradient(90deg, #299cbb, #8ce6f8); }
.timeline-knob { position: absolute; top: 50%; left: 0%; width: 8px; height: 8px; transform: translate(-50%, -50%); border-radius: 50%; background: #c9f4ff; box-shadow: 0 0 0 3px rgba(87, 199, 227, .12); }
.timeline-scale { display: flex; justify-content: space-between; margin-top: 6px; color: #506b7c; font-size: 6px; letter-spacing: .08em; }
.speed-control { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.speed-control label { color: #648195; font-size: 7px; letter-spacing: .13em; }
.speed-control select { width: 58px; padding: 4px 5px; border: 1px solid var(--line-strong); border-radius: 4px; outline: none; background: #112536; color: #c3dbe6; font-size: 9px; }
.metrics-strip { flex: 0 0 77px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.metric-card { min-width: 0; padding: 12px 13px 9px; background: #0a1824; }
.metric-label { color: #6e899a; font-size: 7px; letter-spacing: .12em; font-weight: 750; white-space: nowrap; }
.metric-label span { color: #536f82; margin-left: 3px; }
.metric-value { margin-top: 5px; color: #dff4fb; font-size: 19px; font-weight: 560; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.metric-value small { color: #8eafc0; font-size: 9px; letter-spacing: 0; font-weight: 500; }
.metric-note { margin-top: 5px; color: #5f798b; font-size: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.science-panel { padding: 19px 17px 16px; }
.science-header { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.science-header h2 { margin: 8px 0 5px; font-size: 20px; letter-spacing: -.035em; font-weight: 650; }
.process-flow { padding: 13px 0 14px; border-bottom: 1px solid var(--line); }
.process-step { display: flex; gap: 10px; align-items: flex-start; }
.process-number { width: 22px; height: 22px; flex: 0 0 22px; border: 1px solid rgba(103, 202, 230, .28); border-radius: 6px; display: grid; place-items: center; color: var(--cyan); font-size: 8px; font-weight: 800; }
.process-step strong { display: block; margin: 1px 0 4px; color: #9bb8c7; font-size: 8px; letter-spacing: .14em; }
.process-step p { margin: 0; color: #8098a8; font-size: 9px; line-height: 1.5; }
.process-connector { width: 1px; height: 12px; margin: 3px 0 3px 11px; background: linear-gradient(#356e82, rgba(53, 110, 130, .05)); }
.equation-card { padding: 12px 10px 10px; margin-top: 9px; border: 1px solid rgba(121, 163, 184, .13); border-radius: 6px; background: linear-gradient(145deg, rgba(17, 38, 53, .72), rgba(11, 26, 39, .68)); }
.equation-title { display: flex; justify-content: space-between; align-items: center; color: #8ba7b7; font-size: 7px; letter-spacing: .13em; font-weight: 800; }
.textbook-tag, .illustrative-tag { padding: 3px 5px; border-radius: 3px; color: #8fd4e8; background: rgba(56, 141, 167, .12); font-size: 6px; letter-spacing: .1em; }
.illustrative-tag { color: #d8b27f; background: rgba(179, 127, 62, .12); }
.equation { display: flex; align-items: center; gap: 5px; margin: 12px 0 9px; color: #d6f1fa; font-family: Georgia, "Times New Roman", serif; font-size: 17px; letter-spacing: .01em; }
.fraction { display: inline-flex; flex-direction: column; align-items: center; font-size: 11px; line-height: 1.35; vertical-align: middle; }
.fraction span:first-child { padding: 0 4px 2px; border-bottom: 1px solid rgba(193, 228, 239, .65); }.fraction span:last-child { padding-top: 2px; }
.equation-card p { margin: 0; color: #718a9a; font-size: 8px; line-height: 1.45; }
.live-validation { margin-top: 13px; padding: 11px 10px 10px; border: 1px solid rgba(104, 199, 163, .2); border-radius: 6px; background: rgba(17, 50, 48, .23); }
.validation-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.validation-check { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #9be5c7; background: rgba(77, 172, 135, .16); font-size: 10px; }
.validation-heading strong { display: block; color: #a5d9c5; font-size: 7px; letter-spacing: .13em; }
.validation-heading small { display: block; margin-top: 3px; color: #688f83; font-size: 6px; letter-spacing: .1em; }
.validation-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; color: #7e9e95; font-size: 8px; }
.validation-row strong { color: #c2e7d9; font-size: 8px; font-weight: 650; font-variant-numeric: tabular-nums; }
.validation-row .validation-diff { color: #9be5c7; }
.validation-foot { margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(104, 199, 163, .12); color: #64877d; font-size: 7px; line-height: 1.4; }
.variable-key { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.variable-key .equation-title { margin-bottom: 8px; }
.variable-row { display: flex; gap: 8px; margin-top: 6px; color: #728b9b; font-size: 7px; line-height: 1.4; }
.variable-row span:first-child { min-width: 22px; color: #b6d6e3; font-family: Georgia, serif; font-size: 9px; }
.assumptions-details { margin-top: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assumptions-details summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; color: #9ab1bf; cursor: pointer; font-size: 8px; letter-spacing: .08em; list-style: none; }
.assumptions-details summary::-webkit-details-marker { display: none; }.assumptions-details[open] summary span { transform: rotate(45deg); }
.assumptions-details summary span { color: var(--cyan); font-size: 13px; transition: transform .2s; }
.assumptions-body { padding: 0 0 10px; color: #7c94a3; font-size: 8px; line-height: 1.55; }
.assumptions-body ul { margin: 0; padding-left: 14px; }.assumptions-body li { margin: 5px 0; }
.disclaimer { margin-top: 12px; color: #5d7687; font-size: 7px; line-height: 1.45; }
.app-footer { flex: 0 0 22px; height: 22px; display: flex; justify-content: space-between; align-items: center; padding: 0 13px; background: #060f17; color: #4f6b7d; font-size: 6px; letter-spacing: .15em; }
.app-footer i { color: #4e9db3; font-style: normal; padding: 0 3px; }
.keyboard-hint { position: fixed; z-index: 20; top: 70px; right: 18px; display: flex; gap: 13px; align-items: center; padding: 10px 13px; border: 1px solid rgba(112, 175, 197, .25); border-radius: 7px; background: rgba(8, 22, 34, .96); box-shadow: 0 12px 35px rgba(0, 0, 0, .35); color: #8fa8b8; font-size: 8px; }
.keyboard-hint[hidden] { display: none; }.keyboard-hint strong { color: #b8d5e2; letter-spacing: .12em; }.keyboard-hint button { border: 0; background: none; color: #8ba6b6; cursor: pointer; font-size: 14px; }
button:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #72d9f4; outline-offset: 2px; }
body.embed .app-header, body.embed .app-footer { display: none; }
body.embed .workspace { grid-template-columns: 260px minmax(0, 1fr); }
body.embed .science-panel { display: none; }
body.embed .scene-wrap { min-height: 340px; }
@media (max-width: 1120px) and (min-width: 761px) {
  .workspace { grid-template-columns: 250px minmax(420px, 1fr); }
  .science-panel { display: none; }
  .brand-lockup { min-width: 270px; }
}
@media (max-width: 760px) {
  body { overflow: auto; }
  .app-shell { min-height: 100dvh; height: auto; }
  .app-header { height: 55px; flex-basis: 55px; padding: 0 12px; }
  .brand-lockup { min-width: 0; gap: 9px; }
  .brand-mark { width: 23px; height: 23px; }
  .brand-title { font-size: 9px; letter-spacing: .13em; }
  .brand-subtitle { font-size: 6px; letter-spacing: .14em; }
  .header-status { display: none; }
  .header-actions { margin-left: auto; }
  .workspace { display: flex; flex-direction: column; gap: 1px; }
  .stage-column { order: 0; flex: none; }
  .scene-wrap { flex: none; height: min(47vh, 390px); min-height: 280px; }
  .stage-toolbar { height: 43px; flex-basis: 43px; padding: 0 9px; }
  .stage-label strong { font-size: 8px; }.stage-label small { font-size: 6px; }
  .tool-button { height: 25px; padding: 0 6px; font-size: 7px; }.tool-icon { font-size: 10px; }
  .transport-bar { flex: none; min-height: 66px; grid-template-columns: 1fr 1.05fr 54px; gap: 7px; padding: 0 8px; }
  .transport-main { gap: 3px; }.play-button { padding: 0 8px; height: 29px; font-size: 7px; }.transport-button { padding: 0 5px; font-size: 6px; }
  .time-labels span { font-size: 6px; }.time-labels strong { font-size: 8px; }
  .speed-control select { width: 50px; }
  .metrics-strip { flex: none; min-height: 68px; }
  .metric-card { padding: 9px 7px 7px; }
  .metric-label { font-size: 6px; letter-spacing: .07em; }.metric-label span { display: none; }
  .metric-value { font-size: 16px; }.metric-note { font-size: 6px; }
  .control-panel { order: 1; padding: 16px 14px; overflow: visible; }
  .science-panel { display: block; order: 2; padding: 16px 14px 20px; overflow: visible; }
  .panel-heading h1 { font-size: 21px; }
  .control-section { padding: 13px 0 10px; }
  .control-row label { font-size: 11px; }.control-row output { font-size: 10px; }
  .preset-button { min-height: 55px; font-size: 9px; }
  .scene-overlay.top-right-overlay { top: auto; bottom: 48px; right: 9px; padding: 7px 8px; gap: 6px; }
  .top-left-overlay { top: 10px; left: 10px; }
  .bottom-left-overlay { bottom: 11px; left: 10px; }.bottom-right-overlay { display: none; }
  .view-caption { font-size: 6px; }
  .app-footer { flex: none; height: 24px; padding: 0 8px; font-size: 5px; }
  .app-footer span:nth-child(2) { display: none; }
  .keyboard-hint { top: 60px; left: 10px; right: 10px; flex-wrap: wrap; gap: 8px 12px; }
  body.embed .workspace { display: flex; flex-direction: column; }
  body.embed .control-panel { display: none; }
  body.embed .scene-wrap { height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
