/**
 * grundlage.css — Tokens, Themen und die gemeinsamen Bausteine jeder Seite.
 *
 * Copyright (c) 2026 Rico Pinzke. Alle Rechte vorbehalten.
 * Stand: 2026-11-23 12:46
 */

:root,
:root[data-theme="hell"],
.hellprobe {
  color-scheme: light;
  --seite: #faf7f2;
  --tisch: #faf7f2;
  --nacht1: #26335c;
  --nacht2: #0f1630;
  --nacht3: #070b18;
  --karte: #fffdf9;
  --karte2: #f3ead8;
  --text: #2f2a24;
  --leise: #6b6357;
  --rand: #e7ddca;
  --gold1: #a9723c;
  --gold2: #855628;
  --knopf1: #9d6832;
  --knopf2: #7a4d22;
  --goldtext: #ffffff;
  --symbol: #855628;
  --spielerdeckung: 100%;
  --spielerflaeche: 16%;
  --zeichenrand: transparent;
  --rot: #c7362f;
  --blau: #2f63c4;
  --gruen: #3f7d4a;
  --kante: inset 0 1px 0 rgba(255, 255, 255, .8);
  --schatten: 0 10px 30px rgba(70, 55, 25, .10);
  --schatten2: 0 4px 12px rgba(70, 55, 25, .08);
  --hell: #ffffff;
  --radius: 14px;
}

:root[data-theme="dunkel"],
.nachtprobe {
  color-scheme: dark;
  --seite: #111112;
  --tisch: #111112;
  --karte: #1c1c1e;
  --karte2: #2a2a2d;
  --text: #f2f2f4;
  --leise: #a3a3aa;
  --rand: #3a3a3e;
  --gold1: #a8a8b0;
  --gold2: #c8c8ce;
  --knopf1: #55555b;
  --knopf2: #424247;
  --goldtext: #f2f2f4;
  --symbol: #c8c8ce;
  --rot: #e8584c;
  --blau: #6a9cf5;
  --gruen: #74c487;
  --kante: inset 0 1px 0 rgba(255, 255, 255, .06);
  --schatten: 0 12px 32px rgba(0, 0, 0, .55);
  --schatten2: 0 4px 14px rgba(0, 0, 0, .45);
  --hell: #ffffff;
  --spielerdeckung: 70%;
  --spielerflaeche: 26%;
  --zeichenrand: rgba(255, 255, 255, .22);
  --flaeche: #1c1c1e;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

:root {
  --aufheller: #ffffff;
  --glasunschaerfe: 10px;
  --auflage: var(--karte);
  --auflagerand: var(--rand);
  --akzent: var(--gold1);
  --knopfsymbol: var(--gold2);
  --schatten-klein: var(--schatten2);
  --flaeche: var(--tisch);
  --flaechenlinie: var(--rand);
}

:root[data-theme="hell"] {
  --flaeche: color-mix(in srgb, var(--tisch) 38%, #ffffff);
  --flaechenlinie: color-mix(in srgb, var(--tisch) 74%, var(--text));
}

.fenster,
.buehne {
  --auflage: var(--karte);
  --auflagerand: var(--rand);
}

body {
  background: var(--seite);
  color: var(--text);
  font: 15px/1.35 "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.vorrat {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ansicht {
  display: contents;
}

.unsichtbar {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.leise {
  color: var(--leise);
}

.klein {
  font-size: 12px;
}

body [hidden] {
  display: none;
}

svg.bild {
  width: 28px;
  height: 28px;
  flex: none;
  overflow: visible;
}

svg.i {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--rand);
  border-radius: 22px;
  padding: 10px 16px;
  font: 700 14px "Segoe UI", system-ui, sans-serif;
  background: var(--karte);
  color: var(--text);
  box-shadow: var(--schatten2), var(--kante);
  cursor: pointer;
  white-space: nowrap;
}

.knopf.gold {
  background: linear-gradient(color-mix(in srgb, var(--knopf1) 88%, #ffffff), var(--knopf1) 45%, var(--knopf2));
  color: var(--goldtext);
  border-color: color-mix(in srgb, var(--knopf2) 82%, #000000);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--knopf2) 28%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .22);
  text-shadow: 0 1px 0 color-mix(in srgb, var(--knopf2) 70%, transparent);
}

.knopf.gross {
  width: 100%;
  height: 44px;
  padding: 0 18px;
  font-size: 16px;
  border-radius: 28px;
}

.knopf:disabled,
.rund:disabled {
  opacity: .4;
  cursor: default;
}

.knopf,
.rund {
  transition: transform .08s ease-out, background .08s ease-out, filter .08s ease-out;
}

.knopf.gedrueckt:not(.gold),
.rund.gedrueckt,
.zugknopf.gedrueckt:not(.knopf-wurf),
.segment button.gedrueckt:not(.an),
.partnerwahl button.gedrueckt:not(.an),
.schrittknopf.gedrueckt {
  transform: scale(.95);
  background: color-mix(in srgb, var(--knopf1) 24%, var(--karte));
  border-color: color-mix(in srgb, var(--knopf1) 55%, var(--rand));
}

.knopf.gold.gedrueckt,
.zugknopf.knopf-wurf.gedrueckt,
.segment button.an.gedrueckt,
.partnerwahl button.an.gedrueckt {
  transform: scale(.95);
  filter: brightness(1.15);
}

.rund {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--auflage);
  color: var(--knopfsymbol);
  box-shadow: var(--schatten2), var(--kante);
  border: 0;
  cursor: pointer;
  padding: 0;
}

.rund.gross {
  width: 64px;
  height: 64px;
}

.rund.gross svg.i {
  width: 30px;
  height: 30px;
}

.rund.klein {
  width: 36px;
  height: 36px;
}

.rund.gold {
  background: linear-gradient(var(--knopf1), var(--knopf2));
  color: var(--goldtext);
}

.knopf:focus-visible,
.rund:focus-visible,
.segment button:focus-visible,
.kachel:focus-visible,
.themaknopf:focus-visible,
input:focus-visible,
summary:focus-visible,
[data-feld]:focus-visible {
  outline: 2px solid var(--gold1);
  outline-offset: 2px;
}

.segment {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--rand);
  background: var(--karte2);
}

.segment button {
  flex: 1;
  min-width: 0;
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 4px;
  background: transparent;
  color: var(--leise);
  font: 600 13.5px "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  transition: color .15s;
}

.segment button.an {
  background: linear-gradient(var(--knopf1), var(--knopf2));
  color: var(--goldtext);
  box-shadow: var(--schatten2);
}

.segment.schiebbar {
  position: relative;
  touch-action: pan-y;
}

.segment.schiebbar button {
  position: relative;
  z-index: 1;
}

.segment.schiebbar button.an {
  background: transparent;
  box-shadow: none;
}

.segment-knopf {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--breite, 0);
  border-radius: 999px;
  background: linear-gradient(var(--knopf1), var(--knopf2));
  box-shadow: var(--schatten2);
  transform: translateX(var(--links, 0));
  pointer-events: none;
}

.segment.ohne-wahl .segment-knopf {
  visibility: hidden;
}

.segment.bereit .segment-knopf {
  transition: transform .22s cubic-bezier(.3, .7, .3, 1), width .22s cubic-bezier(.3, .7, .3, 1);
}

.segment.zieht .segment-knopf {
  transform: translateX(var(--zug, 0));
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .segment.bereit .segment-knopf {
    transition: none;
  }
}

.eingabe {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--rand);
  border-radius: 26px;
  background: var(--karte);
  box-shadow: var(--kante);
  color: var(--symbol);
}

.eingabe input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 15px "Segoe UI", system-ui, sans-serif;
  padding: 13px 0;
  outline: none;
}

.regler {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: var(--rand);
  position: relative;
  transition: background .2s;
}

.regler::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--karte);
  box-shadow: var(--schatten2);
  transition: transform .2s;
}

.themen {
  display: flex;
  gap: 8px;
}

.overlay {
  --glasrand-oben: max(16px, env(safe-area-inset-top, 0px));
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  padding: var(--glasrand-oben) 16px max(16px, env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
  -webkit-backdrop-filter: blur(var(--glasunschaerfe));
  backdrop-filter: blur(var(--glasunschaerfe));
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  .overlay {
    --glasrand-oben: calc(env(safe-area-inset-top, 0px) + 20px);
    bottom: calc(-1 * env(safe-area-inset-top, 0px));
    padding-bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + env(safe-area-inset-top, 0px));
  }

  .overlay > .fenster {
    max-height: calc(var(--sichthoehe, 100dvh) - var(--glasrand-oben) - max(16px, env(safe-area-inset-bottom, 0px)));
  }
}

.fenster {
  position: relative;
  flex: none;
  width: min(520px, 100%);
  max-height: calc(100dvh - var(--glasrand-oben) - max(16px, env(safe-area-inset-bottom, 0px)));
  margin: auto;
  overflow: hidden;
  background: var(--karte);
  border-radius: 22px;
  border: 1px solid var(--rand);
  box-shadow: var(--schatten);
  --fensterrand: 22px;
  display: flex;
  flex-direction: column;
}

.fenster-inhalt {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--fensterrand) var(--fensterrand) 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fenster h2 {
  flex: none;
  margin: 0;
  padding: 14px 20px 13px;
  background: linear-gradient(var(--knopf1), var(--knopf2));
  color: var(--goldtext);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12);
  font-size: 20px;
  text-align: center;
}

