/* Handy-Ansicht: einhändig bedienbar, roter Balken mit Logo oben */
body.spieler { display: flex; flex-direction: column; min-height: 100%; min-height: 100dvh; }
.kopf { flex: none; position: sticky; top: 0; z-index: 10; height: 52px; background: var(--dlrg-rot); color: var(--dlrg-gelb);
        display: flex; align-items: center; gap: 10px; padding: 0 8px 0 14px; padding-top: env(safe-area-inset-top); }
.kopf img { height: 30px; width: auto; max-width: 58%; object-fit: contain; display: block; }
.kopf .punkte { margin-left: auto; font-weight: 800; font-size: 17px; white-space: nowrap; }
.kopf .thema { border: 1px solid rgba(255,237,0,.5); background: none; color: var(--dlrg-gelb); border-radius: 6px;
               font: 700 12px var(--font); padding: 6px 8px; }
#app { flex: 1; display: flex; flex-direction: column; }

h1.seite { font-size: 22px; margin: 0; padding: 20px 16px 4px; }
.mitte { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
         text-align: center; padding: 24px 16px; gap: 12px; }
.mitte p { margin: 0; font-size: 17px; }
.mitte .gross, .gross { font-size: 24px; font-weight: 800; }
.mitte .riesig { font-size: 56px; font-weight: 900; line-height: 1.05; }

/* Beitreten */
.beitreten { padding: 16px; display: flex; flex-direction: column; gap: 12px; max-width: 480px; width: 100%; margin: 0 auto; }
.beitreten label { font-weight: 700; font-size: 17px; }
.beitreten input { font: 400 20px var(--font); padding: 14px; border: 1px solid var(--line); border-radius: var(--radius);
                   width: 100%; background: var(--flaeche); color: var(--ink); }
.beitreten input:focus { outline: none; border-color: var(--fokus); }
.beitreten .knopf { font-size: 20px; padding: 15px; }
.beitreten p { margin: 0; }

