.library-bar{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 22px;margin:0 0 22px}.library-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.library-heading .eyebrow{margin:0}.library-heading>span:last-child{font-size:11px;color:var(--muted)}.library-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.library-actions>select{flex:1;min-width:150px}.library-actions select,.queue-toolbar :is(input,select),.import-controls select,.rondli-dialog input{border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);padding:10px 12px;font:inherit;min-height:42px}.library-actions .button{min-height:42px}.library-menu{position:relative;margin-left:auto}.library-menu summary{padding:10px;color:var(--muted);cursor:pointer;font-size:12px}.library-menu>div{position:absolute;right:0;top:42px;z-index:9;width:185px;padding:7px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px #0002}.library-menu button{display:block;width:100%;border:0;background:none;color:var(--text);text-align:left;font:inherit;font-size:12px;padding:12px;border-radius:6px}.library-menu button:hover{background:var(--soft)}.library-feedback{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.library-feedback:has(#library-status:empty){margin:0}.library-feedback #library-status:not(:empty){margin-top:10px}.queue-toolbar{padding:0 21px 15px}.queue-toolbar input{width:100%;font-size:12px}.queue-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.queue-filters select{min-width:0;font-size:11px;padding:8px}.queue-toolbar>span{display:block;font-size:10px;color:var(--muted);margin-top:8px}.queue-item{flex-wrap:wrap;gap:6px}.queue-select{flex:1;min-width:0}.queue-item-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.queue-move{width:30px;height:34px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);font-size:15px}.queue-move:disabled{opacity:.3}.format-choice{max-width:86px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);padding:5px;font-size:10px;min-height:34px}.show-more{display:block;margin:12px auto}.channel-settings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 17px}.channel-settings>summary{padding:13px 21px;font-size:12px;color:var(--muted)}.channel-settings .scan-settings{margin-top:7px}.import-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.import-controls label{font-size:10px;color:var(--muted)}.import-controls select{font-size:11px;padding:6px 8px;min-height:34px;max-width:190px}.import-controls p{flex-basis:100%;margin:0;font-size:10px;color:var(--muted);line-height:1.6}.rondli-dialog{width:min(480px,calc(100vw - 32px));border:1px solid var(--line);border-radius:18px;padding:24px;background:var(--surface);color:var(--text);box-shadow:0 20px 80px #0003;max-height:90vh;overflow:auto}.rondli-dialog::backdrop{background:#15161dbb}.rondli-dialog p{font-size:13px;line-height:1.7;color:var(--muted)}.rondli-dialog input{display:block;width:100%;margin:8px 0 15px}.rondli-dialog label{font-size:12px}.rondli-dialog .share-heading h2{font-size:20px}.rondli-dialog canvas{display:block;max-width:220px;width:100%;height:auto;margin:18px auto 8px;border:10px solid #fff;border-radius:8px}.shared-social{display:flex;gap:18px;justify-content:center;margin-top:15px}.shared-social a{color:var(--primary);font-weight:600;text-decoration:none}.rondli-dialog #qr-download{display:block;margin:auto}.local-share-note{background:var(--soft);padding:12px;border-radius:8px}.local-share-note[hidden]{display:none}.channel-resume{margin-top:10px}.intro{padding-top:28px;padding-bottom:26px}.intro h1{font-size:clamp(30px,3.2vw,43px);line-height:1.15}.intro-copy p{max-width:620px}.session-stats{opacity:.8}.test-tools{margin-top:12px}.workspace{grid-template-columns:minmax(0,1.35fr) minmax(370px,1fr);align-items:start}.queue-card{min-width:0}.queue-list{max-height:560px}.player-card{position:relative}.channel-info{padding:0;background:transparent!important;margin-top:8px}.channel-info p{display:none}.editorial{margin:32px 0;border-top:1px solid var(--line);padding-top:28px}.editorial h2{font-size:24px;margin-bottom:9px}.editorial-lead{font-size:14px;line-height:1.8;color:var(--muted);max-width:760px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0 24px}.guide-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:19px}.guide-card h3{font-size:16px;margin:7px 0 10px}.guide-card p,.guide-card li{color:var(--muted);font-size:12px;line-height:1.8}.guide-card .eyebrow{color:var(--primary);font-size:9px}.guide-card ul{padding-left:16px}.editorial details{border-bottom:1px solid var(--line)}.editorial summary{padding:15px 0;color:var(--text);font-size:13px}.editorial details p{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 18px}.language-links{display:flex;flex-wrap:wrap;gap:14px;padding:18px 0}.language-links a{font-size:12px;color:var(--primary)}.editorial-note{color:var(--muted);font-size:12px;line-height:1.8}.guide-card a{color:var(--primary)}
@media(min-width:1000px){.watch-column{position:sticky;top:18px}}
@media(max-width:950px){.workspace{grid-template-columns:1fr}.watch-column{position:static}.queue-card{width:100%}.guide-grid{grid-template-columns:1fr}.guide-card{padding:18px}.queue-item-actions{margin-left:40px}.queue-select{flex-basis:65%}}
@media(max-width:560px){.library-bar{padding:16px}.library-actions{display:grid;grid-template-columns:1fr 1fr}.library-actions>select{grid-column:1/-1;width:100%}.library-menu{grid-column:1/-1;margin-left:0}.library-menu summary{padding-left:0}.library-menu>div{left:0;right:auto}.library-actions .button{font-size:11px;padding:10px 8px}.intro-copy{max-width:100%}.intro .session-stats{display:none}.intro{padding:22px 0}.how-it-works{margin-bottom:18px}.queue-toolbar{padding-left:17px;padding-right:17px}.queue-item-actions{margin-left:42px}.queue-move{width:38px;height:38px}.format-choice{min-height:38px}.queue-filters{grid-template-columns:1fr}.rondli-dialog{padding:18px}.library-heading>span:last-child{font-size:10px}}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--primary);outline-offset:3px}