.wahlzeile {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gruppe {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--rand) 70%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--karte2) 45%, var(--karte));
}

.gruppe-kopf {
  margin: 0;
  font: inherit;
}

.gruppe-knopf {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gruppe-knopf:focus-visible {
  outline: 2px solid var(--gold1);
  outline-offset: 4px;
  border-radius: 12px;
}

.gruppe-symbol {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(var(--knopf1), var(--knopf2));
  color: var(--goldtext);
}

.gruppe-symbol svg.i {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.gruppe-titel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gruppe-titel b {
  font-size: 15px;
  line-height: 30px;
  color: var(--text);
}

.gruppe-innen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
}

.gruppe.zu {
  padding-block: 10px;
}

.gruppe.zu .gruppe-koerper,
.gruppe.zu .gruppe-titel small {
  display: none;
}

.gruppe-knopf .acc-pfeil {
  line-height: 30px;
}

.gruppe:not(.zu) .acc-pfeil {
  transform: rotate(180deg);
}

.gruppe-titel small {
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--leise);
}

.wahl-titel {
  font-size: 13.5px;
  color: var(--text);
}

.kachelwahl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.kachelwahl.zwei {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kachelwahl.zwei > :only-child {
  grid-column: 1 / -1;
}

.kachelwahl.vier {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kachel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 6px 9px;
  border: 1px solid var(--rand);
  border-radius: 12px;
  background: var(--karte);
  color: var(--leise);
  font: 600 12.5px/1.2 "Segoe UI", system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, color .15s, background-color .15s;
}

.kachel.an {
  border-color: var(--symbol);
  background: var(--karte);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--symbol);
}

.kachel > svg.i {
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
}

.kachel-name svg.i {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.kachel.an svg.i {
  color: var(--symbol);
}

.kachel-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.kachel[data-erkannt]::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--symbol);
}

.schaltkachel {
  align-items: stretch;
  justify-content: flex-start;
  gap: 3px;
  padding: 10px 12px 12px;
  text-align: left;
}

.schaltkachel input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.schaltkachel b {
  color: var(--text);
  font-size: 14px;
}

.schaltkachel small {
  font-weight: 400;
  font-size: 11.5px;
  line-height: 1.35;
}

.schaltkopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.schaltbild {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--karte2);
  box-shadow: inset 0 0 0 1px var(--rand);
  color: var(--leise);
  transition: background-color .15s, color .15s;
}

.schaltbild svg.i {
  width: 21px;
  height: 21px;
}

.schaltkachel .an-bild,
.schaltkachel input:checked ~ .schaltkopf .aus-bild {
  display: none;
}

.schaltkachel input:checked ~ .schaltkopf .an-bild {
  display: block;
}

.schaltkachel:has(input:checked) {
  border-color: var(--symbol);
  background: var(--karte);
  box-shadow: inset 0 0 0 1px var(--symbol);
}

.schaltkachel input:checked ~ .schaltkopf .schaltbild,
.schaltkachel:has(input:checked) .schaltbild {
  background: linear-gradient(var(--knopf1), var(--knopf2));
  box-shadow: var(--schatten2);
  color: var(--goldtext);
}

.schaltkachel input:checked ~ .schaltkopf .regler {
  background: var(--symbol);
}

.schaltkachel input:checked ~ .schaltkopf .regler::after {
  transform: translateX(18px);
}

.schaltkachel input:focus-visible ~ .schaltkopf .regler {
  outline: 2px solid var(--gold1);
  outline-offset: 2px;
}

.modusbild {
  position: relative;
  width: 100%;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
}

.modusbild::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--rand);
}

.miniseite {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 8px;
  background: var(--seite);
}

.miniseite + .miniseite {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.miniseite i {
  display: block;
  height: 20px;
  border-radius: 4px;
  background: var(--karte);
  box-shadow: inset 0 0 0 1px var(--rand);
}

.miniseite s {
  display: block;
  width: 55%;
  height: 8px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(var(--knopf1), var(--knopf2));
}

.fenster .zeile {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fenster-inhalt > *,
.weitergeben > * {
  flex-shrink: 0;
}

.acc .regeltext {
  font-size: 13px;
}

.ki-fassung {
  margin: 6px 0;
  font-weight: 700;
}

.acc .regeltext a {
  color: var(--symbol);
  font-weight: 600;
}

.weitergeben {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.empfehlfenster {
  width: min(440px, 100%);
}

.sprachfenster {
  width: min(380px, 100%);
}

.sprachliste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sprachknopf {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--rand);
  border-radius: 14px;
  background: var(--karte2);
  color: var(--text);
  font: 600 14px "Segoe UI", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}

.sprachkuerzel {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 22px;
  border-radius: 6px;
  background: var(--karte);
  color: var(--leise);
  font-size: 11px;
  letter-spacing: .06em;
}

.sprachknopf.an {
  border-color: var(--symbol);
  box-shadow: inset 0 0 0 1px var(--symbol);
}

.sprachknopf.an .sprachkuerzel {
  background: linear-gradient(var(--knopf1), var(--knopf2));
  color: var(--goldtext);
}

.sprachknopf:focus-visible {
  outline: 2px solid var(--gold1);
  outline-offset: 2px;
}

.empfehl-text {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: var(--leise);
}


.teilen-kopf b {
  display: block;
  font-size: 16px;
}

.teilen-kopf small {
  display: block;
  margin-top: 3px;
  color: var(--leise);
  line-height: 1.45;
}

.teilen-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.teilen-knopf[hidden] {
  display: none;
}

.teilen-wege {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
}

.teilen-weg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 62px;
  padding: 8px 4px;
  border: 1px solid var(--rand);
  border-radius: 12px;
  background: var(--karte2);
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
}

.teilen-weg:active {
  transform: translateY(1px);
}

.teilen-weg:focus-visible,
.acc-kopf:focus-visible {
  outline: 2px solid var(--gold1);
  outline-offset: 2px;
}

.teilen-meldung {
  margin: 0;
  font-size: 13px;
  color: var(--symbol);
  text-align: center;
  overflow-wrap: anywhere;
}

.teilen-meldung:empty {
  display: none;
}

.acc {
  border: 1px solid color-mix(in srgb, var(--rand) 70%, transparent);
  border-radius: 18px;
  overflow: hidden;
  background: color-mix(in srgb, var(--karte2) 45%, var(--karte));
}

.acc-kopf {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.acc-titel {
  font-weight: 700;
  font-size: 14px;
}

.acc-wert {
  margin-left: auto;
  color: var(--leise);
  font-size: 12.5px;
  white-space: nowrap;
}

.acc-wert + .acc-pfeil {
  margin-left: 8px;
}

.tischwahl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.tischkarte {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border: 1.5px solid var(--rand);
  border-radius: 12px;
  background: var(--karte2);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.tischkarte b {
  font-size: 11.5px;
  font-weight: 600;
}

.tischkarte.an {
  border-color: var(--symbol);
  box-shadow: inset 0 0 0 1px var(--symbol);
}

.themaprobe {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 60px;
  height: 102px;
  padding: 10px 8px;
  border-radius: 8px;
  background: var(--seite);
  box-shadow: inset 0 0 0 1px var(--rand);
}

.themaprobe i {
  display: block;
  height: 46px;
  border-radius: 6px;
  background: var(--karte);
  box-shadow: inset 0 0 0 1px var(--rand);
}

.themaprobe s {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(var(--knopf1), var(--knopf2));
}

.acc-pfeil {
  margin-left: auto;
  color: var(--leise);
  font-size: 12px;
  transition: transform .2s;
}

.acc.offen .acc-pfeil {
  transform: rotate(180deg);
}

.acc-inhalt {
  display: none;
  padding: 12px 14px;
}

.acc.offen .acc-inhalt {
  display: block;
}

.regeltext h4 {
  margin: 12px 0 4px;
  font-size: 14px;
}

.themenwahl h4 {
  margin: 4px 0 8px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--leise);
}

.themenwahl .tischwahl + h4 {
  margin-top: 14px;
}

.regeltext ol {
  margin: 0 0 8px;
  padding-left: 20px;
}

.regeltext {
  font-size: 14px;
  line-height: 1.5;
}

.regeltext ul {
  padding-left: 18px;
}

.acc.offen .weiterspielen {
  display: flex;
}

.weiterspielen {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px 10px 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: var(--leise);
}

.weiterspielen p {
  margin: 0;
}

.weiterspielen b {
  color: var(--text);
}

.qrbox {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--schatten2);
}

.qrbox canvas {
  display: block;
  width: 200px;
  height: 200px;
  image-rendering: pixelated;
}

.scanbox {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.scanbox video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.virtuell-raum {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.virtuell-raum[hidden],
.virtuell #virtuellStand[hidden] {
  display: none;
}

.virtuell #virtuellStand.fehler {
  color: var(--rot);
}

.virtuell-code b {
  font-size: 22px;
  letter-spacing: 0.12em;
}

.virtuell-adresse {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: var(--text);
  word-break: break-all;
}

.virtuell-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.virtuell-liste li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--karte2);
  border: 1px solid var(--rand);
  text-align: left;
}

.virtuell-liste li span {
  margin-left: auto;
  white-space: nowrap;
}

.virtuell-liste li.getrennt {
  opacity: 0.55;
}

.tonne {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--rand);
  border-radius: 999px;
  background: var(--karte2);
  color: var(--leise);
  font: 600 13px "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}

