@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Sofia Sans Condensed';
  src: url('/fonts/sofia-sans-condensed.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --table: #1c2b24;
  --table-2: #243830;
  --paper: #f5eedd;
  --paper-2: #ece2c9;
  --field: #f8e6ad;
  --print: #c63a1e;
  --print-2: #9e2a12;
  --print-soft: rgba(198, 58, 30, 0.14);
  --ink: #26221c;
  --muted: #776c5c;
  --pen: #233d9b;
  --pen-soft: rgba(35, 61, 155, 0.12);
  --ok: #2f6a45;

  --label: 'Sofia Sans Condensed', 'Arial Narrow', sans-serif;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;

  --gutter: clamp(16px, 5vw, 36px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--table);
  background-image:
    radial-gradient(120% 80% at 50% 0%, var(--table-2), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 17px/1.5 var(--serif);
  font-optical-sizing: auto;
  padding: 0 0 calc(40px + env(safe-area-inset-bottom));
}

/* ---------- der Schein ---------- */

.slip {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 2px 3px rgba(0, 0, 0, 0.25),
    0 18px 40px -12px rgba(0, 0, 0, 0.55);
  border-radius: 2px;
}

.section { padding: 0 var(--gutter); }

.kicker {
  font: 600 12px/1.2 var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--print);
  margin: 0;
}

/* Kopf */
.head {
  padding-top: 28px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--print);
  position: relative;
}
.head-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.serial {
  font: 500 11px/1 var(--label);
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
h1 {
  font: 500 italic clamp(40px, 11vw, 64px)/0.95 var(--serif);
  letter-spacing: -0.02em;
  margin: 18px 0 10px;
  color: var(--ink);
}
h1 .amp { color: var(--print); font-weight: 400; }
.lede {
  margin: 0;
  max-width: 30em;
  color: var(--ink);
  font-size: 17px;
}

/* ---------- Seitenaufbau, mobil zuerst ---------- */

html, body { overflow-x: hidden; }
.wrap { max-width: 520px; margin: 0 auto; min-height: 100svh; display: flex; flex-direction: column; }

.home-head { text-align: center; padding: calc(30px + env(safe-area-inset-top)) 16px 0; }
.home-head .date {
  font: 600 13px/1.2 var(--label); letter-spacing: 0.16em; text-transform: uppercase;
  color: #e9a58f; margin: 0;
}
.home-head .names { font: 500 italic 27px/1.1 var(--serif); color: var(--paper); margin: 8px 0 0; }
.amp { color: #e9a58f; }

.bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(8px + env(safe-area-inset-top)) 16px 0;
  min-height: 56px;
}
.bar a {
  font: 700 13px/1 var(--label); letter-spacing: 0.08em; text-transform: uppercase;
  color: #e9a58f; text-decoration: none; padding: 14px 0; justify-self: start;
}
.bar .title {
  font: 600 12px/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245, 238, 221, 0.75);
}

/* ---------- das Türchen ---------- */

.stage { padding: 34px 16px 0; display: flex; flex-direction: column; align-items: center; }
.door {
  position: relative;
  width: min(70vw, 290px);
  aspect-ratio: 3 / 4;
  perspective: 1600px;
}
.door-inside {
  position: absolute; inset: 0;
  background-color: #eadcb8;
  box-shadow: inset 0 0 0 2px var(--print), inset 14px 10px 34px rgba(70, 45, 10, 0.38);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; padding: 22px;
}
.door-inside h2 { font: 500 italic clamp(28px, 8.5vw, 38px)/1.05 var(--serif); margin: 0; }
.door-inside .check { width: 54px; height: 54px; position: relative; }
.door-inside .check .mark { inset: 0; width: 100%; height: 100%; }

