/* ============================================================
   DER SOMMELIER — Stylesheet (Full HD 1920×1080)
   ============================================================ */

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Inter:wght@400;600;700&display=swap');

:root {
  --c-bg:       #0f0f1a;
  --c-panel:    #1a1a2e;
  --c-card:     #16213e;
  --c-accent:   #e94560;
  --c-purple:   #533483;
  --c-gold:     #f0e68c;
  --c-text:     #e0e0e0;
  --c-muted:    #8888aa;
  --c-success:  #2ecc71;
  --c-danger:   #e74c3c;
  --c-rot:      #e94560;
  --c-weiss:    #f0e68c;
  --c-rose:     #ffb6c1;

  --sidebar-w:  140px;
  --bottom-h:   48px;
  --font-pixel: 'Press Start 2P', monospace;
  --font-ui:    'Inter', 'Segoe UI', sans-serif;
}

body {
  background: #000;
  font-family: var(--font-ui);
  color: var(--c-text);
  overflow: hidden;
  width: 100vw; height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#game-root {
  width: 1920px; height: 1080px;
  position: relative;
  background: var(--c-bg);
  transform-origin: center center;
  overflow: hidden;
  /* scaled via JS */
}

/* ===== SCENE BASE ===== */
.scene {
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0;
  display: none;
}
.scene.active { display: flex; }

/* ===== LAYOUT: SIDEBAR + MAIN + BOTTOM ===== */
.scene-explorer, .scene-map, .scene-restaurant, .scene-region {
  flex-direction: row;
  flex-wrap: wrap;
}

/* ===== SIDEBAR (left) ===== */
.sidebar {
  width: var(--sidebar-w);
  height: calc(100% - var(--bottom-h));
  background: var(--c-panel);
  border-right: 3px solid var(--c-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  z-index: 20;
}
.sidebar-title {
  font-size: 32px;
  margin-bottom: 12px;
  padding: 8px;
}
.sidebar-item {
  width: 120px;
  padding: 10px 8px;
  margin: 4px 0;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.sidebar-item:hover:not(.locked) {
  background: rgba(233,69,96,0.15);
  border-color: var(--c-accent);
}
.sidebar-item.current {
  background: rgba(233,69,96,0.2);
  border-color: var(--c-accent);
  box-shadow: 0 0 12px rgba(233,69,96,0.3);
}
.sidebar-item.locked {
  opacity: 0.35;
  cursor: not-allowed;
}
.sidebar-icon { font-size: 28px; margin-bottom: 4px; }
.sidebar-logo {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  image-rendering: pixelated;
  margin-bottom: 4px;
}
.sidebar-label {
  font-size: 11pt;
  font-family: var(--font-pixel);
  color: var(--c-text);
  line-height: 1.4;
}
.sidebar-arrow {
  position: absolute;
  right: -14px; top: 50%;
  transform: translateY(-50%);
  color: var(--c-accent);
  font-size: 14pt;
}
.sidebar-stars { margin-top: 4px; }
.sidebar-lock { font-size: 14pt; margin-top: 4px; opacity: 0.6; }
.sidebar-spacer { flex: 1; }
.sidebar-item.map-btn {
  border-top: 2px solid var(--c-purple);
  padding-top: 14px;
  margin-top: 8px;
}

/* ===== MAIN AREA ===== */
.main-area {
  flex: 1;
  height: calc(100% - var(--bottom-h));
  position: relative;
  overflow: hidden;
}

/* ===== BOTTOM BAR ===== */
.bottom-bar {
  width: 100%;
  height: var(--bottom-h);
  background: var(--c-panel);
  border-top: 3px solid var(--c-purple);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 24px;
  z-index: 20;
}
.bb-level {
  font-family: var(--font-pixel);
  font-size: 11pt;
  color: var(--c-accent);
  white-space: nowrap;
}
.bb-xp {
  display: flex; align-items: center; gap: 10px;
  flex: 1;
  max-width: 400px;
}
.xp-bar {
  flex: 1;
  height: 14px;
  background: var(--c-bg);
  border: 2px solid var(--c-purple);
  border-radius: 2px;
  overflow: hidden;
}
.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-purple));
  transition: width 0.5s ease;
}
.xp-text {
  font-size: 11pt;
  color: var(--c-muted);
  white-space: nowrap;
}
.bb-stats {
  display: flex; gap: 16px;
  font-size: 11pt;
  color: var(--c-muted);
}
.stars .star { font-size: 11pt; }
.star.full { color: var(--c-accent); }
.star.empty { color: #333; }

/* ===== BUTTONS ===== */
.btn {
  padding: 10px 24px;
  font-family: var(--font-ui);
  font-size: 12pt; font-weight: 600;
  border: 2px solid;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-primary {
  background: var(--c-accent); color: #fff;
  border-color: var(--c-accent);
}
.btn-primary:hover:not(:disabled) { background: #d43350; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--c-accent);
  border-color: var(--c-accent);
}
.btn-secondary:hover:not(:disabled) { background: rgba(233,69,96,0.15); }
.btn-ghost {
  background: transparent; color: var(--c-muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--c-text); }
.btn-large { padding: 14px 36px; font-size: 14pt; }
.btn-small { padding: 6px 14px; font-size: 11pt; }

/* ===== TITLE SCREEN ===== */
.scene-title {
  justify-content: center; align-items: center;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f1a 100%);
}
.title-bg {
  width: 100%; height: 100%;
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.title-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse, transparent 50%, rgba(0,0,0,0.6) 100%);
}
.title-content {
  text-align: center;
  z-index: 2;
}
.title-text {
  font-family: var(--font-pixel);
  font-size: 52px;
  color: var(--c-accent);
  text-shadow: 4px 4px 0 #0f3460, -2px -2px 0 var(--c-purple);
  letter-spacing: 6px;
  margin-bottom: 12px;
  animation: titlePulse 3s ease-in-out infinite;
}
@keyframes titlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}
.title-sub {
  font-size: 14pt;
  color: var(--c-muted);
  margin-bottom: 50px;
  letter-spacing: 1px;
}
.title-buttons { display: flex; gap: 16px; justify-content: center; }

