/* ═══════════════════════════════════════════════════════════════════════
   ¡CACHAI! — SCHIEFERTAFEL (0.30.4)
   Die Tafel ist die Erklärstimme der App: Regeln, Konjugationsmuster,
   Beispiele. Übungen und Vokabeln bleiben Papier.

   KONTRAKT:
   · --etp-font-hand (Playwrite CL) wird NUR hier referenziert.
     tools/design-lint.py meldet jede Nutzung außerhalb dieser Datei.
   · Alle Slate-Farben leben als --etp-slate-* / --etp-chalk-* Tokens
     ausschließlich in dieser Datei.
   · Ein Deko-Element (Wisch-Schatten), sonst nichts. Vivaldi, nicht
     Pavarotti.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --etp-slate-900: #242e29;
  --etp-slate-800: #2f3a35;
  --etp-slate-700: #3a4741;
  --etp-chalk: #e6e1d2;
  --etp-chalk-soft: rgba(230, 225, 210, .62);
  --etp-chalk-faint: rgba(230, 225, 210, .22);
  --etp-chalk-accent: #e9c98a;
  --etp-wood: #8a6b4a;
  --etp-wood-dark: #5f462e;
  --etp-font-hand: 'Playwrite CL', cursive;
}

/* ── Rahmen + Fläche ── */
.etp-slate {
  border-radius: var(--r-s);
  padding: 9px;
  background: linear-gradient(168deg, var(--etp-wood) 0%, var(--etp-wood-dark) 100%);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.etp-slate__in {
  position: relative;
  border-radius: var(--r-xs);
  overflow: hidden;
  padding: 18px 16px 20px;
  color: var(--etp-chalk);
  background: radial-gradient(120% 80% at 30% 0%,
    var(--etp-slate-700) 0%, var(--etp-slate-800) 45%, var(--etp-slate-900) 100%);
}

/* Kreidestaub — prozedural, kein Bild */
.etp-slate__in::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* Der eine Wisch — Signature-Detail */
.etp-slate__in::after {
  content: "";
  position: absolute;
  pointer-events: none;
  left: -12%;
  bottom: 14%;
  width: 124%;
  height: 34%;
  background: radial-gradient(60% 50% at 50% 50%, rgba(230, 225, 210, .075), transparent 70%);
  transform: rotate(-3deg);
}

.etp-slate__in > * { position: relative; z-index: 1; }

/* ── Typo-Bausteine ── */
.etp-slate__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--etp-chalk-soft);
  border: 1px solid var(--etp-chalk-faint);
  border-radius: var(--r-xs);
  padding: 2px 7px;
  margin-bottom: 12px;
}

.etp-slate__title {
  font-family: var(--etp-font-hand);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 4px;
  color: var(--etp-chalk);
}

.etp-slate__sub {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--etp-chalk-soft);
  margin: 0 0 14px;
}

.etp-slate__text {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--etp-chalk);
}

.etp-slate__text strong,
.etp-slate__text b,
.etp-slate__text em {
  font-style: normal;
  font-weight: 600;
  color: var(--etp-chalk-accent);
}

.etp-slate__hr {
  height: 1px;
  border: 0;
  background: var(--etp-chalk-faint);
  margin: 14px 0;
}

/* ── Beispiele ── */
.etp-slate__ex {
  margin-bottom: 9px;
  padding-left: 16px;
  position: relative;
}
.etp-slate__ex:last-child { margin-bottom: 0; }
.etp-slate__ex::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1.5px;
  background: var(--etp-chalk-soft);
}
.etp-slate__ex-es {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--etp-chalk);
}
.etp-slate__ex-es strong { font-weight: 600; color: var(--etp-chalk-accent); }
.etp-slate__ex-de {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--etp-chalk-soft);
  margin-top: 1px;
}

/* ── Konjugationsmuster (Verb-Referenz, Exercise-Helper) ── */
.etp-slate__section { margin-bottom: 16px; }
.etp-slate__section:last-child { margin-bottom: 0; }

.etp-slate__pattern {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--etp-chalk-accent);
  white-space: pre-line;
}

.etp-slate__note {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--etp-chalk-soft);
  margin-top: 6px;
}

.etp-slate__row { margin-bottom: 10px; }
.etp-slate__row:last-child { margin-bottom: 0; }
.etp-slate__row-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--etp-chalk-soft);
  margin-bottom: 2px;
}

/* ── Fußzeile (z. B. Chile-Hinweis) ── */
.etp-slate__foot {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--etp-chalk-soft);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--etp-chalk-faint);
}
