/* O Leitor de Mentes · folha de estilo do jogo. Palco fixo 1920x1080 escalado para caber na janela. */

:root {
  --fundo: #0b1320;
  --petroleo: #10303a;
  --ambar: #d4a24c;
  --ambar-claro: #efc46e;
  --osso: #e8e0d0;
  --sangue: #8c1d2b;
  --papel: #efe6d2;
  --cartao: rgba(16, 48, 58, 0.62);
  --cartao-forte: rgba(11, 19, 32, 0.84);
  --sombra: 0 24px 60px rgba(0, 0, 0, 0.45);
  --raio: 22px;
  --serif: 'Playfair', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Elite', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--fundo); color: var(--osso); font-family: var(--sans); overflow: hidden; }
button { font: inherit; color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ambar-claro); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; color: var(--osso); }
p { margin: 0; }

#moldura { position: fixed; inset: 0; background: var(--fundo); }
#palco { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; font-size: 24px; line-height: 1.4; background: radial-gradient(120% 90% at 50% 10%, #11283a 0%, var(--fundo) 60%, #060b14 100%); }
#palco::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E"); z-index: 50; }

.tela { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.tela.entrou { opacity: 1; }
.tela.saindo { opacity: 0; transition-duration: 0.22s; }
.modo-teste .tela, .modo-teste .painel-fundo, .modo-teste .painel, .modo-teste * { transition: none !important; animation: none !important; }

/* ---------- figura (imagem com reserva) ---------- */
.figura { position: relative; overflow: hidden; background: linear-gradient(135deg, #16404b 0%, #0b1320 55%, #050910 100%); }
.figura img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; }
.figura img.carregada { opacity: 1; }
.figura .rotulo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; font-family: var(--serif); font-size: 44px; color: rgba(212, 162, 76, 0.32); opacity: 0; letter-spacing: 0.04em; }
.figura.sem-imagem .rotulo { opacity: 1; }
.figura.sem-imagem::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 70% 30%, rgba(212, 162, 76, 0.12), transparent 70%); }
.fundo-cena { position: absolute; inset: 0; }
.fundo-cena.desfocada img { filter: blur(14px) brightness(0.45) saturate(0.8); transform: scale(1.06); }
.fundo-cena.desfocada.escura img { filter: blur(18px) brightness(0.3); }
.fundo-cena.escurecida img { filter: brightness(0.55); }
.fundo-cena.escurecida-leve img { filter: brightness(0.78); }
.fundo-cena.desfocada .rotulo, .fundo-cena.escurecida .rotulo { font-size: 32px; opacity: 0; }
.fundo-cena.desfocada.sem-imagem .rotulo { opacity: 0.6; }

