/* Compact controls and the selected inscription identity. */
.header{z-index:5;padding:30px 5.3%;gap:16px}
.instruments{display:flex;align-items:center;gap:7px}
.instrument-button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:40px;height:40px;border:1px solid transparent;border-radius:50%;background:transparent;color:#b7cbd0;font-size:10px;padding:0}
.instrument-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}
.instrument-button:hover{background:#d7af620c;color:var(--sand);border-color:#d7af6226}
#motion{border-radius:30px;padding:0 10px}#motion[aria-pressed="false"]{color:var(--sand)}#motion[aria-pressed="false"] svg{opacity:.5}
.seal-button{color:var(--sand);margin-left:3px}.seal-button svg{width:28px;height:28px;stroke-width:.85}
.seal-center{fill:#d7af6212}.seal-button[aria-pressed="true"] .seal-center{fill:#d7af6240}.seal-ring{opacity:.65}
.about-link{color:#94b0b9}
.sound-instrument{position:relative}
.sound-switch{display:flex;align-items:center;height:34px;border:1px solid #b8d2dc30;border-radius:30px;background:#05192270}
.play-button{width:33px;height:32px;min-height:0;display:grid;place-items:center;border:0;border-radius:50%;color:var(--sand);background:transparent}
.play-button svg{width:13px;height:13px;fill:currentColor}.play-button:hover{background:#d7af621a}
.sound-toggle{height:32px;display:flex;align-items:center;gap:9px;padding:0 12px 0 3px;background:transparent;color:#c6d6da;font-size:10px;white-space:nowrap}
.sound-toggle svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.2;transition:transform .2s}.sound-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.sound-panel{position:absolute;top:48px;right:0;max-width:none;width:290px;padding:14px;border:1px solid #b2cdd636;border-radius:12px;background:rgba(5,23,31,.96);box-shadow:0 12px 40px #0005;backdrop-filter:blur(18px)}
.panel-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.15em;text-transform:uppercase;color:#b3c8cf;margin:0 0 9px 3px}
.panel-heading button{background:none;font-size:21px;color:#a9bec5;width:28px;height:28px;line-height:1}
.track-options{flex-direction:column;gap:6px}
.track{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:11px 10px;background:transparent;border:1px solid transparent;border-radius:7px;color:#c4d4d8;font-size:12px;line-height:1.4;white-space:normal;min-height:55px}
.track span{margin:0;font-size:inherit;color:inherit}.track>span:first-child{font-family:Georgia,serif;font-size:13px;color:#a6bcc3}
.track small{display:block;color:#9cb5be;font-size:9px;margin-top:4px}
.track.active{background:#d7af620d;border-color:#d7af6238;color:var(--cream)}.track.active>span:first-child{color:var(--sand)}.track:hover{background:#d7af620d}
.track .track-dot{width:4px;height:4px;border-radius:50%;background:transparent;margin-left:auto;flex-shrink:0}.track.active .track-dot{background:var(--sand)}
.sound-bottom{display:flex;align-items:center;justify-content:space-between;padding:13px 2px 1px;gap:12px}.volume{display:flex;align-items:center;gap:7px}.volume svg{width:14px;height:14px}.volume input{width:83px;height:20px}
.sketch-label{font-size:8px;color:#93acb5;letter-spacing:.03em}
.dek{margin-bottom:0}.study-footer{position:absolute;bottom:26px;right:5.3%}
.form-caption{font-size:9px}.state-dot{width:3px;height:3px}
.shade{background:linear-gradient(90deg,rgba(3,14,19,.33),transparent 61%),linear-gradient(0deg,rgba(2,11,16,.48),transparent 25%,transparent 83%,rgba(2,11,16,.24))}
dialog a{color:var(--sand);display:inline-block;margin-top:10px;text-underline-offset:4px}
@media(max-width:760px){
.stage{min-height:620px}.header{padding:19px 22px;gap:10px}.wordmark{font-size:22px}
.instruments{gap:2px}.instrument-button{min-width:34px;height:38px}#motion{padding:0 6px}#motion-label{display:none}
.sound-toggle{font-size:9px;gap:6px;padding-right:9px}.sound-switch{height:32px}.play-button{width:27px;height:30px}.sound-toggle{height:30px}
.seal-button{margin-left:0}.seal-button svg{width:25px;height:25px}.about-link svg{width:17px;height:17px}
.sound-panel{position:fixed;right:18px;top:70px;width:min(290px,calc(100vw - 36px));max-width:none}
.introduction{top:20%}.form-caption{font-size:8px}
.shade{background:linear-gradient(0deg,#020c1360,transparent 30%,rgba(3,14,19,.1) 70%),linear-gradient(90deg,#03131944,transparent)}
}
@media(max-width:400px){
.header{padding:18px 15px}.wordmark{font-size:19px}.wordmark span{font-size:18px}
.instruments{gap:0}.instrument-button{min-width:31px}.sound-toggle{font-size:8px;padding-right:7px}.about-link{min-width:28px}.seal-button svg{width:24px}.volume{display:flex}
}
@media(max-width:350px){#music-state{display:none}.sound-toggle{padding:0 7px 0 3px}.wordmark{font-size:18px}.wordmark span{font-size:17px}}

/* Keep the custom mark separate from the readable interface typography. */
.wordmark{display:block;flex:0 0 auto;width:180px;line-height:0}
.wordmark img{display:block;width:100%;height:auto}
h1{font-family:Palatino,"Palatino Linotype",Georgia,serif;letter-spacing:-.035em;font-weight:400}
@media(max-width:760px){.wordmark{width:145px}}
@media(max-width:400px){.wordmark{width:125px}}
@media(max-width:350px){.wordmark{width:112px}}

