:root {
  --accent: #d62e1e;
  --bg: #1c1c1e;
  --text: #f2f2f7;
  --muted: #aeaeb2;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text);
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
body { overflow: hidden; }
canvas#view { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; touch-action: none; }

.top { position: fixed; top: 0; left: 0; right: 0; padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0)); text-align: center; pointer-events: none; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: #fff;
  background: var(--accent); border-radius: 999px; padding: 3px 10px; }
.title { margin-top: 6px; font-size: 17px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }

.loading { position: fixed; top: 50%; left: 0; right: 0; text-align: center; color: var(--muted);
  transform: translateY(-50%); pointer-events: none; }

.bottom { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.65)); }
.controls { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto 12px; }
.round { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; color: #fff;
  background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.time { flex: none; font-size: 13px; font-variant-numeric: tabular-nums; color: #fff; min-width: 76px; text-align: right; }
input[type=range] { flex: 1; accent-color: var(--accent); height: 28px; }

.actions { display: flex; gap: 10px; justify-content: center; max-width: 560px; margin: 0 auto; }
.primary, .secondary { flex: 1; max-width: 280px; display: inline-flex; align-items: center; justify-content: center;
  height: 50px; border-radius: 14px; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; }
.primary { background: var(--accent); color: #fff; }
.secondary { background: rgba(255,255,255,0.18); color: #fff; }
.secondary[hidden] { display: none; }

.message { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  max-width: 420px; margin: 0 auto; padding: 24px; text-align: center; line-height: 1.5; }
.message h1 { font-size: 22px; margin: 0 0 12px; }
.message p { color: var(--muted); margin: 0 0 10px; }
.message p.strong { color: var(--text); font-weight: 600; }
.message .primary { margin-top: 16px; width: 100%; }

.legal { text-align: center; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.55); }
.legal a { color: rgba(255,255,255,0.7); text-decoration: none; }
.message .legal { margin-top: 22px; }
.progress { max-width: 560px; height: 4px; margin: 0 auto 14px; border-radius: 2px; background: rgba(255,255,255,0.2); overflow: hidden; }
.progress > div { height: 100%; width: 0; background: var(--accent); }

/* nicht verfügbar */
.gone-bg { position: fixed; inset: 0; background: #2f3a24 url("/site/hero_tall.jpg") center 18% / cover no-repeat; }
@media (min-aspect-ratio: 4/3) { .gone-bg { background-image: url("/site/hero_wide.jpg"); background-position: 100% center; } }
.gone-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,22,0.55) 0%, rgba(20,20,22,0.82) 45%, rgba(20,20,22,0.96) 100%); }
body:has(.gone) { overflow: auto; }
.gone { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; max-width: 420px; margin: 0 auto;
  padding: calc(48px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gone-icon { width: 76px; height: 76px; border-radius: 17px; box-shadow: 0 12px 30px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08); }
.gone h1 { font-size: 28px; margin: 16px 0 22px; letter-spacing: -0.01em; }
.gone-card { width: 100%; background: rgba(31,31,34,0.82); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  padding: 22px 20px 20px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.gone-symbol { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: rgba(214,46,30,0.16);
  color: #ff6a52; display: flex; align-items: center; justify-content: center; }
.gone-symbol svg { width: 24px; height: 24px; }
.gone-title { font-size: 18px; font-weight: 650; margin: 0 0 6px; color: var(--text); }
.gone-text { font-size: 15px; line-height: 1.5; margin: 0; color: var(--muted); }
.gone-actions { width: 100%; margin-top: 18px; }
.gone-actions .primary { box-shadow: 0 10px 26px rgba(214,46,30,0.4); }
.gone-langs { margin-top: 18px; font-size: 13px; }
.gone-langs a { color: var(--muted); text-decoration: none; margin: 0 7px; }
.gone-langs a.on { color: var(--text); font-weight: 600; }
.gone .legal { margin-top: 14px; }
.primary svg, .secondary svg { width: 20px; height: 20px; flex: none; margin-right: 8px; }
.primary span, .secondary span { white-space: nowrap; }
.primary, .secondary { padding: 0 14px; }
.top .home { position: absolute; left: calc(14px + env(safe-area-inset-left)); top: calc(12px + env(safe-area-inset-top));
  pointer-events: auto; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.top .home img { display: block; width: 40px; height: 40px; border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.12); }
.top .home span { display: none; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; text-shadow: 0 1px 4px rgba(0,0,0,0.7); }
@media (min-width: 760px) { .top .home span { display: inline; } }
