/* Layout: Vollbild-Buehne (WebGL) wie ein abgedunkeltes DJ-Booth, Bedienleiste unten als Mischpult-Streifen. Bewusst nur dunkel. */
:root {
  --buehne: #0c0e12;
  --pult: #15181e;
  --kante: #2a2f38;
  --text: #e7e9ee;
  --leise: #8b93a3;
  --cue: #ff5a36;          /* Akzent: Cue-Orange wie Pad-LEDs */
  --fav: #e5484d;          /* Favoritenherz, rot (User 08.11.2026) */
  --offen: #39d98a;
  --font-anzeige: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-zahl: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}
html, body { height: 100%; }
body { background: var(--buehne); color: var(--text); font-family: var(--font-anzeige); overflow: hidden; }
.app { display: grid; grid-template-rows: auto auto 1fr auto; height: 100%; }
header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding: calc(env(safe-area-inset-top, 0px) + 8px) 16px 8px; border-bottom: 1px solid var(--kante); background: var(--pult); }
h1 { margin: 0 6px 0 0; font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-wrap: balance; }
h1 span { color: var(--cue); }
.gruppe { display: flex; flex-wrap: wrap; gap: 6px; }
button { font: 600 .85rem/1 var(--font-anzeige); letter-spacing: .08em; text-transform: uppercase; color: var(--text);
  background: #1d2129; border: 1px solid var(--kante); border-radius: 4px; padding: 7px 10px; cursor: pointer; min-height: 32px; }
.wahl { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bpm { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; }
.bpm input { width: 4.2rem; }
.bpm span { font: 600 .72rem var(--font-anzeige); letter-spacing: .1em; color: var(--leise); }
.sammlungen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-width: 0; }
.sammlungen .wahl select { max-width: 15rem; }
.wahl span { font: 600 .72rem var(--font-anzeige); letter-spacing: .12em; text-transform: uppercase; color: var(--leise); }
select { font: 600 .9rem var(--font-anzeige); letter-spacing: .04em; color: var(--text); background: #1d2129; border: 1px solid var(--kante);
  border-radius: 4px; padding: 6px 28px 6px 10px; min-height: 32px; max-width: 100%; cursor: pointer; }
select:focus-visible { outline: 2px solid var(--cue); outline-offset: 2px; }
.settings { position: relative; }
.settings summary { list-style: none; cursor: pointer; font: 600 .85rem/1 var(--font-anzeige); letter-spacing: .1em; text-transform: uppercase;
  background: #1d2129; border: 1px solid var(--kante); border-radius: 4px; padding: 9px 12px; min-height: 32px; box-sizing: border-box; }
.settings summary::-webkit-details-marker { display: none; }
.settings summary::after { content: " ▾"; color: var(--leise); }
.settings[open] summary { border-color: var(--cue); }
.settings-feld { position: absolute; z-index: 10; top: calc(100% + 6px); left: 0; min-width: 300px; display: grid; gap: 10px; padding: 12px;
  background: var(--pult); border: 1px solid var(--kante); border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.settings fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.settings legend { font: 600 .72rem var(--font-anzeige); letter-spacing: .12em; text-transform: uppercase; color: var(--leise); margin-bottom: 4px; }
.settings label { display: flex; gap: 8px; align-items: center; font: 500 .92rem var(--font-anzeige); cursor: pointer; }
.settings input { accent-color: var(--cue); }
/*  #cut stand im Kopf ganz rechts; in der Unterzeile uebernimmt das
    der Behaelter .schalter (29.10.2026). */
.schalter { display: flex; flex-wrap: wrap; gap: 4px; }
/*  HAND und SETZER sind keine Klangschalter - eigene Farben, damit sie
    sich von Cut/Click/Metronom/Beat/Loop abheben (29.10.2026). */
#handBtn { border-color: #6b4bd8; color: #c3b0ff; }
#handBtn[aria-pressed="true"] { background: #6b4bd8; border-color: #6b4bd8; color: #fff; }
#setzBtn { border-color: #1f7a57; color: var(--offen); }
#setzBtn[aria-pressed="true"] { background: var(--offen); border-color: var(--offen); color: #04120c; }
button.icon { width: 40px; min-height: 36px; padding: 6px; display: inline-grid; place-items: center; }
button.icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button:disabled, select:disabled { opacity: .38; cursor: not-allowed; }
#nurClicks[aria-pressed="true"], #metronom[aria-pressed="true"], #beatBtn[aria-pressed="true"] { background: #2f7bff; border-color: #2f7bff; color: #fff; }
button:hover { border-color: #3d4452; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--cue); outline-offset: 2px; }
button[aria-pressed="true"] { background: var(--cue); border-color: var(--cue); color: #120804; }
.buehne { position: relative; min-height: 0; }
canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.lade { position: absolute; inset: 0; display: grid; place-items: center; color: var(--leise); font: 500 .9rem var(--font-zahl); }
/* Notation in eigener Zeile zwischen Kopf und Buehne - verdeckt nichts */
.notenzeile { padding: 6px 16px; background: var(--pult); border-bottom: 1px solid var(--kante); }
/* Fenster: ein Takt ganz (fit-content); mehrere Takte oder zu breit = Timeline (Band zieht unter fester Marke durch) */
.modushinweis { margin: 0; text-align: center; font: 500 .85rem var(--font-zahl); color: var(--leise); }
.modushinweis b { color: var(--cue); font-weight: 600; }
.noten { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; overflow: hidden; background: #f6f4ee; border-radius: 4px; padding: 6px 8px; }
.noten.timeline { width: min(100%, 560px); }
.notenband { position: relative; width: max-content; will-change: transform; }
.noten img { display: block; width: auto; max-width: none; }
.noten.mitzahl { padding-top: 18px; }
.noten .zeichenzahl { position: absolute; top: -15px; transform: translateX(-50%); font: 600 12px/1 "Century Schoolbook L", "New Century Schoolbook", Georgia, serif; color: #111; white-space: nowrap; }
.noten .marke { position: absolute; top: 4px; bottom: 4px; width: 3px; margin-left: -1.5px; background: var(--cue); border-radius: 2px; }
.noten .kreis { position: absolute; width: 22px; height: 22px; margin-left: -11px; margin-top: -11px;   /* feste Groesse passend zu 7,5 px Linienabstand */
  border: 3px solid var(--cue); border-radius: 50%; }
[hidden] { display: none !important; }
.zaehler { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 3;
  font: 700 clamp(4rem, 18vw, 11rem)/1 var(--font-anzeige); color: var(--cue); text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.noten .bereich { position: absolute; top: 2px; bottom: 2px; background: rgba(47, 123, 255, .16); border: 2px solid rgba(47, 123, 255, .7); border-radius: 3px; pointer-events: none; }
.schema { position: absolute; inset: 0; background: #2a2e35; box-sizing: border-box; padding: 8px 0 28px; }
.schema svg { display: block; width: 100%; height: 100%; }
/*  KEINE HAND IN DER SCHEMA-ANSICHT (Ansage des Users, 07.11.2026):
    "es sollen da nur Fader und Turntable zu sehen sein."
    Als CSS und nicht in handZustand(): die Funktion setzt das
    display-ATTRIBUT der beiden Bilder in jedem Bild neu auf "inline",
    und eine CSS-Regel steht ueber einem Praesentationsattribut. Damit
    bleibt die Handlogik unberuehrt - in der 3D-Ansicht laeuft die Hand
    weiter, der Hand-Knopf wirkt dort unveraendert.
    Die Rueckwaertspfeile (#sPfeil, #sPfeilA) bleiben: sie zeigen die
    Bewegung, nicht die Hand.  */
.schema #sHand, .schema #sHandA { display: none; }
.hinweis { position: absolute; left: 16px; bottom: 12px; color: var(--leise); font: 400 .78rem var(--font-zahl); pointer-events: none; }
.pult { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 16px;
  padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 12px); background: var(--pult); border-top: 1px solid var(--kante); }
.play { width: 52px; height: 44px; font-size: 1.1rem; }
.zeitleiste { display: grid; gap: 4px; min-width: 0; }
.zeitleiste input { width: 100%; accent-color: var(--cue); }
.zeit { display: flex; justify-content: space-between; font: 500 .8rem var(--font-zahl); color: var(--leise); font-variant-numeric: tabular-nums; }
.zeit b { color: var(--text); font-weight: 500; }
.tempo { display: flex; gap: 4px; }
.tempo button { min-width: 52px; font-family: var(--font-zahl); font-weight: 500; letter-spacing: 0; text-transform: none; }
@media (max-width: 640px) {
  .pult { grid-template-columns: auto 1fr; }
  .tempo { grid-column: 1 / -1; justify-content: center; }
  h1 { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* =====================================================================
   HUELLE, Schritt 2 des Umbaus (29.10.2026) - nach dem Entwurf des Users:
   Seitenleiste links, Kopfzeile mit Pfad/Titel/Angaben, vier Karten unten.
   ===================================================================== */
:root { --karte: #11141a; --gruen: #c6f24e; }
.rahmen { display: grid; grid-template-columns: 208px 1fr; grid-template-rows: 1fr auto;
  height: 100%; background: var(--buehne); }
.seitenleiste { grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 26px;
  padding: 20px 14px; background: #0a0c10; border-right: 1px solid var(--kante); }
.seitenleiste .marke { font: 700 1.35rem/1.05 var(--font-anzeige); letter-spacing: .06em; text-transform: uppercase; }
.seitenleiste .marke span { color: var(--gruen); }
#navi { display: flex; flex-direction: column; gap: 4px; }
#navi button { justify-content: flex-start; text-align: left; padding: 10px 12px;
  background: transparent; border-color: transparent; border-radius: 8px; letter-spacing: .06em; }
#navi button:hover { background: #151922; }
#navi button[aria-pressed="true"] { background: #161b24; border-left: 3px solid var(--gruen); color: #fff; }
/*  DIE SPALTE MUSS SCHRUMPFEN DUERFEN (04.11.2026).
    .app ist ein Raster; seine EINZIGE Spalte war implizit "auto" und
    richtete sich damit nach dem Inhalt. Die Kopfzeile ist breiter als der
    Kasten (gemessen: Spalte 1284 px in einem 1090 px breiten .app), also
    lief sie rechts hinaus - und mit ihr der Sequenzer-Knopf, der ganz
    rechts in der Kopfzeile sitzt. Bei 1378 px Fensterbreite lag er bei
    x = 1462, also 84 px AUSSERHALB, und war weder zu sehen noch zu
    treffen (User 04.11.2026: "ich kann in dieser Ansicht nicht
    rueberbewegen zum Rand, um den Sequenzer aufzurufen").
    min-width: 0 allein reichte nicht - das betrifft .app selbst, nicht
    seine Spalte. minmax(0, 1fr) erlaubt der Spalte, unter die
    Mindestbreite ihres Inhalts zu gehen; die Kopfzeile bricht dann um
    (sie steht ohnehin auf flex-wrap: wrap).  */
.app { min-width: 0; min-height: 0; grid-template-columns: minmax(0, 1fr); }
header { align-items: flex-start; }
.kopfText { min-width: 0; margin-right: auto; }
.pfad { font: 600 .68rem var(--font-anzeige); letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.szenenTitel { margin: 2px 0 3px; font: 700 1.6rem/1.1 var(--font-anzeige); letter-spacing: .01em; }
.kopfMeta { font: 500 .78rem var(--font-zahl); color: var(--leise); }
.kopfRechts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* --- die vier Karten --- */
.karten { grid-column: 2; display: grid; gap: 12px; padding: 12px 16px 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); background: var(--buehne);
  border-top: 1px solid var(--kante); max-height: 38vh; overflow: auto; }
.karte { background: var(--karte); border: 1px solid var(--kante); border-radius: 12px; padding: 12px 14px 14px; }
.karte h3 { margin: 0 0 10px; font: 600 .74rem var(--font-anzeige); letter-spacing: .16em;
  text-transform: uppercase; color: var(--leise); display: flex; gap: 8px; align-items: baseline; }
.karte h3 b { font-family: var(--font-zahl); font-weight: 500; color: #4b5costume; }
.karte h3 b { color: #4b5566; }
.karteInhalt { display: flex; flex-direction: column; gap: 10px; }
.karteInhalt .wahl { justify-content: space-between; }
.karteInhalt select { flex: 1; min-width: 0; }
.karteInhalt fieldset { border: 1px solid var(--kante); border-radius: 8px; padding: 8px 10px; }
.karteInhalt legend { padding: 0 4px; font: 600 .7rem var(--font-anzeige); letter-spacing: .12em;
  text-transform: uppercase; color: var(--leise); }
.karteInhalt .tempo { gap: 6px; }
#k2i .sammlungen { flex-direction: column; align-items: stretch; gap: 8px; }
#k2i .sammlungen .wahl { justify-content: space-between; }
#k2i .sammlungen select { max-width: none; }
@media (max-width: 860px) {
  .rahmen { grid-template-columns: 1fr; }
  .seitenleiste { grid-row: auto; flex-direction: row; align-items: center; gap: 14px; }
  #navi { flex-direction: row; }
  .karten { grid-column: 1; }
}
.karte--aktiv { border-color: var(--gruen); }
.kopfRechts .bpm { margin-left: 0; padding: 6px 10px; border: 1px solid var(--kante); border-radius: 8px; background: var(--karte); }
.kopfRechts .wahl, .kopfRechts .settings { background: var(--karte); border: 1px solid var(--kante); border-radius: 8px; padding: 6px 10px; }
/*  Auswahlfelder in den Karten duerfen die Karte nicht sprengen. */
.karteInhalt .wahl { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: 10px; }
.karteInhalt .wahl select { width: 100%; max-width: 100%; min-width: 0; }
.karteInhalt .sammlungen .wahl { grid-template-columns: 7.5rem 1fr; }

/* =====================================================================
   FEINSCHLIFF NACH DER VORLAGE (29.10.2026)
   Schrift Inter statt Barlow Condensed, Icons in der Seitenleiste,
   Kopffelder mit Beschriftung darueber, Transportleiste als Pille,
   Segmentknoepfe statt Auswahlfelder, wo die Vorlage sie zeigt.
   ===================================================================== */
:root {
  --font-anzeige: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --buehne: #0d0f13;
  --pult: #0f1216;
  --karte: #12151b;
  --kante: #232832;
  --gruen: #c6f24e;
}
body { font-family: var(--font-anzeige); }
h1, h2, h3, button, select, input, legend { font-family: var(--font-anzeige); }
button { text-transform: none; letter-spacing: 0; font-weight: 600; }

/* --- Seitenleiste --- */
.seitenleiste { padding: 22px 12px; gap: 30px; }
/*  NAMENSKOLLISION (30.10.2026): "marke" heisst auch der Abspielstrich
    im Notenband. Diese Regeln galten dort mit - der Strich war dadurch
    13 px breit und ein Flexkasten. Deshalb auf die Seitenleiste begrenzt. */
.seitenleiste .marke { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 0 6px; font: 700 1.3rem/1.08 var(--font-anzeige); letter-spacing: -.01em; text-transform: none; }
.seitenleiste .markeText { display: block; }
.seitenleiste .markePunkt { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: currentColor;
  stroke-width: 1.6; color: var(--leise); }
#navi button { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 12px;
  padding: 11px 12px; font-size: .92rem; color: #aeb6c4; border-radius: 10px; }
#navi button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
#navi button[data-karte="k1"] svg { fill: currentColor; stroke: none; }
#navi button[aria-pressed="true"] { background: #161b24; color: #fff; border-left: 3px solid var(--gruen);
  padding-left: 9px; }
#navi button[aria-pressed="true"] svg { color: var(--gruen); }

/* --- Kopfzeile --- */
header { padding: 18px 20px 14px; gap: 14px 18px; background: transparent; border-bottom: 1px solid var(--kante); }
.pfad { letter-spacing: .14em; font-size: .66rem; font-weight: 600; }
.szenenTitel { font: 700 1.75rem/1.1 var(--font-anzeige); letter-spacing: -.02em; }
.kopfMeta { font: 500 .8rem var(--font-anzeige); color: var(--leise); }
.kopfRechts { gap: 10px; }
.kopfRechts .wahl, .kopfRechts .bpm, .kopfRechts .settings {
  display: grid; gap: 2px; padding: 8px 12px; min-width: 104px;
  background: var(--karte); border: 1px solid var(--kante); border-radius: 10px; }
.kopfRechts .wahl span, .kopfRechts .bpm span {
  font: 600 .6rem var(--font-anzeige); letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.kopfRechts .wahl select { border: 0; background: transparent; padding: 0; font-weight: 600; font-size: .95rem; }
.kopfRechts .bpm { grid-template-columns: 1fr auto; align-items: center; }
.kopfRechts .bpm input { width: 3.6rem; border: 0; background: transparent; font: 600 1.05rem var(--font-anzeige);
  font-variant-numeric: tabular-nums; padding: 0; }
.kopfRechts .settings { padding: 0; }
.kopfRechts .settings summary { padding: 10px 12px; }

/* --- Notenstreifen ueber die volle Breite --- */
.notenzeile { padding: 10px 20px 0; }
.noten { border-radius: 12px; }

/* --- Transportleiste als Pille --- */
.pult { grid-template-columns: auto 1fr auto; gap: 10px 14px; padding: 12px 20px 16px; background: transparent;
  border-top: 1px solid var(--kante); }
.play { width: 56px; height: 48px; border-radius: 12px; background: var(--karte); border: 1px solid var(--kante);
  font-size: 1rem; }
.zeitleiste { background: var(--karte); border: 1px solid var(--kante); border-radius: 12px; padding: 10px 16px; }
.zeit { font-family: var(--font-anzeige); font-size: .78rem; }
.zeit b { font-family: var(--font-zahl); }
.schalter { gap: 6px; }
button.icon { width: 44px; min-height: 44px; border-radius: 10px; background: var(--karte); }
#cut[aria-pressed="true"] { background: var(--cue); border-color: var(--cue); color: #170703; }

/* --- Karten --- */
.karten { gap: 14px; padding: 4px 20px 18px; max-height: 40vh; }
.karte { border-radius: 14px; padding: 14px 16px 16px; }
.karte h3 { font-size: .72rem; letter-spacing: .14em; }
.karteInhalt .wahl { grid-template-columns: 8rem 1fr; }
.karteInhalt .wahl span { font-size: .66rem; letter-spacing: .12em; }

/* --- Segmentknoepfe --- */
.segment { display: inline-flex; gap: 4px; background: #0c0f14; border: 1px solid var(--kante);
  border-radius: 9px; padding: 3px; }
.segment button { padding: 7px 12px; border: 0; background: transparent; border-radius: 7px;
  font-size: .82rem; color: #aeb6c4; }
.segment button:hover { background: #161b24; }
.segment button[aria-pressed="true"] { background: var(--gruen); color: #10140a; }
.tempo button { border-radius: 9px; background: var(--karte); }
.tempo button[aria-pressed="true"] { background: var(--gruen); border-color: var(--gruen); color: #10140a; }

/* --- schwebende Felder auf der Buehne --- */
.buehne { position: relative; }
.bFeld { position: absolute; top: 18px; display: grid; gap: 6px; padding: 10px; border-radius: 12px;
  background: rgba(18, 21, 27, .86); border: 1px solid var(--kante); backdrop-filter: blur(6px); }
.bFeld--links { left: 18px; }
.bFeld--rechts { right: 18px; }
.bFeld h4 { margin: 0 0 2px; font: 600 .6rem var(--font-anzeige); letter-spacing: .14em;
  text-transform: uppercase; color: var(--leise); }
.bFeld button { display: grid; gap: 4px; place-items: center; width: 64px; padding: 8px 6px;
  background: transparent; border-color: transparent; border-radius: 9px; font-size: .68rem; color: #aeb6c4; }
.bFeld button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.bFeld button[aria-pressed="true"] { border-color: var(--gruen); color: var(--gruen); background: #161b24; }
/*  Karten: schmalere Beschriftungsspalte, Segmente duerfen umbrechen. */
.karteInhalt .wahl { grid-template-columns: 6.2rem 1fr; }
.segment { flex-wrap: wrap; }
.segment button { padding: 6px 10px; font-size: .78rem; }
/*  Radiofelder untereinander statt im Fliesstext. */
.karteInhalt fieldset label { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: .82rem; }
/*  Die schwebenden Felder lagen hinter dem Canvas (29.10.2026). */
.buehne canvas { position: relative; z-index: 0; }
.bFeld { z-index: 3; }
/*  Vier Fassungen passen als Zweierraster, nicht als Zeile. */
.segment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.segment button { text-align: center; }

/* --- Zeilen in den Karten (29.10.2026) --- */
.zeile { display: grid; grid-template-columns: 18px 5.4rem 1fr; align-items: center; gap: 10px; }
.zIcon svg { width: 16px; height: 16px; fill: none; stroke: var(--leise); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; display: block; }
.zText { font: 600 .66rem var(--font-anzeige); letter-spacing: .12em; text-transform: uppercase; color: var(--leise); }
.zInhalt { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zInhalt select { width: 100%; }
.zInhalt .wahl { display: block; width: 100%; }
.zInhalt .wahl span { display: none; }
.segment--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stepper { display: inline-flex; align-items: center; gap: 2px; background: #0c0f14;
  border: 1px solid var(--kante); border-radius: 9px; padding: 3px; }
.stepper button { width: 30px; padding: 5px 0; border: 0; background: transparent; border-radius: 7px;
  font-size: 1rem; color: #aeb6c4; }
.stepper button:hover { background: #161b24; }
.stepper input { width: 3.4rem; text-align: center; border: 0; background: transparent;
  font: 600 1rem var(--font-anzeige); font-variant-numeric: tabular-nums; }
.bpmSchieber { flex: 1; min-width: 110px; accent-color: var(--gruen); }

/* --- Pattern Library --- */
.libKopf { display: grid; gap: 8px; margin-bottom: 10px; }
.libSuche { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #0c0f14;
  border: 1px solid var(--kante); border-radius: 9px; }
.libSuche svg { width: 15px; height: 15px; fill: none; stroke: var(--leise); stroke-width: 1.8;
  stroke-linecap: round; flex: none; }
.libSuche input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: .85rem; }
.libReiter { display: flex; flex-wrap: wrap; gap: 4px; }
.libReiter button { padding: 5px 10px; border: 0; border-radius: 7px; background: #0c0f14;
  font-size: .75rem; color: #aeb6c4; }
.libReiter button[aria-pressed="true"] { background: var(--gruen); color: #10140a; }
.libListe { display: grid; gap: 6px; max-height: 24vh; overflow: auto; padding-right: 2px; }
/*  Fuenfte Spalte seit dem 09.11.2026: Reverse neben dem Herz.  */
.libZeile { display: grid; grid-template-columns: 30px 68px 1fr 24px 24px; align-items: center; gap: 8px;
  padding: 6px 8px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.libZeile:hover { background: #161b24; }
.libZeile--aktiv { border-color: var(--gruen); background: #151a14; }
.libPlay { width: 28px; min-height: 28px; padding: 0; display: grid; place-items: center;
  border-radius: 8px; background: #0c0f14; }
.libPlay svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.libZeile--aktiv .libPlay { background: var(--gruen); color: #10140a; }
.libBild { height: 34px; background: #f4f4f2; border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.libBild img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.libText { min-width: 0; display: grid; }
.libText b { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.libText span { font-size: .7rem; color: var(--leise); }
.libHerz { width: 28px; min-height: 28px; padding: 0; border: 0; background: transparent; color: #4b5566; }
.libHerz svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
/*  DAS HERZ IST ROT UND BLEIBT EIN HERZ (User 08.11.2026: "mach es dann so,
    dass das Herz rot ist und nicht dieser Button").
    Die allgemeine Regel button[aria-pressed="true"] faerbt JEDEN gedrueckten
    Knopf orange ein - mit Hintergrund. Beim Herz uebermalte das den Umriss
    zu einem orangen Block. Hier also Hintergrund und Rahmen ausdruecklich
    zuruecknehmen und nur die Fuellung des Herzens faerben. */
.libHerz[aria-pressed="true"] { background: transparent; border-color: transparent;
  color: var(--fav); }
.libHerz[aria-pressed="true"] svg { fill: currentColor; stroke: currentColor; }
.libLeer { margin: 6px 2px; font-size: .8rem; color: var(--leise); }
/*  Favoritenknopf in der Bibliothek - wie das Herz, nicht wie die
    allgemeine Regel fuer gedrueckte Knoepfe (die faerbt orange). */
#libFavKnopf { margin: 6px 0 0; width: 100%; font: 600 .72rem system-ui;
  letter-spacing: .04em; padding: 5px 10px; border: 1px solid #39404b;
  border-radius: 999px; background: transparent; color: var(--leise); }
#libFavKnopf[aria-pressed="true"] { background: transparent;
  border-color: var(--fav); color: var(--fav); }

/* --- Klappknopf und Kebab --- */
.karte h3 { position: relative; padding-right: 26px; }
.klapp { position: absolute; right: 0; top: -4px; width: 24px; min-height: 24px; padding: 0;
  border: 0; background: transparent; color: var(--leise); }
.klapp svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.klapp[aria-expanded="false"] svg { transform: rotate(-90deg); }
.kopfRechts .settings.kebab { min-width: 0; }
.kopfRechts .settings.kebab summary { padding: 10px; list-style: none; }
.kopfRechts .settings.kebab summary::-webkit-details-marker { display: none; }
.kopfRechts .settings.kebab summary svg { width: 18px; height: 18px; fill: currentColor; stroke: none; display: block; }
/*  Segmente passen sich der Kartenbreite an, statt in zwei hohen
    Spalten zu stapeln; das Tempo darf umbrechen (29.10.2026). */
.segment { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.segment--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.segment--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zInhalt .tempo { flex-wrap: wrap; }
.zInhalt .tempo button { min-width: 48px; }
.libListe { max-height: 20vh; }

/* --- Reiter, Kacheln, Schiebeschalter, Pfad (29.10.2026) --- */
.kReiter { margin-bottom: 10px; }
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.kacheln button { display: grid; gap: 6px; padding: 6px; background: transparent; border: 1px solid var(--kante);
  border-radius: 10px; }
.kBild { display: block; background: #1a1f28; border-radius: 7px; padding: 8px 6px; }
.kBild svg { width: 100%; height: auto; fill: none; stroke: #6b7686; stroke-width: 1.6; display: block; }
.kText { font-size: .72rem; color: #aeb6c4; }
.kacheln button[aria-pressed="true"] { border-color: var(--gruen); }
.kacheln button[aria-pressed="true"] .kText { color: var(--gruen); }
.kacheln button[aria-pressed="true"] .kBild svg { stroke: var(--gruen); }
.schieber { width: 42px; min-height: 24px; padding: 0; border-radius: 999px; background: #2a3039;
  border: 0; position: relative; }
.schKnauf { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #e7e9ee; transition: left .18s ease; }
.schieber[aria-pressed="true"] { background: var(--gruen); }
.schieber[aria-pressed="true"] .schKnauf { left: 21px; background: #10140a; }
.schText { font-size: .78rem; color: #aeb6c4; }
.pfad { display: flex; align-items: center; gap: 7px; }
.pSlash { color: #3c4453; }
.pStift { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .55; }
.kopfMeta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mPunkt { width: 4px; height: 4px; border-radius: 50%; background: #3c4453; display: inline-block; }
/*  Die Transportzeile hat seit dem Loop-Knopf vier Felder (29.10.2026). */
.pult { grid-template-columns: auto auto 1fr auto; }
#loopBtn { align-self: center; }
/*  Kachelbeschriftung darf nicht ueberlaufen (29.10.2026). */
.kacheln button { min-width: 0; }
.kText { font-size: .66rem; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/*  Heller Raum: der Hinweistext auf der Buehne braucht dunkle Schrift. */
body.raumHell .hinweis { color: #5c6471; }
/*  Die Ansichtskacheln brauchen die ganze Kartenbreite, sonst bleibt
    von "Draufsicht" nur "Dr..." (29.10.2026). */
.zeile--breit .zInhalt { grid-column: 1 / -1; }
.zeile--breit { row-gap: 8px; }
.kText { white-space: normal; }

/* --- mehr Buehne (29.10.2026) --- */
.zeile--gesperrt { opacity: .45; }
.libWerkzeug { display: flex; align-items: center; gap: 10px; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid var(--kante); }
.libSetz { width: 36px; min-height: 36px; }
/*  Zugeklappt schrumpft die Kartenzeile auf die Koepfe - die Buehne
    bekommt den Platz, weil .rahmen die Zeile mit "auto" bemisst. */
.karte .karteInhalt[hidden] { display: none; }
body.kartenZu .karten { max-height: none; padding-bottom: 10px; }
/*  Eine einzelne Karte nimmt den unteren Bereich ganz ein (09.11.2026).
    Das Raster steht auf auto-fit; leere Spalten fallen dort auf null
    zusammen, die sichtbare Karte bekommt damit die volle Breite.  */
body.eineKarte .karte[hidden] { display: none; }
body.eineKarte .karten { grid-template-columns: 1fr; max-height: 44vh; }
/*  Und der INHALT verteilt sich ueber die Breite, statt als schmale
    Spalte links zu stehen (Ansage des Users, 09.11.2026: "ordne es hier
    ueber den ganzen Bereich an, nicht nur auf der linken Seite als
    Block"). Eine Zeile je Rasterzelle, so viele Spalten wie passen.  */
body.eineKarte .karteInhalt { display: grid; align-content: start; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px 28px; }
body.eineKarte .karteInhalt > .sammlungen,
body.eineKarte .karteInhalt > fieldset { grid-column: 1 / -1; }
body.kartenZu .karte { padding-bottom: 8px; }
#kartenBtn[aria-pressed="false"] { background: var(--gruen); border-color: var(--gruen); color: #10140a; }

/* --- eine Ansichtsleiste oben auf der Buehne (29.10.2026) --- */
.bLeiste { position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px; border-radius: 12px; z-index: 3;
  background: rgba(18, 21, 27, .82); border: 1px solid var(--kante);
  backdrop-filter: blur(8px); max-width: calc(100% - 28px); overflow: auto; }
.bLeiste button { display: flex; align-items: center; gap: 7px; padding: 7px 11px;
  background: transparent; border-color: transparent; border-radius: 9px;
  font-size: .78rem; color: #aeb6c4; white-space: nowrap; }
.bLeiste button svg { width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 1.7; flex: none; }
.bLeiste button:hover { background: #1b212b; }
.bLeiste button[aria-pressed="true"] { background: var(--gruen); color: #10140a; }
body.raumHell .bLeiste { background: rgba(255, 255, 255, .86); border-color: #d4d8de; }
body.raumHell .bLeiste button { color: #46505f; }
body.raumHell .bLeiste button:hover { background: #e7eaee; }
/*  button.icon setzt display:inline-grid und hat damit [hidden]
    ausgehebelt - verborgene Schalter blieben sichtbar (29.10.2026). */
button.icon[hidden], button[hidden] { display: none !important; }
/*  Ohne Pfeil braucht der Kartenkopf den Platz rechts nicht mehr. */
.karte h3 { padding-right: 0; }

/* --- Ansichten in der Seitenleiste (30.10.2026) --- */
.naviAnsicht { display: flex; flex-direction: column; gap: 3px; padding-top: 18px;
  margin-top: 4px; border-top: 1px solid var(--kante); }
.naviAnsicht h4 { margin: 0 0 6px 12px; font: 600 .6rem var(--font-anzeige);
  letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.naviAnsicht button { display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 12px;
  padding: 9px 12px; background: transparent; border-color: transparent; border-radius: 10px;
  font-size: .85rem; color: #aeb6c4; text-align: left; }
.naviAnsicht button svg { width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.naviAnsicht button:hover { background: #151922; }
.naviAnsicht button[aria-pressed="true"] { background: #161b24; color: var(--gruen); }
.bLeiste { display: none; }

/* --- Abspielstrich schmal und durchscheinend (30.10.2026) ---
   Der Strich sitzt im Notenband, das skaliert wird - 3 px wurden dadurch
   zum Balken. Jetzt 1 px und halb durchsichtig. */
.noten .marke { width: 1px; margin-left: -0.5px; border-radius: 0;
  background: rgba(255, 90, 54, .55); }

/* --- Hintergrundfarbe oben rechts in der Ecke der Bühne --- */
.raumEcke { position: absolute; top: 12px; right: 12px; z-index: 4; display: flex; gap: 4px;
  padding: 4px; border-radius: 10px; background: rgba(18, 21, 27, .72);
  border: 1px solid var(--kante); backdrop-filter: blur(6px); }
body.raumHell .raumEcke { background: rgba(255, 255, 255, .78); border-color: #d4d8de; }
.raumEcke button { width: 30px; min-height: 30px; padding: 0; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 8px; color: #aeb6c4; }
body.raumHell .raumEcke button { color: #5c6471; }
.raumEcke button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; }
.raumEcke button[aria-pressed="true"] { background: var(--gruen); color: #10140a; }

/* --- Markierung an/aus, roter Punkt in der Notenzeile (30.10.2026) --- */
.noten { position: relative; }
.markeSchalter { position: absolute; top: 7px; right: 9px; z-index: 5;
  width: 13px; height: 13px; min-height: 0; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--cue); background: transparent; }
.markeSchalter[aria-pressed="true"] { background: var(--cue); }
.markeSchalter:hover { box-shadow: 0 0 0 3px rgba(255, 90, 54, .18); }
.noten--ohneMarke .marke, .noten--ohneMarke .kreis { display: none; }

/* --- Ansichten als Iconspalte rechts, unter Hell/Dunkel (30.10.2026) --- */
.ansichtEcke { position: absolute; top: 54px; right: 12px; z-index: 4;
  display: flex; flex-direction: column; gap: 4px; padding: 4px; border-radius: 10px;
  background: rgba(18, 21, 27, .72); border: 1px solid var(--kante); backdrop-filter: blur(6px); }
body.raumHell .ansichtEcke { background: rgba(255, 255, 255, .78); border-color: #d4d8de; }
.ansichtEcke button { width: 30px; min-height: 30px; padding: 0; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 8px; color: #aeb6c4; }
body.raumHell .ansichtEcke button { color: #5c6471; }
.ansichtEcke button svg { width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ansichtEcke button:hover { background: rgba(255, 255, 255, .10); }
body.raumHell .ansichtEcke button:hover { background: rgba(0, 0, 0, .06); }
.ansichtEcke button[aria-pressed="true"] { background: var(--gruen); color: #10140a; }
/*  Die Liste in der Seitenleiste ist ersetzt. */
.naviAnsicht[hidden] { display: none; }
/*  Ansichten nach links, gegenüber dem Hell/Dunkel-Schalter rechts
    (30.10.2026, Vorgabe des Users). */
.ansichtEcke { top: 12px; left: 12px; right: auto; }

/* --- Ecksteuerungen 30 % kleiner, Ansichten waagerecht (30.10.2026) --- */
.ansichtEcke { flex-direction: row; }
.raumEcke, .ansichtEcke { gap: 3px; padding: 3px; border-radius: 8px; }
.raumEcke button, .ansichtEcke button { width: 21px; min-height: 21px; border-radius: 6px; }
.raumEcke button svg, .ansichtEcke button svg { width: 11px; height: 11px; stroke-width: 1.9; }
/*  Name des Viewers seit 30.10.2026: ETON (vorher Scratch 360).
    Einzeiliger Schriftzug, deshalb etwas groesser und mit Sperrung. */
.seitenleiste .markeText { font-size: 1.5rem; letter-spacing: .08em; }
/*  Der Stern sitzt dort, wo im Schriftzug sonst der Apostroph stuende:
    hochgestellt, deutlich kleiner als die Ziffer (30.10.2026). */
.seitenleiste .markeText { white-space: nowrap; }
.seitenleiste .markeStern { font-size: .46em; line-height: 1; vertical-align: .62em;
  margin: 0 .02em 0 .1em; display: inline-block; }
/*  Stern hinter der 7 (30.10.2026): links ein Haar Abstand, rechts keiner. */
.seitenleiste .markeStern { margin: 0 0 0 .05em; }
/*  Der Stern soll ein Stueck ueber der Oberkante der 7 stehen
    (30.10.2026). Versalhoehe liegt bei rund .72 em, deshalb .95. */
.seitenleiste .markeStern { vertical-align: .95em; }

/* =====================================================================
   BUEHNE BEKOMMT EINE UNTERGRENZE (31.10.2026, Vorgabe des Users)
   Beim Beatjuggling ist der Notenstreifen zweisystemig und damit rund
   184 px hoch. Da .app als Raster "auto auto 1fr auto" laeuft, blieb der
   Buehne nur noch 63 px - die Plattenspieler waren ein Strich.
   Den Streifen zu verkleinern ist nach V10b verboten (Linienabstand
   bleibt 7,5 px), also bekommt die Buehne eine Untergrenze und die Seite
   darf stattdessen scrollen. Auf kurzen Fenstern greift 45vh zuerst.
   ===================================================================== */
.buehne { min-height: min(240px, 45vh); max-height: 46vh; }
.rahmen { height: auto; min-height: 100%; }
/*  WAS HINAUSLAEUFT, MUSS ERREICHBAR BLEIBEN (04.11.2026).
    Hier stand nur overflow-y: auto; waagerecht blieb es beim
    overflow: hidden aus Zeile 15. Alles, was rechts ueber den Rand
    ragte, war damit ABGESCHNITTEN und mit keiner Geste zu erreichen -
    nicht mit dem Trackpad, nicht mit der Leiste, gar nicht.
    Gemessen bei 520 px Fensterbreite: Inhalt 1077 px, also 557 px
    Ueberhang, der schlicht fehlte.
    Ansage des Users: "es muesste halt so sein, dass man auch bei
    schmalem Fenster in der App sich hin und her bewegen kann, um auf
    die Buttons zu kommen - dies ist ja bei anderen auch so."
    Mit auto erscheint die Leiste NUR, wenn wirklich etwas hinauslaeuft;
    passt alles ins Fenster, aendert sich nichts.  */
body { overflow: auto; }

/* =====================================================================
   NOTENSTREIFEN AUF DER BUEHNENFARBE (31.10.2026, Vorgabe des Users)
   Der Streifen stand als weisse Karte mit Rand und Polsterung in einem
   dunklen Band. Jetzt laeuft er in derselben Farbe wie die Buehne weiter
   (#e9ebee, das ist scene.background) - das spart rund 21 px Hoehe und
   beruhigt das Bild.
   Das PNG hat einen fest eingebackenen weissen Hintergrund (gemessen:
   0 % durchsichtig, 90 % weiss), deshalb reicht die Farbe allein nicht -
   mix-blend-mode: multiply loescht das Weiss gegen den Untergrund und
   laesst Linien und Koepfe stehen.
   ACHTUNG, zwei Stapelkontexte: .noten hat overflow:hidden und
   .notenband hat will-change:transform. Multiply mischt immer nur gegen
   den NAECHSTEN Kontext - die Farbe muss deshalb auf BEIDEN stehen,
   sonst bleibt das weisse Rechteck sichtbar.
   ===================================================================== */
.notenzeile { background: #e9ebee; border-bottom: none; padding: 2px 20px 0; }
.noten { background: #e9ebee; padding: 0; border-radius: 0; }
.noten .notenband { background: #e9ebee; }
.noten img { mix-blend-mode: multiply; }

/* =====================================================================
   BEDIENKNOEPFE NACH UNTEN (31.10.2026, Vorgabe des Users)
   Die Hinweiszeile "Ziehen: drehen ..." faellt weg; an ihrer Stelle
   stehen jetzt links die Ansichtsknoepfe und rechts Hell/Dunkel. Oben
   bleibt die Buehne frei, das Bild beginnt direkt unter der Notation.
   ===================================================================== */
.hinweis { display: none; }
.ansichtEcke { top: auto; bottom: 12px; left: 12px; right: auto; }
.raumEcke { top: auto; bottom: 12px; right: 12px; left: auto; }

/* =====================================================================
   VORSCHAUEN IN DER SEITENLEISTE (31.10.2026, Vorgabe des Users)
   Die Leiste wird dafuer breiter (208 -> 272 px) und das Vorschaubild
   schmaler. Die Liste nimmt die uebrige Hoehe und scrollt fuer sich.
   ===================================================================== */
.rahmen { grid-template-columns: 272px 1fr; }
.seitenleiste { gap: 18px; min-height: 0; }
.leisteLib { display: flex; flex-direction: column; min-height: 0; flex: 1; }
/*  Am Fenster deckeln, NICHT ueber flex: seit die Buehne eine Untergrenze hat, steht
    .rahmen auf height:auto - die Leiste hat dann keine feste Hoehe, an der flex sich
    ausrichten koennte, und die Liste wuchs auf 4650 px. */
.leisteLib .libListe { max-height: 52vh; overflow: auto; min-height: 120px; }
.leisteLib .libZeile { grid-template-columns: 26px 56px 1fr 22px 22px; gap: 6px; padding: 5px; }
.leisteLib .libBild { height: 28px; }
.leisteLib .libKopf { margin-bottom: 8px; }
.leisteLib .libWerkzeug { margin-top: 8px; }

/*  =====================================================================
    01 TRAINING - Aufbau nach der Skizze des Users (09.11.2026)
    Oben zwei Wahlfelder (Trainingsmodus breit, aktiver Takt daneben),
    ein Trennstrich, darunter die vier Schalter in einer Reihe. Die
    Beschriftung steht UEBER dem Feld. Nur Anordnung - keine Aenderung
    an den Schalterfunktionen.
    ===================================================================== */
/*  Der Karteninhalt stapelt hier selbst; das auto-fit-Raster aus
    body.eineKarte darf nicht dazwischenfunken (ID schlaegt Klasse).  */
/*  align-items: start aus body.eineKarte wirkt auch auf Flex und haette
    die Gruppen auf Inhaltsbreite zusammengezogen - hier ausdruecklich
    ueber die volle Breite.  */
#k1i { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
.trGruppe { display: grid; gap: 14px 24px; align-items: start; }
/*  Der Modus nimmt den Platz, der aktive Takt braucht nur wenig -
    Verhaeltnis wie in der Skizze.  */
.trGruppe--modus { grid-template-columns: minmax(0, 1fr) minmax(110px, 190px)
  minmax(150px, 250px); }
.trGruppe--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trFeld { display: grid; gap: 7px; min-width: 0; align-content: start; }
.trText { font: 600 .66rem var(--font-anzeige); letter-spacing: .12em;
  text-transform: uppercase; color: var(--leise); }
.trFeld .segment { width: 100%; }
/*  Das breite Feld laesst alle Stellungen nebeneinander laufen und
    bricht erst um, wenn die Breite nicht mehr reicht.  */
.segment--fluss { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); }
.trFeld--gesperrt { opacity: .45; }
.trTrenner { border: 0; border-top: 1px solid var(--kante); margin: 16px 0; }
@media (max-width: 1100px) {
  .trGruppe--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .trGruppe--modus { grid-template-columns: 1fr; }
}

/*  Reverse je Zeile in der Technikleiste (09.11.2026), neben dem Herz. */
.libRev { width: 28px; min-height: 28px; padding: 0; border: 0; background: transparent; color: #4b5566; }
.libRev svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linejoin: round; }
.libRev:hover { color: var(--gruen); }
.libRev[aria-pressed="true"] { background: transparent; border-color: transparent; color: var(--gruen); }
.libRev[aria-pressed="true"] svg { fill: currentColor; }

/*  Bleibt nur der Hinweis stehen (Reverse, Tempofassung): volle Breite,
    mittig - sonst klebte er links neben leerem Platz (09.11.2026).  */
.notenzeile.nurHinweis { flex-wrap: wrap; }
.notenzeile.nurHinweis > .modushinweis { flex-basis: 100%; text-align: center; margin: 0; }

/*  Reverse im Setzer (09.11.2026): Stellung am Knopf, Marke am Block.  */
#setzFeldung button.tat[aria-pressed="true"] { background: var(--gruen); border-color: var(--gruen);
  color: #10140a; }
.setzFeld--rev { box-shadow: inset 0 0 0 1px var(--gruen); }
.setzRevM { color: var(--gruen); }
.blk--rev { box-shadow: inset 0 0 0 1px var(--gruen); }

/* 15.11.2026 (User): Notenstreifen und TTM ohne eigenen Grund - die Bilder sind transparent */
.noten, .noten.timeline, .ttmFeld { background: transparent; }
.noten img { mix-blend-mode: normal; }
.noten .notenband { background: transparent; }

/* Techniken-Dropdown in der Seitenleiste (15.11.2026): Sammlungen direkt waehlbar. */
#naviTechniken { display: grid; gap: 2px; margin: 0 0 6px 30px; padding-left: 10px; border-left: 1px solid #2a2f3a; }
#naviTechniken[hidden] { display: none; }
.navUnter { padding: 7px 10px; border-radius: 6px; font-size: .86rem; color: #aeb4bf; cursor: pointer; outline: none; }
.navUnter:hover, .navUnter:focus-visible { background: #151922; color: #fff; }
.navUnter[aria-current="true"] { color: var(--gruen); background: #161b24; font-weight: 600; }
#navi button[aria-expanded="true"] svg { color: var(--gruen); }

/* Rausch-Knopf neben dem Herz (Drumming-Muster, 17.11.2026) */
.libRausch { width: 28px; min-height: 28px; padding: 0; border: 0; background: transparent; color: #4b5566; }
.libRausch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.libRausch:hover { color: var(--gruen); }
.libRausch[aria-pressed="true"] { background: transparent; border-color: transparent; color: var(--gruen); }
.libRausch[hidden] { display: none; }
