/* Compact live-music player: transport stays close to the video and docks cleanly. */
.sound-player-shell{position:sticky;top:var(--sound-player-sticky-top,0);z-index:45;width:100%;padding:4px clamp(8px,2.5vw,28px) 0;background:var(--cream)}
.sound-player-dock{position:relative;max-width:1280px;margin:auto;background:#0b2030;color:#fff8e8;border-radius:8px;overflow:visible}
.sound-player-expanded{padding:10px 14px}
.sound-player-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:6px}
.sound-player-heading h2{margin:0;color:#fff8e8;font:400 clamp(18px,2vw,25px)/1.2 var(--display)}
.sound-player-shell button,.sound-player-shell select,.sound-player-shell a{min-width:44px;min-height:44px}
.sound-player-shell button,.sound-player-shell select{border:1px solid #536673;border-radius:5px;padding:8px 13px;background:#102d40;color:#fff8e8;font:700 13px/1.2 var(--body);cursor:pointer}
.sound-player-shell button:hover{background:#244759}
.sound-player-shell button:disabled{opacity:.5;cursor:default}
.sound-player-shell button:focus-visible,.sound-player-shell a:focus-visible,.sound-player-stage:focus-visible{outline:3px solid #f5ca4a;outline-offset:3px}
.sound-player-stage{outline:none;min-width:0}
.sound-player-idle-prompt{margin:0 0 10px;color:#d4e0e4;font:600 14px/1.4 var(--body)}
.sound-player-video-stage{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);align-items:stretch;overflow:hidden;border-radius:5px}
.sound-player-scene{position:relative;min-width:0;width:100%;max-width:100%;align-self:start;min-height:220px;max-height:360px;aspect-ratio:16/9;overflow:hidden;touch-action:none;background:#061522;display:flex;align-items:center;justify-content:center}
.sound-player-artwork{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#061522}
.sound-player-audio-art{padding:16px;text-align:center}
.has-artwork .sound-player-audio-art{visibility:hidden}
.sound-player-audio-art>span{color:#f5ca4a;font:400 clamp(26px,3.8vw,50px)/1 var(--display)}
.sound-player-audio-art p{color:#fff8e8;font:600 clamp(16px,2vw,23px)/1.35 var(--body)}
.sound-player-side-rail{min-width:0;display:flex;flex-direction:column;background:#112d3f}
.sound-player-controls{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:10px}
.sound-player-shell .sound-player-control{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:transparent;border-color:transparent;padding:9px;color:#fff8e8}
.sound-player-control svg,.sound-player-launch svg,.sound-player-dock-controls svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sound-player-control span{font-size:12px}
.sound-player-shell .sound-player-primary,.sound-player-shell .sound-player-launch,.sound-player-shell .sound-player-start-sound{background:#f5ca4a;color:#102231;border-color:#f5ca4a}
.sound-player-shell .sound-player-primary:hover,.sound-player-shell .sound-player-launch:hover,.sound-player-shell .sound-player-start-sound:hover,.sound-player-shell .sound-player-dibs:hover,.sound-player-shell .sound-player-dock-controls #soundPlayerDockStartSound:hover{background:#ffe182;color:#102231;border-color:#ffe182}
.sound-player-shell .sound-player-primary{font-size:14px;font-weight:800}
.sound-player-shell .sound-player-primary svg{width:19px;height:19px}
.sound-player-play-icon{display:none}
.sound-player-control[data-paused="true"] .sound-player-pause-icon,.sound-player-dock-controls [data-paused="true"] .sound-player-pause-icon{display:none}
.sound-player-control[data-paused="true"] .sound-player-play-icon,.sound-player-dock-controls [data-paused="true"] .sound-player-play-icon{display:block}
.sound-player-shell .sound-player-start-sound,.sound-player-shell .sound-player-launch{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 16px;font-size:16px}
.sound-player-start-sound{flex:1}
.sound-player-progress-wrap{padding:2px 14px 12px;color:#d4e0e4;font:600 11px/1.3 var(--body)}
.sound-player-progress-labels{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}
.sound-player-progress{display:block;width:100%;height:5px;border:0;border-radius:99px;accent-color:#f5ca4a}
.sound-player-progress::-webkit-progress-bar{background:#344d5c;border-radius:99px}
.sound-player-progress::-webkit-progress-value{background:#f5ca4a;border-radius:99px}
.sound-player-progress::-moz-progress-bar{background:#f5ca4a;border-radius:99px}
.sound-player-event-panel{padding:8px 14px 12px;background:var(--cream);color:var(--ink);min-width:0}
.sound-player-track-position{margin:0 0 8px;font:700 11px/1.3 var(--body);color:var(--ink-soft)}
.sound-player-event-panel h3{margin:0 0 5px;font:400 clamp(22px,2.6vw,36px)/1.13 var(--display);overflow-wrap:anywhere}
.sound-player-song{margin:0 0 8px;font:700 18px/1.2 var(--body)}
.sound-player-event-title{margin:0 0 8px;font:600 13px/1.3 var(--body);color:var(--ink-soft)}
#soundPlayerVenue,#soundPlayerDate{margin:5px 0;font:600 14px/1.35 var(--body)}
#soundPlayerDetails{display:inline-flex;align-items:center;color:var(--ink);font:700 14px/1.3 var(--body);text-underline-offset:3px}
.sound-player-shell .sound-player-dibs{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-top:0;padding:9px 12px;background:#f5ca4a;border-color:#d7a522;color:#102231;font-size:13px}
.sound-player-shell .sound-player-dibs[aria-pressed=true]{background:#b74630;color:#fff8e8;border-color:#b74630}
.sound-player-dibs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sound-player-next-show{display:flex;flex-direction:column;gap:4px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font:600 13px/1.3 var(--body)}
.sound-player-next-show span{color:var(--ink-soft);font-size:11px}
.sound-player-next-show strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:700}
.sound-player-media-mount{position:absolute;z-index:4;overflow:hidden;background:transparent;border-radius:4px;pointer-events:none}
.sound-player-media-mount:not(:empty){pointer-events:auto}
.sound-player-media-mount iframe,.sound-player-media-mount>img{display:block;width:100%;height:100%;border:0;object-fit:contain;background:#061522}
.sound-player-media-slot{display:block;width:100%;height:100%}
.sound-player-ticker{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 12px;color:#fff8e8;text-decoration:none;border-bottom:1px solid #394e5c;font:600 13px/1.35 var(--body);overflow:hidden}
#soundPlayerTickerText{min-width:0;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sound-player-ticker>span:last-child{flex-shrink:0;color:#f5ca4a;margin-left:auto}
.sound-player-live{margin:8px 0 0;min-height:1.35em;color:#d4e0e4;font:600 12px/1.35 var(--body)}
.sound-player-expansion,.sound-player-final-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;color:#fff8e8;font:600 13px/1.3 var(--body)}
.sound-player-collapsed{display:flex;align-items:center;gap:10px;min-height:48px;height:48px;padding:2px 10px}
.sound-player-dock-copy{display:flex;flex:1;min-width:0}
.sound-player-dock-copy a{display:flex;flex:1;min-width:44px;min-height:44px;height:44px;flex-direction:column;justify-content:center;align-items:flex-start;gap:1px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#fff8e8;text-decoration:none;font:600 12px/1.15 var(--body)}
.sound-player-dock-copy strong{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 14px/1.2 var(--display)}
#soundPlayerDockTicker{display:block;min-width:0;flex-shrink:0;width:100%;white-space:nowrap}
.sound-player-dock-artwork{flex:0 0 38px;width:38px;height:38px;border-radius:4px;object-fit:cover;background:#142f3f}
.sound-player-dock-controls{display:flex;align-items:center;gap:4px}
.sound-player-shell .sound-player-dock-controls button{display:flex;flex:0 0 44px;align-items:center;justify-content:center;padding:8px;border-color:transparent;background:transparent;color:#f5ca4a}
.sound-player-shell .sound-player-dock-controls .sound-player-listen{flex:0 0 auto;gap:5px;border-color:#536673;color:#fff8e8;padding:8px 10px;font-size:12px}
.sound-player-shell .sound-player-dock-controls #soundPlayerDockStartSound{flex:1;background:#f5ca4a;color:#102231;font-size:14px;font-weight:800}
.sound-player-dock-more svg{width:20px!important;height:20px!important}
.sound-player-more-panel{position:fixed;z-index:150;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;gap:4px;width:min(340px,calc(100vw - 20px));max-height:calc(100vh - 24px);overflow-y:auto;padding:8px;border:1px solid #536673;border-radius:8px;background:#0b2030;box-shadow:0 18px 55px #00101cbf}
#soundOfTheBurgh.is-more-open{z-index:100}
#soundOfTheBurgh.is-more-open .sound-player-media-mount{visibility:hidden;opacity:0;pointer-events:none}
.sound-player-shell .sound-player-more-panel button{width:100%;min-height:48px;justify-content:flex-start;padding:10px 14px;text-align:left}
#soundOfTheBurgh [hidden]{display:none!important}
#soundOfTheBurgh:not([data-has-track="true"]) .sound-player-scene,#soundOfTheBurgh:not([data-has-track="true"]) .sound-player-event-panel,#soundOfTheBurgh:not([data-has-track="true"]) .sound-player-ticker,#soundOfTheBurgh:not([data-has-track="true"]) .sound-player-progress-wrap{display:none!important}
#soundOfTheBurgh:not([data-has-track="true"]) .sound-player-video-stage{display:block;overflow:visible}
#soundOfTheBurgh:not([data-has-track="true"]) .sound-player-side-rail{display:block;background:transparent}
#soundOfTheBurgh:not([data-has-track="true"]) .sound-player-controls{margin:0;padding:0}
#soundOfTheBurgh:not([data-has-track="true"]) .sound-player-launch{min-height:48px}
#soundOfTheBurgh:not([data-has-track="true"]) .sound-player-collapse{display:none}
#soundOfTheBurgh.is-collapsed #soundPlayerBridge{display:none}
#soundOfTheBurgh.is-collapsed .sound-player-media-mount{visibility:hidden;opacity:0;pointer-events:none}
#soundOfTheBurgh.is-collapsed .sound-player-collapsed{display:flex;align-items:center;gap:10px;min-height:48px;height:48px;padding:2px 10px}
#soundOfTheBurgh.is-collapsed .sound-player-dock-artwork{flex:0 0 38px;width:38px;height:38px;align-self:center}
#soundOfTheBurgh.is-collapsed .sound-player-dock-copy{flex:1 1 auto;min-width:0;align-self:center}
#soundOfTheBurgh.is-collapsed .sound-player-dock-controls{flex:0 0 auto;display:flex;align-items:center;gap:4px}
@media(prefers-reduced-motion:no-preference){
  .sound-player-ticker.is-overflowing #soundPlayerTickerText{animation:sound-player-ticker 18s linear infinite alternate}
  #soundPlayerDockTrack.is-overflowing #soundPlayerDockTicker{animation:sound-player-ticker 18s linear infinite alternate}
  #soundPlayerDockTrack:hover #soundPlayerDockTicker,#soundPlayerDockTrack:focus #soundPlayerDockTicker{animation-play-state:paused}
  .sound-player-ticker:hover #soundPlayerTickerText,.sound-player-ticker:focus #soundPlayerTickerText{animation-play-state:paused}
}
@keyframes sound-player-ticker{from{transform:translateX(0)}to{transform:translateX(calc(0px - var(--sound-player-ticker-distance,0px)))}}
@media(max-width:640px){
  .sound-player-shell{padding:4px 6px 0}
  #soundOfTheBurgh:not(.is-collapsed){position:relative;top:auto}
  .sound-player-expanded{padding:10px}
  .sound-player-heading{gap:8px;margin-bottom:9px}
  .sound-player-heading h2{font-size:18px}
  .sound-player-shell .sound-player-collapse{font-size:11px;padding:7px}
  .sound-player-video-stage{grid-template-columns:minmax(0,1fr)}
  .sound-player-scene{min-height:200px;aspect-ratio:16/9}
  .sound-player-side-rail{display:flex}
  .sound-player-controls{gap:4px;padding:8px 0}
  .sound-player-shell .sound-player-control{flex:1 1 auto;padding:8px 7px}
  .sound-player-shell .sound-player-dibs{width:auto}
  .sound-player-control span{font-size:11px}
  .sound-player-event-panel{padding:14px}
  .sound-player-event-panel h3{font-size:24px}
  .sound-player-song{font-size:16px;margin-bottom:7px}
  .sound-player-next-show{margin-top:10px}
  .sound-player-shell .sound-player-dock-controls .sound-player-listen{padding:8px}
  #soundOfTheBurgh.is-collapsed{position:sticky;top:var(--sound-player-sticky-top,0)}
  #soundOfTheBurgh.is-collapsed .sound-player-collapsed{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:44px 44px;gap:0 8px;min-height:0;height:90px;padding:2px 8px}
  #soundOfTheBurgh.is-collapsed.has-artwork .sound-player-collapsed{grid-template-columns:40px minmax(0,1fr)}
  #soundOfTheBurgh.is-collapsed .sound-player-dock-artwork{grid-column:1;grid-row:1;align-self:center}
  #soundOfTheBurgh.is-collapsed .sound-player-dock-copy{grid-column:1;grid-row:1;align-self:center}
  #soundOfTheBurgh.is-collapsed.has-artwork .sound-player-dock-copy{grid-column:2}
  #soundOfTheBurgh.is-collapsed .sound-player-dock-controls{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:2px}
}
@media(max-height:500px){
  #soundOfTheBurgh:not(.is-collapsed){position:relative;top:auto}
  #soundOfTheBurgh.is-collapsed{position:sticky;top:var(--sound-player-sticky-top,0)}
  .sound-player-scene{min-height:200px}
  .sound-player-stage,.sound-player-control{scroll-margin-block-start:calc(var(--sound-player-sticky-top,0px) + 12px)}
  .sound-player-more-panel{max-height:calc(100vh - 16px)}
}
@media(prefers-reduced-motion:reduce){.sound-player-ticker #soundPlayerTickerText,#soundPlayerDockTicker{animation:none!important}}
