/* Spieleseite im Papierlook. Wird nach styles.css, springt.css, neu.css und papier.css geladen.
   Die Spiele selbst bleiben dunkle Bildschirme, alles drumherum ist Karton und Papier. */

/* Die alten Stylesheets wechseln ihre Farben mit dem Geräte-Design. Hier gelten immer die Papierfarben. */
:root:root:root {
  --papier: #f6eedc; --papier-2: #eadfc8; --karte: #fff9ea; --tinte: #1e1f22; --text: #2a2b2e; --text-leise: #5a564d;
  --linie: #d8cbb0; --akzent: #a8371f; --akzent-hell: #f4b62e; --auf-akzent: #fff;
  --dunkel: #191b1e; --dunkel-2: #25272b; --dunkel-text: #f6eedc; --dunkel-leise: #bdb5a3;
  --schatten: 0 1px 2px rgba(0, 0, 0, .2), 0 16px 30px -12px rgba(0, 0, 0, .5);
  --schrift-titel: 'Fraunces', Georgia, serif; --rund: 6px; --kopf-h: 62px;
  color-scheme: light;
}
body { background: var(--kohle); color: var(--blatt); font: 400 18px/1.65 var(--schrift-text); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0; color: inherit; }
.titel h2 { max-width: none; margin: 0; font-weight: 600; letter-spacing: -.02em; }
.titel .ku, .vorspann .ku, .streifen .ku { color: inherit !important; font-weight: inherit; }
.leiste .nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--f); text-decoration-thickness: 3px; text-underline-offset: 7px; }

/* Kopf der Seite */
main > .spielkopf { padding-top: clamp(40px, 6vw, 76px); }
.spielkopf__raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.spielkopf h1 { font-size: clamp(44px, 24px + 6vw, 96px); line-height: 1; letter-spacing: -.02em; color: var(--blatt-hell); }
.spielkopf .vorspann { margin: 22px 0 0; }
.wahl { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; }
.wahl img { width: 64px; height: 64px; object-fit: contain; rotate: -5deg; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .35)); }
@media (min-width: 900px) {
  .spielkopf__raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px 64px; align-items: center; }
  .spielkopf .mappe { grid-column: 1 / -1; }
}

/* Spielfelder: wie Geräte, die auf dem Tisch liegen */
.spiel, .dj-console { box-shadow: 0 2px 0 rgba(0, 0, 0, .4), 0 26px 34px -10px rgba(0, 0, 0, .6); }
.spiel { margin-inline: auto; }
.spiel-hilfe { margin-top: 20px; }
.spiel-steuerung { font-size: 15.5px; line-height: 1.5; color: inherit; opacity: .92; }
.spiel-steuerung strong { color: inherit; font-size: 17px; }
.spiel-legende { color: inherit; font-size: 15px; }
.spiel__titel { font-family: var(--schrift-titel); }

/* Bestenliste als Zettel */
.bestenliste.stueck { max-width: 620px; margin: 56px auto 0; padding: 34px clamp(18px, 4vw, 30px) 24px; background: none; border: 0; border-radius: 0; box-shadow: none; rotate: -.6deg; }
.bestenliste.stueck h3 { font-size: 26px; }
#springt .bestenliste.stueck { rotate: .7deg; }
#springt .bestenliste.stueck::after { background: rgba(196, 67, 42, .85); rotate: 4deg; }

/* KÜNI springt: die Reise nach oben als Papierstück neben dem Spiel */
.doodle-jump { background: none; border: 0; box-shadow: none; }
.dj-story.stueck { padding: clamp(22px, 5vw, 32px); }
.dj-record strong { font-weight: 600; }

/* Abschluss */
.spielende .knoepfe { margin-top: 4px; }
.fuss { background: var(--kohle-tief); color: var(--dunkel-leise); padding: 30px 0 110px; margin: 0; border: 0; }
.dj-world { color: var(--hell); }
/* Am Handy zuerst das Spiel, darunter die Reise: wer herkommt, will spielen */
@media (max-width: 900px) {
  .dj-layout > .dj-console { order: -1; }
  .dj-layout > .dj-story { margin-top: 44px; max-width: none; }
}
