/* Visual adaptado da interface do FreshWomen S3 (game/gui e scripts/screens do jogo):
   - modais em papel amassado (gui/confirm/modal_background) com texto preto
   - botoes pretos de borda branca (gui/button/choice_idle_background), e no hover a
     sombra roxa deslocada #8d41eb e o texto #b685f1, como no confirm.rpy
   - Decort nos titulos e nomes, scripter nos textos de apoio, DejaVuSans no dialogo
   - barra do volume do proprio jogo
   Os arquivos ficam em ui/, copiados pelo montar.py. */

@font-face { font-family: "Decort"; src: url("ui/Decort.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Scripter"; src: url("ui/scripter-regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "DejaVu Sans Jogo"; src: url("ui/DejaVuSans.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "DejaVu Sans Jogo"; src: url("ui/DejaVuSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --preto: #000;
  --papel-texto: #111;
  --creme: #dddacd;
  --roxo: #8d41eb;
  --roxo-claro: #b685f1;
  --cinza: #7a7a7a;
  /* Brancos suaves no lugar do branco puro */
  --suave: #e6e1d4;
  --suave-texto: #eeeae0;
  --suave-borda: rgba(230, 225, 212, .45);
  --fonte-dialogo: "DejaVu Sans Jogo", "DejaVu Sans", Verdana, sans-serif;
  --fonte-titulo: "Decort", "Anton", Impact, sans-serif;
  --fonte-apoio: "Scripter", Georgia, serif;
  --contorno: 0 2px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000,
              2px 2px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000, -2px -2px 0 #000, 0 3px 4px rgba(0,0,0,.7);
}
html, body { height: 100%; background: #000; color: var(--suave-texto); font-family: var(--fonte-dialogo); overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.oculto { display: none !important; }

/* Palco 16:9 centralizado */
#palco { position: absolute; inset: 0; margin: auto;
  width: min(100vw, calc(100vh * 16 / 9)); height: min(100vh, calc(100vw * 9 / 16)); overflow: hidden;
  user-select: none; container-type: size; }
#bg, #video, #sprite { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#video { background: #000; z-index: 1; }
#sprite { object-fit: contain; z-index: 2; pointer-events: none; }

/* ------------------------------------------------------------ botao do jogo */
.btn-jogo { position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 160px; padding: 12px 26px; color: var(--suave); font-family: var(--fonte-dialogo); font-size: 17px;
  letter-spacing: .02em; background: #0d0c10; border: 2px solid var(--suave-borda); border-radius: 6px;
  transition: color .12s, box-shadow .12s, transform .12s; }
.btn-jogo:hover:not(:disabled) { color: var(--roxo-claro); box-shadow: 8px 8px 0 var(--roxo); transform: translate(-2px, -2px); }
.btn-jogo:disabled { opacity: .5; cursor: wait; }
.btn-pequeno { min-width: 0; padding: 7px 14px; font-size: 13px; border-width: 2px; }
.btn-claro { background: transparent; color: #000; border-color: #000; }
.btn-claro:hover:not(:disabled) { color: var(--roxo); }
.btn-rate { min-width: 0; padding: 8px 18px; font-size: 14px; font-weight: 700; border-width: 2px;
  box-shadow: 5px 5px 0 var(--roxo); }
.btn-rate:hover:not(:disabled) { box-shadow: 8px 8px 0 var(--roxo); }

/* Autoplay: texto AUTO + circulo com play */

/* ------------------------------------------------------------ topo */
#topo { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex;
  justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px 26px; }
/* Menu sempre aceso (06/10/2026): antes ficava a 50% e so acendia com o mouse perto do topo */
#topo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,0)); }
#aviso-idiomas { font-family: var(--fonte-titulo); font-size: 15px; letter-spacing: .08em; line-height: 1;
  color: #e7dbfb; text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 10px rgba(141, 65, 235, .6); white-space: nowrap; }
.topo-info { display: flex; flex-direction: column; line-height: 1.1; text-shadow: var(--contorno); }
#progresso { font-family: var(--fonte-apoio); font-size: 14px; color: var(--creme); }
#titulo-cena { font-family: var(--fonte-titulo); font-size: 13px; letter-spacing: .03em; }
.topo-controles { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
/* Barra de controles (06/10/2026): um bloco so, com cara de jogo: vidro roxo escuro com
   brilho roxo na borda, grupos separados por divisorias finas, idioma em controle
   segmentado (ativo em roxo), slider roxo e autoplay como chave. O RATE VOICE fica fora. */
.dock { display: flex; align-items: center; height: 44px; padding: 0 6px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(58, 30, 92, .82), rgba(24, 12, 40, .86));
  border: 1px solid rgba(182, 133, 241, .45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45), 0 0 16px rgba(141, 65, 235, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.dock-grupo { display: flex; align-items: center; gap: 9px; height: 100%; padding: 0 12px; color: #d9c6f7; }
.dock-grupo + .dock-grupo { border-left: 1px solid rgba(182, 133, 241, .25); }
.dock-ico { display: flex; width: 18px; height: 18px; }
.dock-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
.dock-rotulo { font-family: var(--fonte-titulo); font-size: 16px; letter-spacing: .08em; line-height: 1; color: #e7dbfb; }
.seg { display: flex; padding: 2px; border-radius: 999px; background: rgba(10, 4, 20, .55);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5); }
.op-idioma { min-width: 34px; height: 24px; padding: 0 9px; border-radius: 999px; font-family: inherit;
  font-size: 12px; font-weight: 700; line-height: 24px; letter-spacing: .05em; color: rgba(217, 198, 247, .6);
  transition: background .15s, color .15s, box-shadow .15s; }
.op-idioma:hover:not(:disabled):not(.ativo) { color: #fff; }
.op-idioma.ativo { color: #fff; background: linear-gradient(180deg, #a865ff, #7a2fe0);
  box-shadow: 0 0 10px rgba(168, 101, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.op-idioma:disabled { opacity: .35; cursor: not-allowed; }
.op-idioma.ativo:disabled { opacity: .55; }

/* Volume da trilha: trilho fino roxo (--v vem do app.js) */
#rng-trilha { -webkit-appearance: none; appearance: none; width: 92px; height: 18px; background: transparent; cursor: pointer; }
#rng-trilha::-webkit-slider-runnable-track { height: 5px; border-radius: 5px;
  background: linear-gradient(90deg, #a865ff var(--v, 70%), rgba(10, 4, 20, .6) var(--v, 70%)); }
#rng-trilha::-moz-range-track { height: 5px; border-radius: 5px; background: rgba(10, 4, 20, .6); }
#rng-trilha::-moz-range-progress { height: 5px; border-radius: 5px; background: #a865ff; }
#rng-trilha::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; margin-top: -5px;
  border: 2px solid #a865ff; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(168, 101, 255, .8); }
#rng-trilha::-moz-range-thumb { width: 11px; height: 11px; border: 2px solid #a865ff; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px rgba(168, 101, 255, .8); }

/* Autoplay como chave */
#btn-autoplay { font-family: var(--fonte-titulo); font-size: 16px; letter-spacing: .08em; line-height: 1; color: #e7dbfb; }
#btn-autoplay:hover { color: #fff; }
.chave { position: relative; width: 30px; height: 17px; border-radius: 999px; background: rgba(10, 4, 20, .6);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5); transition: background .15s, box-shadow .15s; }
.chave::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%;
  background: #d9c6f7; transition: transform .15s, background .15s; }
#btn-autoplay.ativo { color: #fff; }
#btn-autoplay.ativo .chave { background: linear-gradient(180deg, #a865ff, #7a2fe0); box-shadow: 0 0 10px rgba(168, 101, 255, .6); }
#btn-autoplay.ativo .chave::after { transform: translateX(13px); background: #fff; }

/* ------------------------------------------------------------ fala (caixa do jogo) */
#legenda { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 2.2cqh 12% 4.5cqh;
  min-height: 25.6cqh;
  text-align: center; display: flex; flex-direction: column; justify-content: center; }
.legenda-cab { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: .4cqh; }
#legenda-nome { font-family: var(--fonte-titulo); font-weight: 400; font-size: clamp(22px, 4.2cqh, 46px);
  letter-spacing: .03em; text-shadow: var(--contorno); line-height: 1; }
#legenda-texto { font-size: clamp(16px, 3.1cqh, 34px); line-height: 1.35; text-shadow: var(--contorno); }
.ic-idioma { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; border: 1px solid var(--suave-borda);
  background: rgba(0,0,0,.45); color: var(--suave); }
.ic-idioma.ativo { background: rgba(230, 225, 212, .85); border-color: transparent; color: #1b1a1f; }
.ic-idioma:disabled { opacity: .3; cursor: not-allowed; }
#dica { position: absolute; right: 20px; bottom: 1.2cqh; z-index: 6; font-family: var(--fonte-apoio);
  font-size: 13px; color: var(--creme); text-shadow: var(--contorno); }
/* Clique: metade direita avanca, esquerda volta. A metade sob o mouse mostra a seta dela. */
.seta-lado { position: absolute; top: 0; bottom: 0; width: 14%; z-index: 5; pointer-events: none;
  display: flex; align-items: center; font-size: 96px; line-height: 1; color: var(--creme);
  text-shadow: var(--contorno); opacity: 0; transition: opacity .2s ease; }
#seta-voltar { left: 0; justify-content: flex-start; padding-left: 22px;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0)); }
#seta-avancar { right: 0; justify-content: flex-end; padding-right: 22px;
  background: linear-gradient(270deg, rgba(0,0,0,.28), rgba(0,0,0,0)); }
#palco.mira-esq #seta-voltar, #palco.mira-dir #seta-avancar { opacity: .55; }

/* ------------------------------------------------------------ telas e papel */
.tela { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .65); padding: 16px; }
.tela-cheia { background: #000 url("ui/fundo-menu.webp") center / cover no-repeat; }
.papel { position: relative; width: min(560px, 92%); padding: 44px 50px 50px; color: var(--papel-texto);
  background: url("ui/papel.webp") center / 100% 100% no-repeat; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.6)); }
.papel-largo { width: min(620px, 94%); padding: 34px 52px 44px; gap: 10px; max-height: 96%; }
.papel h1 { font-family: var(--fonte-titulo); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: .02em; }
.papel h2 { font-family: var(--fonte-titulo); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: .02em; }
.papel .apoio { font-family: var(--fonte-apoio); font-size: 18px; line-height: 1.35; color: #222; }
.papel .logo { width: 150px; margin-top: -90px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.papel input, .papel textarea { width: 100%; padding: 11px 14px; border: 2px solid #000; border-radius: 4px;
  background: rgba(255,255,255,.7); color: #000; font: 16px var(--fonte-dialogo); resize: vertical; }
.papel input:focus, .papel textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--roxo); }
.papel .btn-jogo { margin-top: 6px; }
.botoes { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.aviso { font-size: 15px !important; }
.status { font-size: 14px; min-height: 1em; color: var(--roxo); font-weight: 700; }
.rotulo { font-family: var(--fonte-apoio); font-size: 20px; color: var(--roxo); }
.nome-grande { font-size: 76px !important; }

/* Abertura: logo com fade in e fade out em fundo preto */
#tela-splash { background: #000; }
#splash-logo { width: min(340px, 40%); opacity: 0; }
#tela-splash.rodando #splash-logo { animation: splash 3.4s ease-in-out forwards; }
@keyframes splash { 0% { opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }

/* Termo de aceite */
.termo-linhas { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 6px; }
.termo-linhas li { font-family: var(--fonte-apoio); font-size: 19px; line-height: 1.35; color: #1b1a1f; }
.aceite { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 16px; color: #1b1a1f; }
.aceite input { position: absolute; opacity: 0; pointer-events: none; }
.aceite-caixa { width: 24px; height: 24px; border: 2px solid #1b1a1f; border-radius: 3px; display: inline-flex;
  align-items: center; justify-content: center; background: rgba(255,255,255,.5); }
.aceite input:checked + .aceite-caixa { background: #1b1a1f; box-shadow: 3px 3px 0 var(--roxo); }
.aceite input:checked + .aceite-caixa::after { content: "\2713"; color: var(--suave); font-size: 16px; line-height: 1; }
.aceite input:focus-visible + .aceite-caixa { outline: 2px solid var(--roxo); outline-offset: 2px; }

/* Escolha de idioma */
.pergunta-idioma { font-family: var(--fonte-titulo); font-size: 22px; letter-spacing: .02em; color: #1b1a1f !important; margin-top: 6px; }
.btn-escolha { min-width: 150px; }
.campo-apelido { margin-top: 12px; max-width: 360px; text-align: center; height: 62px; font-size: 20px !important; }
.pergunta-idioma .destaque { color: var(--roxo); font-size: 1.35em; letter-spacing: .04em;
  background: url("ui/sublinhado.png") center bottom / 100% 8px no-repeat; padding: 0 2px 6px; }
/* Final bom (06/10/2026): mais convidativo */
#tela-final.final-bom .papel { width: min(720px, 94%); padding-top: 40px; padding-bottom: 72px; gap: 14px; }
.fim-avatares { display: flex; justify-content: center; margin: 4px 0 -4px; }
.fim-avatares img { width: 78px; height: 78px; object-fit: contain; margin: 0 -6px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); transition: transform .15s; }
.fim-avatares img:hover { transform: translateY(-4px) rotate(-3deg); }
.fim-contagem { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  font-family: var(--fonte-titulo); font-size: 18px; letter-spacing: .06em; color: #fff;
  background: linear-gradient(180deg, #2a1546, #160b26); box-shadow: 0 0 12px rgba(141, 65, 235, .45); }
.fim-contagem::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #a865ff;
  box-shadow: 0 0 8px #a865ff; animation: pulso 1.4s ease-in-out infinite; }
@keyframes pulso { 50% { opacity: .35; } }
.fim-destaques { list-style: none; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fim-destaques li { display: flex; flex-direction: column; align-items: center; padding: 10px 8px;
  border: 2px solid rgba(0,0,0,.15); border-radius: 10px; background: rgba(255,255,255,.5); }
.fim-destaques b { font-family: var(--fonte-titulo); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--roxo); letter-spacing: .03em; }
.fim-destaques span { font-family: var(--fonte-apoio); font-size: 14px; color: #333; }
#tela-final.final-bom .btn-wishlist { font-size: 20px; font-weight: 700; padding: 16px 34px; color: #fff;
  background: linear-gradient(180deg, #a865ff, #7a2fe0); border-color: #5b1fb0;
  box-shadow: 0 0 18px rgba(168, 101, 255, .55), inset 0 1px 0 rgba(255,255,255,.3); animation: chama 2.2s ease-in-out infinite; }
#tela-final.final-bom .btn-wishlist:hover { color: #fff; box-shadow: 8px 8px 0 #1b1a1f; animation: none; }
@keyframes chama { 50% { box-shadow: 0 0 30px rgba(168, 101, 255, .9), inset 0 1px 0 rgba(255,255,255,.3); } }
/* Convite do Discord (07/10/2026): so texto em negrito, sem cara de botao, para nao competir com a wishlist */
.btn-comunidade { margin-top: 4px; font-family: var(--fonte-dialogo); font-size: 15px; font-weight: 700;
  color: #222; text-decoration: none; }
.btn-comunidade span { color: #4a1694; }
.btn-comunidade:hover { text-decoration: underline; }
/* Final bom no fim da cena (07/10/2026): votos dados. A tela rola se o papel passar da altura. */
#tela-final { overflow-y: auto; padding-top: 100px; }
#tela-final .papel { margin: auto; }
.fim-votos { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fim-votos-titulo { font-family: var(--fonte-apoio); font-size: 16px; color: #222; }
.fim-votos-idioma { font-family: var(--fonte-titulo); font-size: 16px; letter-spacing: .06em; color: var(--roxo); }
.fim-votos-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fim-voto { min-width: 110px; padding: 6px 10px; border: 2px solid rgba(0,0,0,.15); border-radius: 10px; background: rgba(255,255,255,.5); }
.fim-voto ul { list-style: none; }
.fim-voto li { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--fonte-apoio); font-size: 13px; color: #333; }
.fim-voto .polegar { width: 22px; height: 22px; padding: 2px; }
.fim-voto .polegar:hover { transform: none; background: none; }
.fim-nota { font-family: var(--fonte-apoio); font-size: 14px; color: #444; margin-top: -4px; }
.fim-feedback { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 4px; }
.fim-feedback textarea { min-height: 170px; font-size: 15px; line-height: 1.45; }
.papel:has(.fim-feedback:not(.oculto)) { width: min(680px, 94%); }
.btn-wishlist { margin-top: 10px; font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: 6px 6px 0 var(--roxo); }
.btn-jogar { min-width: 200px; font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.btn-escolha.escolhido { color: var(--suave); background: var(--roxo); border-color: var(--roxo); box-shadow: 5px 5px 0 #1b1a1f; }

/* Avaliacao (06/10/2026): um cartao por personagem, lado a lado, com avatar, nome e os
   3 criterios agrupados; embaixo, um campo de opiniao geral */
.papel-avaliar { width: min(940px, 96%); padding: 30px 48px 70px; }
#av-grade { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 6px; }
.av-card { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 14px 10px;
  background: rgba(255,255,255,.55); border: 2px solid rgba(0,0,0,.18); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s; }
.av-card.respondido { border-color: var(--roxo); box-shadow: 4px 4px 0 var(--roxo); }
.av-avatar { width: 84px; height: 84px; object-fit: contain; align-self: center; margin-top: -2px; }
.av-nome { font-family: var(--fonte-titulo); font-size: 26px; line-height: 1; letter-spacing: .03em; text-align: center; margin-bottom: 6px; }
.escala { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px;
  padding: 5px 0; border-top: 1.5px dashed rgba(0,0,0,.18); }
.escala-crit { font-family: var(--fonte-titulo); font-size: 17px; letter-spacing: .03em; text-align: left; }
.escala-rotulo { grid-column: 1 / -1; text-align: right; font-family: var(--fonte-apoio); font-size: 13px; color: var(--roxo); min-height: 1.1em; }
/* coracoes (modo 'coracoes') */
.coracoes { display: flex; gap: 1px; }
.coracoes button { font-size: 19px; line-height: 1; color: rgba(0,0,0,.16); transition: color .1s, transform .1s; }
.coracoes button:hover { transform: scale(1.15); }
.coracoes button.on { color: var(--roxo); }
/* polegares (modo 'polegar') */
.polegares { display: flex; gap: 6px; }
.polegar { width: 38px; height: 38px; padding: 5px; color: rgba(0,0,0,.2); border-radius: 50%;
  transition: color .1s, transform .1s, background .1s; }
.polegar svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.polegar.dislike svg { transform: rotate(180deg); }
.polegar:hover { transform: scale(1.12); background: rgba(0,0,0,.06); }
.polegar.like.on { color: var(--roxo); }
.polegar.dislike.on { color: #1b1a1f; }
.papel #av-geral { margin-top: 12px; }
.av-passo-idioma { padding: 10px 0 4px; }
.av-passo-outro { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6px 0 4px; }
/* Botoes da avaliacao: Send rating em roxo, e o Back to the scene pequeno, embaixo */
.av-botoes { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 4px; }
.btn-enviar { color: #fff; background: linear-gradient(180deg, #a865ff, #7a2fe0); border-color: #5b1fb0;
  box-shadow: 0 0 14px rgba(168, 101, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-enviar:hover:not(:disabled) { color: #fff; box-shadow: 6px 6px 0 #1b1a1f; }
.btn-voltar { font-family: var(--fonte-dialogo); font-size: 13px; color: #3a3640; background: none; border: 0;
  padding: 4px 8px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-voltar:hover { color: var(--roxo); }
.av-passo-votar { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* Reset de teste, sempre por cima de tudo */
#btn-reset { position: absolute; left: 20px; bottom: 1.2cqh; z-index: 40; padding: 3px 10px; font-size: 12px;
  color: var(--suave); background: rgba(0,0,0,.55); border: 1px solid var(--suave-borda); border-radius: 4px; }
#btn-reset:hover { color: var(--roxo-claro); box-shadow: 3px 3px 0 var(--roxo); }

/* Cortina da transicao */
#cortina { position: absolute; inset: 0; z-index: 30; background: #000; opacity: 0; pointer-events: none;
  transition: opacity .6s ease; }
#cortina.fechada { opacity: 1; pointer-events: auto; }
