@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Noto+Serif+TC:wght@400;500;600&family=DM+Sans:wght@400;500;600;700&display=swap');

:root { --bg: #101218; --panel: #15171e; --ink: #e9e5dd; --muted: #94959f; --dim: #666a77; --line: #ffffff12; --warm: #e7b982; --serif: 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif; --sans: 'DM Sans', 'PingFang TC', 'Microsoft JhengHei', sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 13px/1.6 var(--sans); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button { border: 0; }
button:disabled { cursor: default; opacity: .3; }
button, a, select { touch-action: manipulation; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--warm); outline-offset: 5px; }
button:not(:disabled):hover { color: white; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.app-shell { max-width: 1800px; min-height: 100svh; padding: 0 44px; margin: auto; display: flex; flex-direction: column; }
.topbar { height: 111px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 47px; height: 47px; color: var(--warm); stroke-width: 1; }
.brand > span { font-size: 18px; letter-spacing: 3.5px; font-weight: 500; }
.brand small { display: block; font-size: 9px; color: var(--muted); letter-spacing: 4px; margin-top: 1px; }
.header-note { font-size: 9px; color: #8d8c94; letter-spacing: 2px; margin-left: auto; margin-right: 42px; }
.tiny-star { color: var(--warm); font-size: 17px; vertical-align: middle; margin-right: 8px; }
.header-actions { display: flex; align-items: center; gap: 17px; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; background: transparent; color: var(--muted); }
.save-button { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #ffffff26; border-radius: 5px; background: #ffffff03; font-size: 11px; letter-spacing: 1px; }
.save-button svg { width: 15px; height: 15px; }
.save-button:hover { border-color: #e7b98288; background: #e7b98209; }
.help-button { border: 1px solid #ffffff36; border-radius: 50%; width: 21px; height: 21px; display: grid; place-items: center; color: var(--muted); background: none; font-size: 12px; padding: 0; }
main { flex: 1; display: grid; grid-template-columns: 250px minmax(390px, 1fr) 180px; gap: 20px; align-items: center; padding: 34px 0 30px; }
.intro-panel { align-self: stretch; padding-top: 35px; display: flex; flex-direction: column; }
.eyebrow { font-size: 8px; letter-spacing: 1.7px; color: var(--warm); display: flex; align-items: center; gap: 7px; }
.eyebrow > span { display: inline-block; width: 15px; height: 1px; background: currentColor; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(31px, 2.8vw, 46px); line-height: 1.6; letter-spacing: .015em; margin: 22px 0 16px; }
.serif-accent { color: var(--warm); }
.intro-copy { color: var(--muted); line-height: 2.1; font-size: 12px; letter-spacing: .7px; margin: 0; }
.scene-section { margin-top: 46px; }
.section-label { font-size: 11px; letter-spacing: 1px; font-weight: 400; margin: 0 0 17px; display: flex; align-items: center; justify-content: space-between; }
.section-label > span { font-size: 8px; letter-spacing: 1.5px; color: var(--dim); }
.scenes { display: grid; gap: 4px; }
.scene-button { width: 100%; text-align: left; display: grid; grid-template-columns: 20px 1fr 15px; align-items: center; gap: 13px; border-radius: 5px; padding: 12px 13px; border: 1px solid transparent; background: transparent; transition: background .25s, border-color .25s; }
.scene-button .scene-number { font-size: 10px; color: var(--dim); font-family: 'Cormorant Garamond', serif; font-style: italic; }
.scene-button .scene-name { font-size: 12px; letter-spacing: .8px; }
.scene-button .scene-name small { display: block; font: italic 13px/1.5 'Cormorant Garamond', Georgia, serif; color: var(--muted); letter-spacing: .3px; }
.scene-button .scene-indicator { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.scene-button[aria-pressed="true"] { background: #e7b98208; border-color: #e7b9822a; }
.scene-button[aria-pressed="true"] .scene-name { color: var(--warm); }
.scene-button[aria-pressed="true"] .scene-indicator { background: var(--warm); box-shadow: 0 0 10px #e7b98255; }
.scene-button:hover { background: #ffffff06; }
.field-note { margin-top: auto; padding-top: 43px; padding-bottom: 7px; color: var(--muted); }
.field-note-star { color: #a89b8e; font-size: 25px; }
.field-note p { font-family: var(--serif); font-size: 10px; letter-spacing: .3px; }
.field-note-rule { width: 24px; height: 1px; display: block; background: #ffffff2c; margin: 16px 0 12px; }
.field-note .note-caption { font-size: 10px; line-height: 1.9; color: var(--dim); }
.universe-panel { width: 100%; min-width: 0; max-width: min(100%, max(400px, calc(100svh - 320px))); justify-self: center; align-self: center; }
.universe-topline { display: flex; align-items: center; justify-content: space-between; margin: 0 28px; color: var(--muted); font-size: 9px; letter-spacing: .5px; }
.universe-topline > span { display: flex; align-items: center; gap: 7px; }
.universe-topline > span:last-child { font-size: 8px; letter-spacing: 1.4px; color: var(--dim); }
#live-dot { width: 4px; height: 4px; border-radius: 50%; background: #777d89; }
body.is-playing #live-dot { background: #99cbc0; box-shadow: 0 0 7px #99cbc088; }
.universe { width: 100%; aspect-ratio: 1; position: relative; isolation: isolate; }
#orbits { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.star-buttons { position: absolute; inset: 0; }
.star-step { position: absolute; width: 30px; height: 30px; margin-left: -15px; margin-top: -15px; display: grid; place-items: center; border-radius: 50%; background: none; padding: 0; outline-offset: 0 !important; }
.star-step::before { content: ''; width: 4px; height: 4px; background: color-mix(in srgb, var(--color) 22%, #17191e); border: 1px solid color-mix(in srgb, var(--color) 35%, transparent); border-radius: 50%; transition: transform .25s, background .25s, box-shadow .3s; }
.star-step[aria-pressed="true"]::before { width: 7px; height: 7px; border: 1px solid color-mix(in srgb, var(--color) 60%, white); background: var(--color); box-shadow: 0 0 10px color-mix(in srgb, var(--color) 35%, transparent); }
.star-step[aria-pressed="true"]::after { position: absolute; content: ''; width: 15px; height: 15px; border: 1px solid color-mix(in srgb, var(--color) 16%, transparent); border-radius: 50%; }
.star-step:hover::before, .star-step:focus-visible::before { transform: scale(1.5); background: var(--color); box-shadow: 0 0 14px color-mix(in srgb, var(--color) 50%, transparent); }
.star-step.is-muted { opacity: .25; }
.star-step.hit::before { background: white; box-shadow: 0 0 20px var(--color), 0 0 35px var(--color); transform: scale(1.6); }
.compass { position: absolute; color: #555867; font-size: 8px; letter-spacing: 2px; pointer-events: none; }
.north { top: 1.5%; left: 50%; transform: translateX(-50%); }.south { bottom: 1.5%; left: 50%; transform: translateX(-50%); }.east { right: 1%; top: 50%; transform: translateY(-50%); }.west { left: 1%; top: 50%; transform: translateY(-50%); }
.sun-button { width: 76px; height: 76px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0; border-radius: 50%; background: none; display: grid; place-items: center; }
.sun-core { display: block; width: 33px; height: 33px; border-radius: 50%; background: radial-gradient(circle at 33% 28%, #fff2cf, #e7b982 45%, #a67142 100%); box-shadow: 0 0 28px #e7b98235, 0 0 65px #e7b98212; transition: transform .4s; }
.sun-corona { position: absolute; inset: 6px; border: 1px solid #e7b98213; border-radius: 50%; }
.sun-corona::after { content: ''; position: absolute; inset: 7px; border: 1px solid #e7b98220; border-radius: 50%; }
.sun-button:hover .sun-core { transform: scale(1.12); }
body.is-playing .sun-corona { animation: breathe 4s ease-in-out infinite; }
.center-caption { position: absolute; top: calc(50% + 47px); left: 50%; transform: translateX(-50%); text-align: center; pointer-events: none; white-space: nowrap; }
.center-caption span:first-child { display: block; font-size: 6px; letter-spacing: 1.4px; color: #a28f77; }
.center-caption span:last-child { display: block; font-size: 7px; margin-top: 5px; letter-spacing: 1px; color: #656570; }
.note-tooltip { position: absolute; transform: translate(-50%, -135%); pointer-events: none; padding: 4px 9px; background: #20232dee; border: 1px solid #ffffff16; color: var(--ink); border-radius: 3px; font-size: 10px; opacity: 0; white-space: nowrap; transition: opacity .12s; }
.note-tooltip.is-visible { opacity: 1; }
.universe-caption { text-align: center; font-size: 10px; color: var(--muted); letter-spacing: .7px; display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 1px; }
.caption-dash { display: inline-block; width: 18px; height: 1px; background: #ffffff1b; }
.sound-panel { align-self: center; padding-left: 15px; }
.sound-hint { color: var(--dim); font-size: 10px; margin: -7px 0 28px; }
.tracks { display: grid; gap: 22px; }
.track { display: grid; grid-template-columns: 1fr 31px; gap: 9px; align-items: center; }
.track-info { display: flex; gap: 11px; align-items: center; }
.track-symbol { width: 24px; height: 24px; border: 1px solid color-mix(in srgb, var(--color) 24%, transparent); border-radius: 50%; position: relative; display: grid; place-items: center; }
.track-symbol::before { content: ''; display: block; width: 4px; height: 4px; background: var(--color); border-radius: 50%; }
.track-symbol::after { content: ''; position: absolute; width: 3px; height: 3px; top: -1px; left: 6px; border-radius: 50%; background: var(--color); }
.track-name { font-size: 11px; color: var(--color); letter-spacing: 1px; }
.track-name small { color: var(--dim); display: block; font-size: 7px; letter-spacing: .9px; margin-top: 2px; }
.track-toggle { position: relative; width: 30px; height: 32px; background: none; padding: 0; }
.track-toggle::before { content: ''; position: absolute; top: 9px; left: 0; width: 30px; height: 14px; border-radius: 12px; background: #ffffff0d; border: 1px solid #ffffff10; }
.track-toggle::after { content: ''; position: absolute; top: 13px; left: 5px; width: 8px; height: 8px; border-radius: 50%; background: #575962; transition: left .2s, background .2s; }
.track-toggle[aria-checked="true"]::before { background: color-mix(in srgb, var(--color) 13%, transparent); border-color: color-mix(in srgb, var(--color) 18%, transparent); }
.track-toggle[aria-checked="true"]::after { left: 18px; background: var(--color); }
.track.is-muted .track-info { opacity: .35; }
.track-meter { display: flex; gap: 3px; grid-column: 1 / -1; padding-left: 35px; margin-top: -5px; }
.track-meter span { height: 2px; flex: 1; background: #ffffff0b; border-radius: 2px; }
.track-meter span.on { background: color-mix(in srgb, var(--color) 65%, transparent); }
.track-meter span.current { background: white; box-shadow: 0 0 5px var(--color); }
.atmosphere { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 24px; }
.atmosphere .section-label { margin-bottom: 8px; }
.range-endpoints { display: flex; justify-content: space-between; color: var(--dim); font-size: 9px; }
.orbit-legend { display: flex; gap: 10px; align-items: center; color: var(--dim); font-size: 9px; margin-top: 24px; line-height: 1.9; }
.legend-planet { width: 4px; height: 4px; border-radius: 50%; background: #ddd; box-shadow: -3px 0 7px #ddd8; }
.console { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 64px); border: 1px solid #ffffff12; border-radius: 10px; padding: 24px 27px; background: linear-gradient(110deg, #1d1d2488, #181a2288); position: relative; }
.transport { display: flex; align-items: center; gap: 16px; min-width: 180px; }
.play-button { width: 51px; height: 51px; border-radius: 50%; background: var(--warm); color: #352518; display: grid; place-items: center; box-shadow: 0 0 28px #e7b9820c; transition: transform .2s, box-shadow .2s; }
.play-button:hover { color: #352518 !important; box-shadow: 0 0 24px #e7b98230; transform: scale(1.04); }
.play-button svg { width: 23px; height: 23px; }
.play-label { display: block; font-size: 12px; letter-spacing: 1px; }
.keyboard-hint { display: block; font-size: 8px; color: var(--dim); margin-top: 5px; }
kbd { font: 7px/1.2 var(--sans); letter-spacing: 1px; border: 1px solid #ffffff24; border-radius: 3px; padding: 2px 4px; margin-right: 3px; }
.tempo-control { flex: 1; min-width: 130px; max-width: 225px; }
.control-heading { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--muted); }
.control-heading output { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.control-heading small { font-size: 8px; color: var(--dim); margin-left: 4px; }
input[type="range"] { appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; margin: 4px 0 0; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, #a9957b var(--fill), #ffffff15 var(--fill)); height: 2px; border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 7px; height: 7px; border-radius: 50%; background: #e2d4bd; margin-top: -2.5px; box-shadow: 0 0 0 4px #e7b98209; }
input[type="range"]::-moz-range-track { background: #ffffff15; height: 2px; }
input[type="range"]::-moz-range-progress { background: #a9957b; height: 2px; }
input[type="range"]::-moz-range-thumb { border: 0; height: 8px; width: 8px; border-radius: 50%; background: #e2d4bd; }
.scale-control { min-width: 145px; }
.scale-control > label { color: var(--muted); font-size: 10px; display: block; margin-bottom: 5px; }
.scale-picker { position: relative; --mood-color: var(--warm); }
.scale-trigger { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #ffffff1c; border-radius: 6px; background: #ffffff04; color: var(--ink); font-size: 11px; text-align: left; white-space: nowrap; transition: border-color .18s, background .18s; }
.scale-trigger:hover, .scale-trigger[aria-expanded="true"] { border-color: #e7b98266; background: #e7b98208; }
.scale-trigger > svg { width: 13px; height: 13px; margin-left: auto; color: var(--muted); transition: transform .18s; }
.scale-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); color: var(--warm); }
.mood-dot { display: block; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--mood-color); box-shadow: 0 0 9px color-mix(in srgb, var(--mood-color) 30%, transparent); }
.scale-menu { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 12; width: 244px; max-width: calc(100vw - 60px); padding: 6px; border: 1px solid #e7b98230; border-radius: 9px; background: #1b1d25; box-shadow: 0 12px 40px #0008, 0 1px 0 #ffffff06 inset; }
.scale-menu[hidden] { display: none; }
.scale-menu > button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 10px; border: 1px solid transparent; border-radius: 5px; background: none; text-align: left; }
.scale-menu > button + button { margin-top: 3px; }
.scale-menu > button:hover, .scale-menu > button:focus-visible { background: #ffffff06; outline: none; border-color: #ffffff26; }
.scale-menu > button[aria-selected="true"] { background: #e7b9820b; border-color: #e7b98222; }
.scale-option-name { display: block; color: var(--ink); font-size: 12px; letter-spacing: .2px; }
.scale-menu small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: .2px; }
.scale-menu button > svg { width: 13px; height: 13px; margin-left: auto; color: var(--warm); visibility: hidden; }
.scale-menu button[aria-selected="true"] > svg { visibility: visible; }
.volume-control { display: flex; align-items: center; gap: 11px; width: 100px; }
.volume-control label { height: 18px; color: var(--dim); }
.volume-control svg { width: 17px; height: 17px; }
.volume-control input { margin: 0; }
.creative-actions { margin-left: auto; border-left: 1px solid var(--line); padding-left: 25px; text-align: center; }
.randomize-button { display: flex; gap: 9px; align-items: center; font-size: 11px; white-space: nowrap; background: none; letter-spacing: .6px; padding: 0; }
.randomize-button svg { width: 16px; height: 16px; color: var(--warm); }
.creative-actions > div { margin-top: 9px; display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--dim); font-size: 9px; }
.text-button { background: none; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; padding: 0; font-size: 9px; }
.text-button svg { width: 12px; height: 12px; }
.bottom-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #60636e; font-size: 8px; letter-spacing: 1px; padding: 19px 3px 22px; }
.bottom-line > span:nth-child(2) { font-size: 9px; letter-spacing: .3px; }
.bottom-line .tiny-star { font-size: 12px; margin: 0 5px; color: #746451; }
.toast { position: fixed; bottom: 33px; left: 50%; transform: translate(-50%, 12px); background: #29272a; color: #f1e5d5; border: 1px solid #e7b98238; border-radius: 7px; padding: 12px 22px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 20; max-width: calc(100vw - 30px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.help-dialog { background: #171920; color: var(--ink); border: 1px solid #e7b98233; border-radius: 12px; max-width: 560px; width: calc(100% - 32px); padding: 44px; box-shadow: 0 30px 120px #0009; max-height: calc(100svh - 36px); }
.help-dialog::backdrop { background: #080a10c9; backdrop-filter: blur(7px); }
.close-help { position: absolute; top: 12px; right: 12px; }
.help-dialog h2 { font: 400 24px/1.7 var(--serif); margin: 18px 0 12px; }
.help-dialog > p { color: var(--muted); font-size: 12px; line-height: 1.9; }
.help-dialog ol { list-style: none; padding: 0; margin: 28px 0; counter-reset: guide; }
.help-dialog li { position: relative; padding-left: 33px; margin: 18px 0; counter-increment: guide; }
.help-dialog li::before { content: '0' counter(guide); position: absolute; left: 0; top: 0; font: italic 17px 'Cormorant Garamond', serif; color: var(--warm); }
.help-dialog strong { display: block; color: var(--warm); font-size: 12px; font-weight: 400; margin-bottom: 4px; }.help-dialog li span { font-size: 11px; color: var(--muted); }
.help-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 21px; font-size: 10px; color: var(--muted); }
.help-dialog .help-footnote { font-size: 10px; margin-top: 20px; }
.dialog-action { display: flex; align-items: center; gap: 15px; padding: 11px 17px; background: #e7b98217; border: 1px solid #e7b98244; color: var(--warm); border-radius: 5px; font-size: 11px; margin-top: 25px; }
.dialog-action svg { width: 16px; height: 16px; }
.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; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .5; } }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.intro-panel, .sound-panel, .console { animation: arrive .9s both; }.sound-panel { animation-delay: .12s; }.console { animation-delay: .2s; }
@media (min-width: 1500px) { main { grid-template-columns: 285px minmax(500px, 1fr) 200px; gap: 30px; } .universe-panel { max-width: min(820px, max(480px, calc(100svh - 320px))); } .app-shell { padding: 0 60px; } h1 { font-size: 46px; } .intro-panel { padding-top: 48px; } }
@media (max-width: 1180px) { .app-shell { padding: 0 27px; } .header-note { display: none; } main { grid-template-columns: 205px minmax(330px, 1fr) 145px; gap: 12px; } h1 { font-size: 31px; } .eyebrow { font-size: 6.5px; letter-spacing: 1px; } .sound-panel { padding-left: 4px; } .console { gap: 25px; padding: 22px; }.transport { min-width: 160px; }.volume-control { display: none; }.scene-section { margin-top: 33px; }.field-note { padding-top: 20px; }.universe-topline { margin: 0 15px; }.universe-topline > span:last-child { display: none; } .center-caption { top: calc(50% + 39px); }.center-caption span:first-child { font-size: 5px; letter-spacing: .6px; }.center-caption span:last-child { font-size: 6px; }.sun-core { width: 27px; height: 27px; }.sun-button { width: 62px; height: 62px; }.universe-caption { font-size: 8px; gap: 6px; } }
@media (max-width: 850px) { .app-shell { padding: 0 23px; }.topbar { height: 89px; }.brand > span { font-size: 15px; letter-spacing: 2.5px; }.brand-mark { width: 39px; height: 39px; } main { grid-template-columns: 190px minmax(330px, 1fr); padding-top: 22px; gap: 12px; }.intro-panel { padding-top: 10px; } h1 { font-size: 30px; margin-top: 18px; }.intro-copy { font-size: 10px; }.scene-section { margin-top: 23px; }.field-note { display: none; }.sound-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 135px; gap: 20px; padding: 12px 0 9px; border-top: 1px solid var(--line); margin-top: 17px; }.sound-panel > h2, .sound-hint, .orbit-legend { display: none; }.tracks { grid-template-columns: repeat(4, 1fr); gap: 16px; }.track { grid-template-columns: 1fr; gap: 0; position: relative; }.track-toggle { position: absolute; right: -3px; top: 0; transform: scale(.8); }.track-info { gap: 7px; }.track-symbol { width: 19px; height: 19px; }.track-name small { font-size: 6px; }.track-meter { padding-left: 0; margin-top: 9px; }.atmosphere { margin: 0; padding: 0 0 0 18px; border: 0; border-left: 1px solid var(--line); }.atmosphere .section-label { margin-bottom: 0; font-size: 9px; }.range-endpoints { display: none; }.console { gap: 20px; padding: 20px; }.transport { min-width: 136px; gap: 12px; }.play-button { width: 44px; height: 44px; }.tempo-control { min-width: 100px; }.scale-control { min-width: 116px; }.creative-actions { padding-left: 17px; }.randomize-button { font-size: 10px; gap: 6px; }.bottom-line { font-size: 6px; }.bottom-line > span:nth-child(2) { font-size: 8px; } }
@media (max-width: 620px) { .app-shell { padding: 0 20px; }.topbar { height: 81px; gap: 10px; }.brand { gap: 7px; }.brand > span { font-size: 13px; letter-spacing: 2px; }.brand small { font-size: 7px; letter-spacing: 3px; }.brand-mark { width: 33px; height: 33px; }.header-actions { gap: 10px; }.save-button { padding: 7px; border: 0; }.save-button span { display: none; }.save-button svg { width: 18px; height: 18px; }.header-actions .icon-button { width: 26px; }.help-button { width: 19px; height: 19px; }.intro-panel { display: block; padding-top: 6px; }.eyebrow { font-size: 7px; letter-spacing: 1.5px; } main { display: flex; flex-direction: column; padding-top: 22px; gap: 0; }.intro-panel { width: 100%; position: relative; }.intro-panel h1 { font-size: 28px; line-height: 1.6; margin: 12px 0 6px; }.intro-panel h1 br { display: none; }.intro-copy { font-size: 10px; line-height: 1.8; }.intro-copy br { display: none; }.scene-section { margin-top: 22px; }.scene-section h2 { display: none; }.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }.scene-button { display: block; padding: 8px 10px; border: 1px solid #ffffff10; }.scene-number, .scene-indicator { display: none; }.scene-button .scene-name { font-size: 10px; }.scene-button .scene-name small { font-size: 11px; }.universe-panel { width: calc(100% + 12px); margin: 24px -6px 0; }.universe-topline { font-size: 8px; margin: 0 16px; }.universe-topline > span:last-child { display: block; font-size: 6px; }.universe { margin: 8px 0; }.compass { font-size: 6px; }.star-step { width: 30px; height: 30px; }.star-step[aria-pressed="true"]::before { width: 6px; height: 6px; }.sun-button { width: 52px; height: 52px; }.sun-core { width: 25px; height: 25px; }.center-caption { top: calc(50% + 27px); }.center-caption span:first-child { font-size: 4px; letter-spacing: .7px; }.center-caption span:last-child { display: none; }.sound-panel { width: 100%; margin-top: 25px; padding-top: 18px; display: block; }.tracks { gap: 13px; }.track-info { gap: 6px; }.track-symbol { display: none; }.track-name { font-size: 10px; }.track-name small { font-size: 6px; }.track-toggle { right: 0; top: -4px; }.track-meter { margin-top: 9px; gap: 2px; }.atmosphere { display: none; }.console { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 27px; padding: 20px; }.transport { min-width: 0; }.play-button { width: 46px; height: 46px; }.play-label { font-size: 11px; }.keyboard-hint { font-size: 7px; }.keyboard-hint kbd { display: none; }.tempo-control { width: 100%; max-width: unset; }.scale-control { min-width: 0; padding-left: 2px; }.creative-actions { margin: 0; border: 0; padding: 0; text-align: left; }.creative-actions > div { justify-content: flex-start; }.randomize-button { font-size: 11px; }.bottom-line { padding-top: 17px; justify-content: center; }.bottom-line > span:first-child, .bottom-line > span:last-child { display: none; }.help-dialog { padding: 35px 25px; }.help-dialog h2 { font-size: 22px; }.help-shortcuts { gap: 9px; font-size: 9px; }.toast { bottom: 20px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (min-width: 851px) and (max-height: 850px) {
  .topbar { height: 80px; }
  main { padding: 22px 0; }
  .intro-panel { padding-top: 12px; }
  h1 { font-size: 32px; line-height: 1.5; margin: 14px 0 10px; }
  .intro-copy { font-size: 11px; }
  .scene-section { margin-top: 24px; }
  .scene-button { padding: 9px 12px; }
  .field-note { display: none; }
  .universe-panel { max-width: min(100%, max(360px, calc(100svh - 300px))); }
  .center-caption { top: calc(50% + 28px); }
  .center-caption span:first-child { font-size: 5px; letter-spacing: .7px; }
  .center-caption span:last-child { display: none; }
  .console { padding-top: 18px; padding-bottom: 18px; }
  .bottom-line { padding-top: 13px; padding-bottom: 16px; }
  .tracks { gap: 16px; }
  .atmosphere { margin-top: 25px; padding-top: 18px; }
  .orbit-legend { margin-top: 13px; }
}