.retrato { border-radius: 24px; background: linear-gradient(160deg, #1b4a57 0%, #0e2a33 60%, #091620 100%); box-shadow: var(--sombra); flex: none; }
.retrato .rotulo { padding: 0; }
.retrato .silhueta { width: 70%; height: 70%; }
.retrato.grande { width: 220px; height: 220px; }
.retrato.medio { width: 260px; height: 300px; }
.retrato.pequeno { width: 120px; height: 140px; border-radius: 16px; }
.retrato.mini { width: 72px; height: 72px; border-radius: 14px; box-shadow: none; }
.retrato.cartao { width: 100%; height: 300px; border-radius: 18px 18px 0 0; box-shadow: none; }
.retrato.inter { width: 100%; height: 440px; }
.retrato.quadro { width: 150px; height: 150px; border-radius: 10px; box-shadow: none; }

/* ---------- componentes ---------- */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 38px; border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--ambar-claro), var(--ambar)); color: #1b1407; font-weight: 600; font-size: 26px; cursor: pointer; box-shadow: 0 12px 30px rgba(212, 162, 76, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, opacity 0.15s ease; white-space: nowrap; }
.botao:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 36px rgba(212, 162, 76, 0.36); }
.botao:active:not(:disabled) { transform: translateY(0); }
.botao:disabled { opacity: 0.38; cursor: default; }
.botao .icone { width: 30px; height: 30px; }
.botao .icone .a { fill: #1b1407; } .botao .icone .b { fill: var(--ambar-claro); } .botao .icone .c { fill: #1b1407; } .botao .icone .s { fill: var(--sangue); }
.botao.secundario { background: rgba(232, 224, 208, 0.09); color: var(--osso); box-shadow: inset 0 0 0 2px rgba(232, 224, 208, 0.16); backdrop-filter: blur(10px); }
.botao.secundario:hover:not(:disabled) { background: rgba(232, 224, 208, 0.15); box-shadow: inset 0 0 0 2px rgba(232, 224, 208, 0.3); }
.botao.secundario .icone .a { fill: var(--ambar); } .botao.secundario .icone .b { fill: var(--fundo); } .botao.secundario .icone .c { fill: var(--osso); }
.botao.secundario.ativo { background: rgba(140, 29, 43, 0.35); box-shadow: inset 0 0 0 2px rgba(212, 80, 90, 0.6); }
.botao.compacto { padding: 12px 24px; font-size: 22px; }
.botao.compacto .icone { width: 24px; height: 24px; }
.botao.grande { padding: 24px 54px; font-size: 30px; }
.botao.pulsar { animation: pulsar 2.4s ease-in-out infinite; }
@keyframes pulsar { 0%, 100% { box-shadow: 0 12px 30px rgba(212, 162, 76, 0.28); } 50% { box-shadow: 0 12px 50px rgba(212, 162, 76, 0.6); } }
.botao.flutuante { position: absolute; right: 60px; bottom: 50px; }
.botao.flutuante-esq { position: absolute; left: 60px; bottom: 50px; }

.icone { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.icone .a { fill: var(--ambar); } .icone .b { fill: var(--fundo); } .icone .c { fill: var(--osso); } .icone .s { fill: var(--sangue); }

.selo { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; background: rgba(11, 19, 32, 0.78); backdrop-filter: blur(10px); font-weight: 600; font-size: 22px; color: var(--osso); white-space: nowrap; }
.selo .icone { width: 26px; height: 26px; }
.selo .rotulo { opacity: 0.85; }
.selo .num { color: var(--ambar-claro); }
.selo.pequeno { padding: 6px 14px; font-size: 20px; }
.selo.ambar { background: rgba(212, 162, 76, 0.18); }
.selo.ok { background: rgba(80, 160, 110, 0.22); }
.selo.ok .num { color: #8fd19e; }
.selo.neutro { background: rgba(232, 224, 208, 0.1); }
.selo.vermelho { background: rgba(140, 29, 43, 0.35); }
.selo.vermelho .num { color: #f08a94; }

.cartao { background: var(--cartao); border-radius: var(--raio); padding: 28px 32px; backdrop-filter: blur(12px); box-shadow: var(--sombra); }
.sobretitulo { font-size: 20px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ambar); font-weight: 600; }
.suave { color: rgba(232, 224, 208, 0.62); font-size: 22px; }
.centro { text-align: center; }
.vermelho { color: #e06a74; }
.mono { font-family: var(--mono); }

.barra-topo { position: absolute; top: 0; left: 0; right: 0; height: 118px; padding: 26px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 5; background: linear-gradient(180deg, rgba(5, 9, 16, 0.78), rgba(5, 9, 16, 0)); }
.barra-topo .esq, .barra-topo .dir { display: flex; align-items: center; gap: 16px; }
.titulo-barra { display: flex; flex-direction: column; margin-left: 12px; }
.titulo-barra .sobre { font-size: 20px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ambar); font-weight: 600; }
.titulo-barra .nome { font-family: var(--serif); font-size: 36px; line-height: 1.1; }

/* ---------- painéis (modais) ---------- */
.painel-fundo { position: absolute; inset: 0; z-index: 40; background: rgba(5, 9, 16, 0.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s ease; }
.painel-fundo.aberto { opacity: 1; }
.painel { width: 860px; max-height: 920px; overflow: auto; background: var(--cartao-forte); border-radius: 28px; padding: 44px 48px; box-shadow: var(--sombra), inset 0 0 0 1px rgba(212, 162, 76, 0.18); transform: translateY(16px) scale(0.98); transition: transform 0.25s ease; }
.painel-fundo.aberto .painel { transform: none; }
.painel h2 { font-size: 40px; margin-bottom: 16px; }
.painel p { font-size: 26px; margin-bottom: 14px; }
.painel-acoes { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.painel-fundo.lateral { justify-content: flex-end; align-items: stretch; background: linear-gradient(270deg, rgba(5, 9, 16, 0.55), rgba(5, 9, 16, 0.15)); }
.painel-fundo.lateral .painel { width: 700px; max-height: none; height: 100%; border-radius: 0; transform: translateX(30px); padding-top: 60px; }
.painel-fundo.lateral.aberto .painel { transform: none; }
.painel-evidencia .ev-cabecalho { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.painel-evidencia .ev-cabecalho h2 { font-size: 38px; margin: 0; }
.painel-evidencia .ev-relato { font-size: 27px; line-height: 1.5; margin-bottom: 26px; min-height: 120px; }
.ev-icone { width: 76px; height: 76px; border-radius: 20px; background: var(--petroleo); display: flex; align-items: center; justify-content: center; flex: none; box-shadow: inset 0 0 0 1px rgba(212, 162, 76, 0.2); }
.ev-icone .icone { width: 48px; height: 48px; }
.ev-icone.grande { width: 100px; height: 100px; }
.ev-icone.grande .icone { width: 64px; height: 64px; }
.pericia-resultado { margin-top: 20px; }
.pericia-resultado:empty { display: none; }
.pericia-feita { margin-top: 12px; background: rgba(80, 160, 110, 0.12); border-radius: 18px; padding: 18px 22px; }
.pericia-feita p { font-size: 24px; margin-top: 10px; margin-bottom: 0; }
.dica-oferta { color: var(--ambar-claro); font-weight: 600; }
.dica-item { background: rgba(212, 162, 76, 0.1); border-radius: 16px; padding: 16px 22px; margin-bottom: 12px; }
.dica-item p { margin: 6px 0 0; }

.cartao-evidencia { display: flex; gap: 18px; align-items: flex-start; background: rgba(239, 230, 210, 0.06); border-radius: 18px; padding: 16px 18px; }
.cartao-evidencia .ev-nome { font-weight: 600; font-size: 25px; }
.cartao-evidencia .ev-desc { font-size: 22px; color: rgba(232, 224, 208, 0.75); margin-top: 4px; }
.cartao-evidencia .ev-quem { display: inline-block; margin-top: 10px; font-size: 20px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ambar); font-weight: 600; }

/* ---------- título ---------- */
.tela-titulo .veu-titulo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 9, 16, 0.75) 0%, rgba(5, 9, 16, 0.1) 45%, rgba(5, 9, 16, 0.75) 100%); }
.titulo-bloco { position: absolute; top: 120px; left: 0; right: 0; text-align: center; }
.titulo-nome { font-size: 140px; line-height: 1; color: var(--ambar-claro); letter-spacing: 0.04em; text-shadow: 0 12px 50px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 162, 76, 0.25); margin: 14px 0 26px; }
.titulo-sub { font-size: 28px; color: rgba(232, 224, 208, 0.85); max-width: 900px; margin: 0 auto; }
.titulo-acao { position: absolute; bottom: 110px; left: 0; right: 0; text-align: center; }

/* ---------- menu ---------- */
.tela-menu .fundo-cena.lado-direito { left: 700px; }
.tela-menu .fundo-cena.lado-direito img { object-position: 60% 50%; }
.veu-menu { position: absolute; inset: 0; background: linear-gradient(90deg, var(--fundo) 0%, var(--fundo) 38%, rgba(11, 19, 32, 0.6) 58%, rgba(11, 19, 32, 0.15) 100%); }
.menu-coluna { position: absolute; left: 140px; top: 120px; bottom: 100px; width: 640px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-marca h1 { font-size: 78px; line-height: 1.05; color: var(--ambar-claro); margin-top: 10px; }
.menu-lista { display: flex; flex-direction: column; gap: 18px; width: 520px; }
.menu-lista .botao { justify-content: flex-start; padding-left: 34px; }
.menu-rodape { color: rgba(232, 224, 208, 0.55); font-size: 22px; max-width: 560px; }

/* ---------- introdução ---------- */
.intro-figura { position: absolute; inset: 0; }
.intro-figura .figura { position: absolute; inset: 0; }
.veu-intro { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 9, 16, 0.1) 0%, rgba(5, 9, 16, 0) 40%, rgba(5, 9, 16, 0.9) 78%, rgba(5, 9, 16, 0.97) 100%); }
.intro-legenda { position: absolute; left: 200px; right: 200px; bottom: 70px; }
.intro-legenda .texto { font-family: var(--serif); font-size: 42px; line-height: 1.35; min-height: 170px; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8); }
.intro-acoes { display: flex; gap: 18px; margin-top: 10px; }
.dialogo-pontos { display: flex; gap: 10px; margin: 22px 0 18px; }
.ponto { width: 14px; height: 14px; border-radius: 50%; background: rgba(232, 224, 208, 0.25); }
.ponto.visto { background: rgba(212, 162, 76, 0.55); }
.ponto.atual { background: var(--ambar-claro); box-shadow: 0 0 14px rgba(212, 162, 76, 0.8); }

