/* modern-v37 — wood stage in both themes, glass panel, status bar fix, consent, empty polish */

html[data-theme="light"] .stage,
html[data-theme="dark"] .stage {
  --stage-ink: #f6ecda;
  --stage-muted: #d4c4aa;
  min-height: calc(100svh - 58px);
  background: #0c0a08 !important;
  color: var(--stage-ink);
}
html[data-theme="light"] .stage-bg,
html[data-theme="light"] .stage-photo,
html[data-theme="dark"] .stage-bg,
html[data-theme="dark"] .stage-photo { opacity: 1 !important; visibility: visible !important; }
html[data-theme="light"] .orbit,
html[data-theme="dark"] .orbit { opacity: 1 !important; visibility: visible !important; }
.stage-bg::after {
  content: "" !important;
  background:
    radial-gradient(ellipse 80% 50% at 50% 18%, rgba(255, 232, 186, 0.26), transparent 58%),
    linear-gradient(180deg, rgba(12, 8, 4, 0.16) 0%, rgba(12, 8, 4, 0.06) 40%, rgba(8, 6, 4, 0.58) 100%) !important;
}
html[data-theme="light"] .stage-bg::after,
html[data-theme="light"] .stage::after { content: "" !important; display: block !important; }
html[data-theme="light"] .cinematic .site-header,
html[data-theme="dark"] .cinematic .site-header {
  background: color-mix(in oklab, #120e0a 48%, transparent) !important;
  color: #f6ecda !important;
  border-bottom: 1px solid color-mix(in oklab, #fff 12%, transparent) !important;
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}
html[data-theme="light"] .cinematic .brand-name,
html[data-theme="light"] .cinematic .brand-name span,
html[data-theme="light"] .cinematic .nav,
html[data-theme="light"] .cinematic .nav a,
html[data-theme="dark"] .cinematic .brand-name,
html[data-theme="dark"] .cinematic .brand-name span,
html[data-theme="dark"] .cinematic .nav a { color: #f6ecda !important; }
html[data-theme="light"] .cinematic .nav a[aria-current="page"],
html[data-theme="dark"] .cinematic .nav a[aria-current="page"] { border-bottom-color: #d7c39a !important; }
html[data-theme="light"] .cinematic .theme-btn,
html[data-theme="light"] .cinematic .menu-btn,
html[data-theme="dark"] .cinematic .theme-btn,
html[data-theme="dark"] .cinematic .menu-btn {
  color: #f6ecda !important;
  border-color: color-mix(in oklab, #fff 26%, transparent) !important;
  background: color-mix(in oklab, #070908 32%, transparent) !important;
}
.split-title { color: #fff6e4 !important; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); letter-spacing: -0.03em; }
.split-title .ital { color: #f0d7a0 !important; }
.cinematic .stage .kicker { color: #e8d4a4 !important; letter-spacing: 0.22em !important; }
.cinematic .stage .lede { color: #f3e8d2 !important; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
.stage-tool .panel {
  background: linear-gradient(165deg, rgba(255, 250, 240, 0.36) 0%, rgba(255, 244, 226, 0.16) 48%, rgba(28, 20, 12, 0.14) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  color: #1a1510 !important;
  backdrop-filter: blur(42px) saturate(1.7) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(42px) saturate(1.7) brightness(1.05) !important;
}
html[data-theme="dark"] .stage-tool .panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.13) 0%, rgba(20, 16, 12, 0.4) 100%) !important;
  color: #f6ecda !important;
}
.stage-tool .field-label, .stage-tool .coach, .stage-tool .try-label, .stage-tool .mini, .stage-tool .hint { color: #2c241c !important; }
html[data-theme="dark"] .stage-tool .field-label,
html[data-theme="dark"] .stage-tool .coach,
html[data-theme="dark"] .stage-tool .try-label,
html[data-theme="dark"] .stage-tool .mini,
html[data-theme="dark"] .stage-tool .hint { color: #d8ccb8 !important; }
.stage-tool .status {
  background: transparent !important; backdrop-filter: none !important; position: relative !important;
  padding: 0.35rem 0 0.15rem !important; margin: 0.55rem 0 0.35rem !important; border: 0 !important;
}
.stage-tool .status h2, #resultsHeading {
  background: transparent !important; color: #f6ecda !important; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem) !important;
}
.stage-tool .input-row input[type="text"] {
  background: rgba(255, 255, 255, 0.9) !important; border: 1px solid rgba(255, 255, 255, 0.72) !important; color: #1c1710 !important;
}
.stage-tool .primary {
  background: linear-gradient(180deg, #2a5d48 0%, #1a3d2e 100%) !important; color: #f6ecda !important; border: 0 !important;
}
.consent {
  left: 0.65rem !important; right: 0.65rem !important; bottom: max(0.65rem, env(safe-area-inset-bottom)) !important;
  max-width: 560px !important; margin-left: auto !important; margin-right: auto !important;
  background: color-mix(in oklab, #1a1410 78%, transparent) !important; color: #f6ecda !important;
  z-index: 40 !important;
}
.cinematic .site-footer { background: #0e0d0b !important; color: #9a8d7a !important; }
body.has-consent { padding-bottom: 5.5rem; }
.ad-after-results[hidden] { display: none !important; }
.ad-after-results .ad-box, .ad-after-results .ad-box ins.adsbygoogle { min-height: 90px; }
