
/* ───────── Page chrome ───────── */
:root{
  --page-bg:#E9E9EC; --page-text:#1C1C1E; --page-muted:#6E6E73; --page-card:#FFFFFF; --page-line:rgba(0,0,0,.1); --page-accent:#007AFF;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){ --page-bg:#111113; --page-text:#F2F2F5; --page-muted:#A1A1A6; --page-card:#1E1E20; --page-line:rgba(255,255,255,.1); --page-accent:#0A84FF; }
}
:root[data-theme="dark"]{ --page-bg:#111113; --page-text:#F2F2F5; --page-muted:#A1A1A6; --page-card:#1E1E20; --page-line:rgba(255,255,255,.1); --page-accent:#0A84FF; }
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--page-bg); color:var(--page-text); font:13px/1.4 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI Variable","Segoe UI",system-ui,sans-serif; -webkit-font-smoothing:antialiased}
.top{position:sticky; top:0; z-index:50; background:color-mix(in srgb,var(--page-bg) 88%,transparent); backdrop-filter:blur(12px); border-bottom:1px solid var(--page-line); padding:10px 16px}
.top h1{font-size:15px; margin:0 0 8px; font-weight:650}
.top h1 span{color:var(--page-muted); font-weight:400}
.top h1 .h1-mark{width:22px; height:22px; vertical-align:-5px; margin-right:6px}
.ctrls{display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center}
.ctrl{display:flex; align-items:center; gap:6px}
.ctrl > label{color:var(--page-muted); font-size:12px}
.seg{display:inline-flex; background:var(--page-card); border:1px solid var(--page-line); border-radius:7px; padding:2px}
.seg button{border:0; background:transparent; color:var(--page-text); font:inherit; font-size:12px; padding:3px 9px; border-radius:5px; cursor:pointer}
.seg button[aria-pressed="true"]{background:var(--page-accent); color:#fff}
.pbtn{border:1px solid var(--page-line); background:var(--page-card); color:var(--page-text); font:inherit; font-size:12px; padding:4px 10px; border-radius:7px; cursor:pointer}
.pbtn:hover{border-color:var(--page-accent)}
.hint{color:var(--page-muted); font-size:12px; margin-top:6px}
.hint kbd{font:inherit; font-size:11px; border:1px solid var(--page-line); border-radius:4px; padding:0 4px; background:var(--page-card)}
#stage{display:flex; flex-wrap:wrap; gap:20px; justify-content:center; padding:20px 16px 40px}

/* ───────── Desk (fake desktop) ───────── */
.desk{
  position:relative; width:560px; max-width:100%; height:780px; border-radius:14px; overflow:hidden; user-select:none;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif; font-size:13px; line-height:1.35;
  box-shadow:0 0 0 1px var(--page-line), 0 10px 30px rgba(0,0,0,.12);
  /* tokens — light */
  --accent:#007AFF; --accent-text:#FFFFFF; --focus:#007AFF;
  --panel-bg:rgba(246,246,247,.80); --panel-solid:#F6F6F7; --surface:#FFFFFF; --hover:rgba(0,0,0,.05); --press:rgba(0,0,0,.09);
  --sep:rgba(0,0,0,.08); --hairline:rgba(0,0,0,.18); --text:#1C1C1E; --muted:#6E6E73; --tert:#A1A1A6;
  --field:rgba(0,0,0,.055); --live:#E5484D; --danger:#D93036; --danger-sub:#FDECEC; --warn:#B7791F; --ok:#1F8A47;
  --menu-bg:rgba(242,242,244,.92); --bar-bg:rgba(255,255,255,.55); --bar-text:#1C1C1E;
  --wall:radial-gradient(120% 80% at 10% 10%,#F6D5E8 0,transparent 55%),radial-gradient(90% 70% at 90% 20%,#C9DDFB 0,transparent 60%),radial-gradient(100% 80% at 60% 100%,#D9CCF7 0,transparent 60%),#EDE8F5;
  --radius:12px; --row-r:8px; color:var(--text);
}
.desk[data-theme="dark"]{
  --accent:#0A84FF; --accent-text:#FFFFFF; --focus:#0A84FF;
  --panel-bg:rgba(32,32,35,.74); --panel-solid:#1E1E20; --surface:#2A2A2D; --hover:rgba(255,255,255,.07); --press:rgba(255,255,255,.12);
  --sep:rgba(255,255,255,.09); --hairline:rgba(255,255,255,.16); --text:#F2F2F5; --muted:#A1A1A6; --tert:#6E6E73;
  --field:rgba(255,255,255,.08); --live:#FF6369; --danger:#FF6369; --danger-sub:#3A1D1F; --warn:#F5B544; --ok:#3DC46C;
  --menu-bg:rgba(40,40,44,.92); --bar-bg:rgba(20,20,24,.45); --bar-text:#F2F2F5;
  --wall:radial-gradient(120% 80% at 10% 10%,#3B1E54 0,transparent 55%),radial-gradient(90% 70% at 90% 20%,#0F2D5C 0,transparent 60%),radial-gradient(100% 80% at 60% 100%,#1D3A44 0,transparent 60%),#121220;
}
/* Brand accent from the Radioom mark (05 §5.1): copper */
.desk[data-accent="brand"]{--accent:#B4561F; --accent-text:#FFFFFF; --focus:#B4561F}
.desk[data-theme="dark"][data-accent="brand"]{--accent:#F2945A; --accent-text:#21140F; --focus:#F2945A}
.desk[data-platform="win"]{font-family:"Segoe UI Variable Text","Segoe UI",system-ui,sans-serif; font-size:14px; --radius:8px; --row-r:6px}
.desk[data-platform="win"][data-accent="blue"]{--accent:#0067C0; --focus:#0067C0}
.desk[data-platform="win"][data-theme="dark"][data-accent="blue"]{--accent:#4CC2FF; --accent-text:#00111C; --focus:#4CC2FF}
.wall{position:absolute; inset:0; background:var(--wall)}
.desk-label{position:absolute; left:12px; bottom:10px; font-size:11px; color:var(--muted); background:var(--bar-bg); padding:2px 8px; border-radius:6px; backdrop-filter:blur(10px)}
.desk[data-platform="win"] .desk-label{bottom:58px}
.desk[data-platform="linux"]{font-family:Cantarell,"Adwaita Sans",Inter,system-ui,sans-serif; --radius:12px}
.desk[data-platform="linux"][data-accent="blue"]{--accent:#3584E4; --focus:#3584E4}
.desk[data-platform="linux"][data-theme="dark"][data-accent="blue"]{--accent:#78AEED; --accent-text:#0B1A2E; --focus:#78AEED}
.topbar{position:absolute; top:0; left:0; right:0; height:30px; display:flex; align-items:center; padding:0 10px; background:#000; color:#fff; font-size:13px; font-weight:600}
.topbar .act{padding:2px 10px; border-radius:12px; background:rgba(255,255,255,.12)}
.topbar .clk{position:absolute; left:50%; transform:translateX(-50%)}
.topbar .sp{flex:1}
.topbar .tray-btn{color:#fff; height:24px}
.topbar .tray-btn:hover,.topbar .tray-btn.on{background:rgba(255,255,255,.18)}
.desk[data-platform="linux"] .panel{top:92px; left:50%; transform:translateX(-50%)}
.desk[data-platform="linux"] .panel.opening{animation:fadein .12s ease-out}
.sysc{margin:4px 0 14px; text-align:left; border-radius:10px; background:var(--surface); box-shadow:inset 0 0 0 1px var(--sep); overflow:clip}
.sysc h4{margin:0; padding:10px 12px 6px; font-size:13px; display:flex; align-items:center; gap:6px}
.sysc h4 .ic{color:var(--warn)}
.sysc .it{padding:8px 12px 10px; border-top:1px solid var(--sep)}
.sysc .it b{display:flex; align-items:center; gap:6px; font-size:12.5px}
.sysc .sev{font-size:10.5px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; padding:1px 6px; border-radius:6px; background:color-mix(in srgb,var(--warn) 18%,transparent); color:var(--warn)}
.sysc .sev.opt{background:var(--field); color:var(--muted)}
.sysc .it p{margin:3px 0 6px; font-size:12px; color:var(--muted); text-align:left}
.cmd{display:flex; align-items:center; gap:6px; background:var(--field); border-radius:6px; padding:4px 4px 4px 8px}
.cmd code{flex:1; min-width:0; white-space:pre-wrap; overflow-wrap:anywhere; font:11.5px/1.6 ui-monospace,Menlo,Consolas,monospace; user-select:all}
.cmd .ib{width:24px; height:24px}
.sysc .row2{display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-bottom:6px; font-size:12px; color:var(--muted)}
.sysc select{font:inherit; font-size:12px; color:var(--text); background:var(--field); border:0; border-radius:6px; padding:2px 4px}
.sysc .foot2{display:flex; gap:6px; justify-content:flex-end; padding:8px 12px; border-top:1px solid var(--sep); position:sticky; bottom:0; background:var(--surface)}
.sheet .sysc{margin-top:4px}

/* macOS menu bar */
.menubar{position:absolute; top:0; left:0; right:0; height:26px; display:flex; align-items:center; gap:14px; padding:0 10px; background:var(--bar-bg); backdrop-filter:blur(20px); color:var(--bar-text); font-size:13px}
.menubar .app{font-weight:700}
.menubar .sp{flex:1}
.menubar .mi-s{opacity:.9; display:flex; align-items:center}
/* Windows taskbar */
.taskbar{position:absolute; left:0; right:0; bottom:0; height:48px; display:flex; align-items:center; padding:0 8px; background:var(--bar-bg); backdrop-filter:blur(30px) saturate(160%); border-top:1px solid var(--sep); color:var(--bar-text)}
.taskbar .center{flex:1; display:flex; justify-content:center; gap:6px}
.taskbar .tb-app{width:36px; height:36px; border-radius:6px; display:grid; place-items:center}
.taskbar .tb-app i{display:block; width:20px; height:20px; border-radius:4px}
.taskbar .tray{display:flex; align-items:center; gap:2px; font-size:12px}
.taskbar .clock{text-align:right; line-height:1.2; padding:0 8px; font-size:12px}

.tray-btn{all:unset; display:flex; align-items:center; gap:5px; height:22px; padding:0 6px; border-radius:5px; cursor:default; color:var(--bar-text)}
.desk[data-platform="win"] .tray-btn{height:40px; padding:0 8px}
.tray-btn:hover,.tray-btn.on{background:var(--press)}
.tray-btn:focus-visible{outline:2px solid var(--focus)}
.tray-btn .ttl{font-size:12.5px; max-width:180px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tray-ic{width:18px; height:18px; overflow:visible}
.tray-ic .bdg{display:none}
.tray-ic.st-connecting .mk,.tray-ic.st-reconnecting .mk{animation:wv 0.9s infinite}
.tray-ic .pz,.tray-ic .bang,.tray-ic .mute{display:none}
.tray-ic.st-paused .bdg,.tray-ic.st-failed .bdg,.tray-ic.muted .bdg{display:inline}
.tray-ic.st-paused .pz{display:inline}
.tray-ic.st-failed .bang{display:inline}
.tray-ic.muted .pz,.tray-ic.muted .bang{display:none}
.tray-ic.muted .mute{display:inline}
.desk{--tray-inv:#fff}
.desk[data-theme="dark"]{--tray-inv:#111}
.topbar{--tray-inv:#111}
@keyframes wv{0%,100%{opacity:.15}50%{opacity:1}}

/* ───────── Panel ───────── */
.panel{
  position:absolute; width:360px; min-height:420px; max-height:640px; display:flex; flex-direction:column;
  border-radius:var(--radius); background:var(--panel-bg); backdrop-filter:blur(40px) saturate(180%); -webkit-backdrop-filter:blur(40px) saturate(180%);
  box-shadow:0 0 0 .5px var(--hairline), 0 18px 50px rgba(0,0,0,.28); overflow:hidden; z-index:5;
}
.desk[data-platform="mac"] .panel{top:31px; right:8px}
.desk[data-platform="win"] .panel{bottom:58px; right:12px; width:368px}
.panel.opening{animation:pop .12s ease-out}
.desk[data-platform="win"] .panel.opening{animation:popw .14s ease-out}
@keyframes pop{from{opacity:0; transform:translateY(-6px)}to{opacity:1; transform:none}}
@keyframes popw{from{opacity:0; transform:translateY(8px)}to{opacity:1; transform:none}}
.scene-in{animation:fadein .1s ease-out}
@keyframes fadein{from{opacity:0}to{opacity:1}}
.np-in{animation:grow .22s cubic-bezier(.2,.9,.3,1)}
@keyframes grow{from{opacity:0; transform:translateY(24px) scale(.98)}to{opacity:1; transform:none}}

.ic{width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.ic.f{fill:currentColor; stroke:none}
.ib{all:unset; width:28px; height:28px; display:grid; place-items:center; border-radius:7px; color:var(--muted); cursor:default; flex:none}
.ib:hover{background:var(--hover); color:var(--text)}
.ib:active{background:var(--press)}
.ib:focus-visible{outline:2px solid var(--focus); outline-offset:-2px}
.ib.on{color:var(--accent)}

.hdr{display:flex; align-items:center; gap:8px; padding:10px 12px; flex:none}
.sf{flex:1; display:flex; align-items:center; gap:6px; height:32px; padding:0 4px 0 9px; border-radius:8px; background:var(--field); min-width:0}
.desk[data-platform="win"] .sf{border-radius:6px; border-bottom:1px solid var(--hairline)}
.sf:focus-within{box-shadow:0 0 0 2px color-mix(in srgb,var(--focus) 55%,transparent)}
.sf .ic{color:var(--muted); width:14px; height:14px}
.sf input{all:unset; flex:1; min-width:0; font-size:13px; color:var(--text)}
.desk[data-platform="win"] .sf input{font-size:14px}
.sf input::placeholder{color:var(--tert)}
.sf .clr{all:unset; width:20px; height:20px; display:grid; place-items:center; border-radius:50%; color:var(--muted)}
.sf .clr:hover{background:var(--hover)}

.chips{display:flex; gap:8px; padding:0 12px 8px; overflow-x:auto; flex:none; scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{all:unset; display:inline-flex; align-items:center; gap:5px; height:24px; padding:0 10px; border-radius:12px; background:var(--field); font-size:12px; white-space:nowrap; color:var(--text)}
.chip:hover{background:var(--press)}
.chip[aria-pressed="true"]{background:var(--accent); color:var(--accent-text)}
.chip .ic{width:13px; height:13px}
/* Search filter bar (iOS FilterChipBar): active chips with a remove button, Nearby, "+ Filter". Panel is the search header, so it sits in the sticky block. */
.fbar .fchip{all:unset; box-sizing:border-box; display:inline-flex; align-items:center; gap:5px; height:24px; padding:0 8px 0 10px; border-radius:12px; background:color-mix(in srgb,var(--accent) 18%,transparent); font-size:12px; white-space:nowrap; color:var(--text); cursor:default; flex:none}
.fbar .fchip.p{height:28px; border-radius:14px; font-weight:600}
.fbar .fchip:hover{background:color-mix(in srgb,var(--accent) 28%,transparent)}
.fbar .fchip:focus-visible{outline:2px solid var(--focus)}
.fbar .fchip .ic{width:12px; height:12px; color:var(--muted)}
.fbar .fchip .ic:first-child{color:var(--accent); width:13px; height:13px}
.fbar .chip,.fbar .cp{flex:none}
.fbar .fadd{color:var(--accent)}
.pickm{width:250px; padding:5px}
.pickm input{all:unset; box-sizing:border-box; display:block; width:100%; height:26px; padding:0 8px; margin-bottom:4px; border-radius:6px; background:var(--field); font-size:13px; color:var(--text)}
.pickm input:focus-visible{outline:2px solid var(--focus)}
.pklist{max-height:216px; overflow-y:auto}
.chip:focus-visible{outline:2px solid var(--focus)}
/* Episode actions on the side panel (docs/ui-ux/14 §9.3): a wrapped row of chips under the header player */
.epchips{padding:10px 12px 4px}
.chip[disabled]{opacity:.45; pointer-events:none}
.chip .ring{width:13px; height:13px; transform:rotate(-90deg)}
.chip .ring circle{fill:none; stroke-width:2.4}
.chip .ring .rt{stroke:var(--press,var(--sep))}
.chip .ring .rp{stroke:var(--accent); stroke-dasharray:50.27; transition:stroke-dashoffset .35s linear}
.chip.dl-bad{color:var(--warn,#b3261e)}

.body{flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden; padding-bottom:6px; border-top:1px solid transparent; transition:border-color .1s}
.body.scrolled{border-top-color:var(--sep)}
.sec{display:flex; align-items:center; justify-content:space-between; height:28px; padding:6px 12px 0; font-size:11px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted)}
.sec .lnk{all:unset; text-transform:none; letter-spacing:0; font-size:12px; font-weight:500; color:var(--accent); cursor:default}
.sec .lnk:hover{text-decoration:underline}
.sec .tabs{display:flex; gap:16px}
.sec .tab{display:flex; flex-direction:column; gap:2px; color:var(--muted); font-weight:500; font-size:13px; text-transform:none; letter-spacing:0}
.sec .tab::after{content:""; height:2px; border-radius:1px}
.sec .tab.on{color:var(--text); font-weight:650}
.sec.fh{padding-top:8px; gap:4px}
.sec.fh .lnk{padding:0}
.sec .tab.on::after{background:var(--accent)}

/* station row */
.row{position:relative; display:grid; grid-template-columns:28px minmax(0,1fr) auto; align-items:center; gap:10px; height:48px; margin:0 6px; padding:0 6px; border-radius:var(--row-r); cursor:default; outline:none}
.compact .row{height:36px}
.row:hover{background:var(--hover)}
.kbd .row.sel{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--focus) 70%,transparent)}
.row.cur{background:var(--accent); color:var(--accent-text)}
.row.cur .sub,.row.cur .ib{color:color-mix(in srgb,var(--accent-text) 82%,transparent)}
.row.cur .ib:hover{background:color-mix(in srgb,var(--accent-text) 16%,transparent); color:var(--accent-text)}
.kbd .row.cur.sel{box-shadow:inset 0 0 0 2px var(--accent-text)}
.row.cur.paused{background:color-mix(in srgb,var(--accent) 22%,transparent); color:var(--text)}
.row.cur.paused .sub,.row.cur.paused .ib{color:var(--muted)}
.row.failed{background:var(--danger-sub)}
.row.failed .sub{color:var(--danger)}
.row.pulse{animation:pulse .6s ease-out 2}
@keyframes pulse{50%{background:color-mix(in srgb,var(--accent) 25%,transparent)}}
.row.drop-before::before,.row.drop-after::after{content:""; position:absolute; left:8px; right:8px; height:2px; background:var(--accent); border-radius:1px}
.row.drop-before::before{top:-1px}.row.drop-after::after{bottom:-1px}
.row.dragging{opacity:.4}
.tile{width:28px; height:28px; border-radius:7px; display:grid; place-items:center; color:#fff}
.tile .ic{width:16px; height:16px}
.row.cur:not(.paused) .tile{background:transparent !important; box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent-text) 55%,transparent); color:var(--accent-text)}
.txt{min-width:0; display:flex; flex-direction:column; justify-content:center}
.compact .txt{flex-direction:row; align-items:baseline; gap:6px}
.nm{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.nm mark{background:none; color:inherit; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:2px; text-decoration-color:color-mix(in srgb,var(--accent) 70%,transparent)}
.sub{font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.desk[data-platform="win"] .sub{font-size:13px}
.compact .sub{flex:1 1 auto}
.end{display:flex; align-items:center; gap:0}
.end .ib{width:24px; height:24px}
.hov{display:none}
/* Row end as built: status at rest; Play or Pause and the star on hover or keyboard selection (not on a failed row) */
.stt,.hv{align-items:center}
.stt{display:flex}
.hv{display:none}
.row:hover .hv,.kbd .row.sel .hv{display:flex}
.row:hover .stt,.kbd .row.sel .stt{display:none}
.row.failed:hover .hv,.kbd .row.failed.sel .hv{display:none}
.row.failed:hover .stt,.kbd .row.failed.sel .stt{display:flex}
.row:hover .hov,.kbd .row.sel .hov{display:grid}
.row:hover .stat-idle,.kbd .row.sel .stat-idle{display:none}
.star-on{color:var(--accent) !important}
.row.cur .star-on{color:var(--accent-text) !important}
.grip{display:none; color:var(--tert); cursor:grab}
.editing .grip{display:grid}
.editing .row{grid-template-columns:16px 28px minmax(0,1fr) auto}

.bars{display:flex; align-items:flex-end; gap:2px; height:12px; width:16px; margin:0 4px}
.bars i{width:3px; background:currentColor; border-radius:1px; animation:bar 0.9s ease-in-out infinite}
.bars i:nth-child(1){height:6px; animation-delay:-.3s}.bars i:nth-child(2){height:12px; animation-delay:-.6s}.bars i:nth-child(3){height:8px}
@keyframes bar{0%,100%{transform:scaleY(.35)}50%{transform:scaleY(1)}}
.bars i{transform-origin:bottom}
.spin{width:14px; height:14px; margin:0 5px; border-radius:50%; border:2px solid currentColor; border-right-color:transparent; animation:sp .8s linear infinite; opacity:.85}
@keyframes sp{to{transform:rotate(360deg)}}
.reduce .bars i,.reduce .tray-ic .mk,.reduce .spin{animation:none !important}
.reduce .spin{border-right-color:currentColor; opacity:.5}
.reduce .panel,.reduce .np-in,.reduce .scene-in{animation:none !important}
.reduce .tray-ic.st-connecting .mk,.reduce .tray-ic.st-reconnecting .mk{opacity:.6}

/* empty / misc */
.empty{padding:28px 12px; text-align:center; color:var(--muted)}
.empty h3{margin:0 0 6px; font-size:14px; color:var(--text)}
.empty .acts{display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-top:12px}
.btn{all:unset; display:inline-flex; align-items:center; justify-content:center; gap:6px; height:28px; padding:0 12px; border-radius:7px; background:var(--field); color:var(--text); font-size:13px; font-weight:500; cursor:default; white-space:nowrap}
.btn:hover{background:var(--press)}
.btn:focus-visible{outline:2px solid var(--focus); outline-offset:1px}
.btn.pri{background:var(--accent); color:var(--accent-text)}
.btn.pri:hover{filter:brightness(1.08)}
.btn[disabled]{opacity:.45; pointer-events:none}
.btn.ghost{background:transparent; color:var(--accent)}
.foot{display:flex; align-items:center; gap:8px; padding:10px 0 4px; color:var(--muted); font-size:12px; border-top:1px solid var(--sep); margin:8px 12px 0}
.foot .spin{margin:0; width:12px; height:12px}
.foot a{color:var(--accent); cursor:default}
.genres{display:grid; grid-template-columns:repeat(2,1fr); gap:8px; padding:4px 12px 8px}
.gbtn{all:unset; display:flex; align-items:center; gap:8px; height:34px; padding:0 8px; border-radius:8px; background:var(--field); font-size:12.5px; cursor:default}
.gbtn:hover{background:var(--press)}
.gbtn .tile{width:22px; height:22px; border-radius:6px}
.gbtn .tile .ic{width:13px; height:13px}

/* mini player */
/* Player bar (SP-08, doc 03 §3.3.1): 68 high, one per panel, at the bottom of both views */
.pbar{flex:none; position:relative; height:68px; display:flex; align-items:center; gap:4px; padding:0 12px; background:color-mix(in srgb,var(--accent) 16%,var(--panel-solid)); box-shadow:0 -2px 8px rgba(0,0,0,.14); z-index:4}
.pbar.slide{animation:barin .25s ease-out}
.panel[data-ptheme="dark"] .pbar,.desk[data-theme="dark"] .pbar{box-shadow:0 -2px 8px rgba(0,0,0,.45)}
.reduce .pbar.slide{animation:none}
@keyframes barin{from{transform:translateY(76px)}to{transform:none}}
.pbar::before{content:""; position:absolute; left:0; right:0; top:0; height:1px; background:var(--hairline); pointer-events:none}
.pbar .ptile{all:unset; flex:none; width:48px; height:48px; border-radius:8px; overflow:hidden; cursor:default; margin-right:4px}
.pbar .ptile:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.pbar .ptile .art{width:48px; height:48px; border-radius:8px}
.pbar .ptr{display:flex; align-items:center; gap:2px; flex:none}
.pbar .ib{width:32px; height:32px; color:var(--text)}
.pbar .ib[disabled]{opacity:.4; pointer-events:none}
.pbar .pplay{all:unset; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; color:var(--text); cursor:default}
.pbar .pplay:hover{background:var(--hover)}
.pbar .pplay:focus-visible{outline:2px solid var(--focus)}
.pbar .pplay .ic{width:20px; height:20px}
/* "List" view: the mini player hero at the top (doc 03 §3.3) */
.lhero{flex:none; position:relative; height:136px; overflow:hidden; padding:12px; display:grid; grid-template-columns:64px minmax(0,1fr); column-gap:12px; align-content:start}
.lhero.col{height:60px; grid-template-columns:1fr; align-content:center; padding:0 12px}
.lh-bg{position:absolute; inset:-24px; filter:blur(24px) saturate(130%); opacity:.7}
.lh-bg .art{width:100%; height:100%; border-radius:0}
.lh-bg svg{width:100%; height:100%; display:block}
.lh-scrim{position:absolute; inset:0; background:color-mix(in srgb,var(--panel-solid) 62%,transparent)}
.lhero > *{position:relative}
.lhero .lh-art{width:64px; height:64px; border-radius:8px; overflow:hidden; cursor:default; box-shadow:0 2px 8px rgba(0,0,0,.2)}
.lhero .lh-art .art{width:64px; height:64px; border-radius:8px}
.lhero .lh-tx{min-width:0; cursor:default; line-height:1.3}
.lhero .lh-tx > div{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.lhero .l1{font-size:15px; font-weight:650}
.lhero .l2{font-size:12.5px; color:var(--muted)}
.lhero .l3{font-size:12px; color:var(--muted); display:flex; gap:6px; align-items:center}
.lhero .lh-am{position:absolute; top:8px; right:8px}
.lhero .lh-ctl{position:absolute; left:12px; right:12px; bottom:12px; height:28px; display:flex; align-items:center; gap:4px}
.lhero .lh-ctl .sp{flex:1}
.lhero .lh-ctl .ib{width:28px; height:28px; color:var(--text)}
.lhero .lh-ctl .tr{display:flex; align-items:center; gap:2px}
.lhero .lh-ctl .pl{all:unset; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; cursor:default}
.lhero .lh-ctl .pl:hover{background:var(--hover)}
.lhero .lh-ctl .pl .ic{width:18px; height:18px}
.lhero .lh-bar{display:flex; align-items:center; gap:4px; width:100%}
.lhero .lh-bar .lh-line{flex:1; min-width:0; font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.lhero .lh-bar .ib{width:28px; height:28px; color:var(--text); flex:none}
.lhero .lh-bar .tr{display:flex; gap:2px; flex:none}
.lhero .lh-bar .pl{all:unset; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; cursor:default}
.lhero .lh-bar .pl .ic{width:18px; height:18px}
.lhero .lhline{position:absolute; left:0; bottom:0; height:2px; background:var(--accent); transition:width .1s linear}
.tabsrow{flex:none; padding:0 0 0; background:var(--panel-solid)}
.tabsrow .sec{height:34px; padding-top:4px}
.tabsrow .tab{all:unset; display:flex; flex-direction:column; gap:2px; color:var(--muted); font-weight:500; font-size:13px; text-transform:none; letter-spacing:0; cursor:default}
.tabsrow .tab::after{content:""; height:2px; border-radius:1px}
.tabsrow .tab.on{color:var(--text); font-weight:650}
.tabsrow .tab.on::after{background:var(--accent)}
.tabsrow .tab:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.pbar .pline{flex:1 1 0; min-width:0; height:4px; margin:0 6px; border-radius:2px; background:var(--press,var(--sep)); overflow:hidden}
.pbar .pline i{display:block; height:100%; background:var(--accent); border-radius:2px; transition:width .1s linear}
.playb{all:unset; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:var(--text); color:var(--panel-solid); cursor:default}
.playb:hover{filter:brightness(1.15)}
.playb:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.playb .ic{width:14px; height:14px}
.playb.big{width:52px; height:52px}
.playb.big .ic{width:20px; height:20px}
.prog{position:absolute; left:0; top:-1px; height:2px; background:var(--accent); transition:width .1s linear}
.badge{display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:600; letter-spacing:.02em; color:var(--muted); white-space:nowrap}
.badge .dot{width:7px; height:7px; border-radius:50%; background:var(--live)}
.badge.err{color:var(--danger)}
.badge .lk{all:unset; font-weight:600; color:var(--accent); cursor:default; padding:0 2px; border-radius:4px}
.badge .lk:hover{text-decoration:underline}
.sleep{display:inline-flex; align-items:center; gap:3px; font-size:11px; color:var(--muted); font-variant-numeric:tabular-nums; padding:0 4px}
.tnum{font-variant-numeric:tabular-nums}

input[type=range].rng{-webkit-appearance:none; appearance:none; flex:1; height:16px; background:transparent; margin:0 2px}
input[type=range].rng::-webkit-slider-runnable-track{height:4px; border-radius:2px; background:linear-gradient(to right,var(--accent) var(--p,50%),var(--press) var(--p,50%))}
input[type=range].rng::-moz-range-track{height:4px; border-radius:2px; background:var(--press)}
input[type=range].rng::-moz-range-progress{height:4px; border-radius:2px; background:var(--accent)}
input[type=range].rng::-webkit-slider-thumb{-webkit-appearance:none; width:16px; height:16px; margin-top:-6px; border-radius:50%; background:#fff; box-shadow:0 0 0 .5px rgba(0,0,0,.3),0 1px 3px rgba(0,0,0,.3)}
input[type=range].rng::-moz-range-thumb{width:16px; height:16px; border:0; border-radius:50%; background:#fff; box-shadow:0 0 0 .5px rgba(0,0,0,.3),0 1px 3px rgba(0,0,0,.3)}
input[type=range].rng:focus-visible{outline:2px solid var(--focus); border-radius:8px}

.art{display:grid; place-items:center; color:#fff; font-weight:700; letter-spacing:.02em; overflow:hidden; position:relative}
.art span{text-shadow:0 1px 2px rgba(0,0,0,.25)}

/* now playing */
.nph{display:flex; align-items:center; gap:8px; padding:10px 12px; flex:none}
.nph .ttl{flex:1; font-weight:600; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.np{padding:4px 0 8px; text-align:center}
.np .art{width:312px; height:312px; border-radius:12px; margin:4px auto 14px; font-size:56px; box-shadow:0 10px 30px rgba(0,0,0,.25)}
.np .tt{font-size:17px; font-weight:650; padding:0 12px; line-height:1.25}
.np .ar{color:var(--muted); margin-top:2px; padding:0 12px}
.np .q{margin-top:6px; display:flex; justify-content:center; gap:8px; align-items:center}
.np .ctl{display:flex; align-items:center; justify-content:center; gap:22px; margin:14px 0 6px}
.np .ctl .ib{width:36px; height:36px; color:var(--text)}
.np .vol{display:flex; align-items:center; gap:6px; padding:0 12px}
.hist .h{display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:6px; height:32px; margin:0 6px; padding:0 6px; border-radius:var(--row-r); font-size:12.5px}
.hist .h:hover{background:var(--hover)}
.hist .h .tm{color:var(--muted)}
.hist .h .s{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

/* forms */
.form{padding:4px 12px 12px; display:flex; flex-direction:column; gap:4px}
.form label{font-size:12px; font-weight:500; color:var(--muted); margin-top:8px}
.fld{display:flex; align-items:center; gap:6px; height:30px; padding:0 8px; border-radius:7px; background:var(--surface); box-shadow:inset 0 0 0 1px var(--sep)}
.fld:focus-within{box-shadow:0 0 0 2px color-mix(in srgb,var(--focus) 55%,transparent)}
.fld.bad{box-shadow:inset 0 0 0 1px var(--danger)}
.fld input,.fld select{all:unset; flex:1; min-width:0; font-size:13px; color:var(--text)}
.fld select{appearance:auto}
.fld .ok{color:var(--ok)}.fld .no{color:var(--danger)}
.msg{font-size:12px; color:var(--muted); display:flex; align-items:center; gap:5px; min-height:18px}
.msg.ok{color:var(--ok)}.msg.no{color:var(--danger)}.msg.warn{color:var(--warn)}
.form .row-btns{display:flex; justify-content:flex-end; gap:8px; margin-top:14px; flex-wrap:wrap}

/* welcome */
.wel{padding:22px 12px 12px; text-align:center}
.consent{margin:0 0 14px; padding:10px 12px; border-radius:12px; background:var(--field); text-align:left}
.consent .cth{display:flex; align-items:center; gap:8px}
.consent h3{flex:1; margin:0; font-size:13.5px; font-weight:650}
.consent .ib{width:24px; height:24px; flex:none; margin:-2px -4px 0 0}
.consent p{margin:4px 0 8px; font-size:12px; line-height:1.4}
.consent .ctf{display:flex; align-items:center; justify-content:space-between; gap:8px}
.consent .clink{all:unset; display:inline-flex; align-items:center; gap:3px; color:#0A6CFF; text-decoration:underline; text-underline-offset:2px; font-size:12px; cursor:default; border-radius:3px}
.desk[data-theme="dark"] .consent .clink{color:#5CA8FF}
.consent .clink .ic{width:12px; height:12px}
.consent .clink:focus-visible{outline:2px solid var(--focus)}
.wel .logo{width:64px; height:64px; margin:0 auto 10px; border-radius:14px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.18)}
.wel h2{font-size:17px; margin:0 0 4px}
.wel.in-cover{padding-top:14px}
.wel p{margin:0 0 14px; color:var(--muted)}
.wel .gl{display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin:8px 0 14px}
.wel .links{display:flex; gap:6px; justify-content:center; flex-wrap:wrap}
.wel .chk{display:flex; align-items:center; justify-content:center; gap:6px; margin-top:16px; color:var(--muted); font-size:12px}
.wel .fake-sf{display:flex; align-items:center; gap:8px; height:34px; padding:0 10px; border-radius:8px; background:var(--surface); box-shadow:inset 0 0 0 1px var(--sep); color:var(--tert); cursor:text; text-align:left}

/* sheet */
.scrim{position:absolute; inset:0; background:rgba(0,0,0,.18); z-index:10; animation:fadein .12s}
.sheet{position:absolute; left:0; right:0; bottom:0; z-index:11; background:var(--panel-solid); border-radius:14px 14px 0 0; padding:16px 12px 14px; box-shadow:0 -8px 30px rgba(0,0,0,.18); animation:up .18s ease-out}
@keyframes up{from{transform:translateY(30px); opacity:0}to{transform:none; opacity:1}}
.sheet h3{margin:0 0 6px; font-size:14px; display:flex; gap:8px; align-items:center}
.sheet h3 .ic{color:var(--danger); width:18px; height:18px}
.sheet p{margin:0 0 12px; color:var(--muted)}
.sheet .acts{display:flex; gap:8px; flex-wrap:wrap}
.sheet details{margin-top:12px; font-size:12px; color:var(--muted)}
.sheet details pre{font:11px/1.5 ui-monospace,Menlo,Consolas,monospace; background:var(--field); padding:8px; border-radius:6px; white-space:pre-wrap; margin:6px 0 0; user-select:text}

/* menus */
.menu{position:absolute; z-index:30; min-width:230px; padding:5px; border-radius:9px; background:var(--menu-bg); backdrop-filter:blur(30px) saturate(180%); box-shadow:0 0 0 .5px var(--hairline),0 10px 30px rgba(0,0,0,.25); font-size:13px; color:var(--text)}
.desk[data-platform="win"] .menu{border-radius:8px; padding:4px; font-size:14px}
.mi{position:relative; display:flex; align-items:center; gap:8px; height:24px; padding:0 10px 0 8px; border-radius:5px; cursor:default; white-space:nowrap}
.desk[data-platform="win"] .mi{height:30px}
.mi .ck{width:14px; display:grid; place-items:center}
.mi .ck .ic{width:13px; height:13px}
.mi .lb{flex:1; overflow:hidden; text-overflow:ellipsis; max-width:260px}
.mi .kb{color:var(--muted); font-size:12px; margin-left:16px}
.mi:not(.dis):not(.info):hover,.mi.has-sub:hover{background:var(--accent); color:var(--accent-text)}
.mi:not(.dis):hover .kb{color:inherit}
.mi.dis{color:var(--tert)}
.mi.info{color:var(--muted); font-size:12px}
.msep{height:1px; background:var(--sep); margin:5px 8px}
.mi .sub-m{display:none; position:absolute; top:-5px; right:100%; margin-right:2px; color:var(--text)}
.mi.has-sub:hover > .sub-m{display:block}
.mi.has-sub .chev{width:12px; height:12px}

/* toasts */
.toasts{position:absolute; left:12px; right:12px; bottom:12px; display:flex; flex-direction:column; align-items:center; gap:6px; z-index:20; pointer-events:none}
.panel.has-bar .toasts{bottom:80px}
.toast{pointer-events:auto; display:flex; align-items:center; gap:10px; max-width:100%; padding:8px 8px 8px 12px; border-radius:10px; background:color-mix(in srgb,var(--text) 92%,transparent); color:var(--panel-solid); font-size:12.5px; box-shadow:0 6px 20px rgba(0,0,0,.25); animation:up .16s ease-out}
.toast .btn{height:24px; padding:0 8px; background:transparent; color:inherit; font-weight:650}
.toast .btn:hover{background:rgba(127,127,127,.25)}
.sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}


/* ───────── Hero layout (mobile-style cover) ───────── */
.panel[data-ptheme="light"]{--surface:#FFFFFF; --press:rgba(0,0,0,.09); --hairline:rgba(0,0,0,.18); --tert:#A1A1A6; --live:#E5484D; --danger:#D93036; --danger-sub:#FDECEC; --ok:#1F8A47}
.panel[data-ptheme="dark"]{--surface:#2A2A2D; --press:rgba(255,255,255,.12); --hairline:rgba(255,255,255,.16); --tert:#6E6E73; --live:#FF6369; --danger:#FF6369; --danger-sub:#3A1D1F; --ok:#3DC46C}
.panel.hero-l{height:620px; color:var(--text)}
.art > svg:not(.ic){width:100%; height:100%; display:block}
.hero{position:relative; flex:none; height:214px; overflow:hidden; --c:0; background:var(--panel-solid)} /* opaque: the list scrolls underneath the sticky cover */
.hstick{background:var(--panel-solid)}
.hero.col{height:60px; transition:height .22s cubic-bezier(.2,.9,.3,1)}
.body.hs{border-top:0 !important; padding-bottom:6px}
.hstick{position:sticky; top:0; z-index:3}
.hs.big .hstick{top:-154px}
.hstick .hdr,.hstick .chips{background:var(--panel-solid)}
.hs .row{scroll-margin-top:265px}
.hs.big .row{scroll-margin-top:110px}
.hero-fog{position:absolute; inset:0; background:color-mix(in srgb,var(--panel-solid) 72%,transparent); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); opacity:var(--c); pointer-events:none}
.hero:not(.col) .hero-top{opacity:calc(1 - var(--c) * 1.8)}
.hero:not(.col) .hb-center{opacity:calc(1 - var(--c) * 1.6)}
.hero:not(.col) .hmeta .ha{opacity:calc(1 - var(--c) * 2)}
.hero:not(.col) .hero-bot{transform:translateY(calc(var(--c) * 10px))}
.hero-bg{position:absolute; inset:0}
.hero-bg .art{position:absolute; inset:0; width:100%; height:100%; border-radius:0}
.hero-bg.art-in{animation:fadein .45s ease-out}
.hero-scrim{position:absolute; inset:0; background:linear-gradient(to bottom,transparent 30%,color-mix(in srgb,var(--panel-solid) 35%,transparent) 65%,color-mix(in srgb,var(--panel-solid) 55%,transparent) 85%,var(--panel-solid) 100%)} /* docs/ui-ux/14 §4.12.1 */
.hero.col .hero-scrim{background:color-mix(in srgb,var(--panel-solid) 80%,transparent); backdrop-filter:blur(10px)}
.doodle{position:absolute; inset:0; color:var(--muted); opacity:.32}
.hero-top{position:absolute; top:12px; left:12px; right:12px; display:flex; justify-content:space-between; align-items:center; gap:8px; transition:opacity .15s}
.hero.col .hero-top{opacity:0; pointer-events:none}
.hero-top .lg{display:flex; gap:8px; min-width:0}
.pill.src{font-size:11px; font-weight:600; min-width:0; overflow:hidden; text-overflow:ellipsis}
.pill{white-space:nowrap; flex:none}
.pill.src{flex:0 1 auto; display:inline-block; line-height:24px}
.hb-blur{position:absolute; inset:-30px; filter:blur(28px) saturate(140%); transform:scale(1.3); opacity:.85}
.hb-blur svg{width:100%; height:100%; display:block}
.hb-center{position:absolute; left:0; right:0; top:30px; display:flex; justify-content:center; transition:opacity .15s}
.hero.col .hb-center{opacity:0}
.hb-logo{width:108px; height:108px; border-radius:22px; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.28)}
.hb-site{width:76px; height:76px; margin-top:16px; border-radius:18px; background:var(--surface); display:grid; place-items:center; box-shadow:0 0 0 1px var(--sep),0 6px 18px rgba(0,0,0,.18)}
.hb-site svg{width:40px; height:40px; border-radius:6px}
.hb-app{width:88px; height:88px; margin-top:8px; border-radius:20px; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.25)}
.hb-logo svg,.hb-app svg{width:100%; height:100%; display:block}
.hb-app img{width:100%; height:100%; display:block; object-fit:contain}
/* Radioom mark (docs/ui-ux/assets): dark variant in the dark theme, light variant in the light theme */
.mk{width:100%; height:100%; display:block}
.desk[data-theme="light"] .mk-d,.desk[data-theme="dark"] .mk-l{display:none}
.art.art-site{display:grid; place-items:center; background:var(--surface); box-shadow:inset 0 0 0 1px var(--sep)}
.art.art-site svg{width:50%; height:50%; border-radius:15%}
.tile.tlogo{overflow:hidden; background:none !important}
.tile.tscene,.tile.tapp{overflow:hidden; background:none !important}
.tile.tapp{background:var(--field) !important}
.gscene{width:100%; height:100%; display:block; object-fit:cover; object-position:68% 55%}
.tile.tlogo svg{width:100%; height:100%; display:block}
.tile.tsite{background:var(--surface) !important; box-shadow:inset 0 0 0 1px var(--sep)}
.tile.tsite svg{width:16px; height:16px; border-radius:3px}
.pill{display:inline-flex; align-items:center; gap:6px; height:24px; padding:0 9px; border-radius:12px; background:rgba(0,0,0,.38); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); color:#fff}
.pill .badge,.pill .badge.err{color:#fff}
.pill .badge .lk{color:#fff; text-decoration:underline}
.vpill{width:150px; padding:0 4px; opacity:0; transition:opacity .15s}
.hero-top{align-items:flex-start}
.hero-top .rg{display:flex; flex-direction:column; align-items:flex-end; gap:6px}
.ampill{all:unset; display:inline-flex; align-items:center; height:24px; padding:0 10px; border-radius:12px; background:rgba(0,0,0,.55); backdrop-filter:blur(14px); color:#fff; font-size:11.5px; font-weight:600; cursor:default}
.ampill:hover{background:rgba(0,0,0,.7)}
.ampill:focus-visible{outline:2px solid #fff}
.am-np{height:22px; padding:0 6px; font-size:11.5px}
.hero:hover .vpill,.vpill:focus-within{opacity:1}
.vpill .ib{color:#fff; width:20px; height:20px}
.vpill .ib:hover{background:rgba(255,255,255,.18); color:#fff}
.hero-bot{position:absolute; left:0; right:0; bottom:0; display:grid; grid-template-columns:40px minmax(0,1fr) 40px; align-items:center; padding:0 12px 12px}
.hero.col .hero-bot .hgap{width:40px; height:40px}
.menu.volm{min-width:0; width:44px; padding:6px 0; display:flex; flex-direction:column; align-items:center; gap:4px}
.menu.volm .ib{width:32px; height:32px; color:var(--text)}
.menu.volm .rng{writing-mode:vertical-lr; direction:rtl; flex:none; width:16px; height:110px; margin:0}
.menu.volm .rng::-webkit-slider-runnable-track{width:4px; height:100%; background:linear-gradient(to top,var(--accent) var(--p,50%),var(--press) var(--p,50%))}
.menu.volm .rng::-webkit-slider-thumb{margin-top:0; margin-left:-6px}
.hero.col .hero-bot{padding:0 12px; height:60px}
.hplay{all:unset; width:40px; height:40px; justify-self:start; display:grid; place-items:center; border-radius:50%; color:var(--text)}
.hplay .ic{width:20px; height:20px}
.hplay:hover{background:var(--hover)}
.hplay:focus-visible{outline:2px solid var(--focus)}
.hmeta{text-align:center; min-width:0; cursor:default; line-height:1.3}
.hmeta > div{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.hero:not(.col) .hmeta{display:flex; flex-direction:column; justify-content:flex-end; min-height:calc(12.5px * 1.3 * 2 + 16px * 1.3)} /* the artist line keeps its place: the controls and the title do not move when the state changes */
.hmeta.wide{grid-column:1 / -1; padding:0}
.hero-bot > span:empty{display:none}
.hmeta.wide > div{white-space:normal}
.hmeta .ha{font-size:12.5px; color:var(--muted)}
.hmeta .ht{font-size:16px; font-weight:650}
.hmeta .hs{font-size:12.5px; color:var(--accent)}
.hero.col .ha{display:none}
.hero.col .ht{font-size:14px}
.hline{position:absolute; left:0; bottom:0; height:2px; background:var(--accent); transition:width .1s linear}
/* The top line of the search row sits 6 under the cover, away from the seek thumb (spec 14 §4.1.4) */
.hero-l .hdr{margin-top:6px; padding:6px 12px; border-top:1px solid var(--sep); border-bottom:1px solid var(--sep)}
.hero-l .sf{background:transparent; height:32px}
.hero-l .sf:focus-within{background:var(--field); box-shadow:none}
.hero-l .sf input{font-size:14px}
.hero-l .chips{padding-top:8px}
.hero-l .row{margin:0; border-radius:0; height:52px; padding:0 12px; gap:14px}
.hero-l .row + .row::before{content:""; position:absolute; top:0; left:54px; right:0; height:1px; background:var(--sep)}
.hero-l .row.cur + .row::before,.hero-l .row + .row.cur::before{background:transparent}
.hero-l .compact .row,.hero-l.compact .row{height:40px}
.hero-l .tile{background:transparent !important; color:var(--accent); width:28px}
.hero-l .tile .ic{width:24px; height:24px; stroke-width:1.5}
.hero-l .row.cur:not(.paused) .tile{box-shadow:none; color:var(--accent-text)}
.hero-l .row.cur{box-shadow:inset 3px 0 0 var(--accent-text)}
.hero-l .row.cur.paused{box-shadow:inset 3px 0 0 var(--accent)}
.hero-l .nm{font-size:14.5px; font-weight:500}
.hero-l .sec{padding-top:10px}


/* Tabs as built: capitals, 12.5 px, underline on the current one */
.tabsrow .tab{text-transform:uppercase; letter-spacing:.03em; font-size:12px; font-weight:600; white-space:nowrap}
.tabsrow .tabs{gap:13px}
.tabsrow .sec{padding-left:12px; padding-right:8px}
/* Share button at the top-right corner of the cover */
.hero-top .hc{position:absolute; left:50%; top:0; transform:translateX(-50%)}
.pill.dotonly{width:24px; padding:0; justify-content:center; background:transparent; backdrop-filter:none}
.pill.dotonly .dot{display:block; width:9px; height:9px; border-radius:50%; background:var(--live,#E5484D)}
.hsh{all:unset; width:36px; height:36px; border-radius:9px; display:grid; place-items:center; background:rgba(0,0,0,.38); backdrop-filter:blur(14px); color:#fff; cursor:default}
.hsh:hover{background:rgba(0,0,0,.55)}
.hsh:focus-visible{outline:2px solid #fff}
.hsh .ic{width:18px; height:18px}
/* Start tab */
.chipwrap{display:flex; flex-wrap:wrap; gap:8px; padding:6px 12px 10px}
.pillb{all:unset; display:inline-flex; align-items:center; gap:8px; height:34px; padding:0 14px; border-radius:17px; background:var(--field); font-size:13.5px; cursor:default; max-width:100%; box-sizing:border-box; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.pillb:hover{background:var(--press)}
.pillb:focus-visible{outline:2px solid var(--focus)}
.pillb .ic{width:16px; height:16px; color:var(--muted); flex:none}
.pophd{display:flex; align-items:center; justify-content:space-between; margin:8px 12px 4px; padding:0 12px; height:28px; border-radius:14px; background:var(--field); font-size:12.5px; font-weight:600}
.pophd .lnk{all:unset; display:inline-flex; align-items:center; gap:2px; font-size:12.5px; font-weight:600; color:var(--muted); cursor:default}
.pophd .lnk .ic{width:14px; height:14px}
.popcfg{margin:0 12px 6px; padding:6px 14px 14px; border-radius:10px; background:var(--panel-solid); box-shadow:inset 0 0 0 1px var(--sep)}
.popcfg label{display:block; margin:10px 0 4px; font-size:13px; color:var(--muted)}
.popcfg select.sel2{appearance:none; width:100%; border:0; font:inherit; color:inherit}
.popcfg .hint2{display:block; margin-top:10px; font-size:12px; color:var(--muted)}
.popcfg .sel2{display:flex; justify-content:space-between; align-items:center; padding:8px 12px; border-radius:9px; background:var(--field); box-shadow:inset 0 0 0 1px var(--sep)}
.popcfg .sel2 .ic{width:14px; height:14px}
/* Genres tab: groups with tiles and counts */
.gh{all:unset; display:flex; align-items:center; justify-content:space-between; width:calc(100% - 24px); margin:8px 12px 0; padding:6px 4px; font-size:13px; font-weight:650; color:var(--muted); cursor:default; box-sizing:border-box}
.gh .ic{width:16px; height:16px; transition:transform .15s}
.gh[aria-expanded="false"] .ic{transform:rotate(-90deg)}
.gtile{all:unset; display:flex; align-items:center; gap:10px; height:40px; padding:0 10px; border-radius:10px; background:var(--field); font-size:13px; cursor:default; box-sizing:border-box; min-width:0}
.gtile:hover{background:var(--press)}
.gtile .ic{width:18px; height:18px; color:var(--muted); flex:none}
.gtile .nm2{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.gtile .ct{font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums}
.ggrid{display:grid; grid-template-columns:repeat(2,1fr); gap:8px; padding:6px 12px 6px}
/* Search scope switch inside the field */
.scope{all:unset; display:inline-flex; align-items:center; gap:2px; height:24px; padding:0 8px; border-radius:12px; font-size:12.5px; font-weight:500; color:var(--accent); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent); cursor:default; flex:none}
.scope .ic{width:12px; height:12px}
.rs{display:flex; align-items:center; gap:10px; height:40px; padding:0 16px; cursor:default}
.rs:hover{background:var(--hover)}
.rs .ic{width:18px; height:18px; color:var(--muted)}
/* Now Playing as built */
.nph .pill.ol{background:transparent; box-shadow:inset 0 0 0 1px var(--sep); color:var(--text); backdrop-filter:none}
.nph .pill.ol .badge{color:var(--text)}
.np .am-row{display:flex; justify-content:center; margin:8px 0 2px}
.np .am-row .ampill{background:transparent; color:var(--accent); box-shadow:inset 0 0 0 1px var(--sep); height:32px; padding:0 14px; font-size:13px}
.np .stn{color:var(--accent); font-size:13px; margin-top:2px}
/* Settings window (docs/ui-ux/04) */
.win{position:absolute; left:16px; top:44px; width:min(560px,calc(100% - 32px)); height:520px; z-index:12; display:flex; flex-direction:column; border-radius:12px; background:var(--panel-solid); color:var(--text); box-shadow:0 0 0 .5px var(--hairline),0 24px 60px rgba(0,0,0,.4); overflow:hidden; font-size:13px}
.win .tb{flex:none; height:34px; display:flex; align-items:center; gap:8px; padding:0 12px; border-bottom:1px solid var(--sep); font-weight:600}
.win .tl{display:flex; gap:7px; margin-right:10px}
.win .tl i{width:12px; height:12px; border-radius:50%; background:#FF5F57}
.win .tl i:nth-child(2){background:#FEBC2E}
.win .tl i:nth-child(3){background:#9a9a9a}
.win .wb{flex:1; min-height:0; display:flex}
.win .sb{flex:none; width:184px; padding:10px 8px; border-right:1px solid var(--sep); display:flex; flex-direction:column; gap:2px; overflow-y:auto}
.win .sb button{all:unset; display:flex; align-items:center; gap:8px; height:28px; padding:0 8px; border-radius:7px; cursor:default}
.win .sb button:hover{background:var(--hover)}
.win .sb button.on{background:var(--accent); color:var(--accent-text)}
.win .sb button.on .ic{color:var(--accent-text)}
.win .sb button:focus-visible{outline:2px solid var(--focus)}
.win .sb hr{border:0; border-top:1px solid var(--sep); margin:6px 4px; width:calc(100% - 8px)}
.win .sb .ic{width:16px; height:16px; color:var(--accent)}
.win .ct2{flex:1; min-width:0; overflow-y:auto; padding:14px 18px}
.win h2{margin:0 0 10px; font-size:17px}
.win .set{display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:30px}
.win .set .hint2{display:block; font-size:12px; color:var(--muted)}
.win .tg{width:16px; height:16px; border-radius:4px; box-shadow:inset 0 0 0 1.5px var(--tert); background:transparent; position:relative; flex:none; cursor:default; border:0; padding:0}
.win .tg[aria-checked="true"]{background:var(--accent); box-shadow:none}
.win .tg[aria-checked="true"]::after{content:"✓"; position:absolute; inset:0; display:grid; place-items:center; font-size:11px; font-weight:800; color:var(--accent-text)}
.win .tg:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.win .set.cbr{justify-content:flex-start}
.win .set.cbr > span{flex:1}
.win .set.cbr .tg{order:-1}
.win .kbd2{padding:3px 10px; border-radius:7px; background:var(--field); font-size:12.5px; white-space:nowrap}
.win .eqg{display:flex; gap:0; align-items:stretch; padding:8px 0 0 40px; position:relative}
.win .eqc{flex:1; display:flex; flex-direction:column; align-items:center; font-size:11px; color:var(--muted)}
.win .eqc .tr2{position:relative; width:3px; height:120px; border-radius:2px; background:var(--press); margin-bottom:6px}
.win .eqc .tr2::after{content:""; position:absolute; left:50%; top:50%; width:14px; height:14px; margin:-7px 0 0 -7px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.4)}
.win .eqax{position:absolute; left:0; top:8px; height:120px; display:flex; flex-direction:column; justify-content:space-between; font-size:11px; color:var(--muted)}
.win .fullb{display:flex; width:100%; box-sizing:border-box; margin:8px 0 0}
.win .rng2{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px}
.win .rng2 span{padding:5px 10px; border-radius:8px; background:var(--field); cursor:default; white-space:nowrap}
.win .rng2 span.on{background:var(--accent); color:var(--accent-text)}
.win .sc{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:8px}
.win .sc2{display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-bottom:8px}
.win .sc div,.win .sc2 div{padding:10px 12px; border-radius:10px; background:var(--field); font-size:12px; color:var(--muted)}
.win .sc b,.win .sc2 b{display:block; font-size:22px; color:var(--text); line-height:1.2}
.win .sc2 b.ac{color:var(--accent)}
.win .bars{display:flex; align-items:flex-end; gap:8px; height:110px; padding:0 4px; border-bottom:1px solid var(--sep)}
.win .bars div{flex:1; white-space:nowrap; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; font-size:11px; color:var(--accent); gap:3px}
.win .bars i{display:block; width:70%; background:var(--accent); border-radius:2px; min-height:2px}
.win .bars div.z i{background:var(--muted); height:2px !important; opacity:.6}
.win .bx{display:flex; gap:8px; padding:4px; font-size:10px; color:var(--muted)}
.win .bx span{flex:1; text-align:center}
.win .opt{display:grid; grid-template-columns:repeat(2,1fr); gap:10px}
.win .opt div{padding:8px; border-radius:10px; box-shadow:inset 0 0 0 1px var(--sep); text-align:center; font-size:12px; color:var(--muted)}
.win .opt div.on{box-shadow:inset 0 0 0 2px var(--accent)}
.win .opt b{display:block; color:var(--text); font-size:14px; margin-top:6px}
.win .opt .pv{height:90px; border-radius:6px; background:linear-gradient(135deg,#1c1f2e,#2b2150)}
.win .opt .pv.g{background:linear-gradient(160deg,#3a2415,#10241f 60%,#2d1d3a)}
.win .abt{text-align:center}
.win .abt img{width:72px; height:72px; border-radius:16px}
.win .abt a{display:block; color:var(--accent); line-height:1.7; cursor:default}
.win .abt p{margin:6px 0; color:var(--muted)}
.win .sel2{padding:4px 10px; border-radius:7px; background:var(--field); min-width:110px; display:inline-flex; justify-content:space-between; align-items:center; gap:8px}
.win .sel2 .ic{width:12px; height:12px}
.win .card{border-radius:10px; background:var(--field); padding:12px 14px; margin-bottom:10px}
.win .card h3{margin:0 0 4px; font-size:13.5px}
.win .card p{margin:0 0 8px; font-size:12.5px; color:var(--muted)}
.win .row3{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.win .btn.dng{background:var(--danger); color:#fff}
.win .dev{display:flex; justify-content:space-between; padding:6px 0; border-top:1px solid var(--sep)}
.win .stp{display:flex; gap:14px}
.win .stp ol{list-style:none; margin:0; padding:0; flex:none; width:150px}
.win .stp li{position:relative; padding:0 0 14px 26px; font-size:12.5px}
.win .stp li::before{content:attr(data-n); position:absolute; left:0; top:0; width:18px; height:18px; border-radius:50%; display:grid; place-items:center; font-size:11px; background:var(--press)}
.win .stp li.cur::before{background:var(--accent); color:var(--accent-text)}
.win .stp li.done::before{content:"✓"; background:var(--ok,#3DC46C); color:#fff}
.win .stp li small{display:block; color:var(--muted); font-size:11.5px}
.win .fld2{display:flex; gap:6px; flex-wrap:wrap}
.win .fld2 code{flex:1 1 140px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:6px 8px; border-radius:7px; background:var(--panel-solid); font-size:12px}
.win .tabs2{display:flex; gap:14px; margin:0 0 10px}
.win .tabs2 span{padding-bottom:3px; color:var(--muted)}
.win .tabs2 span.on{color:var(--text); font-weight:650; box-shadow:inset 0 -2px 0 var(--accent)}

/* ───────── Podcasts (docs/plan/tech-design-podcasts.md; docs/ui-ux/12) ───────── */
/* Tab line scrolls when five tabs exceed the panel width (UX-12 §6) */
.tabsrow.scroll .sec{overflow:hidden}
.tabsrow.scroll .tabs{overflow-x:auto; scrollbar-width:none; padding-right:14px; -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent); mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent)}
.tabsrow.scroll .tabs::-webkit-scrollbar{display:none}
/* Show cover (procedural stand-in for publisher artwork) */
.pcov{position:relative; width:40px; height:40px; border-radius:7px; overflow:hidden; flex:none; box-shadow:inset 0 0 0 .5px rgba(0,0,0,.12)}
.pcov svg{width:100%; height:100%; display:block}
.pcov.s28{width:28px; height:28px; border-radius:6px}
.pcov.s36{width:36px; height:36px}
/* Episode row: listening state and download state are separate text plus icon (POD-11) */
.hero-l .row.eprow,.row.eprow{grid-template-columns:32px minmax(0,1fr) auto; height:64px; align-items:center}
.hero-l .row.eprow + .row::before,.row.eprow + .row.eprow::before{left:54px}
.row.eprow .nm{font-size:13.5px; font-weight:600; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.25}
.hero-l .row.eprow .nm{font-size:13.5px; font-weight:600}
.row.eprow .sub{display:flex; gap:5px; align-items:center; margin-top:2px}
.row.eprow .sub b{font-weight:600; color:var(--accent)}
.row.eprow .sub .bad{color:var(--danger); font-weight:600}
.row.eprow .sub .ic{width:12px; height:12px}
.row.eprow.played .nm{color:var(--muted); font-weight:500}
.row.eprow.cur .sub b,.row.eprow.cur .sub .bad{color:inherit}
.row.eprow[aria-disabled="true"] .nm{color:var(--tert)}
.eprog{height:3px; border-radius:2px; background:var(--press,var(--sep)); margin-top:5px; width:72%; overflow:hidden}
.eprog i{display:block; height:100%; background:var(--accent); border-radius:2px; transition:width .25s ease-out}
.row.cur .eprog{background:color-mix(in srgb,var(--accent-text) 25%,transparent)}
.row.cur .eprog i{background:var(--accent-text)}
.ndot{display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); margin-right:6px; vertical-align:1px}
.row.cur .ndot{background:var(--accent-text)}
/* Show page: a listening-state mark replaces the cover, which repeats the page header */
.lsm{width:40px; height:40px; display:grid; place-items:center; color:var(--tert)}
.lsm .ndot{margin:0; width:9px; height:9px}
.lsm svg:not(.ic){width:22px; height:22px; transform:rotate(-90deg)}
.lsm circle{fill:none; stroke-width:3}
.lsm .rt{stroke:var(--press,var(--sep))}
.lsm .rp{stroke:var(--accent); stroke-dasharray:56.55; stroke-linecap:round}
.row.cur .lsm .rp{stroke:var(--accent-text)}
.row.cur .lsm .rt{stroke:color-mix(in srgb,var(--accent-text) 30%,transparent)}
.row.cur .lsm{color:var(--accent-text)}
/* Download control: an honest progress ring, then a check after validation */
.dlb{position:relative}
.dlb .ring{width:20px; height:20px; transform:rotate(-90deg)}
.dlb .ring circle{fill:none; stroke-width:2.2}
.dlb .ring .rt{stroke:var(--press,var(--sep))}
.dlb .ring .rp{stroke:var(--accent); stroke-dasharray:50.27; transition:stroke-dashoffset .35s linear}
.dlb .ring + .ic{position:absolute; inset:0; margin:auto; width:9px; height:9px}
.row.cur .dlb .ring .rp{stroke:var(--accent-text)}
.dl-ok{color:var(--accent)}
.row.cur .dl-ok{color:var(--accent-text)}
.dl-bad{color:var(--danger)}
.dlb.done .ic{animation:dlpop .35s cubic-bezier(.2,1.6,.4,1)}
@keyframes dlpop{from{transform:scale(.4); opacity:0}}
/* Podcasts tab */
.subs{display:flex; gap:12px; padding:6px 12px 12px; overflow-x:auto; scrollbar-width:none}
.subs::-webkit-scrollbar{display:none}
.subt{all:unset; position:relative; width:72px; flex:none; display:flex; flex-direction:column; gap:5px; cursor:default; font-size:11.5px; line-height:1.25; color:var(--text)}
.subt .pcov{width:72px; height:72px; border-radius:10px; box-shadow:0 2px 8px rgba(0,0,0,.14)}
.subt span{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.subt .cnt{position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; padding:0 5px; box-sizing:border-box; border-radius:9px; background:var(--accent); color:var(--accent-text); font-size:11px; font-weight:700; display:grid; place-items:center; box-shadow:0 0 0 2px var(--panel-solid)}
.subt:focus-visible .pcov{outline:2px solid var(--focus); outline-offset:2px}
.subt.find .pcov{display:grid; place-items:center; background:var(--field); box-shadow:inset 0 0 0 1px var(--sep); color:var(--muted)}
.subt.find .pcov .ic{width:22px; height:22px}
.dlrow{all:unset; display:flex; align-items:center; gap:12px; box-sizing:border-box; width:calc(100% - 24px); margin:4px 12px 10px; padding:10px 12px; border-radius:10px; background:var(--field); cursor:default}
.dlrow:hover{background:var(--press)}
.dlrow:focus-visible{outline:2px solid var(--focus)}
.dlrow .ic{width:18px; height:18px; color:var(--muted)}
.dlrow b{font-weight:600}
.dlrow small{display:block; color:var(--muted); font-size:12px}
.dlrow .chev{margin-left:auto; width:14px; height:14px}
.podnote{margin:6px 12px; padding:8px 10px; border-radius:8px; background:var(--field); color:var(--muted); font-size:12px; display:flex; gap:8px; align-items:flex-start}
.podnote .ic{width:14px; height:14px; flex:none; margin-top:1px}
.podnote.warn{color:var(--text); background:color-mix(in srgb,var(--warn) 16%,transparent)}
/* Podcast scenes: pushed from the right, popped back (navigation direction) */
.push-in{animation:pushin .22s cubic-bezier(.2,.9,.3,1)}
.pop-in{animation:popin .2s cubic-bezier(.2,.9,.3,1)}
@keyframes pushin{from{opacity:0; transform:translateX(28px)}to{opacity:1; transform:none}}
@keyframes popin{from{opacity:0; transform:translateX(-20px)}to{opacity:1; transform:none}}
.reduce .push-in,.reduce .pop-in{animation:none}
/* Podcast page pushed from the cover view: it slides in over the full width */
.spage{flex:1 1 auto; min-height:0; display:flex; flex-direction:column}
.spage > .nph [data-a="podback"]{display:none}
.slide-in{animation:slidein .3s cubic-bezier(.2,.9,.3,1)}
.slide-back{animation:slideback .26s cubic-bezier(.2,.9,.3,1)}
@keyframes slidein{from{transform:translateX(100%)}to{transform:none}}
@keyframes slideback{from{transform:translateX(-30%); opacity:.4}to{transform:none; opacity:1}}
.reduce .slide-in,.reduce .slide-back{animation:none}
.nph .ttl small{display:block; font-size:11px; font-weight:500; color:var(--muted)}
/* Show page */
.shead{position:relative; overflow:hidden; padding:14px 12px 12px; display:grid; grid-template-columns:96px minmax(0,1fr); gap:14px; align-items:end}
.shead .sbg{position:absolute; inset:-30px; filter:blur(30px) saturate(140%); opacity:.55}
.shead .sbg svg{width:100%; height:100%}
.shead::after{content:""; position:absolute; inset:0; background:linear-gradient(to bottom,transparent,var(--panel-solid)); pointer-events:none}
.shead > :not(.sbg){position:relative; z-index:1}
.shead .pcov{width:96px; height:96px; border-radius:12px; box-shadow:0 8px 22px rgba(0,0,0,.25)}
.shead h2{margin:0; font-size:17px; line-height:1.2}
.shead .au{color:var(--muted); font-size:12.5px; margin-top:3px}
.shead .mt{color:var(--muted); font-size:12px; margin-top:2px; display:flex; gap:6px; align-items:center; flex-wrap:wrap}
.xb{display:inline-grid; place-items:center; height:16px; padding:0 4px; border-radius:4px; font-size:10px; font-weight:800; background:var(--muted); color:var(--panel-solid)}
.sacts{display:flex; gap:8px; padding:0 12px 4px}
.sacts .btn{height:30px}
.subb{position:relative; overflow:hidden}
.subb .ic{transition:transform .25s}
.subb.on{background:color-mix(in srgb,var(--accent) 16%,transparent); color:var(--accent)}
.subb.flash .ic path{stroke-dasharray:24; animation:draw .4s ease-out}
@keyframes draw{from{stroke-dashoffset:24}to{stroke-dashoffset:0}}
.reduce .subb.flash .ic path{animation:none}
.sdesc{padding:6px 12px 2px; color:var(--muted); font-size:12.5px; line-height:1.45}
.sdesc.clamp{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.sdesc + .lnk2{margin:0 12px 6px}
.lnk2{all:unset; color:var(--accent); font-size:12.5px; cursor:default}
/* Category page (spec 14 §8.3.1) */
.cathd{display:flex; align-items:center; gap:12px; padding:8px 12px 10px}
.cathd h2{margin:0; font-size:20px; font-weight:700; line-height:24px}
.catic{width:44px; height:44px; border-radius:12px; background:var(--field); display:grid; place-items:center; flex:none; color:var(--accent)}
.catic .ic{width:22px; height:22px}
.shelfh .lnk2.shall{margin-left:auto; margin-right:6px; font-size:12.5px; font-weight:600; white-space:nowrap; display:inline-flex; align-items:center; gap:2px; flex:none}
.shelfh .lnk2.shall .ic{width:12px; height:12px}
.subt .pcov.skelc{background:var(--field); box-shadow:none}
.stile .gtart img{width:100%; height:100%; object-fit:cover}
.stile .gtart.pct{display:grid; place-items:center; padding:8px; box-sizing:border-box; background:linear-gradient(135deg,#7C3AED,#DB2777); color:#fff; font-size:13px; font-weight:700; text-align:center; line-height:1.2}
.podnote .lnk2{margin-left:auto; flex:none}
.lnk2:hover{text-decoration:underline}
.lnk2:focus-visible{outline:2px solid var(--focus)}
.sfilt{display:flex; align-items:center; gap:6px; padding:8px 12px 6px; position:sticky; top:0; z-index:2; background:var(--panel-solid)}
.sfilt .sp{flex:1}
.sfilt .lnk2{font-size:12px; color:var(--muted); display:inline-flex; align-items:center; gap:2px}
.sfilt .lnk2 .ic{width:12px; height:12px}
/* Episode page */
.ephd{display:grid; grid-template-columns:56px minmax(0,1fr); gap:12px; padding:6px 12px 10px; align-items:center}
.ephd .pcov{width:56px; height:56px; border-radius:9px}
.ephd .sn{all:unset; color:var(--accent); font-size:12.5px; cursor:default}
.ephd .sn:hover{text-decoration:underline}
.epttl{margin:0 12px; font-size:17px; line-height:1.25}
.epmeta{margin:4px 12px 12px; color:var(--muted); font-size:12.5px; display:flex; gap:6px; flex-wrap:wrap; align-items:center}
.epmeta b{color:var(--accent); font-weight:600}
.epacts{display:flex; gap:8px; padding:0 12px; flex-wrap:wrap}
.epacts .btn{height:32px}
.epacts .btn.pri{padding:0 14px}
.notes{padding:4px 12px 12px; font-size:13px; line-height:1.5}
.notes p{margin:0 0 8px}
.notes ul{margin:0 0 8px; padding-left:18px}
.tmark{all:unset; display:inline-flex; align-items:center; gap:3px; color:var(--accent); text-decoration:underline; text-underline-offset:2px; font-variant-numeric:tabular-nums; cursor:default; border-radius:3px}
.tmark:hover{background:color-mix(in srgb,var(--accent) 14%,transparent)}
.tmark:focus-visible{outline:2px solid var(--focus)}
.tmark .spin{width:10px; height:10px; margin:0; border-width:1.5px}
.nlink{all:unset; display:flex; align-items:center; gap:8px; width:100%; box-sizing:border-box; padding:7px 10px; margin:4px 0; border-radius:8px; background:var(--field); cursor:default}
.nlink:hover{background:var(--press)}
.nlink:focus-visible{outline:2px solid var(--focus)}
.nlink .ic{width:14px; height:14px; color:var(--muted)}
.nlink span{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.nlink small{color:var(--muted)}
.ntail{font-size:11.5px; color:var(--muted); padding:0 12px 14px}
/* Downloads */
.dsum{padding:8px 12px 4px}
.dsum b{font-size:15px}
.dsum .meter{height:6px; border-radius:3px; background:var(--press,var(--sep)); margin:8px 0 4px; overflow:hidden; display:flex}
.dsum .meter i{display:block; background:var(--accent)}
.dsum small{color:var(--muted); font-size:12px}
/* Episode hero: the live line grows into a seek timeline (the one orchestrated motion) */
.hero.ep .hb-center{top:22px}
.hero.ep .hb-center .pcov{width:100px; height:100px; border-radius:14px; box-shadow:0 10px 26px rgba(0,0,0,.3)}
.hero.ep .hb-blur .pcov{width:100%; height:100%; border-radius:0}
.hero.ep .hero-bot{padding-bottom:30px}
.hero.ep .hmeta .hs{color:var(--muted)}
.hero.ep.col .hero-bot{padding:0 12px}
.pill.kind{background:rgba(0,0,0,.38); font-size:11.5px; font-weight:600; gap:5px}
.pill.kind .ic{width:13px; height:13px}
.etl{position:absolute; left:12px; right:12px; bottom:8px; height:18px; display:flex; align-items:center; gap:8px}
.etl .tm{flex:none; width:40px; font-size:11px; color:var(--muted)}
.etl .tm:last-child{text-align:right}
.etl .rng{margin:0}
.hero.col .etl{left:0; right:0; bottom:0; height:2px}
.hero.col .etl .tm{display:none}
.hero.col .etl .rng{height:2px; pointer-events:none}
.etl.morph{animation:etlgrow .6s cubic-bezier(.2,.9,.3,1) both; animation-delay:var(--md,0ms)}
.etl.morph .tm{animation:tmin .35s ease-out both; animation-delay:calc(var(--md,0ms) + .3s)}
.hero.ep.morph .hero-bot{animation:lift .6s cubic-bezier(.2,.9,.3,1) both; animation-delay:var(--md,0ms)}
.hero.ep.morph .pill.kind{animation:kindin .4s ease-out both; animation-delay:calc(var(--md,0ms) + .2s)}
@keyframes etlgrow{from{left:0; right:0; bottom:0; height:2px; opacity:.9}to{left:12px; right:12px; bottom:8px; height:18px; opacity:1}}
@keyframes tmin{from{opacity:0; transform:translateY(4px)}to{opacity:1; transform:none}}
@keyframes lift{from{transform:translateY(22px)}to{transform:none}}
@keyframes kindin{from{opacity:0; transform:translateX(-8px)}to{opacity:1; transform:none}}
.hline.back{animation:lineback .45s ease-out both; animation-delay:var(--md,0ms)}
@keyframes lineback{from{transform:scaleY(3); opacity:.4}to{transform:none; opacity:1}}
.reduce .etl.morph,.reduce .etl.morph .tm,.reduce .hero.ep.morph .hero-bot,.reduce .hero.ep.morph .pill.kind,.reduce .hline.back{animation:none}
.spd{all:unset; justify-self:end; min-width:34px; height:26px; padding:0 6px; box-sizing:border-box; border-radius:13px; display:grid; place-items:center; font-size:12px; font-weight:700; color:var(--text); box-shadow:inset 0 0 0 1.5px var(--sep); cursor:default; font-variant-numeric:tabular-nums}
.spd:hover{background:var(--hover)}
.spd:focus-visible{outline:2px solid var(--focus)}
.spd.off1{color:var(--accent); box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 60%,transparent)}
/* Seek range: the track uses --p like the volume slider; the thumb shows on hover or focus */
input[type=range].seek::-webkit-slider-thumb{transform:scale(0); transition:transform .12s}
input[type=range].seek:hover::-webkit-slider-thumb,input[type=range].seek:focus-visible::-webkit-slider-thumb,input[type=range].seek:active::-webkit-slider-thumb{transform:scale(.8)}
input[type=range].seek::-moz-range-thumb{transform:scale(0)}
input[type=range].seek:hover::-moz-range-thumb,input[type=range].seek:focus-visible::-moz-range-thumb{transform:scale(.8)}
/* Player bar in episode mode: skip back 15, play, skip forward 30, seek line with times, speed */
.pbar.ep{gap:2px}
.pbar .pseek{flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:1px; margin:0 6px}
.pbar .pseek .pt{display:flex; justify-content:space-between; font-size:10.5px; color:var(--muted); font-variant-numeric:tabular-nums; padding:0 2px}
.pbar .pseek .rng{margin:0}
.pbar .ib .ic.sk,.np .ctl .ic.sk,.lh-ctl .ic.sk{width:20px; height:20px; stroke-width:1.6}
.skipfx{animation:skipfx .3s ease-out}
@keyframes skipfx{50%{transform:scale(.86)}}
.reduce .skipfx{animation:none}
/* Now Playing in episode mode */
.np.epnp .pcov{width:220px; height:220px; border-radius:14px; margin:4px auto 14px; box-shadow:0 10px 30px rgba(0,0,0,.25)}
.np.epnp .stn{all:unset; color:var(--accent); font-size:13px; cursor:default; display:inline-block; margin-top:3px}
.np.epnp .stn:hover{text-decoration:underline}
.lhero.ep > .lh-bg,.lhero.ep > .lh-scrim{position:absolute} /* the station List view has the same defect: `.lhero > *` overrides it */
/* List view, episode: date line, five controls, seek track on the bottom edge (same slider as the compact player) */
.lhero.full{height:158px}
.lhero .l4{margin-top:3px}
.lhero .ampill.sm{height:18px; padding:0 8px; border-radius:9px; font-size:10px}
.lhero .l0{font-size:11.5px; color:var(--muted)}
.lhero.full .lh-tx{padding-right:30px}
.lhero.full .lh-am{top:6px; right:6px}
.lhero .lh-ctl.ep5{left:12px; right:12px; bottom:14px; height:46px; justify-content:space-between; gap:0}
.lhero .lh-ctl.ep5 .ib{width:36px; height:36px}
.lhero .lh-ctl.ep5 .pl{width:46px; height:46px; background:var(--text); color:var(--panel-solid)}
.lhero .lh-ctl.ep5 .pl:hover{background:var(--text); filter:brightness(1.15)}
.lhero .lh-ctl.ep5 .pl:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.lhero .lh-ctl.ep5 .pl .ic{width:22px; height:22px}
.lh-cs{position:absolute; left:0; right:0; bottom:0; height:4px}
.lh-cs.ro{background:var(--press)}
.lh-cs.ro i{display:block; height:100%; background:var(--accent); transition:width .3s linear}
.lhero.full > .lh-bg,.lhero.full > .lh-scrim{position:absolute}
.lh-cs .rng{position:absolute; left:0; right:0; bottom:-6px; width:100%; margin:0; box-sizing:border-box}
.eseek{padding:12px 16px 0}
.eseek .rng,.pbar .pseek .rng,.etl .rng{display:block; width:100%; box-sizing:border-box}
.np.epnp .ctl .ic.sk{width:26px; height:26px}
.eseek .ts{display:flex; justify-content:space-between; font-size:11.5px; color:var(--muted); font-variant-numeric:tabular-nums; margin-top:2px}
.np.epnp .ctl{gap:26px; margin:8px 0 8px}
.np.epnp .ctl .ib{width:40px; height:40px}
.np.epnp .aux{display:flex; align-items:center; justify-content:center; gap:10px; padding:0 12px}
.np.epnp .aux .btn{height:28px; font-size:12.5px}
.np.epnp .aux .btn .ic{width:14px; height:14px}
.np.epnp .aux .btn.on{color:var(--accent)}
.npnotes{padding:0 12px 8px; color:var(--muted); font-size:12.5px; line-height:1.45}
/* Search: podcast group with a reserved slot while the remote search runs (POD-01) */
.skel{display:grid; grid-template-columns:36px 1fr; gap:12px; align-items:center; height:52px; padding:0 12px}
.skel i{display:block; height:36px; border-radius:7px; background:var(--field)}
.skel span{display:flex; flex-direction:column; gap:6px}
.skel span b{display:block; height:10px; border-radius:5px; background:var(--field); width:70%}
.skel span b + b{width:45%}
.skel i,.skel b{animation:shim 1.2s ease-in-out infinite}
@keyframes shim{50%{opacity:.45}}
.reduce .skel i,.reduce .skel b{animation:none}
.row.showrow{grid-template-columns:36px minmax(0,1fr) auto}
.hero-l .row.showrow{grid-template-columns:36px minmax(0,1fr) auto}
.sbtn{all:unset; height:24px; padding:0 10px; border-radius:12px; font-size:12px; font-weight:600; color:var(--accent); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent); cursor:default; display:inline-flex; align-items:center; gap:4px; white-space:nowrap}
.sbtn:hover{background:color-mix(in srgb,var(--accent) 12%,transparent)}
.sbtn:focus-visible{outline:2px solid var(--focus)}
.sbtn.on{box-shadow:none; color:var(--muted)}
.sbtn .ic{width:12px; height:12px}
.attr{font-size:11.5px}
/* Settings: podcasts section */
.win .kv{display:flex; justify-content:space-between; gap:12px; padding:4px 0; font-size:12.5px; color:var(--muted)}
.win .kv b{color:var(--text); font-weight:500}

/* Review fixes (2026-11-10): row actions visible and reachable, one timeline per screen, "Моё" segment */
.hero-l .row.eprow,.row.eprow{height:auto; min-height:64px; padding-top:8px; padding-bottom:8px}
.eplink{all:unset; display:block; max-width:100%; cursor:default; border-radius:4px}
.eplink:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.row.cur .eplink:focus-visible{outline-color:var(--accent-text)}
.row.eprow.played .nm{color:var(--text)}
.row.eprow .end{gap:2px}
.dlhov{opacity:0; transition:opacity .1s}
.row:hover .dlhov,.row:focus-within .dlhov{opacity:1}
.pbtn2{all:unset; position:relative; width:32px; height:32px; flex:none; border-radius:50%; display:grid; place-items:center; color:var(--accent); box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 40%,transparent); cursor:default}
.pbtn2 .ic{width:13px; height:13px; position:relative}
.pbtn2.part{box-shadow:none}
.pbtn2 .pring{position:absolute; inset:0; width:32px; height:32px; transform:rotate(-90deg)}
.pbtn2 .pring circle{fill:none; stroke-width:2.5}
.pbtn2 .pring .rt{stroke:var(--press,var(--sep))}
.pbtn2 .pring .rp{stroke:var(--accent); stroke-dasharray:91.1; stroke-linecap:round; transition:stroke-dashoffset .25s ease-out}
.pbtn2:hover{background:color-mix(in srgb,var(--accent) 12%,transparent)}
.pbtn2:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.pbtn2[disabled]{opacity:.4; pointer-events:none}
.row.cur .pbtn2{color:var(--accent-text); box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent-text) 50%,transparent)}
.row.cur .pbtn2.part{box-shadow:none}
.row.cur .pbtn2 .rp{stroke:var(--accent-text)}
.row.cur .pbtn2 .rt{stroke:color-mix(in srgb,var(--accent-text) 30%,transparent)}
.eppr{display:flex; align-items:center; gap:8px; margin-top:5px; font-size:11.5px; color:var(--muted)}
.eppr .eprog{margin:0; flex:0 0 88px; width:auto}
.row.cur .eppr{color:color-mix(in srgb,var(--accent-text) 82%,transparent)}
.myseg{display:flex; gap:2px; margin:8px 12px 4px; padding:2px; border-radius:9px; background:var(--field)}
.myseg button{all:unset; flex:1; height:26px; border-radius:7px; display:flex; align-items:center; justify-content:center; gap:5px; font-size:12.5px; font-weight:600; color:var(--muted); cursor:default}
.myseg button[aria-selected="true"]{background:var(--surface); color:var(--text); box-shadow:0 1px 2px rgba(0,0,0,.14)}
.myseg button:focus-visible{outline:2px solid var(--focus)}
.myseg .ct{font-weight:500; color:var(--muted); font-variant-numeric:tabular-nums}
.myseg .ndot{margin:0}
/* Navigation, bookmarks, queue (2026-11-13) */
.myseg.dtype{margin-top:6px}
/* Chips (owner decision 2026-11-13, docs/ui-ux/14 §4.8): the one style for every filter and switch. Height 28, radius 14.
   The selected chip is filled with the text color; the others have a 1 px outline. The Pager variant only. */
.cps{display:flex; align-items:center; gap:6px; padding:8px 12px 4px; background:var(--panel-solid)}
.favsort{background:var(--panel-solid)}
/* Speed popover: one shared component (docs/ui-ux/14 §4.9) */
.menu.spdm{min-width:0; width:252px; padding:10px 12px 12px; display:flex; flex-direction:column; gap:8px}
.spdv{font-size:15px; font-weight:700; text-align:center}
.menu.spdm .rng{width:100%; margin:0; flex:none; box-sizing:border-box}
.spdmk{display:flex; justify-content:space-between; gap:4px}
.spdmk .cp{padding:0 6px; min-width:36px; height:26px; border-radius:13px}
.cp{all:unset; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:5px; height:28px; padding:0 9px; border-radius:14px; font-size:12px; font-weight:600; line-height:1; white-space:nowrap; color:var(--text); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 24%,transparent); cursor:default; flex:none}
.cp:hover{background:var(--hover)}
.cp[aria-pressed="true"],.cp[aria-pressed="true"]:hover{background:var(--text); color:var(--panel-solid); box-shadow:none}
.cp:focus-visible{outline:2px solid var(--focus); outline-offset:1px}
.cp .ndot{margin:0}
.cp[aria-pressed="true"] .ndot{background:var(--panel-solid)}
.sfilt .cp{height:28px}
.sfilt .sp{flex:1}
.lnk2.catall{margin:2px 18px 8px}
.filebar{display:flex; gap:8px; padding:10px 12px 2px}
.filebar .btn{height:32px}
.filebar .btn .ic{width:15px; height:15px; margin-right:5px}
.fhint{padding:6px 16px 4px; font-size:11.5px; color:var(--muted); white-space:normal}
.row.prow .end .ib.bell-on{color:var(--accent)}
.row.prow .end .ib.bell-on .ic{fill:currentColor}
.row.prow{grid-template-columns:32px minmax(0,1fr) auto; height:auto; min-height:56px; padding:6px 12px}
.row.prow .nm{font-size:13.5px; font-weight:600}
.row.fold{grid-template-columns:32px minmax(0,1fr) auto}
.row.qrow{grid-template-columns:18px 32px minmax(0,1fr) auto; height:auto; min-height:52px; padding:6px 12px 6px 6px}
/* One text column for every list row: a 32 px cover or a 28 px tile at x=12, the text at x=54 */
.hero-l .row.eprow,.hero-l .row.prow,.hero-l .row.qrow,.hero-l .row.fold{gap:10px}
.row.eprow > .pcov,.row.prow > .pcov,.row.qrow > .pcov,.row.fold > .pcov{width:32px !important; height:32px !important}
.row.qrow .nm{font-size:13.5px; font-weight:600; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.25}
.ftracks{border-left:2px solid var(--sep); margin-left:6px}
.eact .ib.mre{width:26px; height:26px; margin-left:auto; color:var(--muted)}
.row.eprow .efv{position:absolute; right:12px; top:8px; width:24px; height:24px; color:var(--muted)}
.row.eprow .efv.on{color:var(--accent)}
.row.eprow .txt .eplink{padding-right:30px}
/* In the bookmark lists the star and the bell show on hover and on keyboard focus only; touch screens always show them */
.hovact .row .efv,.hovact .row.prow .end .ib{opacity:0; transition:opacity .12s}
.hovact .row:hover .efv,.hovact .row:focus-within .efv,.kbd .hovact .row.sel .efv,.hovact .row:hover.prow .end .ib,.hovact .row.prow:focus-within .end .ib{opacity:1}
@media (hover:none){.hovact .row .efv,.hovact .row.prow .end .ib{opacity:1}}
.qhint{padding:2px 18px 8px; font-size:11.5px; color:var(--muted); display:flex; align-items:center; gap:4px; flex-wrap:wrap}
.qhint .ic{width:13px; height:13px}
.qpause{display:flex; align-items:center; gap:8px; margin:8px 12px 2px; padding:8px 10px; border-radius:10px; background:var(--field); font-size:12.5px}
.qpause .ic{width:14px; height:14px; color:var(--muted)}
.qpause span{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.qrow .grip{display:grid; place-items:center; width:18px; color:var(--tert); cursor:grab}
.qrow .grip .ic{width:14px; height:14px}
.qrow.dragging{opacity:.45}
.pgdots button{position:relative}
.pgdots .qb{position:absolute; top:-10px; right:-7px; min-width:14px; height:14px; padding:0 3px; box-sizing:border-box; border-radius:7px; background:var(--accent); color:var(--accent-text); font-size:9.5px; font-weight:700; display:grid; place-items:center; line-height:1}
.shero .stl .stb{position:absolute; right:-8px; top:50%; transform:translateY(-50%); display:flex}
.shero .stl .stb .ib{position:static; transform:none}
.nph .favb{color:var(--tfg)}
.subs > div{flex:none}
.subt .ndot2{position:absolute; top:-3px; right:-3px; width:12px; height:12px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 2px var(--panel-solid)}
.subb .l2{display:none}
.subb.on:hover .l1{display:none}
.subb.on:hover .l2{display:inline}
.subb.on:hover{color:var(--danger); background:color-mix(in srgb,var(--danger) 12%,transparent)}
.xb{background:transparent; color:var(--muted); box-shadow:inset 0 0 0 1.2px currentColor; font-size:9.5px; height:15px; min-width:15px; box-sizing:border-box}
.hero.ep .hb-center{top:18px}
.hero.ep .hero-bot{padding-bottom:30px}
.hero.ep .hmeta .ht{white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.25; font-size:15px}
.hero.ep.shr .hmeta .ht,.hero.ep.col .hmeta .ht{-webkit-line-clamp:1; font-size:14px}
.hero.ep.col .hmeta .ht{-webkit-line-clamp:1; font-size:14px}
.hero.ep .hgap{width:40px; height:40px}
.hero-top button.pill.kind{all:unset; display:inline-flex; align-items:center; gap:5px; height:24px; padding:0 9px; border-radius:12px; background:rgba(0,0,0,.55); color:#fff; font-size:11.5px; font-weight:600; cursor:default}
.pbar .pseek{position:relative}
.pbar .pseek.ro .pt span:first-child{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; margin-right:6px}
.pbar .pseek.ro .pline{flex:none; height:4px; margin:3px 2px 0}
.eseek{position:relative}
.seektip{position:absolute; bottom:calc(100% + 2px); left:0; transform:translateX(-50%); padding:2px 6px; border-radius:5px; background:color-mix(in srgb,var(--text) 90%,transparent); color:var(--panel-solid); font-size:11px; font-variant-numeric:tabular-nums; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity .1s; z-index:6}
.seektip.on{opacity:1}
.eseek .seektip{bottom:auto; top:-16px}
input[type=range].seek::-webkit-slider-thumb{transform:scale(.55)}
input[type=range].seek:hover::-webkit-slider-thumb,input[type=range].seek:focus-visible::-webkit-slider-thumb,input[type=range].seek:active::-webkit-slider-thumb{transform:scale(.9)}
input[type=range].seek::-moz-range-thumb{transform:scale(.55)}
.pbar .ib .ic.sk{width:24px; height:24px; stroke-width:1.7}
.lh-ctl .ic.sk{width:22px; height:22px}
.np.epnp .ctl .ic.sk{width:30px; height:30px}
.scopech{display:flex; gap:6px; padding:8px 12px 2px; flex-wrap:wrap}
.dsum small{display:block; margin-top:2px}
.dsum small.lowd{color:var(--warn)}
.dclean{display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:10px; padding:8px 10px; border-radius:8px; background:var(--field); font-size:12.5px}

/* Apple Podcasts patterns adapted (2026-11-10): play capsule, Continue cards, solid show header, tinted Now Playing */
.hero-l .row.eprow,.row.eprow{grid-template-columns:32px minmax(0,1fr); align-items:start; padding-top:10px; padding-bottom:10px}
.row.eprow > .pcov,.row.eprow > .lsm{margin-top:1px}
.row.eprow .lsm{height:20px; align-items:start; padding-top:4px}
.eact{display:flex; align-items:center; gap:4px; margin-top:7px}
.eact .bars{margin-left:4px}
.pcap{all:unset; display:inline-flex; align-items:center; gap:6px; height:24px; padding:0 10px 0 8px; border-radius:12px; background:var(--field); color:var(--text); font-size:12px; font-weight:650; font-variant-numeric:tabular-nums; white-space:nowrap; cursor:default}
.pcap .ic{width:11px; height:11px}
.pcap:hover{background:var(--press)}
.pcap:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.pcap[disabled]{opacity:.45; pointer-events:none}
.pcap .mb{width:18px; height:3px; border-radius:2px; background:color-mix(in srgb,currentColor 28%,transparent); overflow:hidden}
.pcap .mb i{display:block; height:100%; background:currentColor; border-radius:2px; transition:width .25s ease-out}
.row.cur .pcap{background:color-mix(in srgb,var(--accent-text) 20%,transparent); color:var(--accent-text)}
.upn{display:flex; gap:12px; padding:4px 12px 8px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding:0 12px; scrollbar-width:none}
.upn::-webkit-scrollbar{display:none}
/* Continue card (docs/ui-ux/14 §4.12.3): one size for station, episode, and file. The overflow clip and the paint containment keep the blurred cover inside the card. */
.upc{position:relative; overflow:hidden; contain:paint; isolation:isolate; flex:0 0 156px; width:156px; height:192px; scroll-snap-align:start; box-sizing:border-box; display:flex; flex-direction:column; gap:8px; padding:12px; border-radius:16px; background:linear-gradient(160deg,var(--tbg),var(--tbg2)); color:var(--tfg); cursor:default; box-shadow:0 0 0 1px var(--sep),0 2px 10px rgba(0,0,0,.10)}
.upc .pcov{box-shadow:0 4px 12px rgba(0,0,0,.25)}
.upc > .pcov{border-radius:12px}
/* Background of an episode card (docs/ui-ux/14 §4.5): the podcast cover, blurred about 8 px and 15% larger than the card, under a 55% to 70% scrim in the show tone.
   The tone gradient of the card stays as the fallback while the cover is not loaded. */
.upc .ubg{position:absolute; left:-10%; top:-10%; width:120%; height:120%; pointer-events:none; filter:blur(8px)}
.upc .ubg .pcov{width:100% !important; height:100% !important; border-radius:0; box-shadow:none}
.upc .ubg::after{content:""; position:absolute; inset:0; background:linear-gradient(160deg,color-mix(in srgb,var(--tbg) 55%,transparent),color-mix(in srgb,var(--tbg2) 70%,transparent))}
.upc > :not(.ubg){position:relative; z-index:1}
.upc .eplink{display:block}
.upc .eplink:focus-visible{outline-color:var(--tfg)}
.upc .us{display:block; font-size:11.5px; color:var(--tmut); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.upc .ut{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:2px; font-size:14px; font-weight:650; line-height:1.25}
.upc .ua{margin-top:auto}
.upc .pcap{background:var(--tbtn); color:var(--tbtnt); height:28px; padding:0 12px 0 10px; border-radius:14px; font-size:12.5px; font-weight:600}
.upc.stc{--tbg:var(--field); --tbg2:var(--field); --tfg:var(--text); --tmut:var(--muted); --tbtn:var(--text); --tbtnt:var(--panel-solid)}
.upc.stc .stcov{width:56px; height:56px; border-radius:12px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.2)}
.upc.stc .stcov .art{width:56px; height:56px; border-radius:12px; font-size:20px}
.upc.stc .stcov .art svg:not(.ic){width:100%; height:100%}
.upc .pcap:hover{filter:brightness(.92)}
.upc.cur::after{z-index:2; content:""; position:absolute; inset:0; border-radius:16px; box-shadow:inset 0 0 0 2px var(--tfg); opacity:.55; pointer-events:none}
.nph.toned{background:var(--tbg); color:var(--tfg)}
.nph.toned .ib{color:var(--tfg)}
.nph.toned .ttl{text-align:left}
.nph.toned .ttl small{color:var(--tmut)}
.nph.toned .ib:hover{background:color-mix(in srgb,var(--tfg) 14%,transparent)}
.nsub{all:unset; display:inline-flex; align-items:center; gap:5px; height:26px; padding:0 11px; border-radius:13px; background:color-mix(in srgb,var(--tfg) 16%,transparent); color:var(--tfg); font-size:12.5px; font-weight:650; cursor:default}
.nsub .ic{width:13px; height:13px}
.nsub:focus-visible{outline:2px solid var(--tfg)}
.nsub.on{background:transparent; box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--tfg) 45%,transparent); color:var(--tfg)}
.nsub.on:hover{color:var(--tfg); background:color-mix(in srgb,var(--tfg) 14%,transparent)}
.shero{display:flex; flex-direction:column; align-items:center; text-align:center; padding:4px 16px 16px; background:linear-gradient(180deg,var(--tbg) 0,var(--tbg2) 100%); color:var(--tfg)}
.shero .pcov{width:128px; height:128px; border-radius:14px; box-shadow:0 12px 30px rgba(0,0,0,.35); margin-bottom:12px}
.shero h2{margin:0; font-size:19px; line-height:1.2}
.shero .sau{font-size:13px; color:var(--tmut); margin-top:2px}
.shero .smt{font-size:12px; color:var(--tmut); margin-top:2px; display:flex; gap:6px; align-items:center; justify-content:center}
.shero .xb{color:var(--tmut)}
.sbig{all:unset; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:180px; height:36px; margin-top:14px; border-radius:18px; background:var(--tbtn); color:var(--tbtnt); font-size:14px; font-weight:700; cursor:default}
.shero .stl{position:relative; width:100%; padding:0 34px}
.shero .stl .ib{position:absolute; right:-6px; top:50%; transform:translateY(-50%); color:var(--tfg)}
.shero .stl .ib:hover{background:color-mix(in srgb,var(--tfg) 14%,transparent)}
.shero .srow{display:flex; align-items:center; justify-content:center; gap:8px; margin-top:14px; width:100%}
.shero .srow .sbig{margin-top:0; min-width:0; flex:0 1 160px; padding:0 18px}
.shero .srow .nsub{height:36px; padding:0 14px; border-radius:18px; font-size:13px; flex:none}
.spage .shero{padding-top:16px}
/* Pushed page: the names align to the left edge; the cover stays centered */
.spage .shero .stl{padding:0 30px 0 0; text-align:left}
.spage .shero .stl .ib{right:-8px}
.spage .shero .stl{padding-right:60px}
.spage .shero .sau,.spage .shero .smt{align-self:stretch; text-align:left; justify-content:flex-start}
.sbig .ic{width:14px; height:14px}
/* Pager variant (docs/ui-ux/14 §11.1): description in the hero, equal fixed-width buttons, featured episode card */
.shero .sdesc{align-self:stretch; padding:8px 0 0; text-align:left; color:var(--tmut)}
.shero .lnk2{align-self:flex-start; margin:2px 0 0; padding:0; color:var(--tfg); font-weight:600}
.shero .srow{gap:10px}
.shero .srow .sbig,.shero .srow .nsub{flex:0 0 calc(50% - 5px); width:calc(50% - 5px); box-sizing:border-box; min-width:0; padding:0 10px; justify-content:center; white-space:nowrap}
.sfeat2{align-self:stretch; margin-top:14px; padding:10px 12px; border-radius:12px; background:color-mix(in srgb,var(--tfg) 10%,transparent); text-align:left; color:var(--tfg)}
.sfeat2 .sfh{font-size:11.5px; font-weight:700; color:var(--tmut)}
.sfeat2 .sft{margin-top:2px; font-size:13.5px; font-weight:650; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.sfeat2 .sfn{margin-top:4px; font-size:12px; line-height:1.4; color:var(--tmut); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
.sfeat2 .sfl{all:unset; display:flex; align-items:center; gap:2px; margin:6px 0 0 auto; font-size:12.5px; font-weight:650; color:var(--tfg); cursor:default; border-radius:6px; padding:2px 4px}
.sfeat2 .sfl .ic{width:13px; height:13px}
.sfeat2 .sfl:hover{background:color-mix(in srgb,var(--tfg) 14%,transparent)}
.sfeat2 .sfl:focus-visible{outline:2px solid var(--tfg)}
.sbig:hover{filter:brightness(.94)}
.sbig:focus-visible{outline:2px solid var(--tfg); outline-offset:3px}
.sbig[disabled]{opacity:.5; pointer-events:none}
.sfeat{all:unset; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin-top:12px; font-size:12.5px; line-height:1.45; text-align:left; color:var(--tfg); cursor:default}
.sfeat span{color:var(--tmut)}
.sfeat:hover{opacity:.85}
.sfeat:focus-visible{outline:2px solid var(--tfg); outline-offset:2px; border-radius:4px}
.npwrap{flex:1 1 auto; min-height:0; display:flex; flex-direction:column; background:linear-gradient(180deg,var(--npa) 0,var(--npb) 75%); color:var(--text)}
.npwrap .body{background:transparent}
.npwrap .np.epnp .pcov{box-shadow:0 18px 40px rgba(0,0,0,.45)}
.npwrap .playb{background:#fff; color:#111}
.npwrap .stn{color:rgba(255,255,255,.85)}
/* 5. Section headers in sentence case (owner decision 2026-11-10; prototype first, spec 03 and the build later) */
.sec{text-transform:none; letter-spacing:0; font-size:14px; font-weight:700; color:var(--text); height:auto; min-height:28px; padding:14px 12px 4px}
.hero-l .sec{padding-top:14px}
.sec.fh{padding-top:8px; min-height:0}
.sec .lnk{font-size:12.5px}
.tabsrow .sec{font-size:11px; font-weight:600; min-height:0; height:34px; padding-top:4px; padding-bottom:0}

/* Now Playing action row and search best match (patterns from a podcast UI kit, adapted) */
.acts5{display:grid; grid-template-columns:repeat(5,1fr); gap:2px; margin:6px 12px 0; padding:4px; border-radius:12px; background:var(--field)}
.act5{all:unset; position:relative; display:flex; flex-direction:column; align-items:center; gap:4px; padding:7px 0 6px; border-radius:9px; font-size:11px; color:var(--muted); cursor:default; text-align:center}
.act5 > .ic,.act5 > .ring{width:20px; height:20px; color:var(--text)}
.act5 .big{height:20px; line-height:20px; font-size:14.5px; font-weight:750; color:var(--text)}
.act5 .lb{font-variant-numeric:tabular-nums; white-space:nowrap}
.act5:hover{background:var(--hover)}
.act5:focus-visible{outline:2px solid var(--focus); outline-offset:-2px}
.act5.on .lb{color:var(--text); font-weight:650}
.act5.dlb .ring + .lb{margin-top:0}
.act5.dl-ok > .ic{color:var(--text)}
.npwrap .dlb .ring .rp{stroke:#fff}
.best{position:relative; display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px; align-items:center; margin:2px 12px 6px; padding:12px; border-radius:14px; background:linear-gradient(120deg,var(--tbg),var(--tbg2)); color:var(--tfg); cursor:default}
.best .pcov{box-shadow:0 6px 16px rgba(0,0,0,.28); border-radius:10px}
.best .bn{display:block; font-size:15px; font-weight:700; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.best .bn mark{background:none; color:inherit; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:2px; text-decoration-color:color-mix(in srgb,var(--tfg) 55%,transparent)}
.best .bs{font-size:11.5px; color:var(--tmut); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.best .ba{display:flex; gap:6px; margin-top:8px; flex-wrap:wrap}
.best .pcap{background:var(--tbtn); color:var(--tbtnt)}
.best .sbtn{color:var(--tfg); box-shadow:inset 0 0 0 1.2px color-mix(in srgb,var(--tfg) 45%,transparent)}
.best .sbtn.on{box-shadow:none; color:var(--tmut)}
.best .eplink:focus-visible{outline-color:var(--tfg)}

/* In-show episode search field (replaces the filter row while open) */
.sfilt.ssq{gap:8px}
.ssq .sf{flex:1; height:30px; background:var(--field)}
.ssq .sf input{font-size:13px}
.ssq .lnk2{font-weight:600}
.eplink .nm mark{background:none; color:inherit; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:2px; text-decoration-color:color-mix(in srgb,var(--accent) 70%,transparent)}

/* Pages: list page and Now Playing page side by side; a sideways swipe moves between them */
.pager{flex:1 1 auto; min-height:0; display:flex; width:200%; transform:translateX(calc(var(--pg,0) * -50% + var(--dx,0px))); transition:transform .34s cubic-bezier(.2,.9,.3,1); will-change:transform}
.pager.drag,.reduce .pager{transition:none}
.pg{width:50%; flex:none; display:flex; flex-direction:column; min-height:0; overflow:hidden}
.panel.paged .pnow .body{padding-bottom:22px}
/* Side panel header player */
.sph{flex:none; padding:9px 10px 9px 6px; border-bottom:1px solid var(--sep); background:color-mix(in srgb,var(--accent) 10%,var(--panel-solid))}
.sph .r1{display:flex; align-items:center; gap:2px}
.spback{all:unset; flex:none; display:flex; align-items:center; gap:3px; padding:3px 6px 3px 0; margin-right:2px; border-radius:10px; color:var(--text); cursor:default}
.spback:hover{background:var(--hover)}
.spback:focus-visible{outline:2px solid var(--focus); outline-offset:1px}
.spback > .ic{width:18px; height:18px}
.spback .art,.spback .pcov{width:36px !important; height:36px !important; border-radius:7px; flex:none; font-size:13px; box-shadow:0 1px 4px rgba(0,0,0,.18)}
.sph .ib{width:30px; height:30px; flex:none; color:var(--text)}
.sph .ib[disabled]{opacity:.35}
.sph .ib .ic.sk{width:18px; height:18px; stroke-width:1.6}
.spplay{all:unset; flex:none; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--text); color:var(--panel-solid); cursor:default}
.spplay .ic{width:15px; height:15px}
.spplay:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.spmid{flex:1 1 auto; min-width:0; margin:0 4px 0 8px; display:flex; flex-direction:column; gap:1px}
.spmid .t{font-size:12.5px; font-weight:600; line-height:1.25; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.spmid .s{display:flex; gap:6px; font-size:11px; line-height:1.25; color:var(--muted); min-width:0}
.spmid .s > span:first-child{flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.spmid .s .tm{flex:none}
.spline{position:relative; margin-top:5px}
.mqw{text-overflow:clip !important; -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 6px,#000 calc(100% - 14px),transparent 100%); mask-image:linear-gradient(90deg,transparent 0,#000 6px,#000 calc(100% - 14px),transparent 100%)}
.mq{display:inline-flex; white-space:nowrap; animation:mq var(--mqd,10s) linear infinite}
.mq > span{padding:0 32px 0 6px}
.mqw{margin-left:-6px}
@keyframes mq{0%,15%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.reduce .mq{animation:none}
.spline.ro{height:4px; border-radius:2px; background:var(--sep); overflow:hidden}
.spline.ro i{display:block; height:100%; background:var(--accent); border-radius:2px}
.spline .rng{display:block; width:100%; margin:0; box-sizing:border-box}
/* Expanded cover = player (poles): the cover grows to the full art; the player controls sit at its bottom edge */
/* Expanded cover: the artwork (360) stays whole. The fade is the last 15% of the artwork (y 306 to 360) and the labels start at the middle of the fade (y 333) */
.hero.xp{--xph:493px; height:var(--xph)}
.hero.ep.xp{--xph:517px}
.hero.xpshrink{--xph:493px}
.hero.ep.xpshrink{--xph:517px}
.hero.xpgrow{animation:xpgrow .36s cubic-bezier(.2,.9,.3,1)}
.hero.xpshrink{animation:xpshrink .26s cubic-bezier(.2,.9,.3,1)}
@keyframes xpgrow{from{height:var(--xh,214px)}}
@keyframes xpshrink{from{height:var(--xph,493px)}}
.hero.xp .hero-bot{opacity:0; pointer-events:none}
/* Corner image (docs/ui-ux/14 §4.2): the second identity of what plays. Only in the player pole. It replaces the left status pill there. */
.hcorner{display:none}
.hero.xp .hcorner{display:block; position:absolute; left:12px; top:12px; width:36px; height:36px; border-radius:8px; overflow:hidden; border:1px solid rgba(255,255,255,.5); box-sizing:border-box; z-index:4; pointer-events:none}
.hero.xp .hcorner .pcov,.hero.xp .hcorner svg{width:100% !important; height:100% !important; border-radius:0; box-shadow:none; display:block}
.hero.xp .hero-top .lg{visibility:hidden}
.hero.xp .hline{display:none} /* the expanded cover has its own playback line; the gray separator of the search row shows instead */
.hero.xp .hero-scrim{background:linear-gradient(to bottom,transparent 306px,var(--panel-solid) 360px)}
.hero.xp .hb-center{top:0}
.hero.xp .hb-logo{width:360px; height:360px; border-radius:0; box-shadow:none}
.hero.xp .hb-site{width:120px; height:120px; margin-top:80px; border-radius:28px}
.hero.xp .hb-site svg{width:64px; height:64px}
.hero.xp .hb-app{width:150px; height:150px; margin-top:70px; border-radius:34px}
.hero.ep.xp .hb-center{top:0}
.hero.ep.xp .hb-center .pcov{width:360px !important; height:360px !important; border-radius:0; box-shadow:none}
.hero.xpgrow .hb-center{animation:hbtop .36s cubic-bezier(.2,.9,.3,1)}
@keyframes hbtop{from{top:30px}}
.hero.ep.xpgrow .hb-center{animation-name:hbtopep}
@keyframes hbtopep{from{top:18px}}
.hero.xpgrow .hb-logo{animation:logogrow .36s cubic-bezier(.2,.9,.3,1)}
@keyframes logogrow{from{width:108px; height:108px; border-radius:22px}}
.hero.xpshrink .hb-logo{animation:logoshrink .26s cubic-bezier(.2,.9,.3,1)}
@keyframes logoshrink{from{width:360px; height:360px; border-radius:0}}
.hero.ep.xpgrow .hb-center .pcov{transform-origin:50% 0; animation:pcovgrow .36s cubic-bezier(.2,.9,.3,1)}
@keyframes pcovgrow{from{transform:scale(.234); border-radius:60px}}
.hero.ep.xpshrink .hb-center .pcov{transform-origin:50% 0; animation:pcovshrink .26s cubic-bezier(.2,.9,.3,1)}
@keyframes pcovshrink{from{transform:scale(4.29); border-radius:0}}
.xpc{position:absolute; left:0; right:0; bottom:10px; padding:0 14px; z-index:2}
.hero.xpgrow .xpc{animation:xpcin .3s .12s cubic-bezier(.2,.9,.3,1) both}
@keyframes xpcin{from{opacity:0; transform:translateY(12px)}}
/* Player component, full layout: meta line, playback line, transport line */
.pl-f{display:flex; flex-direction:column; gap:8px; text-align:left}
.pl-meta{display:flex; align-items:flex-end; gap:8px}
.pl-meta .xm{flex:1; min-width:0; line-height:1.3}
.pl-meta .xm > div{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.pl-meta .ha{font-size:12px; color:var(--muted)}
.pl-meta .ht{font-size:17px; font-weight:650; color:var(--text)}
.pl-meta .hs{font-size:12.5px; color:var(--muted)}
.pl-f.file .pl-meta .xm > .ht{white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-size:16px}
.pl-meta .ib{flex:none; width:30px; height:30px; color:var(--text)}
.pl-seek{display:flex; flex-direction:column; gap:2px}
.pl-sk{position:relative}
.pl-sk .rng{display:block; width:100%; margin:0; box-sizing:border-box}
.pl-seek .spline{margin:6px 0 5px}
.pl-tm{display:flex; justify-content:space-between; font-size:11px; color:var(--muted); min-height:14px}
.pl-f.stream .pl-seek{position:relative; height:28px; justify-content:center; gap:0}
.pl-f.stream .pl-seek .spline{margin:0}
/* The status badge sits on the live line: a blurred translucent chip, so the line passes under it */
.pl-f.stream .pl-tm{position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); min-height:0; padding:3px 10px; border-radius:11px; background:var(--panel-solid); justify-content:center; white-space:nowrap}
.pl-f.stream .pl-tm .badge{font-size:11px; letter-spacing:.04em}
.pl-tr{display:grid; grid-template-columns:1fr auto 1fr; align-items:center}
.pl-l{justify-self:start; display:flex; align-items:center}
.pl-r{justify-self:end; display:flex; align-items:center}
.pl-c3{display:flex; align-items:center; gap:16px}
.pl-tr .ib{width:36px; height:36px; color:var(--text)}
.pl-tr .ib[disabled]{opacity:.35}
.pl-tr .ib.slp{display:inline-flex; align-items:center; justify-content:center; width:auto; min-width:36px; padding:0 8px; gap:4px; font-size:12px; font-weight:600}
.pl-tr .ib.slp.on{color:var(--accent)}
.pl-tr .ib .ic.sk{width:22px; height:22px; stroke-width:1.6}
.xplay{all:unset; width:52px; height:52px; border-radius:50%; display:grid; place-items:center; background:var(--text); color:var(--panel-solid); cursor:default}
.xplay .ic{width:22px; height:22px}
.xplay:hover{filter:brightness(1.15)}
.xplay:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.hcomp{position:absolute; left:0; right:0; bottom:0; height:60px; display:flex; align-items:center}
.hcomp .sph{flex:1; min-width:0; padding:0 10px 0 4px; border:0; background:none}
.hero:has(.hcomp) .hero-bot,.hero:has(.hcomp) .etl{display:none}
/* Compact file: the row, then the seek slider across the full width. The player is 60 high. The row is the top 41:
   it ends at the top of the 16 high slider box, so the thumb never covers the artwork or a button (spec 14 §4.1.4). */
.sph.file{display:flex; flex-direction:column; justify-content:space-between; height:60px; padding:0}
.sph.file .r1{box-sizing:border-box; height:41px; padding:1px 10px 0 6px}
.hcomp .sph.file{align-self:stretch; height:auto}
.hcomp .sph.file .r1{padding:1px 10px 0 4px}
/* The 4 px track sits exactly on the bottom edge of the player; the thumb may overflow it */
.pl-cs{position:relative; height:4px; flex:none}
.pl-cs .rng{position:absolute; left:0; right:0; bottom:3px; width:100%; margin:0; box-sizing:border-box}
/* Skip buttons (docs/ui-ux/14 §4.1.3): round targets, 38 in a compact player and 44 in a full player. The glyph is 26 or 30 and holds the number. */
.sph .ib.skb{width:38px; height:38px; border-radius:50%}
.sph .ib.skb .ic.sk{width:26px; height:26px}
.pl-tr .ib.skb{width:44px; height:44px; border-radius:50%}
.pl-tr .ib.skb .ic.sk{width:30px; height:30px}
.skb:hover{background:var(--hover)}
.spart .art,.spart .pcov{width:36px !important; height:36px !important; border-radius:7px; flex:none; font-size:13px; box-shadow:0 1px 4px rgba(0,0,0,.18)}
.spart{flex:none; display:flex; margin:0 2px 0 6px}
.pl-c .spmid{margin:0 6px 0 8px; justify-content:center}
.pl-c .spmid .t{font-size:13px}
.pl-c .spmid .s{font-size:11.5px}
.pl-c .spplay{width:36px; height:36px; margin-left:2px}
.pl-c .spplay .ic{width:16px; height:16px}
.reduce .hero.xpgrow,.reduce .hero.xpshrink,.reduce .hero.xpgrow *,.reduce .hero.xpshrink *{animation:none !important}
[data-hero]{cursor:default}
.pgdots{position:absolute; left:50%; bottom:5px; transform:translateX(-50%); display:flex; gap:0; padding:1px 3px; border-radius:8px; background:color-mix(in srgb,var(--panel-solid) 72%,transparent); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); z-index:6}
.panel.paged:not(.p1) .pgdots{top:315px; bottom:auto; background:rgba(0,0,0,.38)}
.panel.paged:not(.p1) .pgdots i{background:rgba(255,255,255,.5)}
.panel.paged:not(.p1) .pgdots button[aria-selected="true"] i{background:#fff}
.pgdots button{all:unset; width:16px; height:12px; display:grid; place-items:center; cursor:default}
.pgdots i{width:6px; height:6px; border-radius:3px; background:var(--tert); transition:width .2s, background .2s}
.pgdots button[aria-selected="true"] i{width:14px; background:var(--text)}
.pgdots button:hover i{background:var(--muted)}
.pgdots button:focus-visible{outline:2px solid var(--focus); outline-offset:1px; border-radius:4px}
/* Shelves */
.shelfw{position:relative}
.shelfh .sha{display:flex; gap:2px; opacity:0; transition:opacity .15s}
.shelfw:hover .sha,.shelfw:focus-within .sha{opacity:1}
.shelfw.fits .sha{display:none}
.shb{width:24px !important; height:24px !important; color:var(--muted)}
.shb .ic{width:15px; height:15px}
.shelfw.at-start .shb[data-id="-1"],.shelfw.at-end .shb[data-id="1"]{opacity:.3; pointer-events:none}
.shelf-t{--ml:18px; --mr:22px; -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 var(--ml),#000 calc(100% - var(--mr)),transparent 100%); mask-image:linear-gradient(90deg,transparent 0,#000 var(--ml),#000 calc(100% - var(--mr)),transparent 100%)}
.shelfw.at-start .shelf-t{--ml:0px}
.shelfw.at-end .shelf-t,.shelfw.fits .shelf-t{--mr:0px}
.shelfw.fits .shelf-t{--ml:0px}
.subs.shelf-t{scroll-snap-type:x mandatory; scroll-padding:0 12px}
.subs.shelf-t > *{scroll-snap-align:start}
.chipwrap.shelf-t{flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x proximity; scroll-padding:0 12px; padding-top:4px}
.chipwrap.shelf-t::-webkit-scrollbar{display:none}
.chipwrap.shelf-t > *{flex:none; scroll-snap-align:start}
.stl{display:flex; gap:12px; padding:4px 12px 12px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding:0 12px; scrollbar-width:none}
.stl::-webkit-scrollbar{display:none}
.stw{flex:none; scroll-snap-align:start}
/* Shelf rhythm (docs/ui-ux/14 §4.12.2, Desktop): header 15/700, 20 above a section, 10 from header to row, 12 side margin, 12 gap.
   The row keeps 8 px of bottom padding for the card shadow; the negative margins cancel the padding in the layout. */
.sec.shelfh,.sec:has(+ .upn),.sec:has(+ .stl){font-size:15px; font-weight:700; min-height:0; padding:20px 12px 10px}
.upn,.stl.shelf-t,.subs.shelf-t,.chipwrap.shelf-t{gap:12px; padding:4px 12px 8px; margin:-4px 0 -8px}
.stile{all:unset; position:relative; width:96px; display:flex; flex-direction:column; gap:2px; cursor:default}
.stile .art{width:96px; height:96px; border-radius:14px; box-shadow:0 2px 8px rgba(0,0,0,.14); font-size:30px; overflow:hidden}
.stile .art svg:not(.ic){width:100%; height:100%}
.stile .nm{margin-top:5px; font-size:13px; font-weight:600; line-height:1.25; color:var(--text); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.stile small{font-size:11.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.stile .pl{position:absolute; right:6px; top:64px; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:var(--accent); color:var(--accent-text); opacity:0; transform:scale(.85); transition:opacity .12s, transform .12s; box-shadow:0 2px 6px rgba(0,0,0,.25)}
.stile .pl .ic{width:12px; height:12px}
.stile:hover .pl,.stile:focus-visible .pl,.stile.cur .pl{opacity:1; transform:none}
.stile:focus-visible .art{outline:2px solid var(--focus); outline-offset:2px}
.stile.cur .art{box-shadow:0 0 0 2px var(--accent), 0 2px 8px rgba(0,0,0,.14)}
.reduce .shelf-t{scroll-behavior:auto}
/* LAN library (ADR-061, spec 14 §16). Only elements that the ?lan switch adds use these classes. */
.lan-srv{display:flex; align-items:center; gap:5px; padding:2px 12px 6px; font-size:11.5px; color:var(--muted); background:var(--panel-solid); white-space:nowrap; overflow:hidden}
.lan-srv .ic{width:13px; height:13px}
.lan-srv .spin{width:10px; height:10px; margin:0}
.lan-srv.warn{color:var(--warn)}
.qpause.lan-ban{align-items:flex-start}
.qpause.lan-ban > span{white-space:normal; line-height:1.3}
.lan-ban small{display:block; font-size:11.5px; color:var(--muted)}
.lan-ban.err{background:var(--danger-sub)}
.lan-ban.err > .ic{color:var(--danger)}
.lan-ban .spin{margin:1px 0 0; width:12px; height:12px}
.lan-stale{opacity:.5}
.cp.lan-dis{opacity:.4; pointer-events:none}
.lan-idxw{position:sticky; top:212px; height:0; z-index:2}
.lan-idx{position:absolute; right:1px; top:4px; width:16px; height:240px; display:flex; flex-direction:column}
.lan-idx button{all:unset; flex:1 1 0; min-height:0; display:grid; place-items:center; font-size:8.5px; line-height:1; font-weight:700; color:var(--accent); border-radius:3px; cursor:default}
.lan-idx button[disabled]{color:var(--tert)}
.lan-idx button:hover{background:var(--hover)}
.lan-idx button:focus-visible{outline:2px solid var(--focus)}
.lan-hasidx .row{padding-right:22px}
.lan-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px 10px; padding:6px 12px 12px}
.lan-grid .subt{width:auto}
.lan-grid .subt .pcov{width:100% !important; height:auto !important; aspect-ratio:1}
.row.lan-bad .nm{color:var(--tert)}
.row.lan-bad .pcov{opacity:.5}
.row.lan-bad.gst{cursor:default}
.row.lan-bad.gst:focus-visible{box-shadow:inset 0 0 0 2px var(--focus); outline:none}
.row.lan-gone .nm{color:var(--tert)}
.row.lan-gone .pcov{opacity:.45; background:var(--field)}
.lan-next b{font-weight:650; color:var(--text)}
.lan-sheet h3 .ic{color:var(--warn)}
.lan-fp code{font-size:11px}
.lan-sched .h{grid-template-columns:52px minmax(0,1fr)}
.pbtn[aria-pressed="true"]{background:var(--page-accent); border-color:var(--page-accent); color:#fff}
@media (max-width:600px){
  .desk{height:760px}
  .desk[data-platform="mac"] .panel,.desk[data-platform="win"] .panel{right:50%; transform:translateX(50%); width:min(360px,calc(100% - 16px))}
  .desk .panel.opening{animation:none}
}
