/* TAOTU Music: song cards, Play All, A to Z, letter sidebar (staged 2026-10-31) */
#songs{position:relative}
.sg-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 18px}
.sg-bar .btn{min-height:44px}
.sg-playall{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;border:1px solid var(--tk-rim,#EBC65E);background:linear-gradient(135deg,#f3d27a,#b8860b);color:#1a1206;font-weight:700;font-size:1rem;cursor:pointer;box-shadow:0 6px 18px rgba(184,134,11,.35)}
.sg-playall[aria-pressed=true]{background:linear-gradient(135deg,#ffe9a8,#d9a520)}
.sg-sort{display:inline-flex;border-radius:999px;border:1px solid rgba(235,198,94,.6);overflow:hidden;background:rgba(14,10,8,.45);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.sg-sort button{all:unset;cursor:pointer;padding:10px 14px;color:#FBF6EC;font-size:.95rem;min-height:24px}
.sg-sort button[aria-pressed=true]{background:rgba(235,198,94,.9);color:#1a1206;font-weight:700}
.sg-now{flex-basis:100%;font-size:.92rem;color:#EBC65E;min-height:1.2em;margin:0}
.sg-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.sg{display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:start;padding:14px;border-radius:20px;background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.04)) ,rgba(14,10,8,.42);border:1px solid rgba(235,198,94,.45);box-shadow:0 10px 28px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.25);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);scroll-margin-top:90px;transition:border-color .2s,box-shadow .2s}
.sg.is-on{border-color:#EBC65E;box-shadow:0 0 0 2px rgba(235,198,94,.55),0 12px 32px rgba(0,0,0,.4)}
.sg-art{width:64px;height:64px;border-radius:16px;display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.55),transparent 45%),linear-gradient(135deg,hsl(var(--h1) 75% 62%),hsl(var(--h2) 70% 42%));border:1px solid rgba(255,236,170,.8);box-shadow:inset 0 0 18px rgba(255,255,255,.25)}
.sg-art span{font-family:Cinzel,serif;font-weight:700;font-size:1.6rem;color:#fff8e6;text-shadow:0 2px 6px rgba(0,0,0,.45)}
.sg-body{min-width:0}
.sg-t{display:block;font-family:Cinzel,serif;font-size:1.08rem;line-height:1.3;color:#FBF6EC;overflow-wrap:anywhere}
.sg-m{display:block;font-size:.88rem;color:#E9DFCB;opacity:.9;margin:2px 0 8px}
.sg-new{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:rgba(235,198,94,.9);color:#1a1206;font-size:.72rem;font-weight:700;letter-spacing:.04em;vertical-align:1px}
.sg-ctl{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sg-ctl button{all:unset;cursor:pointer;display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 10px;box-sizing:border-box;border-radius:999px;border:1px solid rgba(235,198,94,.7);background:rgba(255,255,255,.08);color:#FBF6EC;font-size:.9rem;font-weight:600}
.sg-ctl .sg-pp{background:linear-gradient(135deg,#f3d27a,#b8860b);color:#1a1206;min-width:52px;font-size:1.05rem}
.sg-ctl .sg-rep[aria-pressed=true]{background:rgba(235,198,94,.9);color:#1a1206}
.sg-line{display:flex;align-items:center;gap:10px;margin-top:8px}
.sg-seek{flex:1;min-width:0;accent-color:#EBC65E;height:28px}
.sg-time{font-variant-numeric:tabular-nums;font-size:.86rem;color:#E9DFCB;white-space:nowrap}
.sg-dl{display:inline-block;margin-top:8px;font-size:.82rem;color:#EBC65E}
/* A to Z letter bubbles, right side (R636) */
.azbar{position:fixed;right:4px;top:50%;transform:translateY(-50%);z-index:40;display:flex;flex-direction:column;gap:2px;padding:6px 3px;border-radius:999px;background:rgba(14,10,8,.42);border:1px solid rgba(235,198,94,.45);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.azbar a{display:grid;place-items:center;width:22px;height:clamp(14px,2.9vh,22px);border-radius:999px;font-size:clamp(9px,1.6vh,12px);font-weight:700;color:#FBF6EC;text-decoration:none;line-height:1}
.azbar a.off{opacity:.3;pointer-events:none}
.azbar a:active,.azbar a:focus-visible{background:#EBC65E;color:#1a1206}
@media (max-width:760px){main#main .panel{padding-right:max(34px,var(--pr,0px))}}
.sg-flash{animation:sgf 1.4s ease}
@keyframes sgf{0%{box-shadow:0 0 0 4px #EBC65E}100%{box-shadow:0 10px 28px rgba(0,0,0,.35)}}
.sg,.mv{scroll-margin-top:150px}
.sg-playall,.sg-sort button,.sg-ctl button,.sg-sbtn{font-family:inherit}
.sg-search{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;margin:10px 0 0}
.sg-sbtn{cursor:pointer;padding:6px 14px;border-radius:999px;border:1px solid rgba(235,198,94,.75);background:rgba(14,10,8,.5);color:#FBF6EC;font-size:.9rem}
.sg-sin{flex:1;min-width:180px;padding:9px 14px;border-radius:999px;border:1px solid rgba(235,198,94,.75);background:rgba(14,10,8,.55);color:#FBF6EC;font-size:1rem}
.sg-hide{display:none!important}
/* v2 (2026-10-31 12:40 MDT): songs as a pick-from list; tap a row to open its player (ZenWolf 12:34 PM) */
.sg-list{gap:6px;max-height:min(72vh,680px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:4px;border-radius:18px;border:1px solid rgba(235,198,94,.35);background:rgba(14,10,8,.28);scroll-behavior:smooth}
.sg{display:block;padding:0;border-radius:14px;scroll-margin-top:6px}
.sg-row{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 12px}
.sg-row:focus-visible{outline:2px solid #EBC65E;outline-offset:-2px;border-radius:14px}
.sg-art{width:40px;height:40px;border-radius:12px;flex:0 0 40px}
.sg-art span{font-size:1.05rem}
.sg-hd{flex:1;min-width:0;display:block}
.sg-hd .sg-t{font-size:1rem}
.sg-hd .sg-m{margin:2px 0 0}
.sg-go{flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px;border-radius:999px;border:1px solid rgba(235,198,94,.7);color:#EBC65E;font-size:.9rem}
.sg.is-open .sg-go{background:linear-gradient(135deg,#f3d27a,#b8860b);color:#1a1206}
.sg-player{padding:2px 12px 12px 64px}
.sg-player[hidden]{display:none}
.sg.is-open{border-color:#EBC65E}
@media (max-width:480px){.sg-player{padding-left:12px}}
/* A-Z bar: songs only, shown while the Songs section is on screen */
.azbar{transition:opacity .2s}
.azbar.az-hide{opacity:0;pointer-events:none}
#songs{padding-right:max(40px,var(--pr,0px))}
@media (min-width:761px){#songs{padding-right:44px}}
/* Music choice buttons + compact Music Videos list (R653, ZenWolf 12:37 PM MDT) */
.mchoice{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 4px}
.mchoice .btn{min-height:44px}
.mvs{display:grid;gap:8px}
.mv{margin:0;padding:0;border-radius:14px;background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03)),rgba(14,10,8,.42);border:1px solid rgba(235,198,94,.45)}
.mv-row{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:8px 12px}
.mv-row:focus-visible{outline:2px solid #EBC65E;outline-offset:-2px;border-radius:14px}
.mv-th{width:48px;height:48px;flex:0 0 48px;border-radius:999px;object-fit:cover;border:1px solid rgba(255,236,170,.8)}
.mv-hd{flex:1;min-width:0}.mv-hd b{display:block;font-family:Cinzel,serif;color:#FBF6EC;font-size:1rem}.mv-hd span{display:block;font-size:.86rem;color:#E9DFCB;opacity:.9}
.mv-go{display:grid;place-items:center;width:36px;height:36px;border-radius:999px;border:1px solid rgba(235,198,94,.7);color:#EBC65E;font-size:.9rem}
.mv.is-open .mv-go{background:linear-gradient(135deg,#f3d27a,#b8860b);color:#1a1206}
.mv-player{padding:0 12px 12px}.mv-player[hidden]{display:none}
.mv-player video{width:100%;height:auto;border-radius:10px;display:block;background:#000}
.mv-player .mv-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}

/* v3 Shuffle: same gold pill as Play All; ring when on */
.sg-shuffle[aria-pressed=true]{box-shadow:0 0 0 2px #fff3c4,0 6px 18px rgba(184,134,11,.55)}
.sg-pair{display:flex;flex-wrap:wrap;gap:10px;flex:0 1 360px}
.sg-pair .sg-playall{flex:1 1 0;min-width:150px;justify-content:center;white-space:nowrap}
@media (max-width:600px){.sg-pair{flex:1 1 100%}.sg-pair .sg-playall{flex:1 1 100%}}

/* v4 Music Videos bar: Play All + Shuffle, same gold pills as Songs (mv-* so the Songs script never grabs them) */
.mv-intro{margin:0 0 6px}
.mv-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 18px}
.mv-pa{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;border:1px solid var(--tk-rim,#EBC65E);background:linear-gradient(135deg,#f3d27a,#b8860b);color:#1a1206;font-weight:700;font-size:1rem;cursor:pointer;box-shadow:0 6px 18px rgba(184,134,11,.35);font-family:inherit}
.mv-pa[aria-pressed=true]{background:linear-gradient(135deg,#ffe9a8,#d9a520)}
.mv-shuffle[aria-pressed=true]{box-shadow:0 0 0 2px #fff3c4,0 6px 18px rgba(184,134,11,.55)}
.mv-pair{display:flex;flex-wrap:wrap;gap:10px;flex:0 1 360px}
.mv-pair .mv-pa{flex:1 1 0;min-width:150px;justify-content:center;white-space:nowrap}
.mv-now{flex-basis:100%;font-size:.92rem;color:#EBC65E;min-height:1.2em;margin:0}
@media (max-width:600px){.mv-pair{flex:1 1 100%}.mv-pair .mv-pa{flex:1 1 100%}}

/* v6 adds ls-share.css for Share. v5 (2026-10-31, ZenWolf call 2:56 PM MDT): Shuffle always sits BESIDE Play All on every phone (one row, two halves), never pushed to a second row */
.sg-pair,.mv-pair{flex:1 1 100%;flex-wrap:nowrap;max-width:440px}
.sg-pair .sg-playall,.mv-pair .mv-pa{flex:1 1 0;min-width:0;padding:10px 10px;justify-content:center}
@media (max-width:600px){.sg-pair,.mv-pair{flex:1 1 100%;flex-wrap:nowrap}.sg-pair .sg-playall,.mv-pair .mv-pa{flex:1 1 0;min-width:0}}
@media (max-width:340px){.sg-pair .sg-playall,.mv-pair .mv-pa{font-size:.92rem;padding:10px 6px}}

/* v8 (R663b): the bar is a full mini player (see the v8 block at the end). v7 (R663): Now Playing bar, right under the Menu bar inside the sticky header. Hidden until something plays. */
header.top.tnp-on{flex-wrap:wrap!important;row-gap:4px!important}
.tnp{order:99;flex:0 0 100%;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;grid-template-areas:"m m m m" "k p n s";align-items:center;gap:4px 8px;margin:2px 0;padding:6px 8px 8px 12px;border-radius:16px;background:linear-gradient(135deg,rgba(243,210,122,.24),rgba(184,134,11,.16)),rgba(18,12,6,.92);border:1.5px solid #EBC65E;box-shadow:0 4px 14px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.18)}
.tnp[hidden]{display:none!important}
.tnp-main{all:unset;grid-area:m;box-sizing:border-box;min-width:0;min-height:30px;cursor:pointer;display:flex;align-items:center;-webkit-tap-highlight-color:transparent}
.tnp-main:focus-visible{outline:3px solid #fff3c4;outline-offset:2px;border-radius:10px}
.tnp-k{grid-area:k;min-width:0;font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#EBC65E;line-height:1.2}
.tnp-t{font-size:1rem;font-weight:700;color:#FBF6EC;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.tnp-b{all:unset;box-sizing:border-box;cursor:pointer;width:44px;height:44px;display:grid;place-items:center;border-radius:999px;font-size:.9rem;font-weight:700;color:#1a1206;background:linear-gradient(135deg,#f3d27a,#b8860b);border:1px solid #EBC65E;box-shadow:0 3px 10px rgba(0,0,0,.35);-webkit-tap-highlight-color:transparent}
.tnp-pp{grid-area:p}.tnp-nx{grid-area:n}
.tnp-b svg{width:18px;height:18px;fill:currentColor}
.tnp-b:focus-visible{outline:3px solid #fff3c4;outline-offset:2px}
.tnp-b:active{transform:translateY(1px)}
.tnp .tnp-sh{grid-area:s;min-height:44px}
@media (min-width:701px){.tnp{max-width:900px;margin:4px auto 2px;grid-template-columns:minmax(0,1fr) auto auto auto auto;grid-template-areas:"m k p n s"}.tnp-t{font-size:1.25rem}}
/* the A to Z bar moves down and shrinks a little so it stays clear of the bar (R636) */
html.tnp-on .azbar{top:calc(50% + var(--tnp-h,0px)/2)}
html.tnp-on .azbar a{height:clamp(12px,calc((100vh - 270px - var(--tnp-h,0px))/27),22px)}
/* v7: the player's Share keeps the gold Share look (icon beside the word), same as every other Share (R661/R662) */
.sg-ctl button.ls-sh{display:inline-flex;gap:5px;padding:0 12px;background:linear-gradient(135deg,#f3d27a,#b8860b);color:#1a1206;border:1px solid #EBC65E;font-weight:700}
/* v7: the open menu stays fully reachable under the Now Playing bar */
header.top.tnp-on.open #nav{max-height:calc(100vh - 70px - var(--tnp-h,0px));max-height:calc(100dvh - 70px - var(--tnp-h,0px))}
/* v7: on wide screens the menu links keep their place on the top row; only the Now Playing bar takes the new row */
@media (min-width:1101px){header.top.tnp-on>#nav{flex:1 1 0;min-width:0;justify-content:flex-end}}

/* v8 (R663b): Now Playing mini player. Gold on frosted glass, right under the Menu bar. Row 1: Now playing + title (tap to find it in the list).
   Row 2: Back, Play/Pause, Forward, Repeat, Share. Every button 44px for fingers. Pops in on every new song. */
.tnp{grid-template-columns:minmax(0,1fr);grid-template-areas:"m" "c";gap:6px;padding:7px 10px 9px;background:linear-gradient(135deg,rgba(243,210,122,.26),rgba(184,134,11,.14)),rgba(18,12,6,.74);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3)}
.tnp-main{flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:34px}
.tnp-k{grid-area:auto}
.tnp-ctl{grid-area:c;display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.tnp-ctl .tnp-b{flex:0 0 44px}
.tnp-pp{width:50px!important;height:50px!important;flex-basis:50px!important;font-size:1rem}
.tnp .tnp-st{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tnp-rp{background:rgba(18,12,6,.55)!important;color:#EBC65E!important}
.tnp-rp[aria-pressed="true"]{background:linear-gradient(135deg,#f3d27a,#b8860b)!important;color:#1a1206!important;box-shadow:0 0 0 2px #fff3c4,0 3px 10px rgba(0,0,0,.35)}
.tnp-ctl .tnp-sh{flex:0 0 auto;min-height:44px}
@keyframes tnp-pop{0%{transform:translateY(-10px) scale(.96);opacity:.35;box-shadow:0 0 0 0 rgba(235,198,94,.9)}60%{opacity:1;box-shadow:0 0 0 6px rgba(235,198,94,.35)}100%{transform:none;opacity:1;box-shadow:0 4px 14px rgba(0,0,0,.4)}}
.tnp.tnp-pop{animation:tnp-pop .55s ease-out}
@media (prefers-reduced-motion:reduce){.tnp.tnp-pop{animation:none}}
@media (max-width:340px){.tnp-ctl{gap:3px}.tnp-ctl .tnp-sh span{display:none}}
@media (min-width:701px){.tnp{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"m c"}.tnp-ctl{justify-content:flex-end;gap:10px}}

/* v9 (R663/R663a/R663b): compact locked player under the Menu bar. Row 1: Now playing (+ Shuffle on) and the title. Row 2: progress bar + time.
   Row 3: Back, -10s, Play/Pause, Forward, Shuffle, Repeat, Share, Download. Fits a 390 px phone with nothing cut off. */
.tnp{grid-template-areas:"m" "l" "c";gap:3px;padding:5px 9px 7px}
.tnp-top{grid-area:m;min-width:0}
.tnp-main{min-height:0;width:100%}
.tnp-k{font-size:.62rem}
.tnp-t{font-size:.95rem;line-height:1.15}
.tnp-line{grid-area:l;display:flex;align-items:center;gap:8px;min-width:0}
.tnp-seek{flex:1 1 auto;min-width:0;margin:0;height:18px;background:transparent;-webkit-appearance:none;appearance:none;--p:0%}
.tnp-seek::-webkit-slider-runnable-track{height:5px;border-radius:9px;background:linear-gradient(90deg,#EBC65E var(--p),rgba(255,255,255,.18) var(--p))}
.tnp-seek::-moz-range-track{height:5px;border-radius:9px;background:rgba(255,255,255,.18)}
.tnp-seek::-moz-range-progress{height:5px;border-radius:9px;background:#EBC65E}
.tnp-seek::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-5.5px;border-radius:50%;background:#FBF6EC;border:1px solid #EBC65E;box-shadow:0 1px 4px rgba(0,0,0,.5)}
.tnp-seek::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#FBF6EC;border:1px solid #EBC65E}
.tnp-time{flex:0 0 auto;font-size:.75rem;font-variant-numeric:tabular-nums;color:#FBF6EC;white-space:nowrap}
.tnp-ctl{gap:3px}
.tnp-ctl .tnp-b{flex:0 0 36px;width:36px;height:36px;min-height:0}
.tnp-ctl .tnp-pp{flex-basis:42px!important;width:42px!important;height:42px!important}
.tnp-b10{font-size:.72rem!important;letter-spacing:-.02em}
.tnp .tnp-sh{padding:0;gap:0;min-height:0}
.tnp .tnp-sh svg,.tnp-dl svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tnp-sf,.tnp-b10,.tnp-dl{background:rgba(18,12,6,.55)!important;color:#EBC65E!important}
.tnp-sf[aria-pressed="true"]{background:linear-gradient(135deg,#f3d27a,#b8860b)!important;color:#1a1206!important;box-shadow:0 0 0 2px #fff3c4,0 3px 10px rgba(0,0,0,.35)}
.tnp-dl{text-decoration:none}.tnp-dl[hidden]{display:none!important}
@media (min-width:701px){.tnp{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-areas:"m c" "l l"}.tnp-ctl{gap:8px}}
/* v9: the playing song's player has MOVED up into the locked bar, so its box in the list folds back to a highlighted row (no second player) */
html.tnp-on .sg-list .sg.tnp-here .sg-player{display:none!important}
html.tnp-on .sg-list .sg.tnp-here .sg-row{box-shadow:inset 0 0 0 2px #EBC65E;border-radius:14px}
html.tnp-on .sg-list .sg.tnp-here .sg-m::after{content:"Playing ▲ up top";margin-left:8px;font-size:.72rem;font-weight:700;color:#EBC65E;letter-spacing:.02em}
/* v9 (R636/R639/R664): the A to Z bar starts below the Menu bar, the player and the top ticker (and its X), ends above the bottom ticker; never on top of them */
html.az-fit .azbar{top:var(--az-top)!important;transform:none!important;max-height:var(--az-max);overflow:hidden;z-index:30}
html.az-fit .azbar a{height:var(--az-a)!important;min-height:0}