/* Wine glass */
.title-glass {
  margin: 0 auto 30px;
  width: 100px;
}
.glass-bowl {
  width: 72px; height: 56px;
  border: 4px solid var(--c-accent);
  border-radius: 0 0 36px 36px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.glass-wine {
  position: absolute; bottom: 0;
  width: 100%; height: 55%;
  background: #8b0000;
  animation: wineWave 3s ease-in-out infinite;
}
@keyframes wineWave { 0%,100%{height:55%} 50%{height:62%} }
.glass-stem { width: 6px; height: 34px; background: var(--c-accent); margin: 0 auto; }
.glass-base { width: 48px; height: 6px; background: var(--c-accent); margin: 0 auto; border-radius: 0 0 4px 4px; }

/* ===== EXPLORER =====  */
.explorer-bg {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 0;
}
.explorer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  background: rgba(0,0,0,0.3);
}
.explorer-title { display: flex; align-items: center; gap: 12px; }
.explorer-badge {
  background: var(--c-accent);
  color: #fff;
  padding: 6px 16px;
  font-size: 16pt;
  font-weight: 700;
  border-radius: 4px;
}
.explorer-level {
  font-size: 18pt;
  color: var(--c-muted);
}
.explorer-progress {
  font-family: var(--font-pixel);
  font-size: 16pt;
  color: var(--c-gold);
}

/* Wine card */
.explorer-card {
  flex: 1;
  display: flex;
  gap: 40px;
  padding: 24px 48px;
  overflow: hidden;
  align-items: stretch;
  min-height: 0;
}

/* Wine bottle (image-based) */
.wine-bottle-area {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 220px;
  padding-top: 20px;
}
.wine-bottle-img {
  max-height: 380px;
  max-width: 200px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}
.wine-meta {
  display: flex; gap: 14px; margin-bottom: 14px;
  font-size: 16pt; color: var(--c-muted);
}
.wine-price {
  background: rgba(240,230,140,0.15);
  color: var(--c-gold);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
}
.wine-grape { font-style: italic; }

