/* Directmusic — „Grundidee pur" (Nachtschicht 2026-11-14)
   Eigene, gescopte Zusatz-Styles: Legal-Seiten, Erklär-Bär-Chat, Garantie-Gate, #/warum.
   Rückbau: diese Datei + <link> in index.html entfernen. styles.css bleibt unverändert. */

/* ---------- Legal ---------- */
.legalBody a, .legalDraftNote a { color:#8cc0ff; text-decoration:underline; text-underline-offset:2px; }
.legalBody a:hover { color:#b9d9ff; }
.legalBody h4 { margin:14px 0 6px; font-size:14px; }
.legalBody p { margin:0 0 8px; }

/* ---------- Erklär-Bär-Chat (im bestehenden #bearPanel) ---------- */
#bearPanel .bearChat { background:rgba(255,255,255,.03); display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
#bearPanel .bcHead { display:flex; align-items:center; justify-content:space-between; gap:8px; }
#bearPanel .bcClear { background:none; border:0; color:inherit; opacity:.6; font-size:11.5px; cursor:pointer; padding:2px 4px; border-radius:6px; }
#bearPanel .bcClear:hover, #bearPanel .bcClear:focus-visible { opacity:1; text-decoration:underline; }
#bearPanel .bcList { display:flex; flex-direction:column; gap:8px; max-height:min(42vh,340px); overflow-y:auto; padding:2px 2px 4px; overscroll-behavior:contain; }
#bearPanel .bcMsg { max-width:88%; padding:8px 11px; border-radius:14px; font-size:13.5px; line-height:1.45; white-space:pre-wrap; overflow-wrap:anywhere; }
#bearPanel .bcBot { align-self:flex-start; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.10); border-bottom-left-radius:4px; }
#bearPanel .bcMe { align-self:flex-end; background:rgba(43,143,255,.85); color:#fff; border-bottom-right-radius:4px; }
#bearPanel .bcIntro { border-color:rgba(191,227,255,.35); }
#bearPanel .bcTyping { opacity:.7; font-style:italic; }
#bearPanel .bcRate { align-self:flex-start; display:flex; align-items:center; gap:4px; margin:-4px 0 0 4px; font-size:11.5px; opacity:.75; }
#bearPanel .bcRateBtn { background:none; border:1px solid transparent; border-radius:8px; padding:1px 5px; font-size:14px; line-height:1.2; cursor:pointer; color:inherit; }
#bearPanel .bcRateBtn:hover, #bearPanel .bcRateBtn:focus-visible { border-color:rgba(255,255,255,.25); background:rgba(255,255,255,.06); }
#bearPanel .bcRateBtn:disabled { opacity:.4; cursor:default; }
#bearPanel .bcForm { display:flex; gap:8px; align-items:flex-end; }
#bearPanel .bcInput { flex:1; resize:none; min-height:40px; max-height:110px; border-radius:12px; padding:9px 10px; font:inherit; font-size:14px;
  color:inherit; background:rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.16); }
