/* FONNZ compact listening console. Main desktop bar: 57px. */
.music-dock{padding:5px 4%;background:linear-gradient(110deg,#070909fa,#0d100ffa 55%,#070909fc);border-top:1px solid #36423b;box-shadow:0 -8px 28px #0005;max-height:48svh;overflow:auto;isolation:isolate;backdrop-filter:blur(16px)}
.music-dock::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,#adc9b7,transparent);opacity:.16;pointer-events:none}
.music-dock.is-playing::before{opacity:.4}
body.player-visible{padding-bottom:var(--music-dock-height,57px)}
.custom-player{display:grid;grid-template-columns:36px minmax(100px,1fr) auto minmax(150px,1.3fr) 96px auto;grid-template-areas:'cover info transport seek volume tools';gap:0 15px;align-items:center;min-height:46px}
.custom-player .now-art{grid-area:cover;width:36px;height:36px;border-color:#49544e;box-shadow:0 0 12px #a1c7ae0a}
.now-info{grid-area:info;min-width:0;gap:3px;overflow:hidden}.now-info .eyebrow{display:none}#now-title{font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}#now-status{font-size:9px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#99a59f}
.transport{grid-area:transport;display:flex;justify-content:center;align-items:center;gap:4px;margin:0;min-height:40px}.custom-player button{min-width:30px;min-height:34px;padding:5px}.custom-player button svg{width:17px;height:17px}.custom-player .main-play{width:36px;height:36px;min-width:36px;min-height:36px;padding:8px;background:#dce6df;color:#0b100d;box-shadow:none}.custom-player .main-play svg{width:20px;height:20px}.custom-player .main-play:hover{background:white}.transport #repeat-track{margin-left:1px;min-width:30px}
.custom-player .seek-wrap{grid-area:seek;display:flex;align-items:center;min-height:24px;height:24px;width:100%;gap:8px;font-size:9px}.seek-wrap>span{min-width:26px}.custom-player input[type=range]{height:24px;min-height:24px;margin:0;padding:0;background:transparent}.custom-player #audio-seek{width:100%}.custom-player #audio-seek::-webkit-slider-runnable-track{height:3px;background:linear-gradient(90deg,#b7cfc0 var(--progress,0%),#35413a var(--progress,0%))}.custom-player #audio-seek::-webkit-slider-thumb{width:9px;height:9px;margin-top:-3px;background:#d7e9df;box-shadow:none}.custom-player #audio-seek::-moz-range-track{height:3px;background:#35413a}.custom-player #audio-seek::-moz-range-progress{height:3px;background:#b7cfc0}.custom-player #audio-seek::-moz-range-thumb{width:9px;height:9px;border:0;background:#d7e9df}
.custom-player .volume-controls{grid-area:volume;display:flex;align-items:center;width:auto;height:34px;gap:5px}.volume-controls input{width:58px}.volume-controls svg{width:16px;height:16px}
.player-tools{grid-area:tools;display:flex;align-items:center;justify-content:flex-end;gap:5px}.player-tools button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:34px;border:0;background:transparent;color:#b1bdb6;cursor:pointer}.player-tools button:hover{color:white;background:#ffffff08;border-radius:4px}.queue-label{display:none}#queue-toggle[aria-expanded=true]{background:#ffffff10;border-radius:4px;color:#e3eee6}
.player-queue{max-height:min(200px,25svh);overflow:auto;overscroll-behavior:contain;padding:12px 0 0;margin-top:5px;border-top:1px solid #2e3a32;scrollbar-width:thin;scrollbar-color:#4a5b50 #090d0a}.player-queue[hidden],.player-settings[hidden]{display:none!important}.queue-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}.queue-heading h3{font-size:15px;margin:0}.queue-heading button{font-size:10px;padding:6px 9px}.queue-columns{gap:5%}.queue-columns .eyebrow{font-size:8px;margin-bottom:6px}.queue-row{padding:7px 0}.queue-row>span{font-size:11px}.queue-row .own-preview{min-height:30px;padding:6px 9px;font-size:9px}
.player-visible .fonnz-chat{bottom:calc(var(--music-dock-height,57px) + 12px)}
@media(max-width:1000px) and (min-width:751px){.custom-player{grid-template-columns:32px minmax(90px,1fr) auto minmax(130px,1.2fr) 76px auto;gap:0 9px}.custom-player .now-art{width:32px;height:32px}.volume-controls input{width:40px}}
@media(max-width:750px){.music-dock{padding:3px 12px max(3px,env(safe-area-inset-bottom));max-height:44svh}.custom-player{grid-template-columns:28px minmax(50px,1fr) auto auto;grid-template-areas:'cover info transport tools' 'seek seek seek seek';min-height:0;gap:0 7px}.custom-player .now-art{width:28px;height:28px}.now-info{gap:2px}#now-title{font-size:11px;line-height:1.2}#now-status{font-size:8px;line-height:1.2}.transport{gap:0;min-height:34px}.custom-player .transport>button{width:28px;min-width:28px;height:32px;min-height:32px;padding:5px}.custom-player .transport>.main-play{width:32px;min-width:32px;height:32px;min-height:32px}.custom-player button svg{width:16px;height:16px}.player-tools{gap:0}.player-tools button{width:27px;min-width:27px;height:32px;min-height:32px}.custom-player .seek-wrap{height:16px;min-height:16px;font-size:8px;gap:7px}.custom-player #audio-seek{height:16px;min-height:16px}.player-settings{display:flex;align-items:center;justify-content:space-between;padding:0 0 10px;margin-bottom:7px;border-bottom:1px solid #2b3830;gap:16px}.player-settings .volume-controls{display:flex!important;align-items:center;gap:10px;width:auto;height:32px}.player-settings .volume-controls input{width:100px;min-height:28px;height:28px}.player-settings button{display:flex;align-items:center;justify-content:center;min-width:34px;height:32px;border:1px solid #405046;background:transparent;color:#d4e4da;border-radius:5px}.player-settings #repeat-track{gap:7px;padding:6px 9px}.player-settings #repeat-track::after{content:attr(aria-label);font-size:9px}.player-settings #repeat-track[aria-pressed=true]{background:#d5e7db;color:#111}.player-queue{max-height:25svh;padding-top:10px;margin-top:3px}.queue-heading{margin-bottom:10px}.queue-heading h3{font-size:14px;max-width:none}.queue-columns{gap:18px}.player-visible .fonnz-chat{bottom:calc(var(--music-dock-height,57px) + 9px)}}
.player-settings #audio-volume{display:block}
