/* PL.cool Interface 2 — one visual system, with provider geometry kept intact.
   Content rules never reposition a media element, canvas or player container. */
:root{--pc-bg:#0d1117;--pc-panel:#151b23;--pc-raised:#1c2430;--pc-line:#2a3442;--pc-ink:#eef3f8;--pc-muted:#a2afbf;--pc-accent:#32cd32;--pc-soft:#32cd3215;--pc-radius:14px;--pc-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--pc-danger:#ff9caa;--pc-focus:#93caff}
html.pc-ui{color-scheme:dark;scrollbar-color:#3e4b5e var(--pc-bg)}
html.pc-ui body{font-family:var(--pc-font);color:var(--pc-ink);background:var(--pc-bg);--bg:var(--pc-bg);--panel:var(--pc-panel);--text:var(--pc-ink);--ink:var(--pc-ink);--muted:var(--pc-muted);--line:var(--pc-line);--line2:#384659;--accent:var(--pc-accent);--accent-dark:#28a428;--bg-color:var(--pc-bg);--card-bg:var(--pc-panel);--card-border:var(--pc-line);--text-main:var(--pc-ink);--text-muted:var(--pc-muted);--nb-bg:var(--pc-bg);--nb-panel:var(--pc-panel);--nb-card:var(--pc-raised);--nb-line:var(--pc-line);--nb-text:var(--pc-ink);--nb-muted:var(--pc-muted);--nb-accent:var(--pc-accent);--kino-bg:var(--pc-bg);--kino-card:var(--pc-panel);--kino-border:var(--pc-line);--kino-text:var(--pc-ink);--kino-muted:var(--pc-muted);--kino-cyan:var(--pc-accent);--kino-success:var(--pc-accent)}
html.pc-ui :where(button,input,select,textarea){font-family:var(--pc-font)}
html.pc-ui :where(h1,h2,h3){font-family:var(--pc-font);letter-spacing:-.025em}
html.pc-ui :where(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--pc-focus);outline-offset:3px}
html.pc-ui :where(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background:var(--pc-bg);color:var(--pc-ink);border-color:var(--pc-line);border-radius:9px;max-width:100%;min-width:0}
html.pc-ui :where(.eyebrow,.kino-eyebrow){font-size:10px;letter-spacing:.13em;line-height:1.6;color:var(--pc-muted)}
html.pc-ui :where(.modal-card,.pc-settings,.dialog-card,.nickname-dialog form){background:var(--pc-panel);color:var(--pc-ink);border-radius:16px}
html.pc-ui :where(dialog,.modal){border-color:var(--pc-line)}
html.pc-ui dialog::backdrop{background:#05080cc9;backdrop-filter:none}
html.pc-ui :where(.primary,.primary-button,.primary-btn,.kino-primary,.send-button,.dropzone-button){background:var(--pc-accent)!important;color:#082208!important;border:1px solid var(--pc-accent);box-shadow:none!important;font-weight:650;border-radius:9px}
html.pc-ui :where(.secondary,.secondary-button,.subtle,.ctrl-btn,.header-toggle,.kino-secondary,.team-refresh,.manager-edit-toggle){background:var(--pc-panel);color:var(--pc-ink);border:1px solid var(--pc-line);border-radius:9px;box-shadow:none}
html.pc-ui :where(.primary,.primary-button,.primary-btn,.kino-primary):hover{filter:brightness(1.08)}
html.pc-ui :where(.secondary,.secondary-button,.subtle,.ctrl-btn,.header-toggle,.kino-secondary,.team-refresh):hover{background:var(--pc-raised);border-color:#435268}
html.pc-ui :where(.danger,.danger-button,.danger-icon){color:var(--pc-danger)}
html.pc-ui :where(.empty,.workspace-empty,.empty-state,.empty-library){color:var(--pc-muted);background:transparent}
/* App shell: stable 72 / 210 / 90 desktop geometry remains the player contract. */
html.pc-ui .shell-header{background:#111720;border-color:var(--pc-line);box-shadow:none;gap:28px}
html.pc-ui .shell-header .brand{font-size:24px;letter-spacing:-1px;flex-shrink:0}
html.pc-ui .brand i{background:var(--pc-accent)}
html.pc-ui #navigation{gap:5px}
html.pc-ui #navigation button{font-size:14px;color:var(--pc-muted);padding:10px 14px;border-radius:9px;font-weight:500}
html.pc-ui #navigation button.active{background:var(--pc-soft);color:var(--pc-accent)}
html.pc-ui .account-actions{gap:8px;font-size:12px}
html.pc-ui .account-actions .subtle{height:36px;padding:8px 11px;min-width:36px}
html.pc-ui #account{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--pc-muted)}
html.pc-ui .module-menu{background:#111720;border-color:var(--pc-line);padding:18px 12px;scrollbar-width:thin}
html.pc-ui .module-menu>.eyebrow{margin:0 12px 12px;color:var(--pc-muted);font-size:10px;letter-spacing:.13em}
html.pc-ui .module-links{gap:3px}
html.pc-ui .module-links>a{min-height:41px;gap:12px;padding:9px 12px;border-radius:9px;color:var(--pc-muted);font-size:13px;font-weight:500;line-height:1.45}
html.pc-ui .module-links>a.active{background:var(--pc-soft);color:var(--pc-accent)}
html.pc-ui .module-links>a:hover{background:var(--pc-raised);color:var(--pc-ink)}
html.pc-ui .module-links>a.active:hover{background:#32cd3222}
html.pc-ui .module-links>a>span[aria-hidden],html.pc-ui .nav-symbol{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;font-size:18px}
html.pc-ui :where(.module-links svg,.nav-symbol svg){width:19px;height:19px}
html.pc-ui .nav-group-label{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:var(--pc-muted);padding:17px 12px 5px;margin:12px 0 6px;border-top:1px solid var(--pc-line);font-weight:500}
html.pc-ui .library-menu-section{border-color:var(--pc-line);margin-top:18px;padding-top:15px}
html.pc-ui .library-menu-section .eyebrow{font-size:10px;margin:0 12px 10px}
html.pc-ui #library-menu button{color:var(--pc-muted);border-radius:9px;font-size:12px;padding:9px 12px;min-height:37px;font-weight:500}
html.pc-ui #library-menu button.active{background:var(--pc-soft);color:var(--pc-accent)}
html.pc-ui .nav-count{color:var(--pc-muted);background:var(--pc-raised);border-radius:5px;font-size:10px;padding:1px 5px}
html.pc-ui #dashboard{max-width:1500px;padding:32px 40px 40px}
html.pc-ui .panel h1{font-size:clamp(27px,3.3vw,40px);font-weight:700;letter-spacing:-.04em;line-height:1.2;margin:10px 0 16px}
html.pc-ui .intro{margin-bottom:30px}
html.pc-ui .muted{color:var(--pc-muted);font-size:14px;line-height:1.65}
html.pc-ui .module-grid{gap:14px}
html.pc-ui .module-card{background:var(--pc-panel);border:1px solid var(--pc-line);padding:20px;border-radius:14px;gap:16px;min-height:102px;box-shadow:none}
html.pc-ui .module-card:hover{background:var(--pc-raised);border-color:#435268;transform:none}
html.pc-ui .module-symbol{width:44px;height:44px;background:var(--pc-soft);color:var(--pc-accent);border-radius:11px;flex-shrink:0}
html.pc-ui .module-symbol svg{width:24px;height:24px}
html.pc-ui .module-card strong{font-size:17px;font-weight:600}
html.pc-ui .module-card small{color:var(--pc-muted);font-size:12px;margin-top:4px;line-height:1.5}
html.pc-ui .section{margin-top:32px}
html.pc-ui .section h2{font-size:19px;font-weight:600}
html.pc-ui :where(.result-row,.pin-row,.event-row){border-color:var(--pc-line);background:var(--pc-panel);border-radius:12px;padding:16px 18px}
html.pc-ui .row-list{gap:10px}
html.pc-ui .searchbox{background:var(--pc-panel);border-color:var(--pc-line);border-radius:12px;min-height:62px}
html.pc-ui .searchbox input{background:transparent;border:0}
/* Shared strip and PiP: visual finish only; existing size and anchoring untouched. */
html.pc-ui .mini-player{background:var(--pc-panel);border-color:var(--pc-line);box-shadow:none;gap:14px}
html.pc-ui .mini-art{background:var(--pc-soft);color:var(--pc-accent);border-color:var(--pc-line);border-radius:9px}
html.pc-ui .mini-control{color:var(--pc-ink)}
html.pc-ui .mini-control.play{background:var(--pc-accent);color:#082208;box-shadow:none}
html.pc-ui .mini-copy strong{font-weight:600}
html.pc-ui .mini-copy>span{color:var(--pc-muted)}
html.pc-ui .mini-player input{accent-color:var(--pc-accent)}
html.pc-ui .media-mini{border-color:var(--pc-line);background:var(--pc-panel);box-shadow:0 12px 35px #0005}
html.pc-ui .media-mini-header{background:var(--pc-panel);color:var(--pc-ink);border-color:var(--pc-line)}
/* YouTube: search stays at the top, collections use the same toolbar rhythm. */
html.pc-ui:not(.platform-mini) .top-header{background:var(--pc-bg);border-bottom:1px solid var(--pc-line);backdrop-filter:none;box-shadow:none;padding:18px 26px;position:sticky;top:0}
html.pc-ui .top-header .header-actions{display:flex;flex-wrap:wrap;gap:10px;min-width:0;align-items:center}
html.pc-ui .top-header .header-actions .search-box{flex:1 1 300px;min-width:0;max-width:none;height:40px;border:1px solid var(--pc-line);background:var(--pc-panel);border-radius:9px;font-size:13px}
html.pc-ui .top-header .header-toggle{min-height:40px;padding:8px 14px;font-size:12px}
html.pc-ui .top-header :where(.sync-strip,.quota-summary){color:var(--pc-muted);font-size:11px;background:transparent;border:0;box-shadow:none}
html.pc-ui .top-header .user-session{display:none}
html.pc-ui:not(.platform-mini) main.container{padding:26px;max-width:1500px;margin:auto}
html.pc-ui :where(.library-panel,.tag-library-panel,.notes-panel,.watch-path-panel,.stats-panel,.settings-card,.overview-section){background:transparent;border-color:var(--pc-line);border-radius:14px;box-shadow:none}
html.pc-ui .library-panel{padding:22px}
html.pc-ui .section-heading{gap:16px;margin-bottom:18px;align-items:center}
html.pc-ui .section-heading h2{font-size:23px;font-weight:650;line-height:1.3;margin:0 0 6px}
html.pc-ui .section-heading p{font-size:13px;line-height:1.6;color:var(--pc-muted)}
html.pc-ui .library-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px;min-width:0}
html.pc-ui .library-add{display:flex;flex:1 1 280px;gap:8px;min-width:0}
html.pc-ui .library-add .search-box{flex:1;min-width:0;width:100%;height:40px;border-radius:9px;font-size:12px;padding:9px 12px}
html.pc-ui .library-actions .primary-btn{min-height:40px;padding:9px 14px;white-space:nowrap;font-size:12px;line-height:1.5;flex-shrink:0}
html.pc-ui .view-controls{max-width:100%;display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:6px;background:var(--pc-panel);border:1px solid var(--pc-line);border-radius:10px;min-width:0}
html.pc-ui .view-controls .view-btn{font-size:11px;border-radius:6px;padding:7px 9px;background:transparent;white-space:nowrap;min-width:0}
html.pc-ui .view-controls .view-btn.active{background:var(--pc-raised);color:var(--pc-ink)}
html.pc-ui .view-controls input[type=range]{width:100px;min-width:60px;max-width:100%;accent-color:var(--pc-accent)}
html.pc-ui .view-controls select{font-size:12px;max-width:155px;min-height:30px}
html.pc-ui .controls-wrapper{padding:15px 0 0;background:transparent}
html.pc-ui .controls-wrapper :where(.ctrl-btn,.filter-pill){background:var(--pc-panel);border-color:var(--pc-line);border-radius:8px;font-size:12px;box-shadow:none}
html.pc-ui .controls-wrapper .filter-pill.active{background:var(--pc-soft);color:var(--pc-accent);border-color:#32cd3255}
html.pc-ui :where(.card,.accordion-item){background:var(--pc-panel);border-color:var(--pc-line);border-radius:13px;box-shadow:none}
html.pc-ui .card:hover{border-color:#435268;transform:none;box-shadow:none}
html.pc-ui .card.playing-mode{border-color:#44c88d;box-shadow:0 0 0 1px #44c88d55}
html.pc-ui .card .content{padding:13px 14px;gap:8px}
html.pc-ui .card .title{font-size:14px;font-weight:550;line-height:1.5;letter-spacing:0}
html.pc-ui .card .meta{font-size:11px;color:var(--pc-muted)}
html.pc-ui .card-actions :where(button,a){background:#0d1117bf!important;border-color:#d1e1f52b!important;box-shadow:none!important;backdrop-filter:none}
html.pc-ui .card-actions :where(button,a):hover{background:#1c2430ef!important}
html.pc-ui:not(.platform-mini) body.player-active #spotify-player-bar{background:var(--pc-panel);border-color:var(--pc-line);box-shadow:0 8px 28px #0004;backdrop-filter:none}
html.pc-ui:not(.platform-mini) body.player-active #spotify-player-bar .spot-btn{box-shadow:none;background:var(--pc-raised);border-color:#3a4657}
html.pc-ui:not(.platform-mini) body.player-active #spotify-player-bar .spot-btn.play-toggle{background:#244824;border-color:var(--pc-accent);box-shadow:0 0 0 4px #32cd3210}
html.pc-ui:not(.platform-mini) body.player-active #spotify-player-bar .spot-progress-fill{background:var(--pc-accent);box-shadow:none}
html.pc-ui:not(.platform-mini) body.player-active #spotify-player-bar .spot-progress-fill::after{background:var(--pc-accent);box-shadow:none;border-color:#c9ffce}
html.pc-ui:not(.platform-mini) .player-mode-actions{background:var(--pc-panel);border-color:var(--pc-line);backdrop-filter:none}
html.pc-ui:not(.platform-mini) .cinema-window{border-color:var(--pc-line);box-shadow:0 12px 35px #0005}
/* VOD and administration: module subnav replaces repeated site navigation. */
html.pc-ui body[data-base] .site-header{background:var(--pc-bg);border-color:var(--pc-line);box-shadow:none;backdrop-filter:none}
html.pc-ui.pc-embedded body[data-base] .brand-cluster,html.pc-ui.pc-embedded body[data-base] .vod-theme-toggle,html.pc-ui.pc-embedded body[data-base] .account,html.pc-ui.pc-embedded body[data-base] .site-nav>a[href^="/radio"],html.pc-ui.pc-embedded body[data-base] .site-nav>a[href^="/file-drop"],html.pc-ui.pc-embedded body[data-base] .site-nav>a[href^="/wiadomosci"]{display:none}
html.pc-ui body[data-base] .header-inner{gap:16px;padding-inline:28px}
html.pc-ui body[data-base] .site-nav{gap:6px}
html.pc-ui body[data-base] .nav-link{font-size:12px;padding:8px 12px;min-height:38px;color:var(--pc-muted);border-radius:8px;white-space:nowrap}
html.pc-ui body[data-base] .nav-link[aria-current]{background:var(--pc-soft);color:var(--pc-accent)}
html.pc-ui body[data-base] .nav-link[aria-current]::after{display:none}
html.pc-ui body[data-base] .nav-popover,html.pc-ui body[data-base] .account-popover{background:var(--pc-panel);border-color:var(--pc-line);box-shadow:0 12px 35px #0005}
html.pc-ui.pc-embedded body[data-base]>main{padding:28px;max-width:1500px;margin:auto}
html.pc-ui body[data-base] :where(.hero h1,section>h1){font-size:clamp(27px,3vw,36px);margin:8px 0 22px;line-height:1.25}
html.pc-ui body[data-base] :where(.hero,.hero-library){padding-block:20px}
html.pc-ui body[data-base] :where(.library-toolbar,.library-manager-search,.movie-manager-card,.cda-download-item,.pair-panel,.panel){background:var(--pc-panel);border-color:var(--pc-line);border-radius:14px;box-shadow:none}
html.pc-ui body[data-base] .library-toolbar{padding:16px;margin-bottom:22px}
html.pc-ui body[data-base] .library-toolbar :where(input,button){min-height:40px;font-size:13px}
html.pc-ui body[data-base] .movie-card{border-color:var(--pc-line);background:var(--pc-panel);border-radius:13px;box-shadow:none;padding:10px}
html.pc-ui body[data-base] .movie-card.private-movie{border-color:#74565f}
html.pc-ui body[data-base] .movie-title-link h3{font-size:14px;font-weight:600;line-height:1.45;letter-spacing:0;color:var(--pc-ink)}
html.pc-ui body[data-base] .movie-meta{color:var(--pc-muted);font-size:11px;line-height:1.65}
html.pc-ui body[data-base] :where(button,.primary){border-radius:9px;box-shadow:none;font-weight:600;font-size:13px}
html.pc-ui body[data-base] :where(.library-manager-tabs,.cda-order-controls){gap:8px;flex-wrap:wrap}
html.pc-ui body[data-base] .library-manager-tabs a{border-color:var(--pc-line);background:var(--pc-panel);color:var(--pc-muted);border-radius:8px}
html.pc-ui body[data-base] .library-manager-tabs a[aria-current]{background:var(--pc-soft);color:var(--pc-accent)}
/* File Drop: horizontal, always reachable section navigation frees a second column. */
html.pc-ui.pc-embedded body:has(#workspace) .sidebar{position:relative;inset:auto;width:100%;height:auto;transform:none!important;z-index:15;border-right:0;border-bottom:1px solid var(--pc-line);padding:12px 26px;display:block;background:var(--pc-bg)}
html.pc-ui.pc-embedded body:has(#workspace) .sidebar :where(.brand,.portal-link,.nav-label,.sidebar-divider,.sidebar-bottom){display:none}
html.pc-ui.pc-embedded body:has(#workspace) .file-nav{display:flex;gap:6px;overflow-x:auto;padding:0 0 4px;scrollbar-width:thin}
html.pc-ui.pc-embedded body:has(#workspace) .file-nav button{flex:0 0 auto;width:auto;gap:8px;padding:9px 12px;min-height:40px;font-size:12px;white-space:nowrap;background:transparent;border-radius:8px;color:var(--pc-muted)}
html.pc-ui.pc-embedded body:has(#workspace) .file-nav button.active{background:var(--pc-soft);color:var(--pc-accent)}
html.pc-ui.pc-embedded body:has(#workspace) .nav-dot{display:none}
html.pc-ui.pc-embedded body:has(#workspace) .activity-nav{display:inline-flex;vertical-align:middle;padding:6px 10px;gap:7px;font-size:11px;width:auto;margin:6px 12px 0 0;color:var(--pc-muted)}
html.pc-ui.pc-embedded body:has(#workspace) .storage{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;border-radius:0;background:transparent;margin:6px 0 0;font-size:10px;vertical-align:middle}
html.pc-ui.pc-embedded body:has(#workspace) .storage :where(progress,small,#storage-percent){display:none}
html.pc-ui.pc-embedded body:has(#workspace) .storage p{margin:0;font-size:10px;white-space:nowrap}
html.pc-ui.pc-embedded body:has(#workspace) .storage-heading{font-size:10px;gap:5px}
html.pc-ui.pc-embedded body:has(#workspace) .storage svg{width:14px;height:14px}
html.pc-ui.pc-embedded body:has(#workspace) .workspace{margin-left:0;min-width:0}
html.pc-ui.pc-embedded body:has(#workspace) .topbar{display:none}
html.pc-ui body:has(#workspace) main{padding:26px;max-width:1500px;margin:auto}
html.pc-ui body:has(#workspace) .hero{min-height:0;padding:0 0 20px;gap:20px}
html.pc-ui body:has(#workspace) .hero h1{font-size:32px;margin:8px 0 10px;letter-spacing:-.035em}
html.pc-ui body:has(#workspace) .hero-copy>p{font-size:13px;line-height:1.65}
html.pc-ui body:has(#workspace) .hero-art{display:none}
html.pc-ui body:has(#workspace) .hero-meta{font-size:10px}
html.pc-ui body:has(#workspace) .dropzone{background:var(--pc-panel);border-color:#435268;border-radius:12px;padding:18px 22px;margin:0 0 26px}
html.pc-ui body:has(#workspace) :where(.secondary,.primary){min-height:38px;padding:8px 12px;font-size:12px}
html.pc-ui body:has(#workspace) .section-heading{margin-bottom:16px}
html.pc-ui body:has(#workspace) .section-heading h2{font-size:23px}
html.pc-ui body:has(#workspace) .toolbar{border-color:var(--pc-line);gap:14px;padding-bottom:18px}
html.pc-ui body:has(#workspace) .tools{min-width:0;gap:8px}
html.pc-ui body:has(#workspace) .search{min-width:0;background:var(--pc-panel);border-color:var(--pc-line)}
html.pc-ui body:has(#workspace) .file-card{border-color:var(--pc-line);background:var(--pc-panel);box-shadow:none}
html.pc-ui body:has(#workspace) .file-card:hover{border-color:#435268;box-shadow:none;transform:none}
html.pc-ui body:has(#workspace) .context-menu{background:var(--pc-panel);border-color:var(--pc-line)}
/* Notes and messages: functional two-pane layouts, shared surfaces and type. */
html.pc-ui .notebook-shell,html.pc-ui .messenger-shell{background:var(--pc-bg);border-color:var(--pc-line);max-width:none}
html.pc-ui :where(.notebook-sidebar,.messenger-sidebar){background:var(--pc-panel);border-color:var(--pc-line)}
html.pc-ui.pc-embedded :where(.notebook-sidebar .home-mark,.messenger-home){display:none}
html.pc-ui :where(.notebook-sidebar .brand,.messenger-brand){border-color:var(--pc-line);background:transparent}
html.pc-ui :where(.notebook-sidebar .brand strong,.messenger-brand strong){font-size:19px;font-weight:650}
html.pc-ui :where(.editor-header,.chat-header,.composer,.note-footer){background:var(--pc-bg);border-color:var(--pc-line)}
html.pc-ui :where(.editor,.editor-content,.note-workspace,.conversation-pane){background:var(--pc-bg);color:var(--pc-ink)}
html.pc-ui :where(.conversation-item.active,.note-item.active){background:var(--pc-soft);border-color:#32cd3255}
html.pc-ui .message-bubble{background:var(--pc-panel);border-color:var(--pc-line);box-shadow:none}
html.pc-ui .message-row.mine .message-bubble{background:#15341a;border-color:#2b5632}
html.pc-ui :where(.composer-action,.editor-toolbar button,.icon-button){background:var(--pc-panel);color:var(--pc-ink);border-color:var(--pc-line);box-shadow:none}
html.pc-ui .conversation-pane h1{font-size:32px;font-weight:650}
html.pc-ui .empty-lock{font-size:28px;background:var(--pc-soft)}
/* Team and cinema lobby. Call/stage/video geometry is owned by their providers. */
html.pc-ui :where(.team-shell,.kino-shell){max-width:1400px;width:100%;padding:26px}
html.pc-ui :where(.team-header,.kino-header){background:var(--pc-bg);border-color:var(--pc-line);box-shadow:none;gap:16px}
html.pc-ui.pc-embedded .team-header nav,html.pc-ui.pc-embedded :where(.kino-message-link,.kino-back){display:none}
html.pc-ui.pc-embedded .team-brand,html.pc-ui.pc-embedded .kino-brand>span{display:none}
html.pc-ui .kino-brand strong{color:var(--pc-ink);font-size:18px}
html.pc-ui .team-hero,html.pc-ui .kino-hero{padding-block:24px}
html.pc-ui :where(.team-hero h1,.kino-hero h1){font-size:clamp(27px,3vw,36px);font-weight:700;line-height:1.25}
html.pc-ui :where(.team-hero p,.kino-hero p){color:var(--pc-muted);font-size:14px;max-width:680px;line-height:1.65}
html.pc-ui :where(.team-section,.team-person,.team-note,.kino-card,.kino-room-link,.kino-film-card,.participant){background:var(--pc-panel);border-color:var(--pc-line);border-radius:13px;box-shadow:none}
html.pc-ui :where(.team-person-name,.kino-card h2){font-weight:600}
html.pc-ui :where(.team-note,.kino-muted,.kino-field-help){color:var(--pc-muted)}
/* Radio: remove the repeated portal header, retain spectrum and all its controls. */
html.pc-ui body:has(.console){--pc-accent:#ff535c;--pc-soft:#ff535c15;--red:#ff535c;--panel:var(--pc-panel);background:var(--pc-bg)}
html.pc-ui body:has(.console)::before{display:none}
html.pc-ui.pc-embedded body:has(.console) .page-header{display:none}
html.pc-ui body:has(.console) .page-shell{max-width:1400px;padding:0 26px 24px}
html.pc-ui body:has(.console) .intro{padding:26px 0 22px;margin:0;align-items:center}
html.pc-ui body:has(.console) h1{font-size:32px;letter-spacing:-.035em}
html.pc-ui body:has(.console) .intro-note{font-size:12px;line-height:1.6;color:var(--pc-muted)}
html.pc-ui body:has(.console) .console{border-color:var(--pc-line);box-shadow:none;border-radius:16px}
html.pc-ui body:has(.console) :where(.station-panel,.player-panel,.spectrum-panel,.orb){background:var(--pc-panel);border-color:var(--pc-line);box-shadow:none}
html.pc-ui body:has(.console) .station-panel{border-right:1px solid var(--pc-line)}
html.pc-ui body:has(.console) :where(.station-search,.wide-display,.station-stepper){border-color:var(--pc-line);background:var(--pc-bg);border-radius:9px}
html.pc-ui body:has(.console) .station-row.active{border-color:#32cd3255;background:var(--pc-soft)}
html.pc-ui body:has(.console) .station-copy strong{color:var(--pc-ink);font-size:13px}
html.pc-ui body:has(.console) .station-copy small{color:var(--pc-muted);font-size:9px}
html.pc-ui body:has(.console) .filters button{font-size:11px;color:var(--pc-muted)}
html.pc-ui body:has(.console) .filters button.active{color:var(--pc-accent)}
html.pc-ui body:has(.console) .now-playing strong{font-size:clamp(18px,2vw,26px);line-height:1.4}
html.pc-ui body:has(.console) .now-playing>span#track-artist{font-size:16px;color:var(--pc-muted)}
html.pc-ui body:has(.console) .save-music{font-size:12px;min-height:36px;border-color:#32cd3255;background:var(--pc-soft);color:var(--pc-accent);border-radius:9px}
html.pc-ui body:has(.console) .spectrum-sidebar{border-color:var(--pc-line)}
html.pc-ui body:has(.console) .sound-controls label,html.pc-ui body:has(.console) .sound-controls output{font-size:11px;color:var(--pc-muted)}
html.pc-ui body:has(.console) .play-button{background:#432127;border-color:var(--pc-accent);color:var(--pc-accent);box-shadow:none}
html.pc-ui body:has(.console) .arc-glow{opacity:.35}
/* Theme remains available; both modes use the same dimensions and hierarchy. */
html.pc-ui :where(.theme-toggle,.theme-floating-button,.kino-theme-toggle,.team-theme-toggle,.vod-theme-toggle){background:var(--pc-panel)!important;border-color:var(--pc-line)!important;color:var(--pc-muted)!important;box-shadow:none!important;width:34px;height:34px;font-size:16px!important;border-radius:9px!important}
html.pc-ui[data-theme=light]{--pc-bg:#f4f7fa;--pc-panel:#ffffff;--pc-raised:#eaf0f5;--pc-line:#d2dbe5;--pc-ink:#172639;--pc-muted:#526579;--pc-accent:#187b25;--pc-soft:#187b2510}
html.pc-ui[data-theme=light] :where(.shell-header,.module-menu){background:var(--pc-panel)}
/* Mobile: no clipped inputs, no second hamburger, full section navigation. */
@media(max-width:1100px) and (min-width:761px){html.pc-ui .shell-header{gap:15px;padding-inline:20px}html.pc-ui #navigation button{padding:9px 10px}html.pc-ui #install{display:none}html.pc-ui .account-actions{gap:6px}html.pc-ui .top-header .sync-strip{flex-basis:auto}}
@media(max-width:760px){
 html.pc-ui .shell-header{padding:9px 12px;gap:10px;background:#111720}
 html.pc-ui .shell-header .brand{font-size:22px}
 html.pc-ui .menu-toggle{border-color:var(--pc-line);background:var(--pc-panel);border-radius:8px;width:36px;height:36px;padding:6px}
 html.pc-ui .account-actions{gap:5px}
 html.pc-ui .account-actions .subtle{width:32px;min-width:32px;height:32px;padding:6px;font-size:12px}
 html.pc-ui #account{max-width:74px;font-size:10px}
 html.pc-ui #navigation{padding-top:0;gap:4px}
 html.pc-ui #navigation button{font-size:12px;padding:8px 12px;min-height:36px;flex:1;text-align:center}
 html.pc-ui .module-menu{padding:5px 10px}
 html.pc-ui .module-links{gap:5px;align-items:center}
 html.pc-ui .module-links>a{min-height:39px;gap:6px;padding:8px 12px;font-size:12px}
 html.pc-ui .module-links>a>span[aria-hidden]{width:16px;flex-basis:16px}
 html.pc-ui .module-links svg{width:17px;height:17px}
 html.pc-ui .module-links>.nav-group-label{display:none}
 html.pc-ui body.menu-open .module-menu{padding:18px 12px}
 html.pc-ui body.menu-open .module-links>.nav-group-label{display:block;width:100%}
 html.pc-ui #dashboard{padding:24px 16px}
 html.pc-ui .intro{gap:12px;align-items:flex-start;margin-bottom:24px}
 html.pc-ui .intro .subtle{font-size:11px;padding:8px 10px;white-space:nowrap}
 html.pc-ui .panel h1{font-size:28px;margin:8px 0 12px}
 html.pc-ui .muted{font-size:13px}
 html.pc-ui .module-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
 html.pc-ui .module-card{padding:14px;gap:10px;min-height:112px;flex-direction:column;align-items:flex-start}
 html.pc-ui .module-card strong{font-size:14px}
 html.pc-ui .module-card small{font-size:11px}
 html.pc-ui .module-symbol{width:32px;height:32px;border-radius:8px}
 html.pc-ui .module-symbol svg{width:19px;height:19px}
 html.pc-ui :where(.result-row,.pin-row,.event-row){padding:13px;gap:10px}
 html.pc-ui .mini-player{gap:7px;padding-inline:12px}
 html.pc-ui .mini-copy strong{font-size:12px}
 html.pc-ui .mini-copy>span{font-size:10px}
 html.pc-ui:not(.platform-mini) .top-header{padding:14px 16px}
 html.pc-ui .top-header .header-actions{gap:8px}
 html.pc-ui .top-header .header-actions .search-box{flex-basis:calc(100% - 105px);font-size:12px;height:38px}
 html.pc-ui .top-header .header-toggle{min-height:38px;font-size:11px;padding:7px 10px}
 html.pc-ui .top-header .sync-strip{font-size:10px;white-space:normal}
 html.pc-ui .top-header .quota-container{margin-left:auto}
 html.pc-ui .top-header .quota-summary{font-size:10px}
 html.pc-ui:not(.platform-mini) main.container{padding:16px}
 html.pc-ui .library-panel{padding:16px}
 html.pc-ui .section-heading{flex-wrap:wrap;gap:10px}
 html.pc-ui .section-heading h2{font-size:22px}
 html.pc-ui .library-actions{gap:10px}
 html.pc-ui .library-add{flex-basis:100%;width:100%}
 html.pc-ui .library-add input{flex:1;width:0!important;min-width:0!important;max-width:none!important}
 html.pc-ui .view-controls{width:100%;gap:4px;flex-wrap:wrap}
 html.pc-ui .view-controls input[type=range]{flex:1 1 80px;width:80px;min-width:60px}
 html.pc-ui .view-controls .view-btn{padding:7px;font-size:10px}
 html.pc-ui .view-controls select{flex:1 1 100px;width:100px;font-size:11px;max-width:140px}
 html.pc-ui .controls-wrapper{max-width:100%;overflow-x:auto}
 html.pc-ui .card .title{font-size:13px}
 html.pc-ui.pc-embedded body[data-base] .site-header{height:auto;min-height:56px;position:relative}
 html.pc-ui.pc-embedded body[data-base] .header-inner{padding:8px 16px;min-height:40px;display:block}
 html.pc-ui.pc-embedded body[data-base] .menu-toggle{display:none}
 html.pc-ui.pc-embedded body[data-base] .header-menu{display:block!important;position:static;inset:auto;padding:0;border:0;background:transparent}
 html.pc-ui.pc-embedded body[data-base] .site-nav{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:4px;align-items:center}
 html.pc-ui.pc-embedded body[data-base] .nav-dropdown{flex-shrink:0}
 html.pc-ui.pc-embedded body[data-base] .nav-dropdown summary{font-size:11px;padding:8px}
 html.pc-ui.pc-embedded body[data-base] .nav-popover{position:fixed;top:55px;left:12px;right:12px;width:auto;max-height:70dvh;overflow:auto}
 html.pc-ui body[data-base] .nav-link{font-size:11px;padding:8px 10px;min-height:36px}
 html.pc-ui.pc-embedded body[data-base]>main{padding:20px 16px}
 html.pc-ui body[data-base] .library-toolbar{padding:12px}
 html.pc-ui body[data-base] .library-toolbar :where(input,button){font-size:12px}
 html.pc-ui body[data-base] .movie-card{padding:8px}
 html.pc-ui body[data-base] .movie-title-link h3{font-size:13px}
 html.pc-ui body[data-base] .movie-meta{font-size:10px}
 html.pc-ui.pc-embedded body:has(#workspace) .sidebar{padding:10px 16px}
 html.pc-ui.pc-embedded body:has(#workspace) .file-nav button{font-size:11px;padding:8px 10px;min-height:36px}
 html.pc-ui.pc-embedded body:has(#workspace) .activity-nav{font-size:10px;margin-right:7px}
 html.pc-ui.pc-embedded body:has(#workspace) .storage-heading{display:none}
 html.pc-ui body:has(#workspace) main{padding:20px 16px}
 html.pc-ui body:has(#workspace) .hero h1{font-size:27px}
 html.pc-ui body:has(#workspace) .hero-copy>p{font-size:12px}
 html.pc-ui body:has(#workspace) .hero-meta{flex-wrap:wrap}
 html.pc-ui body:has(#workspace) .dropzone{padding:16px;margin-bottom:24px;gap:12px;flex-wrap:wrap}
 html.pc-ui body:has(#workspace) .dropzone-copy{min-width:0}
 html.pc-ui body:has(#workspace) .dropzone-icon{display:none}
 html.pc-ui body:has(#workspace) .section-actions{gap:6px;flex-wrap:wrap}
 html.pc-ui body:has(#workspace) .section-actions button{font-size:10px;min-height:34px;padding:7px 9px}
 html.pc-ui body:has(#workspace) .tools{width:100%;display:flex;flex-wrap:wrap}
 html.pc-ui body:has(#workspace) .tools .search{flex:1 1 150px;min-width:0;width:auto}
 html.pc-ui body:has(#workspace) .tools select{font-size:11px;max-width:130px}
 html.pc-ui :where(.team-shell,.kino-shell){padding:20px 16px}
 html.pc-ui :where(.team-hero,.kino-hero){padding-block:20px}
 html.pc-ui :where(.team-hero h1,.kino-hero h1){font-size:28px}
 html.pc-ui .notebook-shell{min-width:0}
 html.pc-ui body:has(.console) .page-shell{padding:0 16px 20px}
 html.pc-ui body:has(.console) .intro{padding:22px 0 18px}
 html.pc-ui body:has(.console) h1{font-size:28px}
 html.pc-ui body:has(.console) .intro-note{display:none}
 html.pc-ui body:has(.console) .player-heading h2{font-size:22px;letter-spacing:4px}
 html.pc-ui body:has(.console) .player-panel{padding:20px 12px}
 html.pc-ui body:has(.console) .station-panel{border-right:0}
}
@media(prefers-reduced-motion:reduce){html.pc-ui :where(.module-card,.card,.file-card,button){transition:none;scroll-behavior:auto}}

/* Final alignment pass: labels retain their own space beside each slider. */
html.pc-ui #dashboard>.panel{padding:0;max-width:none}
html.pc-ui .module-links>a.active>span[aria-hidden]{color:var(--pc-accent)}
html.pc-ui .messenger-brand{display:flex;align-items:center;gap:12px}
html.pc-ui .messenger-brand-actions{display:flex;align-items:center;gap:6px;margin-left:auto}
html.pc-ui.pc-embedded .team-header>a[href^="/radio"]{display:none}
html.pc-ui body[data-base] .library-toolbar{background:var(--pc-panel);border:1px solid var(--pc-line);padding:16px;border-radius:12px;margin-bottom:22px}
html.pc-ui.pc-embedded body[data-base] .nav-popover-group.pc-film-management{display:none}
html.pc-ui.pc-embedded body[data-base] .nav-dropdown:not(:has(.pc-system-management)){display:none}
html.pc-ui body:has(.console) .sound-controls{display:grid;grid-template-columns:32px auto minmax(70px,1fr) 42px;gap:12px;align-items:center}
html.pc-ui body:has(.console) .sound-controls input[type=range]{width:100%;min-width:0;margin:0;cursor:pointer}
html.pc-ui body:has(.console) .sound-controls label{white-space:nowrap}
html.pc-ui body:has(.console) .sound-controls output{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
html.pc-ui body:has(.console) .sound-note{grid-column:1/-1;margin:0;text-align:right}
html.pc-ui input[type=range]{cursor:pointer}
@media(max-width:760px){html.pc-ui body:has(.console) .sound-controls{grid-template-columns:28px auto minmax(55px,1fr) 37px;gap:8px}html.pc-ui body:has(.console) .sound-controls label{font-size:10px}}

html.pc-ui .mini-player:not(.film-player){--pc-accent:#ff535c;--pc-soft:#ff535c15}
html.pc-ui .module-links>a[data-module=radio].active{background:#ff535c15;color:#ff535c}
html.pc-ui .module-links>a[data-module=radio].active>span[aria-hidden]{color:#ff535c}
html.pc-ui body[data-base]:has(.pc-library-tool) .library-manager-tabs{display:none}
html.pc-ui #new-chat-button{background:var(--pc-accent);color:#082208;border:1px solid var(--pc-accent);box-shadow:none}
html.pc-ui body[data-base] .cda-download-form p{font-size:13px;line-height:1.6;color:var(--pc-muted)}
html.pc-ui .kino-volume-control{display:grid;grid-template-columns:auto minmax(80px,1fr) 42px;gap:12px;align-items:center}
html.pc-ui .kino-volume-control input[type=range]{width:100%;min-width:0;margin:0;accent-color:var(--pc-accent)}
html.pc-ui .kino-volume-control label,html.pc-ui .kino-volume-control output{white-space:nowrap}
html.pc-ui .kino-seek-label{display:flex;align-items:center;gap:10px;flex:1 1 200px;min-width:0;white-space:nowrap}
html.pc-ui .kino-seek-label input{flex:1;min-width:0;margin:0;accent-color:var(--pc-accent)}
/* Compact tools use the same readable control sizes as the collection toolbar. */
html.pc-ui .settings-card{background:var(--pc-panel);padding:20px;border:1px solid var(--pc-line);border-radius:13px;box-shadow:none}
html.pc-ui .settings-card :where(button.ctrl-btn,input:not([type=checkbox]):not([type=radio]),select){min-height:36px;border-radius:8px;border:1px solid var(--pc-line);padding:8px 11px;font-size:12px}
html.pc-ui .settings-card button.ctrl-btn{background:var(--pc-raised);color:var(--pc-ink)}
html.pc-ui .settings-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html.pc-ui .settings-card-header h3{font-size:17px;margin:0 0 8px}
html.pc-ui .settings-card-header p{font-size:13px;line-height:1.6;color:var(--pc-muted)}
html.pc-ui .library-total{color:var(--pc-accent)}
html.pc-ui .mini-volume output{min-width:35px;text-align:right;font-variant-numeric:tabular-nums}
html.pc-ui .mini-volume-toggle svg{width:18px;height:18px;vertical-align:middle}
@media(max-width:760px){
 html.pc-ui #mini-history{display:none}
 html.pc-ui .settings-card{padding:16px}
}

html.pc-ui .card .title-link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.5;max-height:4.5em;width:100%}
html.pc-ui .card .title{min-height:0;height:auto}
html.pc-ui .pc-card-tools{position:absolute;top:6px;left:6px;right:6px;z-index:7}
html.pc-ui .pc-card-tools>summary{display:grid;place-items:center;margin-left:auto;width:28px;height:28px;padding:0;border:1px solid #d1e1f53d;background:#0d1117db;color:#fff;border-radius:7px;cursor:pointer;list-style:none;font-size:20px;line-height:1}
html.pc-ui .pc-card-tools>summary::-webkit-details-marker{display:none}
html.pc-ui .pc-card-tools .card-actions{top:36px;left:0;right:0;max-width:100%;padding:7px;gap:5px;justify-content:flex-start;opacity:1;background:var(--pc-panel);border:1px solid var(--pc-line);border-radius:9px;box-shadow:0 5px 15px #0006;transition:none}
html.pc-ui .card:has(.pc-card-tools[open]){position:relative;z-index:8;overflow:visible}
html.pc-ui .thumbnail-container:has(.pc-card-tools){overflow:visible}
html.pc-ui .card .thumbnail-button{border-radius:12px 12px 0 0;overflow:hidden}
html.pc-ui body:has(.console) .station-row.active{border-color:#ff535c55}
html.pc-ui body:has(.console) .save-music{border-color:#ff535c55}
html.pc-ui .library-storage-path{display:none}

html.pc-ui.pc-embedded body:has(#workspace) .sidebar .sidebar-bottom{display:inline-flex;vertical-align:middle;align-items:center;width:auto;margin:6px 0 0 14px;padding:0;border:0;background:transparent}
html.pc-ui.pc-embedded body:has(#workspace) .sidebar-bottom>:not(button){display:none}
html.pc-ui.pc-embedded body:has(#workspace) .sidebar-bottom button{width:28px;height:28px;padding:4px;font-size:14px}

/* Account membership remains visible when the compact menu is closed. */
html.pc-ui .card-actions .collection-active{background:#32cd3233!important;border-color:#32cd32b3!important;color:#aff3af!important;box-shadow:inset 0 0 0 1px #32cd3229!important}
html.pc-ui .card-actions .collection-active:hover{background:#32cd3255!important}
html.pc-ui .card-actions .collection-active[data-membership-kind="queue"]{background:#f59e0b33!important;border-color:#f59e0bb3!important;color:#ffe1a3!important}
html.pc-ui .card-actions .collection-active[data-membership-kind="music"]{background:#a855f733!important;border-color:#c084fcb3!important;color:#e9d5ff!important}
html.pc-ui .card-actions .collection-active[data-membership-kind="favorite"]{background:#eab30833!important;border-color:#facc15b3!important;color:#fef08a!important}
html.pc-ui .card-actions .active-rating{background:#eab30833!important;border-color:#facc15b3!important;color:#fef08a!important}
.card-memberships{position:absolute;left:7px;top:6px;bottom:auto;z-index:6;display:flex;gap:5px;max-width:calc(100% - 48px);pointer-events:none}
.card-membership-icon{flex:none;width:30px;height:30px;padding:0;display:grid;place-items:center;font-size:16px;line-height:1;border:1px solid #ffffff50;border-radius:8px;background:#0d1117;color:#fff;opacity:.7;cursor:pointer;pointer-events:auto;transition:opacity .15s,background .15s}
.card-membership-icon:hover,.card-membership-icon:focus-visible{opacity:1;background:#1c2430;outline:2px solid #32cd32;outline-offset:2px}
.card-membership-icon:disabled{cursor:default}
@media(max-width:767px){.card-memberships{gap:4px;left:6px;top:6px;bottom:auto}.card-membership-icon{width:28px;height:28px;font-size:15px}}
@media(max-width:360px){.card-memberships{gap:3px}.card-membership-icon{width:24px;height:26px;font-size:14px}}
html.pc-ui .card-actions .active-watched{background:#32cd3233!important;border-color:#32cd32b3!important;color:#aff3af!important}

/* Keep watched status below the membership row. */
.thumbnail-container:has(>.card-memberships)>.watched-badge{top:43px}

/* The transparent menu wrapper must not block thumbnail buttons. */
html.pc-ui .pc-card-tools{pointer-events:none}
html.pc-ui .pc-card-tools>summary,html.pc-ui .pc-card-tools .card-actions{pointer-events:auto}