.default-channel{padding:0 21px 10px;margin:0}.editorial-intro,.featured-channel p{max-width:900px;color:var(--muted);font-size:14px;line-height:1.85}.featured-channel{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-bottom:28px}.editorial a,.privacy-page a{color:var(--primary)}.privacy-page{max-width:840px;padding-top:40px;padding-bottom:40px}.privacy-page h1{font-size:32px;margin:30px 0 10px}.privacy-page p{font-size:15px;line-height:1.9;color:var(--muted)}

.advertisement{margin:32px 0;padding:20px 0;border-top:1px solid var(--line);min-height:150px}.advertisement>p{font-size:11px;color:var(--muted);text-align:center}
/* Compact mobile controls: each icon group sizes to its actual buttons. */
.theme-buttons{width:max-content;flex:0 0 auto;justify-self:end}
@media(max-width:480px){
 .header-actions{grid-template-columns:minmax(0,1fr) 44px max-content;gap:8px}
 .header-actions .language-trigger{min-height:44px}
 .header-actions #install{width:44px;height:44px;min-height:44px;padding:10px;justify-content:center}
 .header-actions #install>span{display:none}
 .header-actions #install svg{width:21px;height:21px}
 .theme-buttons{padding:3px;gap:2px}
 .theme-buttons button{width:38px;height:38px;flex:0 0 38px}
 .header-actions #share-site{width:40px;height:40px}
}
/* Sharing: one clear link action and a consistent row of recognizable services. */
#share-dialog{width:min(510px,calc(100vw - 40px));padding:26px;border-radius:22px;border:1px solid var(--line);background:var(--surface);color:var(--text);box-shadow:0 24px 100px #12101f33}
#share-dialog::backdrop{background:#13112080;backdrop-filter:blur(5px)}
#share-dialog .share-heading{align-items:center;margin-bottom:20px;gap:14px}
#share-dialog .share-heading h2{font-size:22px;letter-spacing:-.7px;margin:4px 0 0;line-height:1.3}
.share-eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:750;color:var(--primary)}
#share-dialog #share-close{width:36px;height:36px;min-width:36px;padding:0;border:0;background:var(--bg);border-radius:50%;font-size:23px;font-weight:400;color:var(--muted)}
#share-dialog .share-copy-row{display:flex;align-items:center;gap:5px;margin:0 0 24px;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
#share-dialog .share-copy-row input{background:transparent;border:0;color:var(--text);padding:10px;font-size:13px;min-width:0;box-shadow:none}
#share-dialog #share-copy{display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:42px;padding:10px 13px;background:var(--primary);color:#fff;border:0;border-radius:8px;font-size:12px;font-weight:650;width:auto;grid-column:auto}
#share-dialog #share-copy svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.7}
html[data-theme=dark] #share-dialog #share-copy{color:var(--bg)}
#share-dialog .social-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0}
#share-dialog .social-links>:is(a,button){display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;width:auto;min-width:0;min-height:80px;margin:0;padding:0 0 5px;border:0;border-radius:10px;background:transparent;color:var(--text);font:inherit;font-size:10px;font-weight:550;line-height:1.3;text-decoration:none;transition:transform .15s}
#share-dialog .social-links>:is(a,button):hover{transform:translateY(-2px)}
#share-dialog .social-links svg{width:48px;height:48px;padding:13px;border-radius:50%;fill:none;stroke:currentColor;stroke-width:1.7;flex:0 0 48px;background:var(--bg)}
#share-dialog #share-whatsapp svg{color:#188755;background:#e9f5ee}#share-dialog #share-facebook svg{color:#1764d3;background:#eaf0fb;fill:currentColor;stroke:none}#share-dialog #share-telegram svg{color:#2086b8;background:#eaf5fb}
#share-dialog #share-instagram svg{color:#b63f87;background:#f9edf5}#share-dialog #share-x svg{color:var(--text);background:var(--bg)}#share-dialog #share-email svg{color:var(--primary);background:var(--soft)}
#share-dialog .share-hint{font-size:11px;line-height:1.6;color:var(--muted);margin:18px 0 0;max-width:370px}
#share-dialog #share-native{width:100%;min-height:44px;margin-top:20px;border-radius:10px;background:var(--soft);border:1px solid var(--line);color:var(--primary);font-size:12px}
#share-dialog #share-status{padding:10px 12px;background:var(--soft);border-radius:10px;font-size:12px;color:var(--primary);line-height:1.6}
html[data-theme=dark] #share-dialog #share-whatsapp svg{background:#20382d;color:#94d9b5}html[data-theme=dark] #share-dialog #share-facebook svg{background:#26314a;color:#aac9ff}html[data-theme=dark] #share-dialog #share-telegram svg{background:#213642;color:#9ad6f5}html[data-theme=dark] #share-dialog #share-instagram svg{background:#3b283a;color:#eea6d5}
@media(max-width:560px){
 #share-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:100%;max-height:calc(100dvh - 24px);margin:0;border-radius:24px 24px 0 0;padding:25px 24px calc(24px + env(safe-area-inset-bottom));border-bottom:0}
 #share-dialog .social-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 12px}
 #share-dialog .social-links>:is(a,button){font-size:12px;min-height:80px}
 #share-dialog .social-links svg{width:51px;height:51px;flex-basis:51px;padding:14px}
 #share-dialog .share-copy-row{margin-bottom:24px}
 #share-dialog #share-copy{padding:10px;max-width:130px}
 #share-dialog .share-hint{margin-top:16px}
}
@media(prefers-reduced-motion:reduce){#share-dialog .social-links>:is(a,button){transition:none}}
.faq summary,.library-menu summary,.channel-settings>summary{justify-content:flex-start;text-align:left}
.faq summary::before{flex:0 0 14px}
.default-channel{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.channel-play-all{margin:10px 0;min-height:44px}