.tonne svg.i {
  width: 18px;
  height: 18px;
}

.tonne:focus-visible {
  outline: 2px solid var(--gold1);
  outline-offset: 2px;
}

.virtuell-liste .tonne {
  margin-left: 4px;
}

.virtuell-liste .virtuell-zuordnen {
  margin-left: 4px;
  white-space: nowrap;
}

.virtuell-liste .virtuell-lernen {
  flex-wrap: wrap;
  margin-top: -2px;
  border-color: var(--gold1);
}

.virtuell-lernen p {
  flex: 1 1 12em;
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.virtuell-lernen small {
  display: block;
  margin-top: 2px;
  color: var(--leise);
  font-weight: 400;
}

.virtuell-liste .virtuell-leer {
  justify-content: center;
  background: none;
  border-color: transparent;
}

.pad-tastatur {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: grid;
  gap: 6px;
  width: min(640px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid var(--rand);
  border-radius: 18px;
  background: var(--karte);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .32);
  transform: translateX(-50%);
}

.pad-tastatur-text {
  display: block;
  min-height: 40px;
  margin-bottom: 4px;
  padding: 8px 12px;
  border: 1px solid var(--rand);
  border-radius: 12px;
  background: var(--karte2);
  color: var(--text);
  font: 600 18px "Segoe UI", system-ui, sans-serif;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pad-tastatur-text::after {
  content: "|";
  color: var(--gold1);
  font-weight: 400;
}

.pad-tastatur-reihe {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.pad-taste {
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 1px solid var(--rand);
  border-radius: 10px;
  background: var(--karte2);
  color: var(--text);
  font: 600 17px "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}

.pad-taste-gross,
.pad-taste-loeschen {
  flex-grow: 1.5;
}

.pad-taste-gross.an {
  background: var(--knopf1);
  color: var(--goldtext);
}

.pad-taste-leer {
  flex-grow: 4;
}

.pad-taste-fertig {
  --taste-licht: #ffffff;
  --taste-schatten: #000000;
  flex-grow: 2.5;
  background: linear-gradient(color-mix(in srgb, var(--knopf1) 88%, var(--taste-licht)), var(--knopf1) 45%, var(--knopf2));
  color: var(--goldtext);
  border-color: color-mix(in srgb, var(--knopf2) 82%, var(--taste-schatten));
  font-size: 15px;
  font-weight: 700;
}

.pad-fokus,
.pad-fokus:focus-visible {
  outline: 3px solid var(--gold1);
  outline-offset: -3px;
}

.schaltkachel:has(input.pad-fokus) {
  outline: 3px solid var(--gold1);
  outline-offset: -3px;
}

.rueckmeldung {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 2px 2px;
}

.rueckmeldung label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.rueckmeldung label small {
  font-weight: 400;
  color: var(--leise);
}

.rueckmeldung input,
.rueckmeldung textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--rand);
  border-radius: 12px;
  padding: 9px 12px;
  background: var(--karte);
  color: var(--text);
  font: 16px "Segoe UI", system-ui, sans-serif;
  resize: vertical;
}

.rueckmeldung input:focus-visible,
.rueckmeldung textarea:focus-visible {
  outline: 2px solid var(--gold1);
  outline-offset: 1px;
}

@media (pointer: coarse) {
  html .namensfeld input,
  html .eingabe input {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none;
    animation: none;
  }
}

/**
 * themen.css — die 26 Tag- und 20 Nachtthemen, je Grund, Hauptfarbe und Komplementärakzent; erzeugt von .claude/werkzeuge/themen.py.
 *
 * Copyright (c) 2026 Rico Pinzke. Alle Rechte vorbehalten.
 * Stand: 2026-10-26 10:01
 */

:root[data-theme="hell"][data-tisch="salbei"],
.tagprobe.salbei {
  --seite: #edf2e8;
  --tisch: #edf2e8;
  --karte: #fafcf9;
  --karte2: #eaefeb;
  --rand: #cddacb;
  --text: #28312a;
  --leise: #556559;
  --knopf1: #4c7a58;
  --knopf2: #3b5f45;
  --goldtext: #ffffff;
  --gold1: #d9694c;
  --gold2: #b65840;
  --symbol: #4c7a58;
  --knopfsymbol: #4c7a58;
  --flaeche: #f8faf6;
  --flaechenlinie: #b6bcb3;
  --auflage: #fafbf8;
  --auflagerand: #c6cbc2;
  --schatten: 0 10px 30px #d0dcce;
  --schatten2: 0 4px 12px #dae4d7;
  --zettelflaeche: #f8faf6;
  --zettellinie: #b6bcb3;
  --zettelkopf: #cfdbd0;
  --zettelstreifen: #f4f7f1;
  --abschnittschrift: #3c5943;
}

:root[data-theme="hell"][data-tisch="weiss_salbei"],
.tagprobe.weiss_salbei {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #eaefeb;
  --rand: #dbe4de;
  --text: #28312a;
  --leise: #556559;
  --knopf1: #4c7a58;
  --knopf2: #3b5f45;
  --goldtext: #ffffff;
  --gold1: #d9694c;
  --gold2: #bb5a41;
  --symbol: #4c7a58;
  --knopfsymbol: #4c7a58;
  --flaeche: #ffffff;
  --flaechenlinie: #c3c5c3;
  --auflage: #ffffff;
  --auflagerand: #d4d6d4;
  --schatten: 0 10px 30px #dfe7e1;
  --schatten2: 0 4px 12px #eaefeb;
  --zettelflaeche: #ffffff;
  --zettellinie: #c3c5c3;
  --zettelkopf: #d4dfd7;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #3c5943;
}

:root[data-theme="hell"][data-tisch="zitrone"],
.tagprobe.zitrone {
  --seite: #fbf6d6;
  --tisch: #fbf6d6;
  --karte: #fefdf5;
  --karte2: #e8e9f1;
  --rand: #d5d4c8;
  --text: #252835;
  --leise: #50546c;
  --knopf1: #3c4a8e;
  --knopf2: #2f3a6f;
  --goldtext: #ffffff;
  --gold1: #d9a520;
  --gold2: #8f6d15;
  --symbol: #3c4a8e;
  --knopfsymbol: #3c4a8e;
  --flaeche: #fdfbef;
  --flaechenlinie: #bfbca9;
  --auflage: #fefcf3;
  --auflagerand: #d0cdb6;
  --schatten: 0 10px 30px #d9d7c9;
  --schatten2: 0 4px 12px #e4e1cd;
  --zettelflaeche: #fdfbef;
  --zettellinie: #bfbca9;
  --zettelkopf: #cfd1d8;
  --zettelstreifen: #fdf9e6;
  --abschnittschrift: #323b66;
}

:root[data-theme="hell"][data-tisch="weiss_zitrone"],
.tagprobe.weiss_zitrone {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #e8e9f1;
  --rand: #d8dbe8;
  --text: #252835;
  --leise: #50546c;
  --knopf1: #3c4a8e;
  --knopf2: #2f3a6f;
  --goldtext: #ffffff;
  --gold1: #d9a520;
  --gold2: #947016;
  --symbol: #3c4a8e;
  --knopfsymbol: #3c4a8e;
  --flaeche: #ffffff;
  --flaechenlinie: #c2c3c6;
  --auflage: #ffffff;
  --auflagerand: #d3d4d7;
  --schatten: 0 10px 30px #dcdeeb;
  --schatten2: 0 4px 12px #e8e9f1;
  --zettelflaeche: #ffffff;
  --zettellinie: #c2c3c6;
  --zettelkopf: #d0d4e4;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #323b66;
}

:root[data-theme="hell"][data-tisch="lavendel"],
.tagprobe.lavendel {
  --seite: #efe9f6;
  --tisch: #efe9f6;
  --karte: #fbfafd;
  --karte2: #edeaf3;
  --rand: #d4cae5;
  --text: #2e2839;
  --leise: #605572;
  --knopf1: #6a4c9f;
  --knopf2: #533b7c;
  --goldtext: #ffffff;
  --gold1: #c08a1e;
  --gold2: #966c17;
  --symbol: #6a4c9f;
  --knopfsymbol: #6a4c9f;
  --flaeche: #f9f6fb;
  --flaechenlinie: #b9b3c1;
  --auflage: #faf8fc;
  --auflagerand: #c8c2d0;
  --schatten: 0 10px 30px #d7cde6;
  --schatten2: 0 4px 12px #dfd6ec;
  --zettelflaeche: #f9f6fb;
  --zettellinie: #b9b3c1;
  --zettelkopf: #d7cde5;
  --zettelstreifen: #f5f1f9;
  --abschnittschrift: #4f3c71;
}

:root[data-theme="hell"][data-tisch="weiss_lavendel"],
.tagprobe.weiss_lavendel {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #edeaf3;
  --rand: #e1dbec;
  --text: #2e2839;
  --leise: #605572;
  --knopf1: #6a4c9f;
  --knopf2: #533b7c;
  --goldtext: #ffffff;
  --gold1: #c08a1e;
  --gold2: #9a6e18;
  --symbol: #6a4c9f;
  --knopfsymbol: #6a4c9f;
  --flaeche: #ffffff;
  --flaechenlinie: #c4c3c8;
  --auflage: #ffffff;
  --auflagerand: #d5d4d7;
  --schatten: 0 10px 30px #e4dfee;
  --schatten2: 0 4px 12px #edeaf3;
  --zettelflaeche: #ffffff;
  --zettellinie: #c4c3c8;
  --zettelkopf: #dbd4e8;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #4f3c71;
}

:root[data-theme="hell"][data-tisch="orange"],
.tagprobe.orange {
  --seite: #fcebdc;
  --tisch: #fcebdc;
  --karte: #fefaf6;
  --karte2: #f6ebe4;
  --rand: #eecdb5;
  --text: #3e2a1e;
  --leise: #7b5944;
  --knopf1: #b8561a;
  --knopf2: #904314;
  --goldtext: #ffffff;
  --gold1: #1d6b74;
  --gold2: #1d6b74;
  --symbol: #b8561a;
  --knopfsymbol: #b8561a;
  --flaeche: #fef7f1;
  --flaechenlinie: #c7b5a7;
  --auflage: #fef9f4;
  --auflagerand: #d6c4b6;
  --schatten: 0 10px 30px #f0d0b9;
  --schatten2: 0 4px 12px #f4d9c5;
  --zettelflaeche: #fef7f1;
  --zettellinie: #c7b5a7;
  --zettelkopf: #edd0bd;
  --zettelstreifen: #fdf3e9;
  --abschnittschrift: #81421c;
}

:root[data-theme="hell"][data-tisch="weiss_orange"],
.tagprobe.weiss_orange {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #f6ebe4;
  --rand: #f1ddd1;
  --text: #3e2a1e;
  --leise: #7b5944;
  --knopf1: #b8561a;
  --knopf2: #904314;
  --goldtext: #ffffff;
  --gold1: #1d6b74;
  --gold2: #1d6b74;
  --symbol: #b8561a;
  --knopfsymbol: #b8561a;
  --flaeche: #ffffff;
  --flaechenlinie: #c9c3c0;
  --auflage: #ffffff;
  --auflagerand: #d8d4d2;
  --schatten: 0 10px 30px #f2e1d6;
  --schatten2: 0 4px 12px #f6ebe4;
  --zettelflaeche: #ffffff;
  --zettellinie: #c9c3c0;
  --zettelkopf: #eed6c8;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #81421c;
}

:root[data-theme="hell"][data-tisch="beige"],
.tagprobe.beige {
  --seite: #f1e8d8;
  --tisch: #f1e8d8;
  --karte: #fcf9f5;
  --karte2: #f3ece6;
  --rand: #e0cdb7;
  --text: #382d23;
  --leise: #705d4c;
  --knopf1: #9a6332;
  --knopf2: #784d27;
  --goldtext: #ffffff;
  --gold1: #2f6f8f;
  --gold2: #2f6f8f;
  --symbol: #9a6332;
  --knopfsymbol: #9a6332;
  --flaeche: #f9f6ef;
  --flaechenlinie: #bdb4a5;
  --auflage: #fbf8f3;
  --auflagerand: #ccc3b4;
  --schatten: 0 10px 30px #e1d0ba;
  --schatten2: 0 4px 12px #e7d8c4;
  --zettelflaeche: #f9f6ef;
  --zettellinie: #bdb4a5;
  --zettelkopf: #e2d3c2;
  --zettelstreifen: #f6f1e7;
  --abschnittschrift: #6e4b2b;
}

:root[data-theme="hell"][data-tisch="weiss_beige"],
.tagprobe.weiss_beige {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #f3ece6;
  --rand: #ebe0d6;
  --text: #382d23;
  --leise: #705d4c;
  --knopf1: #9a6332;
  --knopf2: #784d27;
  --goldtext: #ffffff;
  --gold1: #2f6f8f;
  --gold2: #2f6f8f;
  --symbol: #9a6332;
  --knopfsymbol: #9a6332;
  --flaeche: #ffffff;
  --flaechenlinie: #c7c4c1;
  --auflage: #ffffff;
  --auflagerand: #d7d5d3;
  --schatten: 0 10px 30px #ede3da;
  --schatten2: 0 4px 12px #f3ece6;
  --zettelflaeche: #ffffff;
  --zettellinie: #c7c4c1;
  --zettelkopf: #e7dace;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #6e4b2b;
}

:root[data-theme="hell"][data-tisch="rose"],
.tagprobe.rose {
  --seite: #f9e7ea;
  --tisch: #f9e7ea;
  --karte: #fef9fa;
  --karte2: #edefe7;
  --rand: #dcd0c7;
  --text: #2d3024;
  --leise: #5e644f;
  --knopf1: #66763a;
  --knopf2: #505c2d;
  --goldtext: #ffffff;
  --gold1: #c24f74;
  --gold2: #ba4c6f;
  --symbol: #66763a;
  --knopfsymbol: #66763a;
  --flaeche: #fdf5f7;
  --flaechenlinie: #c0b4b3;
  --auflage: #fdf8f9;
  --auflagerand: #d0c2c2;
  --schatten: 0 10px 30px #dfd3ca;
  --schatten2: 0 4px 12px #e7d9d5;
  --zettelflaeche: #fdf5f7;
  --zettellinie: #c0b4b3;
  --zettelkopf: #d9d7ca;
  --zettelstreifen: #fbf0f2;
  --abschnittschrift: #4c5630;
}

:root[data-theme="hell"][data-tisch="weiss_rose"],
.tagprobe.weiss_rose {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #edefe7;
  --rand: #e0e4d8;
  --text: #2d3024;
  --leise: #5e644f;
  --knopf1: #66763a;
  --knopf2: #505c2d;
  --goldtext: #ffffff;
  --gold1: #c24f74;
  --gold2: #c24f74;
  --symbol: #66763a;
  --knopfsymbol: #66763a;
  --flaeche: #ffffff;
  --flaechenlinie: #c4c5c2;
  --auflage: #ffffff;
  --auflagerand: #d5d6d3;
  --schatten: 0 10px 30px #e3e6dc;
  --schatten2: 0 4px 12px #edefe7;
  --zettelflaeche: #ffffff;
  --zettellinie: #c4c5c2;
  --zettelkopf: #daded0;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #4c5630;
}

:root[data-theme="hell"][data-tisch="minze"],
.tagprobe.minze {
  --seite: #e4f3ec;
  --tisch: #e4f3ec;
  --karte: #f8fcfa;
  --karte2: #e5efed;
  --rand: #bfdbd1;
  --text: #21312d;
  --leise: #49655e;
  --knopf1: #2a7a66;
  --knopf2: #215f50;
  --goldtext: #ffffff;
  --gold1: #c2386a;
  --gold2: #c2386a;
  --symbol: #2a7a66;
  --knopfsymbol: #2a7a66;
  --flaeche: #f4faf7;
  --flaechenlinie: #adbdb7;
  --auflage: #f7fbf9;
  --auflagerand: #bdccc6;
  --schatten: 0 10px 30px #c3ddd4;
  --schatten2: 0 4px 12px #cee4dc;
  --zettelflaeche: #f4faf7;
  --zettellinie: #adbdb7;
  --zettelkopf: #c4dbd4;
  --zettelstreifen: #eef8f3;
  --abschnittschrift: #26594c;
}

:root[data-theme="hell"][data-tisch="weiss_minze"],
.tagprobe.weiss_minze {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #e5efed;
  --rand: #d4e4e0;
  --text: #21312d;
  --leise: #49655e;
  --knopf1: #2a7a66;
  --knopf2: #215f50;
  --goldtext: #ffffff;
  --gold1: #c2386a;
  --gold2: #c2386a;
  --symbol: #2a7a66;
  --knopfsymbol: #2a7a66;
  --flaeche: #ffffff;
  --flaechenlinie: #c1c5c4;
  --auflage: #ffffff;
  --auflagerand: #d3d6d5;
  --schatten: 0 10px 30px #d9e7e3;
  --schatten2: 0 4px 12px #e5efed;
  --zettelflaeche: #ffffff;
  --zettellinie: #c1c5c4;
  --zettelkopf: #ccdfda;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #26594c;
}

:root[data-theme="hell"][data-tisch="sand"],
.tagprobe.sand {
  --seite: #f4ecde;
  --tisch: #f4ecde;
  --karte: #fcfaf7;
  --karte2: #e5eaf3;
  --rand: #ccccd1;
  --text: #212838;
  --leise: #495571;
  --knopf1: #2a4d9c;
  --knopf2: #213c7a;
  --goldtext: #ffffff;
  --gold1: #cc8226;
  --gold2: #9f651e;
  --symbol: #2a4d9c;
  --knopfsymbol: #2a4d9c;
  --flaeche: #fbf7f2;
  --flaechenlinie: #b9b5b0;
  --auflage: #fcf9f5;
  --auflagerand: #cac5bd;
  --schatten: 0 10px 30px #d0cfd2;
  --schatten2: 0 4px 12px #dcd9d6;
  --zettelflaeche: #fbf7f2;
  --zettellinie: #b9b5b0;
  --zettelkopf: #c9cedd;
  --zettelstreifen: #f8f3eb;
  --abschnittschrift: #263c6f;
}

:root[data-theme="hell"][data-tisch="weiss_sand"],
.tagprobe.weiss_sand {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #e5eaf3;
  --rand: #d4dbeb;
  --text: #212838;
  --leise: #495571;
  --knopf1: #2a4d9c;
  --knopf2: #213c7a;
  --goldtext: #ffffff;
  --gold1: #cc8226;
  --gold2: #a3681e;
  --symbol: #2a4d9c;
  --knopfsymbol: #2a4d9c;
  --flaeche: #ffffff;
  --flaechenlinie: #c1c3c7;
  --auflage: #ffffff;
  --auflagerand: #d3d4d7;
  --schatten: 0 10px 30px #d9dfed;
  --schatten2: 0 4px 12px #e5eaf3;
  --zettelflaeche: #ffffff;
  --zettellinie: #c1c3c7;
  --zettelkopf: #ccd4e7;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #263c6f;
}

:root[data-theme="hell"][data-tisch="flieder"],
.tagprobe.flieder {
  --seite: #f1e9f6;
  --tisch: #f1e9f6;
  --karte: #fcfafd;
  --karte2: #efe9f3;
  --rand: #d9c9e4;
  --text: #312738;
  --leise: #645470;
  --knopf1: #77499a;
  --knopf2: #5d3978;
  --goldtext: #ffffff;
  --gold1: #6f9c2c;
  --gold2: #597d23;
  --symbol: #77499a;
  --knopfsymbol: #77499a;
  --flaeche: #f9f6fb;
  --flaechenlinie: #bbb3c1;
  --auflage: #fbf8fc;
  --auflagerand: #cbc2d0;
  --schatten: 0 10px 30px #dbcce5;
  --schatten2: 0 4px 12px #e2d6eb;
  --zettelflaeche: #f9f6fb;
  --zettellinie: #bbb3c1;
  --zettelkopf: #dacce4;
  --zettelstreifen: #f6f1f9;
  --abschnittschrift: #583a6e;
}

:root[data-theme="hell"][data-tisch="weiss_flieder"],
.tagprobe.weiss_flieder {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #efe9f3;
  --rand: #e4dbeb;
  --text: #312738;
  --leise: #645470;
  --knopf1: #77499a;
  --knopf2: #5d3978;
  --goldtext: #ffffff;
  --gold1: #6f9c2c;
  --gold2: #5b8024;
  --symbol: #77499a;
  --knopfsymbol: #77499a;
  --flaeche: #ffffff;
  --flaechenlinie: #c5c3c7;
  --auflage: #ffffff;
  --auflagerand: #d6d4d7;
  --schatten: 0 10px 30px #e7deed;
  --schatten2: 0 4px 12px #efe9f3;
  --zettelflaeche: #ffffff;
  --zettellinie: #c5c3c7;
  --zettelkopf: #ded3e7;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #583a6e;
}

:root[data-theme="hell"][data-tisch="elfenbein"],
.tagprobe.elfenbein {
  --seite: #faf6ee;
  --tisch: #faf6ee;
  --karte: #fefdfb;
  --karte2: #efe6e7;
  --rand: #e1ceca;
  --text: #322224;
  --leise: #664a4f;
  --knopf1: #7c2c3a;
  --knopf2: #61222d;
  --goldtext: #ffffff;
  --gold1: #3c7a58;
  --gold2: #3c7a58;
  --symbol: #7c2c3a;
  --knopfsymbol: #7c2c3a;
  --flaeche: #fdfbf8;
  --flaechenlinie: #c2bbb5;
  --auflage: #fefcfa;
  --auflagerand: #d2ccc6;
  --schatten: 0 10px 30px #e3d2ce;
  --schatten2: 0 4px 12px #ebded8;
  --zettelflaeche: #fdfbf8;
  --zettellinie: #c2bbb5;
  --zettelkopf: #dec9ca;
  --zettelstreifen: #fcf9f4;
  --abschnittschrift: #5b2830;
}

:root[data-theme="hell"][data-tisch="weiss_elfenbein"],
.tagprobe.weiss_elfenbein {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #efe6e7;
  --rand: #e5d5d8;
  --text: #322224;
  --leise: #664a4f;
  --knopf1: #7c2c3a;
  --knopf2: #61222d;
  --goldtext: #ffffff;
  --gold1: #3c7a58;
  --gold2: #3c7a58;
  --symbol: #7c2c3a;
  --knopfsymbol: #7c2c3a;
  --flaeche: #ffffff;
  --flaechenlinie: #c6c1c2;
  --auflage: #ffffff;
  --auflagerand: #d6d3d3;
  --schatten: 0 10px 30px #e7d9dc;
  --schatten2: 0 4px 12px #efe6e7;
  --zettelflaeche: #ffffff;
  --zettellinie: #c6c1c2;
  --zettelkopf: #e0ccd0;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #5b2830;
}

:root[data-theme="hell"][data-tisch="navy"],
.tagprobe.navy {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #e5e7ed;
  --rand: #d3d7e1;
  --text: #20242e;
  --leise: #474e60;
  --knopf1: #24396a;
  --knopf2: #1c2c53;
  --goldtext: #ffffff;
  --gold1: #e0644c;
  --gold2: #bc5440;
  --symbol: #24396a;
  --knopfsymbol: #24396a;
  --flaeche: #ffffff;
  --flaechenlinie: #c1c2c4;
  --auflage: #ffffff;
  --auflagerand: #d2d3d5;
  --schatten: 0 10px 30px #d8dbe4;
  --schatten2: 0 4px 12px #e5e7ed;
  --zettelflaeche: #ffffff;
  --zettellinie: #c1c2c4;
  --zettelkopf: #cacfdb;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #22304f;
}

:root[data-theme="hell"][data-tisch="graublau"],
.tagprobe.graublau {
  --seite: #edf0f3;
  --tisch: #edf0f3;
  --karte: #fafbfc;
  --karte2: #e5ebf3;
  --rand: #c6d2e2;
  --text: #212b38;
  --leise: #495b72;
  --knopf1: #2a5c9e;
  --knopf2: #21487b;
  --goldtext: #ffffff;
  --gold1: #e5852a;
  --gold2: #a9621f;
  --symbol: #2a5c9e;
  --knopfsymbol: #2a5c9e;
  --flaeche: #f8f9fa;
  --flaechenlinie: #b4b9bf;
  --auflage: #fafafb;
  --auflagerand: #c4c9ce;
  --schatten: 0 10px 30px #cad5e4;
  --schatten2: 0 4px 12px #d6dee9;
  --zettelflaeche: #f8f9fa;
  --zettellinie: #b4b9bf;
  --zettelkopf: #c7d3e4;
  --zettelstreifen: #f4f6f8;
  --abschnittschrift: #264670;
}

:root[data-theme="hell"][data-tisch="weiss_graublau"],
.tagprobe.weiss_graublau {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #e5ebf3;
  --rand: #d4deec;
  --text: #212b38;
  --leise: #495b72;
  --knopf1: #2a5c9e;
  --knopf2: #21487b;
  --goldtext: #ffffff;
  --gold1: #e5852a;
  --gold2: #a9621f;
  --symbol: #2a5c9e;
  --knopfsymbol: #2a5c9e;
  --flaeche: #ffffff;
  --flaechenlinie: #c1c4c7;
  --auflage: #ffffff;
  --auflagerand: #d3d5d7;
  --schatten: 0 10px 30px #d9e2ee;
  --schatten2: 0 4px 12px #e5ebf3;
  --zettelflaeche: #ffffff;
  --zettellinie: #c1c4c7;
  --zettelkopf: #ccd8e8;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #264670;
}

:root[data-theme="hell"][data-tisch="hellgrau"],
.tagprobe.hellgrau {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #f5f5f6;
  --rand: #eeeff0;
  --text: #3b3b3d;
  --leise: #6f7073;
  --knopf1: #a9adb4;
  --knopf2: #9b9fa6;
  --goldtext: #33363a;
  --gold1: #1f9e98;
  --gold2: #19827d;
  --symbol: #717781;
  --knopfsymbol: #717781;
  --flaeche: #ffffff;
  --flaechenlinie: #c8c8c9;
  --auflage: #ffffff;
  --auflagerand: #d8d8d8;
  --schatten: 0 10px 30px #f0f0f2;
  --schatten2: 0 4px 12px #f5f5f6;
  --zettelflaeche: #ffffff;
  --zettellinie: #c8c8c9;
  --zettelkopf: #eaebed;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #6c6e71;
}

:root[data-theme="hell"][data-tisch="dunkelgrau"],
.tagprobe.dunkelgrau {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #ebeced;
  --rand: #dedfe1;
  --text: #2b2c2e;
  --leise: #5a5c5f;
  --knopf1: #5b6068;
  --knopf2: #474b51;
  --goldtext: #ffffff;
  --gold1: #e0ae18;
  --gold2: #8f6f0f;
  --symbol: #5b6068;
  --knopfsymbol: #5b6068;
  --flaeche: #ffffff;
  --flaechenlinie: #c4c4c4;
  --auflage: #ffffff;
  --auflagerand: #d5d5d5;
  --schatten: 0 10px 30px #e1e2e4;
  --schatten2: 0 4px 12px #ebeced;
  --zettelflaeche: #ffffff;
  --zettellinie: #c4c4c4;
  --zettelkopf: #d8d9db;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #45494e;
}

:root[data-theme="hell"][data-tisch="schwarz"],
.tagprobe.schwarz {
  --seite: #ffffff;
  --tisch: #ffffff;
  --karte: #ffffff;
  --karte2: #e4e4e4;
  --rand: #d2d2d2;
  --text: #1e1e1f;
  --leise: #444445;
  --knopf1: #1c1c1f;
  --knopf2: #161618;
  --goldtext: #ffffff;
  --gold1: #d4352d;
  --gold2: #d4352d;
  --symbol: #1c1c1f;
  --knopfsymbol: #1c1c1f;
  --flaeche: #ffffff;
  --flaechenlinie: #c0c0c0;
  --auflage: #ffffff;
  --auflagerand: #d2d2d2;
  --schatten: 0 10px 30px #d6d6d7;
  --schatten2: 0 4px 12px #e4e4e4;
  --zettelflaeche: #ffffff;
  --zettellinie: #c0c0c0;
  --zettelkopf: #c9c9c9;
  --zettelstreifen: #ffffff;
  --abschnittschrift: #1d1d1f;
}

:root[data-theme="dunkel"][data-nacht="mitternacht"],
.nachtprobe.mitternacht {
  --seite: #11141f;
  --tisch: #11141f;
  --karte: #1f222c;
  --karte2: #2b2e38;
  --rand: #353d59;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #3f5bc4;
  --knopf2: #314799;
  --goldtext: #f4f2f6;
  --gold1: #f0b24a;
  --gold2: #f3c06b;
  --symbol: #6c84de;
  --knopfsymbol: #6c84de;
  --flaeche: #1f222c;
  --flaechenlinie: #252d4a;
  --auflage: #1f222c;
  --auflagerand: #29335a;
  --zettelflaeche: #1f222c;
  --zettellinie: #252d4a;
  --zettelkopf: #29335a;
  --zettelstreifen: #282b34;
  --abschnittschrift: #8d9cd7;
}

:root[data-theme="dunkel"][data-nacht="tanne"],
.nachtprobe.tanne {
  --seite: #0f1813;
  --tisch: #0f1813;
  --karte: #1d2621;
  --karte2: #29312d;
  --rand: #31463b;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #2f7d55;
  --knopf2: #256242;
  --goldtext: #f4f2f6;
  --gold1: #e8875a;
  --gold2: #ec9d78;
  --symbol: #2fa066;
  --knopfsymbol: #2fa066;
  --flaeche: #1d2621;
  --flaechenlinie: #21372b;
  --auflage: #1d2621;
  --auflagerand: #224031;
  --zettelflaeche: #1d2621;
  --zettellinie: #21372b;
  --zettelkopf: #224031;
  --zettelstreifen: #262f2a;
  --abschnittschrift: #84af9a;
}

:root[data-theme="dunkel"][data-nacht="pflaume"],
.nachtprobe.pflaume {
  --seite: #18111f;
  --tisch: #18111f;
  --karte: #261f2c;
  --karte2: #312b38;
  --rand: #453855;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #7b4fb0;
  --knopf2: #603e89;
  --goldtext: #f4f2f6;
  --gold1: #e4c055;
  --gold2: #e9cb74;
  --symbol: #9f79cd;
  --knopfsymbol: #9f79cd;
  --flaeche: #261f2c;
  --flaechenlinie: #372946;
  --auflage: #261f2c;
  --auflagerand: #402d54;
  --zettelflaeche: #261f2c;
  --zettellinie: #372946;
  --zettelkopf: #402d54;
  --zettelstreifen: #2f2834;
  --abschnittschrift: #ae96cc;
}

:root[data-theme="dunkel"][data-nacht="petrol"],
.nachtprobe.petrol {
  --seite: #0d1819;
  --tisch: #0d1819;
  --karte: #1c2627;
  --karte2: #283132;
  --rand: #2b4647;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #1c7b7c;
  --knopf2: #166061;
  --goldtext: #f4f2f6;
  --gold1: #f08a72;
  --gold2: #f39f8b;
  --symbol: #169a9c;
  --knopfsymbol: #169a9c;
  --flaeche: #1c2627;
  --flaechenlinie: #1c3839;
  --auflage: #1c2627;
  --auflagerand: #1c4142;
  --zettelflaeche: #1c2627;
  --zettellinie: #1c3839;
  --zettelkopf: #1c4142;
  --zettelstreifen: #252f30;
  --abschnittschrift: #7ab0b2;
}

:root[data-theme="dunkel"][data-nacht="bordeaux"],
.nachtprobe.bordeaux {
  --seite: #1c0f13;
  --tisch: #1c0f13;
  --karte: #2a1d21;
  --karte2: #35292d;
  --rand: #503138;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #a03349;
  --knopf2: #7d2839;
  --goldtext: #f4f2f6;
  --gold1: #a9cba1;
  --gold2: #b8d4b2;
  --symbol: #da5f78;
  --knopfsymbol: #da5f78;
  --flaeche: #2a1d21;
  --flaechenlinie: #422129;
  --auflage: #2a1d21;
  --auflagerand: #4d242d;
  --zettelflaeche: #2a1d21;
  --zettellinie: #422129;
  --zettelkopf: #4d242d;
  --zettelstreifen: #33262a;
  --abschnittschrift: #c28694;
}

:root[data-theme="dunkel"][data-nacht="kupfer"],
.nachtprobe.kupfer {
  --seite: #1c130d;
  --tisch: #1c130d;
  --karte: #2a211c;
  --karte2: #352d28;
  --rand: #543b2c;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #b0541e;
  --knopf2: #894217;
  --goldtext: #f4f2f6;
  --gold1: #5fb8c9;
  --gold2: #7cc5d3;
  --symbol: #e96213;
  --knopfsymbol: #e96213;
  --flaeche: #2a211c;
  --flaechenlinie: #462c1d;
  --auflage: #2a211c;
  --auflagerand: #53311d;
  --zettelflaeche: #2a211c;
  --zettellinie: #462c1d;
  --zettelkopf: #53311d;
  --zettelstreifen: #332a25;
  --abschnittschrift: #cd9a7d;
}

:root[data-theme="dunkel"][data-nacht="graphit"],
.nachtprobe.graphit {
  --seite: #131316;
  --tisch: #131316;
  --karte: #212124;
  --karte2: #2d2d30;
  --rand: #3c3c40;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #5a5d66;
  --knopf2: #464950;
  --goldtext: #f4f2f6;
  --gold1: #e2d35c;
  --gold2: #e7db79;
  --symbol: #858a96;
  --knopfsymbol: #858a96;
  --flaeche: #212124;
  --flaechenlinie: #2c2d31;
  --auflage: #212124;
  --auflagerand: #323338;
  --zettelflaeche: #212124;
  --zettellinie: #2c2d31;
  --zettelkopf: #323338;
  --zettelstreifen: #2a2a2d;
  --abschnittschrift: #9c9da4;
}

:root[data-theme="dunkel"][data-nacht="mokka"],
.nachtprobe.mokka {
  --seite: #18130f;
  --tisch: #18130f;
  --karte: #26211d;
  --karte2: #312d29;
  --rand: #463b32;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #7d5638;
  --knopf2: #62432c;
  --goldtext: #f4f2f6;
  --gold1: #8fd0b5;
  --gold2: #a3d8c2;
  --symbol: #bb7947;
  --knopfsymbol: #bb7947;
  --flaeche: #26211d;
  --flaechenlinie: #372c22;
  --auflage: #26211d;
  --auflagerand: #403125;
  --zettelflaeche: #26211d;
  --zettellinie: #372c22;
  --zettelkopf: #403125;
  --zettelstreifen: #2f2a26;
  --abschnittschrift: #af9a8a;
}

:root[data-theme="dunkel"][data-nacht="himbeere"],
.nachtprobe.himbeere {
  --seite: #1c0e17;
  --tisch: #1c0e17;
  --karte: #2a1c25;
  --karte2: #352931;
  --rand: #533042;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #b02f6f;
  --knopf2: #892557;
  --goldtext: #f4f2f6;
  --gold1: #9fd07a;
  --gold2: #b0d892;
  --symbol: #e0559a;
  --knopfsymbol: #e0559a;
  --flaeche: #2a1c25;
  --flaechenlinie: #452034;
  --auflage: #2a1c25;
  --auflagerand: #52223b;
  --zettelflaeche: #2a1c25;
  --zettellinie: #452034;
  --zettelkopf: #52223b;
  --zettelstreifen: #33252e;
  --abschnittschrift: #cb84a9;
}

:root[data-theme="dunkel"][data-nacht="oliv"],
.nachtprobe.oliv {
  --seite: #14160c;
  --tisch: #14160c;
  --karte: #22241b;
  --karte2: #2e3027;
  --rand: #41452c;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #687522;
  --knopf2: #515b1b;
  --goldtext: #f4f2f6;
  --gold1: #c9a0e0;
  --gold2: #d3b1e6;
  --symbol: #80931e;
  --knopfsymbol: #80931e;
  --flaeche: #22241b;
  --flaechenlinie: #31361d;
  --auflage: #22241b;
  --auflagerand: #393f1e;
  --zettelflaeche: #22241b;
  --zettellinie: #31361d;
  --zettelkopf: #393f1e;
  --zettelstreifen: #2b2d24;
  --abschnittschrift: #a7af7f;
}

:root[data-theme="dunkel"][data-nacht="schwarz_mitternacht"],
.nachtprobe.schwarz_mitternacht {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #31364d;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #3f5bc4;
  --knopf2: #314799;
  --goldtext: #f4f2f6;
  --gold1: #f0b24a;
  --gold2: #f3c06b;
  --symbol: #647ddc;
  --knopfsymbol: #647ddc;
  --flaeche: #1a1a1c;
  --flaechenlinie: #21273e;
  --auflage: #1a1a1c;
  --auflagerand: #252e4e;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #21273e;
  --zettelkopf: #252e4e;
  --zettelstreifen: #232325;
  --abschnittschrift: #8d9cd7;
}

:root[data-theme="dunkel"][data-nacht="schwarz_tanne"],
.nachtprobe.schwarz_tanne {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #2d3d37;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #2f7d55;
  --knopf2: #256242;
  --goldtext: #f4f2f6;
  --gold1: #e8875a;
  --gold2: #ec9d78;
  --symbol: #2c955f;
  --knopfsymbol: #2c955f;
  --flaeche: #1a1a1c;
  --flaechenlinie: #1e2e27;
  --auflage: #1a1a1c;
  --auflagerand: #20382d;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #1e2e27;
  --zettelkopf: #20382d;
  --zettelstreifen: #232325;
  --abschnittschrift: #84af9a;
}

:root[data-theme="dunkel"][data-nacht="schwarz_pflaume"],
.nachtprobe.schwarz_pflaume {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #3d3449;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #7b4fb0;
  --knopf2: #603e89;
  --goldtext: #f4f2f6;
  --gold1: #e4c055;
  --gold2: #e9cb74;
  --symbol: #9a72ca;
  --knopfsymbol: #9a72ca;
  --flaeche: #1a1a1c;
  --flaechenlinie: #2d253a;
  --auflage: #1a1a1c;
  --auflagerand: #372a48;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #2d253a;
  --zettelkopf: #372a48;
  --zettelstreifen: #232325;
  --abschnittschrift: #ae96cc;
}

:root[data-theme="dunkel"][data-nacht="schwarz_petrol"],
.nachtprobe.schwarz_petrol {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #2a3d3f;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #1c7b7c;
  --knopf2: #166061;
  --goldtext: #f4f2f6;
  --gold1: #f08a72;
  --gold2: #f39f8b;
  --symbol: #149293;
  --knopfsymbol: #149293;
  --flaeche: #1a1a1c;
  --flaechenlinie: #1b2e30;
  --auflage: #1a1a1c;
  --auflagerand: #1b383a;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #1b2e30;
  --zettelkopf: #1b383a;
  --zettelstreifen: #232325;
  --abschnittschrift: #7ab0b2;
}

:root[data-theme="dunkel"][data-nacht="schwarz_bordeaux"],
.nachtprobe.schwarz_bordeaux {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #442e34;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #a03349;
  --knopf2: #7d2839;
  --goldtext: #f4f2f6;
  --gold1: #a9cba1;
  --gold2: #b8d4b2;
  --symbol: #d85771;
  --knopfsymbol: #d85771;
  --flaeche: #1a1a1c;
  --flaechenlinie: #351f25;
  --auflage: #1a1a1c;
  --auflagerand: #42222a;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #351f25;
  --zettelkopf: #42222a;
  --zettelstreifen: #232325;
  --abschnittschrift: #c28694;
}

:root[data-theme="dunkel"][data-nacht="schwarz_kupfer"],
.nachtprobe.schwarz_kupfer {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #48352c;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #b0541e;
  --knopf2: #894217;
  --goldtext: #f4f2f6;
  --gold1: #5fb8c9;
  --gold2: #7cc5d3;
  --symbol: #da5c12;
  --knopfsymbol: #da5c12;
  --flaeche: #1a1a1c;
  --flaechenlinie: #39261d;
  --auflage: #1a1a1c;
  --auflagerand: #482c1d;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #39261d;
  --zettelkopf: #482c1d;
  --zettelstreifen: #232325;
  --abschnittschrift: #cd9a7d;
}

:root[data-theme="dunkel"][data-nacht="schwarz_graphit"],
.nachtprobe.schwarz_graphit {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #36373a;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #5a5d66;
  --knopf2: #464950;
  --goldtext: #f4f2f6;
  --gold1: #e2d35c;
  --gold2: #e7db79;
  --symbol: #7d828f;
  --knopfsymbol: #7d828f;
  --flaeche: #1a1a1c;
  --flaechenlinie: #27272b;
  --auflage: #1a1a1c;
  --auflagerand: #2d2e32;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #27272b;
  --zettelkopf: #2d2e32;
  --zettelstreifen: #232325;
  --abschnittschrift: #9c9da4;
}

:root[data-theme="dunkel"][data-nacht="schwarz_mokka"],
.nachtprobe.schwarz_mokka {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #3d3531;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #7d5638;
  --knopf2: #62432c;
  --goldtext: #f4f2f6;
  --gold1: #8fd0b5;
  --gold2: #a3d8c2;
  --symbol: #b47443;
  --knopfsymbol: #b47443;
  --flaeche: #1a1a1c;
  --flaechenlinie: #2e2622;
  --auflage: #1a1a1c;
  --auflagerand: #382c24;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #2e2622;
  --zettelkopf: #382c24;
  --zettelstreifen: #232325;
  --abschnittschrift: #af9a8a;
}

:root[data-theme="dunkel"][data-nacht="schwarz_himbeere"],
.nachtprobe.schwarz_himbeere {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #472d3c;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #b02f6f;
  --knopf2: #892557;
  --goldtext: #f4f2f6;
  --gold1: #9fd07a;
  --gold2: #b0d892;
  --symbol: #de4893;
  --knopfsymbol: #de4893;
  --flaeche: #1a1a1c;
  --flaechenlinie: #381e2d;
  --auflage: #1a1a1c;
  --auflagerand: #472035;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #381e2d;
  --zettelkopf: #472035;
  --zettelstreifen: #232325;
  --abschnittschrift: #cb84a9;
}

:root[data-theme="dunkel"][data-nacht="schwarz_oliv"],
.nachtprobe.schwarz_oliv {
  --seite: #0b0b0d;
  --tisch: #0b0b0d;
  --karte: #1a1a1c;
  --karte2: #262628;
  --rand: #3a3d2d;
  --text: #ececef;
  --leise: #9a9ba3;
  --knopf1: #687522;
  --knopf2: #515b1b;
  --goldtext: #f4f2f6;
  --gold1: #c9a0e0;
  --gold2: #d3b1e6;
  --symbol: #798a1c;
  --knopfsymbol: #798a1c;
  --flaeche: #1a1a1c;
  --flaechenlinie: #2b2e1e;
  --auflage: #1a1a1c;
  --auflagerand: #34381e;
  --zettelflaeche: #1a1a1c;
  --zettellinie: #2b2e1e;
  --zettelkopf: #34381e;
  --zettelstreifen: #232325;
  --abschnittschrift: #a7af7f;
}

/**
 * anschluss.css — Stil zum Spielanschluss des Controllers: der Mauszeiger, den ein Handy in der Form Maus auf der Spielseite bewegt, mit Platznummer.
 *
 * Copyright (c) 2026 Rico Pinzke. Alle Rechte vorbehalten.
 * Stand: 2026-11-09 13:01
 */

:root {
  --controller-zeiger-fuellung: #ffffff;
  --controller-zeiger-rand: #14181f;
  --controller-zeiger-schatten: rgb(0 0 0 / 0.45);
}

.controller-zeiger {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483647;
  width: 30px;
  height: 30px;
  pointer-events: none;
  translate: calc(var(--zx, 0px) - 3px) calc(var(--zy, 0px) - 2px);
  filter: drop-shadow(0 1px 2px var(--controller-zeiger-schatten));
}

.controller-zeiger svg {
  width: 100%;
  height: 100%;
}

.controller-zeiger path {
  fill: var(--controller-zeiger-fuellung);
  stroke: var(--controller-zeiger-rand);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.controller-zeiger b {
  position: absolute;
  left: 18px;
  top: 20px;
  min-width: 14px;
  padding: 0 3px;
  border-radius: 7px;
  background: var(--controller-zeiger-rand);
  color: var(--controller-zeiger-fuellung);
  font: 700 10px/14px system-ui, sans-serif;
  text-align: center;
}

/**
 * start.css — die Startseite: Spielart, Sitze mit Namen und Farben, Stufe, Beitreten und Weiterspielen.
 *
 * Copyright (c) 2026 Rico Pinzke. Alle Rechte vorbehalten.
 * Stand: 2026-11-23 12:46
 */

.startseite {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(20px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(40px, calc(env(safe-area-inset-bottom, 0px) + 20px)) max(16px, env(safe-area-inset-left, 0px));
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  .startseite {
    min-height: calc(100svh + env(safe-area-inset-top, 0px));
    padding-top: calc(env(safe-area-inset-top, 0px) + 20px);
  }

  .startseite .startbuehne {
    margin-top: 0;
  }
}

:root {
  --buehnenumriss: color-mix(in srgb, var(--rand) 90%, var(--text));
  --buehnenschatten: rgba(70, 55, 25, .13);
  --kehle: 18px;
}

:root[data-theme="dunkel"] {
  --buehnenumriss: color-mix(in srgb, var(--rand) 70%, #ffffff);
  --buehnenschatten: rgba(0, 0, 0, .5);
}

.startbuehne {
  width: 100%;
  max-width: 420px;
  margin: auto;
  filter: drop-shadow(0 0 .5px var(--buehnenumriss)) drop-shadow(0 12px 22px var(--buehnenschatten));
  transform: translateZ(0);
}

.startkopf {
  display: flex;
  justify-content: flex-end;
}

.lasche {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 3px 14px;
  border-radius: var(--kehle) var(--kehle) 0 0;
  background: var(--karte);
}

.lasche::before {
  content: "";
  position: absolute;
  left: calc(var(--kehle) * -1);
  bottom: 0;
  width: var(--kehle);
  height: var(--kehle);
  background: radial-gradient(circle at 0 0, transparent calc(var(--kehle) - .5px), var(--karte) var(--kehle));
}

.schieber {
  --feld: 28px;
  flex: none;
  --luecke: 2px;
  position: relative;
  display: flex;
  gap: var(--luecke);
  padding: 3px;
  border-radius: 999px;
  background: var(--karte2);
  touch-action: none;
  cursor: pointer;
}

.schieber-knopf {
  position: absolute;
  top: 3px;
  left: 3px;
  width: var(--feld);
  height: var(--feld);
  border-radius: 50%;
  background: linear-gradient(var(--knopf1), var(--knopf2));
  box-shadow: var(--schatten2);
  transform: translateX(calc(var(--stelle, 0) * (var(--feld) + var(--luecke))));
}

.schieber.bereit .schieber-knopf {
  transition: transform .22s cubic-bezier(.3, .7, .3, 1);
}

.schieber.zieht .schieber-knopf {
  transform: translateX(var(--zug, 0));
  transition: none;
}

.themaknopf {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--feld);
  height: var(--feld);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--leise);
  cursor: pointer;
  transition: color .15s;
}

.themaknopf svg.i {
  width: 16px;
  height: 16px;
}

.themaknopf.an {
  color: var(--goldtext);
}

@media (prefers-reduced-motion: reduce) {
  .schieber.bereit .schieber-knopf {
    transition: none;
  }
}

.lasche-trenner {
  width: 1px;
  height: 18px;
  margin: 0 2px;
  background: var(--rand);
}

.lasche .rund {
  width: 32px;
  height: 32px;
  background: transparent;
  box-shadow: none;
}

.lasche .rund svg.i {
  width: 19px;
  height: 19px;
}

.startkarte {
  width: 100%;
  background: var(--karte);
  border-radius: 22px 0 22px 22px;
  padding: 22px 20px 20px;
}

.startmarke {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 0 0 18px;
}

.startmarke .logo {
  width: 56px;
  height: 56px;
  flex: none;
  fill: var(--symbol);
  padding: 8px;
  border-radius: 15px;
  background: var(--karte2);
  box-shadow: var(--schatten2);
}

.startmarke h1 {
  margin: 0;
  font-size: 33px;
  letter-spacing: .5px;
  line-height: 1.05;
}

.startmarke .punkt {
  color: var(--symbol);
}

.startmarke p {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--leise);
}

.abschnitt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--rand) 70%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--karte2) 45%, var(--karte));
}