/* Frage */
.frage-kopf { padding: 14px 16px 10px; }
.frage-kopf .nr { color: var(--mute); font-size: 14px; font-weight: 700; }
.frage-kopf .text { font-size: 19px; font-weight: 700; margin: 6px 0 0; line-height: 1.3; }
.zeitleiste { height: 4px; background: var(--line); }
.zeitleiste div { height: 100%; background: var(--dlrg-rot); width: 100%; transform-origin: left; }
.antworten { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px calc(16px + env(safe-area-inset-bottom)); }
.antworten .zeile { min-height: 80px; font-size: 18px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.antworten .zeile:active { border-color: var(--ink); background: var(--flaeche-2); }

/* Rückmeldung */
.zeichen { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
           font-size: 52px; font-weight: 900; background: var(--flaeche-2); color: var(--ink); }
.zeichen.richtig { background: var(--richtig-bg); color: var(--richtig); }
.zeichen.falsch { background: var(--falsch-bg); color: var(--falsch); }
.ergebnis-titel.richtig { color: var(--richtig); }
.ergebnis-titel.falsch { color: var(--falsch); }

.platz { background: var(--flaeche); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 32px; }
.merksatz { margin-top: 12px; background: var(--flaeche); border: 1px solid var(--line); border-radius: var(--radius);
            padding: 12px 14px; font-size: 16px; line-height: 1.4; text-align: left; max-width: 480px; }
.merksatz-titel { display: block; font-size: 12px; font-weight: 800; color: var(--mute); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.antworten .zeile.gewaehlt { border: 2px solid var(--ink); background: var(--flaeche-2); }
.antworten .zeile.gewaehlt .buchstabe { background: var(--ink); color: var(--bg); }
.hinweis-klein { margin: 0; color: var(--mute); font-size: 15px; font-weight: 700; }
.absenden { font-size: 20px; padding: 16px; width: 100%; }
.knopfreihe { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.knopfreihe .knopf { font-size: 18px; padding: 14px 16px; }
.texteingabe { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.feld-zeile { display: flex; gap: 10px; align-items: center; }
.feld-zeile input { flex: 1; min-width: 0; font: 700 26px var(--font); padding: 14px; border: 1px solid var(--line);
                    border-radius: var(--radius); background: var(--flaeche); color: var(--ink); }
.feld-zeile input:focus { outline: none; border-color: var(--fokus); }
.einheit { font-size: 20px; font-weight: 700; color: var(--mute); }
.handybild { display: block; margin-top: 10px; max-width: 100%; max-height: 26vh; object-fit: contain; border-radius: 8px; background: #fff; }
.handybild.gross { max-height: 70vh; }

/* Ohne Beamer: Auflösung, Zwischenstand und Ende am Handy */
.frage-kopf .sek { float: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.ergebnis { display: flex; gap: 16px; align-items: center; padding: 18px 16px 6px; }
.ergebnis p { margin: 0; }
.ergebnis .gross { font-size: 24px; }
.zeichen.klein { width: 64px; height: 64px; font-size: 34px; flex: none; }
.loesung-bereich { padding: 8px 12px 24px; display: flex; flex-direction: column; gap: 10px; }
.loesung-bereich .frage-text { margin: 4px 4px 0; font-weight: 700; font-size: 17px; line-height: 1.3; }
.loesung-bereich .liste { display: flex; flex-direction: column; gap: 8px; }
.loesung-bereich .zeile { font-size: 16px; padding: 10px 12px; gap: 10px; }
.loesung-bereich .merksatz { margin-top: 2px; max-width: none; }
.loesung-bereich .klein { font-size: 14px; margin: 0 4px; }
.loesung-bereich .schaetzung { display: flex; flex-direction: column; gap: 10px; }
.loesung-bereich .loesung-gross { font-size: 40px; font-weight: 900; }
.loesung-bereich .loesung-gross .leise { font-size: 18px; }
.loesung-bereich .achse { position: relative; height: 110px; border-bottom: 3px solid var(--line); margin: 0 10px 26px; }
.loesung-bereich .achse .band { position: absolute; bottom: 0; top: 0; background: var(--richtig-bg); border-radius: 6px 6px 0 0; }
.loesung-bereich .achse .ziel { position: absolute; bottom: 0; top: 0; width: 3px; margin-left: -1.5px; background: var(--richtig); }
.loesung-bereich .punkt-s { position: absolute; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--mute); }
.loesung-bereich .punkt-s.drin { background: var(--richtig); }
.loesung-bereich .achse-min, .loesung-bereich .achse-max { position: absolute; bottom: -24px; color: var(--mute); font-size: 13px; }
.loesung-bereich .achse-min { left: 0; } .loesung-bereich .achse-max { right: 0; }
.loesung-bereich .schaetzung > p { margin: 0; font-size: 15px; }
.loesung-bereich .wolke { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; font-size: 13px; padding: 8px 0; }
.loesung-bereich .wort { color: var(--mute); font-weight: 700; line-height: 1.1; }
.loesung-bereich .wort.top { color: var(--ink); font-weight: 900; }
.loesung-bereich .wort sup { font-size: .5em; margin-left: 2px; }

.mitte.oben { justify-content: flex-start; padding-top: 28px; }
.top { width: 100%; max-width: 420px; text-align: left; margin-top: 8px; }
.top-titel { margin: 0 0 6px; color: var(--mute); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.top ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.top li { display: grid; grid-template-columns: 2.4em 1fr auto; gap: 8px; align-items: center; background: var(--flaeche);
          border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font-size: 16px; font-weight: 700; }
.top li.ich { border: 2px solid var(--ink); }
.top .rang { color: var(--mute); }
.top .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .pkt { font-variant-numeric: tabular-nums; }
.loesung-bereich .handybild { max-height: 18vh; margin-top: 0; }