.door-leaf {
  position: absolute; inset: 0;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
  transition: transform 1.15s cubic-bezier(.55, .05, .2, 1);
  border: 0; padding: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.door-leaf:focus-visible { outline: 3px solid #e9a58f; outline-offset: 6px; }
.door-leaf .front, .door-leaf .back {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.door-leaf .front {
  background-color: var(--field);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  outline: 2px dashed var(--print);
  outline-offset: -11px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3), 0 26px 44px -18px rgba(0, 0, 0, 0.75);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--print);
}
.front .num {
  font: 800 clamp(120px, 40vw, 175px)/0.8 var(--label);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.front .lbl { font: 700 13px/1 var(--label); letter-spacing: 0.22em; text-transform: uppercase; margin-top: 18px; }
.front .grip {
  position: absolute; right: -1px; top: 50%;
  width: 20px; height: 46px; transform: translateY(-50%);
  background: var(--table);
  border-radius: 23px 0 0 23px;
  box-shadow: inset 3px 0 5px rgba(0, 0, 0, 0.35);
}
.door-leaf .back {
  transform: rotateY(180deg);
  background: #dfd0aa;
  box-shadow: inset 0 0 0 1px rgba(120, 90, 40, 0.3);
}
.door.open .door-leaf { transform: rotateY(-106deg); pointer-events: none; }
.door.instant .door-leaf { transition: none; }
.door.locked .front { color: color-mix(in srgb, var(--print) 50%, transparent); background-color: #efe2bd; }
.door.locked .front .grip { display: none; }
.door.nope .door-leaf { animation: rattle 0.45s ease; }
@keyframes rattle {
  20% { transform: rotateY(-7deg); }
  45% { transform: rotateY(0); }
  70% { transform: rotateY(-3deg); }
}

.hint {
  margin: 22px 0 0; min-height: 1em;
  font: 600 13px/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245, 238, 221, 0.65);
  text-align: center;
}
.hint.pulse { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.35; } }

.content { margin: 28px 10px 0; padding: 24px var(--gutter) 24px; }
.content .task { font-size: 18px; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .content.rise-in { animation: rise-in 0.6s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(24px); } }
}

.home-links {
  display: flex; justify-content: center; gap: 26px;
  padding: 34px 16px 8px; margin-top: auto;
}
.home-links a {
  font: 700 13px/1 var(--label); letter-spacing: 0.14em; text-transform: uppercase;
  color: #e9a58f; text-decoration: none;
  padding: 12px 0 6px; border-bottom: 1px solid rgba(233, 165, 143, 0.45);
}
.home-links a small { font-size: 11px; color: rgba(245, 238, 221, 0.6); letter-spacing: 0.06em; }

/* Knöpfe */
.btn {
  appearance: none;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 700 14px/1 var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: 2px;
  cursor: pointer;
  min-height: 44px;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--print); border-color: var(--print); color: #fff8ef; }
