/* Tema de vidro para experiencias.html.
   A página mantém o HTML e os scripts da V23; este arquivo só troca a aparência.
   Usa !important porque precisa vencer vários blocos de estilo antigos empilhados na própria página. */

body { background: #7a4cc7 !important; color: #fff !important; font: 600 16px/1.5 var(--fonte-texto) !important; }
.app-topo { padding-bottom: 0; }
.shell { max-width: 1320px !important; margin: 0 auto !important; padding: 8px clamp(12px, 2.4vw, 28px) 110px !important; }
.shell h1, .shell h2, .shell h3 { font-family: var(--fonte-titulo) !important; color: #fff !important; text-shadow: 0 3px 0 rgba(43, 15, 87, .5); letter-spacing: 0 !important; }
.shell p, .shell small, .shell li, .shell label, .lead, .small { color: var(--lilas-200) !important; }
.shell strong { color: #fff; }

/* painéis */
.hero, .section, .panel, .card, .character-card, .care-panel, .game-panel, .path-detail, .age-world, .experience-stage,
.anatomy-premium, .cinema, .cinema-new, .feature, .lesson, .notice, .step-info, .age-world-quiz, .story-feedback, .warning {
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 42%), rgba(98, 44, 184, .78) !important;
  /* sem desfoque de fundo aqui: a página tem dezenas de painéis e isso pesa em tablets */
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border: 1.5px solid var(--vidro-brilho) !important;
  border-radius: var(--raio) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 16px rgba(226, 160, 255, .35), 0 16px 34px rgba(34, 6, 80, .35) !important;
  color: #fff !important;
}
.section { margin-top: 18px !important; padding: clamp(14px, 2vw, 26px) !important; }
.section .section, .section .panel, .section .card, .section .character-card, .section .care-panel, .section .game-panel, .section .path-detail,
.section .experience-stage, .section .anatomy-premium, .section .notice, .section .step-info, .section .age-world-quiz, .section .feature, .section .lesson {
  background: rgba(43, 15, 87, .42) !important; border-color: rgba(255, 255, 255, .32) !important; box-shadow: none !important;
}
.hero { overflow: hidden; }
.hero-copy { background: none !important; border: 0 !important; box-shadow: none !important; }
.hero-copy:before { color: var(--destaque) !important; font-family: var(--fonte-titulo); letter-spacing: .06em; }

/* etiquetas */
.pill, .tag, .eyebrow, .kicker, .char-tag, .badge, .stage-visual-label, .cinema-scene-label {
  background: rgba(43, 15, 87, .6) !important; color: var(--destaque) !important;
  border: 1px solid rgba(255, 255, 255, .4) !important; border-radius: 999px !important;
  font-family: var(--fonte-titulo) !important; letter-spacing: .05em !important;
}
.eyebrow, .kicker { background: none !important; border: 0 !important; padding: 0 !important; }
.stat { background: rgba(43, 15, 87, .5) !important; border: 1px solid rgba(255, 255, 255, .35) !important; border-radius: 18px !important; color: var(--lilas-200) !important; }
.stat strong { color: var(--destaque) !important; font-family: var(--fonte-titulo); }

/* botões de vidro */
.btn, .step-tabs button, .tissue-choice, .tooth-pin, .choice, .game-answers button, .path-grid button, .age-world-quiz button,
.tissue-quiz-buttons button, .cinema-buttons button, .care-card {
  font-family: var(--fonte-titulo) !important; font-weight: 600 !important; color: #fff !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .30), rgba(150, 90, 235, .34)) !important;
  border: 1.5px solid rgba(255, 255, 255, .6) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -8px 12px rgba(60, 14, 130, .28), 0 6px 14px rgba(34, 6, 80, .32) !important;
  transition: transform var(--rapido), filter var(--rapido) !important;
}
.btn, .step-tabs button, .tissue-choice, .tooth-pin, .choice { border-radius: 999px !important; }
.btn { min-height: 46px; padding: 10px 20px !important; }
.btn:hover, .step-tabs button:hover, .care-card:hover, .game-answers button:hover, .path-grid button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn.primary, .step-tabs button[aria-pressed="true"], .tissue-choice.active, .tooth-pin.selected, .choice.selected, .path-grid button.active, .path-grid button.selected {
  color: var(--tinta-escura) !important; border-color: #fff3b8 !important;
  background: linear-gradient(180deg, #ffe680 0%, var(--destaque) 50%, #f5a300 100%) !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .85), inset 0 -6px 8px rgba(200, 110, 0, .4), 0 8px 16px rgba(60, 14, 130, .4) !important;
}
.care-card { border-radius: 22px !important; }
.care-card small { color: var(--lilas-200) !important; }
.care-card-title { color: #fff !important; font-family: var(--fonte-titulo) !important; }
select.age { font: inherit; color: var(--tinta-escura) !important; background: linear-gradient(180deg, #fff, #ecdcff) !important; border: 1.5px solid #fff !important; border-radius: 999px !important; padding: 8px 14px !important; }

/* imagens */
.photo, .character-scene, .care-panel-art, .tooth-stage, .anatomy-visual-new, .cinema-photo { background: rgba(43, 15, 87, .5) !important; border-radius: 20px !important; border-color: rgba(255, 255, 255, .35) !important; }
.shell img { border-radius: 16px; }
.fallback { display: none !important; }
.stage-caption, .anatomy-image-note, .stage-image-description, .cinema-note, .source, .foot, .anatomy-disclaimer, .game-progress { color: var(--lilas-200) !important; background: none !important; }
.care-tip, .tissue-fact, .cinema-fact, .tissue-location, .game-feedback, .tissue-description {
  background: rgba(43, 15, 87, .5) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .3) !important; border-radius: 16px !important;
}
.shell a { color: var(--destaque) !important; }
.shell a.btn { color: #fff !important; }
.shell a.btn.primary { color: var(--tinta-escura) !important; }

/* cartões e detalhes que ainda vinham claros */
.age-world-card, .path-card, .glow {
  background: rgba(43, 15, 87, .5) !important; color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .32) !important; border-radius: 20px !important; box-shadow: none !important;
}
.path-card { font-family: var(--fonte-titulo) !important; cursor: pointer; }
.symbol { background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(150, 90, 235, .35)) !important; border: 1px solid rgba(255, 255, 255, .5); }
.symbol:empty { display: none !important; }
.shell .progress { background: rgba(255, 255, 255, .22) !important; }
.shell .progress > * { background: linear-gradient(180deg, #ffe680, var(--destaque)) !important; }
.care-card img { background: rgba(43, 15, 87, .5) !important; }
/* atalhos flutuantes antigos: as abas do topo já fazem esse papel */
body > a { display: none !important; }

/* ---------- Histórias com escolhas (painel que abre em "Investigar") ---------- */
html body .shell .game-panel, html body .shell .game-panel.open {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 40%), rgba(58, 22, 122, .92) !important;
  border: 1.5px solid var(--vidro-brilho) !important; color: #fff !important;
}
html body .shell .game-panel h3 { color: #fff !important; font-size: clamp(21px, 2.4vw, 28px) !important; }
html body .shell .story-scene {
  background: rgba(24, 6, 60, .5) !important; border: 1px solid rgba(255, 255, 255, .28); border-radius: 20px !important;
  grid-template-columns: minmax(200px, 42%) 1fr !important; gap: 20px !important; padding: 14px !important; align-items: center !important;
}
html body .shell .story-scene img { display: block; width: 100% !important; max-width: none !important; height: auto !important; border-radius: 16px !important; background: rgba(255, 255, 255, .08); }
html body .shell .story-scene p { color: #fff !important; font-size: 17px; line-height: 1.6 !important; }
html body .shell .story-scene strong { display: block; margin-top: 8px; color: var(--destaque) !important; font-family: var(--fonte-titulo); font-weight: 600; font-size: 18px; }
html body .shell .story-kicker { color: var(--destaque) !important; font-family: var(--fonte-titulo); }
html body .shell .story-bar { background: rgba(255, 255, 255, .22) !important; }
html body .shell .story-bar span { background: linear-gradient(90deg, #ffe680, var(--destaque)) !important; }
html body .shell #charAnswers > button {
  display: block; width: 100%; margin-top: 10px; padding: 13px 16px !important; text-align: left; border-radius: 16px !important;
  font: 700 16px/1.35 var(--fonte-texto) !important; color: #fff !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(150, 90, 235, .3)) !important; border: 1.5px solid rgba(255, 255, 255, .55) !important;
}
html body .shell #charAnswers > button.correct { background: linear-gradient(180deg, #5fe0ae, #129468) !important; border-color: #fff !important; }
html body .shell #charAnswers > button.incorrect { background: linear-gradient(180deg, #ff8fc0, #d6347b) !important; border-color: #fff !important; }
html body .shell #charAnswers > button:disabled { opacity: 1; cursor: default; }
html body .shell .story-feedback { background: rgba(18, 148, 104, .32) !important; border-left: 4px solid #5fe0ae !important; color: #fff !important; border-radius: 14px !important; }
html body .shell .story-feedback strong { color: var(--destaque) !important; }
html body .shell .ouvir-etapa { margin-top: 12px; }
@media (max-width: 700px) { html body .shell .story-scene { grid-template-columns: 1fr !important; } }
/* a página original fixa o fundo claro pelo identificador do painel; aqui usamos o mesmo identificador para vencer */
html body .shell #charGame, html body .shell #charGame.open {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 40%), rgba(58, 22, 122, .94) !important;
  border: 1.5px solid var(--vidro-brilho) !important; color: #fff !important;
}
html body .shell #charGame h3, html body .shell #charGame .game-progress { color: #fff !important; }
html body .shell #charGame .game-progress { color: var(--lilas-200) !important; }
/* o espaço vazio à esquerda era de uma imagem que não existe (lila_3d.png); a cena já tem a imagem da etapa */
html body .shell #charGame::before { display: none !important; content: none !important; }
