:root {
  --fundo: #0b1f38;
  --cartao: #13355c;
  --linha: #24507f;
  --texto: #eef4fb;
  --suave: #a9bdd3;
  --verde: #2bc15a;
  --verde-esc: #1e8f43;
  --azul: #1e5fb4;
  --vermelho: #ef4444;
  --amarelo: #fbbf24;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(1200px 600px at 50% -10%, #17406d 0%, var(--fundo) 60%) fixed, var(--fundo);
  color: var(--texto);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; cursor: pointer; border: 0; }
.btn {
  display: block; width: 100%; padding: 16px; border-radius: 14px; font-size: 18px; font-weight: 700;
  background: var(--verde); color: #04210f; box-shadow: 0 6px 0 var(--verde-esc); transition: transform .08s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--verde-esc); }
.btn:disabled { opacity: .5; }
.btn.sec { background: transparent; color: var(--texto); border: 2px solid var(--linha); box-shadow: none; }

/* Mensagens falsas */
.mock { border-radius: 18px; overflow: hidden; background: #fff; color: #111; box-shadow: 0 12px 30px rgba(0,0,0,.35); font-size: 15px; text-align: left; }
.mock .cab { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-weight: 600; }
.mock .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; flex: none; }
.mock .msgs { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mock .bal { max-width: 88%; padding: 9px 12px; border-radius: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.mock .nota { align-self: center; text-align: center; font-size: 13px; background: #fff7d6; color: #5b4500; padding: 8px 12px; border-radius: 10px; max-width: 95%; }
.m-sms .cab { background: #f2f2f7; border-bottom: 1px solid #ddd; flex-direction: column; gap: 4px; font-size: 13px; }
.m-sms .av { background: #9ca3af; color: #fff; }
.m-sms .bal { background: #e9e9eb; border-bottom-left-radius: 4px; }
.m-whatsapp .cab { background: #075e54; color: #fff; }
.m-whatsapp .av { background: #cfd8dc; }
.m-whatsapp .msgs { background: #efe7dd; }
.m-whatsapp .bal { background: #fff; border-top-left-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.m-discord { background: #313338; color: #dbdee1; }
.m-discord .cab { background: #2b2d31; color: #f2f3f5; border-bottom: 1px solid #1f2023; }
.m-discord .av { background: #5865f2; color: #fff; }
.m-discord .bal { background: transparent; padding: 2px 0; max-width: 100%; }
.m-discord .link { color: #00a8fc; }
.m-instagram .cab { border-bottom: 1px solid #eee; }
.m-instagram .av { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; }
.m-instagram .bal { background: #efefef; border-radius: 18px; }
.m-instagram .link { color: #00376b; text-decoration: underline; }
.m-email .cab { display: block; background: #f6f8fc; border-bottom: 1px solid #e3e6ea; font-weight: 400; font-size: 13px; color: #444; }
.m-email .assunto { font-size: 17px; font-weight: 700; color: #111; margin-bottom: 4px; }
.m-email .corpo { padding: 14px 16px; line-height: 1.45; }
.m-email .corpo p { margin: 0 0 10px; }
.btn-fake { display: inline-block; background: #1a73e8; color: #fff; padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.pequeno { font-size: 12px; color: #666; }
.m-site .barra { display: flex; align-items: center; gap: 8px; background: #e8eaed; padding: 8px 10px; font-size: 13px; }
.m-site .url { flex: 1; background: #fff; border-radius: 99px; padding: 6px 12px; color: #333; overflow-wrap: anywhere; }
.site-ff { background: linear-gradient(160deg, #3b0a0a, #b45309); color: #fff; text-align: center; padding: 20px 16px; }
.ff-titulo { font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.ff-sub { margin: 6px 0 14px; }
.ff-form { display: flex; flex-direction: column; gap: 8px; }
.ff-form > .p { display: flex; flex-direction: column; gap: 8px; }
.ff-campo { display: block; background: #fff; color: #888; text-align: left; padding: 10px; border-radius: 6px; font-size: 14px; }
.ff-botao { display: block; background: #facc15; color: #3b0a0a; font-weight: 800; padding: 10px; border-radius: 6px; }
.ff-contador { margin-top: 12px; font-size: 13px; }
.m-anuncio .cab { border-bottom: 1px solid #eee; }
.m-anuncio .cab small { display: block; font-weight: 400; color: #777; font-size: 12px; }
.m-anuncio .av { background: #111; color: #fff; }
.ad-img { background: linear-gradient(135deg, #e5e7eb, #9ca3af); font-size: 70px; text-align: center; padding: 22px 0; }
.ad-txt { padding: 12px 14px; line-height: 1.45; }
.ad-btn { margin: 0 14px 14px; background: #0095f6; color: #fff; text-align: center; padding: 9px; border-radius: 8px; font-weight: 600; }

/* Pistas reveladas */
.p { border-radius: 4px; transition: background .3s, box-shadow .3s; }
.revelado .p { background: rgba(239,68,68,.16); box-shadow: 0 0 0 2px var(--vermelho); }
.revelado .p.ok { background: rgba(43,193,90,.16); box-shadow: 0 0 0 2px var(--verde); }
.revelado .p::before {
  content: attr(data-n); display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 4px;
  border-radius: 50%; background: var(--vermelho); color: #fff; font-size: 11px; font-weight: 800; vertical-align: 1px;
}
.revelado .p.ok::before { background: var(--verde); color: #04210f; }
.revelado .ff-form > .p::before { align-self: flex-start; }
.pistas { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.pistas li { display: flex; gap: 10px; line-height: 1.4; }
.pistas .n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--vermelho); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 1px; }
.pistas.ok .n { background: var(--verde); color: #04210f; }
.dica { line-height: 1.45; background: rgba(30,95,180,.25); border-left: 3px solid #60a5fa; padding: 10px 12px; border-radius: 8px; text-align: left; }
.dica b { color: #93c5fd; }
.selo-dificil { display: inline-block; background: linear-gradient(90deg, #f97316, #dc2626); color: #fff; font-weight: 800; font-size: .8em; letter-spacing: .04em; padding: .3em .8em; border-radius: 99px; margin-bottom: .5em; animation: chama 1.2s ease-in-out infinite; }
@keyframes chama { 50% { box-shadow: 0 0 18px rgba(249,115,22,.7); } }
canvas#confete { position: fixed; inset: 0; pointer-events: none; z-index: 10; }