.abschnitt-titel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 700 13px "Segoe UI", system-ui, sans-serif;
  color: var(--text);
}

.schritt {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(var(--knopf1), var(--knopf2));
  color: var(--goldtext);
  font: 700 12px / 1 "Segoe UI", system-ui, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  padding-bottom: 1px;
}

.abschnitt .segment[hidden] {
  display: none;
}


.sitzliste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sitzzeile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  border: 1px dashed var(--rand);
}

.sitzzeile.frei {
  opacity: .6;
}

.sitzname {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

button.sitzname {
  align-self: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 600 14px "Segoe UI", system-ui, sans-serif;
  text-align: left;
  cursor: text;
}

button.sitzname.leer {
  color: var(--leise);
  font-weight: 400;
}

button.sitzname:focus-visible {
  outline: 2px solid var(--gold1);
  outline-offset: 2px;
  border-radius: 6px;
}

.namenfenster {
  width: min(340px, 100%);
  --fensterrand: 20px;
}

.namenfenster .fenster-inhalt {
  padding-bottom: var(--fensterrand);
}

.namenfenster h2 {
  font-size: 18px;
}

.nameneingabe {
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--rand);
  border-radius: 999px;
  background: var(--karte2);
  color: var(--text);
  font: 600 16px "Segoe UI", system-ui, sans-serif;
  outline: none;
}

