/* ============================================================================
   Kalte Spur – das komplette Aussehen (Menü, Anzeige im Spiel, Fenster, Trailer)

   Eigenes Gesicht, bewusst anders als „Der Ausweg“ (dunkel, gold, abgerundet):
   Hier sieht alles nach Polizeiakte aus – Aktendeckel aus Karton, Schreibmaschinenschrift,
   gelb-schwarzes Absperrband, rote Stempel, kantige Formen.
   Keine fremden Schriften (kein CDN), nur Schriften, die auf den Geräten schon da sind.
   ============================================================================ */

:root {
  --nacht: #0d1620;      /* Hintergrund: dunkles Polizeiblau */
  --stahl: #1c2b3a;
  --karton: #e6dcc3;     /* Aktendeckel */
  --papier: #f5f1e6;
  --tinte: #1b1f24;
  --blei: #5d5a52;       /* grauer Text auf Papier */
  --band: #f5c400;       /* Absperrband-Gelb */
  --stempel: #b3201c;
  --schmal: "DIN Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Impact, sans-serif;
  --maschine: "American Typewriter", "Courier New", Courier, monospace;
  --streifen: repeating-linear-gradient(-45deg, var(--band) 0 14px, #14110a 14px 28px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%; overflow: hidden; background: var(--nacht); color: #e9edf1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; overscroll-behavior: none;
}
#buehne { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
button { font: inherit; color: inherit; cursor: pointer; }
#laden[hidden], #menue[hidden], #hud[hidden], #overlay[hidden], #pause[hidden], #stick[hidden], #trailer[hidden] { display: none; }

/* ---------- Knöpfe: kantig, gelb, Großbuchstaben ---------- */
.knopf {
  display: inline-block; background: var(--band); color: #14110a; border: 0; border-radius: 0;
  padding: 11px 20px 9px; margin: 0 8px 8px 0; font-family: var(--schmal); font-size: 20px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none; box-shadow: 3px 3px 0 rgba(0,0,0,.45);
}
.knopf.zweit { background: transparent; color: inherit; box-shadow: none; outline: 2px solid currentColor; outline-offset: -2px; }
.knopf:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(0,0,0,.45); }
.knopf:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Startseite ---------- */
#menue { position: fixed; inset: 0; z-index: 30; overflow-y: auto; scroll-behavior: smooth; background: var(--nacht); padding: 0 0 40px; }
.menue-innen { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.held { position: relative; min-height: 66vh; display: flex; align-items: center; overflow: hidden; border-bottom: 18px solid transparent; border-image: var(--streifen) 18; }
.held-bild { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(.55) contrast(1.1) brightness(.75); }
.held::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,22,32,.96) 0%, rgba(13,22,32,.8) 42%, rgba(13,22,32,.15) 100%); }
.held-text { position: relative; z-index: 1; padding-top: 8vh; padding-bottom: 6vh; }
.kicker { display: inline-block; font-family: var(--maschine); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #14110a; background: var(--band); padding: 4px 10px; margin: 0 0 18px; }
#menue h1 { font-family: var(--schmal); font-size: clamp(72px, 17vw, 168px); line-height: .86; margin: 0; letter-spacing: .01em; font-weight: 700; color: #fff; text-transform: uppercase; }
#menue h1 span { display: block; color: var(--band); }
.unterzeile { font-family: var(--maschine); color: #c6d0da; font-size: 17px; line-height: 1.5; margin: 20px 0 26px; max-width: 30em; }

.abschnitt { margin: 54px 0 0; }
.ueber { font-family: var(--schmal); font-size: 34px; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin: 0 0 18px; font-weight: 700; display: flex; align-items: center; gap: 14px; }
.ueber::after { content: ""; flex: 1; height: 10px; background: var(--streifen); opacity: .9; }

/* "So funktioniert's": vier Karteikarten */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.schritt { background: var(--papier); color: var(--tinte); padding: 16px 16px 4px; border-top: 6px solid var(--stahl); box-shadow: 4px 4px 0 rgba(0,0,0,.4); font-family: var(--maschine); }
.schritt > b { font-family: var(--schmal); font-size: 44px; line-height: 1; color: var(--stempel); }
.schritt h3 { margin: 2px 0 6px; font-family: var(--schmal); font-size: 26px; text-transform: uppercase; letter-spacing: .04em; }
.schritt p { margin: 0 0 14px; line-height: 1.5; font-size: 14px; color: #3a3d42; }

/* Die Fälle: Aktendeckel mit angeheftetem Foto */
.rang { font-family: var(--maschine); color: var(--band); margin: 0 0 22px; font-size: 15px; }
#fallliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 30px 22px; padding-top: 14px; }
.weltkarte {
  position: relative; display: flex; flex-direction: column; background: var(--karton); color: var(--tinte);
  padding: 16px 16px 12px; border-radius: 0 6px 6px 6px; box-shadow: 5px 6px 0 rgba(0,0,0,.45);
}
/* Reiter des Aktendeckels */
.weltkarte::before { content: "Ermittlungsakte"; position: absolute; left: 0; top: -22px; height: 22px; padding: 4px 14px 0; background: var(--karton); border-radius: 6px 6px 0 0; font-family: var(--maschine); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blei); }
.weltkarte .bild { background: #fff; padding: 6px 6px 0; margin: 0 0 12px; transform: rotate(-1.2deg); box-shadow: 2px 3px 6px rgba(0,0,0,.35); aspect-ratio: 16 / 10; position: relative; }
.weltkarte:nth-child(even) .bild { transform: rotate(1deg); }
.weltkarte .bild img { width: 100%; height: calc(100% - 6px); object-fit: cover; display: block; filter: saturate(.8) contrast(1.05); }
/* Büroklammer */
.weltkarte .bild::after { content: ""; position: absolute; top: -12px; right: 26px; width: 14px; height: 38px; border: 3px solid #8a939c; border-radius: 8px; border-bottom-color: transparent; }
.weltkarte .nr { font-family: var(--maschine); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--stempel); }
.weltkarte h2 { font-family: var(--schmal); font-size: 34px; line-height: 1; text-transform: uppercase; margin: 6px 0 4px; letter-spacing: .02em; }
.weltkarte p { font-family: var(--maschine); margin: 0 0 12px; line-height: 1.5; font-size: 14px; color: #33363b; flex: 1; }
.weltkarte p.grau { flex: none; color: var(--blei); font-size: 13px; }
.weltkarte .knopf { align-self: flex-start; font-size: 18px; padding: 9px 16px 7px; }
.weltkarte .knopf.zweit { color: var(--tinte); }
.sterne-klein { color: var(--stempel); letter-spacing: .08em; }

.einstellung { display: flex; gap: 12px; align-items: flex-start; font-family: var(--maschine); font-size: 14px; color: #c6d0da; line-height: 1.5; }
.einstellung input { width: 20px; height: 20px; accent-color: var(--band); flex: none; margin-top: 2px; }
.klein { font-family: var(--maschine); color: #7f8c99; font-size: 12px; line-height: 1.7; margin-top: 28px; }

#laden { position: fixed; inset: 0; z-index: 40; background: var(--nacht); display: flex; align-items: center; justify-content: center; }
.lade-text { font-family: var(--schmal); font-size: 28px; letter-spacing: .12em; text-transform: uppercase; color: #14110a; background: var(--streifen); padding: 14px; }
.lade-text::first-line { background: var(--band); }
.lade-text { background: var(--band); border: 10px solid transparent; border-image: var(--streifen) 10; }

/* ---------- Anzeige im Spiel ---------- */
#hud { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
#hud button, #inventar { pointer-events: auto; }

/* Uhr oben links, wie ein Asservaten-Etikett */
#uhr {
  position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px;
  font-family: var(--maschine); font-variant-numeric: tabular-nums; font-size: 24px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px 4px 16px; background: rgba(10,14,19,.86); color: #fff; border-left: 8px solid var(--band); transition: color .3s, border-color .3s;
}
#uhr.knapp { color: #ff8a78; border-left-color: var(--stempel); }
#uhr.strafe { color: #ff5a4a; border-left-color: #ff5a4a; }
#ortinfo { position: absolute; top: calc(max(12px, env(safe-area-inset-top)) + 44px); left: 12px; font-family: var(--maschine); font-size: 12px; letter-spacing: .04em; color: #14110a; background: var(--karton); padding: 3px 9px 2px; }

#knoepfe { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; display: flex; gap: 6px; }
#knoepfe button { width: 44px; height: 44px; border-radius: 0; font-size: 20px; background: rgba(10,14,19,.86); border: 0; border-bottom: 3px solid var(--band); }

/* Fadenkreuz: ein Sucherrahmen statt eines Punktes */
#fadenkreuz { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid rgba(255,255,255,.6); border-radius: 0; background: none; transition: transform .12s, border-color .12s; }
#fadenkreuz.aktiv { transform: scale(1.7) rotate(45deg); border-color: var(--band); }
#zieltext { position: absolute; left: 50%; top: calc(50% + 28px); transform: translateX(-50%); font-family: var(--schmal); font-size: 19px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px 2px; background: var(--band); color: #14110a; white-space: nowrap; opacity: 0; transition: opacity .12s; }
#zieltext.an { opacity: 1; }

/* Meldungen: ein Streifen Papier aus dem Notizblock */
#meldung { position: absolute; left: 50%; bottom: 122px; transform: translateX(-50%) rotate(-.4deg); width: min(660px, 92vw); font-family: var(--maschine); font-size: 15px; line-height: 1.45; padding: 11px 16px; background: var(--papier); color: var(--tinte); border-left: 6px solid var(--stempel); box-shadow: 3px 4px 0 rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; }
#meldung.an { opacity: 1; }

/* Werkzeugkoffer */
#inventar { position: absolute; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 4px; flex-wrap: nowrap; width: max-content; max-width: 100vw; padding: 5px; background: rgba(10,14,19,.86); border-top: 4px solid var(--band); }
.platz { position: relative; min-width: 72px; padding: 7px 6px 4px; text-align: center; background: var(--stahl); cursor: pointer; border-bottom: 3px solid transparent; }
.platz .bild { font-size: 25px; line-height: 1.1; }
.platz .name { font-family: var(--schmal); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: #b9c6d2; margin-top: 2px; }
.platz .taste { position: absolute; top: 2px; left: 5px; font-family: var(--maschine); font-size: 10px; color: #7f8c99; }
.platz.gewaehlt { background: var(--band); border-bottom-color: #14110a; }
.platz.gewaehlt .name, .platz.gewaehlt .taste { color: #14110a; }

#stick { position: absolute; left: 22px; bottom: 124px; width: 110px; height: 110px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.3); background: rgba(10,14,19,.25); }
#stickknopf { position: absolute; left: 33px; top: 33px; width: 40px; height: 40px; border-radius: 50%; background: rgba(245,196,0,.55); }

/* ---------- Fenster: ein aufgeschlagener Aktendeckel ---------- */
#overlay { position: fixed; inset: 0; z-index: 20; background: rgba(8,13,19,.82); display: flex; align-items: center; justify-content: center; padding: 34px 12px 12px; }
#overlayKasten { position: relative; width: min(700px, 100%); max-height: 90vh; overflow-y: auto; background: var(--karton); color: var(--tinte); padding: 22px 20px 18px; border-radius: 0 6px 6px 6px; box-shadow: 8px 10px 0 rgba(0,0,0,.5); font-family: var(--maschine); -webkit-user-select: text; user-select: text; }
#overlayKasten.wackeln { animation: wackeln .35s; }
@keyframes wackeln { 20% { transform: translateX(-9px);} 40% { transform: translateX(9px);} 60% { transform: translateX(-6px);} 80% { transform: translateX(6px);} }
#overlayZu { margin-top: 16px; background: var(--tinte); color: #fff; border: 0; padding: 10px 18px 8px; font-family: var(--schmal); font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }
#overlayInhalt h2 { margin: 0 0 12px; font-family: var(--schmal); font-size: 34px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; border-bottom: 3px solid var(--tinte); padding-bottom: 6px; }
#overlayInhalt h3 { margin: 20px 0 8px; font-family: var(--schmal); font-size: 21px; color: var(--stempel); text-transform: uppercase; letter-spacing: .08em; }
#overlayInhalt p { line-height: 1.55; margin: 0 0 12px; font-size: 15px; }
.grau { color: var(--blei); font-size: 13px; }

.dok { padding: 18px 20px; line-height: 1.6; font-size: 15px; box-shadow: 2px 3px 6px rgba(0,0,0,.3); }
.dok.papier { background: #fffdf6; color: #23211c; font-family: "Courier New", Courier, monospace; }
.dok h3 { color: #23211c !important; letter-spacing: .04em !important; margin-top: 0 !important; }

/* Auswahl-Listen: Karteikarten */
.liste button { display: block; width: 100%; text-align: left; padding: 11px 13px 9px; margin-bottom: 7px; background: var(--papier); color: var(--tinte); border: 0; border-left: 6px solid var(--stahl); font-family: var(--maschine); font-size: 15px; box-shadow: 2px 2px 0 rgba(0,0,0,.2); }
.liste button:hover { border-left-color: var(--band); }
.liste button.gewaehlt { background: var(--band); border-left-color: #14110a; font-weight: 700; }
.liste button.fertig { opacity: .7; border-left-color: #4b7d4f; }
/* Hinweise: gelber Klebezettel */
.tipp { padding: 11px 14px; background: #f7e27a; color: #2a2417; margin: 0 0 12px; line-height: 1.5; font-size: 14px; box-shadow: 2px 3px 0 rgba(0,0,0,.2); transform: rotate(-.3deg); }

/* Labor */
.vergleich-spur { text-align: center; margin: 10px 0 16px; }
.vergleich-spur canvas { border: 4px solid var(--stempel); max-width: 60vw; height: auto; background: #fff; }
.vergleich-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 14px; }
.vergleich-karte { background: #fff; border: 0; border-bottom: 5px solid var(--stahl); padding: 7px; color: var(--tinte); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--maschine); font-size: 12px; line-height: 1.3; box-shadow: 2px 2px 0 rgba(0,0,0,.25); }
.vergleich-karte:hover { border-bottom-color: var(--band); }
.vergleich-karte canvas { width: 100%; height: auto; }
.tox-tests { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 12px 0; }
.tox-test { background: var(--papier); border: 0; border-left: 6px solid var(--stahl); padding: 11px; color: var(--tinte); cursor: pointer; display: flex; align-items: center; gap: 10px; text-align: left; font-family: var(--maschine); font-size: 13px; }
.feld { display: inline-block; width: 22px; height: 22px; border: 2px solid var(--tinte); background: #cfc8b4; vertical-align: middle; flex: none; }
.tox-tabelle { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0 12px; background: var(--papier); }
.tox-tabelle th, .tox-tabelle td { border: 1px solid #b9b09a; padding: 5px 6px; text-align: left; }
.tox-tabelle th { background: var(--stahl); color: #fff; font-family: var(--schmal); font-size: 16px; letter-spacing: .06em; }
.tox-tabelle .knopf { padding: 5px 9px 3px; font-size: 14px; margin: 0; box-shadow: none; outline-color: var(--tinte); color: var(--tinte); }
.tox-tabelle .feld { width: 13px; height: 13px; border-width: 1px; }

/* Personen: Karteikarte mit Foto */
.person { display: flex; gap: 14px; align-items: flex-start; background: var(--papier); color: var(--tinte); border: 0; border-top: 5px solid var(--stahl); padding: 12px; margin-bottom: 10px; text-align: left; width: 100%; font-family: var(--maschine); font-size: 14px; line-height: 1.45; box-shadow: 2px 3px 0 rgba(0,0,0,.2); }
button.person.wahl { cursor: pointer; }
button.person.wahl:hover { border-top-color: var(--band); }
.person h2 { border: 0 !important; padding: 0 !important; margin: 0 0 4px !important; }
.person p { margin: 0 0 6px !important; }
.foto { flex: none; width: 96px; height: 120px; background: #cfc8b4; border: 4px solid #fff; box-shadow: 1px 2px 4px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #8a8372; font-family: var(--schmal); font-size: 36px; transform: rotate(-1.5deg); }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); }

.protokoll { border-left: 3px solid var(--blei); padding: 2px 0 2px 12px; margin: 8px 0; font-size: 14px; line-height: 1.5; }
.protokoll p { margin: 0 0 10px !important; font-size: 14px !important; }
.protokoll .frage { color: var(--blei); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.protokoll .gekippt { background: #f7e27a; padding: 8px 10px; }
.protokoll .gekippt .frage { color: var(--stempel); font-weight: 700; }

.befundliste { margin: 0 0 8px; padding-left: 20px; line-height: 1.5; font-size: 14px; }
.befundliste li { margin-bottom: 6px; }
.befundliste li.unsauber { color: #8a5a00; }
/* Urteil: roter Stempel */
.sterne { display: inline-block; font-size: 30px; color: var(--stempel); letter-spacing: .12em; margin: 2px 0 14px; padding: 4px 12px 2px; border: 4px double var(--stempel); transform: rotate(-3deg); }

#pause { position: fixed; inset: 0; z-index: 25; background: rgba(8,13,19,.82); display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer; }
.pause-innen h2 { font-family: var(--schmal); font-size: 64px; margin: 0 0 6px; letter-spacing: .08em; text-transform: uppercase; color: #14110a; background: var(--band); padding: 6px 26px 0; }
.pause-innen p { font-family: var(--maschine); color: #c6d0da; margin: 14px 0 22px; }
#btnMenue { background: transparent; border: 0; outline: 2px solid #fff; padding: 10px 18px 8px; font-family: var(--schmal); font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Trailer ---------- */
#trailer { position: fixed; inset: 0; z-index: 60; background: #000; overflow: hidden; }
.trailer-bild { position: absolute; inset: -4%; background-size: cover; background-position: center; filter: saturate(.75) contrast(1.1); }
.trailer-bild.zoom { animation: trailerzoom 8s linear forwards; }
@keyframes trailerzoom { from { transform: scale(1); opacity: 0; } 8% { opacity: 1; } to { transform: scale(1.12) translate(-1.5%, -1%); opacity: 1; } }
#trailer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.92) 100%); pointer-events: none; }
.trailer-text { position: absolute; left: 7vw; right: 7vw; bottom: 13vh; z-index: 2; color: #f5f1e6; font-family: var(--maschine); font-size: clamp(17px, 2.3vw, 30px); line-height: 1.45; text-shadow: 0 2px 14px #000; border-left: 6px solid var(--band); padding-left: 16px; opacity: 0; transform: translateY(12px); transition: opacity 1.2s .6s, transform 1.2s .6s; }
.trailer-text.an { opacity: 1; transform: none; }
.trailer-titel { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-family: var(--schmal); font-size: clamp(54px, 12vw, 150px); line-height: .9; font-weight: 700; text-transform: uppercase; text-align: center; padding: 0 6vw; opacity: 0; transition: opacity .9s; }
.trailer-titel small { font-family: var(--maschine); font-size: .16em; letter-spacing: .3em; color: #14110a; background: var(--band); padding: 5px 14px 3px; margin-bottom: 18px; }
.trailer-titel.an { opacity: 1; }
#trailerWeiter { position: absolute; right: 14px; top: max(14px, env(safe-area-inset-top)); z-index: 3; color: #fff; }

/* ---------- Handy ---------- */
@media (max-width: 640px) {
  .held { min-height: 58vh; }
  .abschnitt { margin-top: 40px; }
  .ueber { font-size: 28px; }
  #uhr { font-size: 20px; }
  #inventar { gap: 2px; padding: 3px; }
  .platz { min-width: 0; width: 11.6vw; padding: 5px 1px 3px; }
  .platz .bild { font-size: 19px; }
  .platz .name { font-size: 9.5px; letter-spacing: 0; white-space: nowrap; overflow: hidden; }
  .platz .taste { display: none; }
  #meldung { font-size: 14px; bottom: 92px; }
  #stick { bottom: 104px; }
  #overlayInhalt h2 { font-size: 28px; }
  .foto { width: 76px; height: 96px; }
}

/* ---------- Konto: Leiste im Menü und Fenster zum Anmelden/Registrieren (js/konto.js) ---------- */
[hidden] { display: none !important; }   /* sonst hebt display:flex das Verstecken wieder auf */
.kontoleiste { margin: 22px 0 0; padding: 14px 16px; background: #15212e; border-left: 6px solid var(--band); display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; }
.kontoleiste p { margin: 0; font-family: var(--maschine); font-size: 14px; line-height: 1.5; color: #c6d0da; flex: 1 1 260px; }
.kontoleiste b { color: var(--band); }
.konto-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.konto-knoepfe .knopf { font-size: 17px; padding: 9px 16px 7px; }
.textknopf { background: none; border: 0; padding: 6px 4px; font-family: var(--maschine); font-size: 13px; color: inherit; opacity: .75; text-decoration: underline; }
.klein a { color: inherit; }
#kontoFenster { position: fixed; inset: 0; z-index: 40; background: rgba(8,13,19,.86); display: flex; align-items: flex-start; justify-content: center; padding: 28px 12px; overflow-y: auto; }
.konto-kasten { width: min(460px, 100%); background: var(--karton); color: var(--tinte); padding: 22px 20px 14px; border-radius: 0 6px 6px 6px; box-shadow: 8px 10px 0 rgba(0,0,0,.4); }
.konto-kasten h2 { font-family: var(--schmal); text-transform: uppercase; letter-spacing: .04em; font-size: 30px; margin: 0 0 12px; }
.konto-kasten form { display: flex; flex-direction: column; gap: 14px; }
.konto-kasten label { display: flex; flex-direction: column; gap: 5px; font-family: var(--maschine); font-size: 13px; }
/* 16px Schrift: sonst zoomt das iPhone beim Antippen in das Feld hinein.
   user-select: der Rest der Seite verbietet das Markieren – in Feldern muss man aber tippen können */
.konto-kasten input[type=text], .konto-kasten input[type=email], .konto-kasten input[type=password] { font: 16px/1.2 "Courier New", Courier, monospace; padding: 11px 10px; border: 2px solid var(--tinte); border-radius: 0; background: #fffdf6; color: #23211c; width: 100%; min-width: 0; -webkit-user-select: text; user-select: text; }
.pwfeld { display: flex; gap: 0; }
.pwfeld input { flex: 1; border-right: 0 !important; }
.pwfeld .auge { flex: none; border: 2px solid var(--tinte); background: var(--band); color: #14110a; font-family: var(--maschine); font-size: 13px; padding: 0 10px; white-space: nowrap; }
.konto-kasten label.haken { flex-direction: row; gap: 10px; align-items: flex-start; line-height: 1.5; }
.konto-kasten label.haken input { width: 22px; height: 22px; flex: none; accent-color: var(--stempel); }
.konto-kasten a { color: var(--stempel); }
.konto-info { font-family: var(--maschine); font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
form .konto-info { margin: -6px 0 0; opacity: .8; }
.konto-fehler { margin: 0; padding: 9px 12px; background: var(--stempel); color: #fff; font-family: var(--maschine); font-size: 14px; line-height: 1.4; }
.konto-links { font-family: var(--maschine); font-size: 13px; line-height: 1.9; margin: 14px 0 0; }
.konto-kasten .knopf { align-self: flex-start; }
#kontoZu { display: block; margin: 10px 0 0 auto; }

/* ---------- Bestenliste: wie eine getippte Liste auf Papier ---------- */
#blWahl { font: 16px/1.2 "Courier New", Courier, monospace; padding: 10px; border: 2px solid var(--band); border-radius: 0; background: #15212e; color: #e9edf1; width: min(420px, 100%); margin: 0 0 14px; }
#blListe { font-family: var(--maschine); font-size: 14px; color: #c6d0da; overflow-x: auto; }
.bestenliste { width: 100%; border-collapse: collapse; background: #fffdf6; color: #23211c; font-family: "Courier New", Courier, monospace; font-size: 15px; box-shadow: 4px 5px 0 rgba(0,0,0,.35); }
.bestenliste th { text-align: left; padding: 9px 10px; background: var(--tinte); color: #fffdf6; font-family: var(--schmal); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; font-weight: 700; }
.bestenliste td { padding: 8px 10px; border-bottom: 1px dashed #b9ad8f; white-space: nowrap; }
.bestenliste td:first-child { width: 2.5em; color: var(--stempel); font-weight: 700; }
.bestenliste tr.ich td { background: #f7e27a; font-weight: 700; }


/* Spiel-Logo über der Überschrift im Startbereich (21.11.2026).
   Schatten, damit es sich vom Hintergrundbild abhebt. */
.held-logo{display:block;width:84px;height:84px;margin:0 0 14px;border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.55)}
@media (max-width:600px){.held-logo{width:64px;height:64px;border-radius:15px}}
