/* Titus Retro B3 release candidate: approved local visual recipe. */
:root{--canvas:#f7f2e9;--surface:#fffaf1;--surface-2:#eee5d5;--text:#3b2f20;--muted:#635744;--dim:#6b6051;--ink:#3b2f20;--ink-soft:#635744;--ink-mute:#6b6051;--teal:#4c6656;--teal-lift:#354b3d;--teal-soft:#dce5dc;--hot:#a5533f;--gold:#9a8059;--rule:#d4c8b4;--rule-faint:#e6dece;--grout:transparent;--blad:1120px;--preview-world:url('./worlds/listening.webp')}
body{background:var(--canvas);color:var(--text)}
body.page-home{--preview-world:url('./worlds/peristyle.webp')}
body.page-watch{--preview-world:url('./worlds/odeon.webp')}
body.page-books{--preview-world:url('./worlds/reading.webp')}
body:before{content:'';position:fixed;inset:0;z-index:-1;background-image:linear-gradient(90deg,transparent,var(--canvas) 20%,var(--canvas) 80%,transparent),var(--preview-world);background-size:cover;background-position:center;opacity:.48;pointer-events:none}
.blad{background:var(--canvas);padding-inline:40px;min-height:100svh}
.bar{height:auto;min-height:58px;flex-wrap:wrap;gap:10px 18px;background:var(--surface);backdrop-filter:none;box-shadow:none}
.topnav{flex-wrap:wrap}.bar .hint{display:none}
.mast{isolation:isolate;position:relative;min-height:235px;padding-right:34%;margin-block:16px 26px;background:var(--canvas)}
.mast::before{display:none}
.mast::after{content:'';display:block;position:absolute;z-index:-1;top:0;bottom:0;right:0;width:33%;background-image:linear-gradient(90deg,var(--canvas),transparent 25%),var(--preview-world);background-size:cover;background-position:center;mask-image:linear-gradient(0deg,transparent,#000 20%,#000 85%,transparent)}
.mast .title{font-size:clamp(34px,4.4vw,58px);line-height:1.08;text-wrap:balance;max-width:850px}
.mast .sub{font-size:18px;line-height:1.55;max-width:65ch}
.page-home .mast{min-height:320px}.page-home .bigbtns.media-choices{gap:16px}
.bigbtn,.eracard,.book-card,.item,.starthere{background:var(--surface);box-shadow:none;border-color:var(--rule)}
.bigbtn{border-radius:3px;box-shadow:0 2px 0 #ded2bd;padding:22px}.bigbtn b{font-size:28px}
.book-card,.item{border-radius:2px}.tools{background:var(--surface)}
.picker-mood,.picker-format-group,.picker-wheel-shell{background:var(--surface)}
.picker-wheel-band{background:#e2e8df;border-color:#93a18d}
.kies,.podcast-wall{background:var(--surface);box-shadow:none}
.titus-room{background:var(--canvas);--balk-duur:580ms;--balk-curve:cubic-bezier(.4,0,.2,1)}
.titus-room .room-stage{background-image:linear-gradient(90deg,transparent,var(--canvas) 21%,var(--canvas) 79%,transparent),var(--preview-world);background-size:cover;background-position:center}
.room-header{width:100%;max-width:none;padding-inline:0;background:var(--surface);min-height:56px}
.room-discover-pane{padding-inline:max(24px,calc((100% - 850px)/2))}
.titus-room .podcast-picker-nav{background:var(--surface);backdrop-filter:none;box-shadow:none}
.titus-room .podcast-picker-step,.titus-room .episode-results,.titus-room #all-episodes,.room-about{background:var(--canvas)}
.titus-room .picker-mood{border-radius:3px;min-height:82px}
.titus-room .picker-mood strong{font-size:27px}.titus-room .picker-mood span{font-size:12px;color:var(--muted)}
.titus-room .room-matchbar,.titus-room .room-dock{background:var(--surface);box-shadow:none}
.room-dock{min-height:56px}.room-dock a{font-size:10px}.room-dock button{font-size:10px}
.room-matchbar{border-top:1px solid var(--rule)}
.room-options-panel{background:var(--surface)}
.titus-room .titus-queue{background:transparent;box-shadow:none}
.titus-room .titus-queue ol{padding-bottom:calc(var(--reference-reserved,106px) + 80px)!important}
.titus-room .titus-queue li{border-color:var(--rule-faint)}
.titus-room .room-empty{padding:26px 24px 0;justify-content:flex-start;min-height:0;max-width:600px}
.titus-room .room-empty-art{display:none}.titus-room .room-empty h2{font-size:30px;margin:8px 0 12px}
.titus-room.x-bars .room-empty{padding-top:calc(var(--room-top-h,52px) + 24px)}
/* Exact reference control order. A single stable sheet slides; controls do not pop in. */
.titus-room[data-reference-player] .room-transport{position:absolute;bottom:0;left:50%;right:auto;width:min(530px,100%);padding:0;max-height:none!important;overflow:visible!important;border:1px solid var(--gold);border-bottom:0;border-radius:26px 26px 0 0;background:var(--surface);transform:translate(-50%,calc(100% - var(--reference-compact-h,106px)));transition:transform 580ms cubic-bezier(.4,0,.2,1),opacity 380ms ease;box-shadow:0 -8px 28px #3b2f2014;will-change:transform;z-index:5}
.titus-room[data-reference-player].player-open[data-mode="listen"] .room-transport{transform:translate(-50%,0);opacity:1}
.titus-room[data-reference-player][data-mode="listen"]:not(.player-open)>.room-transport{transform:translate(-50%,calc(100% - var(--reference-compact-h,106px)));opacity:1}
.titus-room[data-reference-player][data-mode="discover"]>.room-transport:not(:has(.is-playing)){transform:translate(-50%,calc(100% + 2px));opacity:0;pointer-events:none}
.titus-room[data-reference-player][data-mode="discover"].has-active-audio .room-transport{transform:translate(-50%,calc(100% - var(--reference-compact-h,106px)));opacity:1;pointer-events:auto}
.titus-room[data-reference-player] .room-player-grabber{min-height:28px;height:28px}
.room-player-grabber strong{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.titus-room[data-reference-player] .titus-player-main{display:grid!important;grid-template-columns:1fr!important;padding:0 24px 10px!important;gap:0!important;position:relative;max-width:none}
.titus-room[data-reference-player] .titus-cover{display:none!important}
.titus-room[data-reference-player] .titus-now{grid-column:1;grid-row:1;min-height:47px;padding:0 95px 3px 0;visibility:visible!important}
.titus-room[data-reference-player] .titus-title{font-size:15px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.titus-room[data-reference-player] .titus-show{font-size:11px}
.titus-room[data-reference-player] .titus-tags,.titus-room[data-reference-player] .titus-guests{display:none}
.titus-room[data-reference-player] .titus-progress{grid-column:1;grid-row:2;display:grid!important;grid-template-columns:1fr 1fr;gap:0;min-height:42px}
.titus-room[data-reference-player] .titus-progress input{grid-column:1/-1;grid-row:1;min-height:24px;width:100%;accent-color:var(--electric,#3657FF)}
.titus-room[data-reference-player] .titus-progress span{grid-row:2;font-size:11px}.titus-duration{text-align:right}
.titus-room[data-reference-player] .titus-controls{grid-column:1!important;grid-row:3!important;display:grid!important;grid-template-columns:44px 1fr 90px 1fr 44px;align-items:center;justify-items:center;gap:5px;height:106px;width:100%}
.titus-room[data-reference-player] .titus-controls button{width:56px;height:56px;padding:0;min-width:44px;min-height:44px}
.titus-room[data-reference-player] .titus-controls .titus-play{width:86px;height:86px;min-width:86px;max-width:86px;background:var(--hot);color:var(--surface);outline:1px solid #b58d5c;outline-offset:3px;border:2px solid #f6e9cc;flex:none}
.titus-play-copy{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.titus-room[data-reference-player] .titus-controls [data-player-control="back"],.titus-room[data-reference-player] .titus-controls [data-player-control="forward"]{width:44px;height:44px;align-self:end;margin-bottom:8px}
.titus-controls [data-player-control="back"] span,.titus-controls [data-player-control="forward"] span{display:grid;font-size:30px;line-height:20px}.titus-controls small{font:13px 'Geist Mono',monospace;line-height:16px}
.titus-room[data-reference-player] .titus-actions{display:flex!important;grid-column:1!important;grid-row:4!important;flex-direction:column!important;gap:0!important;padding:0!important;position:relative}
.reference-secondary{display:grid;grid-template-columns:repeat(3,1fr);width:100%;align-items:center;padding:5px 12px 0}
.reference-speed{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:78px;gap:5px!important;font:14px 'Source Serif 4',serif!important;border:0!important;background:transparent!important;position:relative}.reference-secondary>button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:78px;gap:5px!important;font:14px 'Source Serif 4',serif!important;position:relative}
.reference-speed::after{content:'';position:absolute;right:0;top:18px;height:34px;width:1px;background:var(--rule)}.reference-secondary>button:not(:last-child)::after{content:'';position:absolute;right:0;top:18px;height:34px;width:1px}
.reference-speed{flex-direction:column-reverse!important}
.reference-speed select{text-align:center;width:48px;height:48px;font:18px 'Source Serif 4',serif!important;padding:0!important;margin:0!important}
.reference-secondary svg,.reference-more b{width:48px;height:48px;border:1px solid #b9a582;border-radius:50%;padding:10px;display:grid;place-items:center;fill:none;stroke:currentColor;stroke-width:1.7;line-height:24px;font-size:18px;font-weight:400;box-sizing:border-box}
.reference-cast[hidden]{display:none!important}
.reference-more{grid-column:3}
.reference-volume{display:flex;align-items:center;width:100%;gap:10px;min-height:48px;padding-inline:12px}
.titus-room[data-reference-player] .reference-volume .titus-volume{flex:1;display:flex;min-width:0;width:auto!important;margin:0;gap:8px;font-size:0}
.titus-room[data-reference-player] .reference-volume .titus-volume[hidden]{display:none!important}
.titus-room[data-reference-player] .reference-volume input{width:100%!important;accent-color:var(--hot)}
.reference-volume [data-player-control="mute"]{font-size:11px;min-width:58px;background:transparent;border:1px solid var(--rule);border-radius:4px;padding:6px;color:var(--text)}
.reference-volume [aria-pressed="true"]{background:var(--hot)!important;color:var(--surface)!important}
.reference-volume [data-player-control="mute"] svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.reference-brand{display:grid;text-align:center;gap:1px;padding:0 0 8px}.reference-brand strong{font:500 20px 'Fraunces',serif;letter-spacing:.04em}.reference-brand em{font:italic 13px 'Source Serif 4',serif}
.reference-popover{position:absolute;right:0;bottom:calc(100% - 80px);z-index:12;padding:12px;max-width:250px;background:var(--surface);border:1px solid var(--rule);box-shadow:0 5px 25px #3b2f2022}
.reference-popover button{font:13px 'Geist Mono',monospace}
/* Scroll thresholds come from the original script; only the transition changes. */
.titus-room.x-bars{--balk-duur:580ms;--balk-curve:cubic-bezier(.4,0,.2,1)}
@media(max-width:760px){
 .blad{padding-inline:20px}.bar{padding:8px 16px}.bar .mark{font-size:11px}
 .mast{padding-right:0;margin-top:10px;min-height:0;padding-top:130px!important}
 .mast::after{top:0;bottom:auto;left:0;right:0;width:100%;height:114px;background-image:linear-gradient(0deg,var(--canvas),transparent 40%),var(--preview-world);background-position:center 46%;mask-image:none}
 .page-home .mast{min-height:0}.mast .title{font-size:34px}.mast .sub{font-size:17px}
 .page-home .bigbtns.media-choices{grid-template-columns:1fr}.bigbtn{padding:16px 20px}
 .titus-room .room-stage{background:var(--canvas)}.room-header{padding:0;min-height:56px}
 .room-discover-pane{padding-inline:18px}.titus-room .picker-mood{min-height:70px}
 .titus-room .podcast-picker-nav a{font-size:10px;letter-spacing:.03em}
 .room-dock a{font-size:9px}.room-dock button{font-size:9px}
 .titus-room[data-reference-player] .room-transport{border-radius:22px 22px 0 0}
 .titus-room[data-reference-player] .titus-player-main{padding-inline:18px!important}
 .titus-room[data-reference-player] .titus-controls{grid-template-columns:44px 1fr 76px 1fr 44px;gap:3px;height:96px}
 .titus-room[data-reference-player] .titus-controls .titus-play{width:72px;height:72px;min-width:72px;max-width:72px}
 .titus-room[data-reference-player] .titus-controls button{width:50px;height:50px}
 .reference-brand strong{font-size:18px}.reference-secondary{padding-inline:8px}
}
@media(max-width:350px){.titus-room[data-reference-player] .titus-player-main{padding-inline:10px!important}.reference-secondary{padding-inline:0}}
@media(prefers-reduced-motion:reduce){.titus-room .room-transport,.titus-room .room-header,.titus-room .podcast-picker-nav{transition:none!important}}
:focus-visible{outline:2px solid #3657ff;outline-offset:3px}
/* The existing compact player also travels across the editorial pages. */
.titus-player:not(.titus-room-transport){background:var(--surface);border-color:var(--gold);width:min(1040px,calc(100% - 24px))}
.titus-player:not(.titus-room-transport) .titus-player-main{grid-template-columns:44px minmax(160px,1fr) 252px minmax(160px,1fr);gap:8px 12px}
.titus-player:not(.titus-room-transport) .titus-cover{grid-column:1;grid-row:1;width:44px;height:44px;order:0}
.titus-player:not(.titus-room-transport) .titus-now{grid-column:2;grid-row:1;min-width:0}
.titus-player:not(.titus-room-transport) .titus-controls{grid-column:3;grid-row:1}
.titus-player:not(.titus-room-transport) .titus-progress{grid-column:4;grid-row:1}
.titus-player:not(.titus-room-transport) .titus-controls{display:flex;gap:3px;justify-content:center}
.titus-player:not(.titus-room-transport) .titus-controls button{min-width:44px;min-height:44px;padding:4px}
.titus-player:not(.titus-room-transport) .titus-play{background:var(--hot);color:#fffaf1}
.titus-player:not(.titus-room-transport) .titus-actions{grid-row:2;grid-column:1/-1;justify-content:flex-end;flex-wrap:wrap;white-space:normal;gap:10px}
.titus-player:not(.titus-room-transport) .titus-actions label{display:flex;align-items:center;font-size:11px;gap:6px}
.titus-player:not(.titus-room-transport) .titus-volume input{width:120px;accent-color:var(--hot)}
.titus-player:not(.titus-room-transport) .titus-progress input{accent-color:var(--electric,#3657FF)}
.titus-player:not(.titus-room-transport) [hidden]{display:none!important}
@media(max-width:760px){
 .titus-player:not(.titus-room-transport) .titus-player-main{grid-template-columns:44px minmax(0,1fr);gap:6px 10px}
 .titus-player:not(.titus-room-transport) .titus-now{grid-row:1;grid-column:2}
 .titus-player:not(.titus-room-transport) .titus-controls{grid-row:2;grid-column:1/-1}
 .titus-player:not(.titus-room-transport) .titus-progress{grid-row:3;grid-column:1/-1}
 .titus-player:not(.titus-room-transport) .titus-actions{grid-row:4;justify-content:center;gap:5px}
 .titus-player:not(.titus-room-transport) .titus-actions button{min-height:44px}
}
:root[data-theme="dark"]{--canvas:#252823;--surface:#30332c;--surface-2:#3d4137;--text:#eee5d2;--muted:#c2baa7;--dim:#c6bfad;--ink:#eee5d2;--ink-soft:#c2baa7;--ink-mute:#c6bfad;--teal:#bacbb3;--teal-lift:#d4e2cb;--teal-soft:#42513f;--rule:#656753;--rule-faint:#454b3e}
:root[data-theme="dark"] .picker-wheel-band{background:#42513f;border-color:#85947d}
:root[data-theme="dark"] .titus-room .titus-controls .titus-play{color:#fffaf1}

/* Cool-shadow palette and centered typography. */
html[data-design-revision="2"]{--canvas:#edf0ee;--surface:#f7f7f0;--surface-2:#e1e7e6;--text:#293c43;--ink:#293c43;--muted:#465c65;--dim:#485e66;--rule:#aebbbd;--teal:#50676f;--gold:#95866e}
html[data-design-revision="2"] :is(h1,h2,h3,.mast .title,.picker-mood,.picker-mood strong,.titus-title,.titus-show,.titus-kicker,.room-view-matches){text-align:center}
html[data-design-revision="2"] .mast{padding-inline:0;isolation:isolate}
html[data-design-revision="2"] .mast :is(.title,.sub){margin-inline:auto}
html[data-design-revision="2"] .mast::after{width:100%;left:0;right:0;opacity:.3}
html[data-design-revision="2"] .titus-room .room-stage{background-image:linear-gradient(#edf0ee36,#edf0ee36),var(--preview-world);background-size:cover;background-position:center}
html[data-design-revision="2"] .room-discover-pane{background:linear-gradient(90deg,transparent, #edf0ee55 22%,#edf0ee55 78%,transparent)}
html[data-design-revision="2"] .titus-room :is(.podcast-picker-live,.podcast-picker-step,.kies,.room-about,.room-listen-pane,.titus-queue){background:transparent}
html[data-design-revision="2"] .titus-room :is(.picker-mood,.picker-format-group,.picker-wheel-shell){background:#f7f7f0ad;backdrop-filter:blur(3px)}
html[data-design-revision="2"] .titus-room :is(.episode-results,#all-episodes){background:#f7f7f0e8}
html[data-design-revision="2"] .titus-room .picker-mood{justify-content:center;align-items:center}
html[data-design-revision="2"] .titus-room .picker-mood strong{width:100%}
html[data-design-revision="2"] .titus-room .picker-col-head{width:100%;text-align:center;justify-content:center;position:relative}
html[data-design-revision="2"] .titus-room .picker-col-head::after{position:absolute;right:16px}
html[data-design-revision="2"] .titus-room[data-reference-player] .room-transport{width:min(850px,calc(100% - 48px));background-color:var(--surface);background-image:radial-gradient(ellipse at 0 10%,#7895a522,transparent 60%),radial-gradient(ellipse at 100% 80%,#b5c2b82b,transparent 65%),repeating-linear-gradient(90deg,transparent 0 3px,#546b7510 3px 4px);border-color:#9eaeb1}
html[data-design-revision="2"] .titus-room[data-reference-player] .titus-now{padding-right:0}
html[data-design-revision="2"] .titus-room[data-reference-player] .titus-title{display:block;white-space:normal;overflow:visible;font-size:17px}
html[data-design-revision="2"] .titus-room[data-reference-player] .titus-controls{max-width:650px;justify-self:center;column-gap:clamp(3px,3vw,30px)}

html[data-design-revision="2"] .reference-secondary{max-width:650px;align-self:center}
html[data-design-revision="2"] .reference-volume{max-width:650px;align-self:center}
html[data-design-revision="2"] .titus-room .titus-queue li{background:#f7f7f0e6;margin-bottom:5px}
html[data-design-revision="2"][data-theme="dark"]{--canvas:#202c39;--surface:#283744;--surface-2:#344856;--text:#f1ebdc;--ink:#f1ebdc;--muted:#d0dce0;--dim:#c7d5dc;--rule:#768b99;--teal:#c6d5d1}
html[data-design-revision="2"][data-theme="dark"] body.page-podcasts{--preview-world:url('./worlds/listening-night-v1.webp')}
html[data-design-revision="2"][data-theme="dark"] .titus-room .room-stage{background-image:linear-gradient(#17273720,#17273720),var(--preview-world)}
html[data-design-revision="2"][data-theme="dark"] .room-discover-pane{background:linear-gradient(90deg,transparent,#202c3944 22%,#202c3944 78%,transparent)}
html[data-design-revision="2"][data-theme="dark"] .titus-room :is(.picker-mood,.picker-format-group,.picker-wheel-shell){background:#202f3dcc}
html[data-design-revision="2"][data-theme="dark"] .titus-room :is(.episode-results,#all-episodes,.titus-queue li){background:#283744eb}
@media(max-width:760px){html[data-design-revision="2"] .titus-room[data-reference-player] .room-transport{width:100%}html[data-design-revision="2"] .mast{padding-inline:0}}

/* B3 preview: one horizontal alignment, vertical-only drawer movement.
   Existing state changes, scroll thresholds and event handlers remain authoritative. */
html[data-design-revision="2"][data-polish="3"]{--panel-radius:16px;--room-column:850px;--panel-wash:color-mix(in srgb,var(--surface) 92%,transparent);--panel-edge:color-mix(in srgb,var(--rule) 45%,transparent)}
html[data-polish="3"] .titus-room :is(.kies,.podcast-wall,.picker-format-group,.episode-results,.room-options-panel,.reference-popover){border-radius:var(--panel-radius);background:var(--panel-wash);border:1px solid var(--panel-edge);box-shadow:inset 0 1px 0 #ffffff24,0 6px 22px -18px #20343d55}
html[data-polish="3"] .titus-room .episode-results{padding:20px;overflow:visible}
html[data-polish="3"] .titus-room .episode-results-head{border-top:0;padding-top:0}
html[data-polish="3"] .titus-room .episode-results-list{grid-template-columns:1fr;gap:12px}
html[data-polish="3"] .titus-room .episode-result{display:grid;grid-template-columns:88px minmax(0,1fr);gap:5px 18px;padding:16px;border:1px solid var(--panel-edge);border-radius:var(--panel-radius);background:color-mix(in srgb,var(--surface) 88%,transparent);min-width:0}
html[data-polish="3"] .titus-room .episode-result :is(h3,p,.episode-links){grid-column:2;margin:0;min-width:0;overflow-wrap:anywhere}
html[data-polish="3"] .titus-room .episode-result h3{text-align:center;font-size:21px;line-height:1.25}
html[data-polish="3"] .titus-room .episode-links{display:flex;flex-wrap:wrap;gap:4px 20px}
html[data-polish="3"] .titus-room .episode-art{grid-column:1;grid-row:1/5;align-self:start;position:relative;display:grid;place-items:center;aspect-ratio:1;width:100%;border-radius:10px;overflow:hidden;background:var(--surface-2);border:1px solid var(--panel-edge);color:var(--teal);font:500 23px 'Fraunces',serif}
html[data-polish="3"] .titus-room .episode-art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
html[data-design-revision="2"][data-polish="3"] .titus-room .titus-queue{background:transparent;border-radius:0;box-shadow:none}
html[data-design-revision="2"][data-polish="3"] .titus-room .titus-queue ol{padding-inline:max(0px,calc(18px - var(--queue-gutter,0px)/2),calc((100% - var(--room-column) - var(--queue-gutter,0px))/2));scrollbar-gutter:stable both-edges;background:transparent}
html[data-design-revision="2"][data-polish="3"] .titus-room .titus-queue li{margin:8px 0;padding:14px 16px;border:1px solid var(--panel-edge);border-radius:var(--panel-radius);background:var(--panel-wash);box-shadow:inset 0 1px 0 #ffffff24,0 5px 16px -12px #20343d38;background-clip:padding-box}
html[data-design-revision="2"][data-polish="3"] .titus-room .titus-queue li[aria-current="true"]{margin-inline:0;background:color-mix(in srgb,var(--surface-2) 94%,transparent);border-color:color-mix(in srgb,var(--teal) 50%,transparent);box-shadow:inset 3px 0 0 var(--teal),0 5px 16px -12px #20343d38}
html[data-polish="3"] .titus-room .titus-queue-art{border-radius:8px}
html[data-design-revision="2"][data-polish="3"] .titus-room[data-reference-player]>.room-transport{left:0;right:0;margin-inline:auto;width:min(var(--room-column),calc(100% - 36px));border-radius:var(--panel-radius) var(--panel-radius) 0 0;transform:translateY(calc(100% - var(--reference-compact-h,106px)));box-shadow:0 -10px 28px -17px #20343d55,inset 0 1px 0 #ffffff40;transition:transform 580ms cubic-bezier(.4,0,.2,1),opacity 380ms ease}
html[data-design-revision="2"][data-polish="3"] .titus-room[data-reference-player].player-open[data-mode="listen"]>.room-transport{transform:translateY(0);opacity:1}
html[data-design-revision="2"][data-polish="3"] .titus-room[data-reference-player][data-mode="listen"]:not(.player-open)>.room-transport{transform:translateY(calc(100% - var(--reference-compact-h,106px)));opacity:1}
html[data-design-revision="2"][data-polish="3"] .titus-room[data-reference-player][data-mode="discover"]>.room-transport:not(:has(.is-playing)){transform:translateY(calc(100% + 2px));opacity:0}
html[data-design-revision="2"][data-polish="3"] .titus-room[data-reference-player][data-mode="discover"].has-active-audio>.room-transport{transform:translateY(calc(100% - var(--reference-compact-h,106px)));opacity:1}
@media(max-width:760px){
 html[data-polish="3"] .titus-room .episode-results{padding:12px}
 html[data-polish="3"] .titus-room .episode-result{grid-template-columns:60px minmax(0,1fr);padding:12px;gap:5px 12px}
 html[data-polish="3"] .titus-room .episode-result h3{font-size:18px}
 html[data-design-revision="2"][data-polish="3"] .titus-room .titus-queue li{padding:12px;gap:10px}
 html[data-design-revision="2"][data-polish="3"] .titus-room .titus-queue ol{padding-inline:0}
 html[data-design-revision="2"][data-polish="3"] .titus-room[data-reference-player]>.room-transport{width:calc(100% - var(--queue-gutter,0px))}
}
@media(prefers-reduced-motion:reduce){html[data-design-revision="2"][data-polish="3"] .titus-room[data-reference-player]>.room-transport{transition:none!important}}
@media(max-width:350px){html[data-polish="3"] .titus-room[data-reference-player] .titus-controls{gap:2px}html[data-polish="3"] .titus-room[data-reference-player] .titus-controls button:not(.titus-play){width:44px;height:44px}}

/* Reviewed repair candidate: keep the existing room mechanics and real content. */
html[data-polish="3"]{--panel-wash:color-mix(in srgb,var(--surface) 72%,transparent)}
html[data-polish="3"] .titus-room{overflow:clip}
html[data-polish="3"] .room-header{grid-template-columns:minmax(0,1fr);background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(8px)}
html[data-polish="3"] .room-dock>.themetoggle{width:44px;height:44px;min-width:44px}
html[data-polish="3"] .room-header>.room-options{position:absolute;right:0;top:0;width:0;height:0}
html[data-polish="3"] .room-header>.room-options>summary{display:none}
html[data-polish="3"] .room-options-panel{position:fixed;right:12px;top:var(--room-top-h,56px)}
html[data-polish="3"] .room-header:has(.room-options[open]){z-index:9}
html[data-polish="3"] .titus-room .room-options-panel{background:var(--surface);backdrop-filter:blur(12px)}
html[data-polish="3"] .room-dock{background:color-mix(in srgb,var(--surface) 91%,transparent);backdrop-filter:blur(8px)}
html[data-polish="3"] .room-matchbar{background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(8px)}
html[data-polish="3"] .titus-room .podcast-picker-step{background:transparent}
html[data-polish="3"] .titus-room :is(.picker-mood,.picker-format-group,.picker-wheel-shell,.episode-results,#all-episodes,.kies,.podcast-wall){background:color-mix(in srgb,var(--surface) 76%,transparent);border-radius:var(--panel-radius);border-color:var(--panel-edge)}
html[data-polish="3"] .titus-room .episode-result{background:color-mix(in srgb,var(--surface) 76%,transparent)}
html[data-polish="3"] .titus-room .titus-queue li{background:color-mix(in srgb,var(--surface) 78%,transparent)}
html[data-polish="3"] .titus-room .picker-col-head{justify-content:center;text-align:center}
html[data-polish="3"] .titus-room .picker-col-head::after{right:14px}
html[data-polish="3"] :is(.bigbtn,.eracard,.book-card,.item,.starthere,.kies,.podcast-wall){border-radius:var(--panel-radius);background:color-mix(in srgb,var(--surface) 84%,transparent)}
html[data-polish="3"] .titus-room[data-reference-player]>.room-transport{background:color-mix(in srgb,var(--surface) 96%,transparent);backdrop-filter:blur(8px)}
html[data-polish="3"] .titus-room[data-reference-player] .room-player-grabber{height:18px;min-height:18px}
html[data-polish="3"] .titus-room[data-reference-player] .titus-player-main{padding:0 18px 4px!important}
html[data-polish="3"] .titus-room[data-reference-player] .titus-now{min-height:30px;padding:0 0 2px}
html[data-polish="3"] .titus-room[data-reference-player] .titus-title{font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-polish="3"] .titus-room[data-reference-player] .titus-show{font-size:10px;margin:0}
html[data-polish="3"] .titus-room[data-reference-player] .titus-progress{min-height:27px}
html[data-polish="3"] .titus-room[data-reference-player] .titus-progress input{min-height:18px}
html[data-polish="3"] .titus-room[data-reference-player] .titus-controls{height:67px;grid-template-columns:44px 1fr 66px 1fr 44px;gap:3px}
html[data-polish="3"] .titus-room[data-reference-player] .titus-controls button{width:44px;height:44px;min-width:44px;min-height:44px}
html[data-polish="3"] .titus-room[data-reference-player] .titus-controls .titus-play{width:60px;height:60px;min-width:60px;max-width:60px}
html[data-polish="3"] .titus-room[data-reference-player] .titus-controls [data-player-control="back"],html[data-polish="3"] .titus-room[data-reference-player] .titus-controls [data-player-control="forward"]{margin-bottom:0;align-self:center}
html[data-polish="3"] .reference-secondary{display:flex;justify-content:space-evenly;max-width:400px;padding:0;margin-inline:auto}
html[data-polish="3"] .reference-speed{min-height:44px;min-width:64px;flex-direction:row!important;gap:4px!important;font-size:11px!important}html[data-polish="3"] .reference-secondary>button{min-height:44px;min-width:64px;flex-direction:row!important;gap:4px!important;font-size:11px!important}
html[data-polish="3"] .reference-speed select{width:44px;height:44px;font-size:14px!important}
html[data-polish="3"] .reference-secondary svg,html[data-polish="3"] .reference-more b{width:44px;height:44px;padding:10px;font-size:14px}
html[data-polish="3"] .reference-speed::after{display:none}html[data-polish="3"] .reference-secondary>button::after{display:none}
html[data-polish="3"] .reference-more{grid-column:auto}
html[data-polish="3"] .reference-volume{min-height:35px;padding-inline:8px}
html[data-polish="3"] .reference-volume [data-player-control="mute"]{min-height:32px;padding:3px 6px}
html[data-polish="3"] .reference-brand{display:none}
@media(max-width:760px){
 html[data-polish="3"] .room-options-panel{right:8px;max-height:calc(100dvh - 126px)}
 html[data-polish="3"] .room-discover-pane{background:transparent}
 html[data-polish="3"] .titus-room .room-stage{background-image:linear-gradient(#edf0ee55,#edf0ee55),var(--preview-world);background-size:cover;background-position:center}
 html[data-polish="3"] .titus-room[data-reference-player] .titus-player-main{padding-inline:12px!important}
 html[data-polish="3"] .titus-room[data-reference-player] .titus-controls{grid-template-columns:44px 1fr 62px 1fr 44px;height:64px}
 html[data-polish="3"] .titus-room[data-reference-player] .titus-controls .titus-play{width:58px;height:58px;min-width:58px;max-width:58px}
}
html[data-design-revision="2"][data-theme="dark"][data-polish="3"] .titus-room .room-stage{background-image:linear-gradient(#17273755,#17273755),var(--preview-world)}
@media(prefers-reduced-transparency:reduce){html[data-polish="3"] :is(.room-header,.room-dock,.room-matchbar,.picker-mood,.picker-format-group,.picker-wheel-shell){background:var(--surface)!important;backdrop-filter:none!important}}

/* Editorial routes use the same playback state as a compact companion, not a second full sheet. */
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open){width:min(850px,calc(100% - 16px));border:1px solid var(--panel-edge);border-radius:var(--panel-radius);background:var(--surface);box-shadow:0 9px 28px #20343d33}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open)::before{display:none}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-player-main{display:grid;grid-template-columns:44px minmax(0,1fr) 52px 48px;grid-template-rows:auto auto;align-items:center;gap:2px 8px;padding:7px 10px}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-cover{grid-column:1;grid-row:1/3;width:42px;height:42px}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-now{grid-column:2;grid-row:1;min-height:0}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-kicker,html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-tags,html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-guests{display:none}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-title{font-size:13px}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-show{font-size:10px}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-controls{grid-column:3;grid-row:1/3;display:flex;justify-content:center}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-controls button:not(.titus-play){display:none}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-controls .titus-play{width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;flex-basis:44px}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-progress{grid-column:2;grid-row:2;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:3px;min-height:16px}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-progress span{font-size:8px}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-progress input{min-width:0}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-actions{grid-column:4;grid-row:1/3;display:flex;justify-content:center;padding:0;gap:0}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-actions>*:not(.titus-queue-toggle){display:none}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-queue-toggle{display:inline-flex;min-width:44px;min-height:44px;padding:4px;justify-content:center}
html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-queue-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html[data-polish="3"] .titus-player.is-empty:not(.is-queue-open) .titus-actions>*:not(.titus-find){display:none}
html[data-polish="3"] .titus-player.is-empty:not(.is-queue-open) .titus-find{display:inline-flex;min-width:44px;min-height:44px}
@media(max-width:760px){html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-progress span{display:none}html[data-polish="3"] .titus-player:not(.titus-room-transport):not(.is-queue-open) .titus-progress{grid-template-columns:minmax(0,1fr)}}

/* On downward scroll all mobile chrome leaves the viewport together. These
   rules intentionally come last so the reference-player transforms cannot
   leave its compact strip floating above a hidden dock. */
html[data-polish="3"] .titus-room.x-bars>.room-matchbar{transition:transform var(--balk-duur) var(--balk-curve),opacity .18s ease}
html[data-polish="3"] .titus-room.x-bars.bars-hidden>.room-matchbar{transform:translateY(calc(100% + var(--room-dock-h,0px)));opacity:0;pointer-events:none}
html[data-design-revision="2"][data-polish="3"] .titus-room.x-bars.bars-hidden[data-reference-player]>.room-transport{transform:translateY(calc(100% + var(--room-dock-h,0px)));opacity:0;pointer-events:none}

/* Het keuzewiel vergroot niet bij hover, focus, selectie of scrollen (Ben, 2026-10-10). */
.picker-wheel-option,.podcast-picker-live .picker-wheel-option,.picker-topic-columns .picker-wheel-option{transform:none!important}
/* Dagachtergrond van de speler (Ben, 2026-10-10). listening.css (assets/ui) zet de stage-achtergrond met
   var(--preview-world); een url() in die variabele wordt dan vanaf assets/ui opgelost en gaf
   assets/ui/worlds/listening.webp (404). Hier staat de url direct, vanaf deze stylesheet, zodat dag
   hetzelfde schilderij toont als nacht. OS-donker zonder opgeslagen thema krijgt de nachtversie. */
html[data-design-revision="2"][data-page-study="listening"] .titus-room .room-stage{background-image:linear-gradient(#eef0e71a,#eef0e71a),var(--preview-world);background-size:cover;background-position:center}
@media(prefers-color-scheme:dark){html[data-design-revision="2"][data-page-study="listening"]:not([data-theme="light"]) .titus-room .room-stage{background-image:linear-gradient(#17273755,#17273755),var(--preview-world);background-size:cover;background-position:center}}

/* ===== Ontwerpherstel, ronde 2 (Ben, 2026-10-10) ===== */
/* Geen hoofdletters in titels, knoppen en labels (eis 23). */
*,*::before,*::after{text-transform:none!important}
/* Eén balk op elke pagina buiten de kamer: dezelfde vormgeving als de nav.room-dock van Discover (eis 75). */
.site-bar{position:sticky;top:0;z-index:60;display:block;padding:0;min-height:0;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--rule)}
.site-dock{position:relative;display:flex;align-items:center;min-height:56px;max-width:760px;margin:0 auto;padding:2px 8px}
.site-dock>a,.site-dock>.site-menu{flex:1 1 0;min-width:0}
.site-dock>a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:52px;padding:3px;border:0;background:transparent;color:var(--dim);text-decoration:none;font:600 10px/1.1 "Geist Mono",monospace;cursor:pointer;list-style:none}.site-dock .site-menu>summary{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:52px;padding:3px;text-decoration:none;font:600 10px/1.1 "Geist Mono",monospace;cursor:pointer;list-style:none}
.site-dock .site-menu>summary::-webkit-details-marker{display:none}
.site-dock svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-dock [aria-current="page"]{color:var(--electric)}
.site-dock [aria-current="page"]::after{content:"";position:absolute;left:30%;right:30%;bottom:0;height:2px;background:var(--electric)}
.site-dock :focus-visible{outline:2px solid var(--electric);outline-offset:-2px}
.site-dock>.themetoggle{flex:0 0 48px;width:44px;height:44px;min-width:44px;margin:0 2px;display:grid;place-items:center}
.site-menu-panel{position:absolute;left:8px;right:8px;top:100%;z-index:130;display:grid;gap:2px;max-height:calc(100dvh - 80px);overflow:auto;padding:8px;border:1px solid var(--rule);border-radius:14px;background:var(--surface);box-shadow:0 14px 30px -20px var(--text)}
.site-menu-panel a{display:flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:8px;color:var(--text);text-decoration:none;font:500 15px/1.2 "Source Serif 4",Georgia,serif}
.site-menu-panel a:hover,.site-menu-panel a:focus-visible{background:var(--surface-2)}
/* Titus Electric (kleurstudie 00fa7726): primaire actie, actieve tab, focus en voortgang, niet overal. */
:root{--electric:#3657FF;--electric-ink:#fff}
html[data-theme="dark"]{--electric:#7f95ff;--electric-ink:#10172c}
.room-start-discover{background:var(--electric)!important;border-color:var(--electric)!important;color:var(--electric-ink)!important}
.titus-room .room-dock [aria-current="page"],.podcast-picker-nav [aria-current="true"],.podcast-picker-nav .is-current{color:var(--electric)}
/* huidige pagina in de dock: de onderlijn van tr-btn tab (components/button.css) */
.titus-room :focus-visible,.site-bar :focus-visible,.blad :focus-visible{outline-color:var(--electric)}
input[type=range]{accent-color:var(--electric)}
/* Externe uitgangen zijn herkenbaar als uitgang (eis 99): pijl en aparte tab met rel=noopener noreferrer. */
a[target="_blank"]::after{content:" \2197";font-size:.85em}
/* Schermpapier voor knoppen op pagina's buiten de kamer (eis 25). */
.where a{background:#eeeade var(--tr-surface-card) center/100% 100%;border:0!important;border-radius:8px;color:#304650;box-shadow:0 2px 3px #263d3825;padding:10px 16px;min-height:44px;display:inline-flex;align-items:center}.keuze-action{padding:10px 16px;min-height:44px;display:inline-flex;align-items:center}
/* Perioden en thema's op de showpagina als leesbare kaartjes, geen doorlopende mono-tekst. */
.dekrij{font:500 16px/1.5 "Source Serif 4",Georgia,serif!important;letter-spacing:0}
.dekrij a{display:inline-block;margin:3px 4px;padding:3px 12px;border:1px solid var(--rule);border-radius:999px;background:color-mix(in srgb,var(--surface) 85%,transparent);text-decoration:none}
/* Begeleidende speler: leeg is hij weg; gevuld staat hij als laatste vak onder het scrollgebied (schelp), dus nooit over content (ronde 3). */
/* Watching, Reading en Show: dezelfde opbouw als Discover; geen staande uitleg, geen extra koppen (eis 41, 42, 70, 100). */
body:is(.page-watch,.page-books) :is(.crumbs,.mast .eyebrow,.mast .sub,.mast .tally,.kies-lead,.picker-number){display:none!important}
body:is(.page-watch,.page-books) .mast{padding:14px 18px!important;margin-block:12px!important}
body:is(.page-watch,.page-books) .mast h1{font-size:clamp(22px,2.3vw,30px)!important;margin:0}
body.paper-editorial :is(.keuze-intro,.mast .eyebrow){display:none!important}
/* Watching en Reading: kopblok nog compacter, eerste keuze hoog in beeld (eis 42). */
body:is(.page-watch,.page-books) .mast{padding:8px 14px!important;margin-block:8px!important}
body:is(.page-watch,.page-books) .mast h1{font-size:clamp(18px,2vw,26px)!important;line-height:1.15}
body:is(.page-watch,.page-books) .kies{margin-top:0}
body:is(.page-watch,.page-books) .podcast-picker-step{padding-block:10px 16px!important}
body:is(.page-watch,.page-books) .podcast-picker-step>h2{margin-bottom:10px!important;font-size:26px!important;padding:6px 18px!important}
body:is(.page-watch,.page-books) :is(.mast,.mast-sub,.mast-finder){min-height:0!important;height:auto!important}
body:is(.page-watch,.page-books) .mast>*:not(h1){display:none!important}

body:not(.has-titus-room):has(.titus-player:not(.is-empty)){height:100dvh;overflow:hidden;display:flex;flex-direction:column;padding-bottom:0}
body:not(.has-titus-room):has(.titus-player:not(.is-empty))>.bar{flex:none}
body:not(.has-titus-room):has(.titus-player:not(.is-empty))>.blad{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
body:not(.has-titus-room):has(.titus-player:not(.is-empty))>.titus-player{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;flex:none;width:min(850px,calc(100% - 16px))!important;margin:6px auto 8px!important}
body:not(.has-titus-room):has(.titus-player:not(.is-empty)) .podcast-picker-nav{top:0}
body:not(.has-titus-room):has(.titus-player:not(.is-empty)) .match-sticky{bottom:0!important}
/* Ronde 3: de lege speler heeft geen staande regel; de zin staat als title. */
.titus-room .titus-player.is-empty .titus-now{display:none}
/* Wielen: dezelfde papierlaag als Discover, halfdoorzichtig, nooit een ondoorzichtig vlak over het schilderij (eis 19, 69). */
body:is(.page-watch,.page-books) .picker-wheel-shell{backdrop-filter:blur(2px)}

body:is(.page-watch,.page-books) .picker-wheel-option .chip-n,body:is(.page-watch,.page-books) .picker-wheel-option small{color:var(--dim)}
/* Geen kop boven de volgende wielen (eis 41); de kop blijft voor schermlezers. */
.podcast-picker-step:not(:first-of-type)>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body:is(.page-watch,.page-books) .mast{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);padding:0!important;margin:0!important}
.picker-col-icon{display:inline-block;margin-right:10px;vertical-align:-6px}
/* Knoppen met papier hebben altijd een donkere tekst, ook 's nachts (contrast >= 4,5:1). */
.where a{color:#243b44!important}
/* Periode- en formaatwielen: geen lege witte strook boven de band (ronde 3, eis 19). */
.podcast-picker-step>.picker-wheel-shell>.picker-wheel{height:236px;padding:28px 0 144px}
.podcast-picker-step>.picker-wheel-shell>.picker-wheel-band{top:28px}
.podcast-picker-step:not(:first-of-type)>h2{padding:0!important;margin:0!important;font-size:1px!important;width:1px!important;height:1px!important;border:0!important;background:none!important}
.site-bar{z-index:125}
/* Ronde 3: liggend telefoonscherm: kop en tabs compact, zodat de keuzeknoppen boven de matchbalk staan. */
@media(max-height:520px){
  html[data-polish="3"] .titus-room .podcast-picker-step>h2,.titus-room .podcast-picker-step>h2{margin:2px 0 4px!important;font-size:20px!important;line-height:1.1}
  .titus-room .picker-col-head{min-height:44px!important;font-size:20px!important}
  .titus-room .podcast-picker-nav a,.titus-room .podcast-picker-nav .room-search>summary{min-height:36px;padding-block:2px}
}
/* Lege speler: ook de titel in de kamerbalk blijft weg (eis 103). */
.titus-room:has(.titus-player.is-empty) .room-header .titus-now{display:none}

body .podcast-picker-step:not(:first-of-type)>h2{position:absolute!important;height:1px!important;max-height:1px!important;min-height:0!important;line-height:1!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
html body:is(body,.page-watch,.page-books) .podcast-picker-step:not(:first-of-type)>h2{padding:0!important;margin:0!important;font-size:1px!important;border:0!important;width:1px!important}

/* ===== Ronde 4 ===== */
/* Lege begeleidende speler: weg tot er een aflevering staat; nooit over content (eis 74). */
body:not(.has-titus-room) .titus-player.is-empty{display:none!important}
/* Lege speler in de kamer: geen dode knoppen en geen vlak, de lege toestand staat in het paneel (eis 84). */
.titus-room:has(.titus-player.is-empty)>.room-transport{display:none!important}
.titus-room:has(.titus-player.is-empty)[data-reference-player][data-mode="listen"]>.room-stage{padding-bottom:0!important}
/* Liggend en ingeklapt is de speler één rij: vorige, 15, play, 30, volgende en de voortgang. */
@media(max-height:520px){
  .titus-room:not(.player-open) :is(.reference-secondary,.reference-volume){display:none!important}
}
/* Staande zinnen worden niet getoond; ze blijven voor schermlezers (eis 100, 102). */
.picker-format-intro,.keuze-intro{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;margin:0!important;padding:0!important;white-space:nowrap}
/* De huidige wielrij ligt op een glazen band (2026-10-12): de knopinkt komt uit components/surfaces.css. */
/* Wielen: vijf rijen hoog op elke breedte; de voetrij staat op één regel. */
.podcast-picker-step>.picker-wheel-shell>.picker-wheel{height:320px;padding:28px 0 228px}
@media(min-width:900px){.picker-topic-columns{--wh:round(down,min(448px,calc(100dvh - 470px)),64px)}}
.picker-wheel-voet{flex-wrap:nowrap;gap:6px}
.picker-wheel-terug,.picker-wheel-verder{font-size:10.5px!important;padding-inline:8px!important;white-space:nowrap;min-height:44px}
/* Tabs van Watching en Reading minimaal 12 px. */
body:is(.page-watch,.page-books) .podcast-picker-nav a{font-size:12px!important;letter-spacing:0!important}
/* De scrollhint staat rechts op de band en dekt het label niet af. */
.picker-scroll-hint{left:calc(100% - 34px)!important}
.picker-format-group legend{color:var(--text)!important}
.rank-n{color:#5b5040}
html[data-theme="dark"] .rank-n{color:#d9cfb8}
/* Ronde 4: voetrij mag op twee regels staan (Back en Skip overlappen nooit); ballon weg zodra het menu open staat. */
.picker-wheel-voet{flex-wrap:wrap!important}
.titus-room:has(.room-options[open]) .room-balloon{visibility:hidden}

/* ===== Ronde 5 ===== */
/* Menu: ontworpen keuzemenu's en knoppen (papier), geen standaard browserlijsten, geen vaste uitleg (eis 25, 100). */
.room-options-panel select{font:500 15px/1.2 Fraunces,Georgia,serif;padding:8px 36px 8px 14px}

.room-options-panel :is(button:not(.themetoggle),input[type="text"],input:not([type]),input[type="file"]){font:500 14px/1.2 Fraunces,Georgia,serif;min-height:44px;padding:8px 14px}
.room-options-panel button:disabled{opacity:.55}
.room-options-panel p:not([role]):not([aria-live]){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;margin:0!important;padding:0!important;white-space:nowrap}
html[data-polish="3"] .room-options-panel{max-height:calc(100dvh - var(--room-top-h,56px) - var(--room-bottom-h,0px) - 12px)!important;overflow:auto}

/* Wielkolom: dezelfde aquarel/papierlaag als de keuzestrook, halfdoorzichtig, schilderij blijft zichtbaar (eis 69). */
.picker-wheel-shell{background-image:linear-gradient(rgba(248,245,236,.58),rgba(248,245,236,.58)),var(--tr-surface-card)!important;background-size:100% 100%,100% 100%!important;background-color:transparent!important;border-color:#b5b5a4}
html[data-theme="dark"] .picker-wheel-shell{background-image:linear-gradient(rgba(27,40,52,.82),rgba(27,40,52,.82)),var(--tr-surface-card)!important;border-color:#6f8590}
/* Show: kaarten zijn halfdoorzichtig en compact zodat het schilderij zichtbaar blijft (eis 19). */
body.paper-editorial :is(.mast,.dekking,.keuze,.crumbs,.thead,.startbox,.pills,.seqnav,.prose,.tools,.kies,.era,.foot){background:color-mix(in srgb,var(--surface) 70%,transparent)!important;backdrop-filter:blur(3px)}
body.paper-editorial .mast{padding:16px 16px!important;margin:10px 0!important}
body.paper-editorial :is(.dekking,.keuze,.prose,.tools,.kies,.era){padding:14px!important;margin-block:10px!important}
/* Ballon zonder losse puntjes. */
.room-balloon::before,.room-balloon::after{display:none!important}
/* De vinger staat rechts op de band; het opschrift 'Pick a topic' blijft staan (geen leeg vak). */
.picker-topic-col.has-hint .picker-placeholder>span{visibility:visible!important}
@media(max-height:520px){html[data-page-study="listening"] .titus-room .picker-col-head,.titus-room .picker-col-head{min-height:40px!important;padding-block:2px}}
@media(max-height:520px){
  .picker-topic-columns{--wheel-band-top:16px}
  .picker-topic-columns .picker-wheel{padding:16px 0 368px!important}
  .picker-topic-columns .picker-wheel-band{top:16px!important}
  .picker-topic-columns .picker-scroll-hint{top:16px}
}
.merk-p{color:#4a4032!important}
html[data-theme="dark"] .merk-p{color:#d9cfb8!important}
@media(max-height:520px){
  .picker-wheel-option,.podcast-picker-live .picker-wheel-option,.picker-topic-columns .picker-wheel-option{height:54px!important;min-height:54px!important}
  .picker-wheel-band{height:54px!important}
  .picker-topic-columns .picker-wheel-option{font-size:18px!important;line-height:1.05}
}

@media(max-height:520px){
  .titus-room .podcast-picker-step>h2{font-size:18px!important;line-height:1!important;margin:0 0 3px!important}
  html[data-page-study="listening"] .titus-room .picker-col-head,.titus-room .picker-col-head{min-height:36px!important}
  .picker-topic-columns{--wheel-band-top:8px}
  .picker-topic-columns .picker-wheel{padding:8px 0 368px!important}
  .picker-topic-columns .picker-wheel-band{top:8px!important}
  .picker-topic-columns .picker-scroll-hint{top:8px}
}
@media(max-height:520px){
  .picker-wheel-option,.podcast-picker-live .picker-wheel-option,.picker-topic-columns .picker-wheel-option{height:48px!important;min-height:48px!important}
  .picker-wheel-band{height:48px!important}
  .picker-topic-columns .picker-wheel-option{font-size:17px!important}
}

/* ===== Gedragsronde ===== */
.site-bar{transition:transform .3s cubic-bezier(.22,1,.36,1),margin-top .3s cubic-bezier(.22,1,.36,1)}
html.bar-away body>.site-bar{transform:translateY(-100%)}
html.bar-away body:has(.titus-player:not(.is-empty))>.site-bar{transform:none;margin-top:-58px}
@media(prefers-reduced-motion:reduce){.site-bar{transition:none}}
.podcast-wall-head{justify-content:center;text-align:center;flex-wrap:wrap}
.podcast-wall-head h2{text-align:center}
/* Raakvlak >= 44 px voor tekstlinks en samenvattingen zonder de lay-out te veranderen (ronde 5, eis 98). */
.blad a:not(:has(*)):not(.bkbtn):not(.primary),.blad summary,.foot a{position:relative}.room-pick-self{position:relative}
.blad a:not(:has(*)):not(.bkbtn):not(.primary)::before,.blad summary::before,.foot a::before{content:"";position:absolute;left:-3px;right:-3px;top:50%;height:max(100%,44px);transform:translateY(-50%)}.room-pick-self::before{content:"";position:absolute;left:-3px;right:-3px;top:50%;height:max(100%,44px);transform:translateY(-50%)}
.dekrij a{min-height:44px;display:inline-flex!important;align-items:center;margin-block:0!important}
.grouplabel a,.rank-b h3 a{display:inline-block;padding-block:12px;margin-block:-12px}
.titus-room .room-about>summary,.room-about>summary{position:relative;min-height:44px;display:flex;align-items:center}
.runlink,.merk-n,.foot a,.grouplabel a,.bk-by a,.bk a:not(.bkbtn),.crumbs a{display:inline-block;padding-block:14px;margin-block:-14px}
/* CLS: een verschijnende schuifbalk verschuift de pagina niet (ronde 5, eis 12/13). */
html{scrollbar-gutter:stable}
body>.blad{scrollbar-gutter:stable}

html.room-pending body:not(.has-titus-room)>:not(script){visibility:hidden}
.podcast-wall-head{flex-direction:column!important;align-items:center!important;gap:4px}
