:root {
  --papier: #f4f1ea;
  --karte: #fbfaf6;
  --tinte: #22211f;
  --leise: #6d6a63;
  --linie: #d9d4c8;
  --akzent: #8a5a2b;
  --akzent-hell: #efe3d3;
  --gut: #2f6b45;
  --gut-hell: #e1eee4;
  --schlecht: #9c3328;
  --schlecht-hell: #f6e2df;
  --leiste: #e5e0d4;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #171615;
    --karte: #201f1d;
    --tinte: #eeebe4;
    --leise: #a19d94;
    --linie: #3a3834;
    --akzent: #d6a46d;
    --akzent-hell: #3a2c1e;
    --gut: #8fcaa0;
    --gut-hell: #1f3226;
    --schlecht: #ec9a8f;
    --schlecht-hell: #3b201c;
    --leiste: #34322e;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.blatt { max-width: 640px; margin: 0 auto; padding: 48px 20px 64px; }
.marke {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 28px; font-size: 13px; letter-spacing: .04em; color: var(--leise);
}
.schloss { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
h1 {
  margin: 0 0 12px;
  font: 400 44px/1.1 "New York", ui-serif, "Iowan Old Style", Georgia, "Times New Roman", serif;
  letter-spacing: -.01em;
}
h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.einleitung { margin: 0; font-size: 18px; color: var(--leise); }
.gueltig { margin: 4px 0 32px; font-size: 14px; color: var(--leise); }
.hinweis { color: var(--leise); }
.leise { color: var(--leise); }

.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; padding: 20px 22px; }
.karte p { margin: 0; color: var(--leise); }
.ungueltig { border-color: var(--schlecht); background: var(--schlecht-hell); margin-top: 24px; }
.ungueltig h2 { color: var(--schlecht); }

.zone {
  position: relative;
  border: 1.5px dashed var(--linie);
  border-radius: 18px;
  background: var(--karte);
  padding: 40px 20px 32px;
  text-align: center;
  transition: border-color .15s, background-color .15s;
}
.zone.drueber { border-color: var(--akzent); background: var(--akzent-hell); }
.symbol { width: 52px; height: 52px; fill: none; stroke: var(--akzent); stroke-width: 2; stroke-linejoin: round; }
.zone-text { margin: 10px 0 0; font-size: 18px; }
.zone-oder { margin: 2px 0 12px; font-size: 14px; color: var(--leise); }
.knopf {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--tinte);
  color: var(--papier);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  border: 0;
  cursor: pointer;
  user-select: none;
}
.knopf:hover { opacity: .9; }
.knopf:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
#auswahl { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.formate { margin: 16px 0 0; font-size: 13px; color: var(--leise); }

.stand { margin-top: 28px; }
.stand-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stand-kopf p { margin: 0 0 8px; }
#stand-text { font-weight: 600; }
#stand-mehr { font-size: 14px; }
progress {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 6px; border: 0; border-radius: 3px;
  background: var(--leiste); overflow: hidden;
}
progress::-webkit-progress-bar { background: var(--leiste); border-radius: 3px; }
progress::-webkit-progress-value { background: var(--akzent); border-radius: 3px; }
progress::-moz-progress-bar { background: var(--akzent); border-radius: 3px; }
.meldung { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--akzent-hell); font-size: 14px; }

.fertig { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; border-color: var(--gut); background: var(--gut-hell); }
.fertig h2 { color: var(--gut); }
.haken { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--gut); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.liste { list-style: none; margin: 24px 0 0; padding: 0; }
.liste li { padding: 12px 0; border-top: 1px solid var(--linie); }
.liste li:last-child { border-bottom: 1px solid var(--linie); }
.zeile { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zustand { flex: none; font-size: 13px; color: var(--leise); font-variant-numeric: tabular-nums; }
.liste progress { height: 3px; margin-top: 8px; }
.liste li.ok .zustand { color: var(--gut); }
.liste li.ok progress, .liste li.abgelehnt progress { display: none; }
.liste li.abgelehnt .zustand, .liste li.abgelehnt .name { color: var(--schlecht); }

.fuss { margin: 32px 0 0; font-size: 13px; color: var(--leise); }

@media (max-width: 480px) {
  .blatt { padding: 32px 16px 48px; }
  h1 { font-size: 36px; }
  .einleitung { font-size: 16px; }
  .zone { padding: 32px 16px 26px; }
}
