/* A dark glass base keeps white controls readable over bright water and snow. */
#player{--screen-glass:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.025) 52%,rgba(12,24,27,.16)),#071a25b8;--screen-edge:rgba(255,255,255,.52)}
#player :is(.icon-button,.round,.focus-exit,.exit-focus,.fullscreen-exit-button,.quality-pill,.glass-tag,.start-circle,.start>span){background:var(--screen-glass);border:1px solid var(--screen-edge);color:#fff;box-shadow:inset 0 1px 0 #ffffff40,inset 0 -1px 0 #00000014,0 3px 12px #00000029;backdrop-filter:blur(8px) saturate(115%);-webkit-backdrop-filter:blur(8px) saturate(115%);text-shadow:0 1px 4px #0009}
#player :is(.icon-button,.round){width:46px;height:46px;min-width:44px;min-height:44px;border-radius:50%;padding:0;font-size:22px;display:inline-grid;place-items:center;flex:none}
#player :is(.icon-button.primary,.round.play){width:54px;height:54px;background:linear-gradient(145deg,#ffffff36,#ffffff0b),#071a25cf;border-color:#ffffffb3;color:#fff}
#player :is(.icon-button,.round,.focus-exit,.exit-focus,.fullscreen-exit-button):hover:not(:disabled){background:linear-gradient(145deg,#ffffff42,#ffffff14),#071a25df;border-color:#ffffffcf;color:#fff;transform:none}
#player :is(.icon-button,.round)[aria-pressed=true]{background:linear-gradient(145deg,#ffffff50,#ffffff18),#071a25df;border-color:#fff;opacity:1}
#player :is(.focus-exit,.exit-focus){min-height:44px;padding:10px 18px;border-radius:999px;font-size:16px;line-height:1.4}
#player .fullscreen-exit-button{width:46px;height:46px;border-radius:50%}
#player :is(.start-circle,.start>span){width:76px;height:76px;border-radius:50%;padding:0}
#player :is(.start-cover,.start):hover :is(.start-circle,span){background:linear-gradient(145deg,#ffffff42,#ffffff14),#071a25df;color:#fff}
#player .segmented{background:linear-gradient(145deg,#ffffff14,#07151814),#071a25cc;border-color:#ffffff52;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:inset 0 1px 0 #ffffff26}
#player .segmented button{color:#fff;text-shadow:0 1px 4px #0008;min-height:36px;background:transparent}
#player .segmented button[aria-pressed=true]{background:linear-gradient(145deg,#ffffff38,#ffffff0d);border-color:#ffffff63;color:#fff}
#player button:focus-visible{outline:2px solid #fff;outline-offset:4px}
#player :is(.controls,.screen-top,.screen-bottom,.focus-exit,.exit-focus,.fullscreen-exit-button,.start-cover,.start){transition:opacity .22s ease,visibility .22s ease}
#player.fullscreen-controls-hidden{cursor:none}
#player.fullscreen-controls-hidden :is(.controls,.screen-top,.screen-bottom,.focus-exit,.exit-focus,.fullscreen-exit-button,.start-cover,.start){opacity:0!important;visibility:hidden!important;pointer-events:none!important}
#player.fullscreen-controls-hidden :is(.player-shade,.shade){opacity:0;pointer-events:none}
#player.fullscreen-controls-hidden :is(.icon-button,.round,.focus-exit,.exit-focus,.fullscreen-exit-button,.quality-pill,.glass-tag,.start-circle,.start>span,.segmented){backdrop-filter:none;-webkit-backdrop-filter:none}
@media(max-width:700px){#player :is(.icon-button,.round){width:44px;height:44px;font-size:21px}#player :is(.icon-button.primary,.round.play){width:48px;height:48px}#player :is(.start-circle,.start>span){width:60px;height:60px}#player .transport{gap:6px;flex-wrap:wrap}#player .transport #playStatus{display:none}#player .transport #favorite{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){#player :is(.controls,.screen-top,.screen-bottom,.focus-exit,.exit-focus,.fullscreen-exit-button,.start-cover,.start){transition:none}}
