:root {
  --navy-900: #0f1b2d;
  --navy-800: #16233a;
  --navy-700: #203252;
  --slate-700: #3c4a60;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #eef1f5;
  --surface: #ffffff;
  --ink: #1b2432;
  --muted: #5b6678;
  --accent-blue: #2f6fed;
  --accent-blue-dark: #1f4fc4;
  --danger: #c0392b;
  --radius-lg: 16px;
  --radius-md: 10px;
  --font: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Kippwinkel der Halle fuer die Schraegansicht von oben. Muss mit
     TILT_DEG in public/js/game.js synchron bleiben. */
  --hall-tilt: 48deg;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--ink);
  overflow: hidden;
}

.icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Topbar ---------- */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(15,27,45,0.97), rgba(15,27,45,0.88));
  color: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 40;
  backdrop-filter: blur(3px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.legend-toggle { display: flex; gap: 10px; align-items: center; }
.legend-toggle button, .admin-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--slate-100);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.15s;
}
.legend-toggle button:hover, .admin-link:hover { background: rgba(255,255,255,0.16); }

.hidden { display: none !important; }

/* ---------- Intro ---------- */
#intro-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,13,22,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.intro-card {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  max-width: 460px;
  text-align: left;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}
.intro-card h1 { margin: 0 0 12px; color: var(--navy-900); font-size: 1.4rem; }
.intro-card p { color: var(--muted); line-height: 1.55; font-size: 0.95rem; }
.intro-card kbd {
  background: var(--slate-200);
  color: var(--navy-900);
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.85em;
  border: 1px solid var(--slate-300);
}
#start-btn {
  margin-top: 18px;
  background: var(--accent-blue);
  color: #fff;
  border: none;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
#start-btn:hover { background: var(--accent-blue-dark); }

/* ---------- Stand-Liste ---------- */
#stand-list {
  position: fixed;
  top: 56px; right: 0; bottom: 0;
  width: 300px;
  background: rgba(15,22,36,0.97);
  color: var(--slate-100);
  z-index: 50;
  padding: 18px;
  overflow-y: auto;
  border-left: 1px solid rgba(255,255,255,0.08);
}
#stand-list h2 { margin-top: 0; font-size: 1rem; font-weight: 600; }
#stand-list-items { list-style: none; padding: 0; margin: 0; }
#stand-list-items li {
  padding: 11px 13px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s;
}
#stand-list-items li:hover { background: rgba(255,255,255,0.12); }
#stand-list-items .cat { font-size: 0.75rem; opacity: 0.65; display: block; margin-top: 2px; }
#close-list-btn {
  margin-top: 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--slate-100);
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Szene ---------- */
#scene-wrap {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 20%, #223252 0%, #0b1320 75%);
  perspective: 2200px;
}

#scene-stage {
  position: relative;
  width: min(100vw, calc((100vh - 56px) * 1.6));
  height: min(62.5vw, calc(100vh - 56px));
  max-width: 1600px;
  max-height: 1000px;
  border-radius: 6px;
  overflow: visible;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  transform-origin: center center;
  transform: rotateX(var(--hall-tilt));
  transform-style: preserve-3d;
  cursor: pointer;
  container-type: inline-size;
}

/* Separates Zoom-Element: haelt die konstante Kippung des #scene-stage
   unberuehrt vom dynamischen Fokus-Zoom, damit beim Fokussieren eines
   Standes kein Sprung durch einen wechselnden Dreh-Mittelpunkt entsteht. */
#scene-zoom {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}

#floor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 6px;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse at 50% 8%, rgba(255,255,255,0.10), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 12.5%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 12.5%),
    url("../assets/floor-tile.svg");
  background-size: cover, cover, cover, 48px 48px;
  background-color: #a7b1c2;
  box-shadow: inset 0 0 0 10px #223252, inset 0 0 90px rgba(0,0,0,0.25);
}
#floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), transparent 18%, transparent 82%, rgba(0,0,0,0.18));
  pointer-events: none;
}

