.vt-seite { overflow-x: clip; }

.vt-buehne { margin: 8px 0 48px; }

.vt-geraet {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px;
  background: var(--vt-gehaeuse);
  border: 2px solid var(--vt-gehaeuse-kante);
  border-radius: 22px;
}

.vt-schirm {
  min-width: 0;
  scroll-margin-top: 96px;
  padding: 14px clamp(10px, 3vw, 28px) 16px;
  color: var(--vt-weiss);
  background-color: var(--vt-schwarz);
  background-image: repeating-linear-gradient(to bottom, transparent 0 3px, var(--vt-zeile) 3px 4px);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.45;
}

.vt-kopfzeile {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4ch;
  margin: 0 0 12px;
  font-weight: 700;
}

.vt-name { color: var(--vt-gelb); }
.vt-zeit { margin-left: auto; white-space: nowrap; }

.vt-tafel p { margin: 0 0 10px; }
.vt-tafel + .vt-tafel { margin-top: 28px; padding-top: 20px; border-top: 2px dashed var(--vt-gehaeuse-kante); }
.vt-js .vt-tafel + .vt-tafel { margin-top: 0; padding-top: 0; border-top: 0; }
.vt-js .vt-tafel { min-height: 20em; }

.vt-band {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 8px 12px;
}

.vt-band-blau { color: var(--vt-gelb); background: var(--vt-blau); }
.vt-band-rot { color: var(--vt-schwarz); background: var(--vt-rot); }
.vt-band-gruen { color: var(--vt-schwarz); background: var(--vt-gruen); }
.vt-band-magenta { color: var(--vt-schwarz); background: var(--vt-magenta); }

.vt-doppelt {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 1.45em;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .03em;
  overflow-wrap: anywhere;
}

.vt-doppelt:focus { outline: none; }
.vt-doppelt:focus-visible { outline: 3px solid var(--vt-weiss); outline-offset: 3px; }

.vt-nr { flex: none; font-weight: 800; }

.vt-gelb { color: var(--vt-gelb); }
.vt-cyan { color: var(--vt-cyan); }
.vt-gruen { color: var(--vt-gruen); }
.vt-magenta { color: var(--vt-magenta); }
.vt-weiss { color: var(--vt-weiss); }

.vt-f-weiss { fill: var(--vt-weiss); }
.vt-f-gelb { fill: var(--vt-gelb); }
.vt-f-cyan { fill: var(--vt-cyan); }
.vt-f-gruen { fill: var(--vt-gruen); }
.vt-f-magenta { fill: var(--vt-magenta); }

.vt-mosaik { display: block; width: min(100%, 420px); height: auto; margin: 4px 0 14px; }

.vt-zwischen { margin: 14px 0 4px; font-size: 1em; font-weight: 800; letter-spacing: .04em; }

.vt-index { list-style: none; margin: 0 0 12px; padding: 0; }

.vt-index a {
  display: flex;
  align-items: center;
  gap: .8ch;
  min-height: 44px;
  color: var(--vt-weiss);
  text-decoration: none;
}

.vt-index a:hover .vt-wort { text-decoration: underline; }
.vt-wort { min-width: 0; overflow-wrap: anywhere; }
.vt-punkte { flex: 1 1 2ch; min-width: 2ch; height: .6em; border-bottom: 3px dotted var(--vt-cyan); }
.vt-ziffer { flex: none; color: var(--vt-gelb); font-weight: 800; }

.vt-stand { color: var(--vt-gruen); }

.vt-marke { margin: 16px 0 4px; font-size: 1em; font-weight: 800; letter-spacing: .04em; }
.vt-tafel p.vt-marke { margin: 16px 0 4px; }

.vt-leer { padding-left: 12px; border-left: 4px solid var(--vt-gruen); }

.vt-antworten { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.vt-quelle { display: flex; flex-wrap: wrap; gap: 0 1.6ch; font-weight: 700; }
.vt-zitat { margin: 0; padding-left: 12px; border-left: 4px solid var(--vt-magenta); }
.vt-zitat p { margin: 0 0 8px; overflow-wrap: anywhere; }

.vt-liste { margin: 0; }
.vt-liste dt { margin-top: 12px; font-weight: 800; }
.vt-liste dd { margin: 0; }
.vt-liste a { display: inline-flex; align-items: center; min-height: 44px; color: var(--vt-cyan); text-decoration: underline; overflow-wrap: anywhere; }

.vt-regeln { margin: 0; padding-left: 3ch; }
.vt-regeln li { margin-bottom: 10px; }

.vt-schirm a:focus-visible { outline: 3px solid var(--vt-gelb); outline-offset: 3px; }

.vt-fastext {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 18px;
}

.vt-taste {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 8px;
  font-size: .85em;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.vt-taste-rot { color: var(--vt-schwarz); background: var(--vt-rot); }
.vt-taste-gruen { color: var(--vt-schwarz); background: var(--vt-gruen); }
.vt-taste-gelb { color: var(--vt-schwarz); background: var(--vt-gelb); }
.vt-taste-blau { color: var(--vt-weiss); background: var(--vt-blau); }
.vt-schirm .vt-taste:focus-visible { outline: 3px solid var(--vt-weiss); outline-offset: 2px; }

.vt-bedienung {
  color: var(--vt-weiss);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 900px;
  margin: 18px auto 0;
}

.vt-wahl label { display: block; margin-bottom: 6px; font-weight: 700; }
.vt-wahlzeile { display: flex; flex-wrap: wrap; gap: 10px; }
.vt-wahl input {
  width: 6ch;
  min-height: 44px;
  padding: 4px 8px;
  color: var(--vt-gelb);
  background: var(--vt-schwarz);
  border: 2px solid var(--vt-cyan);
  font-size: 20px;
  text-align: center;
}
.vt-wahl .btn { min-height: 44px; }
.vt-hinweis { margin: 6px 0 0; color: var(--vt-leise); font-size: 14px; }
.vt-wahl input:focus-visible { outline: 3px solid var(--vt-gelb); outline-offset: 2px; }
.vt-blaettern { display: flex; flex-wrap: wrap; gap: 10px; }
.vt-blaettern .btn { min-height: 44px; }

.vt-wege { display: flex; flex-wrap: wrap; gap: 12px; }
.vt-wege .btn { min-height: 44px; }

@media (prefers-reduced-motion: no-preference) {
  .vt-js .vt-tafel.vt-neu { animation: vt-aufbau .32s steps(6, end) both; }
  @keyframes vt-aufbau { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
}

@media (max-width: 560px) {
  .vt-geraet { padding: 8px; border-radius: 16px; }
  .vt-fastext { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-zeit { margin-left: 0; }
}
.vt-feldfehler { color: var(--vt-gelb); font-weight: 700; }
.vt-zitat p { white-space: pre-line; }