.nameneingabe:focus {
  border-color: var(--gold1);
}

.namenknoepfe {
  display: flex;
  gap: 10px;
}

.namenknoepfe .knopf {
  flex: 1 1 0;
  height: 40px;
}

.sitzzeile.frei .sitzname {
  font-weight: 400;
  color: var(--leise);
}

.sitzmarke {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.sitzmarke svg.i {
  width: 16px;
  height: 16px;
}

.erklaer {
  margin: 2px 3px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--leise);
}

.erklaer b {
  color: var(--text);
}

.zeile2 {
  display: block;
  margin-top: 5px;
}

.knopf.startknopf {
  height: 46px;
  padding: 0 18px;
  font-size: 17px;
  border-radius: 999px;
  gap: 9px;
}

.knopf.startknopf svg.i {
  width: 19px;
  height: 19px;
}

.unten > div {
  margin-top: 20px;
}

.weiterspielen[hidden] {
  display: none;
}

.partieliste {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.partiezeile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.partiezeile .weiterzeile {
  flex: 1 1 auto;
  min-width: 0;
}

.partiezeile.fragt .tonne {
  border-color: var(--rot);
  background: var(--rot);
  color: var(--hell);
}

.trenner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--leise);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.trenner::before,
.trenner::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rand);
}

.hierher {
  display: block;
  width: 100%;
  margin: 14px 0 4px;
  border: 0;
  background: none;
  color: var(--leise);
  font: 12.5px "Segoe UI", system-ui, sans-serif;
  text-decoration: underline;
  text-decoration-color: var(--rand);
  text-underline-offset: 3px;
  cursor: pointer;
}