.floor-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.floor-path-border path {
  fill: none;
  stroke: #8d96a6;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.5;
}
.floor-path-fill path {
  fill: none;
  stroke: #eef1f6;
  stroke-width: 6.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

/* ---------- Hallendekoration ---------- */
#hall-decor { position: absolute; inset: 0; pointer-events: none; transform-style: preserve-3d; }

.truss {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.4%;
  background: repeating-linear-gradient(135deg, #2a3650 0 6px, #34415e 6px 12px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
  transform-origin: 50% 0%;
  transform: rotateX(calc(var(--hall-tilt) * -1));
}
.spotlight {
  position: absolute;
  top: 1.4%;
  width: 9%;
  height: 58%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(255,255,255,0.16), transparent 72%);
}
.spotlight::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translate(-50%, -50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #eef1f5;
  box-shadow: 0 0 9px 3px rgba(255,255,255,0.85);
}

/* Das Hallenbanner liegt bewusst AUSSERHALB von #scene-stage (also nicht
   im 3D-gekippten/preserve-3d-Kontext): mehrere unterschiedlich gestylte
   Textlaeufe innerhalb eines dort gegenrotierten Elements rendern in
   Chromium zuverlaessig unvollstaendig (Zeilen fehlen je nach Layout).
   Als flaches 2D-Overlay ueber der Szene ist es davon nicht betroffen
   und bleibt zudem immer lesbar, unabhaengig von Standpositionen. */
#hall-banner {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(360px, 34%);
  text-align: center;
  z-index: 20;
  pointer-events: none;
}
.hall-banner-title {
  background: linear-gradient(165deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px 8px 0 0;
  padding: 10px 14px 8px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.6vw, 1.3rem);
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}
.hall-banner-sub {
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-radius: 0 0 8px 8px;
  padding: 4px 14px 6px;
  color: var(--slate-300);
  font-size: clamp(0.56rem, 0.78vw, 0.7rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 18px rgba(0,0,0,0.3);
}

.floor-emblem {
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: 16%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 37%, rgba(255,255,255,0.16) 37% 39%, transparent 39% 46%, rgba(255,255,255,0.12) 46% 48%, transparent 48%);
}

