/* PLC Mitte: Mediathek. The library is a working surface in two halves (Texte, Aufnahmen): search
   first, theme cards with each theme's most read title pages, a list that reads like a catalogue,
   a reader that slides in beside it, and the recordings on a dark ground behind a privacy facade.
   Title pages and video pictures are always shown whole. Markup: inc/render/mediathek.php;
   behaviour: assets/js/mediathek.js. */

.mt { --leiste-h: 0px; padding-bottom: clamp(48px, 7vw, 96px); }
.mt mark { background: var(--saffron-soft); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- head: title, numbers, and the texts for the coming Termine ---------- */
.mt-kopf { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 6vw, 96px); align-items: end; padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(20px, 3vw, 36px); }
.mt-kopf:not(.has-jetzt) { grid-template-columns: minmax(0, 1fr); }
.mt-kopf__copy { display: grid; gap: 18px; align-content: end; }
.mt-kopf__copy h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -.04em; line-height: .98; }
.mt-kopf__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 40ch; }
.mt-kopf__zahlen { font-size: 15.5px; color: var(--ink-soft); }
.mt-kopf__zahlen b { color: var(--ink); font-weight: 600; }

.mt-jetzt { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2vw, 26px); box-shadow: var(--e1); }
.mt-jetzt__kopf { font-size: 20px; letter-spacing: -.015em; }
.mt-jetzt__lead { margin-top: 4px; font-size: 14.5px; color: var(--ink-soft); }
.mt-jetzt__liste { list-style: none; margin: 14px 0 0; padding: 0; }
.mt-jetzt__termin { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.mt-jetzt__datum { display: grid; justify-items: center; align-content: start; }
.mt-jetzt__datum b { font-size: 23px; line-height: 1; font-weight: 600; color: var(--maroon); letter-spacing: -.02em; }
.mt-jetzt__datum span { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; white-space: nowrap; }
.mt-jetzt__text { display: grid; gap: 7px; min-width: 0; }
.mt-jetzt__text p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3; }
.mt-jetzt__titel { font-weight: 600; font-size: 16px; text-decoration: none; }
.mt-jetzt__titel:hover { color: var(--maroon); text-decoration: underline; }
.mt-jetzt__zeit { font-size: 13.5px; color: var(--ink-soft); margin-left: 4px; }
/* one row of texts; long titles shorten, the "+ n" stays whole */
.mt-jetzt__texte { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; min-width: 0; }
.mt-jetzt__texte li { min-width: 0; flex: 0 1 auto; }
.mt-jetzt__texte li.mt-jetzt__mehr { flex: none; }
.mt-jetzt__texte a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; text-decoration: none; padding: 6px 11px; border-radius: 999px; background: var(--blush); color: var(--ink); transition: background-color .16s var(--ease); }
.mt-jetzt__texte a:hover { background: #EAD6CC; }
.mt-jetzt__mehr a { background: var(--saffron-soft); }

/* ---------- toolbar: search, theme, language, saved, sort, view ---------- */
.mt-leiste { position: sticky; top: calc(var(--mast-h, 81px) + var(--bar-h, 0px)); z-index: 30; padding-block: 12px; background: color-mix(in oklab, var(--canvas) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.mt-leiste.is-fest { border-bottom-color: var(--line); box-shadow: 0 10px 24px -22px rgba(78, 15, 25, .5); }
.mt-leiste__in { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.mt-suche { position: relative; flex: 1 1 380px; min-width: 0; }
.mt-suche > svg { position: absolute; left: 19px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; color: var(--ink-soft); pointer-events: none; }
.mt-suche input { width: 100%; height: 54px; padding: 0 52px 0 50px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: 400 17px/1 var(--text); color: var(--ink); box-shadow: var(--e1); transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.mt-suche input::placeholder { color: #8A7D77; }
.mt-suche input:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(125, 29, 44, .12), var(--e1); }
.mt-suche input::-webkit-search-cancel-button { cursor: pointer; }
.mt-suche__taste { position: absolute; right: 18px; top: 50%; translate: 0 -50%; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-soft); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 4px 7px; pointer-events: none; }
.mt-suche:focus-within .mt-suche__taste, .mt-suche:has(input:not(:placeholder-shown)) .mt-suche__taste { display: none; }
@media (hover: none) { .mt-suche__taste { display: none; } }

.mt-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mt-chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 14.5px/1 var(--text); white-space: nowrap; cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.mt-chip:hover { border-color: var(--ink); }
.mt-chip[aria-pressed="true"], .mt-chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.mt-chip svg { width: 15px; height: 15px; flex: none; }
.mt-chip span { font-weight: 500; opacity: .75; }
.mt-chip--menu span { opacity: 1; font-weight: 600; }
.mt-chip--menu i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.mt-chip--menu:not(.has-thema) i { display: none; }
.mt-chip[data-mt-gemerkt] svg { color: #D48A1F; }
.mt-chip[data-mt-gemerkt][aria-pressed="true"] svg { fill: currentColor; }

.mt-sort { position: relative; display: inline-flex; }
.mt-sort select { appearance: none; height: 40px; padding: 0 36px 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 14.5px/1 var(--text); cursor: pointer; }
.mt-sort select:hover { border-color: var(--ink); }
.mt-sort svg { position: absolute; right: 13px; top: 50%; width: 15px; height: 15px; translate: 0 -50%; pointer-events: none; }
.mt-ansicht { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.mt-ansicht button { display: grid; place-items: center; width: 34px; height: 32px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); cursor: pointer; }
.mt-ansicht button svg { width: 19px; height: 19px; }
.mt-ansicht button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* ---------- the two halves: Texte | Aufnahmen ---------- */
.mt-teile { display: inline-flex; flex: none; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); box-shadow: var(--e1); }
.mt-teile button { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font: 600 15.5px/1 var(--text); white-space: nowrap; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease); }
.mt-teile button span { font-weight: 500; opacity: .7; }
.mt-teile button:hover { color: var(--ink); }
.mt-teile button[aria-selected="true"] { background: var(--maroon); color: var(--white); }
.mt-teile button[aria-selected="true"] span { opacity: .8; }
.mt-teile button:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
/* on wide screens the switch opens the toolbar, then search, then the filters for texts */
@media (min-width: 761px) {
  .mt-filter { display: contents; }
  .mt-teile { order: -1; }
  .mt-suche { order: 0; }
  .mt-filter > :not(.mt-teile) { order: 1; }
}
/* the filters belong to the texts */
.mt[data-teil="aufnahmen"] .mt-filter > :not(.mt-teile) { display: none; }
.mt-kopf__zahlen a { color: inherit; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; }
.mt-kopf__zahlen a:hover { color: var(--maroon); }
.mt-teil--aufnahmen { scroll-margin-top: calc(var(--mast-h, 81px) + var(--bar-h, 0px) + var(--leiste-h)); }

/* ---------- themes: one panel of cells, a symbol each; an accent bar grows beside the name on hover ---------- */
.mt-regal { margin-top: clamp(24px, 3.4vw, 44px); }
.mt-regal__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-bottom: 16px; }
.mt-regal__kopf h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.03em; }
.mt-regal__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--line); box-shadow: var(--e1); }
@media (min-width: 1100px) { .mt-regal__liste { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mt-regal__liste > li { display: flex; background: var(--white); }
.mt-thema { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 4px; width: 100%; padding: 22px 22px 24px; color: var(--ink); text-decoration: none; background-color: transparent; transition: background-color .25s var(--ease); }
.mt-thema__symbol { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 13px; background: color-mix(in oklab, var(--c) 16%, var(--white)); color: color-mix(in oklab, var(--c) 62%, var(--ink)); transition: transform .3s var(--ease), background-color .25s var(--ease); }
.mt-thema__symbol svg { width: 25px; height: 25px; }
.mt-thema__name { min-width: 0; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; hyphens: auto; overflow-wrap: break-word; transition: transform .25s var(--ease), color .2s var(--ease); }
.mt-thema__zahl { font-size: 13.5px; font-weight: 600; color: color-mix(in oklab, var(--c) 55%, var(--ink)); }
.mt-thema__unter { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-thema__unter:empty { display: none; }
/* the accent bar beside the name: a short hairline that grows and takes the theme's colour */
.mt-thema::before { content: ""; position: absolute; left: 0; top: 80px; width: 3px; height: 18px; border-radius: 0 3px 3px 0; background: var(--line); transition: height .25s var(--ease), background-color .25s var(--ease); }
@media (hover: hover) {
  .mt-thema:hover { background-color: color-mix(in oklab, var(--c) 6%, var(--white)); }
  .mt-thema:hover::before { height: 30px; background: var(--c); }
  .mt-thema:hover .mt-thema__name { transform: translateX(3px); }
  .mt-thema:hover .mt-thema__symbol { transform: translateY(-2px); }
}
.mt-thema:focus-visible { outline: 2px solid var(--maroon); outline-offset: -4px; border-radius: 4px; }
/* the chosen theme keeps the bar and a light wash of its colour */
.mt-thema[aria-current="true"] { background-color: color-mix(in oklab, var(--c) 10%, var(--white)); }
.mt-thema[aria-current="true"]::before { height: 30px; background: var(--c); }
.mt-thema[aria-current="true"] .mt-thema__name { color: var(--maroon); }
.mt-thema[aria-current="true"] .mt-thema__symbol { background: var(--white); box-shadow: 0 0 0 1.5px color-mix(in oklab, var(--c) 45%, transparent); }

/* ---------- results ---------- */
.mt-zuletzt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(28px, 4vw, 44px); }
.mt-zuletzt > b { font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; }
.mt-zuletzt a { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; text-decoration: none; padding: 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.mt-zuletzt a:hover { border-color: var(--ink); }
.mt-zuletzt button { border: 0; background: none; font: 500 13.5px/1 var(--text); color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }

.mt-ergebnis { view-transition-name: mt-ergebnis; }
.mt-ergebnis__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin: clamp(36px, 5vw, 64px) 0 10px; scroll-margin-top: calc(var(--mast-h, 81px) + var(--bar-h, 0px) + var(--leiste-h) + 16px); }
.mt-ergebnis__titel { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.mt-ergebnis__zahl { color: var(--ink-soft); font-size: 16px; }
.mt-aktiv { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
.mt-aktiv:empty { display: none; }
.mt-aktiv button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border: 0; border-radius: 999px; background: var(--blush); color: var(--ink); font: 600 13.5px/1 var(--text); cursor: pointer; }
.mt-aktiv button svg { width: 14px; height: 14px; opacity: .7; }
.mt-aktiv button:hover { background: #EAD6CC; }
.mt-aktiv .mt-aktiv__alle { background: none; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; color: var(--ink-soft); padding: 0 6px; }
.mt-unter { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.mt-unter .mt-chip { height: 36px; font-size: 14px; padding: 0 13px; }

.mt-gruppe { margin-top: clamp(18px, 2.4vw, 30px); }
.mt-gruppe__kopf { position: sticky; top: calc(var(--mast-h, 81px) + var(--bar-h, 0px) + var(--leiste-h)); z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 0; background: var(--canvas); font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.mt-gruppe__kopf::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.mt-gruppe__kopf span { font-weight: 500; letter-spacing: 0; opacity: .8; }
.mt-reihe { list-style: none; margin: 0; padding: 0; display: grid; }

/* a text: cover, theme, title, facts; the whole row opens the reader, star and download sit above it */
.mt-t { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 14px; padding: 12px 12px 12px 8px; border-bottom: 1px solid var(--line); border-radius: 14px; transition: background-color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); content-visibility: auto; contain-intrinsic-size: auto 96px; }
.mt-t:hover, .mt-t:focus-within { background: var(--white); box-shadow: var(--e1); border-bottom-color: transparent; }
.mt-t__link { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; min-width: 0; color: inherit; text-decoration: none; }
.mt-t__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mt-t__link:focus-visible { outline: none; }
.mt-t__link:focus-visible::after { outline: 2px solid var(--maroon); outline-offset: -2px; }
/* Covers are title pages, often with the Buddha, a deity or a teacher: always shown whole, never
   cropped, covered or dimmed. Each stands at its own proportions on a common baseline, like booklets
   on a shelf; the theme colour is the spine beside the page, not on it. */
.mt-t__cover { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 56px; aspect-ratio: 3 / 4; }
.mt-t__cover img { width: auto; height: auto; max-width: 100%; max-height: 100%; border-left: 3px solid var(--c); border-radius: 2px 4px 4px 2px; background: var(--white); box-shadow: 0 1px 2px rgba(33, 26, 23, .12), 0 6px 12px -6px rgba(78, 15, 25, .35); }
.mt-t__cover.is-tuch { border-radius: 3px 6px 6px 3px; align-items: center; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, .2)), repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 6px), var(--c); box-shadow: 0 1px 2px rgba(33, 26, 23, .1), 0 6px 12px -6px rgba(78, 15, 25, .35); }
.mt-t__cover.is-tuch b { font: 700 10.5px/1 var(--text); letter-spacing: .08em; padding: 5px 6px; border-radius: 2px; background: linear-gradient(180deg, #F3CF73, #D69A2E); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--brocade, #1E2A63); }
.mt-t__text { display: grid; gap: 2px; min-width: 0; }
.mt-t__thema { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.mt-t__thema::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.mt-t__thema:empty { display: none; }
.mt-t__titel { font-size: 17.5px; font-weight: 600; line-height: 1.28; letter-spacing: -.012em; }
.mt-t__sub { font-size: 15px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-t__fakten { font-size: 13.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.mt-t__stelle { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); font-style: italic; }
.mt-t__hinweis { position: relative; justify-self: start; font: 600 12px/1 var(--text); padding: 6px 10px; border-radius: 999px; background: #F6E3C9; color: var(--maroon-deep); white-space: nowrap; }
.mt-t__akt { position: relative; z-index: 1; display: flex; gap: 6px; align-items: center; grid-column: 3; }
.mt-t__merk { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: none; color: #9C8F88; cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease), transform .12s var(--ease); }
.mt-t__merk svg { width: 21px; height: 21px; }
.mt-t__merk:hover { background: var(--blush); color: var(--ink); }
.mt-t__merk[aria-pressed="true"] { color: #D48A1F; }
.mt-t__merk[aria-pressed="true"] svg { fill: currentColor; }
.mt-t__merk:active { transform: scale(.9); }
.mt-t__laden { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--maroon); font: 600 13px/1 var(--text); letter-spacing: .03em; text-decoration: none; transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.mt-t__laden svg { width: 18px; height: 18px; }
.mt-t__laden:hover { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.mt-t:has(.mt-t__hinweis) .mt-t__hinweis { grid-column: 2; grid-row: 1; }

/* cover view: the texts as booklets standing on a shelf; star and download sit below, never on the page */
.mt-liste[data-ansicht="cover"] .mt-reihe { grid-template-columns: repeat(auto-fill, minmax(min(100%, 172px), 1fr)); gap: 34px 22px; padding-top: 8px; }
.mt-liste[data-ansicht="cover"] .mt-t { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 0; border: 0; border-radius: 0; content-visibility: visible; }
.mt-liste[data-ansicht="cover"] .mt-t:hover, .mt-liste[data-ansicht="cover"] .mt-t:focus-within { background: none; box-shadow: none; }
.mt-liste[data-ansicht="cover"] .mt-t__link { grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.mt-liste[data-ansicht="cover"] .mt-t__link::after { border-radius: 8px; }
.mt-liste[data-ansicht="cover"] .mt-t__cover { width: 100%; aspect-ratio: 5 / 7; transition: transform .3s var(--ease); }
.mt-liste[data-ansicht="cover"] .mt-t__cover img { border-left-width: 5px; border-radius: 2px 6px 6px 2px; box-shadow: 0 2px 4px rgba(33, 26, 23, .12), 0 22px 30px -18px rgba(78, 15, 25, .55); }
.mt-liste[data-ansicht="cover"] .mt-t__cover.is-tuch { border-radius: 4px 10px 10px 4px; }
.mt-liste[data-ansicht="cover"] .mt-t__cover.is-tuch b { font-size: 13px; padding: 7px 9px; }
@media (hover: hover) { .mt-liste[data-ansicht="cover"] .mt-t:hover .mt-t__cover { transform: translateY(-4px); } }
.mt-liste[data-ansicht="cover"] .mt-t__titel { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mt-liste[data-ansicht="cover"] .mt-t__sub { display: none; }
.mt-liste[data-ansicht="cover"] .mt-t__fakten { font-size: 13px; }
.mt-liste[data-ansicht="cover"] .mt-t__hinweis { align-self: flex-start; }
.mt-liste[data-ansicht="cover"] .mt-t__akt { margin-top: auto; }
.mt-liste[data-ansicht="cover"] .mt-t__merk, .mt-liste[data-ansicht="cover"] .mt-t__laden { height: 36px; }

.mt-leer { margin-top: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); border: 1px dashed var(--line); text-align: center; display: grid; gap: 12px; justify-items: center; }
.mt-leer h3 { font-size: 22px; }
.mt-leer p { color: var(--ink-soft); max-width: 46ch; }
.mt-leer div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.mt-volltext, .mt-funde { margin-top: clamp(32px, 4vw, 48px); }
.mt-volltext h3, .mt-funde h3 { font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 10px; }
.mt-funde ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.mt-funde button { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.mt-funde img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 12px; box-shadow: var(--e1); }
.mt-funde strong { font-size: 15.5px; line-height: 1.3; }
.mt-funde span { font-size: 13.5px; color: var(--ink-soft); }

.mt-dana { margin-top: clamp(40px, 5vw, 64px); max-width: 72ch; padding-left: 16px; border-left: 3px solid var(--saffron); font-size: 15.5px; color: var(--ink-soft); }
.mt-dana a { color: var(--maroon); font-weight: 600; }

/* ---------- theme menu: a dropdown, a bottom sheet on phones ---------- */
.mt-pop { position: fixed; inset: auto; margin: 0; width: min(380px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: auto; padding: 6px 8px 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: var(--e2); overscroll-behavior: contain; }
.mt-pop::backdrop { background: transparent; }
.mt-pop__kopf { position: sticky; top: -6px; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 10px 6px 8px 12px; background: var(--white); }
.mt-pop__kopf b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.mt-pop__kopf button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: var(--blush); color: var(--ink); cursor: pointer; }
.mt-pop__kopf svg { width: 16px; height: 16px; }
.mt-pop__liste, .mt-pop__liste ul { list-style: none; margin: 0; padding: 0; }
.mt-pop__liste ul { margin: 0 0 6px 21px; }
.mt-pop__liste button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 600 15.5px/1.25 var(--text); text-align: left; cursor: pointer; }
.mt-pop__liste ul button { font-weight: 500; font-size: 14.5px; padding: 8px 12px; color: var(--ink-soft); }
.mt-pop__liste button span { margin-left: auto; font-weight: 500; font-size: 13.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.mt-pop__liste button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.mt-pop__liste button:hover { background: var(--tint); color: var(--ink); }
.mt-pop__liste button[aria-current="true"] { background: var(--ink); color: var(--white); }
.mt-pop__liste button[aria-current="true"] span { color: inherit; opacity: .75; }

/* ---------- the reader ---------- */
.mt-leser { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(1100px, 94vw); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; border-radius: 22px 0 0 22px; background: var(--canvas); color: var(--ink); box-shadow: -30px 0 70px -24px rgba(33, 10, 14, .5); overflow: hidden; }
.mt-leser[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: mt-ein .34s var(--ease); }
.mt-leser::backdrop { background: rgba(26, 14, 11, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: mt-dunkel .3s var(--ease); }
@keyframes mt-ein { from { transform: translateX(40px); opacity: 0; } }
@keyframes mt-dunkel { from { opacity: 0; } }
.mt-leser__kopf { position: relative; padding: 22px 84px 18px 28px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.mt-leser__pfad { font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.mt-leser__pfad i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mt-leser__kopf h2 { font-size: clamp(1.4rem, 2.3vw, 2rem); letter-spacing: -.025em; line-height: 1.12; }
.mt-leser__sub { color: var(--ink-soft); font-size: 16.5px; }
.mt-leser__zu { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
.mt-leser__zu svg { width: 20px; height: 20px; }
.mt-leser__zu:hover { border-color: var(--ink); }
.mt-leser__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 0; }
.mt-leser__vorschau { position: relative; min-height: 0; background: #E8DFD3; display: grid; place-items: center; overflow: auto; }
.mt-leser__vorschau iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #E8DFD3; opacity: 0; transition: opacity .35s var(--ease); }
.mt-leser__vorschau iframe.is-da { opacity: 1; }
.mt-leser__deck { width: min(360px, 70%); padding: 32px 0; display: grid; gap: 14px; justify-items: center; }
.mt-leser__deck .mt-t__cover { width: 100%; aspect-ratio: auto; }
.mt-leser__deck .mt-t__cover.is-tuch { aspect-ratio: 5 / 7; }
.mt-leser__deck .mt-t__cover img { border-left-width: 6px; border-radius: 2px 8px 8px 2px; box-shadow: 0 2px 4px rgba(33, 26, 23, .12), 0 30px 40px -20px rgba(78, 15, 25, .55); }
.mt-leser__deck p { font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.mt-leser__seite { min-height: 0; overflow: auto; padding: 22px 24px 28px; border-left: 1px solid var(--line); background: var(--white); display: grid; align-content: start; gap: 22px; }
.mt-leser__akt { display: grid; gap: 8px; }
.mt-leser__akt .btn { width: 100%; }
.mt-leser__klein { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-leser__klein button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 13.5px/1 var(--text); cursor: pointer; }
.mt-leser__klein button:hover { border-color: var(--ink); }
.mt-leser__klein svg { width: 16px; height: 16px; }
.mt-leser__klein [aria-pressed="true"] svg { fill: #D48A1F; color: #D48A1F; }
.mt-leser dl { margin: 0; display: grid; }
.mt-leser dl div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.mt-leser dt { color: var(--ink-soft); }
.mt-leser dd { margin: 0; }
.mt-leser h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.mt-leser__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mt-leser__liste a, .mt-leser__liste button { display: grid; gap: 1px; width: 100%; padding: 8px 10px; margin-inline: -10px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 600 14.5px/1.3 var(--text); text-align: left; text-decoration: none; cursor: pointer; }
.mt-leser__liste span { font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.mt-leser__liste a:hover, .mt-leser__liste button:hover { background: var(--tint); }
.mt-leser .mt-dana { margin: 0; font-size: 14px; }
.mt-leser .mt-t__hinweis { justify-self: start; }
.mt-leser__auszug { font-size: 15.5px; color: var(--ink-soft); }

/* video in the reader (a search hit from the recordings) */
.mt-leser.is-video .mt-leser__body { grid-template-columns: minmax(0, 1fr) 340px; }
.mt-leser.is-video .mt-leser__vorschau { background: #140A08; padding: clamp(16px, 3vw, 40px); }
.mt-leser.is-video .mt-yt { width: 100%; }
.mt-leser.is-video .mt-yt__hinweis { color: rgba(255, 255, 255, .72); }

/* ---------- recordings ---------- */
/* a warm near-black (the mat of the sacred photos), so the pictures and the saffron carry the colour */
.mt-auf { padding-block: clamp(72px, 10vw, 140px); background: radial-gradient(120% 80% at 85% 0%, rgba(241, 169, 58, .1), transparent 55%), #1B1310; color: #FBEDEA; }
/* as the Mediathek's second half: right under the toolbar, so the stage is in the first screen */
.mt-auf--teil { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.mt-auf--teil .mt-auf__kopf h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.mt-auf--teil .mt-auf__kopf p { margin-top: 6px; font-size: 16px; }
.mt-auf--teil .mt-auf__buehne { margin-top: 18px; }
.mt-auf__leer { padding: 16px 8px; color: #F0D9D6; }
.mt-auf__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; }
.mt-auf__kopf h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -.03em; color: var(--white); }
.mt-auf__kopf p { margin-top: 12px; max-width: 52ch; font-size: 18px; color: #F0D9D6; }
.mt-auf__kanal { display: inline-flex; align-items: center; gap: 8px; color: #F7D49A; font-weight: 600; text-decoration: none; }
.mt-auf__kanal svg { width: 15px; height: 15px; }
.mt-auf__kanal:hover { text-decoration: underline; }
/* the lists' tabs head the list column, so switching a list shows its videos right below */
.mt-auf__reiter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mt-auf__reiter button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: none; color: #F7E5E1; font: 600 14.5px/1 var(--text); cursor: pointer; }
.mt-auf__reiter button span { opacity: .65; font-weight: 500; }
.mt-auf__reiter button:hover { border-color: rgba(255, 255, 255, .6); }
.mt-auf__reiter button[aria-selected="true"] { background: #F7D49A; border-color: #F7D49A; color: var(--ink); }
.mt-auf__reiter button:focus-visible, .mt-v:focus-visible, .mt-yt__start:focus-visible { outline: 2px solid #F7D49A; outline-offset: 3px; }
.mt-auf__buehne { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(24px, 3vw, 36px); align-items: start; }
.mt-auf__spieler { display: grid; gap: 14px; min-width: 0; }
.mt-yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: #000; box-shadow: 0 34px 60px -32px rgba(0, 0, 0, .85); }
.mt-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The picture of a recording (often a teacher) stays whole and untouched; play sits below it. */
.mt-yt__start { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.mt-yt__start img { width: 100%; height: 100%; object-fit: contain; }
.mt-yt__leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.mt-yt__play { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--saffron); color: var(--ink); font: 600 15.5px/1 var(--text); cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7); transition: background-color .16s var(--ease), transform .12s var(--ease); }
.mt-yt__play svg { width: 20px; height: 20px; }
.mt-yt__play:hover { background: #F7C063; }
.mt-yt__play:active { transform: scale(.97); }
.mt-yt__play:focus-visible { outline: 2px solid #F7D49A; outline-offset: 3px; }
.mt-yt__hinweis { flex: 1 1 260px; font-size: 13px; line-height: 1.5; color: rgba(251, 237, 234, .72); }
.mt-yt__hinweis a { color: inherit; }
.mt-auf__info { display: grid; gap: 6px; margin-top: 6px; }
.mt-auf__info h3 { font-size: clamp(1.3rem, 2.1vw, 1.8rem); letter-spacing: -.02em; color: var(--white); }
.mt-auf__wann { font-size: 14.5px; color: #F7D49A; }
.mt-auf__text { font-size: 16px; color: #F0D9D6; max-width: 68ch; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.mt-auf__text:empty { display: none; }
.mt-auf .arrow-link { color: #F7D49A; margin-top: 4px; }
.mt-auf__folge { min-width: 0; }
.mt-auf__listen { max-height: min(600px, 68vh); overflow: auto; margin-right: -8px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.mt-auf__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mt-v { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: 14px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .16s var(--ease); }
.mt-v:hover { background: rgba(255, 255, 255, .06); }
.mt-v[aria-current="true"] { background: rgba(255, 255, 255, .11); box-shadow: inset 3px 0 0 var(--saffron); }
.mt-v__bild { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: #000; }
.mt-v__bild img { width: 100%; height: 100%; object-fit: contain; }
.mt-v__text { display: grid; gap: 4px; min-width: 0; }
.mt-v__text strong { font-size: 15px; line-height: 1.3; font-weight: 600; color: var(--white); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-v__text span { font-size: 13px; color: rgba(240, 217, 214, .8); }

/* ---------- one text on its own page ---------- */
.mt-text { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 96px); }
.mt-text__pfad { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14.5px; color: var(--ink-soft); }
.mt-text__pfad a { color: inherit; font-weight: 600; }
.mt-text__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(20px, 3vw, 36px); }
.mt-text__cover { margin: 0; }
.mt-text__bild { width: 100%; height: auto; border-left: 7px solid var(--c); border-radius: 3px 12px 12px 3px; background: var(--white); box-shadow: 0 2px 4px rgba(33, 26, 23, .12), 0 36px 50px -26px rgba(78, 15, 25, .6); }
.mt-text__cover .mt-t__cover { width: 100%; aspect-ratio: 5 / 7; }
.mt-text__inhalt { display: grid; gap: 14px; align-content: start; }
.mt-text__inhalt h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.035em; line-height: 1.02; }
.mt-text__sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink-soft); }
.mt-text__lead { font-size: 18px; max-width: 58ch; }
.mt-text__akt { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 6px; }
.mt-text__fakten { margin: 0; display: grid; max-width: 640px; }
.mt-text__fakten div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.mt-text__fakten dt { color: var(--ink-soft); }
.mt-text__fakten dd { margin: 0; font-weight: 500; }
.mt-text__termine h2, .mt-text__nachbarn h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.02em; margin-bottom: 10px; }
.mt-text__termine ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mt-text__termine a { font-weight: 600; color: var(--maroon); }
.mt-text__termine span { color: var(--ink-soft); }
.mt-text__nachbarn { margin-top: clamp(48px, 7vw, 96px); }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .mt-kopf { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .mt-auf__buehne { grid-template-columns: minmax(0, 1fr); }
  /* under the stage: an up-next list, picture beside title (two columns while there is room) */
  .mt-auf__listen { max-height: none; overflow: visible; margin: 0; padding: 0; }
  .mt-auf__liste { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); column-gap: 12px; margin-inline: -8px; }
  .mt-leser__body { grid-template-columns: minmax(0, 1fr) 300px; }
  .mt-text__grid { grid-template-columns: minmax(0, 1fr); }
  .mt-text__cover { max-width: 360px; }
}
@media (max-width: 760px) {
  /* the Termine become a rail of small cards, so the search is still in the first screen */
  .mt-kopf { gap: 22px; }
  .mt-jetzt { padding: 0; background: none; border: 0; box-shadow: none; }
  .mt-jetzt__kopf { font-size: 17px; }
  .mt-jetzt__lead { display: none; }
  .mt-jetzt__liste { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 10px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .mt-jetzt__liste::-webkit-scrollbar { display: none; }
  .mt-jetzt__termin { flex: 0 0 min(80vw, 320px); scroll-snap-align: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--e1); }
  .mt-jetzt__text p { white-space: normal; }
  .mt-jetzt__zeit { display: block; margin: 1px 0 0; }
  .mt-leiste { padding-block: 10px; }
  .mt-suche { flex-basis: 100%; }
  .mt-suche input { height: 50px; font-size: 16px; }
  .mt-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
  .mt-filter::-webkit-scrollbar, .mt-unter::-webkit-scrollbar { display: none; }
  .mt-chip, .mt-sort, .mt-ansicht { flex: none; }
  .mt-unter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  /* the switch leads the chip row, so the sticky bar stays two rows high */
  .mt-teile { padding: 2px; box-shadow: none; }
  .mt-teile button { height: 34px; padding: 0 13px; font-size: 14.5px; }
  /* phones: two columns of compact cells, symbol beside the name */
  .mt-regal__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-thema { grid-template-columns: 38px minmax(0, 1fr); column-gap: 11px; row-gap: 1px; padding: 14px 12px 14px 14px; }
  .mt-thema__symbol { grid-row: span 2; width: 38px; height: 38px; margin: 0; border-radius: 11px; }
  .mt-thema__symbol svg { width: 21px; height: 21px; }
  .mt-thema__name { font-size: 14.5px; }
  .mt-thema__zahl { font-size: 12.5px; }
  .mt-thema__unter { display: none; }
  .mt-thema::before { top: 18px; }
  .mt-auf__reiter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  .mt-auf__reiter::-webkit-scrollbar { display: none; }
  .mt-auf__reiter button { flex: none; height: 36px; padding: 0 14px; font-size: 14px; }
  /* phones: the player runs edge to edge, play is one wide button, and the list follows after a rule */
  .mt-auf .mt-yt { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; box-shadow: none; }
  .mt-auf__spieler { gap: 12px; }
  .mt-yt__leiste { gap: 8px; }
  .mt-yt__play { flex: 1 1 100%; justify-content: center; height: 48px; }
  .mt-yt__hinweis { font-size: 12.5px; }
  .mt-auf__info { margin-top: 2px; }
  .mt-auf__info h3 { font-size: 1.25rem; line-height: 1.2; }
  .mt-auf__text { font-size: 15px; -webkit-line-clamp: 3; }
  .mt-auf__folge { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
  .mt-v { grid-template-columns: 128px minmax(0, 1fr); gap: 12px; }
  .mt-v__text strong { font-size: 14.5px; }
  .mt-t { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 4px; gap: 8px 10px; }
  .mt-t__link { grid-template-columns: 48px minmax(0, 1fr); gap: 13px; align-items: start; }
  .mt-t__cover { width: 48px; }
  .mt-t__titel { font-size: 16.5px; }
  .mt-t__sub { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .mt-t__akt { grid-column: 2; grid-row: 1; flex-direction: column; gap: 2px; }
  .mt-t__laden { width: 40px; padding: 0; justify-content: center; border-color: transparent; background: none; }
  .mt-t__laden span { display: none; }
  .mt-t:has(.mt-t__hinweis) .mt-t__hinweis { grid-column: 1; grid-row: 2; margin-left: 61px; }
  .mt-liste[data-ansicht="cover"] .mt-reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .mt-liste[data-ansicht="cover"] .mt-t__akt { grid-column: auto; grid-row: auto; flex-direction: row; }

  .mt-pop { inset: auto 0 0 0; width: 100%; max-height: 82dvh; border-radius: 22px 22px 0 0; border-bottom: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transition: transform .3s var(--ease), display .3s allow-discrete, overlay .3s allow-discrete; }
  .mt-pop::backdrop { background: rgba(26, 14, 11, .4); }
  .mt-pop:popover-open { transform: none; }
  @starting-style { .mt-pop:popover-open { transform: translateY(100%); } }

  .mt-leser { inset: 0; width: 100%; height: 100dvh; border-radius: 0; }
  .mt-leser[open] { animation-name: mt-hoch; }
  @keyframes mt-hoch { from { transform: translateY(32px); opacity: 0; } }
  .mt-leser__kopf { padding: 16px 70px 14px 18px; }
  .mt-leser__zu { right: 12px; top: 12px; width: 44px; height: 44px; }
  .mt-leser__body { display: block; overflow: auto; }
  .mt-leser__vorschau { overflow: visible; padding: 4px 0; }
  .mt-leser__deck { width: min(260px, 64vw); padding: 22px 0; }
  .mt-leser__seite { overflow: visible; border-left: 0; padding: 18px 18px 0; }
  .mt-leser__akt { position: sticky; bottom: 0; z-index: 2; margin-inline: -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line); order: 9; grid-template-columns: 1fr 1fr; }
  .mt-leser__seite > :last-child:not(.mt-leser__akt) { margin-bottom: 18px; }
  .mt-leser.is-video .mt-leser__vorschau { padding: 12px; }
  .mt-text__fakten div { grid-template-columns: 116px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .mt-leser[open], .mt-leser::backdrop { animation: none; }
  .mt-thema, .mt-thema::before, .mt-thema__name, .mt-thema__symbol, .mt-pop, .mt-liste[data-ansicht="cover"] .mt-t__cover { transition: none; }
  .mt-ergebnis { view-transition-name: none; }
}

@media print {
  .mt-leiste, .mt-regal, .mt-t__akt, .mt-jetzt, .mt-auf, .mt-dana { display: none !important; }
  .mt-t { break-inside: avoid; }
}
