:root{
    --bg:#0c0d12;
    --panel:#151721;
    --panel-soft:#11131a;
    --text:#f5f1e8;
    --muted:#aaa9b2;
    --accent:#ffcf4a;
    --accent-soft:#2a2211;
    --line:#292c38;
    --danger:#ffe294;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
main{min-height:75vh}
.top{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 max(24px,calc((100% - 1180px)/2));border-bottom:1px solid var(--line);background:#08090d}
.brand{display:flex;align-items:center;flex:none;white-space:nowrap;background:transparent;padding:0;border-radius:0;margin-left:26px}.brand img{display:block;height:42px;width:auto;max-width:none;object-fit:contain}
.top nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}.top nav a{color:var(--muted)}.top nav a:hover{color:var(--text)}
.wga-header-search{position:relative;flex:0 1 195px;width:195px;margin-left:auto;margin-right:auto}.wga-header-search input{width:100%;height:36px;border:1px solid #343744;border-radius:9px;background:#11131a;color:var(--text);padding:0 12px;outline:none;font-size:14px}.wga-header-search input::placeholder{color:#777b86}.wga-header-search input:focus{border-color:#6b6f7d;box-shadow:0 0 0 2px rgba(255,207,74,.10)}.wga-header-search-results{position:absolute;z-index:1000;left:0;top:calc(100% + 7px);width:min(390px,calc(100vw - 32px));overflow:hidden;border:1px solid #343744;border-radius:11px;background:#11131a;box-shadow:0 16px 42px rgba(0,0,0,.45)}.wga-header-search-results[hidden]{display:none}.wga-header-search-result{display:block;padding:10px 12px;border-bottom:1px solid #292c38;color:var(--text);text-decoration:none}.wga-header-search-result:last-child{border-bottom:0}.wga-header-search-result:hover{background:#1b1e28}.wga-header-search-result strong{display:block;font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wga-header-search-result span{display:block;margin-top:2px;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.wga-menu-toggle{display:none}
.hero{padding:90px 24px;text-align:center;background:radial-gradient(circle at 50% 0,#25202a 0,transparent 55%)}
.eyebrow,small,.media-kicker{color:var(--accent);font-weight:800;letter-spacing:1.5px}
.hero h1{font-size:clamp(46px,7vw,86px);line-height:.98;margin:12px 0 24px;letter-spacing:-4px}.hero em{font-style:normal;color:var(--accent)}
.hero>p{color:var(--muted);font-size:20px;max-width:820px;margin:0 auto;text-wrap:balance}
.search{max-width:760px;margin:32px auto 18px;display:flex;background:#fff;border-radius:14px;padding:6px;box-shadow:0 18px 50px rgba(0,0,0,.2)}
.search input{flex:1;min-width:0;border:0;outline:0;font-size:17px;padding:15px;color:#111;background:transparent}.search button{border:0;border-radius:10px;background:var(--accent);font-weight:800;padding:0 25px;color:#181200}
.warning{display:inline-block;background:var(--accent-soft);color:var(--danger);border:1px solid #57451a;padding:8px 14px;border-radius:999px}
.wrap{max-width:1180px;margin:auto;padding:52px 24px}.wrap.narrow{max-width:900px}
.muted{color:var(--muted)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h1,.section-head h2{margin-bottom:0}
.wga-home-stats{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:22px auto 0;width:100%}.wga-home-stats>a,.wga-home-stats>div{min-width:135px;padding:12px 16px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.035)}.wga-home-stats strong{display:block;font-size:1.35rem;line-height:1.1}.wga-home-stats span{display:block;margin-top:4px;opacity:.72;font-size:.9rem}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:20px}.card{display:flex;gap:16px;min-width:0;background:var(--panel);border:1px solid var(--line);padding:16px;border-radius:16px;transition:.2s}.card:hover{transform:translateY(-3px);border-color:#4a4e5d}.card>div:last-child{min-width:0}.card h3{margin:4px 0;line-height:1.35;overflow-wrap:anywhere}.card p{color:var(--muted);margin:.45rem 0 0}.card .card-action{color:var(--text);font-weight:700}
.cover{width:86px;aspect-ratio:2/3;background:#222530;border-radius:8px;display:grid;place-items:center;overflow:hidden;flex:none}.cover img{width:100%;height:100%;object-fit:cover}.cover span{font-size:38px;color:#555}.cover.big{width:170px;box-shadow:0 15px 45px rgba(0,0,0,.28)}
.catalog-toolbar{display:flex;gap:10px;margin:22px 0 28px}.catalog-toolbar input{flex:1;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);outline:none}.catalog-toolbar button{border:0;border-radius:10px;background:var(--accent);font-weight:800;padding:0 20px}
.pagination{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:34px;flex-wrap:wrap}.pagination a,.pagination span{padding:9px 13px;border:1px solid var(--line);border-radius:9px;background:var(--panel)}.pagination .current{border-color:var(--accent);color:var(--accent)}
.detail{max-width:960px}.crumb{color:var(--muted);margin-bottom:25px}.detailhead{display:flex;gap:30px;align-items:flex-start;margin-bottom:42px}.detailhead-copy{min-width:0}.detail h1{font-size:clamp(38px,6vw,58px);line-height:1.03;margin:8px 0 14px;letter-spacing:-2px}.detail-meta{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.meta-pill{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--panel-soft)}.detail section{border-top:1px solid var(--line);padding:32px 0}.detail h2{font-size:28px;line-height:1.2;margin-top:0}.answer{font-size:20px;background:var(--panel);border-left:4px solid var(--accent);padding:22px;border-radius:8px}.answer p:first-child{margin-top:0}.answer p:last-child{margin-bottom:0}
.detail section.spoiler-gate{background:linear-gradient(135deg,#171921,#121319);border:1px solid var(--line);border-radius:16px;padding:26px}.spoiler-gate h2{margin-bottom:8px}.spoiler-gate>p{color:var(--muted);max-width:720px}.spoiler-toggle{border:0;border-radius:10px;background:var(--accent);color:#171200;font-weight:900;padding:13px 18px}.spoiler-content{margin-top:22px;outline:none}.spoiler-content[hidden]{display:none}.spoiler-content h3{margin-top:28px;font-size:22px}.spoiler-content .answer{margin-top:14px}
.prose{font-size:18px;line-height:1.75}.prose p{white-space:pre-line}
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.facts div{background:var(--panel);padding:18px;border-radius:12px;border:1px solid var(--line)}
.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:640px}.data-table th,.data-table td{text-align:left;padding:11px 10px;vertical-align:top}.data-table tbody tr{border-top:1px solid rgba(255,255,255,.12)}.data-table th{color:var(--muted);font-size:.88rem;text-transform:uppercase;letter-spacing:.06em}
.cast-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cast-row{display:flex;justify-content:space-between;gap:18px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.cast-row span:last-child{color:var(--muted);text-align:right}
.provider-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.provider-group{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px}.provider-group h3{margin-top:0}.provider-list{display:flex;flex-wrap:wrap;gap:8px}.provider-list a,.provider-list span{padding:7px 10px;background:#20232d;border-radius:8px}
.related-grid .card{height:100%}.relation-note{font-size:.92rem;color:var(--muted)}
.callout-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.primary-link{display:inline-block;background:var(--accent);color:#171200;font-weight:900;padding:10px 14px;border-radius:9px}
.site-footer{border-top:1px solid var(--line);padding-top:30px;padding-bottom:30px;display:flex;justify-content:space-between;gap:20px;color:var(--muted)}.site-footer nav{display:flex;gap:7px;flex-wrap:wrap}
.empty-state{padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:14px;color:var(--muted)}

@media(max-width:760px){
    .top{position:relative;z-index:1000;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;height:auto;min-height:68px;overflow:visible;padding-top:10px;padding-bottom:10px}
    .wga-menu-toggle{display:flex;width:44px;height:44px;padding:10px;margin:0;border:0;border-radius:8px;background:transparent;color:#fff;flex-direction:column;justify-content:center;gap:5px}
    .wga-menu-toggle span{display:block;width:24px;height:2px;margin:0 auto;background:#fff;border-radius:2px;transition:transform .2s ease,opacity .2s ease}.wga-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}.wga-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.wga-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
    #wga-main-nav{display:none;flex:0 0 100%;width:100%;margin:8px 0 0;padding:8px 0 4px;border-top:1px solid rgba(255,255,255,.12)}#wga-main-nav.is-open{display:block}#wga-main-nav a{display:block;width:100%;padding:10px 0}
    .hero{padding-top:60px}.hero h1{letter-spacing:-2px}.search button{padding:0 14px}.detailhead{align-items:flex-start}.facts{grid-template-columns:1fr}.cast-grid{grid-template-columns:1fr}.site-footer{flex-direction:column}
}
@media(max-width:560px){
    .detailhead{display:block}.cover.big{width:130px;margin-bottom:22px}.catalog-toolbar{display:block}.catalog-toolbar button{width:100%;padding:12px;margin-top:9px}.card{padding:13px}.grid{grid-template-columns:1fr}.hero h1{font-size:44px}.detail h1{letter-spacing:-1px}.search{align-items:stretch}.search input{padding:13px 10px}.search button{font-size:0}.search button::after{content:'Suchen';font-size:14px}.section-head{display:block}
}
/* =========================================================
   WGA Komponenten – konsolidiert v2.1
   Keine historischen Override-Blöcke unterhalb dieser Zeile.
   ========================================================= */

/* Admin */
.admin-subnav{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:10px max(24px,calc((100% - 1180px)/2));background:#0f1118;border-bottom:1px solid var(--line)}
.admin-subnav a{display:inline-flex;align-items:center;min-height:34px;padding:6px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--muted);font-size:.9rem;font-weight:700}
.admin-subnav a:hover{color:var(--text);border-color:#4a4e5d;background:#1b1e28}
.admin-users-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto;gap:10px;margin:22px 0}
.admin-users-toolbar input,.admin-users-toolbar select{padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text)}
.admin-users-toolbar button{border:0;border-radius:10px;background:var(--accent);color:#181200;font-weight:800;padding:0 18px}
.admin-user-status{display:inline-flex;padding:3px 8px;border-radius:999px;background:#20232d;font-size:.84rem}.admin-user-verified{color:#9fe2bd}.admin-user-unverified{color:#ffcf4a}

/* Einheitliche Aktionsbuttons: Konto, Auth, Kontakt */
.account-card button,.account-card input[type="submit"],
body.wga-auth-page main form button,body.wga-auth-page main form input[type="submit"],
body.wga-contact-page main form button,body.wga-contact-page main form input[type=submit],body.wga-auth-page #passkey-login{
    appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;
    border:1px solid rgba(255,207,74,.76);border-radius:10px;background:var(--accent);color:#171200;
    font:inherit;font-size:14px;font-weight:850;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.20);
    transition:transform .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease
}
.account-card button:hover,.account-card input[type="submit"]:hover,
body.wga-auth-page main form button:hover,body.wga-auth-page main form input[type="submit"]:hover,
body.wga-contact-page main form button:hover,body.wga-contact-page main form input[type="submit"]:hover{
    background:#ffd96a;border-color:#ffe28e;box-shadow:0 8px 22px rgba(0,0,0,.27);transform:translateY(-1px)
}
.account-card button:active,.account-card input[type="submit"]:active,
body.wga-auth-page main form button:active,body.wga-auth-page main form input[type="submit"]:active,
body.wga-contact-page main form button:active,body.wga-contact-page main form input[type="submit"]:active{transform:translateY(0);box-shadow:0 3px 10px rgba(0,0,0,.18)}
.account-card button:focus-visible,.account-card input[type="submit"]:focus-visible,
body.wga-auth-page main form button:focus-visible,body.wga-auth-page main form input[type="submit"]:focus-visible,
body.wga-contact-page main form button:focus-visible,body.wga-contact-page main form input[type="submit"]:focus-visible{outline:3px solid rgba(255,207,74,.30);outline-offset:2px}

/* Konto */
.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}
.account-card{margin:0!important;padding:22px!important;border:1px solid var(--line)!important;border-radius:14px;background:var(--panel-soft)}
.account-card input[type=password]{box-sizing:border-box;width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;background:#10121a;color:var(--text);font:inherit}

/* Kontakt */
body.wga-contact-page main>.wrap,body.wga-contact-page main .wrap.detail{max-width:960px}
body.wga-contact-page main form{width:min(100%,720px);margin:26px 0 0;padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--panel-soft);box-shadow:0 18px 45px rgba(0,0,0,.16)}
body.wga-contact-page main form p{margin:0 0 18px}
body.wga-contact-page main form label{display:block;margin:0 0 7px;color:var(--text);font-weight:750}
body.wga-contact-page main form input[type="text"],body.wga-contact-page main form input[type="email"],body.wga-contact-page main form input[type="url"],body.wga-contact-page main form input[type="tel"],body.wga-contact-page main form input:not([type]),body.wga-contact-page main form select,body.wga-contact-page main form textarea{width:100%;max-width:none;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#10121a;color:var(--text);font:inherit;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}
body.wga-contact-page main form textarea{min-height:190px;resize:vertical;line-height:1.55}
body.wga-contact-page main form input:focus,body.wga-contact-page main form select:focus,body.wga-contact-page main form textarea:focus{border-color:rgba(255,207,74,.72);background:#12151e;box-shadow:0 0 0 3px rgba(255,207,74,.12)}
body.wga-contact-page main form .cf-turnstile{margin:4px 0 18px}
body.wga-contact-page main form a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}

/* Impressum */

/* Startseite: Häufig gesucht – wie Bücher, 2 Karten pro Zeile */
.wga-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.wga-featured-grid .card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:start;min-height:220px;padding:16px}
.wga-featured-grid .card>div:last-child{display:block;min-width:0}
.wga-featured-grid .card .cover{width:112px;height:auto;aspect-ratio:2/3;align-self:start;margin:0;border-radius:10px;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.26)}
.wga-featured-grid .card .cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.wga-featured-grid .card h3{margin:3px 0 8px;line-height:1.3;overflow-wrap:normal;word-break:normal;hyphens:auto}
.wga-featured-grid .card p{margin:.45rem 0 0}
.wga-featured-grid .card .card-action{margin-top:14px}

/* Bücher: bewusst 2 Karten pro Zeile */
body.wga-books-page .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.wga-books-page .card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:start;min-height:220px;padding:16px}
body.wga-books-page .card .cover{width:112px;height:auto;aspect-ratio:2/3;align-self:start}
body.wga-books-page .card .cover img{width:100%;height:100%;object-fit:cover}
body.wga-books-page .card h3{margin:3px 0 8px;line-height:1.3;overflow-wrap:normal;word-break:normal;hyphens:auto}

@media(max-width:900px){.wga-featured-grid{grid-template-columns:1fr}}
@media(max-width:760px){.admin-subnav{overflow-x:auto;flex-wrap:nowrap}.admin-subnav a{white-space:nowrap}.admin-users-toolbar{grid-template-columns:1fr}.admin-users-toolbar button{padding:11px 16px}.account-grid{grid-template-columns:1fr}body.wga-contact-page main form{padding:20px;border-radius:14px}body.wga-books-page .grid{grid-template-columns:1fr}}
@media(max-width:620px){.wga-featured-grid .card{grid-template-columns:96px minmax(0,1fr);gap:14px}.wga-featured-grid .card .cover{width:96px}}
/* =========================================================
   WGA Work Card Component v1.0.0
   Updated 2026-09-26
   Contract: markup only via includes/work_card.php.
   ========================================================= */
.wga-work-card__body{min-width:0}
.wga-work-card__topline{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.wga-work-card__status{display:inline-flex;align-items:center;flex:none;padding:3px 7px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.04em;white-space:nowrap}
.wga-work-card__status.is-ready{border-color:rgba(255,207,74,.48);color:var(--accent);background:rgba(255,207,74,.06)}
.wga-work-card__status.is-missing{opacity:.78}
.wga-work-card__meta,.wga-work-card__secondary{overflow-wrap:anywhere}
.wga-work-card__fallback{font-size:.76rem!important;font-weight:900;letter-spacing:.06em;color:var(--muted)!important}

/* Filmkatalog: zentrale Variante, nicht in filme.php überschreiben. */
.catalog-movies .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.catalog-movies .wga-work-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:15px;align-items:start;min-height:174px;padding:15px}
.catalog-movies .wga-work-card__cover{width:96px;aspect-ratio:2/3;height:auto;align-self:start;overflow:hidden;border-radius:8px}
.catalog-movies .wga-work-card__cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.catalog-movies .wga-work-card__cover>span{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.catalog-movies .card-body{min-width:0;min-height:144px;display:flex;flex-direction:column;align-items:flex-start}
.catalog-movies .card-body>small{display:block;margin:1px 0 7px}
.catalog-movies .wga-work-card h3{margin:0 0 8px;line-height:1.28;overflow-wrap:anywhere}
.catalog-movies .wga-work-card .movie-meta{margin:0;line-height:1.45}
.catalog-movies .card-action{margin-top:auto;padding-top:12px}
@media(max-width:900px){.catalog-movies .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.catalog-movies .grid{grid-template-columns:1fr}.catalog-movies .wga-work-card{grid-template-columns:88px minmax(0,1fr);min-height:160px}.catalog-movies .wga-work-card__cover{width:88px}.catalog-movies .card-body{min-height:132px}}

@media(max-width:960px){.wga-header-search{flex-basis:160px;width:160px}.top nav{gap:13px}}

@media(max-width:760px){.wga-header-search{display:none}.brand{margin-left:0}}

/* =========================================================
   WGA LIGHT THEME v1
   System/Light/Dark selection is controlled by assets/js/app.js.
   ========================================================= */
html[data-theme="light"]{
    --bg:#f6f1e7; --panel:#fffdfa; --panel-soft:#f1ece3; --text:#1b1c21;
    --muted:#676772; --accent:#d79f00; --accent-soft:#fff0be; --line:#d9d1c4; --danger:#6f5200;
}
html[data-theme="light"] body{background:var(--bg);color:var(--text)}
html[data-theme="light"] .top{background:#fffdfa}
html[data-theme="light"] .wga-header-search input{border-color:#cec6ba;background:#fff;color:var(--text)}
html[data-theme="light"] .wga-header-search input::placeholder{color:#77737a}
html[data-theme="light"] .wga-header-search input:focus{border-color:#a88b38;box-shadow:0 0 0 2px rgba(215,159,0,.14)}
html[data-theme="light"] .wga-header-search-results{border-color:#d6cec1;background:#fffdfa;box-shadow:0 16px 42px rgba(65,49,20,.16)}
html[data-theme="light"] .wga-header-search-result{border-bottom-color:#e4ddd2}
html[data-theme="light"] .wga-header-search-result:hover{background:#f3eee5}
html[data-theme="light"] .hero{background:radial-gradient(circle at 50% 0,#fff4cf 0,transparent 55%)}
html[data-theme="light"] .wga-home-stats>a,html[data-theme="light"] .wga-home-stats>div{border-color:rgba(40,34,24,.12);background:rgba(255,255,255,.58)}
html[data-theme="light"] .card:hover{border-color:#b9ac99}
html[data-theme="light"] .cover{background:#e8e1d6}
html[data-theme="light"] .cover span{color:#969087}
html[data-theme="light"] .detail section.spoiler-gate{background:linear-gradient(135deg,#fffdf8,#f2ede4)}
html[data-theme="light"] .data-table tbody tr{border-top-color:rgba(40,34,24,.13)}
html[data-theme="light"] .provider-list a,html[data-theme="light"] .provider-list span{background:#ece5da}
html[data-theme="light"] .admin-subnav{background:#eee8df}
html[data-theme="light"] .admin-subnav a:hover{border-color:#b9ac99;background:#e4ddd2}
html[data-theme="light"] .admin-user-status{background:#ece5da}
html[data-theme="light"] .account-card input[type=password],
html[data-theme="light"] body.wga-contact-page main form input[type="text"],
html[data-theme="light"] body.wga-contact-page main form input[type="email"],
html[data-theme="light"] body.wga-contact-page main form input[type="url"],
html[data-theme="light"] body.wga-contact-page main form input[type="tel"],
html[data-theme="light"] body.wga-contact-page main form input:not([type]),
html[data-theme="light"] body.wga-contact-page main form select,
html[data-theme="light"] body.wga-contact-page main form textarea{background:#fffdfa}
html[data-theme="light"] body.wga-contact-page main form input:focus,
html[data-theme="light"] body.wga-contact-page main form select:focus,
html[data-theme="light"] body.wga-contact-page main form textarea:focus{background:#fff}
html[data-theme="light"] .wga-menu-toggle{color:var(--text)}
html[data-theme="light"] .wga-menu-toggle span{background:var(--text)}
html[data-theme="light"] #wga-main-nav{border-top-color:rgba(40,34,24,.14)}
.wga-theme-control{position:relative;display:flex;align-items:center;flex:none}
.wga-theme-button{width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);color:var(--text);box-shadow:none}
.wga-theme-button:hover{border-color:#4a4e5d;background:#1b1e28}
.wga-theme-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.wga-theme-icon{font-size:19px;line-height:1}
.wga-theme-menu{position:absolute;z-index:1100;top:calc(100% + 8px);right:0;min-width:142px;padding:6px;border:1px solid var(--line);border-radius:11px;background:var(--panel);box-shadow:0 14px 36px rgba(0,0,0,.28)}
.wga-theme-menu[hidden]{display:none}
.wga-theme-menu button{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:var(--text);font-size:13px;font-weight:700;text-align:left}
.wga-theme-menu button span{width:18px;text-align:center;font-size:16px}
.wga-theme-menu button:hover,.wga-theme-menu button.is-active{background:var(--panel-soft)}
.wga-theme-menu button.is-active::after{content:'✓';margin-left:auto;color:var(--accent);font-weight:900}
html[data-theme="light"] .wga-theme-button:hover{border-color:#b9ac99;background:#f3eee5}
html[data-theme="light"] .wga-theme-menu{background:#fffdfa;box-shadow:0 14px 36px rgba(65,49,20,.16)}
html[data-theme="light"] .wga-theme-menu button:hover,html[data-theme="light"] .wga-theme-menu button.is-active{background:#f3eee5}
@media(max-width:760px){.wga-theme-control{margin-left:auto}}

/* WGA header alignment + theme placement v2 */
.top{justify-content:flex-start}
.brand{margin-left:0}
.wga-header-search{margin-left:0;margin-right:0}
.top nav{margin-left:auto;flex-wrap:nowrap}
.wga-theme-control{margin-left:0}
@media(max-width:1100px){
    .top nav{gap:13px}
}
@media(max-width:760px){
    .top{justify-content:space-between}
    .top nav{margin-left:0}
    .wga-theme-control{margin-left:auto}
}

/* WGA theme onboarding hint */
.wga-theme-hint{position:absolute;z-index:1095;top:calc(100% + 10px);right:0;width:min(290px,calc(100vw - 24px));padding:13px 38px 12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);box-shadow:0 14px 36px rgba(0,0,0,.30);font-size:13px;line-height:1.4}
.wga-theme-hint[hidden]{display:none}
.wga-theme-hint::before{content:'';position:absolute;right:13px;top:-6px;width:10px;height:10px;border-left:1px solid var(--line);border-top:1px solid var(--line);background:var(--panel);transform:rotate(45deg)}
.wga-theme-hint strong,.wga-theme-hint span,.wga-theme-hint small{display:block}
.wga-theme-hint strong{margin:0 0 4px;font-size:13px}
.wga-theme-hint span{color:var(--muted)}
.wga-theme-hint small{margin-top:7px;color:var(--muted);font-size:11px}
.wga-theme-hint small b{color:var(--accent)}
.wga-theme-hint-close{position:absolute;z-index:1;top:7px;right:8px;width:25px;height:25px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:20px;line-height:1;box-shadow:none}
.wga-theme-hint-close:hover{background:var(--panel-soft);color:var(--text)}
.wga-theme-hint-close:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
html[data-theme="light"] .wga-theme-hint{background:#fffdfa;box-shadow:0 14px 36px rgba(65,49,20,.16)}
html[data-theme="light"] .wga-theme-hint::before{background:#fffdfa}
html[data-theme="light"] .wga-theme-hint-close:hover{background:#f3eee5}

/* WGA detail info containers */
.detail-director-box{display:inline-block;margin:12px 0 0;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft);line-height:1.35}
.synopsis-section .synopsis-card{padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--panel-soft)}
.synopsis-section .synopsis-card p{margin:0}
html[data-theme="light"] .detail-director-box,
html[data-theme="light"] .synopsis-section .synopsis-card{background:#fffdfa}

/* WGA detail remaining containers */
.detail-table-card,
.detail-action-card{border:1px solid var(--line);border-radius:12px;background:var(--panel-soft)}
.detail-table-card{padding:0 12px 12px;overflow-x:auto}
.detail-action-card{padding:16px 18px}
.detail-action-card p{margin-top:0}
.detail-action-card .callout-actions{margin-bottom:0}
html[data-theme="light"] .detail-table-card,
html[data-theme="light"] .detail-action-card{background:#fffdfa}

/* WGA book head facts */
.book-head-copy{flex:1 1 auto}
.book-head-facts{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.book-head-facts>div{min-width:118px;max-width:220px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft)}
.book-head-facts>div.book-head-fact-wide{max-width:290px}
.book-head-facts span,.book-head-facts strong{display:block}
.book-head-facts span{margin-bottom:3px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
/* Keep book-data labels whole; let fact cards use the needed width. */
.detailhead .book-head-facts > div > span{overflow-wrap:normal;word-break:normal;hyphens:none;white-space:normal}
@media (max-width:859px){.detailhead .book-head-facts > div{min-width:min(100%,200px)}}
.book-head-facts strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
html[data-theme="light"] .book-head-facts>div{background:#fffdfa}
@media(max-width:760px){.book-head-facts{margin-top:14px}.book-head-facts>div{flex:1 1 135px;max-width:none}}

/* Spoiler-only metadata */
.spoiler-content .spoiler-facts{margin-top:22px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.spoiler-content .spoiler-facts{grid-template-columns:1fr}}

/* WGA commerce links */
.book-commerce-links{margin-top:14px}
.commerce-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.commerce-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font-weight:800;text-decoration:none;line-height:1;white-space:nowrap}
.commerce-button:hover{border-color:var(--accent);filter:brightness(.98)}
.commerce-button-amazon{border-color:var(--accent);background:var(--accent);color:#111}
.commerce-button-amazon:hover{filter:brightness(.96)}

/* WGA film compact info row */
.detail-info-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.detail-info-row .detail-director-box{margin:0}
.detail-info-row .commerce-links-compact{display:inline-flex;flex-wrap:nowrap;gap:8px}
@media(max-width:760px){.detail-info-row .commerce-links-compact{flex-wrap:wrap}}

/* WGA detail header container */
.detailhead{padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft)}
html[data-theme="light"] .detailhead{background:#fffdfa}
@media(max-width:760px){.detailhead{padding:16px}}

/* WGA desktop header compact nowrap 2026-10-02 */
@media(min-width:761px){
  .top{gap:16px}
  .wga-header-search{flex-basis:170px;width:170px}
  .top nav{gap:10px}
  .top nav a{white-space:nowrap;font-size:.93rem}
}


/* WGA compact author/director context box */
.person-box{margin:18px 0 26px;padding:22px 26px;border:1px solid var(--line);border-radius:12px;background:var(--panel-soft)}
.person-box-title{margin-bottom:10px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.person-box-inline{margin:10px 0 14px}
.person-box-inline .person-box-title{margin-bottom:6px}
.person-box-inline .person-box-list{gap:0}
.person-box-inline .person-box-person{min-width:0;gap:9px}
.person-box-inline .person-box-person img{width:42px;height:42px;border-radius:7px}
.person-box-inline .person-box-main{gap:1px}
.person-box-inline .person-box-main strong{font-size:13px}
.person-box-inline .person-box-main span{font-size:11px}
.person-box-list{display:flex;flex-wrap:wrap;gap:14px}
.person-box-person{display:flex;align-items:center;gap:11px;min-width:230px}
.person-box-person img{width:58px;height:58px;object-fit:cover;border-radius:9px;border:1px solid var(--line);background:var(--panel)}
.person-box-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.person-box-main strong{font-size:14px;line-height:1.25}
.person-box-main span{font-size:12px;color:var(--muted);line-height:1.35}
.person-box-links{margin-top:3px}
.person-box-links a{color:inherit;text-decoration:underline;text-underline-offset:2px}
html[data-theme="light"] .person-box{background:#fffdfa}
@media(max-width:760px){.person-box{padding:12px}.person-box-person{min-width:0;width:100%}}

/* Book detail header: keep title broad, align author and book facts as two compact columns. */
@media (min-width: 860px){
  .detailhead .book-head-copy{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(250px,290px);
    grid-template-areas:
      "kicker kicker"
      "title title"
      "author facts"
      "meta facts"
      "original facts"
      "commerce commerce";
    column-gap:30px;
    row-gap:8px;
    align-content:start;
  }
  .detailhead .book-head-copy > small{grid-area:kicker;margin:0 0 2px}
  .detailhead .book-head-copy > h1{grid-area:title;margin:0 0 8px;max-width:none;line-height:1.03}
  .detailhead .book-head-copy > .person-box-inline{grid-area:author;align-self:start;margin:0}
  .detailhead .book-head-copy > .detail-meta{grid-area:meta;margin:0}
  .detailhead .book-head-copy > p{grid-area:original;margin:0}
  .detailhead .book-head-copy > .book-head-facts{
    grid-area:facts;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin:0;
    align-self:start;
  }
  .detailhead .book-head-copy > .book-head-facts > div{min-width:0}
  .detailhead .book-head-copy > .book-head-facts > .book-head-fact-wide{grid-column:1/-1}
  .detailhead .book-head-copy > .book-commerce-links{grid-area:commerce;margin-top:8px}
}
@media (max-width: 859px){
  .detailhead .book-head-copy{display:block}
  .detailhead .book-head-copy > .book-head-facts{margin-top:18px}
}

/* Book detail header v2: compact vertical flow; no artificial author/facts split. */
@media (min-width: 860px){
  .detailhead .book-head-copy{
    display:block;
  }
  .detailhead .book-head-copy > small{display:block;margin:0 0 8px}
  .detailhead .book-head-copy > h1{margin:0 0 18px;max-width:none;line-height:1.03}
  .detailhead .book-head-copy > .person-box-inline{margin:0 0 18px;max-width:none}
  .detailhead .book-head-copy > .detail-meta{margin:0 0 12px}
  .detailhead .book-head-copy > p{margin:0 0 14px}
  .detailhead .book-head-copy > .book-head-facts{
    display:grid;
    grid-template-columns:minmax(135px,.9fr) minmax(135px,.9fr) minmax(135px,.9fr) minmax(190px,1.45fr);
    gap:10px;
    margin:0 0 16px;
    align-items:stretch;
  }
  .detailhead .book-head-copy > .book-head-facts > div,
  .detailhead .book-head-copy > .book-head-facts > .book-head-fact-wide{
    grid-column:auto;
    min-width:0;
    height:100%;
  }
  .detailhead .book-head-copy > .book-commerce-links{margin:0}
}
@media (min-width: 860px) and (max-width: 1080px){
  .detailhead .book-head-copy > .book-head-facts{
    grid-template-columns:repeat(3,minmax(130px,1fr));
  }
  .detailhead .book-head-copy > .book-head-facts > .book-head-fact-wide{grid-column:1/-1}
}
/* Allocate enough room for whole book-data labels at every desktop width. */
@media (min-width:860px){
  .detailhead .book-head-copy > .book-head-facts{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr))}
}

/* Larger author/director portrait in inline person box. */
.person-box-inline .person-box-person > img{
  width:60px;
  height:60px;
  flex:0 0 60px;
  object-fit:cover;
  border-radius:10px;
  margin-right:12px;
}
.person-box-inline .person-box-person{
  align-items:center;
}

/* Book author + purchase actions on one compact row. */
.book-author-commerce{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin:0 0 18px;
}
.book-author-commerce > .person-box-inline{
  margin:0;
  min-width:0;
}
.book-author-commerce > .book-commerce-links{
  margin:0;
  flex:0 0 auto;
  align-self:flex-end;
}
@media (max-width: 859px){
  .book-author-commerce{
    display:block;
  }
  .book-author-commerce > .book-commerce-links{
    margin-top:14px;
  }
}
.site-footer nav{gap:5px;font-size:.90rem;align-items:baseline}
.site-footer nav>small{border-left:1px solid var(--line);padding-left:12px;margin-left:10px}

/* WGA submission form: consistent controls and spacing */
#ending-submission-form{max-width:920px}
#ending-submission-form>p{margin:0 0 18px}
#ending-submission-form label{display:block;font-weight:600;line-height:1.35}
#ending-submission-form input:not([type=checkbox]):not([type=radio]),
#ending-submission-form select,
#ending-submission-form textarea{box-sizing:border-box;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #8d8d8d;border-radius:7px;background:#fff;color:#171717;font:inherit;line-height:1.4}
#ending-submission-form input:not([type=checkbox]):not([type=radio]),
#ending-submission-form select{min-height:48px}
#ending-submission-form textarea{min-height:190px;resize:vertical}
#ending-submission-form input:focus,
#ending-submission-form select:focus,
#ending-submission-form textarea:focus{outline:3px solid rgba(178,121,0,.18);outline-offset:1px;border-color:#8b6200}
.submission-lead,.submission-note{max-width:920px;line-height:1.6}
#submission-auth-box{display:block;max-width:920px;box-sizing:border-box;margin:16px 0 10px;padding:12px 16px;line-height:1.4}
.submission-auth-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.submission-auth-actions button{padding:9px 14px;border-radius:7px;font:inherit;cursor:pointer}
#ending-submission-form>p>button[type=submit]{border-radius:8px}
@media(max-width:760px){#ending-submission-form{max-width:none}.submission-auth-actions button{flex:1 1 auto}}

/* Selber spoilern: Aktionsbuttons wie Login */
#ending-submission-form button,
.submission-auth-actions button{
 appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;
 border:1px solid rgba(255,207,74,.76);border-radius:10px;background:var(--accent);color:#171200;
 font:inherit;font-size:14px;font-weight:850;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.20);
 transition:transform .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease
}
#ending-submission-form button:hover,.submission-auth-actions button:hover{background:#ffd96a;border-color:#ffe28e;box-shadow:0 8px 22px rgba(0,0,0,.27);transform:translateY(-1px)}
#ending-submission-form button:active,.submission-auth-actions button:active{transform:translateY(0);box-shadow:0 3px 10px rgba(0,0,0,.18)}
#ending-submission-form button:focus-visible,.submission-auth-actions button:focus-visible{outline:3px solid rgba(255,207,74,.30);outline-offset:2px}

/* TV-Serie: Inhaltsbereiche als eigenständige Container */
.detail section.series-content-card{border:1px solid var(--line);border-radius:14px;background:var(--panel-soft);padding:24px 26px;margin:22px 0}
.detail section.series-content-card h2{margin-bottom:18px}
.detail section.series-content-card .prose p:first-child{margin-top:0}
.detail section.series-content-card .prose p:last-child{margin-bottom:0}
html[data-theme="light"] .detail section.series-content-card{background:#fffdfa}
@media(max-width:760px){.detail section.series-content-card{padding:20px 18px}}
.series-head-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:.55rem;margin-top:.8rem;max-width:42rem}
.series-head-facts>div{display:grid;grid-template-columns:minmax(7rem,9rem) minmax(0,1fr);gap:.75rem;align-items:start}
.series-head-facts span{color:var(--muted);font-size:.85rem}
.series-head-facts strong{font-weight:600;line-height:1.35}
@media(max-width:640px){.series-head-facts>div{grid-template-columns:1fr;gap:.1rem}}
.series-cover-column{display:flex;flex-direction:column;align-items:stretch;gap:.65rem}
.series-cover-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:.45rem}
/* TV series: keep the complete metadata strip compact beside the cover. */
.series-meta-row{display:flex;flex-wrap:nowrap;gap:.35rem;align-items:center}
.series-meta-row .meta-pill{font-size:.78rem;padding:.32rem .55rem;white-space:nowrap}
@media(max-width:900px){.series-meta-row{flex-wrap:wrap}}
/* Series metadata must stay inside the hero; wrap long rows naturally. */
.series-meta-row{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;max-width:100%;min-width:0}
.series-meta-row .meta-pill{font-size:.78rem;padding:.32rem .55rem;white-space:nowrap;max-width:100%}
@media(max-width:600px){.series-meta-row .meta-pill{white-space:normal;overflow-wrap:anywhere}}


/* Quellen & Hinweise */
.sources-page{max-width:960px}
.sources-page .sources-page__head{margin-bottom:28px}
.sources-page .sources-page__intro{max-width:680px;margin:14px 0 0;color:var(--muted);font-size:17px;line-height:1.6}
.sources-page .sources-grid{display:grid;gap:16px}
.sources-page .source-card{
  display:grid;
  grid-template-columns:110px minmax(0,1fr);
  gap:24px;
  align-items:start;
  margin:0;
  padding:24px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel);
}
.sources-page .source-card__logo,.sources-page .source-card__mark{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel-soft);
}
.sources-page .source-card__logo img{display:block;width:78px;max-width:100%;height:auto}
.sources-page .source-card__mark{font-size:28px;font-weight:900;letter-spacing:-1px;color:var(--text)}
.sources-page .source-card__content{min-width:0;padding:2px 0}
.sources-page .source-card__eyebrow,.sources-page .rights-note small{
  display:block;
  margin-bottom:7px;
  color:var(--accent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.11em;
}
.sources-page .source-card h2{
  margin:0 0 10px;
  font-size:25px;
}
.sources-page .source-card h2 span{font-weight:600;color:var(--muted)}
.sources-page .source-card p{max-width:680px;margin:0 0 14px;color:var(--muted);line-height:1.6}
.sources-page .source-card__link{display:inline-flex;align-items:center;gap:7px;font-weight:800}
.sources-page .rights-note{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:16px;
  align-items:start;
  margin-top:22px;
  padding:22px 24px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel-soft);
}
.sources-page .rights-note__icon{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:10px;
  background:var(--panel);
  border:1px solid var(--line);
  font-size:22px;font-weight:900;
}
.sources-page .rights-note h2{margin:0 0 7px;font-size:22px}
.sources-page .rights-note p{margin:0;color:var(--muted);line-height:1.6}
html[data-theme="light"] .sources-page .source-card,
html[data-theme="light"] .sources-page .rights-note__icon{background:#fffdfa}
@media(max-width:620px){
  .sources-page .sources-page__head{margin-bottom:22px}
  .sources-page .source-card{grid-template-columns:1fr;gap:16px;padding:18px}
  .sources-page .source-card__logo,.sources-page .source-card__mark{width:104px;min-height:72px}
  .sources-page .source-card__logo img{width:68px}
  .sources-page .rights-note{grid-template-columns:1fr;padding:18px}
}

/* WGA coverless movie layout 20261011: film cards only */
#suche .grid > .card:not(:has(.cover)){display:flex;flex-direction:column;min-height:190px;border-left:4px solid var(--accent,#c99d61);padding:22px}
#suche .grid > .card:not(:has(.cover)) > div{display:flex;flex-direction:column;flex:1;min-width:0}
#suche .grid > .card:not(:has(.cover)) h3{font-size:clamp(20px,2vw,25px);line-height:1.2;overflow-wrap:anywhere;margin:8px 0}
#suche .grid > .card:not(:has(.cover)) .card-action{margin-top:auto;padding-top:18px}
.detailhead.wga-film-coverless .detailhead-copy{width:100%;max-width:none}
.detailhead.wga-film-coverless{border-left:4px solid var(--accent,#c99d61)}

/* WGA film and TV catalog: consistent titles at left, affiliate covers at right. */
.catalog-movies .wga-work-card,.catalog-series .wga-work-card{display:grid;grid-template-columns:minmax(0,1fr) 96px;grid-template-rows:1fr;column-gap:14px;min-height:224px;padding:20px;border-left:4px solid var(--accent,#c99d61);align-items:stretch}
.catalog-movies .wga-work-card:not(:has(> .wga-work-card__cover)),.catalog-series .wga-work-card:not(:has(> .wga-work-card__cover)){grid-template-columns:minmax(0,1fr)}
.catalog-movies .wga-work-card .wga-work-card__cover,.catalog-series .wga-work-card .wga-work-card__cover{grid-column:2;grid-row:1;width:96px;height:144px;aspect-ratio:2/3;margin:0;justify-self:end;align-self:start}
.catalog-movies .wga-work-card .wga-work-card__cover img,.catalog-series .wga-work-card .wga-work-card__cover img{display:block;width:100%;height:100%;object-fit:cover}
.catalog-movies .wga-work-card .card-body,.catalog-series .wga-work-card .card-body{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;min-height:180px;width:100%;min-width:0}
.catalog-movies .wga-work-card h3,.catalog-series .wga-work-card h3{font-size:clamp(20px,2vw,24px);line-height:1.2;overflow-wrap:anywhere;margin:9px 0}
.catalog-movies .wga-work-card .card-action,.catalog-series .wga-work-card .card-action{margin-top:auto;padding-top:16px}
.catalog-series .grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr))}
@media(max-width:600px){.catalog-movies .wga-work-card,.catalog-series .wga-work-card{min-height:202px;padding:16px;column-gap:12px;grid-template-columns:minmax(0,1fr) 88px}.catalog-movies .wga-work-card .wga-work-card__cover,.catalog-series .wga-work-card .wga-work-card__cover{width:88px;height:132px}.catalog-movies .wga-work-card .card-body,.catalog-series .wga-work-card .card-body{min-height:166px}}

/* WGA film and TV detail headers: compact, consistent layout (2026-10-11) */
.detail .wga-media-detailhead{display:flex;gap:22px;align-items:flex-start;padding:20px 22px;margin-bottom:28px}
.detail .wga-media-detailhead .detailhead-copy{flex:1 1 0;min-width:0;width:auto;max-width:none}
.detail .wga-media-detailhead .detailhead-copy>small{display:block;margin-bottom:4px}
.detail .wga-media-detailhead .detailhead-copy h1{font-size:clamp(30px,3.2vw,42px);line-height:1.1;letter-spacing:-.035em;margin:3px 0 13px;overflow-wrap:break-word}
.detail .wga-media-detailhead>.cover.big{flex:0 0 148px}
.detail .wga-media-detailhead .series-cover-column{flex:0 0 148px;width:148px}
.detail .wga-media-detailhead .cover.big{width:148px;height:auto;aspect-ratio:2/3;margin:0;overflow:hidden}
.detail .wga-media-detailhead .cover.big img{display:block;width:100%;height:100%;object-fit:contain}
.detail .wga-media-detailhead .person-box-inline{margin:6px 0 10px}
.detail .wga-media-detailhead .detail-meta{margin:10px 0 12px;gap:7px}
.detail .wga-media-detailhead .detail-info-row{margin:10px 0}
.detail .wga-media-detailhead .detailhead-copy>p{margin:9px 0 0}
@media(max-width:600px){
  .detail .wga-media-detailhead{flex-direction:column;gap:15px;padding:16px}
  .detail .wga-media-detailhead>.cover.big{flex:0 0 auto}
  .detail .wga-media-detailhead .series-cover-column{flex:0 0 auto;width:120px}
  .detail .wga-media-detailhead .cover.big{width:120px;height:180px}
  .detail .wga-media-detailhead .detailhead-copy{width:100%}
  .detail .wga-media-detailhead .detailhead-copy h1{font-size:clamp(28px,7vw,36px);line-height:1.12;letter-spacing:-.03em}
}

/* WGA film header: use the wide area beside the poster instead of stacking details. */
.detail .wga-media-detailhead .wga-film-info-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(265px,.95fr);gap:22px;align-items:start}
.detail .wga-media-detailhead .wga-film-primary,.detail .wga-media-detailhead .wga-film-aside{min-width:0}
.detail .wga-media-detailhead .wga-film-primary>p{margin:6px 0 13px}
.detail .wga-media-detailhead .wga-film-primary>.detail-meta{margin:8px 0 14px}
.detail .wga-media-detailhead .wga-film-aside .person-box-inline{margin:0 0 14px}
.detail .wga-media-detailhead .wga-film-aside .detail-info-row{margin:0}
.detail .wga-media-detailhead .wga-film-aside .commerce-links{display:flex;flex-wrap:wrap;gap:7px}
@media(max-width:960px){
  .detail .wga-media-detailhead .wga-film-info-columns{grid-template-columns:minmax(0,1fr);gap:12px}
  .detail .wga-media-detailhead .wga-film-aside .person-box-inline{margin:0 0 12px}
}

/* WGA detail hero: uniform, restrained information cards (books/films/series/games/audioplays). */
.detail .detailhead{box-shadow:0 10px 28px rgba(0,0,0,.045)}
.detail .detailhead .person-box-inline{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  max-width:100%;
  min-width:0;
  padding:11px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--panel-soft);
}
.detail .detailhead .person-box-inline .person-box-list,
.detail .detailhead .person-box-inline .person-box-person{max-width:100%}
.detail .book-author-commerce{flex-wrap:wrap}
.detail .wga-media-detailhead .wga-game-metadata{
  display:inline-flex;
  flex-direction:column;
  gap:3px;
  max-width:100%;
  padding:10px 14px;
  margin:6px 0 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--panel-soft);
}
.detail .wga-media-detailhead .wga-game-metadata p{
  margin:0;
  font-size:13px;
  line-height:1.55;
  overflow-wrap:normal;
  word-break:normal;
}
.detail.wga-audioplay-detail .wga-media-detailhead .detailhead-copy > p.muted:not(.wga-media-commerce-note){
  display:block;
  width:fit-content;
  max-width:100%;
  padding:9px 12px;
  margin:7px 0 9px;
  font-size:13px;
  line-height:1.5;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--panel-soft);
  overflow-wrap:normal;
  word-break:normal;
}
.detail .wga-media-detailhead .series-meta-row .meta-pill{
  border-radius:9px;
  padding:7px 11px;
  line-height:1.45;
  white-space:normal;
}
html[data-theme="light"] .detail .detailhead .person-box-inline,
html[data-theme="light"] .detail .wga-media-detailhead .wga-game-metadata,
html[data-theme="light"] .detail.wga-audioplay-detail .wga-media-detailhead .detailhead-copy > p.muted:not(.wga-media-commerce-note){background:#fffdfa}
@media(max-width:600px){
  .detail .detailhead .person-box-inline{width:100%}
  .detail .wga-media-detailhead .wga-game-metadata{width:100%}
}

/* WGA detail pages: one consistent outer card per section, not mixed framed/unframed blocks. */
.detail > .crumb{
  margin:0 0 16px;
  padding:11px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel-soft);
  line-height:1.45;
  overflow-wrap:normal;
  word-break:normal;
}
.detail > .detailhead{margin-bottom:20px}
.detail > section:not(.spoiler-gate):not(.series-content-card){
  margin:0 0 20px;
  padding:24px 26px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel-soft);
}
.detail > section.series-content-card,
.detail > section.spoiler-gate{margin:0 0 20px}
.detail > section > h2:first-child{margin-top:0}
.detail > section.synopsis-section > .synopsis-card,
.detail > section.contribute-section > .detail-action-card{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.detail > section.synopsis-section > .synopsis-card p:first-child,
.detail > section.contribute-section > .detail-action-card p:first-child{margin-top:0}
html[data-theme="light"] .detail > .crumb,
html[data-theme="light"] .detail > section:not(.spoiler-gate):not(.series-content-card){background:#fffdfa}
@media(max-width:760px){
  .detail > .crumb{padding:10px 13px}
  .detail > section:not(.spoiler-gate):not(.series-content-card){padding:19px 18px}
}

/* Einheitliche Container ausschließlich für die fünf WGA-Kataloge. */
.catalog-books > .wga-catalog-intro,
.catalog-movies > .wga-catalog-intro,
.catalog-series > .wga-catalog-intro,
.catalog-media > .wga-catalog-intro,
.catalog-audioplay > .wga-catalog-series-panel{
  min-width:0;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel);
  padding:26px 28px;
  margin:0 0 24px;
}
.catalog-audioplay > .wga-catalog-series-panel{margin-top:0}
.wga-catalog-intro > .section-head{margin-bottom:18px}
.wga-catalog-intro > p{margin:0 0 18px}
.wga-catalog-intro > form .catalog-toolbar{margin-top:0}
:is(.catalog-books,.catalog-movies,.catalog-series,.catalog-media) .wga-catalog-intro > form > details.catalog-filters,
:is(.catalog-books,.catalog-movies,.catalog-series,.catalog-media) .wga-catalog-intro > form > details.movie-filters{margin-bottom:0}
.catalog-audioplay .wga-catalog-series-panel .wga-audio-series-heading{margin:0 0 12px}
.catalog-audioplay .wga-catalog-series-panel .wga-audio-series-grid{margin:0}
.catalog-audioplay .wga-catalog-series-panel .wga-audio-series-breadcrumb{margin:18px 0 0}
@media(max-width:760px){
  .catalog-books > .wga-catalog-intro,
  .catalog-movies > .wga-catalog-intro,
  .catalog-series > .wga-catalog-intro,
  .catalog-media > .wga-catalog-intro,
  .catalog-audioplay > .wga-catalog-series-panel{padding:20px 18px;margin-bottom:18px}
}


/* WGA homepage editorial collage statistics v1 — own original motif assets, no third-party media. */
.wga-home-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;width:min(100%,1000px);margin:23px auto 0}
.wga-home-stats>.wga-stat-card{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;min-height:146px;padding:74px 8px 13px;border:1px solid #44434c;border-radius:15px;background:#151721;overflow:hidden;text-align:center;box-shadow:0 4px 13px rgba(0,0,0,.10);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.wga-home-stats>.wga-stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:110px;z-index:0;border-radius:14px 14px 0 0;background-image:var(--wga-stat-art);background-repeat:no-repeat;background-size:cover;background-position:center top;opacity:.9;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 40%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 40%,transparent 100%);pointer-events:none}
.wga-home-stats>.wga-stat-card strong{display:block;position:relative;font-size:clamp(1.34rem,2vw,1.7rem);line-height:1.12;letter-spacing:-.035em;font-weight:850;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.18)}
.wga-home-stats>.wga-stat-card span{display:block;position:relative;margin-top:5px;font-size:.88rem;font-weight:700;line-height:1.25;color:#e7e4df;opacity:1}
.wga-home-stats>a.wga-stat-card:hover,.wga-home-stats>a.wga-stat-card:focus-visible{transform:translateY(-3px);border-color:#d7aa54;box-shadow:0 10px 25px rgba(0,0,0,.17)}
.wga-home-stats>a.wga-stat-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.wga-home-stats>.wga-stat--movies{--wga-stat-art:url('/assets/img/stats/filme-collage.svg')}
.wga-home-stats>.wga-stat--books{--wga-stat-art:url('/assets/img/stats/buecher-collage.svg')}
.wga-home-stats>.wga-stat--series{--wga-stat-art:url('/assets/img/stats/serien-collage.svg')}
.wga-home-stats>.wga-stat--games{--wga-stat-art:url('/assets/img/stats/spiele-collage.svg')}
.wga-home-stats>.wga-stat--audio{--wga-stat-art:url('/assets/img/stats/hoerspiele-collage.svg')}
.wga-home-stats>.wga-stat--total{--wga-stat-art:url('/assets/img/stats/gesamt-collage.svg')}
html[data-theme="light"] .wga-home-stats>.wga-stat-card{background:#fffdfa;border-color:#d8d0c6;box-shadow:0 4px 13px rgba(46,36,20,.08)}
html[data-theme="light"] .wga-home-stats>.wga-stat-card:before{opacity:.87}
html[data-theme="light"] .wga-home-stats>.wga-stat-card strong{color:#20202a;text-shadow:none}
html[data-theme="light"] .wga-home-stats>.wga-stat-card span{color:#59565a}
@media(max-width:900px){.wga-home-stats{grid-template-columns:repeat(3,minmax(0,1fr));max-width:650px}}
@media(max-width:520px){.wga-home-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wga-home-stats>.wga-stat-card{min-height:138px;padding:68px 6px 12px}.wga-home-stats>.wga-stat-card strong{font-size:1.5rem}}
@media(prefers-reduced-motion:reduce){.wga-home-stats>.wga-stat-card{transition:none}}

/* WGA Suchergebnisse: eigener Katalogcontainer und einheitliches Kartenraster. */
.hero.wga-hero-search-results{padding:40px 24px 32px}
.hero.wga-hero-search-results h1{font-size:clamp(34px,4vw,54px);letter-spacing:-.035em;margin:10px 0 16px}
.hero.wga-hero-search-results .wga-home-stats{display:none}
.hero.wga-hero-search-results .search{margin:22px auto 16px}
#suche.wga-search-section{padding-top:36px;padding-bottom:60px;scroll-margin-top:12px}
#suche .wga-search-intro{min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:26px 28px;margin-bottom:24px}
#suche .wga-search-intro .section-head{align-items:flex-start;gap:18px;margin:0}
#suche .wga-search-intro .section-head>div{min-width:0;flex:1 1 auto}
#suche .wga-search-intro h2{font-size:clamp(25px,3vw,34px);line-height:1.18;letter-spacing:-.025em;margin:6px 0 0;overflow-wrap:anywhere;word-break:normal;hyphens:none}
#suche .wga-search-intro .section-head .muted{max-width:320px;margin:6px 0 0;line-height:1.5}
#suche .wga-search-hitcount{margin:14px 0;color:var(--muted);font-size:14px}
#suche .wga-search-refine{display:flex;align-items:stretch;gap:10px}
#suche .wga-search-refine input{flex:1 1 auto;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);color:var(--text);outline:none}
#suche .wga-search-refine input:focus-visible{border-color:var(--accent);box-shadow:0 0 0 2px rgba(255,207,74,.14)}
#suche .wga-search-refine button{flex:0 0 auto;border:0;border-radius:10px;background:var(--accent);color:#181200;padding:0 22px;font-weight:800}
#suche .wga-search-refine button:focus-visible{outline:3px solid var(--text);outline-offset:2px}
#suche .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#suche .grid>.card{display:grid;grid-template-columns:minmax(0,1fr) 92px;column-gap:14px;align-items:stretch;min-width:0;min-height:220px;padding:20px;border-left:4px solid var(--accent);transition:transform .18s ease,border-color .18s ease}
#suche .grid>.card>.cover{grid-column:2;grid-row:1;width:92px;height:138px;aspect-ratio:2/3;justify-self:end;align-self:start}
#suche .grid>.card>.cover img{width:100%;height:100%;object-fit:cover}
#suche .grid>.card>div:last-child{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:178px}
#suche .grid>.card>div:last-child small{font-size:12px}
#suche .grid>.card h3{font-size:clamp(19px,2vw,23px);line-height:1.24;letter-spacing:-.01em;margin:9px 0 6px;overflow-wrap:break-word;word-break:normal;hyphens:none}
#suche .grid>.card>div:last-child p{margin:6px 0 0;overflow-wrap:break-word;hyphens:none}
#suche .grid>.card .card-action{margin-top:auto!important;padding-top:14px;color:var(--text)}
#suche .grid>.card:hover,#suche .grid>.card:focus-visible{border-color:var(--accent);transform:translateY(-2px)}
#suche .grid>.card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#suche .empty-state{border-radius:16px;padding:25px 28px}
@media(max-width:980px){#suche .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){
.hero.wga-hero-search-results{padding:28px 18px 26px}
#suche.wga-search-section{padding-top:22px;padding-bottom:40px}
#suche .wga-search-intro{padding:20px 18px;margin-bottom:18px}
#suche .wga-search-intro .section-head{display:block}
#suche .wga-search-intro .section-head .muted{margin-top:12px}
#suche .grid{grid-template-columns:minmax(0,1fr);gap:13px}
#suche .grid>.card{min-height:190px;padding:16px;grid-template-columns:minmax(0,1fr) 82px;gap:12px}
#suche .grid>.card>.cover{width:82px;height:123px}
#suche .grid>.card>div:last-child{min-height:155px}
}
@media(max-width:440px){
#suche .wga-search-refine{flex-direction:column}
#suche .wga-search-refine button{min-height:42px}
#suche .wga-search-intro h2{font-size:24px}
}
@media(prefers-reduced-motion:reduce){#suche .grid>.card{transition:none}}

/* WGA: schmale, nicht blockierende Einwilligungsleiste; Einstellungen auf /datenschutz. */
.wga-consent-bar{position:fixed;z-index:15000;left:0;right:0;bottom:0;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:43px;padding:5px 39px 5px 12px;border-top:1px solid var(--line);background:var(--panel);color:var(--text);box-shadow:0 -4px 15px rgba(0,0,0,.27);font-size:13px;line-height:1.25}
.wga-consent-bar[hidden]{display:none!important}
.wga-consent-bar>strong{flex:1 1 auto;min-width:0;white-space:nowrap;font-size:13px}
.wga-consent-bar-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:12px;white-space:nowrap}
.wga-consent-bar-actions a{text-decoration:underline;text-underline-offset:2px;color:var(--text);font-size:12px}
.wga-consent-bar-actions .wga-consent-accept,.wga-consent-privacy-actions button[data-wga-matomo-choice="yes"]{background:var(--accent);color:#181200;border:0;border-radius:7px;font-size:13px;font-weight:800;line-height:1.2;padding:8px 13px;min-height:32px}
.wga-consent-dismiss{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:none;color:var(--text);border:0;padding:3px 8px;font-size:19px;line-height:1.2}
.wga-consent-bar :is(button,a):focus-visible,.wga-consent-privacy-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.wga-consent-short{display:none}
.wga-consent-privacy-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.wga-consent-privacy-actions button[data-wga-matomo-choice="no"]{background:var(--panel-soft);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:8px 13px;font-size:13px;line-height:1.2;min-height:35px}
@media(max-width:620px){
 .wga-consent-bar{gap:5px;min-height:40px;padding:4px 29px 4px 8px;font-size:11px}
 .wga-consent-bar>strong{font-size:11px}
 .wga-consent-long{display:none}
 .wga-consent-short{display:inline}
 .wga-consent-bar-actions{gap:8px}
 .wga-consent-bar-actions a{font-size:11px}
 .wga-consent-bar-actions .wga-consent-accept{font-size:11px;padding:6px 9px;min-height:30px}
 .wga-consent-dismiss{right:2px;font-size:18px;padding:4px 6px}
}