.veu-escuro { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 30%, rgba(27, 74, 87, 0.45), rgba(11, 19, 32, 0) 70%); }
.veu-escuro.relojoeiro { background: radial-gradient(70% 55% at 50% 35%, rgba(140, 29, 43, 0.28), rgba(11, 19, 32, 0) 70%); }
.titulo-tela { font-size: 64px; text-align: center; margin-bottom: 40px; }
.papeis { position: absolute; inset: 0; padding: 90px 160px 60px; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.papeis-cartoes { display: flex; gap: 40px; }
.papel { flex: 1; display: flex; gap: 32px; align-items: flex-start; }
.papel h2 { font-size: 44px; margin: 6px 0 16px; }
.papel p { margin-top: 18px; font-size: 24px; line-height: 1.5; color: rgba(232, 224, 208, 0.9); }
.papel.mentalista { box-shadow: var(--sombra), inset 0 0 0 1px rgba(212, 162, 76, 0.3); }
.papel.agente { box-shadow: var(--sombra), inset 0 0 0 1px rgba(111, 168, 220, 0.3); }
.papel.agente .sobretitulo { color: #8cc0ee; }

/* ---------- casos ---------- */
.casos-grade { position: absolute; top: 150px; left: 120px; right: 120px; bottom: 70px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 28px; }
.caso-cartao { text-align: left; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 10px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.caso-cartao:hover:not(:disabled) { transform: translateY(-4px); box-shadow: var(--sombra), inset 0 0 0 2px rgba(212, 162, 76, 0.5); }
.caso-cartao h2 { font-size: 40px; line-height: 1.15; }
.caso-cartao .caso-num { font-size: 20px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ambar); font-weight: 600; }
.caso-cartao .caso-sub { font-size: 23px; color: rgba(232, 224, 208, 0.8); flex: 1; }
.caso-cartao .caso-rodape { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.caso-cartao.bloqueado { opacity: 0.55; cursor: default; }
.caso-cartao.final { box-shadow: var(--sombra), inset 0 0 0 1px rgba(140, 29, 43, 0.6); }
.caso-cartao.final .caso-num { color: #e06a74; }

/* ---------- briefing e diálogos ---------- */
.briefing-cabecalho { position: absolute; top: 70px; left: 120px; right: 120px; }
.briefing-cabecalho h1 { font-size: 72px; line-height: 1.05; margin-top: 8px; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7); }
.briefing-cabecalho .local { font-size: 26px; color: rgba(232, 224, 208, 0.8); margin-top: 8px; }
.dialogo { position: absolute; left: 120px; right: 120px; bottom: 60px; display: flex; gap: 30px; align-items: flex-end; }
.dialogo-retrato:empty { display: none; }
.balao { flex: 1; background: var(--cartao-forte); border-radius: 28px; padding: 30px 40px 26px; min-height: 230px; backdrop-filter: blur(12px); box-shadow: var(--sombra); position: relative; }
.balao .nome { font-size: 20px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--ambar); margin-bottom: 10px; min-height: 28px; }
.balao .texto { font-size: 31px; line-height: 1.45; min-height: 90px; }
.balao .texto.digitando::after { content: '▍'; color: var(--ambar); animation: piscar 0.9s steps(2) infinite; }
@keyframes piscar { 50% { opacity: 0; } }
.dialogo.narracao .balao { background: rgba(5, 9, 16, 0.7); }
.dialogo.narracao .texto { font-family: var(--serif); font-style: italic; font-size: 33px; color: rgba(232, 224, 208, 0.95); }
.dialogo.bilhete .balao { background: var(--papel); color: #2a241c; box-shadow: var(--sombra), 0 0 0 10px rgba(239, 230, 210, 0.12); transform: rotate(-0.6deg); }
.dialogo.bilhete .nome { color: var(--sangue); }
.dialogo.bilhete .texto { font-family: var(--mono); font-size: 34px; line-height: 1.5; color: #2a241c; }
.dialogo.bilhete .texto.digitando::after { color: var(--sangue); }
.dialogo-acoes { display: flex; gap: 14px; margin-top: 18px; }
.dialogo .dialogo-pontos { position: absolute; right: 44px; top: 34px; margin: 0; }
.dialogo.bilhete .dialogo-pontos .ponto { background: rgba(42, 36, 28, 0.25); }
.dialogo.bilhete .dialogo-pontos .ponto.atual { background: var(--sangue); box-shadow: none; }
.dialogo.bilhete .botao.secundario { background: rgba(42, 36, 28, 0.08); color: #2a241c; box-shadow: inset 0 0 0 2px rgba(42, 36, 28, 0.25); }
.dialogo.bilhete .botao.secundario .icone .a { fill: var(--sangue); }

/* ---------- hub ---------- */
.hub-corpo { position: absolute; top: 150px; left: 120px; right: 120px; bottom: 80px; display: grid; grid-template-columns: 640px 1fr; gap: 40px; align-items: center; }
.hub-ficha { display: flex; flex-direction: column; gap: 14px; align-self: center; }
.hub-ficha h2 { font-size: 40px; line-height: 1.15; }
.hub-sub { font-size: 24px; color: rgba(232, 224, 208, 0.85); line-height: 1.45; }
.hub-vitima { display: flex; gap: 20px; align-items: center; margin-top: 14px; background: rgba(5, 9, 16, 0.35); border-radius: 18px; padding: 16px; }
.hub-vitima .nome { font-size: 28px; font-weight: 600; margin-top: 4px; }
.hub-vitima .papel { font-size: 21px; color: rgba(232, 224, 208, 0.75); }
.hub-desc { font-size: 22px; color: rgba(232, 224, 208, 0.82); line-height: 1.45; }
.hub-acoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-content: center; }
.hub-acao { border: 0; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 18px; min-height: 250px; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.hub-acao:hover { transform: translateY(-4px); background: rgba(22, 64, 75, 0.78); box-shadow: var(--sombra), inset 0 0 0 2px rgba(212, 162, 76, 0.45); }
.hub-acao > .icone { width: 64px; height: 64px; }
.hub-acao .nome { font-family: var(--serif); font-size: 34px; }
.hub-acao .desc { font-size: 22px; color: rgba(232, 224, 208, 0.75); margin-top: 6px; }
.hub-acao.ir-acusar { box-shadow: var(--sombra), inset 0 0 0 1px rgba(140, 29, 43, 0.6); }
.hub-acao.dica { background: rgba(212, 162, 76, 0.12); }

/* ---------- cena ---------- */
.cena-area { position: absolute; left: 0; right: 0; top: 112px; bottom: 112px; display: flex; align-items: center; justify-content: center; }
.cena-quadro { position: relative; height: 100%; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.cena-quadro .figura { position: absolute; inset: 0; }
.cena-rodape { position: absolute; left: 0; right: 0; bottom: 0; height: 112px; display: flex; align-items: center; gap: 28px; padding: 0 60px; }
.cena-rodape .cena-texto { flex: 1; font-size: 21px; line-height: 1.35; color: rgba(232, 224, 208, 0.9); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cena-rodape .selo { flex: none; }
.hotspot { position: absolute; border: 0; background: transparent; border-radius: 14px; cursor: pointer; padding: 0; transition: box-shadow 0.25s ease, background 0.25s ease; }
.hotspot:hover, .cena-quadro.revelar .hotspot { background: rgba(212, 162, 76, 0.14); box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.75), 0 0 46px rgba(212, 162, 76, 0.45); }
.hotspot .marca { position: absolute; right: -10px; top: -10px; width: 26px; height: 26px; border-radius: 50%; background: var(--ambar-claro); box-shadow: 0 0 0 4px rgba(11, 19, 32, 0.7); opacity: 0; transform: scale(0.5); transition: all 0.25s ease; }
.hotspot.visto .marca { opacity: 1; transform: none; }
.hotspot.visto { box-shadow: 0 0 0 2px rgba(212, 162, 76, 0.35); }


/* ---------- perícia ---------- */
.pericia-corpo { position: absolute; top: 150px; left: 120px; right: 120px; bottom: 60px; overflow: auto; }
.pericia-intro { font-size: 24px; color: rgba(232, 224, 208, 0.8); margin-bottom: 18px; max-width: 1100px; }
.pericia-lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pericia-cartao { border: 0; cursor: pointer; text-align: left; display: flex; gap: 22px; align-items: flex-start; padding: 20px 26px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.pericia-cartao:hover:not(:disabled) { transform: translateY(-3px); box-shadow: var(--sombra), inset 0 0 0 2px rgba(212, 162, 76, 0.5); }
.pericia-cartao:disabled { cursor: default; }
.pericia-cartao.estado-feita { opacity: 0.8; }
.pericia-cartao.estado-bloqueada, .pericia-cartao.estado-sem-usos { opacity: 0.55; }
.pericia-icone { width: 64px; height: 64px; border-radius: 18px; background: rgba(5, 9, 16, 0.5); display: flex; align-items: center; justify-content: center; flex: none; }
.pericia-icone .icone { width: 38px; height: 38px; }
.pericia-texto { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pericia-texto .nome { font-size: 28px; font-weight: 600; }
.pericia-texto .desc { font-size: 22px; color: rgba(232, 224, 208, 0.78); }

/* ---------- suspeitos ---------- */
.suspeitos-grade { position: absolute; top: 150px; left: 100px; right: 100px; bottom: 60px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; align-content: start; }
.pessoa-cartao { border: 0; cursor: pointer; padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: left; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.pessoa-cartao:hover { transform: translateY(-4px); box-shadow: var(--sombra), inset 0 0 0 2px rgba(212, 162, 76, 0.5); }
.pessoa-cartao .retrato { border-radius: 0; }
.pessoa-info { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pessoa-info .nome { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.pessoa-info .papel { font-size: 20px; color: rgba(232, 224, 208, 0.75); min-height: 56px; }
.pessoa-cartao.testemunha { box-shadow: var(--sombra), inset 0 0 0 1px rgba(232, 224, 208, 0.12); }

/* ---------- interrogatório ---------- */
.inter-corpo { position: absolute; top: 140px; left: 80px; right: 80px; bottom: 40px; display: grid; grid-template-columns: 500px 1fr; gap: 36px; }
.inter-lado { display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.inter-ficha { padding: 18px 24px; }
.inter-ficha .nome { font-family: var(--serif); font-size: 30px; }
.inter-ficha .papel { font-size: 20px; color: var(--ambar); margin-bottom: 8px; }
.inter-ficha p { font-size: 21px; line-height: 1.4; color: rgba(232, 224, 208, 0.85); }
.inter-centro { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.balao.resposta { min-height: 250px; flex: none; }
.balao.resposta .texto { font-size: 29px; }
.balao .nota { margin-top: 12px; font-size: 22px; color: var(--ambar-claro); font-style: italic; }
.balao .nota:empty { display: none; }
.balao .ganho { margin-top: 14px; }
.linha-leitura { display: flex; align-items: center; gap: 20px; }
.leitura-botao { background: linear-gradient(180deg, #2b6b7d, #1b4a57); color: var(--osso); box-shadow: 0 12px 30px rgba(27, 74, 87, 0.5); }
.leitura-botao .icone .a { fill: var(--ambar-claro); } .leitura-botao .icone .b { fill: #10303a; }
.leitura-box { display: none; background: rgba(27, 74, 87, 0.55); border-radius: 22px; padding: 20px 26px; backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(212, 162, 76, 0.3); }
.leitura-box.visivel { display: block; }
.leitura-box.vazia { box-shadow: inset 0 0 0 1px rgba(232, 224, 208, 0.15); }
.leitura-cabecalho { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.leitura-cabecalho .nome { font-size: 20px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ambar); font-weight: 600; }
.leitura-box .texto { font-size: 26px; line-height: 1.45; font-style: italic; }
.leitura-box .selo { margin-top: 12px; }
.perguntas { display: flex; flex-direction: column; gap: 10px; overflow: auto; padding-right: 8px; min-height: 0; }
.pergunta { display: flex; align-items: center; gap: 16px; text-align: left; border: 0; border-radius: 16px; padding: 14px 22px; background: rgba(232, 224, 208, 0.08); color: var(--osso); font-size: 24px; cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; }
.pergunta:hover { background: rgba(212, 162, 76, 0.2); transform: translateX(4px); }
.pergunta .marca { width: 28px; height: 28px; border-radius: 50%; background: rgba(5, 9, 16, 0.5); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pergunta .marca .icone { width: 18px; height: 18px; }
.pergunta.feita { color: rgba(232, 224, 208, 0.7); }
.pergunta.atual { background: rgba(212, 162, 76, 0.25); color: var(--osso); }

/* ---------- quadro ---------- */
.quadro-area { position: absolute; left: 0; top: 0; width: 1500px; height: 1080px; overflow: hidden; }
.quadro-area .fundo-cena.cortica { background: radial-gradient(90% 80% at 40% 20%, #6a4a2a 0%, #4a3119 55%, #2c1c0d 100%); }
.quadro-area .fundo-cena.cortica .rotulo { opacity: 0; }
.quadro-area .fundo-cena.cortica.sem-imagem::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E"); mix-blend-mode: multiply; opacity: 0.6; }
.fios { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.fios line { stroke: var(--sangue); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.6)); pointer-events: stroke; cursor: pointer; }
.quadro-cartao { position: absolute; z-index: 3; cursor: grab; user-select: none; touch-action: none; background: var(--papel); color: #2a241c; border-radius: 8px; padding: 16px 14px 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.quadro-cartao.arrastando { cursor: grabbing; transform: scale(1.04) rotate(1deg); box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55); z-index: 4; }
.quadro-cartao.selecionado { box-shadow: 0 0 0 4px var(--sangue), 0 14px 30px rgba(0, 0, 0, 0.5); }
.quadro-area.modo-ligar .quadro-cartao { cursor: pointer; }
.quadro-cartao .alfinete { position: absolute; top: -10px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff6d7a, var(--sangue) 60%, #4a0d15); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); }
.quadro-cartao.suspeito { width: 180px; text-align: center; transform: rotate(-1.5deg); }
.quadro-cartao.suspeito .retrato { margin: 0 auto 10px; }
.quadro-cartao.suspeito .nome { font-family: var(--mono); font-size: 20px; line-height: 1.15; }
.quadro-cartao.evidencia { width: 210px; display: flex; gap: 12px; align-items: center; transform: rotate(1deg); }
.quadro-cartao.evidencia .ev-icone { width: 54px; height: 54px; border-radius: 12px; background: var(--petroleo); }
.quadro-cartao.evidencia .ev-icone .icone { width: 34px; height: 34px; }
.quadro-cartao.evidencia .nome { font-family: var(--mono); font-size: 20px; line-height: 1.2; }
.quadro-cartao:nth-child(odd) { transform: rotate(1.5deg); }
.quadro-lado { position: absolute; left: 1500px; top: 0; width: 420px; height: 1080px; background: var(--cartao-forte); padding: 44px 36px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.quadro-lado > .botao:last-child { margin-top: auto; flex: none; }
.quadro-lado .botao { white-space: normal; text-align: center; }
.quadro-lado h2 { font-size: 34px; line-height: 1.15; }
.quadro-resumo { display: flex; gap: 10px; flex-wrap: wrap; }
.relojoeiro-bloco { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 6px; }
.pista-relojoeiro { display: flex; gap: 14px; background: rgba(140, 29, 43, 0.18); border-radius: 16px; padding: 12px 14px; flex: none; }
.pista-relojoeiro .icone { width: 36px; height: 36px; flex: none; margin-top: 4px; }
.pista-relojoeiro .icone .a { fill: #e06a74; }
.pista-relojoeiro .nome { font-weight: 600; font-size: 22px; }
.pista-relojoeiro p { font-size: 20px; color: rgba(232, 224, 208, 0.8); line-height: 1.3; margin-top: 4px; }

/* ---------- acusação ---------- */
.acusacao-colunas { position: absolute; top: 135px; left: 100px; right: 100px; bottom: 150px; display: grid; grid-template-columns: 1fr 1fr 2.2fr; gap: 28px; }
.acusacao-coluna { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.acusacao-coluna h2 { font-size: 34px; margin-bottom: 8px; }
.acusacao-lista { display: flex; flex-direction: column; gap: 12px; overflow: auto; padding-right: 6px; min-height: 0; }
.acusacao-item { border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 16px; padding: 14px 18px; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.acusacao-item .ev-icone { width: 56px; height: 56px; border-radius: 14px; }
.acusacao-item .ev-icone .icone { width: 34px; height: 34px; }
.acusacao-item .nome { font-size: 23px; font-weight: 600; line-height: 1.25; }
.acusacao-item:hover { background: rgba(22, 64, 75, 0.78); }
.acusacao-item.escolhido { background: rgba(212, 162, 76, 0.22); box-shadow: var(--sombra), inset 0 0 0 3px var(--ambar); }
.acusacao-rodape { position: absolute; left: 100px; right: 100px; bottom: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.veredito .veredito-caixa { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.veredito .veredito-caixa .retrato { margin-bottom: 10px; }
.veredito h2 { font-size: 48px; }
.veredito .consequencia { font-size: 27px; line-height: 1.5; color: rgba(232, 224, 208, 0.95); }
.veredito .painel-acoes { justify-content: center; }
.veredito-caixa.correto .sobretitulo { color: #8fd19e; }
.veredito-caixa.errado .sobretitulo { color: #f08a94; }

/* ---------- resultado ---------- */
.resultado-caixa { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 48px 56px; }
.resultado-caixa h1 { font-size: 56px; line-height: 1.1; }
.estrelas { display: flex; gap: 14px; }
.estrelas .estrela { width: 96px; height: 96px; display: inline-flex; }
.estrelas .estrela .icone { width: 100%; height: 100%; }
.estrelas .estrela .icone .a { fill: rgba(232, 224, 208, 0.14); }
.estrelas .estrela.cheia .icone .a { fill: var(--ambar-claro); filter: drop-shadow(0 0 18px rgba(212, 162, 76, 0.8)); }
.estrelas .estrela.cheia { animation: brotar 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes brotar { from { transform: scale(0.2) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
.caso-rodape .estrelas .estrela { width: 34px; height: 34px; }
.caso-rodape .estrelas { gap: 4px; }
.resultado-pontos { display: flex; align-items: baseline; gap: 12px; font-size: 26px; }
.resultado-pontos .num { font-family: var(--serif); font-size: 72px; color: var(--ambar-claro); }
.resultado-resumo { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.resultado-frase { font-size: 26px; font-style: italic; color: rgba(232, 224, 208, 0.85); }

/* ---------- interlúdio ---------- */
.pista-nova { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 56px; box-shadow: var(--sombra), inset 0 0 0 1px rgba(140, 29, 43, 0.6); }
.pista-nova > .icone { width: 84px; height: 84px; }
.pista-nova > .icone .a { fill: #e06a74; }
.pista-nova h2 { font-size: 46px; }
.pista-nova p { font-size: 27px; line-height: 1.5; }

/* ---------- créditos ---------- */
.creditos-janela { position: absolute; inset: 0; overflow: hidden; }
.creditos-rolo { position: absolute; left: 0; right: 0; top: 1080px; text-align: center; display: flex; flex-direction: column; gap: 46px; animation: rolar 48s linear forwards; }
.modo-teste .creditos-rolo { top: 120px; animation: none; gap: 18px; }
@keyframes rolar { to { transform: translateY(-2700px); } }
.credito .nome { font-family: var(--serif); font-size: 44px; margin-top: 6px; }
.credito:first-child .nome { font-size: 80px; color: var(--ambar-claro); }
.creditos-acao { position: absolute; right: 60px; bottom: 50px; }

/* ---------- configurações ---------- */
.config-caixa { position: absolute; left: 50%; top: 170px; transform: translateX(-50%); width: 980px; display: flex; flex-direction: column; gap: 26px; padding: 44px 52px; }
.config-linha { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: rgba(5, 9, 16, 0.35); border-radius: 18px; padding: 20px 26px; }
.config-linha .nome { font-size: 27px; font-weight: 600; }
.config-linha .suave { font-size: 20px; }
input[type='range'] { width: 320px; accent-color: var(--ambar); height: 36px; }
select { font: 600 24px var(--sans); padding: 12px 20px; border-radius: 14px; border: 0; background: rgba(232, 224, 208, 0.12); color: var(--osso); min-width: 240px; }
select option { color: #1b1407; }
.erro-carga { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 900px; text-align: center; }

/* ---------- barras de rolagem ---------- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(212, 162, 76, 0.35); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212, 162, 76, 0.6); }

/* ---- ajustes da validação visual (05/11) ---- */
.perguntas, .acusacao-lista, .relojoeiro-bloco, .pistas-lista { scrollbar-width: thin; scrollbar-color: rgba(212, 162, 76, 0.6) rgba(255, 255, 255, 0.06); }
.perguntas.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.perguntas.duas-colunas .pergunta { font-size: 23px; padding: 12px 18px; }
.acusacao-coluna.provas .acusacao-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.acusacao-coluna.provas .acusacao-item { padding: 9px 12px; gap: 10px; }
.acusacao-coluna.provas .acusacao-item .ev-icone { width: 44px; height: 44px; border-radius: 11px; }
.acusacao-coluna.provas .acusacao-item .ev-icone .icone { width: 26px; height: 26px; }
.acusacao-coluna.provas .acusacao-item .nome { font-size: 21px; }
.relojoeiro-bloco { gap: 8px; }
.pista-relojoeiro.compacta { align-items: center; gap: 12px; width: 100%; border: 0; color: var(--osso); cursor: pointer; padding: 8px 12px; text-align: left; transition: background 0.15s ease; }
.pista-relojoeiro.compacta:hover { background: rgba(140, 29, 43, 0.4); }
.pista-relojoeiro.compacta .icone { margin-top: 0; width: 30px; height: 30px; }
.pista-relojoeiro.compacta .nome { font-size: 21px; flex: 1; }
.pista-relojoeiro.compacta .icone.fim { width: 18px; height: 18px; opacity: 0.6; }
.suave.pequeno { font-size: 18px; }
.pistas-lista { display: flex; flex-direction: column; gap: 12px; max-height: 720px; overflow: auto; padding-right: 6px; }
.pista-relojoeiro.destaque { box-shadow: inset 0 0 0 2px rgba(224, 106, 116, 0.7); }
.interludio-marca { position: absolute; left: 50%; top: 40%; width: 440px; height: 440px; transform: translate(-50%, -50%); opacity: 0.1; pointer-events: none; }
.interludio-marca .icone { width: 100%; height: 100%; }
.interludio-marca .icone .a { fill: #e06a74; }
.pergunta { padding: 12px 20px; }
.perguntas { gap: 8px; }
.acusacao-coluna.provas .acusacao-lista { gap: 6px; }
.acusacao-coluna.provas .acusacao-item { padding: 8px 12px; }
.painel.veredito { max-height: 980px; }
.veredito .veredito-caixa .retrato.medio { width: 240px; height: 276px; }
.painel[data-painel="pistas-relojoeiro"] { width: 1000px; max-height: 1000px; padding: 36px 44px; }
.pistas-lista { gap: 8px; max-height: none; }
.pistas-lista .pista-relojoeiro { padding: 10px 14px; }
.pistas-lista .pista-relojoeiro p { font-size: 19px; }
.pergunta { padding: 10px 20px; }
.perguntas { gap: 6px; }
