/* AssistUK Ride — nur was über kern/css/spiel.css hinausgeht */
html, body { background: radial-gradient(ellipse at 50% 25%, #2f5a3a 0%, var(--grund) 72%); }
#buehne { position: fixed; inset: 0; }
#ritt { position: fixed; inset: 0; z-index: 1; }
#ritt[hidden] { display: none; }
#spiel { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
#spiel[hidden] { display: none; }
#spiel .pause-knopf { position: absolute; left: max(12px, env(safe-area-inset-left)); top: max(12px, env(safe-area-inset-top)); pointer-events: auto; }
.blickpunkt-ritt { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; pointer-events: none !important;
  border: 4px solid #ffd23f; box-shadow: 0 0 0 3px #000; }
.blickpunkt-ritt[hidden] { display: none; }
/* Startseite: Bild der Landschaft schimmert durch (ruhig, kein Wandern) */
.bildschirm.ride-start { background: linear-gradient(180deg, rgba(20, 40, 28, .25) 0%, rgba(20, 40, 28, .75) 70%), url("../assets/img/start.webp") center / cover no-repeat; }
body.bf-cvi .bildschirm.ride-start { background: #000; }
/* Tempo-Kachel im Level-Gitter */
.level-knopf.modus { flex-direction: column; gap: 4px; }
.level-knopf.modus .modus-text { font-size: clamp(15px, .6vw + .9vh, 22px); line-height: 1.1; text-align: center; }
.level-knopf.modus svg { width: 40px; height: 40px; }
.gross-sterne i { width: 64px; height: 64px; }
/* Fotomodus: Bild so groß wie möglich, ohne Scrollen */
.foto-dialog { max-width: min(96vw, 1200px); }
.foto-bild { display: block; max-width: 100%; max-height: calc(100dvh - 330px); max-height: calc(100vh - 330px); min-height: 0; margin: 0 auto 12px;
  border-radius: 16px; border: 3px solid rgba(255, 255, 255, .7); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); object-fit: contain; }
@supports (height: 100dvh) { .foto-bild { max-height: calc(100dvh - 330px); } }
@media (max-height: 500px) { .foto-bild { max-height: calc(100vh - 210px); } .foto-dialog .titel { display: none; } }
/* Handy hoch: Knöpfe stehen untereinander — Bild kleiner, damit „Zurück“ sichtbar bleibt */
@media (max-width: 560px) { .foto-bild { max-height: calc(100vh - 500px); max-height: calc(100dvh - 500px); } .foto-dialog .titel { display: none; } }