.btn.primary:hover { background: var(--print-2); border-color: var(--print-2); }
.btn.pen { border-color: var(--pen); color: var(--pen); }
.btn.pen:hover { background: var(--pen); color: #fff; }
.btn:disabled { opacity: 0.5; cursor: progress; }
.linkish {
  appearance: none; border: 0; background: none; padding: 0;
  font: inherit; color: var(--pen); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------- Alle Türchen ---------- */

.groups { display: grid; gap: 14px; padding: 14px 10px 0; }
.gcard {
  background-color: var(--paper);
  border: 1.5px solid var(--print);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.7);
}
.page-paper { margin: 14px 10px 0; }

.draw-head {
  display: flex;
  align-items: stretch;
  border-bottom: 1.5px solid var(--print);
  font-family: var(--label);
}
.draw-no {
  background: var(--print);
  color: #fff6ea;
  font: 800 13px/1 var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 10px;
  display: flex;
  align-items: center;
}
.draw-when {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 14px/1.1 var(--label);
  color: var(--print-2);
  letter-spacing: 0.02em;
  flex: 1;
}
.draw-when .lot { color: var(--ink); font-weight: 500; }
.tbc {
  font: 600 10px/1 var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 3px 4px;
  color: var(--muted);
}

.boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 12px;
  background: color-mix(in srgb, var(--field) 55%, transparent);
  flex: 1;
  align-content: start;
}
.box {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px solid var(--print);
  background: var(--paper);
  color: var(--print);
  font: 700 22px/1 var(--label);
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  border-radius: 1px;
  transition: transform 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.box:hover { background: #fffaf0; }
.box:active { transform: scale(0.96); }
.box:focus-visible { outline: 2px solid var(--pen); outline-offset: 2px; }
.box.locked {
  color: color-mix(in srgb, var(--print) 45%, transparent);
  border-color: color-mix(in srgb, var(--print) 45%, transparent);
  background: transparent;
  cursor: default;
}
.box.locked:hover { background: transparent; }
.box.selected { outline: 2.5px solid var(--pen); outline-offset: 2px; }
.box.nope { animation: nope 0.35s ease; }
@keyframes nope {
  20%, 60% { transform: translateX(-3px); }
  40%, 80% { transform: translateX(3px); }
}
.box .num { position: relative; z-index: 1; }
.box.state-pending .num, .box.state-approved .num { opacity: 0.4; }

/* Handgezeichnete Markierungen */
.mark {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}
.mark path {
  fill: none;
  stroke: var(--pen);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mark.cross path { stroke-width: 6.5; opacity: 0.92; }
.mark.ring path { stroke-width: 3; opacity: 0.85; }
.mark .draw-in {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: pen 0.45s cubic-bezier(.5, 0, .3, 1) forwards;
}
.mark .draw-in.second { animation-delay: 0.35s; }
@keyframes pen { to { stroke-dashoffset: 0; } }

.box.state-rejected::after {
  content: '?';
  position: absolute;
  top: 2px; right: 4px;
  font: 700 14px/1 var(--label);
  color: var(--pen);
}

.gfoot {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 4px 8px 12px;
  border-top: 1px dashed color-mix(in srgb, var(--print) 50%, transparent);
}
.quote {
  font: 700 26px/0.9 var(--label);
  font-variant-numeric: tabular-nums;
  color: var(--pen);
}
.quote small { font-size: 0.55em; font-weight: 600; margin-left: 1px; }
.gfoot .facts { flex: 1; font-size: 14px; line-height: 1.3; }
.gfoot .status { display: block; color: var(--muted); font-style: italic; }
.gfoot .more {
  appearance: none; border: 0; background: none; cursor: pointer;
  font: 700 12px/1 var(--label); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--print-2);
  min-height: 44px; padding: 0 10px;
}
.detail-body { font-size: 16px; }
.detail-body h4 {
  font: 600 11px/1 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 8px;
}
.detail-body p { margin: 0 0 8px; }
.tips { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font: 600 14px/1 var(--label); }
.tip .i { width: 1.6em; color: var(--muted); font-weight: 500; }
.ball {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--print);
  display: inline-grid; place-items: center;
  font-variant-numeric: tabular-nums;
  background: var(--paper);
}
.ball.extra { border-color: var(--pen); color: var(--pen); }
.ball.hit { background: var(--pen); border-color: var(--pen); color: #fff; }
.receipts { display: flex; gap: 8px; flex-wrap: wrap; }
.receipts a, .thumbs img, .photos a {
  display: block; width: 72px; height: 72px; border: 1px solid var(--print-soft);
  background: var(--paper-2);
}
.receipts img, .photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.muted { color: var(--muted); }

/* Spielregeln */
.rules { padding: 22px var(--gutter) 20px; }
.rules h2 { font: 700 14px/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--print); margin: 0 0 16px; }
.rules ol {
  margin: 0; padding: 0; list-style: none;
  counter-reset: p;
  font-size: 15.5px;
  line-height: 1.45;
}
.rules li { counter-increment: p; margin: 0 0 12px; padding-left: 2em; position: relative; }
.rules li::before {
  content: '§ ' counter(p);
  position: absolute; left: 0; top: 0.15em;
  font: 700 12px/1.4 var(--label);
  color: var(--print);
}
.rules b { font-weight: 600; }

.sig { text-align: center; margin: 8px 16px 0; font: 400 italic 22px/1.1 var(--serif); color: var(--paper); }
.sig small { display: block; font: 600 11px/1.4 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245, 238, 221, 0.55); font-style: normal; margin-bottom: 4px; }

/* Für Admin und Sperrseite */
.foot {
  padding: 16px var(--gutter) 24px;
  border-top: 2px solid var(--print);
  display: flex; justify-content: flex-end;
}
.barcode {
  width: 120px; height: 34px; flex: none;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px,
    var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px);
  opacity: 0.8;
}

/* ---------- Türchen-Blatt ---------- */

