/* Consistent author-styled controls for WebKit, Chromium and Firefox. */
button[data-play],.open-studio,#close-studio,.record-controls .secondary,.collection-nav button,.row-action{-webkit-appearance:none;appearance:none;box-sizing:border-box;font-family:var(--font-body,'Barlow',Arial,sans-serif);font-style:normal;text-transform:none;letter-spacing:normal;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;color:inherit}
button[data-play]{display:inline-flex;align-items:center;justify-content:center;line-height:1;min-height:48px;min-width:48px;color:var(--night);background:var(--gold);vertical-align:middle}
.console .transport{width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:0;border-radius:50%;flex:0 0 48px;display:grid;place-items:center;overflow:visible}
body .symbol,body.active .symbol,.console .transport .symbol,body.active .console .transport .symbol{display:block;position:static;box-sizing:content-box;width:20px;height:20px;min-width:20px;flex:0 0 20px;margin:0;padding:0;border:0;background:transparent;transform:none;line-height:1;pointer-events:none}
.symbol .stop-shape{display:none}body.active .symbol .play-shape{display:none}body.active .symbol .stop-shape{display:block}
.open-studio,#close-studio,.record-controls .secondary,.collection-nav button,.row-action{min-height:44px}
button[data-play]:focus-visible,.open-studio:focus-visible,#close-studio:focus-visible{outline:3px solid var(--gold-light);outline-offset:4px}
@media(hover:hover){button[data-play]:hover{background:var(--gold-light)}}
button[data-play]:active{background:#d99b18}button[data-play]:disabled{cursor:wait;opacity:.65}
.console{padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
header{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
body{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
.console .readout{min-width:0;overflow:hidden}.console .deck .open-studio{flex-shrink:0;white-space:nowrap}
.volume input[type=range]{-webkit-appearance:none;appearance:none;width:96px;height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;touch-action:pan-y}
.volume input[type=range]::-webkit-slider-runnable-track{height:5px;background:#78665a;border-radius:4px}
.volume input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;margin-top:-6.5px;background:var(--gold);border:0;border-radius:50%;box-shadow:none}
.volume input[type=range]::-moz-range-track{height:5px;background:#78665a;border-radius:4px}.volume input[type=range]::-moz-range-thumb{width:18px;height:18px;background:var(--gold);border:0;border-radius:50%}
.volume input[type=range]:focus-visible{outline:2px solid var(--gold-light);outline-offset:2px}
@media(max-width:740px){.console .deck{min-height:78px;gap:.65rem}.console .transport{width:48px;height:48px;flex-basis:48px}.console .readout strong{font-size:1rem}.console .deck .open-studio{font-size:.875rem}.volume{display:none}}
@media(prefers-reduced-motion:reduce){button[data-play],.symbol{animation:none;transition:none}}

/* End-of-page player clearance belongs to the dark footer, not the cream body. */
body,body.roster-page{padding-bottom:0}
.station-footer{padding-bottom:calc(106px + env(safe-area-inset-bottom,0px))}

/* Platform-independent link arrows; no emoji glyph substitution. */
.link-icon{display:inline-block;width:1em;height:1em;min-width:1em;flex:none;vertical-align:-.12em;pointer-events:none}
/* Give iOS a solid page/header color behind its status-bar safe area. */
html{background-color:var(--red)}body{background-color:var(--ivory)}header{width:100%;background-color:var(--red);background-image:none}
@supports(-webkit-touch-callout:none){body{background-color:var(--red)}#main{background-color:var(--ivory)}footer.station-footer{margin-top:0}}
/* Opaque iOS PWA status bar owns its inset; do not paint red behind it. */
@media(display-mode:standalone){html{background-color:var(--night)}}

/* Native-size mobile viewport: pan normally without pinch or double-tap zoom. */
@media(max-width:740px),(pointer:coarse),(display-mode:standalone){html,body{touch-action:pan-x pan-y}input,textarea,select{font-size:16px!important}}
