/* Hörraum v6. Scoped: no template, body, or ordinary player rules. */
.mt-room-entry{--mt-room-entry-gold:#D9A51B;--mt-room-entry-gold-deep:#A96F08;position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:4px 12px;overflow:hidden;border:1px solid var(--mt-room-entry-gold);border-radius:999px;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer;text-align:start;transition:border-color .18s ease-out,box-shadow .18s ease-out}
.mt-room-entry::after{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,rgba(255,248,217,.72) 50%,transparent 70%);opacity:0;transform:translateX(-130%)}
.mt-room-entry>img,.mt-room-entry>span{position:relative;z-index:1}
.mt-room-entry img{width:32px;height:32px;flex:none;transition:transform .18s ease-out}
[data-mtm-listening-room] .mt-room-entry:focus{outline:2px solid var(--mt-room-entry-gold-deep);outline-offset:3px}
[data-mtm-listening-room] .mt-room-entry:focus:not(:focus-visible){outline:none}
[data-mtm-listening-room] .mt-room-entry:focus-visible{outline:2px solid var(--mt-room-entry-gold-deep);outline-offset:3px}
.mt-room-entry:active{border-color:var(--mt-room-entry-gold-deep);box-shadow:0 2px 10px rgba(169,111,8,.22)}
.mt-room-entry:active img{transform:scale(.98)}
[data-mtm-listening-room] .mtn-media-detail__player-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
[data-mtm-listening-room] .mtn-media-detail__player-head>[data-room-entry]{margin-inline-start:auto;min-width:0}
[data-room-entry]>[data-room-message]:empty{display:none}
[data-mtm-listening-room] .mtn-media-detail__player-head>[data-mtm-audio-status]{order:3;flex:1 0 100%;min-width:0;overflow-wrap:anywhere}
[data-mtm-listening-room] .mtn-media-detail__player-head>[data-mtm-audio-status]>[data-mtm-audio-idle]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
[data-mtm-listening-room] .mtn-media-detail__player-head>[data-mtm-audio-status]:has(>[data-mtm-audio-idle]){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mt-room{--glass:rgba(5,11,13,.9);--glass-line:rgba(232,215,165,.3);--ui:#f1e8d0;--ui-dim:#d4cbb5;--sheet:rgba(7,13,15,.97);--card:rgba(255,255,255,.04);--btnbg:rgba(255,255,255,.07);--btnhover:rgba(255,255,255,.14);--track:rgba(255,255,255,.32);--disc:rgba(5,11,13,.91);--accent:#e8d7a5;--room-accent:#e8d7a5;position:fixed;inset:auto;top:var(--mt-room-viewport-top,0);left:var(--mt-room-viewport-left,0);width:var(--mt-room-viewport-width,100%);height:var(--mt-room-viewport-height,100dvh);max-width:none;max-height:none;margin:0;padding:0;border:0;background:#04090b;color:var(--ui);font:400 16px/1.45 var(--mt-font-body,system-ui,sans-serif);overflow:hidden;color-scheme:dark}
.mt-room::backdrop{background:#04090b}
.mt-room{font-family:var(--mtn-font,inherit)}
.mt-room.ui-light{--glass:rgba(250,246,236,.93);--glass-line:rgba(40,32,18,.25);--ui:#1e1a12;--ui-dim:#514937;--sheet:rgba(248,244,234,.98);--card:rgba(40,32,18,.05);--btnbg:rgba(40,32,18,.07);--btnhover:rgba(40,32,18,.14);--track:rgba(40,32,18,.3);--disc:rgba(248,244,234,.94);--accent:#76540a;color-scheme:light}
.mt-room *{box-sizing:border-box}
.mt-room [hidden],.mt-room-entry[hidden]{display:none!important}
.mt-room button,.mt-room input{font:inherit;color:inherit}
.mt-room button{cursor:pointer;min-width:44px;min-height:44px;border:1px solid var(--glass-line);background:var(--btnbg);border-radius:999px;padding:8px 12px}
.mt-room button:hover{background:var(--btnhover)}
.mt-room button:disabled{cursor:default;opacity:.55}
.mt-room button:focus,.mt-room input:focus,.mt-room [tabindex]:focus{outline:3px solid var(--accent);outline-offset:3px}
.mt-room button:focus:not(:focus-visible),.mt-room input:focus:not(:focus-visible),.mt-room [tabindex]:focus:not(:focus-visible){outline:none}
.mt-room button:focus-visible,.mt-room input:focus-visible,.mt-room [tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.mt-room svg{width:22px;height:22px;flex:none;vertical-align:middle}
.mt-room-scene,.mt-room-scene>div,.mt-room-scene>img,.mt-room-scene>video,.mt-room-scene>canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.mt-room-scene{overflow:hidden}
.mt-room-scene>img,.mt-room-scene>video{object-fit:cover;object-position:center}
.mt-room-scene>video{z-index:25;opacity:0}
.mt-room-scene .mt-room-symbols{inset:0;overflow:hidden}
.mt-room-top{position:absolute;z-index:40;inset:0 0 auto;display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:calc(env(safe-area-inset-top,0px) + 14px) max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px))}
.mt-room .mt-room-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;background:var(--glass);font-size:14px}
.mt-room .mt-room-icon{width:44px;padding:0;justify-content:center}
.mt-room [data-room-leave] img{width:28px;height:28px;flex:none}
.mt-room .mt-room-top{align-items:center}
.mt-room .mt-room-top [data-room-leave]{flex:none}
.mt-room .mt-room-top > .mt-room-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px;min-width:0;margin:0;margin-block-start:0;padding:0}
.mt-room .mt-room-actions>.mt-room-icon{flex:none}
.mt-room .mt-room-actions>.mt-room-chip,.mt-room .mt-room-actions>.mt-room-single{min-width:0}
.mt-room .mt-room-actions [data-room-name]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.mt-room-chip{max-width:min(36vw,260px)}
.mt-room-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-room-chip i{width:10px;height:10px;border-radius:50%;background:var(--room-accent);flex:none;border:1px solid var(--ui-dim)}
.mt-room .mt-room-chip-arrow{display:inline-flex;flex:none;overflow:visible}
.mt-room .mt-room-chip-arrow svg{width:14px;height:14px}
.mt-room-single{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px;font-size:14px;min-width:0}
.mt-room-player{position:absolute;z-index:40;left:50%;translate:-50% 0;color:var(--ui)}
.mt-room-player--bar{bottom:calc(env(safe-area-inset-bottom,0px) + 18px);width:min(780px,calc(100% - 24px));padding:14px 18px 12px;border-radius:22px;background:var(--glass);border:1px solid var(--glass-line)}
.mt-room-player--bar .mt-room-player-body{display:grid;grid-template-columns:auto 1fr;column-gap:18px;align-items:center}
.mt-room-player--bar .mt-room-meta{grid-column:2;grid-row:1;min-width:0}
.mt-room-player--bar .mt-room-transport{grid-row:1;grid-column:1}
.mt-room-meta{min-width:0;text-wrap:pretty}
.mt-room-title{font-size:16px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-room-type,.mt-room-chapter{font-size:12px;color:var(--ui-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-room-transport{display:flex;justify-content:center;align-items:center;gap:10px}
.mt-room-transport button{width:44px;height:44px;padding:0;border-radius:50%;font-variant-numeric:tabular-nums}
.mt-room-transport .mt-room-play{width:58px;height:58px;color:var(--ui);background:var(--btnhover);border-color:var(--accent)}
.mt-room-time{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--ui-dim);grid-column:1/-1}
.mt-room-timeline{position:relative;flex:1;min-width:0}
/* Keep the seek surface independent of host-template form rules, in either asset order. */
.mt-room .mt-room-timeline input[type=range]{display:block;width:100%;min-height:44px;margin:0;padding:0;border:0;border-radius:0;accent-color:var(--accent);appearance:none;background:transparent}
.mt-room-timeline input::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:var(--track)}
.mt-room-timeline input::-moz-range-track{height:4px;border-radius:4px;background:var(--track)}
.mt-room-timeline input::-webkit-slider-thumb{appearance:none;width:16px;height:16px;margin-top:-6px;border-radius:50%;background:var(--accent);border:0}
.mt-room-timeline input::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--accent);border:0}
.mt-room-timeline [data-room-marks]{position:absolute;inset:0;pointer-events:none}
.mt-room-timeline i{position:absolute;top:19px;width:2px;height:6px;background:var(--accent)}
.mt-room-player--round{top:50%;translate:-50% -50%;width:min(88vw,380px,75dvh);aspect-ratio:1}
.mt-room-player--round .mt-room-player-body{position:absolute;inset:11%;border-radius:50%;background:var(--disc);border:1px solid var(--glass-line);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:7%;gap:9px}
.mt-room-player--round .mt-room-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;overflow-wrap:anywhere}
.mt-room-player--round .mt-room-meta{width:100%}
.mt-room-player--round .mt-room-play{width:54px;height:54px}
.mt-room-player--round .mt-room-transport{gap:8px}
.mt-room .mt-room-ring{position:absolute;inset:0;width:100%;height:100%;fill:none;touch-action:none;cursor:pointer;overflow:visible;transition:opacity .6s ease}
.mt-room-ring circle{stroke:var(--accent);stroke-width:3}
.mt-room-ring .mt-room-ring-track{stroke:var(--track);stroke-width:14}
.mt-room-ring [data-room-ring-progress]{stroke-dasharray:0 100;transform:rotate(-90deg);transform-origin:center}
.mt-room-ring [data-room-ring-marks] circle{fill:var(--accent);stroke:var(--disc);stroke-width:2}
.mt-room-hairline{position:absolute;bottom:0;left:0;height:2px;background:var(--accent);z-index:42;width:0}
.mt-room-sheet-veil{position:absolute;inset:0;background:rgba(0,0,0,.4);z-index:50}
.mt-room-sheet{position:absolute;z-index:60;left:50%;bottom:0;translate:-50% 0;width:min(640px,100%);max-height:85%;overflow:auto;overscroll-behavior:contain;padding:22px 20px calc(env(safe-area-inset-bottom,0px) + 22px);border-radius:24px 24px 0 0;background:var(--sheet);border:1px solid var(--glass-line)}
.mt-room-sheet h2{margin:0 52px 24px 0;font-family:inherit;font-weight:500;font-size:20px;line-height:1.3;color:var(--ui)}
.mt-room-sheet h3{font-size:14px;color:var(--ui-dim);margin:20px 0 8px}
.mt-room .mt-room-sheet-close{position:absolute;top:12px;right:12px;width:44px;padding:0}
.mt-room-cards,.mt-room-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mt-room-cards button,.mt-room-choices button{border-radius:14px;text-align:left;padding:13px 15px;background:var(--card)}
.mt-room-choices strong,.mt-room-choices span{display:block}
.mt-room-choices strong{font-weight:500}
.mt-room-choices span{font-size:13px;color:var(--ui-dim);margin-top:3px}
.mt-room button[aria-pressed=true],.mt-room button[aria-current=true]{border-color:var(--accent);outline:1px solid var(--accent);outline-offset:-2px}
.mt-room-cards img,.mt-room-card-preview{display:block;width:100%;height:104px;object-fit:cover;border-radius:8px;margin-bottom:10px}
.mt-room-cards strong,.mt-room-cards small{display:block;overflow-wrap:anywhere}
.mt-room-cards small{color:var(--ui-dim);margin-top:4px}
.mt-room-check{display:flex;gap:12px;align-items:center;min-height:56px;margin-top:14px;cursor:pointer}
.mt-room-check input{flex:none;width:22px;height:22px;accent-color:var(--accent)}
.mt-room-check small{display:block;color:var(--ui-dim);font-size:13px;margin-top:4px}
.mt-room-chapters{display:grid;gap:8px}
.mt-room-chapters button{border-radius:12px;text-align:left;display:flex;justify-content:space-between;gap:12px;overflow-wrap:anywhere}
.mt-room-notice{position:absolute;z-index:65;top:100px;left:50%;translate:-50% 0;max-width:calc(100% - 32px);background:var(--sheet);padding:12px 18px;border-radius:14px;color:var(--ui)}
.mt-room-warning{position:absolute;right:14px;bottom:calc(env(safe-area-inset-bottom,0px) + 150px);width:min(250px,calc(100% - 28px));z-index:46;background:var(--glass);border:1px solid var(--glass-line);border-radius:16px;padding:14px;font-size:14px}
.mt-room-warning p{margin:0 0 8px}
.mt-room-night-veil{position:absolute;inset:0;background:rgba(0,0,0,.8);pointer-events:none;z-index:35;opacity:0}
.mt-room-night-clock{position:absolute;z-index:36;bottom:calc(env(safe-area-inset-bottom,0px) + 42px);left:0;right:0;text-align:center;opacity:0;color:#d4cbb5;font-size:13px;font-variant-numeric:tabular-nums;pointer-events:none}
.mt-room [data-room-chrome]{transition:opacity .6s ease}
.mt-room.is-idle [data-room-chrome],.mt-room.is-night [data-room-chrome]{opacity:0;pointer-events:none}
.mt-room.is-idle .mt-room-player--bar,.mt-room.is-night .mt-room-player--bar{opacity:0;pointer-events:none}
.mt-room.is-idle .mt-room-ring,.mt-room.is-night .mt-room-ring{opacity:0;pointer-events:none}
.mt-room.is-night .mt-room-night-veil,.mt-room.is-night .mt-room-night-clock{opacity:1}
@media(max-width:640px){.mt-room .mt-room-top{padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px));gap:8px}.mt-room-top [data-room-leave] span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.mt-room .mt-room-pill{padding-inline:12px}.mt-room .mt-room-icon{padding:0}.mt-room .mt-room-top > .mt-room-actions{gap:6px}.mt-room-chip{max-width:29vw}.mt-room-chip-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.mt-room-player--bar{padding:12px 14px 10px}.mt-room-player--bar .mt-room-player-body{column-gap:10px}.mt-room-transport{gap:4px}.mt-room-cards{grid-template-columns:1fr}}
@media(max-height:440px){.mt-room-player--round{width:min(68dvh,300px)}.mt-room-player--round .mt-room-player-body{padding:5%;gap:3px}.mt-room-player--round .mt-room-type,.mt-room-player--round .mt-room-chapter{display:none}.mt-room-player--round .mt-room-title{font-size:12px}.mt-room-player--round .mt-room-play{width:44px;height:44px}.mt-room-player--round .mt-room-time{font-size:11px}}
@keyframes mt-room-entry-shimmer{0%{opacity:0;transform:translateX(-130%)}35%{opacity:.72}100%{opacity:0;transform:translateX(130%)}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.mt-room-entry:hover{box-shadow:0 4px 14px rgba(217,165,27,.22)}.mt-room-entry:hover::after{animation:mt-room-entry-shimmer .9s cubic-bezier(.22,.68,.28,1) both}.mt-room-entry:hover img{transform:scale(1.04)}}
@media(prefers-reduced-motion:reduce){.mt-room-entry,.mt-room-entry img{transition:none}.mt-room-entry:hover,.mt-room-entry:active{border-color:var(--mt-room-entry-gold-deep);box-shadow:0 4px 14px rgba(169,111,8,.2)}.mt-room-entry:hover img,.mt-room-entry:active img{transform:none}.mt-room-entry::after{display:none}.mt-room [data-room-chrome],.mt-room .mt-room-ring{transition:none}}
@media(forced-colors:active){.mt-room-entry{border-color:ButtonText;box-shadow:none}[data-mtm-listening-room] .mt-room-entry:focus,[data-mtm-listening-room] .mt-room-entry:focus-visible{outline-color:Highlight}.mt-room-entry::after{display:none}}

/* Keep embedded Journey scenes independent of article image sizing. */
#mtn-main :is(.mtj-f1-prose, .mt-lesson-prose) .mt-room .mt-room-scene > img { height: 100% !important; block-size: 100% !important; border-radius: 0; }