dialog.sheet {
  border: 0;
  padding: 0;
  margin: auto auto 0;
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
@media (min-width: 640px) {
  dialog.sheet { margin: auto; }
}
dialog.sheet::backdrop {
  background: rgba(12, 20, 16, 0.6);
  backdrop-filter: blur(2px);
}
dialog.sheet[open] .sheet-paper { animation: rise 0.32s cubic-bezier(.2, .9, .3, 1); }
@keyframes rise {
  from { transform: translateY(40px); opacity: 0; }
}
.sheet-paper {
  background: var(--paper);
  max-height: 92vh;
  overflow-y: auto;
  padding: 22px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  border-top: 6px solid var(--print);
  position: relative;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  outline: none;
}
.sheet-close {
  position: absolute; top: 10px; right: 10px;
  width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer;
  font: 300 30px/1 var(--serif); color: var(--muted);
}
.sheet h2 {
  font: 500 italic clamp(30px, 8vw, 40px)/1 var(--serif);
  margin: 10px 0 16px;
  letter-spacing: -0.01em;
  padding-right: 40px;
}
.task p { margin: 0 0 12px; }
.task ul { margin: 0 0 12px; padding-left: 1.1em; }
.task li { margin: 2px 0; }
.task li::marker { content: '– '; color: var(--print); }
.task .cipher { font: 700 26px/1.2 var(--label); letter-spacing: 0.18em; color: var(--pen); }
.proof {
  margin: 18px 0;
  padding: 10px 0 10px 14px;
  border-left: 3px solid var(--print);
  font-size: 16px;
}
.proof span {
  display: block;
  font: 600 11px/1.2 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--print);
  margin-bottom: 3px;
}

.report { display: grid; gap: 12px; margin-top: 6px; }
.report label { display: grid; gap: 6px; font: 600 13px/1.2 var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
textarea, input[type=text], input[type=date], input[type=number] {
  font: 400 17px/1.4 var(--serif);
  color: var(--ink);
  background: #fffbf1;
  border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 10px 12px;
  width: 100%;
}
::placeholder { color: var(--muted); opacity: 0.55; font-style: italic; }
textarea:focus, input:focus { outline: none; border-bottom-color: var(--pen); background: #fff; }
.file-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.file-row input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs, .photos { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { position: relative; }
.thumb button {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--paper);
  font: 700 14px/1 var(--label); cursor: pointer;
}
.thumbs img { object-fit: cover; }
.fine { font-size: 14px; color: var(--muted); margin: 0; }
.err { color: var(--print-2); font-size: 15px; margin: 0; }

.status-card {
  margin: 18px 0 4px;
  padding: 14px;
  background: var(--pen-soft);
  border: 1px solid color-mix(in srgb, var(--pen) 30%, transparent);
}
.status-card.approved { background: rgba(47, 106, 69, 0.1); border-color: rgba(47, 106, 69, 0.35); }
.status-card.rejected { background: var(--print-soft); border-color: color-mix(in srgb, var(--print) 40%, transparent); }
.status-card h3 { margin: 0 0 6px; font: 700 15px/1.2 var(--label); letter-spacing: 0.06em; text-transform: uppercase; }
.status-card p { margin: 0 0 8px; }
.status-card p:last-child { margin-bottom: 0; }
.status-card blockquote { margin: 0 0 8px; font-style: italic; }

.stamp-anim { animation: stamp 0.4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes stamp { from { transform: scale(1.15) rotate(-2deg); opacity: 0; } }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  font: 500 15px/1.3 var(--serif);
  padding: 10px 16px; border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 100;
  max-width: calc(100vw - 32px);
  animation: rise 0.25s ease;
}

.sim {
  max-width: 640px; margin: 0 auto; padding: 8px 16px 0;
  font: 600 12px/1.3 var(--label); letter-spacing: 0.08em; text-transform: uppercase;
  color: #f8e6ad; text-align: center;
}

/* Einstiegs-Animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal 0.6s cubic-bezier(.2, .8, .2, 1) both; }
  .reveal:nth-child(2) { animation-delay: 0.06s; }
  .reveal:nth-child(3) { animation-delay: 0.12s; }
  .reveal:nth-child(4) { animation-delay: 0.18s; }
  .reveal:nth-child(5) { animation-delay: 0.24s; }
  .reveal:nth-child(6) { animation-delay: 0.3s; }
  .reveal:nth-child(7) { animation-delay: 0.36s; }
  @keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
}
@media (prefers-reduced-motion: reduce) {
  .mark .draw-in { animation: none; stroke-dashoffset: 0; }
}

@media (min-width: 560px) {
  body { padding-top: 24px; }
  .content, .page-paper { margin-left: 0; margin-right: 0; }
  .groups { padding-left: 0; padding-right: 0; }
}

.door-inside .check:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .door-leaf { transition-duration: 0.01s; }
  .hint.pulse { animation: none; }
}
