/* ============================================================
   breuningerLAND Sindelfingen - HW26 Autoverlosung
   Digitales Gluecksrad v3 // Kiosk-Stele Portrait 1080 x 1920

   Typografie (lizenzierte Brand-Assets, Stand 20.08.2026):
     Headline / Rad-Segmente : Obviously Bold
     Text / UI               : Neue Haas Grotesk Text (55/65/75)
   ============================================================ */

/* ---------- Brand-Fonts ---------- */
@font-face {
  font-family: "Obviously";
  src: url("fonts/Obviously-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Neue Haas Grotesk Text";
  src: url("fonts/NeueHaasGroteskText-55Roman-Web.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Text";
  src: url("fonts/NeueHaasGroteskText-56Italic-Web.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Text";
  src: url("fonts/NeueHaasGroteskText-65Medium-Web.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Text";
  src: url("fonts/NeueHaasGroteskText-66MediumItalic-Web.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Text";
  src: url("fonts/NeueHaasGroteskText-75Bold-Web.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Text";
  src: url("fonts/NeueHaasGroteskText-76BoldItalic-Web.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --breuninger-red: #B90C2E;
  --breuninger-red-dark: #7A041C;
  --breuninger-red-deep: #4A0212;
  --campaign-orange: #F4501E;
  --campaign-orange-light: #FF7A3D;
  --rose-light: #E6C9CC;
  --rose-mid: #CF8B91;
  --skiing-white: #F4F5F6;
  --ink: #0B0B0D;
  --text-muted: rgba(244, 245, 246, 0.62);
  --font-display: "Obviously", "Neue Haas Grotesk Text", Helvetica, Arial, sans-serif;
  --font-text: "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: var(--font-text);
  color: var(--skiing-white);
}

body.kiosk-mode,
body.kiosk-mode * {
  cursor: none !important;
}

/* ============================================================
   Stage: feste Portrait-Buehne 1080x1920, per JS skaliert
   ============================================================ */
/* Kein Flexbox-Centering mehr: die Buehne wird per JS
   (scaleStage) rechnerisch zentriert. Auf der Kiosk-Stele
   stand die App mit Flex-Zentrierung klein in der oberen
   linken Ecke. Geaendert 2026-08-24. */
/* WICHTIG: Hier bewusst KEINE inset-Kurzschreibweise verwenden.
   `inset` gibt es erst ab Chromium 87 - die Kiosk-Stele laeuft auf
   Chromium 80-90. Auf den aelteren Versionen wurde die Deklaration
   ignoriert, der Viewport hatte dadurch keine Ausdehnung und das
   Display blieb komplett schwarz (2026-08-24).
   Gilt fuer die gesamte Datei: immer top/right/bottom/left einzeln. */
#stage-viewport {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Fallback, falls eine Engine die vier Kanten nicht auswertet */
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 1080px;
  height: 1920px;
  /* transform-origin 0 0 ist Voraussetzung dafuer, dass die in
     scaleStage() berechneten translate()-Offsets exakt passen. */
  transform-origin: 0 0;
  will-change: transform;
  overflow: hidden;
  background:
    radial-gradient(ellipse 76% 48% at 50% 46%, rgba(185, 12, 46, 0.32) 0%, rgba(0, 0, 0, 0) 72%),
    linear-gradient(178deg, #1A1216 0%, var(--ink) 54%, #050506 100%);
}

/* Skalierungs-Diagnose (Taste D), liegt ausserhalb der Buehne
   und ist daher NICHT mitskaliert -> auf jeder Displaygroesse
   lesbar. Angelegt 2026-08-24. */
.scale-debug {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.82);
  color: #6EF06E;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  line-height: 1.35;
  word-break: break-all;
  /* pre-wrap: der User-Agent steht in einer zweiten Zeile (\n) */
  white-space: pre-wrap;
}

.scale-debug.is-visible {
  display: block;
}

/* Notfall-Hinweis, falls die Buehne keine Groesse hat (statt eines
   schwarzen Displays ohne Erklaerung). Bewusst ohne inset/gap und
   ohne CSS-Variablen, damit die Meldung auch dann erscheint, wenn
   die Engine moderne Syntax nicht versteht. Angelegt 2026-08-24. */
.fatal-hint {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  display: none;
  padding: 24px 28px;
  background: #B90C2E;
  color: #FFFFFF;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.45;
}

.fatal-hint.is-visible {
  display: block;
}

.fatal-ua {
  display: block;
  margin-top: 10px;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  opacity: 0.85;
  word-break: break-all;
}

.stage-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 78px 50px 74px;
}

/* ============================================================
   Header: ausschliesslich Logo + Headline
   ============================================================ */
.kiosk-header {
  text-align: center;
}

.center-logo {
  display: block;
  width: 420px;
  height: auto;
  margin: 0 auto 30px;
  filter: brightness(0) invert(1);
}

.campaign-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 96px;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: none;
  background: linear-gradient(96deg, var(--skiing-white) 0%, var(--rose-light) 48%, var(--campaign-orange-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   Gluecksrad: maximal gross und exakt zentriert
   ============================================================ */
.wheel-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-wrapper {
  position: relative;
  width: 980px;
  height: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-glow {
  position: absolute;
  top: -70px;
  right: -70px;
  bottom: -70px;
  left: -70px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(244, 80, 30, 0.34) 0%, rgba(185, 12, 46, 0.16) 46%, rgba(0, 0, 0, 0) 72%);
  filter: blur(14px);
  pointer-events: none;
}

.wheel-ring {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 50%;
  border: 12px solid var(--skiing-white);
  box-shadow:
    0 0 0 8px rgba(185, 12, 46, 0.92),
    0 26px 70px rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.wheel-canvas {
  position: relative;
  z-index: 2;
  width: 940px;
  height: 940px;
  border-radius: 50%;
  display: block;
}

.wheel-hub {
  position: absolute;
  z-index: 4;
  /* box-sizing + padding: haelt den Schriftzug sicher innerhalb des
     Kreises. Ohne das Padding beruehrte "breuningerLAND" bei 27px
     exakt den Rand (die Kreissehne ist auf Texthoehe schmaler als
     der Durchmesser). Geaendert 2026-08-24. */
  box-sizing: border-box;
  width: 214px;
  height: 214px;
  padding: 0 26px;
  border-radius: 50%;
  background: linear-gradient(168deg, #FFFFFF 0%, var(--skiing-white) 62%, #DCDDE0 100%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), inset 0 -5px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-align: center;
}

.wheel-hub-logo {
  font-family: var(--font-text);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.wheel-hub-logo strong {
  font-weight: 700;
}

.wheel-hub-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--breuninger-red);
  margin-top: 5px;
  white-space: nowrap;
}

/* Zeiger fix auf 12 Uhr */
.wheel-pointer {
  position: absolute;
  z-index: 5;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wheel-pointer.tick {
  animation: pointer-tick 130ms ease-out;
}

@keyframes pointer-tick {
  0% { transform: translateX(-50%) rotate(0deg); }
  38% { transform: translateX(-50%) rotate(-8deg); }
  100% { transform: translateX(-50%) rotate(0deg); }
}

.pointer-cap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--breuninger-red);
  border: 5px solid var(--skiing-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.pointer-arrow {
  width: 0;
  height: 0;
  margin-top: -6px;
  border-left: 27px solid transparent;
  border-right: 27px solid transparent;
  border-top: 54px solid var(--skiing-white);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

/* ============================================================
   Tempo-Balken (ersetzt den entfallenen CTA-Button)
   ============================================================ */
.kiosk-footer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.speed-meter {
  width: 100%;
  max-width: 880px;
  text-align: center;
}

.speed-meter-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--skiing-white);
  margin-bottom: 26px;
  min-height: 44px;
  transition: color 200ms ease;
}

.speed-meter.is-spinning .speed-meter-label {
  color: var(--campaign-orange-light);
}

.speed-meter.is-braking .speed-meter-label {
  color: var(--rose-light);
}

.speed-track {
  position: relative;
  height: 74px;
  border-radius: 37px;
  border: 4px solid rgba(244, 245, 246, 0.9);
  background: linear-gradient(90deg,
    #1FA36B 0%,
    #6FBF3E 22%,
    #E0C312 48%,
    var(--campaign-orange) 74%,
    var(--breuninger-red) 100%);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.speed-scale {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  font-family: var(--font-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.speed-needle {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: 0;
  width: 20px;
  border-radius: 10px;
  background: var(--skiing-white);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.95), 0 0 46px rgba(255, 255, 255, 0.55);
  transform: translateX(-50%);
  will-change: left;
}

.speed-meter.is-locked .speed-needle {
  background: var(--ink);
  box-shadow: 0 0 0 5px var(--skiing-white), 0 0 30px rgba(0, 0, 0, 0.7);
}

.speed-meter.is-hidden-needle .speed-needle {
  opacity: 0;
  transition: opacity 240ms ease;
}

/* ============================================================
   Gewinn-Overlay
   ============================================================ */
.win-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 8, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.win-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.win-card {
  width: 860px;
  padding: 82px 70px 62px;
  border-radius: 44px;
  text-align: center;
  background: linear-gradient(168deg, #FFFFFF 0%, var(--skiing-white) 100%);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.7);
  transform: scale(0.92);
  transition: transform 320ms cubic-bezier(0.18, 0.92, 0.28, 1.2);
}

.win-overlay.is-active .win-card {
  transform: scale(1);
}

.win-card.is-grand-prize {
  background: linear-gradient(168deg, #FFF7E8 0%, #FFE7BD 100%);
  box-shadow: 0 34px 90px rgba(244, 80, 30, 0.42), 0 0 0 10px rgba(244, 80, 30, 0.28);
  animation: grand-pulse 1300ms ease-in-out infinite;
}

@keyframes grand-pulse {
  0%, 100% { box-shadow: 0 34px 90px rgba(244, 80, 30, 0.42), 0 0 0 10px rgba(244, 80, 30, 0.28); }
  50% { box-shadow: 0 34px 96px rgba(244, 80, 30, 0.6), 0 0 0 18px rgba(244, 80, 30, 0.16); }
}

.win-badge {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 999px;
  background: var(--breuninger-red);
  color: var(--skiing-white);
  font-family: var(--font-text);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 34px;
}

.win-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 76px;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--breuninger-red-deep);
  margin-bottom: 24px;
}

.win-description {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.34;
  color: rgba(11, 11, 13, 0.76);
}

.win-timer-bar {
  margin-top: 48px;
  height: 8px;
  border-radius: 4px;
  background: rgba(11, 11, 13, 0.12);
  overflow: hidden;
}

.win-timer-progress {
  height: 100%;
  background: var(--breuninger-red);
  transform-origin: left center;
  transform: scaleX(1);
}


/* ============================================================
   Hauptgewinn-Hinweis (Lostopf BYD Atto 2)
   ------------------------------------------------------------
   Ersetzt seit 2026-08-24 das frueher hier integrierte
   Teilnahme-Formular. Die Datenerfassung laeuft jetzt ueber die
   ausgelagerte, tokengesicherte Formularseite (public/form/,
   eigene Subdomain, iPad am Counter). Die Stele zeigt nur noch
   den Hinweis und laeuft danach in den Leerlauf zurueck.
   ============================================================ */
.hint-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 4, 6, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.hint-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.hint-card {
  width: 900px;
  padding: 62px 70px 58px;
  border-radius: 44px;
  background: linear-gradient(172deg, #FFFFFF 0%, var(--skiing-white) 100%);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.72);
  text-align: center;
}

.hint-visual {
  width: 100%;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 36px;
  background: #E8E9EB;
}

.hint-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hint-badge {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 999px;
  background: var(--campaign-orange);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hint-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 66px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--breuninger-red-deep);
  margin-bottom: 22px;
}

.hint-text {
  font-size: 32px;
  line-height: 1.36;
  color: rgba(11, 11, 13, 0.72);
  margin-bottom: 42px;
}

.hint-text strong {
  font-weight: 700;
  color: var(--breuninger-red);
}

/* ============================================================
   Admin-Panel (Backend-Steuerung)
   ============================================================ */
.admin-modal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 3, 5, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.admin-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.admin-panel {
  width: 940px;
  max-height: 1720px;
  overflow: auto;
  padding: 48px 52px;
  border-radius: 30px;
  background: #14141A;
  border: 2px solid rgba(244, 245, 246, 0.14);
  color: var(--skiing-white);
}

.admin-panel h3 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.admin-note {
  font-size: 21px;
  line-height: 1.44;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.admin-stat {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(244, 245, 246, 0.07);
  text-align: center;
}

.admin-stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--campaign-orange-light);
}

.admin-stat-label {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 21px;
}

.admin-table th,
.admin-table td {
  padding: 15px 12px;
  border-bottom: 1px solid rgba(244, 245, 246, 0.12);
  text-align: left;
}

.admin-table th {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-table .num {
  text-align: right;
}

/* ============================================================
   Wahrscheinlichkeits-Regler (Modus "Manuell", 2026-08-24)
   ------------------------------------------------------------
   Bewusst OHNE Flexbox-gap und OHNE inset: die Signage-Stele
   laeuft auf Chromium 80-90. Abstaende daher ueber margin.
   ============================================================ */
.admin-table .wprob {
  width: 300px;
}

.weight-cell {
  display: flex;
  align-items: center;
}

.weight-cell > * + * {
  margin-left: 10px;
}

/* Farbpunkt: ordnet die Zeile dem Radsegment zu */
.weight-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  flex: 0 0 auto;
}

.weight-slider {
  flex: 1 1 auto;
  width: 100%;
  min-width: 90px;
  height: 30px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

/* Track/Thumb explizit gestalten: ohne -webkit-appearance:none
   ignoriert Chromium eigene Farben. */
.weight-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(244, 245, 246, 0.22);
}

.weight-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: var(--campaign-orange, #E8590C);
}

.weight-slider:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Zahlenfeld neben dem Regler */
.admin-table input.weight-number {
  width: 84px;
  height: 44px;
  font-size: 19px;
}

/* Schloss: haelt den Wert bei Umverteilung fest */
.weight-lock {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-muted);
  -webkit-user-select: none;
  user-select: none;
}

.weight-lock input {
  width: 22px;
  height: 22px;
  margin: 0 5px 0 0;
  cursor: pointer;
}

.weight-lock.is-locked {
  color: var(--campaign-orange-light, #FFA94D);
}

/* Summenzeile: gruen bei exakt 100 %, sonst Warnfarbe */
.admin-weightsum {
  font-family: var(--font-text);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
}

.admin-weightsum.is-ok {
  color: #74C69D;
}

.admin-weightsum.is-off {
  color: #FFA94D;
}

/* Sync-Status: Rueckmeldung vom Server */
.admin-sync {
  min-height: 24px;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
}

.admin-sync.is-ok {
  color: #74C69D;
}

.admin-sync.is-error {
  color: #FF6B6B;
}

/* Reichweiten-Warnung: Kontingent laeuft vor Ladenschluss leer */
.admin-table .runs-out {
  color: #FFA94D;
  font-weight: 700;
}

.admin-table .runs-empty {
  color: #FF6B6B;
  font-weight: 700;
}

.admin-table input {
  width: 108px;
  height: 52px;
  padding: 0 12px;
  border-radius: 12px;
  border: 2px solid rgba(244, 245, 246, 0.22);
  background: rgba(0, 0, 0, 0.4);
  color: var(--skiing-white);
  font-family: var(--font-text);
  font-size: 21px;
  font-weight: 700;
  text-align: right;
  -webkit-user-select: text;
  user-select: text;
  outline: none;
}

.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Kein gap: Flexbox-gap gibt es erst ab Chromium 84, die
     Kiosk-Stele laeuft auf 80-90 (2026-08-24). */
  flex-wrap: wrap;
}

.admin-actions > * + * {
  margin-left: 18px;
}

.admin-btn {
  height: 66px;
  padding: 0 26px;
  margin-right: 10px;
  border: 2px solid rgba(244, 245, 246, 0.24);
  border-radius: 16px;
  background: rgba(244, 245, 246, 0.06);
  color: var(--skiing-white);
  font-family: var(--font-text);
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
}

.admin-btn.is-primary {
  border-color: transparent;
  background: var(--breuninger-red);
}

.admin-btn.is-danger {
  border-color: rgba(244, 80, 30, 0.6);
  color: var(--campaign-orange-light);
}

.admin-shortcut-hint {
  font-size: 17px;
  color: var(--text-muted);
}

/* ============================================================
   Konfetti-Canvas
   ============================================================ */
#confetti-canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  width: 1080px;
  height: 1920px;
  pointer-events: none;
}
