/* Local RKS podcast queue — lightweight controls, shared persistent player. */
body.rks-showcase .rks-queue-add,body.rks-showcase .rks-queue-shortcut{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:7px 3px;border:0;background:transparent;color:var(--rks-violet);font:650 12px/1.4 system-ui;text-align:left;cursor:pointer;border-radius:8px}
body.rks-showcase .rks-queue-add svg,body.rks-showcase .rks-queue-shortcut svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
body.rks-showcase .rks-queue-add{display:flex;margin-top:6px}
body.rks-showcase .rks-queue-add:disabled{color:var(--rks-muted);cursor:default}
body.rks-showcase .rks-podcast-row .actions{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px}
body.rks-showcase .rks-queue-shortcut{padding:10px 14px;border:1px solid var(--rks-line);background:var(--rks-surface);white-space:nowrap;align-self:end}
body.rks-showcase .rks-podcasts .rks-section-heading{flex-wrap:wrap}
body.rks-showcase .rks-queue-toolbar{display:flex;justify-content:flex-end;margin:-8px 0 22px}
body.rks-showcase #vibe-floating-player .rks-queue-toggle{position:relative;display:flex!important}
body.rks-showcase #vibe-floating-player .rks-queue-mobile-toggle{display:none!important}
body.rks-showcase .rks-queue-count{position:absolute;top:-3px;right:-5px;min-width:17px;height:17px;padding:0 3px;display:grid;place-items:center;background:#fff;color:#6432a5;border-radius:12px;font:750 10px/1 system-ui;box-shadow:0 1px 5px #30174622}
body.rks-showcase .rks-queue-count[hidden]{display:none}
body.rks-showcase #vibe-floating-player .rks-queue-panel{box-sizing:border-box;position:absolute!important;inset:auto 0 calc(100% + 14px) auto!important;width:460px!important;max-width:calc(100vw - 32px)!important;max-height:calc(min(100dvh,var(--rks-visual-height,100dvh)) - 160px)!important;padding:22px!important;display:flex!important;flex-direction:column;gap:0;background:var(--rks-surface)!important;color:var(--rks-ink)!important;border:1px solid var(--rks-line)!important;border-radius:24px!important;box-shadow:0 22px 70px #20123130!important;text-align:left;overflow:hidden!important;z-index:5}
body.rks-showcase #vibe-floating-player .rks-queue-panel[hidden]{display:none!important}
body.rks-showcase .rks-queue-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
body.rks-showcase .rks-queue-heading span{display:block;font:750 9px/1.4 system-ui;letter-spacing:.14em;color:var(--rks-violet);margin-bottom:4px}
body.rks-showcase .rks-queue-heading strong{display:block;font:750 21px/1.25 system-ui;letter-spacing:-.04em;color:var(--rks-ink)}
body.rks-showcase .rks-queue-panel button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border:1px solid var(--rks-line);border-radius:50%;background:transparent;color:var(--rks-ink);font:650 17px/1 system-ui;cursor:pointer;padding:0}
body.rks-showcase .rks-queue-panel button:hover:not(:disabled){background:#9053fc18;color:var(--rks-violet)}
body.rks-showcase .rks-queue-panel button:disabled{opacity:.28;cursor:default}
body.rks-showcase .rks-queue-panel button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
body.rks-showcase .rks-queue-panel button[data-queue-action="play"] svg{fill:currentColor;stroke:none}
body.rks-showcase .rks-queue-now{display:flex;align-items:center;gap:12px;background:#9053fc0b;border:1px solid #9053fc20;border-radius:14px;padding:12px;margin-bottom:16px;min-width:0}
body.rks-showcase .rks-queue-now[hidden]{display:none}
body.rks-showcase .rks-queue-now img{width:42px;height:42px;object-fit:cover;border-radius:10px;flex-shrink:0}
body.rks-showcase .rks-queue-now div{min-width:0}
body.rks-showcase .rks-queue-now small{display:block;font:750 8px/1.4 system-ui;letter-spacing:.1em;color:var(--rks-violet)}
body.rks-showcase .rks-queue-now strong{display:block;font:650 12px/1.4 system-ui;margin-top:3px;color:var(--rks-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.rks-showcase .rks-queue-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font:550 11px/1.4 system-ui;color:var(--rks-muted)}
body.rks-showcase .rks-queue-panel .rks-queue-start{border:0;background:#9053fc13;color:var(--rks-violet);padding:0 10px;width:auto;height:34px;border-radius:10px;font-size:11px;white-space:nowrap}
body.rks-showcase .rks-queue-start[hidden]{display:none!important}
body.rks-showcase .rks-queue-list{list-style:none;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;margin:0;padding:0 2px;scrollbar-width:thin}
body.rks-showcase .rks-queue-list li{display:grid;grid-template-columns:14px 44px minmax(0,1fr);gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--rks-line)}
body.rks-showcase .rks-queue-list li>img{width:44px;height:44px;object-fit:cover;border-radius:10px}
body.rks-showcase .rks-queue-number{color:var(--rks-muted);font:600 10px/1 system-ui}
body.rks-showcase .rks-queue-copy{min-width:0}
body.rks-showcase .rks-queue-copy small{display:block;font:650 9px/1.4 system-ui;color:var(--rks-violet);margin-bottom:4px;text-transform:none;overflow-wrap:anywhere}
body.rks-showcase .rks-queue-copy strong{display:block;font:650 12px/1.4 system-ui;color:var(--rks-ink);overflow-wrap:anywhere}
body.rks-showcase .rks-queue-item-actions{display:flex;grid-column:3;gap:7px;margin-top:2px}
body.rks-showcase .rks-queue-note{font:450 10px/1.6 system-ui;color:var(--rks-muted);margin:16px 0 0}
body.rks-showcase .rks-queue-status{font:600 12px/1.5 system-ui;color:var(--rks-violet);margin:10px 0 0}
body.rks-showcase .rks-queue-status:empty{display:none}
body.rks-showcase .rks-queue-list .rks-queue-empty{display:block;border:0;padding:28px 12px;text-align:center}
body.rks-showcase .rks-queue-empty strong{font:700 18px/1.4 system-ui;color:var(--rks-ink)}
body.rks-showcase .rks-queue-empty p{font:450 13px/1.6 system-ui;color:var(--rks-muted);margin:8px 0 15px}
body.rks-showcase .rks-queue-empty a{font:650 12px/1.5 system-ui;color:var(--rks-violet)}
body.rks-showcase .rks-queue-panel :focus-visible,body.rks-showcase .rks-queue-add:focus-visible,body.rks-showcase .rks-queue-shortcut:focus-visible{outline:3px solid #b48aff;outline-offset:2px}
@media(max-width:767.98px){
 body.rks-showcase .rks-queue-shortcut{margin-top:10px}
 body.rks-showcase #vibe-floating-player .rks-queue-toggle{display:none!important}
 body.rks-showcase #vibe-floating-player.is-mobile-expanded .rks-queue-mobile-toggle{display:flex!important;position:absolute!important;top:20px!important;right:58px!important;width:36px!important;height:36px!important;background:#ffffff13;border-radius:50%;z-index:7}
 body.rks-showcase #vibe-floating-player.is-mobile-expanded .rks-queue-panel{inset:68px 12px 90px!important;width:auto!important;max-width:none!important;max-height:none!important;padding:20px!important;border-radius:22px!important}
 body.rks-showcase .rks-queue-panel button{width:40px;height:40px}
 body.rks-showcase .rks-queue-item-actions{gap:5px}
 body.rks-showcase .rks-queue-heading strong{font-size:20px}
}
@media(max-height:500px) and (max-width:991px){
 body.rks-showcase #vibe-floating-player.has-queue-open{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important}
 body.rks-showcase #vibe-floating-player .rks-queue-panel{position:fixed!important;inset:12px 12px 12px auto!important;width:min(460px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;padding:16px!important}
 body.rks-showcase #vibe-floating-player.is-mobile-expanded .rks-queue-panel{inset:12px 12px 12px auto!important;width:min(460px,calc(100vw - 24px))!important}
 body.rks-showcase .rks-queue-now{display:none!important}
 body.rks-showcase .rks-queue-heading{margin-bottom:10px}
}
