:root {
  --ink: #111317;
  --muted: #5b6270;
  --line: #e6e8ee;
  --bg: #ffffff;
  --soft: #f4f5f8;
  --accent: #ff5a1f;
  --accent-dark: #e14a12;
  --brand: #5b21b6;
  --good: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
button { font: inherit; cursor: pointer; }
a { color: var(--brand); }
.wrap { max-width: 560px; margin: 0 auto; padding: 16px 16px 40px; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); max-width: 560px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; color: var(--ink); text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.top .right { font-size: 14px; color: var(--muted); }
.progress { height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; margin: 6px 0 18px; }
.progress > i { display: block; height: 100%; background: var(--brand); transition: width .3s; }
.qnum { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; color: var(--brand); background: #ede9fe; padding: 5px 10px; border-radius: 99px; margin-top: 10px; }
h1 { font-size: 29px; line-height: 1.15; letter-spacing: -0.6px; margin: 14px 0 10px; }
h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.3px; margin: 6px 0 16px; }
p.sub { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.opts { display: grid; gap: 10px; }
.ages2 { grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; font-size: 17px; font-weight: 600; color: var(--ink);
  transition: border-color .12s, background .12s, transform .06s;
}
.opt:hover { border-color: #c9c3f5; }
.opt:active { transform: scale(.99); }
.opt.sel { border-color: var(--brand); background: #f5f3ff; }
.opt .dot { width: 22px; height: 22px; border-radius: 99px; border: 2px solid var(--line); flex: 0 0 22px; }
.opt.sel .dot { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px #fff; }
.big2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big2 .opt { flex-direction: column; justify-content: center; padding: 22px 10px; font-size: 18px; }
.big2 .opt .ic { font-size: 40px; line-height: 1; }
.cta {
  display: block; width: 100%; border: 0; border-radius: var(--radius);
  background: var(--accent); color: #fff; font-weight: 800; font-size: 18px;
  padding: 17px 18px; box-shadow: 0 6px 16px rgba(255, 90, 31, .28); transition: background .12s;
}
.cta:hover { background: var(--accent-dark); }
.cta[disabled] { opacity: .6; cursor: default; }
.ghost { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 14px; padding: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--soft); padding: 8px; border-radius: var(--radius); margin-bottom: 14px; }
.grid3 .c { background: #fff; border-radius: 10px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.grid3 .c svg { width: 80%; height: 80%; }
.grid3 .q { font-size: 34px; font-weight: 800; color: var(--brand); background: #ede9fe; }
.mopts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mopts .opt { justify-content: center; padding: 8px; aspect-ratio: 1; }
.mopts .opt svg { width: 85%; height: 85%; }
.memo { text-align: center; padding: 30px 0 10px; }
.memo .w { font-size: 44px; font-weight: 900; letter-spacing: 6px; color: var(--brand); }
.memo .em { font-size: 54px; letter-spacing: 10px; }
.memo .t { margin-top: 18px; font-size: 15px; color: var(--muted); }
.stroop { text-align: center; font-size: 46px; font-weight: 900; letter-spacing: 2px; margin: 20px 0 24px; }
.stroopopts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stroopopts .opt { justify-content: center; }
.stroopopts .sw { width: 18px; height: 18px; border-radius: 4px; }
.react { margin: 10px auto 18px; width: 220px; height: 220px; border-radius: 999px; background: var(--soft); border: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: var(--muted); user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.react.go { background: var(--good); color: #fff; }
.react.early { background: #fee2e2; color: var(--bad); }
/* Pergunta do anúncio na 1ª tela (anuncio.js, 20/11/2026) */
.adq-ver { position: relative; height: 190px; margin: 4px 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.adq-ver span { position: absolute; top: 50%; transform: translateY(-50%); font-size: 170px; font-weight: 900; line-height: 1; font-family: "Arial Black", Arial, sans-serif; }
.adq-ops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.adq-ops .opt { justify-content: center; font-size: 20px; font-weight: 800; padding: 14px 4px; }
.opt.certa { border-color: var(--good); background: #dcfce7; color: #14532d; }
.opt.errada { border-color: var(--bad); background: #fee2e2; color: #7f1d1d; }
.adq-grade { display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px; background: var(--soft); border-radius: 14px; padding: 8px; }
.adq-c { aspect-ratio: 1; border: 0; background: none; font: 800 clamp(15px, 4.6vw, 24px)/1 Arial, sans-serif; color: var(--ink); padding: 0; border-radius: 6px; touch-action: manipulation; }
.adq-c.certa { background: var(--good); color: #fff; }
.adq-dica { min-height: 22px; text-align: center; color: var(--bad); font-weight: 700; font-size: 15px; margin: 8px 0 0; }
#adq-r { margin-top: 14px; }
.adq-v { font-size: 21px; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
.adq-v.ok { color: var(--good); }
.adq-e { margin: 0 0 8px; font-size: 15.5px; }
.adq-p { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.cheer { text-align: center; padding: 26px 8px 8px; }
.cheer .ic { font-size: 54px; }
.cheer p { font-size: 20px; font-weight: 700; line-height: 1.35; margin: 14px 0 26px; }
.anl { margin: 10px 0 20px; }
.anl .row { margin-bottom: 14px; }
.anl .lab { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.bar { height: 10px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand); width: 0; transition: width .9s ease; border-radius: 99px; }
.modal { position: fixed; inset: 0; background: rgba(17, 19, 23, .45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 20; }
.modal .box { background: #fff; border-radius: 18px; padding: 22px; width: 100%; max-width: 380px; text-align: center; }
.modal .box h3 { margin: 0 0 16px; font-size: 20px; }
input.f { width: 100%; font: inherit; font-size: 17px; padding: 15px 14px; border: 2px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; outline: none; }
input.f:focus { border-color: var(--brand); }
.note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.err { color: var(--bad); font-size: 14px; margin: 4px 0 8px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 12px; background: #fff; }
.locked { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.locked .card { text-align: center; margin: 0; }
.locked .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.locked .num { font-size: 40px; font-weight: 900; filter: blur(9px); user-select: none; color: var(--brand); }
.locked .sm { font-size: 13px; color: var(--muted); }
/* Paywall com prévia grátis (20/11/2026), no desenho do resultado do app. */
.locked .pv-trava { width: 40px; height: 40px; border-radius: 99px; background: #ede9fe; color: var(--brand); display: flex; align-items: center; justify-content: center; margin: 8px auto 6px; }
.locked .pv-mini { font-size: 34px; font-weight: 900; letter-spacing: 1px; color: var(--brand); line-height: 1.3; }
.pv-hero { border: 1px solid var(--line); border-radius: 20px; padding: 16px; text-align: center; background: #fff; margin: 6px 0 10px; }
.pv-kick { font-size: 12px; font-weight: 800; letter-spacing: 1.1px; color: var(--muted); }
.pv-faixa { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.4px; color: var(--brand); margin: 6px 0 4px; text-wrap: balance; }
.pv-esc { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px 0 4px; }
.pv-esc b { font-size: 46px; line-height: 1.1; font-weight: 900; letter-spacing: 2px; color: var(--ink); }
.pv-esc span { font-size: 16px; font-weight: 700; color: var(--muted); }
.pv-esc i { width: 34px; height: 34px; border-radius: 99px; background: #ffedd5; color: #9a3412; display: flex; align-items: center; justify-content: center; }
.pv-hero p { font-size: 14.5px; line-height: 1.45; color: var(--muted); margin: 6px 0 4px; }
.pv-hero .sm { font-size: 13px; color: var(--muted); }
.pv-curva { display: block; width: 100%; height: auto; max-height: 112px; margin-top: 6px; }
.pv-forte { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pv-forte .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.pv-forte b { font-size: 18px; }
.pv-forte .n { font-size: 30px; font-weight: 900; color: var(--brand); white-space: nowrap; }
.pv-forte .n span { font-size: 13px; font-weight: 600; color: var(--muted); }
.pv-mente { border: 1.5px solid var(--brand); margin-top: 14px; }
.pv-mente h3 { font-size: 22px; letter-spacing: -0.3px; margin: 6px 0; }
.pv-mente p { font-size: 16px; line-height: 1.5; margin: 0 0 10px; }
.pv-linhas { filter: blur(3px); user-select: none; }
.pv-linhas i { display: block; height: 11px; border-radius: 6px; background: #d8dbe3; margin-bottom: 9px; }
.pv-cad { display: flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: 13.5px; margin-top: 10px; }
.pv-tit { font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.pv-med { margin-bottom: 12px; }
.pv-med:last-child { margin-bottom: 0; }
.pv-med .l { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.pv-med em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #ede9fe; color: var(--brand); margin-left: 8px; white-space: nowrap; }
.pv-med em.t { background: #ffedd5; color: #9a3412; }
.pv-med .bar > i.fraco { background: var(--accent); }
.pv-est { margin-bottom: 12px; }
.pv-est:last-child { margin-bottom: 0; }
.pv-est p { margin: 0; font-size: 15px; line-height: 1.45; }
.pv-est small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.pill { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; padding: 6px 10px; border-radius: 99px; }
.pill.g { background: #dcfce7; color: #166534; }
.pill.r { background: #fee2e2; color: #991b1b; }
.warn { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 14px; padding: 14px; font-size: 15px; margin: 12px 0; }
ul.ok { list-style: none; padding: 0; margin: 8px 0 16px; }
ul.ok li { padding: 7px 0 7px 30px; position: relative; font-size: 16px; }
ul.ok li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 18px; height: 18px; border-radius: 99px; background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.6 4.4 10l-1.4 1.4L8 16.4l9-9-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
.price { border: 2px solid var(--brand); border-radius: 18px; padding: 16px; margin: 14px 0; background: #faf8ff; }
.price .l1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 800; font-size: 18px; }
.price .l1 b { font-size: 28px; white-space: nowrap; }
.price .l2 { color: var(--muted); font-size: 15px; margin-top: 4px; }
.fine { font-size: 12.5px; color: var(--muted); margin: 12px 0; line-height: 1.45; }
.faq h4 { margin: 14px 0 4px; font-size: 15px; }
.faq p { margin: 0; color: var(--muted); font-size: 14px; }
footer { max-width: 560px; margin: 0 auto; padding: 18px 16px 30px; font-size: 12.5px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
footer a { color: var(--muted); margin: 0 6px; }
.center { text-align: center; }
.hide { display: none !important; }
.spin { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 99px; display: inline-block; animation: sp 0.8s linear infinite; vertical-align: middle; }
@keyframes sp { to { transform: rotate(360deg); } }
/* app */
.hero { text-align: center; padding: 10px 0 6px; }
.hero .score { font-size: 72px; font-weight: 900; letter-spacing: -2px; color: var(--brand); line-height: 1; }
.hero .lbl { font-weight: 700; color: var(--muted); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kv .card { text-align: center; margin: 0; }
.kv .v { font-size: 34px; font-weight: 900; }
.kv .s { font-size: 13px; color: var(--muted); }
.btnrow { display: grid; gap: 10px; margin: 14px 0; }
.btn2 { display: block; width: 100%; border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: var(--radius); padding: 14px; font-weight: 800; font-size: 16px; text-align: center; text-decoration: none; }
.days { display: grid; gap: 8px; }
.day { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.day input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex: 0 0 20px; }
.day.lock { opacity: .45; }
.day b { display: block; }
.game { text-align: center; }
.tabs { display: flex; gap: 8px; margin: 6px 0 14px; flex-wrap: wrap; }
.tabs button { border: 2px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.tabs button.on { border-color: var(--brand); background: #f5f3ff; color: var(--brand); }
@media (min-width: 600px) {
  h1 { font-size: 34px; }
}

/* Biblioteca de jogos (jogos.js) */
.jgrid { display: grid; gap: 8px; margin: 12px auto 4px; max-width: 420px; }
.jc, .jl, .jn { aspect-ratio: 1; border: 0; border-radius: 12px; background: var(--brand); color: var(--ink); font: inherit; font-size: 28px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.jc.on { background: var(--soft); }
.jc.ok { background: #dcfce7; cursor: default; }
.jseq { max-width: 300px; }
.jl { background: var(--soft); transition: background .12s; }
.jl.on { background: var(--brand); }
.jl.hit { background: #c4b5fd; }
.jl.bad { background: var(--bad); }
.jn { background: var(--soft); font-weight: 800; font-size: 22px; }
.jn.sm { font-size: 17px; border-radius: 9px; }
.jn.ok { background: #ede9fe; color: #a78bfa; }
.jn.bad { background: #fee2e2; color: var(--bad); }

/* treino diário (desenho: claude.ai/artifact/LYTuExjVobKZQxGoYqAubm) */
body.appbg { background: var(--soft); padding-bottom: 76px; }
body.appbg .top { background: #fff; max-width: none; justify-content: center; }
body.d-full { background: #fff; padding-bottom: 0; }
body.d-full .top, body.d-full footer { display: none; }
.d { display: flex; flex-direction: column; gap: 14px; line-height: 1.35; }
.d h1, .d h2, .d p { margin: 0; }
.d-h1 { font-size: 24px; letter-spacing: -0.4px; line-height: 1.15; }
.d-h1.big { font-size: 30px; letter-spacing: -0.6px; }
.d-h2 { font-size: 22px; letter-spacing: -0.3px; line-height: 1.2; }
.d-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.d-grow { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.d-kick { font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.d-mut { color: var(--muted); font-size: 14px; }
.d-sm { font-size: 13px; }
.d-b { font-weight: 700; }
.d-ink { color: var(--ink) !important; font-weight: 800 !important; }
.d-or { color: #c2410c; }
.d-br { color: var(--brand); }
.d-lil { color: #ddd6fe; }
.d-t16 { font-size: 16px; font-weight: 700; }
.d-t15 { font-size: 15px; font-weight: 700; }
.d-t14b { font-size: 14px; font-weight: 800; }
.d-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.d-card.d-row { flex-direction: row; }
.d-av { flex-direction: row; align-items: center; border-color: #c4b5fd; }
.d-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: #ede9fe; color: var(--brand); display: flex; align-items: center; justify-content: center; }
.d-mini { border: 1px solid var(--line); background: #fff; border-radius: 10px; min-width: 44px; height: 44px; font-weight: 800; color: var(--ink); }
.d-pill { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.d-pill svg { color: #c2410c; }
.d-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 10px; }
.d-week > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.d-week span { font-size: 11px; font-weight: 700; color: var(--muted); }
.d-week i { width: 30px; height: 30px; border-radius: 99px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: #fff; box-sizing: border-box; }
.d-week i.on { background: var(--brand); }
.d-week i.now { background: #fff; border: 3px solid var(--accent); }
.d-hero { background: var(--brand); color: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.d-list { display: flex; flex-direction: column; gap: 8px; }
.d-li { display: flex; align-items: center; gap: 12px; background: #4c1d95; border-radius: 12px; padding: 11px 12px; font-weight: 700; font-size: 15px; }
.d-li b { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 99px; background: #fff; color: var(--brand); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.d-li b.ok { background: #bbf7d0; color: #14532d; }
.d-li span { flex: 1 1 auto; }
.d-li em { font-style: normal; font-size: 13px; color: #ddd6fe; }
.d-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border: 0; border-radius: 14px; background: var(--accent); color: #1a0a00; font-weight: 800; font-size: 17px; text-decoration: none; padding: 8px 14px; }
.d-cta:hover { background: #ff6f3c; color: #1a0a00; }
.d-sec { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: 16px; }
.d-sec.inv { background: none; border: 0; color: #fff; }
.d-link { background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--brand); font-weight: 700; font-size: 14px; text-align: left; text-decoration: underline; align-self: flex-start; }
.d-check { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; border: 2px solid #c4b5fd; background: #fff; color: #fff; display: flex; align-items: center; justify-content: center; }
.d-check.on { background: var(--brand); border-color: var(--brand); }
.d-bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; display: block; }
.d-bar > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.d-bar.br { height: 6px; }
.d-bar.br > i { background: var(--brand); }
.d-top { display: flex; align-items: center; gap: 14px; }
.d-x { width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 12px; background: var(--soft); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.d-seg { display: flex; gap: 6px; margin-top: 6px; }
.d-seg i { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.d-seg i.on { background: var(--brand); }
.d-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.d-chip { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .8px; color: var(--brand); background: #ede9fe; border-radius: 99px; padding: 4px 9px; }
.d-chip.g { color: var(--ink); background: var(--soft); }
.d-meta { background: var(--brand); color: #fff; border-radius: 20px; padding: 22px 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.d-meta b { font-size: 72px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.d-meta span:last-child { font-size: 16px; font-weight: 700; color: #ddd6fe; }
.d-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.d-3 > div { background: var(--soft); border-radius: 14px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.d-3 b { font-size: 22px; font-weight: 800; }
.d-3 span { font-size: 12px; font-weight: 700; color: var(--muted); }
.d-3 .or { background: #fff3ed; }
.d-3 .or b { color: #c2410c; }
.d-3 .or span { color: #9a3412; }
.d-lad { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.d-lad i { height: 34px; border-radius: 8px; background: var(--soft); color: var(--muted); font-style: normal; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.d-lad i.on { background: var(--brand); color: #fff; }
.d-lad i.now { background: #fff; border: 3px solid var(--accent); color: var(--ink); }
.d-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.d-game { text-align: center; }
.d-res { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 2px; text-align: center; }
.d-res b { font-size: 88px; font-weight: 800; letter-spacing: -3px; line-height: 1; color: var(--brand); }
.d-badge { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--ink); background: var(--soft); border-radius: 99px; padding: 6px 12px; white-space: nowrap; }
.d-badge.ok { color: #166534; background: #dcfce7; }
.d-lv { background: var(--soft); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.d-lv.up { background: #fff3ed; }
.d-pips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.d-pips i { height: 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-sizing: border-box; }
.d-pips i.on { background: var(--accent); border-color: var(--accent); }
.d-hist { display: flex; gap: 8px; align-items: flex-end; height: 96px; }
.d-hist > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.d-hist span { font-size: 12px; font-weight: 700; color: var(--muted); }
.d-hist i { width: 100%; border-radius: 6px; background: #c4b5fd; }
.d-hist i.on { background: var(--brand); }
.d-n1 { font-size: 20px; font-weight: 800; color: var(--muted); }
.d-n2 { font-size: 26px; font-weight: 800; color: #166534; }
.d-done { background: var(--brand); color: #fff; margin: -16px -16px -40px; padding: 30px 20px 28px; min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; }
.d-done h1 { font-size: 34px; letter-spacing: -0.8px; line-height: 1.05; text-align: center; }
.d-done > p { text-align: center; font-size: 16px; }
.d-done .d-card { color: var(--ink); border: 0; }
.d-flame { width: 68px; height: 68px; border-radius: 99px; background: var(--accent); color: #1a0a00; display: flex; align-items: center; justify-content: center; align-self: center; }
.d-dl { background: #4c1d95; border-radius: 16px; padding: 4px 16px; }
.d-dl > div { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #6d28d9; font-size: 15px; font-weight: 700; }
.d-dl > div:last-child { border-bottom: 0; }
.d-dl b { font-weight: 800; white-space: nowrap; }
.d-dl em { font-style: normal; font-size: 12px; font-weight: 800; border-radius: 99px; padding: 3px 8px; white-space: nowrap; }
.d-dl em.g { color: #14532d; background: #bbf7d0; }
.d-dl em.o { color: #1a0a00; background: #fdba74; }
.d-g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.d-g3 > div { background: #4c1d95; border-radius: 14px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.d-g3 b { font-size: 22px; font-weight: 800; color: #bbf7d0; }
.d-g3 span { font-size: 12px; font-weight: 700; color: #ddd6fe; }
.d-prova { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--ink); color: #fff; border: 0; border-radius: 16px; padding: 14px 16px; }
.d-prova[disabled] { cursor: default; opacity: 1; }
.d-prova .d-kick, .d-prova svg { color: #fdba74; }
.d-prova .d-sm { color: #c9ccd4; }
.d-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.d-jg { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-align: left; font-size: 13px; }
.d-jg b { font-size: 15px; font-weight: 800; }
.d-jg span { color: var(--muted); }
.d-jg .d-chip { color: var(--brand); }
.d-jg.lock { background: #e9ebf0; border: 1px dashed #b6bcc8; color: #414856; }
.d-jg.lock span, .d-jg.lock b { color: #414856; }
.d-jg.lock .d-chip { background: #fff; }
.d-lk { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.d-big { font-size: 44px; font-weight: 800; letter-spacing: -1.2px; line-height: 1; }
.d-md { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.d-md em { font-style: normal; color: var(--muted); }
.d-md em.g { color: #166534; }
.d-bar2 { display: flex; height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.d-bar2 i { background: var(--brand); }
.d-bar2 u { background: var(--accent); }
.d-bar2.off i { background: #c4b5fd; }
.d-teste { background: var(--brand); color: #fff; border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.d-teste.col { flex-direction: column; align-items: stretch; gap: 8px; }
.d-ring { width: 58px; height: 58px; flex: 0 0 58px; box-sizing: border-box; border-radius: 99px; border: 5px solid var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.d-ring b { font-size: 20px; font-weight: 800; }
.d-ring span { font-size: 10px; font-weight: 700; color: #ddd6fe; }
.d-selos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.d-selos > div { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); }
.d-selos i { width: 46px; height: 46px; box-sizing: border-box; border-radius: 99px; border: 2px dashed #b6bcc8; font-style: normal; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.d-selos .on { color: var(--ink); }
.d-selos .on i { border: 0; background: var(--brand); color: #fff; }
.d-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: center; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.d-nav button { flex: 1 1 0; max-width: 140px; height: 64px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); }
.d-nav button.on { color: var(--brand); font-weight: 800; }
/* partidas */
.jhud { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 15px; color: var(--ink); background: var(--soft); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; min-height: 22px; }
.jhelp { color: var(--muted); font-size: 15px; margin: 0 0 6px; }
.react.no { background: #fee2e2; color: var(--bad); }
.mxg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 250px; margin: 6px auto 14px; }
.mxc { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #fff; }
.mxq { border: 2px dashed var(--brand); color: var(--brand); font-size: 28px; font-weight: 800; }
.mxo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 300px; margin: 0 auto; }
.mxb { aspect-ratio: 1; border: 2px solid var(--line); border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 0; }
.mxb:hover { border-color: var(--brand); }

/* app inteiro: partida com placar, volta, boas-vindas, perfil, resultado, plano, plano pausado e reteste
   (desenho: claude.ai/artifact/LYTuExjVobKZQxGoYqAubm, 20 telas) */
body.d-full.d-cinza { background: var(--soft); }
body.d-full.d-roxo { background: var(--brand); }
.d-bar.br8 { background: var(--line); }
.d-bar.br8 > i { background: var(--brand); transition: width .2s linear; }
.d-h3 > div { padding: 10px 6px; }
.d-h3 b { font-size: 26px; line-height: 1.15; }
.d-proj { display: flex; flex-direction: column; gap: 6px; }
.d-pbar { position: relative; height: 10px; border-radius: 99px; background: var(--soft); }
.d-pbar i { display: block; height: 100%; max-width: 100%; background: var(--accent); border-radius: 99px; transition: width .2s linear; }
.d-pbar u { position: absolute; top: -4px; width: 3px; height: 18px; border-radius: 2px; background: var(--ink); }
.d-game { position: relative; }
.d-game.nohud .jhud { display: none; }
.d-game .stroop { border: 1px solid var(--line); border-radius: 20px; padding: 34px 8px; margin: 4px 0 14px; font-size: 46px; font-weight: 800; letter-spacing: -1px; }
.d-game .stroopopts .opt { min-height: 64px; border-width: 1px; font-weight: 700; }
.d-game .stroopopts .sw { border-radius: 99px; }
.d-pausa { position: absolute; inset: -6px; z-index: 3; min-height: 300px; background: rgba(255, 255, 255, .97); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.d-pausa > div { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 300px; text-align: center; }
.d-volta { display: flex; flex-direction: column; gap: 18px; min-height: calc(100vh - 56px); min-height: calc(100dvh - 56px); padding-top: 14px; }
.d-volta h1 { font-size: 28px; letter-spacing: -0.6px; line-height: 1.15; }
.d-volta p { font-size: 16px; color: var(--muted); }
.d-volta.bv { gap: 16px; padding-top: 6px; }
.d-volta.in { padding-top: 34px; }
.d-volta.rx { color: #fff; padding-top: 20px; }
.d-volta.rx p { color: #ddd6fe; margin-top: 8px; }
.d-vtop { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.d-vic { width: 72px; height: 72px; border-radius: 99px; background: #ede9fe; color: var(--brand); display: flex; align-items: center; justify-content: center; }
.d-week.soft { background: var(--soft); border: 0; }
.d-week i.cob { background: #ede9fe; border: 2px solid var(--brand); color: var(--brand); }
.d-vrows { display: flex; flex-direction: column; gap: 10px; }
.d-vrows > div { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.d-vrows b { font-size: 15px; font-weight: 800; }
.d-vrows .d-grow { flex: 1 0 auto; }
.d-vrows .d-sm { text-align: right; }
.d-foot.push { margin-top: auto; }
.d-bvh { background: var(--brand); color: #fff; border-radius: 20px; padding: 16px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.d-bvh > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.d-bvh b { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.d-bvh b.t { font-size: 28px; line-height: 40px; letter-spacing: -0.6px; }
.d-link.w { color: #fff; }
.d-link.c { align-self: center; color: var(--muted); text-decoration: none; font-size: 15px; }
.d-bvp { display: flex; flex-direction: column; gap: 12px; }
.d-bvp > div { display: flex; align-items: flex-start; gap: 12px; }
.d-bvp > div > div { display: flex; flex-direction: column; }
.d-bvp i { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 99px; background: #ede9fe; color: var(--brand); font-style: normal; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.d-bvp.rx > div { align-items: center; }
.d-bvp.rx i { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; background: #4c1d95; color: #fff; }
.d-bvl { background: var(--soft); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.d-horas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.d-horas button { height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; padding: 0; }
.d-horas button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; font-weight: 800; }
.d-bvs { display: flex; flex-direction: column; gap: 6px; }
.d-bvs input, .lg input { height: 54px; border: 1px solid #b6bcc8; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.d-bvs input { height: 50px; }
.d-bvs input:focus, .lg input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.d-rows { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; display: flex; flex-direction: column; }
.d-rows.soft { background: var(--soft); border: 0; padding: 6px 16px; }
.d-rows > * { display: flex; align-items: center; gap: 12px; min-height: 56px; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; text-align: left; padding: 0; }
.d-rows.soft > * { min-height: 52px; }
.d-rows > *:last-child { border-bottom: 0; }
.d-rows > .col { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 0; }
.d-rows svg { color: var(--muted); flex: 0 0 auto; }
.d-rows .d-br svg { color: var(--brand); }
.d-rows b { font-size: 17px; font-weight: 800; white-space: nowrap; }
.d-rows b.g { color: #166534; }
.d-rows b.m { font-size: 14px; font-weight: 700; color: var(--muted); }
.d-avatar { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.d-3.w > div { background: #fff; border: 1px solid var(--line); padding: 12px 8px; }
.d-tog { width: 52px; height: 32px; flex: 0 0 52px; border: 0; border-radius: 99px; background: #8a919e; padding: 3px; display: flex; justify-content: flex-start; }
.d-tog i { width: 26px; height: 26px; border-radius: 99px; background: #fff; }
.d-tog[aria-checked="true"] { background: var(--brand); justify-content: flex-end; }
.d-seg2 { display: flex; background: var(--soft); border-radius: 10px; padding: 3px; }
.d-seg2 button { height: 38px; min-width: 52px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 14px; font-weight: 700; }
.d-seg2 button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 800; }
.d-card.c { align-items: center; text-align: center; }
.d-iq { font-size: 64px; font-weight: 800; letter-spacing: -2px; line-height: 1; color: var(--brand); }
.d-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.d-2 > div { display: flex; flex-direction: column; }
.d-2 b { font-size: 30px; font-weight: 800; line-height: 1.15; }
.d-2.rx { background: #4c1d95; border-radius: 16px; padding: 14px 16px; }
.d-2.rx b { font-size: 34px; letter-spacing: -1px; }
.d-tag { font-style: normal; font-size: 12px; font-weight: 800; color: #9a3412 !important; background: #fff3ed; border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.d-x.w { background: #fff; border: 1px solid var(--line); }
.d-chipo { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.1px; color: #1a0a00; background: var(--accent); border-radius: 99px; padding: 5px 10px; }
.d-dica { background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.d-ad { display: flex; align-items: center; gap: 14px; color: #ddd6fe; }
.d-meta .d-ad span { font-size: 36px; font-weight: 800; color: #ddd6fe; }
.d-meta span.d-adb { font-size: 14px; font-weight: 800; color: #14532d; background: #bbf7d0; border-radius: 99px; padding: 5px 12px; }
.d-meta span.d-adb.n { color: var(--ink); background: #fff; }
.d-ab { display: flex; align-items: baseline; gap: 8px; }
.d-ab span { font-size: 18px; font-weight: 800; color: var(--muted); }
.d-leg { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.d-leg i { width: 10px; height: 10px; border-radius: 3px; background: #c4b5fd; margin-left: 6px; }
.d-leg i.b { background: var(--brand); }
.d-bar.a6 { height: 6px; }
.d-bar.a6 > i { background: #c4b5fd; }
.d-bar.br.a6 > i { background: var(--brand); }
.d-pls { display: flex; flex-direction: column; gap: 8px; }
.d-pl { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; color: var(--ink); text-align: left; }
.d-pl i { width: 28px; height: 28px; flex: 0 0 28px; box-sizing: border-box; border-radius: 99px; border: 2px solid #c4b5fd; display: flex; align-items: center; justify-content: center; color: #fff; }
.d-pl.ok i { background: var(--brand); border-color: var(--brand); }
.d-pl.lock { background: #e9ebf0; border: 0; color: #414856; }
.d-plh { background: #fff; border: 2px solid var(--accent); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.d-plmais { height: 44px; border: 1px dashed #b6bcc8; border-radius: 14px; background: var(--soft); color: #414856; font-size: 14px; font-weight: 700; }
/* entrar */
.lg { display: flex; flex-direction: column; gap: 18px; min-height: 100vh; min-height: 100dvh; padding: 44px 24px 24px; line-height: 1.35; }
.lg h1 { margin: 24px 0 0; font-size: 30px; letter-spacing: -0.6px; }
.lg p { margin: 0; }
.lg label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.lg .lgm { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: flex; align-items: center; justify-content: center; }
/* reteste (quiz.js com body.rt): o desenho do app, sem tocar no funil */
body.rt .top, body.rt footer { display: none; }
body.rt .wrap { padding-top: 22px; }
.rt-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.rt-chip { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--brand); background: #ede9fe; border-radius: 99px; padding: 5px 10px; }
body.rt .progress { background: var(--line); margin: 0 0 20px; }
body.rt h2 { font-size: 24px; letter-spacing: -0.5px; line-height: 1.2; margin: 14px 0 20px; }
body.rt .opts .opt { border: 1px solid #b6bcc8; min-height: 64px; font-size: 18px; font-weight: 700; gap: 14px; }
body.rt .opts .opt.sel, body.rt .mopts .opt.sel { border-color: var(--brand); background: #f5f3ff; }
.opt .let { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; background: var(--soft); color: var(--muted); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.opt.sel .let { background: var(--brand); color: #fff; }
body.rt .grid3 { gap: 8px; border-radius: 18px; padding: 10px; }
body.rt .grid3 .c { border-radius: 12px; }
body.rt .grid3 .q { background: #fff3ed; border: 2px dashed var(--accent); color: #c2410c; }
body.rt .mopts .opt { border: 1px solid #b6bcc8; }
.rt-hint { margin: 22px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.rt-memo { background: var(--brand); color: #fff; border-radius: 20px; padding: 24px 20px; margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.rt-memo .k { font-size: 12px; font-weight: 800; letter-spacing: 1.1px; color: #ddd6fe; }
.rt-memo .w { font-size: 44px; font-weight: 800; letter-spacing: 6px; }
.rt-memo .em { font-size: 44px; letter-spacing: 6px; }
.rt-cd { align-self: stretch; display: flex; align-items: center; gap: 10px; }
.rt-cd > div { flex: 1; height: 8px; border-radius: 99px; background: #4c1d95; overflow: hidden; }
.rt-cd i { display: block; width: 100%; height: 100%; background: var(--accent); border-radius: 99px; transition: width linear; }
.rt-cd b { font-size: 15px; font-weight: 800; }
body.rt-roxo { background: var(--brand); }
.rt-an { color: #fff; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 44px; text-align: center; }
.rt-ring { --p: 0%; position: relative; width: 120px; height: 120px; border-radius: 99px; background: conic-gradient(var(--accent) var(--p), #4c1d95 0); display: flex; align-items: center; justify-content: center; }
.rt-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 99px; background: var(--brand); }
.rt-ring span { position: relative; font-size: 32px; font-weight: 800; }
.rt-an h1 { font-size: 26px; letter-spacing: -0.5px; margin: 8px 0 0; }
.rt-an p { margin: 0; font-size: 15px; color: #ddd6fe; }
.rt-rows { align-self: stretch; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; text-align: left; }
.rt-rows > div { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px 12px; background: #4c1d95; border-radius: 14px; padding: 14px 16px; font-size: 16px; font-weight: 700; }
.rt-rows i { width: 26px; height: 26px; box-sizing: border-box; border-radius: 99px; border: 2px dashed #c4b5fd; display: flex; align-items: center; justify-content: center; }
.rt-rows em { font-style: normal; font-size: 13px; font-weight: 700; color: #ddd6fe; }
.rt-rows .fila span { color: #ddd6fe; }
.rt-rows .b { display: none; grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.rt-rows u { display: block; width: 0; height: 100%; background: var(--brand); border-radius: 99px; transition: width 1s ease; }
.rt-rows .calc { background: #fff; color: var(--ink); }
.rt-rows .calc em { color: var(--muted); }
.rt-rows .calc i { border: 4px solid #ede9fe; border-top-color: var(--brand); animation: sp .8s linear infinite; }
.rt-rows .calc .b { display: block; }
.rt-rows .ok i { border: 0; background: #bbf7d0; }
/* movimento: curto, só opacidade e transform; some com "reduzir movimento" */
@media (prefers-reduced-motion: no-preference) {
  .d > *, .rt-an > * { animation: d-in .2s ease both; }
  .d-res b, .d-flame, .d-vic { animation: d-pop .35s cubic-bezier(.2, 1.4, .4, 1) both; }
  .d-lv.up { animation: d-pop .4s .15s cubic-bezier(.2, 1.4, .4, 1) both; }
  .d-cta, .d-sec, .d-jg, .d-pl, .d-horas button { transition: transform .08s; }
  .d-cta:active, .d-sec:active, .d-jg:active, .d-pl:active, .d-horas button:active { transform: scale(.98); }
  .d-tog i { transition: transform .15s; }
}
@keyframes d-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes d-pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .d-bar > i, .d-pbar i, .rt-rows u, .bar > i, .progress > i { transition: none; }
}
/* jogo dos erros (19/11/2026) */
.d-game .dfh { font-weight: 700; color: var(--ink); min-height: 21px; }
.dfb { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin: 6px auto 4px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, #f5f3ff 0%, #ffffff 55%, #fff1ea 100%); overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.dfb.jogo { cursor: pointer; }
.dfb.vazio { background: var(--soft); }
.dfo { position: absolute; line-height: 1; pointer-events: none; }
.dfw { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; }
.dfw b { font-size: 72px; line-height: 1; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.dfw span { font-size: 18px; font-weight: 700; color: var(--ink); max-width: 260px; }
.dfr { position: absolute; transform: translate(-50%, -50%); border-radius: 99px; border: 3px solid var(--good); box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); pointer-events: none; animation: dfpop .2s ease-out; }
.dfr.miss { border: 3px dashed var(--accent); box-shadow: none; }
.dfx { position: absolute; width: 30px; height: 30px; transform: translate(-50%, -50%); pointer-events: none; animation: dfsome .7s ease-out forwards; }
.dfx::before, .dfx::after { content: ''; position: absolute; left: 13px; top: 0; width: 4px; height: 30px; border-radius: 2px; background: #dc2626; transform: rotate(45deg); }
.dfx::after { transform: rotate(-45deg); }
@keyframes dfpop { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes dfsome { 0% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dfr, .dfx { animation: none; } }
/* código secreto (pranchetas 21 e 22) */
.cdx { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.cd-ins { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.cd-ins.ok { color: #15803d; font-size: 15px; font-weight: 800; }
.cd-erro { background: #fef2f2; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.cd-erro svg { flex-shrink: 0; }
.cd-erro div { display: flex; flex-direction: column; }
.cd-erro b { font-size: 15px; font-weight: 800; color: #b91c1c; }
.cd-erro span { font-size: 13px; font-weight: 700; color: #7f1d1d; }
.cd-senha { display: grid; gap: 10px; }
.cd-pos { height: 84px; border-radius: 14px; border: 2px dashed #c9cdd6; background: #fff; font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; font-weight: 800; padding: 0; touch-action: manipulation; }
.cd-pos.prox { border: 2px solid var(--brand); background: #ede9fe; color: var(--brand); }
.cd-pos.cheia { border: 1px solid var(--line); color: var(--ink); }
.cd-pos.cheia.r, .cd-c.r { color: #dc2626; }
.cd-pos.cheia.bad { border: 2px solid #fca5a5; }
.cd-pos.cheia.ok { border: 2px solid var(--good); background: #f0fdf4; }
.cd-pos .cdn { font-size: 30px; font-weight: 800; line-height: 1; }
.cd-pos .cds { font-size: 22px; line-height: 1.1; }
.cd-pistas { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.cd-kick { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--brand); }
.cd-p { display: flex; gap: 10px; align-items: baseline; font-size: 15px; line-height: 1.35; border-radius: 10px; }
.cd-p i { width: 22px; height: 22px; flex-shrink: 0; border-radius: 99px; background: var(--soft); font-size: 12px; font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; }
.cd-p.bad { background: #fef2f2; box-shadow: 0 0 0 6px #fef2f2; color: #7f1d1d; }
.cd-p.bad i { background: #fecaca; color: #b91c1c; }
.cd-mesa { display: grid; gap: 8px; }
.cd-c { height: 64px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); padding: 0; touch-action: manipulation; }
.cd-c .cdn { font-size: 20px; font-weight: 800; line-height: 1; }
.cd-c .cds { font-size: 16px; line-height: 1.1; }
.cd-c.usada, .cd-c.usada.r { background: var(--soft); color: #b4b9c4; }
.cd-c:disabled { cursor: default; }
.cd-como { margin: 0; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.cd-abrir { height: 56px; border: 0; border-radius: 16px; background: var(--line); color: var(--muted); font: inherit; font-size: 17px; font-weight: 800; }
.cd-abrir.on { background: var(--accent); color: #1a0a00; cursor: pointer; }
.d-proj[hidden] { display: none; }
/* regra escondida (pranchetas 23, 29 e 30) */
.rgx, .rg-fim { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.rg-ins { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.rg-aviso { background: #ede9fe; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.rg-aviso svg { flex-shrink: 0; }
.rg-aviso div { display: flex; flex-direction: column; }
.rg-aviso b { font-size: 15px; font-weight: 800; color: #4c1d95; }
.rg-aviso span { font-size: 13px; font-weight: 700; color: var(--brand); }
.rg-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rg-col { border-radius: 16px; background: var(--soft); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.rg-col.sim { background: #f0fdf4; }
.rg-col > span, .rg-kick { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.rg-col.sim > span { color: #15803d; }
.rg-kick { color: var(--brand); }
.rg-col > div, .rg-rx { display: flex; gap: 8px; }
.rg-m { flex: 1; height: 64px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.rg-m.sim { border-color: #d1e7d8; }
.rg-m.vazio { background: transparent; border-style: dashed; }
.rg-m b { font-size: 18px; font-weight: 800; line-height: 1; }
.rg-palco { min-height: 236px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 20px; transition: border-color .15s, background .15s; }
.rg-palco.ok { border-color: var(--good); background: #f0fdf4; }
.rg-palco.bad { border-color: #fca5a5; background: #fef2f2; }
.rg-palco > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.rg-carta { width: 132px; height: 176px; border-radius: 18px; border: 2px solid var(--ink); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.rg-carta b { font-size: 56px; font-weight: 800; line-height: 1; }
.rg-bts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rg-bts button { height: 64px; border-radius: 14px; font: inherit; font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; touch-action: manipulation; }
.rg-nao { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.rg-sim { border: 0; background: var(--brand); color: #fff; }
.rg-fimt { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rg-fimt b { font-size: 20px; font-weight: 800; }
.rg-fimt span { background: #fff3ed; color: #9a3412; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.rg-revela { border-radius: 20px; background: #f5f3ff; padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; }
.rg-r { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.rg-rt { display: flex; gap: 10px; align-items: baseline; }
.rg-rt i { width: 22px; height: 22px; flex-shrink: 0; border-radius: 99px; background: #ede9fe; color: var(--brand); font-size: 12px; font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; }
.rg-rt b { font-size: 20px; font-weight: 800; }
/* balança e próximo da sequência (pranchetas 24 e 25) */
.qx { display: flex; flex-direction: column; gap: 14px; }
.qx-palco { border: 1px solid var(--line); border-radius: 20px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: border-color .15s, background .15s; }
.qx-palco.ok { border-color: var(--good); background: #f0fdf4; }
.qx-palco.bad { border-color: #fca5a5; background: #fef2f2; }
.qx-tit { font-size: 13px; font-weight: 700; color: var(--muted); }
.qx-bal { width: 100%; max-width: 330px; }
.qx-bal svg { display: block; width: 100%; height: auto; }
.qx-perg { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 18px; font-weight: 800; }
.qx-op { display: grid; gap: 10px; }
.qx-b { height: 64px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 24px; font-weight: 800; touch-action: manipulation; }
.qx-seq { display: flex; gap: 6px; align-items: center; justify-content: center; width: 100%; padding: 18px 0; }
.qx-seq b { flex: 1 1 0; min-width: 0; max-width: 52px; height: 58px; border-radius: 12px; background: var(--soft); font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; letter-spacing: -.5px; }
.qx-seq.longa b { font-size: 21px; }
.qx-seq b.q { border: 2px dashed var(--brand); background: #ede9fe; color: var(--brand); }
/* 5 erros desenhado (pranchetas 26 a 28) */
.d-3[hidden] { display: none; }
.d-fase { font-size: 17px; font-weight: 800; color: var(--ink); align-items: baseline; }
.d-fase #hk { font-size: 22px; color: var(--brand); }
.d-chipm { background: #fff3ed; color: #9a3412; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 800; }
.dfd-load { padding: 60px 0; text-align: center; font-weight: 700; color: var(--muted); }
.dfd { position: relative; width: min(100vw, 62vh, 560px); aspect-ratio: 2 / 3; margin-left: 50%; transform: translateX(-50%); background: var(--soft); overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.dfd img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.dfd.jogo { cursor: crosshair; }
.dfd.vazio { display: flex; align-items: center; justify-content: center; }
.dfd.vazio .dfw { position: static; }
.dfd-txt { margin: 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.dfd-m { position: absolute; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 99px; border: 3px solid var(--brand); background: rgba(91, 33, 182, .12); padding: 0; cursor: pointer; }
.dfd-m i { position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; }
.dfd-r { position: absolute; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 99px; box-sizing: border-box; pointer-events: none; }
.dfd-r.ok { border: 4px solid var(--good); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.dfd-r.bad { border: 4px solid #dc2626; background: rgba(255, 255, 255, .55); }
.dfd-r.bad::before, .dfd-r.bad::after { content: ''; position: absolute; left: 18px; top: 9px; width: 4px; height: 22px; border-radius: 2px; background: #dc2626; transform: rotate(45deg); }
.dfd-r.bad::after { transform: rotate(-45deg); }
.dfd-r.falta { border: 4px dashed var(--accent); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.dfd.antes .dfd-r { visibility: hidden; }
.dfd-leg { display: flex; justify-content: center; gap: 16px; font-size: 13px; font-weight: 800; }
.dfd-leg span { display: flex; align-items: center; gap: 6px; }
.dfd-leg i { width: 12px; height: 12px; border-radius: 99px; }
.dfd-leg .ok { color: #15803d; } .dfd-leg .ok i { border: 3px solid var(--good); }
.dfd-leg .bad { color: #b91c1c; } .dfd-leg .bad i { border: 3px solid #dc2626; }
.dfd-leg .falta { color: #c2410c; } .dfd-leg .falta i { border: 3px dashed var(--accent); }