.hall-plant {
  position: absolute;
  width: 3.4%;
  height: auto;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,0.3));
  transform-origin: 50% 100%;
  transform: rotateX(calc(var(--hall-tilt) * -1));
  transition: opacity 0.2s ease;
}
.hall-plant.plant-hidden { opacity: 0; }
.plant-leaf { fill: #3f7a52; }
.plant-pot { fill: #8a5a3a; }
.plant-tl { top: 7%; left: 2.4%; }
.plant-tr { top: 7%; right: 2.4%; }
.plant-bl { bottom: 3%; left: 2.4%; }
.plant-br { bottom: 3%; right: 2.4%; }


/* ---------- Bereiche (Zones) ---------- */
#zone-layer { position: absolute; inset: 0; pointer-events: none; }
.zone-area {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6%;
  text-align: center;
}
.zone-area-label {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(0.6rem, 1.1cqw, 1rem);
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  padding: 0 10%;
}

#booth-layer { position: absolute; inset: 0; transform-style: preserve-3d; }

/* ---------- Messestand ---------- */
/* Modularer Messestand (weisse Waende + Deckenlicht), angelehnt an
   klassische Messebau-Systeme. Jedes Textlabel steht in einem eigenen,
   einheitlich gestylten Element (siehe Hinweis bei #hall-banner weiter
   oben) statt mehrerer Textlaeufe in einem Element. */
.booth {
  position: absolute;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotateX(calc(var(--hall-tilt) * -1));
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 9%;
  cursor: pointer;
}
.booth-light {
  width: 52%;
  height: 0.5cqw;
  min-height: 5px;
  margin-bottom: 5%;
  background: linear-gradient(180deg, #ffffff, #ccd2db);
  border-radius: 3px;
  box-shadow: 0 0 18px 5px rgba(255,255,255,0.4), 0 2px 6px rgba(0,0,0,0.3);
}
.booth-structure {
  display: flex;
  align-items: stretch;
  width: 100%;
  aspect-ratio: 1.05;
  transition: transform 0.2s ease;
}
.booth-wall {
  flex: 0 0 15%;
  background: linear-gradient(90deg, #cdd3dc, #f6f7f9);
  box-shadow: inset 0 0 0 1px rgba(15,27,45,0.06);
}
.booth-wall-left {
  clip-path: polygon(0 16%, 100% 0%, 100% 100%, 0 84%);
  margin-right: -3%;
}
.booth-wall-right {
  background: linear-gradient(90deg, #f6f7f9, #cdd3dc);
  clip-path: polygon(0 0%, 100% 16%, 100% 84%, 0 100%);
  margin-left: -3%;
}
.booth-backwall {
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  background: #fbfcfd;
  border-top: 3px solid var(--accent, #2f6fed);
  box-shadow: 0 8px 18px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(15,27,45,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.booth-header-text {
  flex: 0 0 auto;
  color: var(--navy-900);
  font-weight: 700;
  font-size: calc(clamp(0.56rem, 0.82cqw, 0.8rem) * var(--label-scale, 1));
  line-height: 1.2;
  text-align: center;
  padding: 10% 8% 4%;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.booth-window {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  background: var(--slate-100);
}
.booth-window img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.booth-window-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-300);
}
.booth-window-placeholder svg { width: 34%; height: 34%; }
/* Reiner Farbbalken in der Standfarbe - ohne Text, da Kategorietext am
   Stand nicht lesbar klein waere. Kategorie bleibt im Modal sichtbar. */
.booth-banner-sub {
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--accent, #2f6fed) 12%, #ffffff 88%);
  padding: 7% 0;
}
.booth-counter {
  width: 108%;
  position: relative;
  z-index: 2;
  margin-top: 3%;
}
.booth-counter-top {
  height: 0.55cqw;
  min-height: 6px;
  background: linear-gradient(180deg, #ffffff, #e4e9f0);
  border-radius: 4px 4px 0 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.booth-counter-front {
  height: 0.65cqw;
  min-height: 7px;
  background: linear-gradient(180deg, #c9d0db, #a9b3c2);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3), inset 0 -2px 0 rgba(0,0,0,0.08);
}
.booth-shadow {
  width: 118%;
  height: 8px;
  margin-top: 2px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.35), transparent 70%);
}

.booth.near .booth-structure {
  transform: translateY(-3px);
}
.booth.near .booth-backwall {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 0 20px 3px var(--accent, #2f6fed), 0 10px 20px rgba(0,0,0,0.35);
}

/* ---------- Spielfigur ---------- */
#player {
  position: absolute;
  width: 2.5%;
  aspect-ratio: 40/72;
  left: 0; top: 0;
  transform-origin: 50% 100%;
  will-change: transform;
  pointer-events: none;
}
.avatar-svg { width: 100%; height: 100%; overflow: visible; }
.avatar-shadow { fill: rgba(0,0,0,0.3); }
.avatar-body { fill: var(--navy-800); }
.avatar-head { fill: #e8b899; }
.avatar-hair { fill: #2c2420; }
.avatar-eye { fill: #2c2420; opacity: 0.75; }
.avatar-collar { fill: none; stroke: #f4f6f9; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.avatar-badge { fill: #e8532f; }
.avatar-leg rect { fill: var(--slate-700); }
.avatar-leg { transform-box: fill-box; transform-origin: top center; }

#player.is-walking .avatar-leg-left { animation: leg-swing 0.42s ease-in-out infinite; }
#player.is-walking .avatar-leg-right { animation: leg-swing 0.42s ease-in-out infinite reverse; animation-delay: 0.21s; }
@keyframes leg-swing {
  0%, 100% { transform: rotate(-14deg); }
  50% { transform: rotate(14deg); }
}

/* ---------- Interaktions-Hinweis ---------- */
#interact-hint {
  position: absolute;
  bottom: 86px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,16,28,0.92);
  color: var(--slate-100);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  display: flex;
  gap: 9px;
  align-items: center;
  pointer-events: none;
  z-index: 30;
  border: 1px solid rgba(255,255,255,0.1);
}
#interact-hint kbd {
  background: var(--accent-blue);
  color: #fff;
  padding: 2px 9px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82em;
}

/* ---------- Mobile Steuerung ---------- */
#mobile-controls { position: fixed; bottom: 20px; left: 20px; z-index: 35; }
.dpad { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dpad-row { display: flex; gap: 4px; }
.dpad button {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(10,16,28,0.8);
  color: var(--slate-100);
  font-size: 1.1rem;
}

/* ---------- Zoom-Regler ---------- */
#zoom-control {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  background: rgba(10,16,28,0.8);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
}
#zoom-control.hidden { display: none; }
#zoom-control button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--slate-100);
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#zoom-control button:hover { background: rgba(255,255,255,0.18); }
.zoom-slider-wrap {
  width: 30px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#zoom-slider {
  width: 90px;
  height: 20px;
  margin: 0;
  transform: rotate(-90deg);
  accent-color: #e8a33d;
  cursor: pointer;
}

/* ---------- Modal ---------- */
#stand-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,13,22,0.78); }
.modal-panel {
  position: relative;
  background: var(--surface);
  width: min(90vw, 740px);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 26px 30px 30px;
  box-shadow: 0 28px 90px rgba(0,0,0,0.5);
  animation: pop-in 0.22s ease;
}
@keyframes pop-in { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

#modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--slate-100);
  color: var(--navy-900);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#modal-close:hover { background: var(--slate-200); }

.modal-header { padding-right: 40px; }
.category-badge {
  display: inline-block;
  background: var(--slate-100);
  color: var(--navy-700);
  border: 1px solid var(--slate-200);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.modal-header h2 { margin: 2px 0 4px; color: var(--navy-900); font-size: 1.4rem; }
.modal-header p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.carousel {
  position: relative;
  background: #0d1420;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0;
  aspect-ratio: 16/9;
}
.carousel-track-wrap { width: 100%; height: 100%; overflow: hidden; }
.carousel-track { display: flex; height: 100%; transition: transform 0.35s ease; }
.carousel-track img { width: 100%; height: 100%; object-fit: contain; flex-shrink: 0; background: #0d1420; }
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,16,28,0.6);
  color: #fff;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-nav:hover { background: rgba(10,16,28,0.85); }
.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }
.carousel-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; }
.carousel-dots span.active { background: #fff; }
.carousel-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8893a6; font-size: 0.9rem; }

.info-stack { display: flex; flex-direction: column; gap: 18px; margin-bottom: 20px; }
.info-stack h3 { margin: 0 0 8px; color: var(--navy-900); font-size: 0.95rem; font-weight: 600; }
.info-primary { padding: 16px 18px; background: var(--slate-100); border-radius: var(--radius-md); border: 1px solid var(--slate-200); }
.info-primary .pre-wrap { font-size: 0.96rem; }
.info-secondary { padding: 0 2px; }
.info-secondary .pre-wrap { font-size: 0.88rem; color: var(--muted); }
.pre-wrap { white-space: pre-wrap; line-height: 1.6; color: var(--ink); margin: 0; }

.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.btn {
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}
.btn-primary { background: var(--accent-blue); color: #fff; }
.btn-primary:hover { background: var(--accent-blue-dark); }
.btn-secondary { background: var(--slate-100); color: var(--navy-900); border: 1px solid var(--slate-200); }
.btn-secondary:hover { background: var(--slate-200); }

#request-form {
  margin-top: 14px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--slate-200);
}
#request-form h3 { margin: 0 0 4px; color: var(--navy-900); font-size: 1rem; }
.form-hint { margin: 0 0 12px; font-size: 0.8rem; color: var(--muted); }
#request-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; color: var(--navy-700); }
#request-form input, #request-form textarea {
  width: 100%;
  margin-top: 5px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid var(--slate-300);
  font-family: inherit;
  font-size: 0.9rem;
}
#request-form input:invalid:not(:placeholder-shown), #request-form textarea:invalid:not(:placeholder-shown) { border-color: var(--danger); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; }
.req-status { font-size: 0.85rem; margin-top: 12px; }
.req-status.ok { color: #1e7d3a; }
.req-status.error { color: var(--danger); }

@media (max-width: 720px) {
  #stand-list { width: 100%; top: 56px; }
  #mobile-controls { display: block !important; }
  .booth { width: 16%; }
  #player { width: 4%; }
}