.codezeile {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 6px 0 16px;
  margin: 0;
  border: 1.5px solid var(--rand);
  border-radius: 999px;
  background: var(--karte2);
  transition: border-color .15s;
}

.codezeile:focus-within {
  border-color: var(--gold1);
}

.codezeile span {
  flex: none;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--leise);
}

.codezeile input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--text);
  font: 20px Georgia, "Times New Roman", serif;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.codezeile input::placeholder {
  color: var(--leise);
  opacity: .5;
  letter-spacing: 6px;
}

.codezeile .rund {
  width: 32px;
  height: 32px;
  border: 1px solid var(--rand);
  color: var(--symbol);
  box-shadow: none;
}

.codezeile .rund svg.i {
  width: 17px;
  height: 17px;
}

.weiterzeile {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--rand);
  border-radius: 999px;
  background: var(--karte2);
  color: var(--text);
  font-size: 13.5px;
  text-decoration: none;
}

.weiterzeile svg.i {
  width: 16px;
  height: 16px;
  color: var(--symbol);
}

.weiterzeile b {
  font-weight: 700;
}

.weiterzeile span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weiterzeile small {
  margin-left: 8px;
  color: var(--leise);
}

.nur-geraet,
.nur-online,
.nur-ki {
  display: none;
}

[data-modus="geraet"] .nur-geraet,
[data-modus="online"] .nur-online,
[data-modus="ki"] .nur-ki {
  display: block;
}