#bearPanel .bcInput:focus { outline:2px solid rgba(43,143,255,.7); border-color:transparent; }
#bearPanel .bcSend { min-height:40px; }
#bearPanel .bcNote { font-size:11.5px; opacity:.75; line-height:1.4; }
#bearPanel .bcNote a { color:#8cc0ff; text-decoration:underline; }
#bearPanel .bcSr { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
@media (max-width:700px){ #bearPanel .bcInput { font-size:16px; } #bearPanel .bcList { max-height:38vh; } }

/* ---------- Garantie-Gate + Rechte-Angaben (#/upload) ---------- */
.dmGate { display:flex; flex-direction:column; gap:12px; }
.dmGate .cardHeader { align-items:flex-start; gap:10px; }
.dmDraftPill { border-color:rgba(246,165,69,.55) !important; color:#ffcf8f; white-space:nowrap; }
.dmGateDraft, .dmGateWarn { border:1px solid rgba(246,165,69,.5); background:rgba(246,165,69,.09); border-radius:12px; padding:9px 12px; line-height:1.5; margin:0; }
.dmGateIntro { margin:0; line-height:1.55; opacity:.92; }
.dmGateScroll { max-height:min(46vh,420px); overflow-y:auto; padding:14px 16px; border-radius:14px; background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.12); line-height:1.6; font-size:14px; overscroll-behavior:contain; }
.dmGateScroll:focus-visible { outline:2px solid rgba(43,143,255,.7); }
.dmGateScroll h3 { margin:0 0 10px; font-size:16px; }
.dmGateScroll p { margin:0 0 10px; }
.dmGateName { background:rgba(43,143,255,.18); border-radius:6px; padding:0 4px; }
.dmGateEnd { text-align:center; opacity:.55; font-size:12px; padding:6px 0 2px; }
.dmGateProgress { font-size:12.5px; opacity:.8; }
.dmGateProgress.isDone { color:#5fe0a6; opacity:1; }
.dmGateForm { display:flex; flex-direction:column; gap:10px; max-width:640px; }
.dmGateLbl, .dmDecl .dmLbl { font-size:12.5px; font-weight:600; opacity:.9; display:block; margin-bottom:4px; }
.dmGateForm .search, .dmDecl .search { width:100%; max-width:100%; padding:10px 12px; border-radius:12px; }
#dmGateSubmit.isDisabled, #dmGateSubmit[aria-disabled="true"] { opacity:.5; }
.dmGateOk { border-color:rgba(95,224,166,.45) !important; color:#9ff0c8; white-space:nowrap; }
.dmDecl .dmInline { display:flex; gap:8px; align-items:center; }
.dmDecl .dmInline .search { flex:1; }
.dmDecl .dmRadios { display:flex; flex-wrap:wrap; gap:8px 16px; margin:2px 0 6px; }
.dmDecl .dmRadio { display:inline-flex; align-items:center; gap:6px; cursor:pointer; font-size:13.5px; }
.dmDecl .dmRadio.isOff { opacity:.45; cursor:not-allowed; }
.dmDecl .dmContribList { display:flex; flex-direction:column; gap:6px; margin:4px 0 8px; }
.dmDecl .dmContribRow { display:grid; grid-template-columns:1fr 170px auto; gap:6px; align-items:center; }
.dmDecl .dmCAdd { align-self:flex-start; }
.dmDecl .dmSub { opacity:.7; font-size:12px; }
@media (max-width:700px){
  .dmGate .cardHeader, .dmDecl .cardHeader { flex-direction:column; align-items:flex-start; gap:6px; }
  .dmGateScroll { max-height:52vh; font-size:14.5px; }
  .dmGateForm .search, .dmDecl .search { font-size:16px; }
  .dmDecl .dmContribRow { grid-template-columns:1fr auto; }
  .dmDecl .dmContribRow .dmCRole { grid-column:1 / 2; }
  .dmDecl .dmInline { flex-wrap:wrap; }
}

/* ---------- #/warum ---------- */
.wyPage { max-width:900px; margin:0 auto; padding:22px 26px 26px; display:flex; flex-direction:column; gap:16px; }
.wyDraft { border:1px solid rgba(246,165,69,.5); background:rgba(246,165,69,.09); border-radius:12px; padding:9px 12px; margin:0; line-height:1.5; }
.wyKicker { font-size:12px; letter-spacing:.12em; text-transform:uppercase; opacity:.7; }
.wyHead h1 { margin:6px 0 0; font-size:clamp(24px,3.2vw,34px); line-height:1.2; }
.wyText p, .wyCol p, .wyCalc p { margin:0 0 12px; line-height:1.65; font-size:15px; }
.wyTurn { font-size:18px !important; font-weight:700; }
.wyCols { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.wyCol, .wyNever, .wyCalc { background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:14px 16px; }
.wyPage h2 { margin:0 0 8px; font-size:17px; }
.wyNever ul { margin:0; padding-left:20px; line-height:1.7; }
.wyCalcForm { display:flex; gap:12px; flex-wrap:wrap; margin:6px 0 10px; }
.wyCalcForm label { display:flex; flex-direction:column; gap:4px; font-size:12.5px; font-weight:600; flex:1 1 220px; }
.wyCalcForm .search { width:100%; max-width:100%; padding:10px 12px; border-radius:12px; font-size:15px; }
.wyResult { padding:10px 12px; border-radius:12px; background:rgba(43,143,255,.10); border:1px solid rgba(43,143,255,.25); }
.wyResultMain { font-size:15px; margin-bottom:4px; }
.wyBig { font-size:26px; font-weight:800; margin-right:4px; }
.wyCalcNote { margin-top:8px; line-height:1.5; }
.wyLinks a, .dmGateIntro a { color:#8cc0ff; text-decoration:underline; }
.wySign { opacity:.75; font-style:italic; }
@media (max-width:700px){ .wyPage { padding:16px 14px 20px; } .wyCols { grid-template-columns:1fr; } .wyCalcForm .search { font-size:16px; } }

/* ── Play-Knopf auf Karten („Für dich empfohlen" usw.) größer + größere Trefferfläche (13.11.2026) ──
   Vorher 32 px, Fehlklick öffnete den Track. Sichtbar 46 px; ::after erweitert die Klickfläche unsichtbar
   nach oben/rechts/unten (nicht nach links, damit Warenkorb/Like/Mehr daneben frei bleiben).
   Auf Touch-Geräten ist der Knopf immer sichtbar (kein Hover). Rückbau: diesen Block löschen. */
.v7-cover .v7-cv-play { width:46px; height:46px; right:7px; bottom:6px; font-size:16px; cursor:pointer; transition:opacity .15s, transform .12s; }
.v7-cover .v7-cv-play::after { content:""; position:absolute; top:-12px; right:-6px; bottom:-5px; left:0; border-radius:14px; }
.v7-cover .v7-cv-play:hover { transform:scale(1.08); }
.v7-cover .v7-cv-play:active { transform:scale(.94); }
@media (hover:none), (max-width:720px) { .v7-cover .v7-cv-play { opacity:1; } }

/* ── Entdecken: keine Doppel-Skalierung mehr (13.11.2026) ──
   styles.css skaliert JEDES <main> mit var(--uiScale). Entdecken rendert ein zweites <main class="v7-main">
   INNERHALB von main.shell → effektiv uiScale² (z. B. 0,9 × 0,9 = 0,81; Full HD 0,75² = 0,56).
   Das innere main wird hier neutralisiert; das äußere main.shell skaliert weiter wie alle Seiten.
   Rückbau: diesen Block löschen. */
main main.v7-main { transform:none; width:100%; max-width:none; }

/* ── Sammlung: Kassetten flackern beim Drüberfahren (13.11.2026) ──
   styles.css hebt die Kassette beim Hover an (translateY(-2px) scale(1.015) !important, im HiFi-Regal
   ist das Hover-Element die Kassette selbst). Steht die Maus am Rand, rutscht die Kassette unter ihr weg →
   Hover aus → zurück → Hover an … = Flackern. Jetzt: keine Bewegung, stattdessen heller. Rückbau: Block löschen. */
body .libraryCassette:hover { transform:none !important; filter:brightness(1.14) saturate(1.05); }

/* ---------- Admin „Bär-Fragen" (#/admin/baer, baer-admin.js) ---------- */
.dmBaerAdmin .dmBaZahlen { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; margin:6px 0 14px; }
.dmBaerAdmin .dmBaZahl { display:grid; gap:3px; text-align:left; padding:12px 14px; border-radius:13px; border:1px solid rgba(255,255,255,.10); background:rgba(255,255,255,.03); color:inherit; font:inherit; cursor:pointer; }
.dmBaerAdmin .dmBaZahl:disabled { cursor:default; }
.dmBaerAdmin .dmBaZahl b { font-size:21px; }
.dmBaerAdmin .dmBaZahl span { font-size:11px; opacity:.65; }
.dmBaerAdmin .dmBaZahl.isOn { border-color:rgba(43,143,255,.7); background:rgba(43,143,255,.10); }
.dmBaerAdmin .dmBaLeiste { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin:4px 0 6px; }
.dmBaerAdmin .dmBaLeiste .badgePill { margin:0; cursor:pointer; }
.dmBaerAdmin .dmBaLeiste .badgePill.isOn { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.35); }
.dmBaerAdmin .dmBaFlex { flex:1; }
.dmBaerAdmin .dmBaWarn { border:1px solid rgba(246,165,69,.5); background:rgba(246,165,69,.09); border-radius:12px; padding:9px 12px; margin:0 0 10px; }
.dmBaerAdmin td { vertical-align:top; }
.dmBaerAdmin .dmBaFrage { font-size:13px; font-weight:600; white-space:pre-wrap; overflow-wrap:anywhere; max-width:520px; }
.dmBaerAdmin details { margin-top:4px; }
.dmBaerAdmin summary { cursor:pointer; opacity:.65; font-size:11.5px; }
.dmBaerAdmin .dmBaAntwort { white-space:pre-wrap; overflow-wrap:anywhere; max-width:520px; opacity:.85; margin-top:4px; }
.dmBaerAdmin .dmBaLeer { margin-top:4px; font-size:11.5px; color:#ffcf8f; }
.dmBaerAdmin .dmBaNotiz { margin-top:4px; font-size:11.5px; color:#8cc0ff; }
.dmBaerAdmin .dmBaQuelle { display:inline-block; padding:2px 8px; border-radius:999px; font-size:10.5px; font-weight:700; white-space:nowrap; border:1px solid rgba(255,255,255,.18); }
.dmBaerAdmin .dmBaQ-keine .dmBaQuelle { border-color:rgba(246,165,69,.55); color:#ffcf8f; background:rgba(246,165,69,.10); }
.dmBaerAdmin .dmBaQ-wissen .dmBaQuelle { border-color:rgba(43,143,255,.5); color:#bcd4ff; background:rgba(43,143,255,.10); }
.dmBaerAdmin .dmBaQ-live .dmBaQuelle { border-color:rgba(79,174,122,.5); color:#b6f0cf; background:rgba(79,174,122,.12); }
.dmBaerAdmin .dmBaEintrag { margin-top:4px; font-size:11px; opacity:.6; }
.dmBaerAdmin .dmBaStatus { font-size:11.5px; opacity:.7; margin-bottom:6px; }
.dmBaerAdmin .dmBaKnoepfe { display:flex; gap:6px; flex-wrap:wrap; }
.dmBaerAdmin .dmBaKnoepfe .btn { padding:4px 9px; min-height:0; font-size:11.5px; }

/* ---------- Admin „Erklär-Bär“ → Reiter „Wissen“ (baer-admin.js, 15.11.2026) ---------- */
.dmBaerAdmin .dmBaTabs { display:flex; gap:8px; margin:0 0 12px; }
.dmBaerAdmin .dmBaTabs .badgePill { margin:0; cursor:pointer; font-size:13px; padding:6px 14px; }
.dmBaerAdmin .dmBaTabs .badgePill.isOn { background:rgba(43,143,255,.18); border-color:rgba(43,143,255,.6); }
.dmBaerAdmin .dmBwInfo { border:1px solid rgba(143,208,255,.25); background:rgba(143,208,255,.06); border-radius:12px; padding:9px 12px; margin:0 0 12px; font-size:12.5px; line-height:1.5; }
.dmBaerAdmin .dmBwSuche { max-width:280px; height:36px; }
.dmBaerAdmin .dmBwZahl { font-size:12px; opacity:.7; }
.dmBaerAdmin .dmBwEdit { margin:0 0 14px; border:1px solid rgba(43,143,255,.45); }
.dmBaerAdmin .dmBwForm { display:grid; gap:10px; margin:10px 0 12px; }
.dmBaerAdmin .dmBwForm label { display:grid; gap:4px; font-size:12px; }
.dmBaerAdmin .dmBwForm label > span { opacity:.75; }
.dmBaerAdmin .dmBwForm textarea { min-height:140px; resize:vertical; font:inherit; line-height:1.5; padding:10px 12px; }
.dmBaerAdmin .dmBwReihe { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.dmBaerAdmin .dmBwCheck { display:flex !important; align-items:center; gap:8px; grid-template-columns:none; }
.dmBaerAdmin .dmBwHinweis { border:1px solid rgba(246,165,69,.5); background:rgba(246,165,69,.09); border-radius:10px; padding:7px 10px; font-size:12px; color:#ffd9a8; }
.dmBaerAdmin .dmBwGrund { margin:0 0 10px; }
.dmBaerAdmin .dmBwKopf { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:6px; }
.dmBaerAdmin .dmBwKopf .btn { padding:4px 9px; min-height:0; font-size:11.5px; }
.dmBaerAdmin tr.dmBwAus td { opacity:.5; }
.dmBaerAdmin .dmBwK { font-size:11.5px; opacity:.75; max-width:240px; }
@media (max-width:720px){ .dmBaerAdmin .dmBwReihe { grid-template-columns:1fr; } }

/* ---------- Fixpaket UX (15.11.2026, Wünsche Chris) ---------- */
/* Bibliothek: ganzes Cover = Abspielen, Titel/Interpret = Titel-Info */
.libRow .miniCover .coverPlayFull { left:0; top:0; transform:none; width:100%; height:100%; border:0; border-radius:inherit; background:rgba(0,0,0,.12); display:flex; align-items:center; justify-content:center; opacity:1; }
.libRow .miniCover .coverPlayFull:hover, .libRow .miniCover .coverPlayFull:focus-visible { background:rgba(0,0,0,.32); }
.libRow .miniCover .coverPlayFull .ico { width:20px; height:20px; filter:drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.libRowInfo { cursor:pointer; border-radius:8px; }
.libRowInfo:hover .tTitle, .libRowInfo:focus-visible .tTitle, .rArtist.libRowInfo:hover { text-decoration:underline; text-underline-offset:3px; }
/* Titel-Info liegt über der oberen Leiste – sonst verdeckte die Leiste am Handy das ✕ */
#libraryInfoOverlay { z-index:415; }
.drawer.libraryInfoDrawer { z-index:420; }
/* Profil: veröffentlichte Titel */
.apTracks h2 small { font-size:12px; opacity:.6; font-weight:600; margin-left:6px; }
.apTrackList { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:10px; }
.apTrack { display:flex; align-items:center; gap:10px; min-width:0; padding:8px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); }
.apTrackCover { flex:0 0 52px; width:52px; height:52px; border-radius:10px; border:0; cursor:pointer; background:rgba(255,255,255,.06) center/cover no-repeat; display:flex; align-items:center; justify-content:center; color:#fff; }
.apTrackCover .ico { width:20px; height:20px; filter:drop-shadow(0 1px 4px rgba(0,0,0,.7)); }
.apTrackCover:hover { box-shadow:inset 0 0 0 999px rgba(0,0,0,.25); }
.apTrackText { display:flex; flex-direction:column; min-width:0; color:inherit; text-decoration:none; }
.apTrackText b { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.apTrackText span { font-size:11.5px; opacity:.65; }
.apTrackText:hover b { text-decoration:underline; text-underline-offset:3px; }
/* Handy: Hauptnavigation oben im ☰-Menü (Desktop hat sie in der oberen Leiste) */
.dmMobileNav { display:none; }
@media (max-width:720px){ .dmMobileNav { display:block; } }
/* 15.11.2026 (Feedback Chris): Menüs am Handy scrollbar, über der oberen Leiste (✕ sichtbar), Hintergrund steht still */
#accountDrawer, #navDrawer { overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
html:has(#accountDrawer:not([hidden])), html:has(#navDrawer:not([hidden])),
html:has(#accountDrawer:not([hidden])) body, html:has(#navDrawer:not([hidden])) body { overflow:hidden; }
@media (max-width:900px){
  #accountOverlay, #navOverlay { z-index:310; }
  #accountDrawer, #navDrawer { z-index:311; height:100vh; height:100dvh; padding-top:calc(14px + env(safe-area-inset-top)); padding-bottom:calc(28px + env(safe-area-inset-bottom)); }
}
/* 15.11.2026 (Nachtrunde): Abo-Karten – am PC drei nebeneinander, am Handy untereinander (vorher abgeschnittene Preise) */
.pricingGrid.dmTierGrid { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 720px){ .pricingGrid.dmTierGrid { grid-template-columns: 1fr; } }
/* 15.11.2026 (Nachtrunde): Remote & Steuerung – „Ändern“ (Lernen) und Fußzeile */
.dmStBtn { margin-left:8px; padding:3px 10px; border-radius:9px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.06); color:inherit; font:inherit; font-size:12px; cursor:pointer; }
.dmStBtn:hover:not(:disabled) { background:rgba(255,255,255,.12); }
.dmStBtn:disabled { opacity:.4; cursor:not-allowed; }
.dmStLearn { color:#fbbf24; font-weight:600; }
.dmStFoot { margin-top:12px; }
/* 16.11.2026 (Wunsch Chris): Fokus-Ansicht des Players – Vollbild, großes Cover, fingergroße Knöpfe (fokus.js) */
#dmFokus { position:fixed; inset:0; z-index:500; display:flex; flex-direction:column; align-items:center; gap:clamp(10px,2.2vh,22px);
  padding:calc(10px + env(safe-area-inset-top)) 20px calc(18px + env(safe-area-inset-bottom)); background:#07090f; color:#eaf0ff; overflow:hidden; }
#dmFokus[hidden] { display:none; }
html.dmFokusOffen, html.dmFokusOffen body { overflow:hidden; }
#dmFokus > * { width:100%; max-width:520px; position:relative; }
#dmFokus .dmFkBg { position:absolute; inset:-40px; max-width:none; width:auto; background:center/cover no-repeat; filter:blur(38px) brightness(.32) saturate(1.2); transform:scale(1.15); z-index:0; }
#dmFokus .dmFkHead { display:flex; align-items:center; justify-content:space-between; padding:16px 0 6px; z-index:1; }
#dmFokus .dmFkGrip { position:absolute; left:50%; top:4px; width:46px; height:5px; margin-left:-23px; border-radius:3px; background:rgba(255,255,255,.28); }
#dmFokus .dmFkHead b { font-size:15px; letter-spacing:.06em; text-transform:uppercase; opacity:.8; }
#dmFokus .dmFkClose { width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); color:inherit; font-size:20px; cursor:pointer; }
#dmFokus .dmFkCover { width:min(100%, 44vh); max-width:min(520px, 44vh); aspect-ratio:1/1; border-radius:18px; background:#151b2b center/cover no-repeat; box-shadow:0 24px 60px rgba(0,0,0,.6); z-index:1; flex:none; }
#dmFokus .dmFkMeta { z-index:1; }
#dmFokus .dmFkTitle { font-size:clamp(20px,5.6vw,28px); font-weight:800; line-height:1.15; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
#dmFokus .dmFkSub { margin-top:4px; font-size:15px; opacity:.72; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#dmFokus .dmFkTime { display:flex; justify-content:space-between; font-size:13px; opacity:.75; font-variant-numeric:tabular-nums; z-index:1; margin-bottom:-8px; }
#dmFokus .dmFkSeek { -webkit-appearance:none; appearance:none; height:6px; border-radius:3px; z-index:1; margin:0;
  background:linear-gradient(90deg, #f97316 0 var(--p,0%), rgba(255,255,255,.18) var(--p,0%) 100%); }
#dmFokus .dmFkSeek::-webkit-slider-thumb { -webkit-appearance:none; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.5); }
#dmFokus .dmFkSeek::-moz-range-thumb { width:22px; height:22px; border-radius:50%; background:#fff; border:0; }
#dmFokus .dmFkCtrl { display:flex; align-items:center; justify-content:space-between; z-index:1; margin-top:4px; }
#dmFokus .dmFkBtn { width:64px; height:64px; border-radius:50%; border:0; background:transparent; color:#eaf0ff; font-size:28px; line-height:1; cursor:pointer; position:relative; display:grid; place-items:center; }
#dmFokus .dmFkBtn small { position:absolute; font-size:10px; font-weight:800; top:50%; left:50%; transform:translate(-50%,-45%); }
#dmFokus .dmFkBtn svg { display:block; }
#dmFokus .dmFkBtn:active { transform:scale(.92); }
#dmFokus .dmFkPlay { width:92px; height:92px; background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.16); box-shadow:0 0 0 6px rgba(34,197,94,.10); }
#dmFokus .dmFkPlay .ico { width:0; height:0; border-left:26px solid #22c55e; border-top:16px solid transparent; border-bottom:16px solid transparent; margin-left:8px; }
#dmFokus .dmFkPlay.isPlaying { box-shadow:0 0 0 6px rgba(249,115,22,.14), 0 0 30px rgba(249,115,22,.22); }
#dmFokus .dmFkPlay.isPlaying .ico { width:26px; height:30px; border:0; margin-left:0; background:linear-gradient(90deg, #f97316 0 9px, transparent 9px 17px, #f97316 17px 26px); border-radius:2px; }
#dmFokus .dmFkPads { display:grid; grid-template-columns:1fr 1fr 1fr 56px; gap:10px; z-index:1; margin-top:auto; }
#dmFokus .dmFkPad { height:56px; border-radius:14px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.06); color:#eaf0ff; font-weight:700; font-size:15px; cursor:pointer; transition:background .15s, transform .1s; }
#dmFokus .dmFkPad.isHit { background:rgba(249,115,22,.35); transform:scale(.96); }
#dmFokus .dmFkPadStop { font-size:18px; color:#fca5a5; }
@media (max-height:640px){ #dmFokus .dmFkCover { width:min(100%, 34vh); } #dmFokus .dmFkPads { grid-template-columns:1fr 1fr 1fr 48px; } #dmFokus .dmFkPad { height:46px; } }
/* Player-Leiste: Titel/Cover sind antippbar */
#playerTitle, #playerSub, #playerCover { cursor:pointer; }
/* 16.11.2026 (Wunsch Chris): DM-Charts am Handy als Kacheln statt enger Zeilen (Warenkorb war riesig, rechts abgeschnitten) */
@media (max-width:720px){
  .dmChartsPage .dmChartsList { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; padding:10px 0 0; margin:0; width:100%; max-width:100%; box-sizing:border-box; border-top:0; }
  .dmChartsPage .dmChartsList > * { min-width:0; }
  .dmChartsPage .dmChartsList .dmChartCompact { position:relative; display:grid!important; grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"cover" "info" "votes" "act"; gap:6px!important; align-items:start; min-height:0; padding:8px!important;
    border:1px solid rgba(255,255,255,.08)!important; border-radius:14px!important; background:rgba(255,255,255,.03)!important; }
  .dmChartsPage .dmChartsList .dmChartCompact.lead { border-color:rgba(245,165,43,.55)!important; background:linear-gradient(180deg,rgba(245,165,43,.10),rgba(255,255,255,.02))!important; }
  .dmChartsPage .dmChartsList .dmChartCompact.playing { padding-left:8px!important; border:1px solid var(--charts-blue)!important; background:linear-gradient(180deg,rgba(57,165,255,.16),rgba(57,165,255,.02))!important; }
  .dmChartsPage .dmChartCompactCover { grid-area:cover; width:100%!important; aspect-ratio:1; border-radius:10px; font-size:26px; color:#fff; text-shadow:0 2px 8px rgba(0,0,0,.6); }
  .dmChartsPage .dmChartCompactRank { position:absolute; top:14px; left:14px; z-index:2; min-width:30px; height:30px; padding:0 6px; border-radius:9px;
    background:rgba(5,8,14,.72); color:#e6eefb; display:grid; place-items:center; font-size:15px; backdrop-filter:blur(4px); }
  .dmChartsPage .dmChartCompact.lead .dmChartCompactRank { background:var(--charts-gold); color:#1b1204; }
  .dmChartsPage .dmChartCompactInfo { grid-area:info; }
  .dmChartsPage .dmChartCompactInfo b { font-size:14px; }
  .dmChartsPage .dmChartCompactInfo small { font-size:12px; margin-top:2px; }
  .dmChartsPage .dmChartVotes { grid-area:votes; display:flex; align-items:baseline; gap:4px; text-align:left; font-size:14px; font-weight:800; white-space:nowrap; overflow:hidden; }
  .dmChartsPage .dmChartVotes small { display:inline; font-size:11px; text-transform:none; font-weight:600; }
  .dmChartsPage .dmChartVotes em { display:inline; margin:0 0 0 auto; font-size:11px; color:#7f92a9; }
  .dmChartsPage .dmChartActions { grid-area:act; grid-column:auto!important; margin:2px 0 0!important; justify-content:space-between; gap:6px; }
  .dmChartsPage .dmChartActions > button, .dmChartsPage .dmChartActions summary { width:36px!important; height:38px!important; min-width:32px!important; min-height:38px!important; flex:0 1 36px; border-radius:10px; background:rgba(255,255,255,.05); }
  .dmChartsPage .dmChartActions > button svg { width:18px; height:18px; }
  .dmChartsPage .dmChartActions > button.vote { flex:1 1 auto; width:auto!important; font-weight:900; font-size:15px; color:#9fd0ff; background:rgba(57,165,255,.14); border:1px solid rgba(57,165,255,.35); }
  .dmChartsPage .dmChartActions > button.vote:disabled { color:#5f7088; background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.08); }
  .dmChartsPage .dmChartActions details > div { right:0; top:42px; }
}
@media (max-width:340px){ .dmChartsPage .dmChartsList { grid-template-columns:1fr; } }
/* „1fr“ = minmax(auto,1fr): ein breiter Inhalt (z. B. Clip) drückte die Spalte über den Rand → minmax(0,1fr) */
@media (max-width:720px){ .dmChartsPage .dmChartsBelow { grid-template-columns:minmax(0,1fr)!important; } .dmChartsPage .dmChartsBelow > * { min-width:0; } }

/* 16.11.2026: Meldungen (Toasts) immer obenauf – vorher lagen sie hinter Track-Info, Menüs und Fenstern */
.toast { z-index:2000; }
@media (max-width:720px){ body:has(#playerBar:not([hidden])) .toast { bottom:96px; } }
/* Track-Info: Zustand der Knöpfe + Link zu Kommentaren */
.libraryInfoActions button[disabled] { opacity:.7; cursor:default; }
.libraryInfoActions .heartOn { color:#f43f5e; }
.libraryInfoMore { display:block; margin-top:10px; padding:11px 12px; border-radius:12px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.04); color:#cfe0ff; text-align:center; font-weight:700; text-decoration:none; }
.libraryInfoMore:hover { background:rgba(255,255,255,.08); }

/* 16.11.2026 (Wunsch Chris, Entwurf E1): Garantieerklärung als „Künstler-Urkunde“ – graues Sandpapier, weiße Glasur-Schrift,
   blaues Wachssiegel mit Directmusic-Symbol. Schriften: System (Palatino/Handschrift), keine externen Fonts. */
.dmUrkGate { --urkSerif:'Cormorant Garamond','Palatino Linotype',Palatino,'Book Antiqua','Iowan Old Style',Baskerville,Georgia,serif;
  --urkHand:'Caveat','Segoe Script','Snell Roundhand','Bradley Hand','Brush Script MT',cursive; }
.dmUrkLbl { font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#8ea2bd; margin-bottom:4px; }
.dmUrkGrid { display:grid; grid-template-columns:230px minmax(0,1fr); gap:18px; align-items:start; }
.dmUrkQuest { background:linear-gradient(180deg,#121a2d,#0b1020); border:1px solid rgba(124,182,255,.18); border-radius:16px; padding:16px; position:sticky; top:12px; }
.dmUrkQ { font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#7cc4ff; }
.dmUrkQuest h4 { margin:6px 0 10px; font-size:17px; }
.dmUrkStep { display:flex; gap:10px; align-items:center; font-size:13px; color:#b9c7da; margin:9px 0; }
.dmUrkStep i { width:22px; height:22px; flex:none; border-radius:50%; display:grid; place-items:center; font-style:normal; font-size:12px; background:rgba(255,255,255,.08); }
.dmUrkStep.ok i { background:#16a34a; color:#fff; }
.dmUrkStep.now { color:#fff; font-weight:600; }
.dmUrkStep.now i { background:#2f7bff; color:#fff; box-shadow:0 0 12px rgba(47,123,255,.7); }
.dmUrkStep a { color:#9fd3ff; }
.dmUrkMain { min-width:0; display:flex; flex-direction:column; gap:12px; }
.dmUrkSand { position:relative; color:#f4f8ff; font-family:var(--urkSerif);
  background:radial-gradient(ellipse at 25% 15%,rgba(255,255,255,.10),transparent 55%),radial-gradient(ellipse at 80% 85%,rgba(0,0,0,.35),transparent 60%),linear-gradient(160deg,#5d636d,#454a53 55%,#30343b);
  clip-path:polygon(0 1.5%,3% 0,20% .8%,40% 0,60% 1%,80% 0,97% .8%,100% 2%,99% 30%,100% 60%,99% 98%,96% 100%,70% 99.2%,45% 100%,20% 99.2%,2% 100%,0 98%,1% 60%,0 30%);
  filter:drop-shadow(0 0 1px rgba(124,196,255,.55)) drop-shadow(0 20px 34px rgba(0,0,0,.55)); }
.dmUrkSand:before { content:''; position:absolute; inset:0; pointer-events:none; opacity:.55; mix-blend-mode:overlay; z-index:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.35' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 -0.35'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.dmUrkSand:after { content:''; position:absolute; inset:0; pointer-events:none; opacity:.5; z-index:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='m'><feTurbulence type='turbulence' baseFrequency='.9' numOctaves='1'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 -0.45'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>"); }
.dmUrkCurl { position:absolute; left:0; right:0; height:24px; pointer-events:none; z-index:3; }
.dmUrkCurl.t { top:0; background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.05) 35%,rgba(0,0,0,.35) 70%,transparent); }
.dmUrkCurl.b { bottom:0; background:linear-gradient(0deg,rgba(255,255,255,.16),rgba(255,255,255,.04) 35%,rgba(0,0,0,.35) 70%,transparent); }
.dmGate .dmUrkText { position:relative; z-index:2; max-height:min(62vh,640px); overflow-y:auto; padding:38px 44px 30px; margin:0; border:0; border-radius:0; background:transparent;
  scrollbar-width:thin; scrollbar-color:rgba(200,225,255,.45) transparent; }
.dmUrkText::-webkit-scrollbar { width:8px; } .dmUrkText::-webkit-scrollbar-thumb { background:rgba(200,225,255,.35); border-radius:4px; }
.dmGate .dmUrkText h3 { font-family:var(--urkSerif); font-variant:small-caps; font-weight:600; font-size:30px; text-align:center; margin:0 0 2px; letter-spacing:.06em; color:#fff;
  text-shadow:0 1px 0 rgba(255,255,255,.35),0 0 10px rgba(173,216,255,.45),0 2px 3px rgba(0,0,0,.45); }
.dmUrkVer { text-align:center; font-style:italic; font-size:14px; color:#cfdcf0; opacity:.85; margin-bottom:16px; }
.dmUrkIntro { font-family:var(--urkHand); font-size:21px; color:#e8f2ff; line-height:1.3; margin:0 0 16px; padding:10px 14px; border-left:3px solid #38bdf8; background:rgba(10,20,40,.28); }
.dmGate .dmUrkText p { font-family:var(--urkSerif); font-size:17.5px; line-height:1.55; margin:0 0 11px; font-weight:500; color:#f6f9ff;
  text-shadow:0 0 1px rgba(255,255,255,.55),0 0 8px rgba(190,225,255,.2),0 1px 2px rgba(0,0,0,.55); }
.dmGate .dmUrkText p b { font-variant:small-caps; letter-spacing:.04em; color:#9fd3ff; font-weight:600; }
.dmGate .dmUrkText p b.dmUrkKonto { font-variant:normal; letter-spacing:0; }
.dmUrkDrop:first-letter { float:left; font-family:var(--urkSerif); font-size:58px; line-height:.8; padding:6px 8px 0 0; color:#8fd0ff; text-shadow:0 0 14px rgba(56,189,248,.65),0 2px 3px rgba(0,0,0,.5); }
.dmUrkGate .dmGateName { background:rgba(56,189,248,.16); font-family:var(--urkHand); font-size:1.2em; color:#dff0ff; padding:0 4px; }
.dmUrkGate .dmGateEnd { color:#cfdcf0; font-style:italic; }
.dmUrkSig { display:flex; align-items:flex-end; gap:16px; margin-top:18px; }
.dmUrkSigCol { flex:1; min-width:0; }
.dmUrkSigLine { min-height:44px; border-bottom:1.5px solid rgba(220,236,255,.7); padding:0 4px 2px; font-family:var(--urkHand); font-size:30px; color:#dff0ff; text-shadow:0 0 10px rgba(124,196,255,.55); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dmUrkSig small { display:block; margin-top:4px; font-size:12px; color:#c9d6ea; font-style:italic; }
.dmUrkSeal { width:96px; height:96px; flex:none; opacity:.16; filter:grayscale(1); transition:opacity .2s; }
.dmUrkSeal svg { width:100%; height:100%; display:block; }
.dmUrkSeal.isStamped { opacity:1; filter:drop-shadow(0 5px 8px rgba(0,10,40,.6)) drop-shadow(0 0 10px rgba(56,140,255,.35)); animation:dmUrkStamp .55s cubic-bezier(.2,.9,.3,1.25) both; }
@keyframes dmUrkStamp { 0% { transform:scale(2.1) rotate(-14deg); opacity:0; } 60% { transform:scale(.92) rotate(3deg); opacity:1; } 80% { transform:scale(1.04) rotate(-1deg); } 100% { transform:scale(1) rotate(0); } }
.dmUrkBtn { position:relative; padding:13px 22px 13px 52px !important; border-radius:14px !important; color:#eaf4ff !important; font-weight:800 !important; letter-spacing:.02em;
  background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.35),transparent 40%),linear-gradient(180deg,#3b82f6,#1d4ed8 55%,#0f2f8a) !important;
  box-shadow:0 8px 22px rgba(37,99,235,.45),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -3px 6px rgba(0,0,0,.35) !important; border:1px solid rgba(147,197,253,.45) !important; }
.dmUrkBtnSeal { position:absolute; left:12px; top:50%; width:30px; height:30px; margin-top:-15px; border-radius:50%;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path transform='translate(50 50) scale(.9) translate(-50 -48.9)' fill-rule='evenodd' fill='%230b2a7a' d='M25 25 H59.4 A15.6 15.6 0 0 1 75 40.6 V72.75 H25 Z M39.6 33.9 L68 47.8 L66.6 49.2 V72.75 H60.7 V53.3 L53.5 56.4 V72.75 H47.9 V60.6 L39.6 63.4 Z'/></svg>") center/62% no-repeat, radial-gradient(circle at 38% 32%,#93c5fd,#2563eb 45%,#0b2a7a);
  box-shadow:inset 0 0 0 3px rgba(11,42,122,.55),0 2px 4px rgba(0,0,0,.4); }
.dmUrkBtn[aria-disabled="true"] { opacity:.55; filter:saturate(.6); }
@media (max-width:900px){
  .dmUrkGrid { grid-template-columns:minmax(0,1fr); }
  .dmUrkQuest { display:none; }
  .dmGate .dmUrkText { padding:30px 18px 24px; max-height:58vh; }
  .dmGate .dmUrkText p { font-size:16.5px; }
  .dmGate .dmUrkText h3 { font-size:25px; }
  .dmUrkSeal { width:76px; height:76px; }
  .dmUrkSigLine { font-size:26px; }
}

/* 16.11.2026 (Wunsch Chris): Urkunde im blauen Spiel-Fenster mit Questlog-Seitenfeld – angelehnt an Spiel-UIs, eigene Gestaltung */
.dmUrkGate { --urkTitle:'IM Fell English SC',var(--urkSerif); }
.dmGate .dmUrkText h3, .dmUrkDrop:first-letter { font-family:'IM Fell English SC','Cormorant Garamond','Palatino Linotype',Palatino,Georgia,serif; font-variant:normal; font-weight:400; }
.dmUrkIntro { font-size:17px !important; line-height:1.3; padding:8px 12px !important; }
.dmUrkWin { position:relative; margin-top:6px; border-radius:14px; padding:0 14px 14px;
  background:linear-gradient(180deg,#0e1a33,#0a1222 40%,#080e1b);
  border:2px solid #3f6fb8; box-shadow:0 0 0 1px #0a1630, 0 0 0 4px #1c3a6e, 0 0 0 5px rgba(140,190,255,.35), 0 18px 50px rgba(0,0,0,.55), inset 0 0 40px rgba(60,120,220,.12); }
.dmUrkWinBar { position:relative; display:flex; align-items:center; justify-content:center; height:40px; margin:0 -14px 0; padding:0 56px;
  background:linear-gradient(180deg,#24467e,#132a52 55%,#0d1f3e); border-bottom:1px solid #3f6fb8; border-radius:12px 12px 0 0; }
.dmUrkWinBar b { font-family:'Cormorant Garamond',Georgia,serif; font-variant:small-caps; font-size:19px; font-weight:700; letter-spacing:.06em; color:#dbe9ff; text-shadow:0 0 8px rgba(124,196,255,.55),0 1px 2px rgba(0,0,0,.6); }
.dmUrkEmblem { position:absolute; left:-12px; top:-18px; width:66px; height:66px; border-radius:50%; padding:4px;
  background:radial-gradient(circle at 35% 30%,#3a5f9e,#12264a); border:2px solid #8fb9ff; box-shadow:0 0 0 3px #0b1630,0 6px 14px rgba(0,0,0,.6),0 0 16px rgba(80,150,255,.45); z-index:2; }
.dmUrkEmblem svg { width:100%; height:100%; display:block; }
.dmUrkHelp { position:absolute; right:10px; top:7px; width:26px; height:26px; border-radius:7px; border:1px solid #8fb9ff; background:linear-gradient(180deg,#2c5aa5,#173468); color:#fff; font-weight:800; cursor:pointer; box-shadow:inset 0 1px 0 rgba(255,255,255,.3); }
.dmUrkCrumbs { display:flex; gap:0; margin:10px 0 12px 46px; }
.dmUrkCrumbs span { position:relative; padding:5px 18px 5px 14px; font-size:12.5px; font-weight:600; color:#9fc3f5; background:linear-gradient(180deg,#16284a,#0f1d38); border:1px solid #2c4f88; margin-right:-1px;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%,10px 50%); }
.dmUrkCrumbs span:first-child { clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%); border-radius:6px 0 0 6px; }
.dmUrkCrumbs span.isOn { color:#fff; background:linear-gradient(180deg,#2f63b8,#1b3f82); }
.dmUrkWin .dmUrkGrid { grid-template-columns:minmax(0,1fr) 300px; }
.dmUrkLog { align-self:start; position:sticky; top:12px; border:1px solid #2c4f88; border-radius:10px; overflow:hidden;
  background:linear-gradient(180deg,rgba(14,26,50,.95),rgba(9,16,32,.95)); box-shadow:inset 0 0 24px rgba(0,0,0,.5); }
.dmUrkLogTop { display:flex; justify-content:space-between; align-items:center; padding:8px 10px; background:#0b1630; border-bottom:1px solid #22406f; font-size:12.5px; }
.dmUrkLogSearch { color:#7f97bb; }
.dmUrkLogCount { color:#ffd27a; font-weight:700; }
.dmUrkLogHead { display:flex; justify-content:space-between; align-items:center; margin:8px; padding:6px 10px; border:1px solid #2c4f88; border-radius:6px;
  background:linear-gradient(180deg,#183058,#10213f); color:#cfe0ff; font-family:'Cormorant Garamond',Georgia,serif; font-size:16px; font-weight:700; }
.dmUrkLogHead i { font-style:normal; color:#ffd27a; font-weight:900; }
.dmUrkLogItem { display:grid; grid-template-columns:26px minmax(0,1fr) 18px; gap:8px; align-items:start; padding:7px 12px; }
.dmUrkLogIco { width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-size:9px; letter-spacing:-1px; color:#cfe0ff;
  background:radial-gradient(circle at 35% 30%,#3a4f72,#1a2740); border:1px solid #4a6aa0; }
.dmUrkLogItem.isOk .dmUrkLogIco { background:radial-gradient(circle at 35% 30%,#2fb36a,#126b3c); border-color:#5fe0a6; color:#fff; font-size:12px; letter-spacing:0; }
.dmUrkLogItem.isNow .dmUrkLogIco { background:radial-gradient(circle at 35% 30%,#ffe08a,#c9921f); border-color:#ffe7a3; color:#3a2600; box-shadow:0 0 10px rgba(255,210,122,.6); }
.dmUrkLogTxt b { display:block; font-size:13.5px; font-weight:700; color:#ffd27a; }
.dmUrkLogItem.isOk .dmUrkLogTxt b { color:#9fb3cf; }
.dmUrkLogTxt b a { color:#ffd27a; }
.dmUrkLogTxt small { display:block; margin-top:1px; font-size:12px; color:#b9c7da; }
.dmUrkLogChk { color:#ffd27a; font-weight:900; }
.dmUrkLogFoot { margin:8px 12px 12px; font-size:11.5px; color:#6f86a8; font-style:italic; }
.dmUrkRivet { position:absolute; width:10px; height:10px; border-radius:50%; background:radial-gradient(circle at 35% 30%,#dbe9ff,#5d86c9 55%,#1c3a6e); box-shadow:0 1px 2px rgba(0,0,0,.6); }
.dmUrkRivet.tl { left:6px; top:46px; } .dmUrkRivet.tr { right:6px; top:46px; } .dmUrkRivet.bl { left:6px; bottom:6px; } .dmUrkRivet.br { right:6px; bottom:6px; }
.dmUrkWin .dmUrkQuest { display:none; }
@media (max-width:900px){
  .dmUrkWin { padding:0 10px 10px; }
  .dmUrkWin .dmUrkGrid { grid-template-columns:minmax(0,1fr); }
  .dmUrkLog { position:static; }
  .dmUrkCrumbs { margin-left:44px; }
  .dmUrkCrumbs span { padding:4px 14px 4px 12px; font-size:11.5px; }
  .dmUrkWinBar b { font-size:16px; }
}

/* 16.11.2026 (Wunsch Chris): Urkunde als Buch mit zwei Seiten und 3D-Umblättern (buch.js) – fester Rahmen statt Scrollen */
.dmBuch { outline:none; }
.dmBuchStage { position:relative; display:grid; grid-template-columns:1fr 1fr; height:clamp(470px, 66vh, 640px); perspective:2400px; perspective-origin:50% 40%;
  filter:drop-shadow(0 0 1px rgba(124,196,255,.5)) drop-shadow(0 22px 36px rgba(0,0,0,.6)); }
.dmBuchPage { position:relative; overflow:hidden; color:#f4f8ff; font-family:var(--urkSerif,'Cormorant Garamond',Georgia,serif);
  background:radial-gradient(ellipse at 25% 15%,rgba(255,255,255,.10),transparent 55%),radial-gradient(ellipse at 80% 85%,rgba(0,0,0,.35),transparent 60%),linear-gradient(160deg,#5d636d,#454a53 55%,#30343b); }
.dmBuchPage:before { content:''; position:absolute; inset:0; pointer-events:none; opacity:.55; mix-blend-mode:overlay; z-index:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.35' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 -0.35'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.dmBuchPage:after { content:''; position:absolute; inset:0; pointer-events:none; z-index:1; }
.dmBuchL { border-radius:6px 0 0 6px; clip-path:polygon(0 1.2%,4% 0,30% .7%,60% 0,100% 0,100% 100%,60% 100%,30% 99.3%,4% 100%,0 98.8%,.8% 60%,0 30%); }
.dmBuchL:after { background:linear-gradient(90deg,transparent 70%,rgba(0,0,0,.18) 88%,rgba(0,0,0,.45)); }
.dmBuchR { border-radius:0 6px 6px 0; clip-path:polygon(0 0,40% 0,70% .7%,96% 0,100% 1.2%,99.2% 30%,100% 60%,99.2% 98.8%,96% 100%,70% 99.3%,40% 100%,0 100%); }
.dmBuchR:after { background:linear-gradient(270deg,transparent 70%,rgba(0,0,0,.14) 88%,rgba(0,0,0,.4)); }
.dmBuchPage.isEmpty .dmBuchNr { display:none; }
.dmBuchIn { position:absolute; inset:30px 34px 38px; overflow:hidden; z-index:2; }
.dmBuchNr { position:absolute; left:0; right:0; bottom:12px; text-align:center; font-style:italic; font-size:13px; color:#c9d6ea; z-index:2; opacity:.85; }
.dmBuchSpine { position:absolute; top:0; bottom:0; left:50%; width:46px; margin-left:-23px; pointer-events:none; z-index:4;
  background:linear-gradient(90deg,transparent,rgba(0,0,0,.35) 38%,rgba(0,0,0,.55) 48%,rgba(255,255,255,.10) 50%,rgba(0,0,0,.5) 52%,rgba(0,0,0,.3) 62%,transparent); }
.dmBuchMeasure { position:absolute !important; left:0; top:0; width:50%; height:100%; visibility:hidden; pointer-events:none; clip-path:none; }
.dmGate .dmBuchIn h3 { font-family:'IM Fell English SC','Cormorant Garamond',Georgia,serif; font-weight:400; font-size:30px; text-align:center; margin:0 0 2px; letter-spacing:.06em; color:#fff;
  text-shadow:0 1px 0 rgba(255,255,255,.35),0 0 10px rgba(173,216,255,.45),0 2px 3px rgba(0,0,0,.45); }
.dmGate .dmBuchIn p { font-family:var(--urkSerif); font-size:17px; line-height:1.5; margin:0 0 10px; font-weight:500; color:#f6f9ff;
  text-shadow:0 0 1px rgba(255,255,255,.55),0 0 8px rgba(190,225,255,.2),0 1px 2px rgba(0,0,0,.55); }
.dmGate .dmBuchIn p b { font-variant:small-caps; letter-spacing:.04em; color:#9fd3ff; font-weight:600; }
.dmGate .dmBuchIn p b.dmUrkKonto { font-variant:normal; letter-spacing:0; }
.dmUrkTitel { margin-bottom:4px; }
.dmUrkEndBlock { padding-top:6px; }
.dmBuchNav { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; }
.dmBuchPos { font-size:13px; color:#b9c7da; font-variant-numeric:tabular-nums; }
.dmBuchBtn { min-width:44px; height:38px; padding:0 14px; border-radius:10px; border:1px solid #3f6fb8; background:linear-gradient(180deg,#24467e,#132a52); color:#dbe9ff; font-weight:700; cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 4px 10px rgba(0,0,0,.35); }
.dmBuchBtn:hover:not(:disabled) { background:linear-gradient(180deg,#2f5ba3,#183568); }
.dmBuchBtn:disabled { opacity:.45; cursor:default; }
.dmBuchNext:not(:disabled) { box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 14px rgba(80,150,255,.45); }
.dmBuchLeaf { position:absolute; top:0; bottom:0; width:50%; z-index:6; transform-style:preserve-3d; transition:transform .65s cubic-bezier(.45,.05,.3,1); will-change:transform; }
.dmBuchLeaf.isNext { left:50%; transform-origin:left center; transform:rotateY(0deg); }
.dmBuchLeaf.isNext.isGo { transform:rotateY(-180deg); }
.dmBuchLeaf.isPrev { left:0; transform-origin:right center; transform:rotateY(0deg); }
.dmBuchLeaf.isPrev.isGo { transform:rotateY(180deg); }
.dmBuchFace { position:absolute !important; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.dmBuchBack { transform:rotateY(180deg); }
.dmBuchLeaf.isNext .dmBuchFront { border-radius:0 6px 6px 0; } .dmBuchLeaf.isNext .dmBuchBack { border-radius:6px 0 0 6px; }
.dmBuchLeaf.isPrev .dmBuchFront { border-radius:6px 0 0 6px; } .dmBuchLeaf.isPrev .dmBuchBack { border-radius:0 6px 6px 0; }
.dmBuchFace:after { opacity:0; }
.dmBuchLeaf.isGo .dmBuchFront:after { animation:dmBuchShadeF .65s ease-in-out both; }
.dmBuchLeaf.isGo .dmBuchBack:after { animation:dmBuchShadeB .65s ease-in-out both; }
.dmBuchLeaf.isNext .dmBuchFront:after { background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.15) 40%,rgba(255,255,255,.12) 75%,transparent); }
.dmBuchLeaf.isNext .dmBuchBack:after { background:linear-gradient(270deg,rgba(0,0,0,.55),rgba(0,0,0,.12) 45%,transparent); }
.dmBuchLeaf.isPrev .dmBuchFront:after { background:linear-gradient(270deg,rgba(0,0,0,.55),rgba(0,0,0,.15) 40%,rgba(255,255,255,.12) 75%,transparent); }
.dmBuchLeaf.isPrev .dmBuchBack:after { background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.12) 45%,transparent); }
@keyframes dmBuchShadeF { 0% { opacity:0; } 50% { opacity:1; } 100% { opacity:1; } }
@keyframes dmBuchShadeB { 0% { opacity:1; } 50% { opacity:1; } 100% { opacity:0; } }
.dmBuchStage:has(.dmBuchLeaf.isGo.isNext) .dmBuchR .dmBuchIn,
.dmBuchStage:has(.dmBuchLeaf.isGo.isPrev) .dmBuchL .dmBuchIn { animation:dmBuchUnder .65s ease-in-out both; }
@keyframes dmBuchUnder { 0% { filter:brightness(.55); } 100% { filter:brightness(1); } }
@media (prefers-reduced-motion: reduce){ .dmBuchLeaf { transition-duration:.01s; } .dmBuchLeaf .dmBuchFace:after { animation:none !important; } }
@media (max-width:900px){
  .dmBuchStage { grid-template-columns:1fr; height:clamp(440px, 64vh, 600px); }
  .dmBuchR, .dmBuchSpine { display:none; }
  .dmBuchL { border-radius:6px; clip-path:polygon(0 1.2%,4% 0,30% .7%,60% 0,96% 0,100% 1.2%,99.2% 30%,100% 60%,99.2% 98.8%,96% 100%,60% 100%,30% 99.3%,4% 100%,0 98.8%,.8% 60%,0 30%); }
  .dmBuchL:after { background:none; }
  .dmBuchMeasure { width:100%; }
  .dmBuchIn { inset:26px 20px 36px; }
  .dmBuchLeaf.isSingle { left:0; width:100%; }
  .dmBuchLeaf.isSingle.isNext { transform-origin:left center; }
  .dmBuchLeaf.isSingle.isNext.isGo { transform:rotateY(-110deg); opacity:0; transition:transform .65s cubic-bezier(.45,.05,.3,1), opacity .65s ease-in; }
  .dmBuchLeaf.isSingle.isPrev { transform-origin:right center; }
  .dmBuchLeaf.isSingle.isPrev.isGo { transform:rotateY(110deg); opacity:0; transition:transform .65s cubic-bezier(.45,.05,.3,1), opacity .65s ease-in; }
  .dmBuchLeaf.isSingle .dmBuchBack { display:none; }
  .dmGate .dmBuchIn p { font-size:16px; }
  .dmGate .dmBuchIn h3 { font-size:25px; }
  .dmBuchNext { flex:1; }
}

/* Letzte Doppelseite: Unterschrift + Siegel mittig, leere Gegenseite mit eingeprägtem Directmusic-Symbol */
.dmBuchIn:has(> .dmUrkEndBlock:only-child) { display:flex; flex-direction:column; justify-content:center; }
.dmBuchIn > .dmUrkEndBlock:only-child .dmGateEnd { margin-bottom:28px; font-size:15px; }
.dmBuchIn > .dmUrkEndBlock:only-child .dmUrkSeal { width:120px; height:120px; }
.dmBuchStage > .dmBuchPage.isEmpty:after { background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path transform='translate(0 .8)' fill-rule='evenodd' fill='%23ffffff' opacity='.10' d='M25 25 H59.4 A15.6 15.6 0 0 1 75 40.6 V72.75 H25 Z M39.6 33.9 L68 47.8 L66.6 49.2 V72.75 H60.7 V53.3 L53.5 56.4 V72.75 H47.9 V60.6 L39.6 63.4 Z'/><path fill-rule='evenodd' fill='%23000000' opacity='.22' d='M25 25 H59.4 A15.6 15.6 0 0 1 75 40.6 V72.75 H25 Z M39.6 33.9 L68 47.8 L66.6 49.2 V72.75 H60.7 V53.3 L53.5 56.4 V72.75 H47.9 V60.6 L39.6 63.4 Z'/></svg>") center 46%/58% no-repeat; }
.dmBuchStage > .dmBuchPage.isEmpty .dmBuchIn:before { content:'Directmusic · Künstler-Urkunde'; position:absolute; left:0; right:0; bottom:8%; text-align:center; font-family:'IM Fell English SC',Georgia,serif; font-size:15px; letter-spacing:.12em; color:rgba(220,236,255,.35); }
