/* ZT music v2. Scoped theme overrides keep every interaction in brand gold. */
#zt-home-music{--music-right:max(30px,env(safe-area-inset-right));--music-bottom:calc(max(20px,env(safe-area-inset-bottom)) + 86px);position:fixed;right:var(--music-right);bottom:var(--music-bottom);z-index:2147481190;font-family:inherit;color:#EDB126;direction:ltr;text-align:left;isolation:isolate}
#zt-home-music,#zt-home-music *{box-sizing:border-box;font-family:inherit;min-width:0}
#zt-home-music[hidden],#zt-home-music [hidden]{display:none!important}
#zt-home-music button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;margin:0;padding:8px;border:1px solid rgba(237,177,38,.38)!important;border-radius:9px;background:#000!important;background-image:none!important;color:#EDB126!important;font-size:11px;font-weight:700;line-height:1.2;cursor:pointer;box-shadow:none!important;text-transform:none;text-decoration:none!important;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:filter .15s ease,opacity .15s ease}
/* Include focus/active: some parent themes apply their purple accent here. */
#zt-home-music button:is(:hover,:focus,:focus-visible,:active){background:#EDB126!important;background-image:none!important;color:#000!important;border-color:#EDB126!important;box-shadow:none!important;filter:brightness(1.12)}
#zt-home-music :is(button,input):focus-visible{outline:2px solid #EDB126!important;outline-offset:3px}
#zt-home-music button:is(:hover,:focus,:focus-visible,:active) .zt-anthem__icon{filter:brightness(0)}
#zt-home-music .zt-anthem__launcher{position:relative;width:52px;height:52px;padding:9px;border-radius:12px;clip-path:none;border-color:#EDB126!important;box-shadow:inset 0 0 0 4px rgba(237,177,38,.09)!important}
#zt-home-music .zt-anthem__music-mark{display:block;width:32px;height:32px;max-width:32px;object-fit:contain;pointer-events:none}
#zt-home-music .zt-anthem__launcher:is(:hover,:focus,:focus-visible,:active) .zt-anthem__music-mark{filter:brightness(0)}
#zt-home-music .zt-anthem__indicator{position:absolute;bottom:5px;right:5px;width:5px;height:5px;border-radius:50%;background:#EDB126;opacity:.3}
#zt-home-music.is-playing .zt-anthem__indicator{opacity:1}
#zt-home-music .zt-anthem__launcher:is(:hover,:focus,:focus-visible,:active) .zt-anthem__indicator{background:#000}
#zt-home-music .zt-anthem__icon{display:block;width:18px;height:18px;flex:0 0 18px;background-image:url('../images/music/zt-music-flat-icons.webp');background-size:1600% 700%;background-repeat:no-repeat}
#zt-home-music .zt-anthem__icon--sound{background-position:80% 50%}
#zt-home-music .zt-anthem__icon--close{background-position:40% 83.333333%}
#zt-home-music .zt-anthem__icon--back{background-position:33.333333% 83.333333%}
#zt-home-music .zt-anthem__icon--forward{background-position:6.666667% 33.333333%}
#zt-home-music .zt-anthem__icon--minus{background-position:53.333333% 83.333333%}
#zt-home-music .zt-anthem__icon--plus{background-position:46.666667% 83.333333%}
#zt-home-music .zt-anthem__panel{position:absolute;right:0;bottom:64px;width:294px;max-width:calc(var(--music-viewport,100%) - 40px);max-height:calc(100vh - 190px);max-height:calc(100dvh - 190px);overflow-y:auto;overscroll-behavior:contain;padding:18px;background:#000;border:1px solid rgba(237,177,38,.65);border-radius:18px;box-shadow:0 16px 40px rgba(0,0,0,.55);animation:zt-music-open .16s ease-out;scrollbar-width:thin;scrollbar-color:#EDB126 #000}
#zt-home-music .zt-anthem__header{display:flex;gap:8px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid rgba(237,177,38,.2);padding-bottom:14px}
#zt-home-music .zt-anthem__eyebrow{margin:0 0 7px;color:#EDB126;font-size:9px;font-weight:700;letter-spacing:.18em;line-height:1.5}
#zt-home-music h2{font-size:19px;line-height:1.25;margin:0;color:#EDB126;font-weight:700;letter-spacing:-.02em}
#zt-home-music .zt-anthem__track-name{margin:5px 0 0;font-size:11px;line-height:1.5;color:#EDB126;opacity:.72}
#zt-home-music .zt-anthem__close{margin-top:-5px;margin-right:-6px;flex:0 0 44px;border-color:transparent!important}
#zt-home-music .zt-anthem__status{font-size:10px;line-height:1.6;margin:12px 0 14px;min-height:32px;color:#EDB126;opacity:.85}
#zt-home-music .zt-anthem__transport{display:grid;grid-template-columns:1fr 1.35fr 1fr 1fr;gap:7px}
#zt-home-music .zt-anthem__transport button{min-height:48px}
#zt-home-music .zt-anthem__transport button:first-child,#zt-home-music .zt-anthem__transport button:last-child{flex-direction:column;gap:3px}
#zt-home-music .zt-anthem__transport small{font-size:8px;line-height:1}
#zt-home-music button.zt-anthem__play{background:#EDB126!important;color:#000!important;border-color:#EDB126!important}
#zt-home-music input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;min-height:44px;height:44px;margin:0;padding:0;border:0!important;border-radius:0;outline:none;background:transparent!important;box-shadow:none!important;accent-color:#EDB126;cursor:pointer;touch-action:pan-y}
#zt-home-music input[type=range]::-webkit-slider-runnable-track{height:4px;border:0;border-radius:4px;background:rgba(237,177,38,.3)!important}
#zt-home-music input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-5px;border:2px solid #000;border-radius:50%;background:#EDB126!important;box-shadow:0 0 0 1px #EDB126}
#zt-home-music input[type=range]::-moz-range-track{height:4px;border:0;border-radius:4px;background:rgba(237,177,38,.3)!important}
#zt-home-music input[type=range]::-moz-range-progress{height:4px;border-radius:4px;background:#EDB126!important}
#zt-home-music input[type=range]::-moz-range-thumb{width:11px;height:11px;border:2px solid #000;border-radius:50%;background:#EDB126!important;box-shadow:0 0 0 1px #EDB126}
#zt-home-music input[type=range]:hover{filter:brightness(1.12)}
#zt-home-music input[type=range]:disabled{opacity:.4;cursor:default}
#zt-home-music .zt-anthem__seek{margin-top:4px}
#zt-home-music .zt-anthem__time{display:flex;justify-content:space-between;font-size:10px;line-height:1.5;font-variant-numeric:tabular-nums;margin-top:-5px;margin-bottom:14px;color:#EDB126;opacity:.8}
#zt-home-music .zt-anthem__volume-row{display:grid;grid-template-columns:44px 44px minmax(0,1fr) 44px;gap:4px;align-items:center;border-top:1px solid rgba(237,177,38,.2);padding-top:10px}
#zt-home-music .zt-anthem__volume-row button{border-color:transparent!important;padding:6px;font-size:10px}
@keyframes zt-music-open{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
html.ztsc-lock #zt-home-music{visibility:hidden;pointer-events:none}
@media(max-width:640px){#zt-home-music .zt-anthem__launcher{width:48px;height:48px;border-radius:11px;padding:8px}#zt-home-music .zt-anthem__music-mark{width:30px;height:30px}#zt-home-music .zt-anthem__panel{width:280px;max-width:calc(var(--music-viewport,100%) - 32px);padding:16px;bottom:60px}#zt-home-music h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){#zt-home-music .zt-anthem__panel{animation:none}#zt-home-music button{transition:none}}

/* V3: restore the original clipped-corner frame with the new raster note. */
#zt-home-music .zt-anthem__launcher{border-radius:0;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));padding:10px}
/* Warm ivory carries copy, gold carries primary actions, stone carries detail. */
#zt-home-music .zt-anthem__panel{background:#12110F;border-color:rgba(237,177,38,.55)}
#zt-home-music h2{color:#FFF4DC}
#zt-home-music .zt-anthem__track-name{color:#C7BFAA;opacity:1}
#zt-home-music .zt-anthem__status{color:#E4DDCE;opacity:1}
#zt-home-music .zt-anthem__time{color:#B8B1A3;opacity:1}
#zt-home-music button{background:#1C1B18!important;color:#F5F0E5!important;border-color:#4A4539!important}
#zt-home-music .zt-anthem__launcher{background:#000!important;border-color:#EDB126!important}
#zt-home-music button.zt-anthem__play{background:#EDB126!important;color:#000!important;border-color:#EDB126!important}
#zt-home-music button[data-anthem-stop]{color:#FFF4DC!important;background:#302B20!important;border-color:#65573B!important}
#zt-home-music .zt-anthem__volume-row button{background:transparent!important;color:#C7BFAA!important}
#zt-home-music button:is(:hover,:focus,:focus-visible,:active){background:#EDB126!important;color:#000!important;border-color:#EDB126!important;filter:brightness(1.12)}
#zt-home-music input[type=range]::-webkit-slider-runnable-track{background:#5E584B!important}
#zt-home-music input[type=range]::-moz-range-track{background:#5E584B!important}
@media(max-width:640px){#zt-home-music .zt-anthem__launcher{border-radius:0;padding:8px}}

/* Preserve v3 styling while supporting the existing two-track navigation. */
#zt-home-music .zt-anthem__playlist{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-bottom:10px}
#zt-home-music .zt-anthem__playlist button{min-width:0;white-space:normal;overflow-wrap:anywhere}
#zt-home-music .zt-anthem__playlist [data-anthem-track-count]{font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#C7BFAA}
#zt-home-music .zt-anthem__identity{flex:1 1 auto;min-width:0}
#zt-home-music :is(h2,.zt-anthem__track-name){overflow-wrap:anywhere}
#zt-home-music .zt-anthem__panel{max-width:calc(var(--music-viewport,100vw) - var(--music-right) - 16px)}
#zt-home-music button:disabled{opacity:.45;cursor:default}
/* The floating launcher has exactly one raster note, with no theme-generated glyph overlay. */
#zt-home-music .zt-anthem__launcher::before,
#zt-home-music .zt-anthem__launcher::after{content:none!important;display:none!important}
#zt-home-music .zt-anthem__music-mark{flex:0 0 auto;object-fit:contain;background:none!important;border:0;box-shadow:none;user-select:none;-webkit-user-drag:none}
