@font-face{font-family:system;src:local('Arial')}*{box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{margin:0;background:#f7f8fb;color:#192338;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.55}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #7365ef;outline-offset:4px}button{border:0}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}header{height:90px;border-bottom:1px solid #e2e5ed;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px);gap:24px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:43px;height:43px;border-radius:13px;background:#5546e8;display:grid;place-items:center;color:#fff}.brand strong{font-size:19px;letter-spacing:-.6px}.brand small{display:block;color:#6d7485;font-size:12px;letter-spacing:1px;text-transform:uppercase}.header-link{font-size:14px;color:#626b7b;display:flex;gap:7px;align-items:center}.container{max-width:1240px;margin:auto;padding:42px 32px 160px}.eyebrow{text-transform:uppercase;font-size:12px;font-weight:750;letter-spacing:1.8px;color:#5546e8;margin:0 0 14px}.intro{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:14px 0 38px}.intro h1{font-size:clamp(32px,4.1vw,54px);letter-spacing:-2px;line-height:1.08;max-width:700px;margin:0 0 18px;font-weight:750}.intro p.lead{color:#697285;max-width:600px;margin:0;font-size:17px}.stat{border-left:1px solid #d9deeb;padding:0 0 0 32px;min-width:180px}.stat strong{display:block;font-size:43px;line-height:1.1;font-weight:650;letter-spacing:-2px}.stat span{font-size:14px;color:#687286}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:34px 0 18px}.section-head h2{font-size:20px;letter-spacing:-.5px;margin:0}.muted{color:#737d8e}.small{font-size:14px}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.theme-card{display:flex;flex-direction:column;min-height:181px;background:var(--tint);border:1px solid transparent;border-radius:18px;padding:22px 24px;transition:transform .16s,border-color .16s}.theme-card:hover{transform:translateY(-3px);border-color:var(--accent)}.theme-top{display:flex;justify-content:space-between;align-items:center;color:var(--accent);font-size:12px;letter-spacing:1px;font-weight:700}.theme-icon{width:35px;height:35px;background:#ffffffa8;display:grid;place-items:center;border-radius:10px}.theme-card h3{font-size:20px;margin:17px 0 2px;letter-spacing:-.5px}.theme-bottom{display:flex;align-items:center;justify-content:space-between;color:#616c7e;font-size:14px}.theme-bottom svg{color:var(--accent)}.tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}.search{position:relative;flex:1;min-width:200px}.search svg{position:absolute;top:14px;left:15px;color:#8b93a2}.search input{padding-left:47px!important;width:100%}.input,input[type=text],input[type=password],input[type=email],input[type=number],input[type=url],textarea,select{background:#fff;border:1px solid #dce1e9;border-radius:10px;padding:11px 13px;min-height:46px;color:#192338}textarea{width:100%;min-height:120px;resize:vertical}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;padding:11px 17px;font-weight:600;font-size:14px;border:1px solid #dce1e9;background:white;color:#28334a;min-height:44px}.btn.primary{background:#5546e8;border-color:#5546e8;color:white}.btn:hover{filter:brightness(.96)}.btn.text{background:transparent;border-color:transparent;padding:7px 10px}.btn.danger{color:#a32a37}.list{background:#fff;border:1px solid #e4e7ee;border-radius:16px;overflow:hidden}.episode-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:20px 24px;border-bottom:1px solid #edf0f4}.episode-row:last-child{border-bottom:0}.play-round{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#f0eefc;color:#5546e8;flex-shrink:0}.play-round:hover{background:#ded9ff}.episode-row.active{background:#faf9ff}.episode-row h3{font-size:16px;margin:0 0 4px;font-weight:650}.episode-row h3 a:hover{color:#5546e8}.meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 13px;color:#737d8d;font-size:13px}.pill{font-size:12px;padding:3px 8px;border-radius:5px;color:var(--accent,#5546e8);background:var(--tint,#f0eefc);white-space:nowrap}.time{font-size:14px;color:#6b7585;font-variant-numeric:tabular-nums;white-space:nowrap}.empty{padding:40px;text-align:center;color:#677286}.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;color:#777f91;margin:0 0 28px}.breadcrumb a:hover{color:#5546e8}.category-head{background:var(--tint);border-radius:20px;padding:30px;display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}.category-head h1{font-size:36px;line-height:1.15;letter-spacing:-1.3px;margin:10px 0}.category-head p{max-width:650px;color:#687386;margin:10px 0}.detail{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:48px;padding:30px 0}.detail h1{font-size:clamp(30px,4vw,48px);letter-spacing:-1.8px;line-height:1.12;margin:16px 0 20px}.detail .people{font-size:20px;color:#5c667b;margin:0 0 20px}.detail .description{font-size:17px;line-height:1.8;color:#566176;margin:24px 0}.cover{width:100%;border-radius:18px;aspect-ratio:1;object-fit:cover;background:#eeebff}.audio-art{border-radius:20px;aspect-ratio:1;background:var(--tint);color:var(--accent);display:flex;flex-direction:column;justify-content:space-between;padding:30px}.audio-art strong{font-size:33px;letter-spacing:-1px;line-height:1.15}.audio-art svg{width:55px;height:55px;stroke-width:1.3}.detail-actions{display:flex;gap:10px;flex-wrap:wrap}.info-box{border-top:1px solid #e0e4ed;margin-top:28px;padding-top:20px}.info-box summary{cursor:pointer;font-weight:600;font-size:14px}.card-sources{display:grid;gap:14px;margin-top:18px}.source{background:white;border:1px solid #e2e5ed;border-radius:12px;padding:18px;font-size:14px}.source p{margin:7px 0}.source a{text-decoration:underline;color:#5546e8}.source img{max-height:150px;max-width:100%;margin-top:12px}.page-footer{display:flex;justify-content:space-between;gap:20px;color:#7a8392;font-size:13px;margin-top:44px;border-top:1px solid #dfe3eb;padding-top:24px}.player{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#182239;color:#fff;border-top:1px solid #313b50;padding:15px max(4vw,20px) 13px;box-shadow:0 -5px 25px #15213d12}.player-main{display:grid;grid-template-columns:minmax(170px,1fr) minmax(310px,1.25fr) minmax(160px,.8fr);align-items:center;gap:30px;max-width:1400px;margin:auto}.now{display:flex;gap:12px;align-items:center;min-width:0}.now-art{height:46px;width:46px;background:#7062ee;border-radius:10px;display:grid;place-items:center;flex-shrink:0}.now-text{min-width:0}.now-title{display:block;font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.now-sub{font-size:12px;color:#aab4c8;display:block}.transport{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:8px}.icon-btn{display:inline-flex;justify-content:center;align-items:center;background:transparent;color:inherit;padding:7px;border-radius:7px;min-width:36px;min-height:36px}.icon-btn:hover{background:#ffffff17}.main-play{width:38px;height:38px;border-radius:50%;background:#fff;color:#182239}.seek-row{display:flex;align-items:center;gap:10px;font-size:12px;color:#b7c1d3;font-variant-numeric:tabular-nums}.seek-row input{flex:1;min-width:30px}.player input[type=range]{accent-color:#aba2ff;height:16px;cursor:pointer}.player-options{display:flex;justify-content:flex-end;align-items:center;gap:7px}.player select{background:#28334b;color:white;border-color:#46506a;padding:4px;font-size:13px;min-height:34px}.volume{width:75px}.continuous{font-size:12px;display:flex;align-items:center;gap:5px;color:#c4cadd;margin:8px 0 0;justify-content:flex-end}.continuous input{accent-color:#a093ff}.player-status{font-size:12px;color:#ffc5b7;text-align:center}.queue{position:fixed;bottom:127px;right:24px;width:min(430px,calc(100vw - 32px));max-height:60vh;overflow:auto;background:white;color:#192338;border:1px solid #dce1ea;box-shadow:0 12px 50px #18223930;border-radius:16px;padding:20px;z-index:30}.queue h2{font-size:18px;margin:0}.queue button.item{display:flex;gap:12px;width:100%;text-align:left;background:white;padding:14px 5px;border-bottom:1px solid #eef0f4}.queue .selected{color:#5546e8}.toast{position:fixed;bottom:145px;left:50%;transform:translateX(-50%);background:#192338;color:white;border-radius:12px;padding:13px 22px;z-index:100;box-shadow:0 4px 20px #0002;max-width:90vw}.hidden,[hidden]{display:none!important}.skip{position:absolute;top:-100px}.skip:focus{top:10px;left:10px;background:white;padding:12px;z-index:200}dialog{border:1px solid #e0e4ed;border-radius:20px;padding:28px;max-width:min(520px,92vw);color:#192338}dialog::backdrop{background:#121a3690}dialog img.qr{display:block;width:240px;max-width:100%;margin:20px auto}dialog h2{margin:0 0 15px;font-size:22px}dialog input{width:100%;font-size:13px}.login{max-width:470px;margin:35px auto;background:white;border:1px solid #e0e4ed;border-radius:20px;padding:32px}.login h1{font-size:28px;letter-spacing:-1px;line-height:1.2}.field{display:block;margin:18px 0}.field>span,.label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.field input:not([type=checkbox]),.field select{width:100%}.help{font-size:13px;color:#6e798a;margin:5px 0}.error{color:#a72f3f;font-size:14px}.admin-top{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:24px}.admin-top h1{font-size:30px;margin:0}.editor{max-width:840px;margin:auto}.form-card{background:white;border:1px solid #e0e4ed;border-radius:16px;padding:24px;margin-bottom:18px}.form-card h2{font-size:18px;margin:0 0 16px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.checks{display:flex;flex-wrap:wrap;gap:14px 22px}.checks label{font-size:14px;display:flex;align-items:center;gap:7px}.checks input{accent-color:#5546e8;width:17px;height:17px}.upload{border:1px dashed #b8b1ed;background:#faf9ff;border-radius:12px;padding:20px;display:block}.upload input{max-width:100%;font-size:14px}.savebar{display:flex;align-items:center;gap:16px;justify-content:space-between;background:white;padding:18px 24px;border:1px solid #e0e4ed;border-radius:14px;position:sticky;bottom:135px}.admin-row{grid-template-columns:minmax(0,1fr) auto auto}.badge-draft{background:#fff1d8;color:#855300}.badge-live{background:#e9f5ef;color:#28604b}.progress{width:100%;accent-color:#5546e8}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:950px){.theme-grid{grid-template-columns:repeat(2,1fr)}.stat{display:none}.player-main{grid-template-columns:1fr 1.4fr;gap:18px}.player-options-wrap{display:none}.detail{grid-template-columns:minmax(0,1fr) 220px;gap:25px}.container{padding-bottom:160px}.mobile-options{display:block!important}.player-options-wrap.expanded{display:block;grid-column:1/-1}.player-options-wrap.expanded .player-options,.player-options-wrap.expanded .continuous{justify-content:center}.queue{bottom:150px}}@media(min-width:951px){.mobile-options{display:none}}@media(max-width:620px){header{height:76px;padding:0 20px}.brand strong{font-size:16px}.brand small{font-size:10px}.header-link span{display:none}.container{padding:25px 20px 190px}.intro{margin:12px 0 28px}.intro h1{font-size:37px;letter-spacing:-1.5px}.intro p.lead{font-size:16px}.theme-grid{gap:10px}.theme-card{min-height:170px;padding:16px}.theme-card h3{font-size:18px;line-height:1.2;margin:16px 0 12px}.theme-bottom{font-size:12px}.theme-icon{width:29px;height:29px}.episode-row{gap:10px;padding:16px 13px;grid-template-columns:40px minmax(0,1fr) auto}.episode-row>.row-arrow{display:none}.episode-row .play-round{width:36px;height:36px}.episode-row h3{font-size:15px}.episode-row .meta{font-size:12px}.time{font-size:12px}.section-head{flex-wrap:wrap}.tools select{width:100%}.player{padding:10px 15px max(12px,env(safe-area-inset-bottom))}.player-main{grid-template-columns:1fr;gap:6px}.now-art{height:30px;width:30px;border-radius:8px}.now-art svg{width:17px;height:17px}.now-sub{display:none}.now{padding-right:35px}.mobile-options{position:absolute;right:12px;top:10px}.transport{gap:20px;margin:0 0 2px}.transport .icon-btn{min-height:30px;padding:3px}.main-play{width:32px;height:32px}.detail{display:flex;flex-direction:column-reverse;gap:18px;padding-top:0}.detail aside{display:none}.detail h1{font-size:34px}.category-head{display:block;padding:23px}.category-head h1{font-size:31px}.category-head .btn{margin-top:15px}.field-grid{grid-template-columns:1fr}.admin-top{flex-wrap:wrap}.form-card{padding:18px}.savebar{padding:14px;bottom:160px;flex-wrap:wrap}.admin-row{grid-template-columns:minmax(0,1fr) auto}.admin-row>.pill{display:none}.page-footer{flex-wrap:wrap}.queue{bottom:160px}.toast{bottom:175px}.login{padding:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Stable slider colors on the dark player, including hover. */
.player .main-play:hover{background:#c4bcff;color:#182239}
.player input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;border:0;padding:0;box-shadow:none}
.player input[type=range]:hover{background:transparent;box-shadow:none}
.player input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,#aba2ff var(--range-progress,0%),#46516a var(--range-progress,0%))}
.player input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;border:0;border-radius:50%;background:#aba2ff;margin-top:-4px;box-shadow:none}
.player input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:#46516a}
.player input[type=range]::-moz-range-progress{height:4px;border-radius:4px;background:#aba2ff}
.player input[type=range]::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#aba2ff;box-shadow:none}
.player #volume{--range-progress:100%}

.skip-icon{width:27px;height:27px;overflow:visible}.skip-icon path{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.skip-icon text{fill:currentColor;stroke:none;font-size:10px;font-weight:650;text-anchor:middle;font-family:inherit}

.brand>span:last-child{min-width:0}.brand small{line-height:1.4}.brand-mark{flex-shrink:0}@media(max-width:620px){.brand small{max-width:235px;font-size:9px;letter-spacing:.65px}.brand{gap:10px}header{gap:12px}}

/* Keep form actions in normal flow and player errors outside its geometry. */
.savebar{position:static;bottom:auto}.player-status{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);width:max-content;max-width:90vw;background:#182239;border-radius:8px;padding:6px 12px}.player-status:empty{display:none}

/* Fixed round controls and comfortable mobile touch targets. */
.play-round,.main-play{flex-shrink:0;aspect-ratio:1 / 1;border-radius:50%;padding:0}
.transport .icon-btn{flex-shrink:0}
@media(max-width:620px){
 .episode-row .play-round{width:40px;height:40px;min-width:40px;min-height:40px}
 .transport{gap:12px}
 .transport .icon-btn{width:44px;height:44px;min-width:44px;min-height:44px;padding:0}
 .transport .main-play{border-radius:50%}
 .play-round svg,.main-play svg{flex-shrink:0}
}

/* Inset the destination chevron with a predictable native-select layout. */
#destination{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23192338' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}

.account-link{font-size:13px;color:#687286;text-decoration:underline;text-underline-offset:3px;padding:8px 4px}.account-link:hover{color:#5546e8}

.admin-banner{background:#eeebff;border-bottom:1px solid #dcd6fa;color:#403578;padding:10px max(5vw,20px);display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px}.admin-banner>div{display:flex;gap:18px;flex-wrap:wrap}.admin-banner a{font-weight:600;text-decoration:underline;text-underline-offset:3px}.admin-banner a:hover{color:#5546e8}@media(max-width:620px){.admin-banner{align-items:flex-start;flex-direction:column}.admin-banner>div{gap:12px}}

/* A floating mobile player with room for an accurate touch gesture. */
@media(max-width:620px){
 .player{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));border:1px solid #35415b;border-radius:18px;padding:14px 14px 10px;box-shadow:0 6px 28px #111b3940}
 .player-main{gap:10px}
 .seek-row{margin-top:10px;gap:12px}
 .player #seek{height:44px;touch-action:none;margin:0}
 .player #seek::-webkit-slider-runnable-track{height:6px}
 .player #seek::-webkit-slider-thumb{width:14px;height:14px;margin-top:-4px}
 .player #seek::-moz-range-track,.player #seek::-moz-range-progress{height:6px}
 .player #seek::-moz-range-thumb{width:14px;height:14px}
 .container{padding-bottom:250px}
 .queue{bottom:230px}.toast{bottom:240px}
}

.audio-preview{display:flex;gap:14px;align-items:center;background:#f4f2ff;border:1px solid #e2ddfa;border-radius:14px;padding:16px;margin:16px 0}.audio-preview>div{min-width:0}.audio-preview strong{display:block;font-size:15px;overflow-wrap:anywhere}.audio-preview span{display:block;margin-top:4px}.audio-preview .play-round{width:44px;height:44px;min-width:44px;min-height:44px;background:#5546e8;color:white}.audio-preview .play-round:hover{background:#4435cf}
.admin-banner{position:sticky;top:0;z-index:40;box-shadow:0 3px 12px #1923380c}.admin-shortcuts{align-items:center}.admin-label{white-space:nowrap}.admin-menu{position:relative}.admin-menu summary{cursor:pointer;font-weight:600;padding:6px}.admin-menu>div{position:absolute;right:0;top:100%;width:240px;background:white;color:#28334a;border:1px solid #ddd7f2;border-radius:12px;box-shadow:0 8px 24px #19233820;padding:8px;display:grid;gap:3px}.admin-menu a,.admin-menu button{display:block;text-align:left;font:inherit;color:inherit;background:transparent;text-decoration:none;padding:10px;border-radius:6px}.admin-menu a:hover,.admin-menu button:hover{background:#eeebff}
@media(max-width:620px){.admin-banner{padding:8px 16px;gap:3px}.admin-label{font-size:11px}.admin-banner>.admin-shortcuts{gap:4px 12px;width:100%}.admin-shortcuts>a{font-size:12px;padding:5px 0}.admin-menu{margin-left:auto}.admin-menu summary{font-size:12px}}

/* Player dismissal remains reachable without overlapping the controls. */
.player{padding-right:max(4vw,64px)}
.close-player{position:absolute;right:10px;top:10px;width:44px;height:44px}
@media(max-width:620px){
 .player{padding-right:14px}
 .now{padding-right:94px;min-height:44px}
 .mobile-options{right:58px;top:10px;width:44px;height:44px}
}
/* Avoid iOS input auto-zoom and keep sharing within the visible viewport. */
#share-dialog{width:min(520px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;padding:24px}
#share-dialog p{overflow-wrap:anywhere;margin:8px 0}
#share-dialog input{font-size:16px;min-width:0}
#share-dialog .tools{gap:8px;margin-bottom:0}
#share-dialog img.qr{width:240px;height:auto;max-width:100%;margin:16px auto;object-fit:contain}
@media(max-width:620px){
 #share-dialog{padding:18px}
 #share-dialog h2{font-size:20px;margin-bottom:10px}
 #share-dialog img.qr{width:min(240px,40dvh);margin:12px auto}
 #share-dialog .btn{padding:10px 12px}
}
@media(max-height:450px){
 #share-dialog img.qr{width:120px;margin:8px auto}
}

/* Keep the QR dialog close button free of the violet focus outline. */
#share-dialog #close-share:focus-visible{outline:none}

/* Navigation focuses the main content without drawing a frame around it. */
#view:focus{outline:none}
