:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  --indigo: #11273c;
  --indigo-deep: #091b2d;
  --blue: #2eaee8;
  --green: #0d2e1a;
  --paper: #f5f8f5;
  --yellow: #e8d73a;
  --orange: #f2992e;
  background: var(--indigo);
  color: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--orange) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 99px; background: var(--orange); background-clip: padding-box; }
::selection { background: var(--orange); color: var(--green); }
body {
  min-width: 0;
  margin: 0;
  background: radial-gradient(ellipse at 50% -15%, #23577a 0, transparent 48rem), linear-gradient(90deg, #081929, var(--indigo) 9%, var(--indigo) 91%, #081929);
}
button, select, input { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-underline-offset: .23em; }
a[href^="https://"]:hover, a[href^="http://"]:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 30; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--yellow); color: var(--green); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; border-bottom: 1px solid #ffffff21; background: #091b2df0; backdrop-filter: blur(10px); transition: transform .32s ease, opacity .24s ease; }
.site-header.header-hidden { transform: translateY(calc(-100% - 2px)); opacity: 0; pointer-events: none; }
.site-header-inner { max-width: 1580px; min-height: 38px; margin: auto; padding: .2rem 1.5rem; display: flex; align-items: center; gap: .7rem; }
.product-mark { font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.brand-divider { color: #b8ced3; opacity: .7; }
.rebojar-mark { font: italic 1rem Georgia, serif; text-decoration: none; }
.rebojar-mark span { font: .72rem system-ui, sans-serif; }
main { max-width: 1580px; margin: auto; padding: 1.2rem 1.5rem 3.5rem; }
.studio-room {
  position: relative;
  padding: 2rem clamp(.8rem, 2vw, 2rem) 2.1rem;
  overflow: clip;
  border: 1px solid #7496a04d;
  border-radius: 22px;
  background: linear-gradient(90deg, #071827b3, transparent 12%, transparent 88%, #071827b3), repeating-linear-gradient(90deg, #1b3d55 0 30px, #15344d 30px 33px, #102a41 33px 64px);
  box-shadow: inset 0 15px 28px #04101f9c, 0 18px 35px #04101f66;
}
.studio-room::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 17px;
  background: repeating-linear-gradient(90deg, #0a2235 0 36px, #345d71 36px 39px);
  border-bottom: 1px solid #8fb5bb65;
  box-shadow: 0 9px 20px #04101f;
}
.studio-layout { position: relative; display: grid; grid-template-columns: minmax(180px, .82fr) minmax(0, 1.95fr) minmax(180px, .82fr); gap: clamp(.6rem, 1vw, 1.15rem); align-items: start; }
.control-rail { min-width: 0; padding-top: .4rem; }
.rail-heading { display: flex; justify-content: space-between; gap: .4rem; margin: 0 0 .75rem; color: #b9e9ef; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.rail-heading span { color: #8abecb; white-space: nowrap; }
.control-drawer { min-width: 0; margin-bottom: .7rem; border: 1px solid #77aabb6e; border-radius: 7px; background: #0c273bd9; box-shadow: 3px 6px 12px #0314217a; }
.control-drawer > summary { display: flex; align-items: center; gap: .65rem; min-height: 59px; padding: .7rem .8rem; list-style: none; color: var(--paper); font-weight: 750; line-height: 1.25; }
.control-drawer > summary::-webkit-details-marker { display: none; }
.control-drawer > summary:hover { background: #2eaee82a; }
.control-drawer[open] > summary { border-bottom: 1px solid #77aabb6e; color: var(--yellow); background: #15364e; }
.drawer-number { flex: none; width: 1.6rem; color: var(--blue); font-size: .68rem; letter-spacing: .08em; }
.control-drawer[open] .drawer-number { color: var(--yellow); }
.drawer-name { flex: 1; }
.drawer-symbol { flex: none; color: var(--orange); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.control-drawer[open] .drawer-symbol { transform: rotate(45deg); }
.drawer-content { min-width: 0; padding: 1rem; background: linear-gradient(145deg, #235a76db, #0b283eeb); }
.drawer-content > :first-child { margin-top: 0; }
.control-kicker, .card-index, .stage-label, .section-index { margin: 0; color: #a2def1; font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.drawer-content h2 { margin: .5rem 0 .6rem; color: var(--paper); font: 1.5rem/1.13 Georgia, serif; }
.drawer-content p { line-height: 1.5; }
.play-controls > p:not(.control-kicker) { font-size: .88rem; }
.play-controls h2 { margin: .35rem 0 .45rem; font-size: 1.3rem; }
label:not(.choice) { display: block; font-weight: 700; }
.play-controls label, .range-label { margin: 1rem 0 .3rem; font-size: .84rem; }
.material-choice .range-label { margin: .25rem 0 0; font-size: .74rem; }
.material-choice input[type="range"] { margin: 0 0 .55rem; }
label output { float: right; color: var(--blue); font-weight: 750; }
input[type="range"] { appearance: none; width: 100%; height: 2rem; margin: .2rem 0 .9rem; background: transparent; accent-color: var(--orange); cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border: 0; border-radius: 99px; background: #f2992e88; }
input[type="range"]::-moz-range-track { height: 6px; border: 0; border-radius: 99px; background: #f2992e88; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; margin-top: -7px; border: 0; border-radius: 50%; background: var(--orange); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--orange); }
input[type="range"]:disabled { opacity: .46; cursor: default; }
.buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
button { min-height: 44px; padding: .65rem .8rem; border: 1px solid #1c7ead; border-radius: 6px; background: var(--blue); color: var(--green); font-weight: 750; box-shadow: 0 3px 0 #17648b55; }
button:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
button:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
button:disabled { opacity: .47; cursor: default; box-shadow: none; }
.button-secondary { border-color: #a1cad0; background: transparent; color: var(--paper); box-shadow: none; }
.button-quiet { border-color: transparent; background: transparent; color: var(--blue); box-shadow: none; text-decoration: underline; text-underline-offset: .2em; }
.note { color: #c9dfe3; font-size: .8rem; line-height: 1.5; }
.material-choice { margin: 1rem 0; padding: 0; border: 0; }
.material-choice legend { margin-bottom: .45rem; font-size: .8rem; font-weight: 750; }
.choice { display: flex; align-items: center; gap: .6rem; min-height: 43px; padding: .45rem .6rem; border: 1px solid #b6d5dc66; border-radius: 6px; background: #0a253855; color: var(--paper); font-size: .85rem; font-weight: 600; cursor: pointer; }
.choice + .choice { margin-top: .4rem; }
.choice:hover { border-color: var(--orange); }
.choice:has(input:checked) { border-color: var(--orange); background: #f2992e30; }
.choice input { appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 2px solid var(--orange); border-radius: 3px; background: var(--paper); accent-color: var(--orange); cursor: pointer; }
.choice input:checked { background: var(--orange); }
.choice input:checked::after { content: ""; display: block; width: 5px; height: 9px; margin-left: 4px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.choice input:disabled { cursor: wait; }
.choice-feature { margin: 1rem 0; }
.world-card .choice-feature { margin: .75rem 0 .2rem; }
.world-card .range-label { margin: .2rem 0 0; font-size: .74rem; }
.world-card input[type="range"] { margin: 0 0 .35rem; }
.world-card .choice small { display: block; color: #bddbe2; font-size: .7rem; font-weight: 400; }
.body-card:has(#body-volume:disabled) .range-label { opacity: .55; }
.card-details, .inner-details { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #b6d5dc66; }
.card-details summary, .inner-details summary { color: var(--blue); font-weight: 750; }
.card-details .choice { margin-top: .75rem; }
.contact-preview { margin: .8rem 0 .3rem; }
.contact-preview button { min-height: 38px; padding: .5rem .65rem; border-color: #a1cad0; background: transparent; color: var(--paper); box-shadow: none; font-size: .78rem; }
.lab-content > label:not(.choice) { margin: 1rem 0 .4rem; font-size: .84rem; }
.lab-content .choice { margin: .8rem 0; }
.lab-content .buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; margin-top: .75rem; }
.lab-content #start { grid-column: 1 / -1; }
.lab-content .buttons button { min-height: 38px; padding: .5rem .2rem; font-size: .76rem; }
.lab-content li { margin: .35rem 0; font-size: .82rem; }
select { width: 100%; min-height: 44px; padding: .6rem; border: 1px solid #91b4be; border-radius: 5px; background: var(--paper); color: var(--green); }
#scene-description { color: #d6e9eb; font-size: .82rem; }
.central-screen { position: sticky; top: 76px; min-width: 0; padding: 1.25rem; border: 1px solid #b8875d; border-radius: 14px; background: repeating-linear-gradient(1deg, #e5ad7714 0 1px, transparent 1px 5px, #1d0e0a36 6px 7px, transparent 8px 14px), linear-gradient(95deg, #382318, #6b442b 42%, #54321f 76%, #301d16); box-shadow: 0 8px 0 #20120e, inset 0 1px #e2b17c74, inset 0 0 0 5px #2e1b15; scroll-margin-top: 75px; }
.screen-heading { margin-bottom: 1rem; }
.screen-heading-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.motion-choice { display: inline-flex !important; align-items: center; gap: .35rem; color: #d4e5e9; font-size: .7rem; white-space: nowrap; cursor: pointer; }
.motion-choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--orange); }
.screen-heading h1 { min-width: 0; margin: 0; color: var(--paper); font-size: clamp(1.8rem, 2.5vw, 2.8rem); line-height: 1.05; letter-spacing: -.035em; }
.screen-heading p { margin: 0; color: #d4e5e9; font-size: .9rem; line-height: 1.45; }
.soundstage { display: flex; flex-direction: column; min-height: 520px; padding: .7rem; border: 7px solid #1e1514; border-radius: 10px; background: #211812; box-shadow: 0 0 0 2px #b88963, inset 0 0 0 1px #e0af7e69, 6px 8px 16px #160c0baa; }
.window-view { display: flex; flex: 1; min-height: 360px; padding: 1rem; border: 1px solid #9ec7d34d; background: linear-gradient(130deg, #153a55, #0c263d 72%); box-shadow: inset 0 0 0 1px #ffffff0d, inset 0 0 35px #061828; }
.visual-mode { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.stage-label span { color: var(--orange); padding-inline: .35em; }
.walk-visual { --walk-duration: 1.25s; position: relative; flex: 1; min-height: 240px; overflow: hidden; margin: .9rem 0; background: linear-gradient(#12344b11, #2eaee811); }
.walk-visual::before { content: ""; position: absolute; inset: 8% 4% 0; border-top: 1px solid #b6dce338; background: repeating-linear-gradient(0deg, transparent 0 33px, #a9deeb12 34px 35px); }
.weather-view { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.walk-visual[data-environment="indoor"] .weather-view { clip-path: inset(9% 10% 68% 62%); }
.weather-cloud { position: absolute; top: 7%; left: 13%; width: 24%; height: 12%; border-radius: 50%; background: #a7c9d166; box-shadow: 24px 6px 0 #c0dce277, -16px 8px 0 #9bbec866; display: none; }
.weather-rain { position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 23px, #b3e0ee77 24px 25px, transparent 26px 48px); background-size: 70px 90px; opacity: .42; animation: rain-fall .8s linear infinite; display: none; }
@keyframes rain-fall { to { background-position: -70px 90px; } }
.walk-visual[data-breeze="true"] .weather-cloud, .walk-visual[data-rain="true"] .weather-cloud, .walk-visual[data-storm="true"] .weather-cloud { display: block; }
.walk-visual[data-rain="true"] .weather-rain, .walk-visual[data-storm="true"] .weather-rain { display: block; }
.walk-visual[data-storm="true"] .weather-cloud { background: #536a80bb; box-shadow: 24px 6px 0 #6a7a8bbb, -16px 8px 0 #536a80bb; }
.walk-visual[data-storm="true"] .weather-rain { opacity: .8; animation-duration: .45s; }
.walk-visual:not([data-playing="true"]) .weather-rain { animation-play-state: paused; }
.walk-visual[data-animate="false"] .weather-rain { animation: none; }
.room-view { position: absolute; z-index: 3; inset: 2%; border: 8px solid #2c4a5d; border-bottom-width: 12px; box-shadow: inset 0 0 0 3px #88a9b65c, inset 0 0 50px #06111d88; pointer-events: none; display: none; }
.room-window { position: absolute; top: 7%; right: 7%; width: clamp(88px, 23%, 180px); height: clamp(68px, 40%, 105px); border: 6px solid #638494; background: linear-gradient(180deg, #294e66a8, #112f43b8); box-shadow: inset 0 0 0 2px #0c263d, 2px 3px 0 #0b2433a8; }
.room-window::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 3px solid #638494; }
.room-window::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 3px solid #638494; }
.room-fireplace { position: absolute; bottom: 8%; left: 8%; width: clamp(48px, 11%, 90px); height: clamp(62px, 34%, 95px); border: 6px solid #9c7557; border-radius: 8px 8px 4px 4px; background: radial-gradient(ellipse at 50% 70%, #b45f2a 0 20%, #38271e 45%, #0a1b28 75%); box-shadow: 0 0 16px #f2992e66, 3px 4px 0 #0c1e2a; display: none; }
.room-fireplace::after { content: ""; position: absolute; left: 29%; bottom: 12%; width: 42%; height: 66%; border-radius: 70% 10% 50% 50%; background: linear-gradient(25deg, #c84e20, #ffae40 70%, #ffe6a0); box-shadow: 0 0 18px #f2992e99; transform: rotate(18deg); }
.walk-visual[data-environment="indoor"] .room-view, .walk-visual[data-fireplace="true"] .room-fireplace { display: block; }
.walk-visual[data-fireplace="true"][data-environment="outdoor"] .room-view { display: block; border: 0; box-shadow: none; }
.walk-visual[data-environment="outdoor"] .room-window { display: none; }
.path-way { position: absolute; inset: 0 4%; clip-path: polygon(43% 0, 57% 0, 95% 100%, 5% 100%); background: repeating-linear-gradient(180deg, #b8e6f128 0 2px, transparent 2px 46px), linear-gradient(180deg, #1b4c66, #24617d); background-size: 100% 48px, auto; animation-name: path-flow; animation-duration: var(--walk-duration); animation-timing-function: linear; animation-iteration-count: infinite; animation-play-state: paused; }
.walk-visual[data-moving="true"] .path-way { animation-play-state: running; }
@keyframes path-flow { to { background-position-y: 48px, 0; } }
.distant-road { position: absolute; top: 13%; right: 4%; width: 31%; height: 15%; overflow: hidden; border-block: 2px solid #8eb8bd6b; background: #102636; transform: skewY(-3deg); }
.road-stripe { position: absolute; top: 48%; left: 0; width: 100%; border-top: 1px dashed #d9e8db70; }
.traffic-car { position: absolute; left: 15%; width: 21px; height: 9px; border: 1px solid #a8d1da; border-radius: 3px 5px 2px 2px; background: #62a7bd; box-shadow: 0 2px 0 #071827; animation-name: car-pass; animation-duration: var(--traffic-duration); animation-timing-function: linear; animation-iteration-count: infinite; animation-play-state: paused; }
.traffic-car::before { content: ""; position: absolute; top: 1px; left: 5px; width: 8px; height: 3px; border-radius: 2px; background: #e2f3e4b8; }
.car-one { top: 15%; }
.car-two { top: 62%; background: #d3b177; animation-direction: reverse; }
@keyframes car-pass { 0% { left: -15%; opacity: 0; } 12%, 85% { opacity: 1; } 100% { left: 110%; opacity: 0; } }
.path-object { position: absolute; top: var(--rest-top); left: var(--x); z-index: 1; display: block; transform: translate(-50%, -50%); animation-name: object-flow; animation-duration: var(--object-duration); animation-timing-function: linear; animation-iteration-count: infinite; animation-play-state: paused; }
.flower { width: 9px; height: 9px; border: 2px solid #edc79d; border-radius: 45% 55% 45% 55%; background: #c48c68; box-shadow: 5px 0 #dfb78d, -4px 1px #dfb78d, 0 5px #dfb78d; }
.flower::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; background: #794b38; }
.leaf { width: 14px; height: 7px; border: 1px solid #afd29f; border-radius: 85% 0 85% 0; background: #75a383; rotate: -28deg; }
.leaf::after { content: ""; position: absolute; top: 45%; left: 2px; width: 9px; border-top: 1px solid #d3dfb5; transform: rotate(-20deg); }
.pebble { width: 11px; height: 7px; border: 1px solid #b8d5d5; border-radius: 55% 45% 50% 42%; background: #7aa4ae; rotate: 20deg; }
.flower-one { --x: 48%; --rest-top: 30%; }
.flower-two { --x: 57%; --rest-top: 68%; }
.leaf-one { --x: 54%; --rest-top: 42%; }
.leaf-two { --x: 42%; --rest-top: 77%; }
.pebble-one { --x: 47%; --rest-top: 56%; }
.pebble-two { --x: 61%; --rest-top: 82%; }
@keyframes object-flow { 0% { top: -8%; opacity: 0; scale: .45; } 13%, 87% { opacity: .95; } 100% { top: 108%; opacity: 0; scale: 1.65; } }
.walk-visual[data-moving="true"] .path-object, .walk-visual[data-moving="true"] .traffic-car { animation-play-state: running; }
.walk-visual[data-playing="true"][data-traffic="true"] .traffic-car { animation-play-state: running; }
.walk-visual[data-animate="false"] .path-way, .walk-visual[data-animate="false"] .path-object, .walk-visual[data-animate="false"] .traffic-car { animation: none; }
.walk-visual[data-environment="indoor"] { background: linear-gradient(180deg, #223e50 0 29%, #8098a0 29.2%, #263f4c 31%, #344e5a 100%); }
.walk-visual[data-environment="indoor"]::before { inset: 30% 4% 0; border-top: 4px solid #8fa8a8; background: repeating-linear-gradient(90deg, #b7c5ba10 0 2px, transparent 3px 45px), linear-gradient(180deg, #3d5964, #273e4d); box-shadow: inset 0 14px 20px #10233066; }
.walk-visual[data-environment="indoor"] .path-way { inset: 32% 17% 11%; clip-path: none; border: 8px double #c59d73; border-radius: 50%; background: repeating-linear-gradient(0deg, #c49b721f 0 2px, transparent 2px 5px), repeating-linear-gradient(90deg, #d5ad7e1a 0 2px, transparent 2px 5px), radial-gradient(ellipse, #9b6d58 0 40%, #72514c 64%, #384b51 100%); box-shadow: 0 7px 14px #0b202b88, inset 0 0 0 3px #2c5660, inset 0 0 0 9px #c39c7399; animation: none; }
.walk-visual[data-environment="indoor"] .path-object { animation: none; opacity: .85; scale: .9; }
.walk-visual[data-environment="indoor"] .walk-marker { z-index: 4; bottom: auto; left: calc(50% + var(--room-orbit-x, 0%)); top: calc(59% + var(--room-orbit-y, 23%)); transform: translate(-50%, -50%); }
.walk-visual[data-environment="indoor"][data-animate="false"] .walk-marker { left: 50%; top: 82%; }
.walk-visual[data-environment="indoor"] .distant-road { top: 17%; right: 11%; width: 17%; height: 13%; border: 0; }
.walk-visual[data-traffic="false"] .distant-road, .walk-visual[data-flower="false"] .flower, .walk-visual[data-leaf="false"] .leaf, .walk-visual[data-pebble="false"] .pebble { display: none; }
.visual-summary { margin: -.35rem 0 .25rem; color: #bde1e4; font-size: .68rem; line-height: 1.3; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.walk-marker { position: absolute; bottom: 15%; left: 50%; display: grid; place-items: center; width: 18px; height: 18px; border: 3px solid #ffcd87; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px #f2992e30, 0 0 18px #f2992e; transform: translateX(-50%); }
.walk-marker span { position: absolute; top: calc(100% + 8px); color: #f5f8f5; font-size: .59rem; font-weight: 800; letter-spacing: .14em; }
.screen-caption { margin-top: auto; padding: .5rem .1rem 0; }
.screen-caption p { margin: .2rem 0; }
.stage-status { color: var(--paper); font-size: 1.24rem; font-weight: 750; }
.stage-substatus { color: #d0e4e7; font-size: .82rem; }
.radio-console { min-height: 106px; margin-top: .65rem; padding: .55rem; border: 1px solid #aa7a52; border-radius: 7px; background: repeating-linear-gradient(1deg, #d39b6724 0 1px, transparent 1px 6px, #23130d55 7px 8px, transparent 9px 15px), linear-gradient(110deg, #432c1d, #6f472d 48%, #382419); box-shadow: inset 0 1px #e3b48085, inset 0 0 0 3px #281a15, 0 4px 8px #120d0cb3; }
.speaker-grille { position: relative; width: 100%; height: 88px; min-width: 0; overflow: hidden; border: 3px solid #96704e; border-radius: 5px; background: radial-gradient(circle, #071319 1.5px, transparent 1.8px) 0 0 / 7px 7px, linear-gradient(135deg, #435052, #1a2a2e 60%, #405054); box-shadow: inset 0 2px 12px #03090bdd, 0 1px #e4b9888c; }
.speaker-grille::before { content: ""; position: absolute; width: min(72%, 210px); aspect-ratio: 1; top: 50%; left: 50%; border: 1px solid #0a181e99; border-radius: 50%; background: radial-gradient(circle, #31494b33 0 20%, #08191e52 21% 38%, #54707630 39% 40%, #0b1a1d80 41% 66%, transparent 67%); transform: translate(-50%, -50%); pointer-events: none; }
.volume-console { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; padding: .1rem .35rem .1rem 0; border-right: 1px solid #d8a77872; }
.volume-console label { display: flex; flex-direction: column; align-items: center; color: #f3eee5; font-size: .62rem; font-weight: 750; letter-spacing: .02em; text-align: center; }
.volume-console output { color: var(--orange); font-variant-numeric: tabular-nums; }
.volume-dial-row { display: flex; align-items: center; justify-content: center; gap: .15rem; width: 100%; }
.volume-endpoint { color: #ead3ba; font-size: .49rem; font-weight: 700; letter-spacing: .02em; }
.rotary-control { position: relative; width: 60px; height: 60px; border: 3px solid #ba9066; border-radius: 50%; background: conic-gradient(from 225deg, #f2992e 0 90deg, #bb8562 90deg 270deg, #231911 270deg); box-shadow: inset 0 0 0 3px #2a201a, 0 2px 5px #130d0a; touch-action: none; }
.rotary-control:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.rotary-face { position: absolute; inset: 7px; border: 1px solid #d6c0a4; border-radius: 50%; background: radial-gradient(circle at 30% 26%, #adad9f, #575a56 52%, #272a29 78%); box-shadow: inset 0 1px 3px #f0e0c988, 1px 2px 3px #160f0f; }
.rotary-face::after { content: ""; position: absolute; top: 3px; left: calc(50% - 1.5px); width: 3px; height: 16px; border-radius: 3px; background: #f9c173; box-shadow: 0 0 4px #f2992e; transform: rotate(var(--knob-angle)); transform-origin: 50% 17px; }
.rotary-control input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: grab; touch-action: none; }
.rotary-control input:active { cursor: grabbing; }
.stage-metrics { display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; margin: .35rem 0 .7rem; padding: .3rem 0; border-bottom: 1px solid #91b4be75; }
.stage-metrics p { display: flex; align-items: baseline; gap: .4rem; margin: 0; }
.stage-metrics span { color: #cfdee4; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.stage-metrics strong { color: var(--paper); font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scene-transport { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: .45rem; margin: 0 0 .6rem; }
.scene-transport[hidden] { display: none; }
.scene-transport button { min-height: 48px; padding: .4rem .65rem; font-size: .84rem; }
#audio-error { grid-column: 1 / -1; margin: 0; padding: .35rem .5rem; border-left: 3px solid var(--orange); color: var(--paper); font-size: .75rem; }
#audio-error[hidden] { display: none; }
#trajectory-view h2 { margin: 1.2rem 0 .2rem; color: var(--paper); font: 1.5rem Georgia, serif; }
.track { position: relative; flex: 1; min-height: 210px; margin: 1.5rem 1.7rem 1rem; border-bottom: 2px solid #9bd8e1; background: repeating-linear-gradient(90deg, transparent 0 49px, #a9deeb18 50px 51px); }
#listener { position: absolute; bottom: -13px; left: 0; transform: translateX(-50%); color: var(--orange); font-size: 24px; }
.source { position: absolute; top: 24%; left: 50%; transform: translateX(-50%); white-space: nowrap; color: #9fe2ef; font-size: .9rem; font-weight: 700; }
.trajectory-legend { margin: .2rem 0 1rem; color: #d4e5e9; font-size: .75rem; }
.trajectory-legend span { padding-inline: .45rem; color: var(--orange); }
.track-hidden-note { display: grid; flex: 1; min-height: 210px; place-items: center; color: #d4e5e9; font: italic 1.1rem Georgia, serif; text-align: center; }
#trajectory-view .screen-caption { border-top: 1px solid #91b4be75; }
#trajectory-view #status { font-weight: 700; }
.telemetry-panel { margin: 1.2rem 0 0; padding: .95rem 1.2rem; border: 1px solid #ffffff3d; border-radius: 9px; color: #e7efec; }
.telemetry-panel summary { font-size: .88rem; font-weight: 700; }
.telemetry-content { max-width: 850px; font-size: .82rem; line-height: 1.55; }
.telemetry-content a { color: #a9e1f8; }
.audio-diagnostics { margin: .5rem 0 1rem; padding: .6rem; border: 1px solid #ffffff3d; border-radius: 5px; }
.audio-diagnostics summary { cursor: pointer; }
.audio-diagnostics .buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.audio-diagnostics button { padding: .45rem .7rem; font-size: .8rem; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; max-width: 1580px; margin: auto; padding: 1.2rem 1.5rem 2.2rem; border-top: 1px solid #ffffff2c; color: #c5d5d8; font-size: .78rem; }
@media (min-width: 791px) {
  main { padding-top: 1rem; }
  .studio-room { height: calc(100dvh - 28px); min-height: 440px; padding: 1.35rem .85rem .7rem; overflow: hidden; }
  .studio-layout { height: 100%; align-items: stretch; }
  .control-rail { height: 100%; overflow-y: auto; padding-right: .15rem; }
  .central-screen { position: static; display: flex; flex-direction: column; height: 100%; min-height: 0; padding: .75rem; overflow: hidden; }
  .screen-heading { margin-bottom: .55rem; }
  .screen-heading h1 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
  .screen-heading p { font-size: .78rem; }
  .soundstage { flex: 1; min-height: 0; padding: .45rem; border-width: 5px; }
  .window-view { flex: 1; min-height: 0; padding: .65rem; }
  .walk-visual { min-height: 0; margin: .45rem 0; }
  .track { min-height: 0; margin: .6rem 1rem .4rem; }
  .track-hidden-note { min-height: 0; }
  #trajectory-view h2 { margin: .45rem 0 0; font-size: clamp(1.05rem, 1.7vw, 1.5rem); }
  .trajectory-legend { margin-bottom: .35rem; }
  .radio-console { min-height: 98px; margin-top: .45rem; }
}
@media (max-width: 790px) {
  .studio-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .central-screen { grid-column: 1 / -1; grid-row: 1; position: static; }
  .rail-left { grid-column: 1; grid-row: 2; }
  .rail-right { grid-column: 2; grid-row: 2; }
  .soundstage { min-height: 470px; }
}
@media (max-width: 650px) {
  .site-header-inner { padding-inline: .8rem; }
  main { padding: .65rem .65rem 2.5rem; }
  .studio-room { padding: 1.9rem .55rem .8rem; border-radius: 12px; }
  .studio-layout { display: flex; flex-direction: column; }
  .central-screen, .control-rail { width: 100%; }
  .central-screen { order: 0; padding: .9rem; }
  .rail-left { order: 1; }
  .rail-right { order: 2; }
  .screen-heading h1 { font-size: 1.9rem; }
  .soundstage { min-height: 400px; padding: .45rem; border-width: 5px; }
  .window-view { min-height: 270px; padding: .7rem; }
  .walk-visual { min-height: 190px; }
  .radio-console { min-height: 82px; }
  .speaker-grille { height: 64px; }
  .scene-transport { grid-template-columns: 100px minmax(0, 1fr) auto; }
  .scene-transport button { font-size: .76rem; }
  .track { min-height: 150px; margin-inline: 1rem; }
  .track-hidden-note { min-height: 150px; }
  .control-drawer > summary { min-height: 54px; }
  .site-footer { flex-direction: column; padding-inline: 1rem; }
}
@media (max-width: 380px) {
  .site-header-inner { gap: .35rem; }
  .product-mark { font-size: .72rem; }
  .rebojar-mark { font-size: 1.05rem; }
  .rebojar-mark span { display: none; }
  .screen-heading h1 { font-size: 1.55rem; }
  .motion-choice { font-size: .62rem; }
  .scene-transport { grid-template-columns: 94px minmax(0, 1fr) auto; gap: .3rem; }
  .scene-transport button { padding-inline: .35rem; font-size: .68rem; }
  .volume-console label { font-size: .54rem; }
  .volume-endpoint { font-size: .43rem; }
  .rotary-control { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { transition: none; }
  button:hover:not(:disabled), button:active:not(:disabled) { transform: none; }
}
@media (forced-colors: active) {
  .studio-room, .central-screen, .soundstage, .window-view, .control-drawer { border: 1px solid CanvasText; }
  .choice input, input[type="range"] { appearance: auto; }
  .choice input:checked::after { display: none; }
}