[data-modus="ki"] .segment.nur-ki {
  display: flex;
}

[data-modus="geraet"] span.nur-geraet,
[data-modus="online"] span.nur-online,
[data-modus="ki"] span.nur-ki {
  display: inline;
}

.meldung {
  margin: 12px 0 0;
  min-height: 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--rot);
}

.version {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--leise);
}

.version .vcode[hidden] {
  display: inline;
  visibility: hidden;
}

.vcode b {
  color: var(--text);
  letter-spacing: 0.08em;
}

.version > span {
  white-space: nowrap;
}

.vcode-stand {
  margin-left: 0.8em;
  color: var(--text);
}

.vcode-teil {
  margin-right: 0.6em;
}

.vcode-teil .i {
  width: 1.3em;
  height: 1.3em;
  margin-right: 0.15em;
  vertical-align: -0.3em;
}

/**
 * farben.css — die Farbauswahl und die antippbaren Spielersymbole.
 *
 * Copyright (c) 2026 Rico Pinzke. Alle Rechte vorbehalten.
 * Stand: 2026-10-25 20:02
 */

:root {
  --farbschrift-dunkel: #241c14;
}

.farb-waehler {
  position: fixed;
  left: var(--x, 0);
  top: var(--y, 0);
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(4, 34px);
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: var(--karte);
  border: 1px solid var(--rand);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}

.farb-waehler[hidden] {
  display: none;
}

.farb-feld {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--karte);
  background: var(--feld);
  box-shadow: 0 0 0 1px var(--rand);
  cursor: pointer;
}

.farb-feld.gewaehlt {
  box-shadow: 0 0 0 2px var(--text);
}

.farb-feld:disabled {
  position: relative;
  cursor: not-allowed;
}

.farb-feld:disabled::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 3px;
  height: calc(100% + 6px);
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text);
  box-shadow: 0 0 0 1.5px var(--karte);
  transform: rotate(45deg);
}

.farb-feld:focus-visible {
  outline: 2px solid var(--gold1);
  outline-offset: 2px;
}

.farb-symbol {
  cursor: pointer;
}

.farb-symbol:focus {
  outline: none;
}

.farb-symbol:focus-visible {
  outline: 2px solid var(--gold1);
  outline-offset: 2px;
  border-radius: 50%;
}

.sitzmarke.farb-symbol {
  color: color-mix(in srgb, var(--symbolfarbe) var(--spielerdeckung), var(--aufheller));
  background: color-mix(in srgb, var(--symbolfarbe) var(--spielerflaeche), transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--symbolfarbe) 30%, transparent);
}

