/* Spieleabend am Handy: groß, daumenfreundlich, gleiche Welt wie am Fernseher („Plattenladen“). */
:root { --grund: #120e0c; --karte: #1d1713; --linie: rgba(255, 236, 214, .12); --text: #fff4e8; --text2: rgba(255, 244, 232, .7); --text3: rgba(255, 244, 232, .45);
  --bernstein: #ffb347; --gut: #59d98e; --schlecht: #ff5d5d; color-scheme: dark; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; background: var(--grund); color: var(--text); font-family: "Bricolage Grotesque", -apple-system, "Segoe UI", Roboto, sans-serif; }
body { padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.seite[hidden] { display: none; }
h1 { margin: 24px 0 6px; font-size: 44px; font-weight: 800; letter-spacing: -1px; }
h2 { margin: 18px 0 10px; font-size: 26px; font-weight: 700; text-wrap: balance; }
.leise { color: var(--text2); margin: 0 0 14px; }
form { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--text2); }
input { font: inherit; font-size: 24px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--linie); background: var(--karte); color: var(--text); outline: none; }
input:focus { border-color: var(--bernstein); }
#eingabe-code { text-transform: uppercase; letter-spacing: 8px; font-weight: 800; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
.gross { width: 100%; padding: 18px; border-radius: 18px; background: var(--bernstein); color: #1d1206; font-size: 22px; font-weight: 800; }
.gross:disabled { opacity: .4; }
.gross.zweit { background: rgba(255, 255, 255, .08); color: var(--text); }
.fehler { color: var(--schlecht); min-height: 1.2em; margin: 0; }
.kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ich { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.ich i { width: 22px; height: 22px; border-radius: 50%; background: var(--f); }
.mitte { text-align: center; padding: 40px 0 10px; }
.mitte .gross-text { font-size: 30px; font-weight: 800; line-height: 1.15; text-wrap: balance; }
.platte { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%; background: radial-gradient(circle, var(--bernstein) 0 26%, #0b0b0b 27% 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: drehen 2.4s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .platte { animation: none; } }

/* Zeitstrahl zum Einordnen: Karten senkrecht, dazwischen Lücken zum Antippen */
.reihe { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 18px; }
.k { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: hsl(var(--h) 45% 20%); border: 1px solid hsl(var(--h) 60% 50% / .45); }
.k b { font-size: 26px; font-weight: 800; color: hsl(var(--h) 90% 78%); min-width: 66px; }
.k span { font-size: 15px; color: var(--text2); line-height: 1.25; }
.platz { width: 100%; padding: 12px; border-radius: 12px; border: 2px dashed var(--linie); background: transparent; color: var(--text3); font-size: 15px; }
.platz.an { border: 2px solid var(--bernstein); background: rgba(255, 179, 71, .14); color: var(--text); font-weight: 700; }

/* Jahr schätzen */
.jahr { font-size: 84px; font-weight: 800; text-align: center; letter-spacing: -2px; margin: 10px 0; font-variant-numeric: tabular-nums; }
.regler { width: 100%; accent-color: var(--bernstein); height: 40px; }
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 18px; }
.schritte button { padding: 14px 0; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: 20px; font-weight: 700; }
.liste { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.zeile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--karte); }
.zeile i { width: 18px; height: 18px; border-radius: 50%; background: var(--f); }
.zeile b { margin-left: auto; }
.ergebnis { text-align: center; margin: 20px 0; }
.ergebnis .titel { font-size: 26px; font-weight: 800; }
.ergebnis .wer { color: var(--text2); }
.ergebnis .jahr { font-size: 64px; }
.gut { color: var(--gut); } .schlecht { color: var(--schlecht); }
.cover { width: 160px; height: 160px; border-radius: 16px; object-fit: cover; margin: 0 auto 10px; display: block; }

/* ── Montagsmaler, Activity, Verdeckte Karten ── */
.begriff { font-size: 40px; font-weight: 800; text-align: center; margin: 10px 0 22px; letter-spacing: -.5px; text-wrap: balance; }
.begriff.klein { font-size: 22px; margin: 0; text-align: left; }
.zeile-oben { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0; }
.uhr { margin: 0; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }
.uhr.knapp { color: var(--schlecht); }
.mitte + .uhr, .uhr + .mitte { margin-top: 10px; }
.block { width: 100%; aspect-ratio: 1; max-width: 100%; border-radius: 16px; overflow: hidden; background: #fbf7f0; touch-action: none; }
.block canvas { display: block; touch-action: none; }
.werkzeug { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.farbe { width: 38px; height: 38px; border-radius: 50%; border: 3px solid transparent; }
.farbe.an { border-color: var(--text); }
.farbe.radierer { background: #fbf7f0 !important; color: #1a120c; font-size: 16px; font-weight: 800; }
.breite { padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 15px; }
.breite.an { background: var(--text); color: #1a120c; font-weight: 700; }
.rate { margin-top: 14px; }
textarea { font: inherit; font-size: 22px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--linie); background: var(--karte); color: var(--text); outline: none; resize: none; }
textarea:focus { border-color: var(--bernstein); }
input.falsch { border-color: var(--schlecht); animation: wackeln .3s; }
@keyframes wackeln { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.stufen { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.gross.gut { background: var(--gut); color: #0b2414; }
.gross + .gross { margin-top: 10px; }
.zwei .gross + .gross { margin-top: 0; }
.team { display: flex; align-items: center; gap: 10px; color: var(--text2); margin: 6px 0 0; }
.team i { width: 16px; height: 16px; border-radius: 50%; background: var(--f); }
.zeile span { color: var(--text2); }
/* Ohne Fernbedienung: Rückfrage beim ersten Tippen, Karten einzeln aufdecken */
#inhalt .gross.nachfrage, #inhalt .ka-dreh.nachfrage { background: var(--schlecht); color: #fff; box-shadow: none; }
.mitte + .gross, .leise + .gross, .liste + .gross { margin-top: 14px; }
.ka-unten { margin-top: 18px; }
.ka-stand { text-align: center; }
.ka-dreh { flex: none; margin-left: 10px; padding: 9px 14px; border-radius: 12px; background: var(--bernstein); color: #1d1206; font-size: 15px; font-weight: 800; }
.ka-dreh:disabled { opacity: .4; }
.zeile .ka-offen { flex: none; margin-left: 10px; font-size: 14px; color: var(--text3); }