/* Wine info */
.wine-info-area {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
.wine-title {
  font-family: var(--font-pixel);
  font-size: 24pt;
  margin-bottom: 12px;
}
.wine-desc {
  font-size: 18pt;
  color: var(--c-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.wine-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.detail-row {
  background: rgba(0,0,0,0.2);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
}
.detail-label {
  font-size: 13pt;
  color: var(--c-muted);
  display: block;
  margin-bottom: 3px;
}
.detail-value {
  font-size: 16pt;
  color: var(--c-text);
  font-weight: 600;
}
.wine-funfact {
  background: rgba(240,230,140,0.1);
  border: 1px solid rgba(240,230,140,0.3);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 16pt;
  color: var(--c-gold);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}
.funfact-icon { font-size: 18pt; flex-shrink: 0; }

/* Explorer nav */
.explorer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background: rgba(0,0,0,0.3);
}

/* ===== MAP ===== */
.map-bg {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0a1628, #0f2040);
  display: flex; flex-direction: column;
}
.map-title-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  background: rgba(0,0,0,0.3);
}
.map-title-bar h2 {
  font-family: var(--font-pixel);
  font-size: 16pt;
  color: var(--c-accent);
}
.map-world {
  flex: 1; position: relative;
  background:
    radial-gradient(circle at 50% 45%, #163050 0%, transparent 60%),
    radial-gradient(circle at 25% 70%, #1a2a3a 0%, transparent 40%),
    #0a1628;
}
.map-pin {
  position: absolute;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 4px 8px;
}
.map-pin:hover:not(.locked) { transform: scale(1.15); z-index: 10; }
.map-pin.locked { opacity: 0.25; cursor: not-allowed; filter: grayscale(1); }
.pin-icon { font-size: 32px; display: block; filter: drop-shadow(2px 2px 0 #000); }
.pin-name {
  font-size: 10pt; font-weight: 700; color: #fff;
  text-shadow: 1px 1px 3px #000;
  display: block;
}
.pin-wines { font-size: 10pt; color: var(--c-muted); }
.pin-lock { font-size: 11pt; }

/* ===== REGION INFO ===== */
.region-bg {
  width: 100%; height: 100%;
  background: var(--c-bg);
  display: flex; flex-direction: column;
}
.region-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  background: var(--c-panel);
  border-bottom: 3px solid var(--c-purple);
}
.region-header h2 { font-size: 18pt; color: var(--c-accent); }
.region-body {
  flex: 1; padding: 24px;
  overflow-y: auto;
  display: flex; gap: 32px;
}
.region-desc {
  flex: 1;
  font-size: 14pt; line-height: 1.6;
}
.region-facts { margin-top: 16px; }
.fact-item {
  padding: 6px 0;
  color: var(--c-muted);
  font-size: 14pt;
}
.region-wines-list {
  flex: 1;
}
.region-wines-list h3 {
  color: var(--c-accent);
  font-size: 16pt;
  margin-bottom: 12px;
}
.region-wine-card {
  background: var(--c-card);
  border: 2px solid var(--c-purple);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0;
  display: flex; align-items: center; gap: 12px;
}
.rwc-color { font-size: 20px; }
.rwc-name { font-weight: 700; }
.rwc-detail { font-size: 11pt; color: var(--c-muted); }
.rwc-pairings { font-size: 11pt; color: var(--c-muted); margin-left: auto; }
.muted { color: var(--c-muted); }

/* ===== RESTAURANT ===== */
.restaurant-bg {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.rest-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.rest-bg-layer { z-index: 1; }
.rest-fg-layer {
  z-index: 3;
  background-position: bottom center;
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 0; top: auto;
  height: 45%;
}

/* Darken bg for readability */
.rest-bg-layer::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
}

.rest-ui-overlay {
  position: relative;
  z-index: 5;
  width: 100%; height: 100%;
  display: flex; justify-content: center; align-items: center;
}

/* Lobby card */
.lobby-card {
  background: rgba(22,33,62,0.92);
  border: 3px solid var(--c-accent);
  border-radius: 12px;
  padding: 40px 48px;
  text-align: center;
  max-width: 500px;
  backdrop-filter: blur(8px);
}
.lobby-icon { font-size: 56px; margin-bottom: 12px; }
.lobby-title {
  font-family: var(--font-pixel);
  font-size: 16pt;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.lobby-desc {
  color: var(--c-muted);
  font-size: 14pt;
  margin-bottom: 20px;
  line-height: 1.5;
}
.lobby-stats {
  display: flex; justify-content: center; gap: 32px;
  margin-bottom: 24px;
}
.lobby-stat { text-align: center; }
.lobby-stat-label { display: block; font-size: 11pt; color: var(--c-muted); }
.lobby-stat-value { display: block; font-size: 14pt; color: var(--c-text); margin-top: 4px; }
.lobby-buttons { display: flex; flex-direction: column; gap: 10px; align-items: center; }

/* Shift HUD */
.shift-hud {
  position: absolute;
  top: 12px; right: 16px;
  z-index: 10;
  display: flex; gap: 12px;
}
.hud-item {
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12pt;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Dialog */
.dialog-container {
  position: absolute;
  bottom: 0; left: 42%; right: 0;
  z-index: 10;
  padding: 0 20px 20px;
  max-height: 85%;
  overflow-y: auto;
}
.dialog-box {
  background: rgba(22,33,62,0.95);
  border: 3px solid var(--c-accent);
  border-radius: 12px;
  padding: 20px 24px;
  backdrop-filter: blur(8px);
  max-width: 820px;
  margin: 0 auto;
}
.dialog-besserwisser { border-color: var(--c-gold); }
.dialog-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.dialog-guest {
  font-size: 16pt;
  font-weight: 700;
  color: var(--c-accent);
}
.bw-badge {
  background: var(--c-gold);
  color: #333;
  padding: 2px 10px;
  font-size: 11pt;
  font-weight: 700;
  border-radius: 4px;
}
.dialog-body { margin-bottom: 14px; }
.dialog-scenario {
  font-size: 16pt;
  color: var(--c-text);
  line-height: 1.5;
  margin-bottom: 6px;
}
.bw-statement {
  font-size: 17pt;
  font-style: italic;
  color: var(--c-gold);
}
.dialog-question {
  font-size: 15pt;
  color: var(--c-accent);
  font-weight: 600;
}
.dialog-choices {
  display: flex; flex-direction: column; gap: 6px;
}
.dialog-choice {
  background: rgba(0,0,0,0.3);
  border: 2px solid var(--c-purple);
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--c-text);
  font-family: var(--font-ui);
  font-size: 14pt;
}
.dialog-choice:hover:not(:disabled):not(.correct):not(.wrong) {
  background: rgba(233,69,96,0.15);
  border-color: var(--c-accent);
}
.dialog-choice.correct { background: rgba(46,204,113,0.2); border-color: var(--c-success); color: #8f8; }
.dialog-choice.wrong { background: rgba(231,76,60,0.2); border-color: var(--c-danger); color: #f88; }
.choice-wine { font-weight: 600; }
.choice-detail { font-size: 12pt; color: var(--c-muted); }

/* Besserwisser result */
.bw-result {
  padding: 14px;
  border-radius: 8px;
  margin-top: 10px;
}
.bw-result.correct { background: rgba(46,204,113,0.15); border: 1px solid var(--c-success); }
.bw-result.wrong { background: rgba(231,76,60,0.15); border: 1px solid var(--c-danger); }
.bw-verdict {
  font-size: 15pt;
  font-weight: 700;
  margin-bottom: 8px;
}
.bw-correction {
  font-size: 14pt;
  color: var(--c-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ===== OVERLAYS ===== */
.overlay-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex; justify-content: center; align-items: center;
  z-index: 100;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Feedback */
.overlay-backdrop.feedback-backdrop {
  background: rgba(0,0,0,0.5);
  align-items: flex-start;
  padding-top: 40px;
}
.feedback-card {
  background: var(--c-card);
  border: 3px solid var(--c-purple);
  border-radius: 12px;
  padding: 28px 36px;
  text-align: center;
  max-width: 540px;
  max-height: 900px;
  overflow-y: auto;
  animation: popIn 0.3s ease;
}
@keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.fb-correct { border-color: var(--c-success); }
.fb-acceptable { border-color: #e0a030; }
.fb-wrong { border-color: var(--c-danger); }
.fb-icon { font-size: 48px; margin-bottom: 8px; }
.feedback-card h3 { font-size: 18pt; margin-bottom: 12px; }
.fb-correct h3 { color: var(--c-success); }
.fb-acceptable h3 { color: #e0a030; }
.fb-wrong h3 { color: var(--c-danger); }
.fb-explanation {
  font-size: 14pt; color: var(--c-muted);
  line-height: 1.6; margin-bottom: 12px;
}
.fb-funfact {
  font-size: 12pt; color: var(--c-gold);
  font-style: italic;
  margin-bottom: 12px;
}
.fb-xp {
  font-family: var(--font-pixel);
  font-size: 15pt;
  color: var(--c-accent);
  margin-bottom: 16px;
}

/* Shift Summary */
.shift-summary-card {
  background: rgba(22,33,62,0.95);
  border: 3px solid var(--c-accent);
  border-radius: 12px;
  padding: 36px 48px;
  text-align: center;
  backdrop-filter: blur(8px);
  animation: popIn 0.3s ease;
}
.shift-summary-card h2 {
  font-family: var(--font-pixel);
  font-size: 18pt;
  color: var(--c-accent);
  margin-bottom: 24px;
}
.summary-stats {
  display: flex; justify-content: center; gap: 32px;
  margin-bottom: 24px;
}
.summary-stat { text-align: center; }
.stat-num {
  font-family: var(--font-pixel);
  font-size: 22pt;
  color: var(--c-text);
}
.stat-num.correct { color: var(--c-success); }
.stat-num.wrong { color: var(--c-danger); }
.stat-num.xp { color: var(--c-accent); }
.stat-label { font-size: 11pt; color: var(--c-muted); margin-top: 4px; }
.summary-buttons { display: flex; gap: 12px; justify-content: center; }

/* Level Up */
.levelup-card {
  background: linear-gradient(180deg, var(--c-panel), var(--c-card));
  border: 4px solid var(--c-accent);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  animation: popIn 0.4s ease;
  box-shadow: 0 0 60px rgba(233,69,96,0.3);
}
.lu-stars { font-size: 36px; margin-bottom: 8px; }
.levelup-card h2 {
  font-family: var(--font-pixel);
  font-size: 32px;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.lu-new-title {
  font-size: 18pt;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.lu-desc { color: var(--c-muted); font-size: 13pt; margin-bottom: 16px; }
.lu-regions {
  margin-bottom: 20px;
}
.lu-regions h4 { color: var(--c-muted); font-size: 12pt; margin-bottom: 8px; }
.lu-region {
  display: inline-block;
  background: rgba(233,69,96,0.15);
  border: 1px solid var(--c-accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12pt;
  margin: 3px;
}

/* ===== CHEF INTRO ===== */
.chef-intro-scene {
  display: flex;
  width: 100%; height: 100%;
  align-items: flex-end;
}
.chef-sprite-area {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 0 0 5%;
  z-index: 2;
}
.chef-sprite-area img {
  height: 700px;
  width: auto;
  max-width: 860px;
  max-height: 1274px;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5));
}
.chef-dialog-area {
  flex: 1;
  min-width: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 5;
}
.chef-intro-card {
  background: rgba(22,33,62,0.95);
  border: 3px solid var(--c-gold);
  border-radius: 16px;
  padding: 32px 36px;
  max-width: 540px;
  backdrop-filter: blur(10px);
  animation: popIn 0.4s ease;
  box-shadow: 0 0 40px rgba(240,230,140,0.15);
}
.chef-name {
  font-family: var(--font-pixel);
  font-size: 16pt;
  color: var(--c-gold);
  margin-bottom: 2px;
}
.chef-restaurant {
  font-size: 14pt;
  color: var(--c-accent);
  margin-bottom: 4px;
}
.chef-theme {
  font-size: 13pt;
  color: var(--c-muted);
  margin-bottom: 14px;
  font-style: italic;
}
.chef-intro-text {
  font-size: 16pt;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.chef-intro-text p { margin-bottom: 10px; }
.chef-intro-buttons {
  display: flex; gap: 10px;
  flex-wrap: wrap;
}

/* ===== EXPLORER INTRO ===== */
.explorer-intro {
  flex: 1;
  overflow-y: auto;
  padding: 32px 64px;
  max-width: 1100px;
}
.explorer-intro h2 {
  font-family: var(--font-pixel);
  font-size: 24pt;
  color: var(--c-accent);
  margin-bottom: 28px;
}
.intro-section {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 22px 28px;
  margin-bottom: 16px;
}
.intro-section h3 {
  font-size: 20pt;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.intro-section p {
  font-size: 18pt;
  color: var(--c-text);
  line-height: 1.7;
}
.intro-recap {
  background: rgba(240,230,140,0.08);
  border: 2px solid rgba(240,230,140,0.25);
  border-radius: 10px;
  padding: 22px 28px;
  margin-top: 20px;
}
.intro-recap h3 {
  font-size: 18pt;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.intro-recap li {
  font-size: 17pt;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: none;
}

/* ===== WINE DETAIL OVERLAY ===== */
.wine-detail-card {
  background: var(--c-card);
  border: 3px solid var(--c-purple);
  border-radius: 12px;
  padding: 32px 40px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  animation: popIn 0.3s ease;
  display: flex; gap: 24px;
}
.wine-detail-bottle {
  flex-shrink: 0;
}
.wine-detail-bottle img {
  max-height: 280px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.wine-detail-info { flex: 1; }
.wine-detail-info h3 {
  font-family: var(--font-pixel);
  font-size: 16pt;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.wine-detail-info p {
  font-size: 14pt; color: var(--c-text);
  line-height: 1.6; margin-bottom: 10px;
}

/* ===== GUEST SPRITES ===== */
.guest-sprite-area {
  position: absolute;
  z-index: 2;
  bottom: calc(5% + 20px);
  left: 8%;
  pointer-events: none;
}
.guest-sprite {
  height: 700px;
  width: auto;
  max-width: 860px;
  max-height: 1183px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.6));
}

/* ===== LOBBY CHEF MINI ===== */
.lobby-chef-mini {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid var(--c-gold);
  object-fit: cover;
  margin-bottom: 8px;
}

/* ===== DIALOG TYPE BADGES ===== */
.dialog-type-badge {
  padding: 2px 10px;
  font-size: 11pt;
  font-weight: 700;
  border-radius: 4px;
}
.fp-badge {
  background: var(--c-accent);
  color: #fff;
}
.ww-badge {
  background: var(--c-purple);
  color: #fff;
}
.bt-badge {
  background: #7b5b3a;
  color: #fff;
}

/* ===== WEINWISSEN DIALOG ===== */
.dialog-weinwissen {
  border-color: var(--c-purple);
}

/* ===== BLINDTASTING DIALOG ===== */
.dialog-blindtasting {
  border-color: #7b5b3a;
}
.bt-clues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0;
}
.bt-clue {
  background: rgba(123,91,58,0.15);
  border: 1px solid rgba(123,91,58,0.3);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bt-clue-label {
  font-size: 11pt;
  font-weight: 700;
  color: #c9a96e;
}
.bt-clue span:last-child {
  font-size: 12pt;
  color: var(--c-text);
  line-height: 1.4;
}

/* ===== REGION ENHANCEMENTS ===== */
.region-main-regions {
  margin-top: 14px;
  font-size: 14pt;
  color: var(--c-muted);
  line-height: 1.5;
}
.region-locked-hint {
  margin-top: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--c-muted);
  border-radius: 8px;
  font-size: 12pt;
  color: var(--c-muted);
  text-align: center;
}
.rwc-img {
  width: 48px; height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.rwc-info {
  flex: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.rwc-flavors {
  font-size: 11pt;
  color: var(--c-muted);
  font-style: italic;
}

/* ===== TRINKGELD DISPLAY ===== */
.fb-tips {
  font-family: var(--font-pixel);
  font-size: 15pt;
  color: var(--c-success);
  margin-bottom: 16px;
}
.stat-num.tips { color: var(--c-success); }

/* ===== FEEDBACK REVEAL ===== */
.fb-reveal {
  font-size: 11pt;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.fb-reveal strong { color: var(--c-accent); }

/* ===== MAP BACKGROUND ===== */
.map-world {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== CHEF COMMENTS IN FEEDBACK ===== */
.fb-chef-comment {
  margin: 10px 0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13pt;
  font-style: italic;
  line-height: 1.5;
}
.fb-chef-stress {
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.3);
  color: #e74c3c;
}
.fb-chef-praise {
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.3);
  color: #2ecc71;
}
.fb-beer {
  background: rgba(240,200,50,0.15);
  border: 2px solid rgba(240,200,50,0.4);
  color: #f0c832;
  font-style: normal;
  font-weight: 600;
  font-size: 14pt;
  animation: beerShake 0.5s ease;
}
@keyframes beerShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.shift-chef-comment {
  margin: 16px 0;
  padding: 12px 18px;
  background: rgba(240,230,140,0.1);
  border: 1px solid rgba(240,230,140,0.25);
  border-radius: 8px;
  font-size: 14pt;
  font-style: italic;
  color: var(--c-gold);
  line-height: 1.5;
}

/* ===== SKULL EASTER EGG ===== */
.skull-easter-egg {
  position: absolute;
  z-index: 4;
  left: 5%;
  top: 15%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.1s;
}
.skull-easter-egg:hover {
  opacity: 0.15;
  background: radial-gradient(circle, rgba(233,69,96,0.3), transparent 70%);
  border-radius: 50%;
}
.skull-easter-egg:active {
  opacity: 0.4;
}

/* ===== MINI-GAME ===== */
.scene-minigame {
  background: #0a0a2e;
  justify-content: center;
  align-items: center;
}
.minigame-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
#minigame-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}
.minigame-end-card {
  background: var(--c-card);
  border: 4px solid var(--c-accent);
  border-radius: 16px;
  padding: 40px 48px;
  text-align: center;
  animation: popIn 0.4s ease;
  box-shadow: 0 0 60px rgba(233,69,96,0.3);
}

/* ===== CHEF HINT (Frag den Chef) ===== */
.btn-chef-hint {
  background: rgba(240,230,140,0.1);
  border: 2px solid rgba(240,230,140,0.3);
  color: var(--c-gold);
  padding: 6px 16px;
  font-size: 12pt;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 8px;
}
.btn-chef-hint:hover {
  background: rgba(240,230,140,0.2);
  border-color: var(--c-gold);
  transform: translateY(-1px);
}
.chef-hint-box {
  background: rgba(240,230,140,0.1);
  border: 2px solid rgba(240,230,140,0.35);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: popIn 0.3s ease;
}
.chef-hint-icon { font-size: 20px; flex-shrink: 0; }
.chef-hint-text {
  flex: 1;
  font-size: 12pt;
  font-style: italic;
  color: var(--c-gold);
  line-height: 1.4;
}
.chef-hint-cost {
  font-size: 11pt;
  color: var(--c-muted);
  white-space: nowrap;
  opacity: 0.7;
}
.dialog-choice.eliminated {
  opacity: 0.3;
  text-decoration: line-through;
  pointer-events: none;
  filter: grayscale(1);
}

/* ===== BERATUNG DIALOG ===== */
.dialog-beratung { border-color: #4a9; max-width: 760px; }
.ber-badge {
  background: #4a9; color: #fff;
  padding: 2px 10px; font-size: 11pt; font-weight: 700; border-radius: 4px;
}
.ber-step-indicator {
  font-size: 11pt; color: var(--c-muted);
  margin-bottom: 8px; padding: 4px 10px;
  background: rgba(68,170,153,0.1); border-radius: 4px; display: inline-block;
}
.ber-history {
  max-height: 200px; overflow-y: auto;
  margin-bottom: 12px; padding: 8px;
  background: rgba(0,0,0,0.2); border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 6px;
}
.ber-bubble {
  padding: 8px 14px; border-radius: 12px;
  max-width: 85%; line-height: 1.5; animation: popIn 0.25s ease;
}
.ber-guest {
  background: rgba(233,69,96,0.15); border: 1px solid rgba(233,69,96,0.3);
  align-self: flex-start;
}
.ber-player {
  background: rgba(68,170,153,0.15); border: 1px solid rgba(68,170,153,0.3);
  align-self: flex-end;
}
.ber-speaker {
  display: block; font-size: 13pt; font-weight: 700; margin-bottom: 2px;
}
.ber-guest .ber-speaker { color: var(--c-accent); }
.ber-player .ber-speaker { color: #4a9; }
.ber-text { font-size: 15pt; color: var(--c-text); }
.ber-prompt {
  font-size: 14pt; color: #4a9; font-weight: 600; margin-bottom: 8px;
}
.ber-choice:hover:not(:disabled) {
  background: rgba(68,170,153,0.15); border-color: #4a9;
}
.fb-beratung-summary {
  font-size: 12pt; color: var(--c-gold); font-style: italic;
  margin: 10px 0; padding: 8px 14px;
  background: rgba(240,230,140,0.08); border: 1px solid rgba(240,230,140,0.2);
  border-radius: 6px; line-height: 1.5;
}

/* ===== DOWNGRADE OVERLAY ===== */
.fb-downgrade { border-color: var(--c-accent); }
.fb-downgrade h3 { color: var(--c-accent); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-purple); border-radius: 3px; }
