/* One permanent, theme-matched header across the library, desk, and results. */
body .topbar,body[data-screen] .topbar{
 display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;
 padding:8px max(18px,env(safe-area-inset-right)) 8px max(18px,env(safe-area-inset-left));
 padding-top:max(8px,env(safe-area-inset-top));min-height:62px;
 background:#21150fed;color:#fff0cf;border-bottom:1px solid #b88b5066;
}
body .topbar .all-games{justify-self:start;white-space:nowrap}
body .topbar .wordmark{margin:0;justify-self:center;white-space:nowrap;font-size:23px;color:#f8db90}
body .topbar .wordmark small{display:none}
body .topbar .audio-controls{display:flex;align-items:center;justify-content:flex-end;justify-self:end;width:auto;gap:7px;border:0;padding:0;margin:0}
body .topbar .audio-controls .quiet{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:44px;padding:8px 10px;font-size:14px;border:1px solid #ba955052;border-radius:9px;color:#fff0cf;background:#ffffff08;white-space:nowrap}
body .topbar .audio-controls .quiet:hover{background:#7b553b}
body .topbar .audio-controls .quiet:focus-visible{outline:3px solid #f4ce75;outline-offset:3px}
body .topbar .audio-symbol{position:relative;display:inline-flex;align-items:center;justify-content:center;width:22px;height:24px;font-size:23px;line-height:1}
body .topbar [aria-pressed="true"] .audio-symbol::after{content:"";position:absolute;width:28px;height:3px;background:#ffe2a0;transform:rotate(-48deg);box-shadow:0 1px 2px #21150f}
body .topbar .volume-control{width:85px;gap:2px;font-size:10px;color:#ead5b1}
body .topbar .volume-control input{width:100%;height:25px;margin:0;accent-color:#edc86b}
body .topbar #fullscreen-toggle{border-color:#cba25c;background:linear-gradient(#785a39,#403022);box-shadow:inset 0 1px #fff1b340,0 2px 5px #0004}
body .topbar #fullscreen-toggle svg{width:23px;height:23px}
body .topbar #fullscreen-toggle[aria-pressed="true"] svg{transform:rotate(180deg)}
@media(max-width:1100px){
 body .topbar,body[data-screen] .topbar{grid-template-columns:auto 1fr auto;gap:10px}
 body .topbar .wordmark{font-size:21px}
 body .topbar .audio-controls .audio-label{display:none}
}
@media(max-width:700px){
 body .topbar,body[data-screen] .topbar{grid-template-columns:auto 1fr;gap:6px 12px;padding-right:max(12px,env(safe-area-inset-right));padding-left:max(12px,env(safe-area-inset-left))}
 body .topbar .wordmark{justify-self:end;display:block;font-size:22px}
 body .topbar .audio-controls{grid-column:1/-1;justify-self:stretch;justify-content:flex-end;gap:7px;width:100%;border-top:1px solid #d5b57930;padding-top:6px}
 body .topbar .audio-controls #help{margin-right:auto;font-size:13px;padding:8px}
 body .topbar .volume-control{width:clamp(55px,18vw,95px)}
 body .topbar .audio-controls .quiet{padding:8px;min-width:44px;font-size:14px}
}
@media(max-width:350px){body .topbar .audio-controls{gap:4px}body .topbar .audio-controls #help{font-size:12px;padding:6px}body .topbar .volume-control{width:50px}}
