.nnq{--nnq-bg:#141e30;--nnq-card:#1e2c42;--nnq-text:#f4f7ff;--nnq-muted:#bdcbe0;color:var(--nnq-text);font-family:inherit;max-width:1120px;margin:28px auto;padding:0 16px 50px;box-sizing:border-box}.nnq *{box-sizing:border-box}.nnq-hero{padding:42px 30px;background:linear-gradient(120deg,#132b47,#29244c);border-radius:18px;margin-bottom:20px}.nnq-eyebrow{font-size:12px;letter-spacing:2px;color:#89c8ff;font-weight:800}.nnq-hero h1{font-size:clamp(30px,5vw,52px);color:white;margin:9px 0}.nnq-hero p{color:#d5ddec;margin:0}.nnq-panel{padding:25px;background:var(--nnq-bg);border:1px solid #344762;border-radius:16px}.nnq-panel[hidden],.nnq-empty[hidden]{display:none}.nnq-panel h2{color:white;margin:0 0 18px}.nnq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.nnq-story{background:var(--nnq-card);border:1px solid #344762;color:white;padding:10px;text-align:left;border-radius:12px;cursor:pointer;transition:.15s}.nnq-story:hover,.nnq-story:focus-visible{border-color:#71adff;transform:translateY(-2px)}.nnq-story img,.nnq-placeholder{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:7px;display:grid;place-items:center;background:#324b6c;font-size:64px}.nnq-story strong{display:block;font-size:14px;margin-top:9px;line-height:1.4}.nnq-story small{display:block;color:var(--nnq-muted);margin-top:4px}.nnq-msg{color:#b9d8ff;min-height:1.4em}.nnq-progress{color:#9cc7ff;margin-bottom:12px;font-weight:700}.nnq-options{display:grid;gap:10px}.nnq-options button{border:1px solid #435a79;background:#243650;color:#fff;padding:15px;text-align:left;border-radius:9px;cursor:pointer;font:inherit}.nnq-options button:hover,.nnq-options button.selected{background:#2e598a;border-color:#9cc7ff}.nnq-next,.nnq-restart{background:#3584e4;color:white;border:0;border-radius:9px;padding:13px 22px;margin-top:22px;cursor:pointer;font-weight:700}.nnq-next:disabled{opacity:.5;cursor:not-allowed}.nnq-score{font-size:22px;font-weight:700;color:#d4edff}@media(max-width:600px){.nnq{padding:0 10px 32px}.nnq-hero{padding:29px 20px}.nnq-panel{padding:17px}.nnq-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* v0.1.1: experiência full-width e interface de jogo */
.nnq{max-width:1600px;width:100%;margin:0 auto;padding:24px clamp(14px,3vw,48px) 70px}.nnq-hero{padding:clamp(32px,5vw,70px);background:radial-gradient(circle at 90% 10%,#43346d 0,transparent 40%),linear-gradient(120deg,#102a47,#242443);border:1px solid #384867}.nnq-panel{padding:clamp(20px,3vw,42px)}.nnq-grid{grid-template-columns:repeat(auto-fill,minmax(145px,190px));gap:20px}.nnq-story{padding:12px}.nnq-story:focus-visible,.nnq-options button:focus-visible,.nnq-next:focus-visible{outline:3px solid #80caff;outline-offset:3px}.nnq-game,.nnq-results{max-width:1050px;margin:0 auto}.nnq-progress-track{height:9px;background:#33425b;border-radius:20px;overflow:hidden;margin:0 0 30px}.nnq-progress-fill{display:block;height:100%;background:linear-gradient(90deg,#3d91ff,#76d5ff);transition:width .2s}.nnq-question{font-size:clamp(22px,3vw,34px);line-height:1.3;margin-bottom:28px!important}.nnq-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.nnq-options button{min-height:72px;font-size:16px;font-weight:600;transition:background .15s,border-color .15s,transform .15s}.nnq-options button:hover{transform:translateY(-2px)}.nnq-options button.selected{background:#20538a;border:2px solid #8dc7ff;box-shadow:0 0 0 2px #8dc7ff30}.nnq-next,.nnq-restart{padding:15px 28px}.nnq-score-ring{width:145px;height:145px;margin:20px auto;display:flex;flex-direction:column;align-items:center;justify-content:center;border:9px solid #4697e9;border-radius:50%;background:#203958}.nnq-score-ring strong{font-size:38px}.nnq-score-ring span{font-size:13px;color:#d3e3f9}.nnq-results{text-align:center}.nnq-review{text-align:left;display:grid;gap:12px;margin:20px 0}.nnq-review-item{padding:18px;background:#24354b;border:1px solid #53647b;border-radius:12px}.nnq-review-item.is-correct{border-left:4px solid #3dbd80}.nnq-review-item.is-wrong{border-left:4px solid #f0a05c}.nnq-review-item p{margin:8px 0}.nnq-review-item small{color:#cbd7e9}.nnq-results h3{color:white}@media(max-width:650px){.nnq{padding:12px 12px 45px}.nnq-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nnq-options{grid-template-columns:1fr}.nnq-options button{min-height:60px}.nnq-hero{padding:32px 22px}}

/* v0.1.2: dedicated full-width page, no theme page metadata/date */
body.nnq-full-page #nnq-main.nnq-page-main{display:block!important;width:100%!important;max-width:none!important;min-height:65vh;margin:0!important;padding:0!important;background:transparent!important;float:none!important}
body.nnq-full-page #nnq-main .nnq{width:100%;max-width:none;margin:0 auto;padding:16px clamp(16px,3vw,56px) 60px}
body.nnq-full-page #nnq-main .nnq-hero{margin-bottom:20px}
body.nnq-full-page #nnq-main .nnq-game,body.nnq-full-page #nnq-main .nnq-results{width:100%;max-width:none;margin:0}
body.nnq-full-page #nnq-main .nnq-grid{grid-template-columns:repeat(auto-fill,minmax(145px,190px))}
.nnq-back{display:inline-flex;align-items:center;gap:6px;margin:0 0 20px;padding:9px 13px;border:1px solid #557193;border-radius:8px;background:#263a53;color:#e9f3ff;cursor:pointer;font:inherit;font-weight:650}
.nnq-back:hover,.nnq-back:focus-visible{border-color:#a5d4ff;background:#315276}
@media(max-width:650px){body.nnq-full-page #nnq-main .nnq{padding:8px 12px 40px}body.nnq-full-page #nnq-main .nnq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.1.3 — match Novera Home's .nh-shell (1320px, responsive gutters). */
body.nnq-full-page #nnq-main .nnq{
  width:min(1320px,calc(100% - 48px));max-width:1320px;
  margin:0 auto;padding:28px 0 68px;
}
body.nnq-full-page #nnq-main .nnq-hero{padding:38px 44px;margin-bottom:18px}
body.nnq-full-page #nnq-main .nnq-panel{padding:28px 32px}
body.nnq-full-page #nnq-main .nnq-game,
body.nnq-full-page #nnq-main .nnq-results{width:100%;max-width:950px;margin:0 auto}
body.nnq-full-page #nnq-main .nnq-grid{grid-template-columns:repeat(auto-fill,minmax(145px,180px));gap:16px}
@media(max-width:1100px){body.nnq-full-page #nnq-main .nnq{width:min(1180px,calc(100% - 36px))}}
@media(max-width:620px){
 body.nnq-full-page #nnq-main .nnq{width:calc(100% - 20px);padding:18px 0 42px}
 body.nnq-full-page #nnq-main .nnq-hero{padding:26px 22px}
 body.nnq-full-page #nnq-main .nnq-panel{padding:18px 16px}
 body.nnq-full-page #nnq-main .nnq-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}

/* v0.1.6 ranking */
.nnq-ranking{max-width:950px;margin:20px auto 0}.nnq-week-note,.nnq-profile{color:#bfd0e8}.nnq-rank-row{display:flex;justify-content:space-between;gap:16px;padding:12px 3px;border-bottom:1px solid #344762}.nnq-rank-status{font-weight:700;color:#9fd4ff}

/* v0.1.7 */
.nnq-daily{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;flex-wrap:wrap}.nnq-daily h2{margin:7px 0!important}.nnq-daily p{color:#c9d9ec;margin:0}.nnq-daily-play{border:0;border-radius:9px;padding:14px 23px;background:#3584e4;color:#fff;font-weight:750;cursor:pointer}.nnq-daily-msg{width:100%;color:#a6d2ff}.nnq-daily-ranking{max-width:950px;margin:20px auto 0}.nnq-daily-profile{color:#c9d9ec;padding-top:10px}.nnq-rank-row:nth-child(-n+3){font-weight:750}.nnq-start .nnq-grid:after{display:none!important}

/* v0.1.8 — modo de jogo imersivo */
.nnq [hidden],.nnq-hero[hidden],.nnq-daily[hidden],.nnq-rank-tabs[hidden],.nnq-history[hidden],.nnq-ranking[hidden],.nnq-daily-ranking[hidden]{display:none!important}
.nnq-rank-tabs{max-width:950px;margin:20px auto 0;display:flex;gap:8px;flex-wrap:wrap}.nnq-rank-tab{padding:12px 20px;border-radius:10px;background:#1c2a40;border:1px solid #405572;color:#d7e8ff;font:inherit;font-weight:700;cursor:pointer}.nnq-rank-tab.is-active{background:#347ed2;color:#fff;border-color:#75baff}.nnq-history{max-width:950px;margin:12px auto 0}.nnq-daily-ranking,.nnq-ranking{margin-top:12px}.nnq-daily-state{font-weight:700;color:#a9d9ff!important}.nnq-countdown{font-size:13px;color:#bdcce2}.nnq-playing{padding-top:12px!important}.nnq-playing .nnq-game{margin:0 auto!important;max-width:950px}.nnq-game-brand{display:flex;align-items:center;gap:22px;margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid #384c68}.nnq-game-cover{width:88px;min-width:88px;height:116px;border-radius:10px;overflow:hidden;background:linear-gradient(130deg,#204365,#49396a);display:grid;place-items:center;font-size:42px;color:#c7dcff}.nnq-game-cover img{width:100%;height:100%;object-fit:cover}.nnq-game-title{font-size:clamp(23px,3vw,34px);line-height:1.2;margin:8px 0 0!important}.nnq-game .nnq-back{margin-bottom:24px}.nnq-game .nnq-question{margin-top:10px}.nnq-results{margin-top:0!important}@media(max-width:620px){.nnq-game-brand{gap:14px}.nnq-game-cover{width:70px;min-width:70px;height:94px}.nnq-rank-tab{flex:1;padding:10px 8px}}

/* v0.1.9 — feedback discreto na escolha; respeita movimento reduzido */
@media(prefers-reduced-motion:no-preference){.nnq-options button.nnq-pop{animation:nnq-select-pop .2s ease-out}@keyframes nnq-select-pop{50%{transform:scale(1.018)}}}

.nnq-daily-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.nnq-mixed-training{border:1px solid #597393;border-radius:9px;padding:14px 23px;background:#243851;color:#fff;font-weight:750;cursor:pointer}.nnq-mixed-training:hover{background:#304c6e}

/* v0.2.1: um único CTA por estado, com dado temático */
.nnq-dice{display:inline-block;margin-right:6px;font-size:.88em;vertical-align:baseline}
.nnq-daily-actions button[hidden]{display:none!important}
.nnq-mixed-training{background:#3584e4;border-color:#3584e4}
.nnq-mixed-training:hover{background:#256bc2}

/* v0.2.2 — Conquistas */
.nnq-medal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.nnq-medal{display:flex;flex-direction:column;gap:8px;border:1px solid #3d526e;border-radius:12px;padding:18px;background:#213047}.nnq-medal.is-locked{opacity:.66}.nnq-medal-icon{font-size:32px}.nnq-medal small{color:#c4d2e4;line-height:1.5}.nnq-medal-progress{font-size:12px;color:#a9d2ff;font-weight:700;margin-top:auto}.nnq-ach-intro{color:#d1e6ff}.nnq-medal-notice{background:#1e4d44;border:1px solid #61bb95;border-radius:10px;padding:14px;margin:14px 0;color:#fff;font-weight:700}@media(max-width:640px){.nnq-medal-grid{grid-template-columns:1fr}}

/* v0.2.3: raridades, progresso e desbloqueio; sem alterar regras do jogo */
.nnq-medal{position:relative;overflow:hidden;opacity:1!important;transition:border-color .2s,transform .2s;min-width:0}
.nnq-medal.is-locked{background:#1d293b}.nnq-medal.is-locked .nnq-medal-icon{filter:grayscale(.5);opacity:.8}
.nnq-medal.is-unlocked{background:linear-gradient(135deg,#253c53,#1d2b40);border-width:1px}
.nnq-medal-rarity{align-self:flex-start;font-size:11px;letter-spacing:.07em;text-transform:uppercase;font-weight:800;border-radius:20px;padding:4px 10px;background:#34485e;color:#d8e4f2}
.nnq-rarity-common{--nnq-rarity:#8db4ce}.nnq-rarity-rare{--nnq-rarity:#6caaff}.nnq-rarity-epic{--nnq-rarity:#c49bff}.nnq-rarity-legendary{--nnq-rarity:#f5ca68}
.nnq-medal.is-unlocked{border-color:var(--nnq-rarity)}.nnq-medal-rarity{color:var(--nnq-rarity);border:1px solid currentColor;background:transparent}
.nnq-rarity-legendary.is-unlocked{background:linear-gradient(125deg,#343047,#3c3428 75%,#243246);box-shadow:inset 0 0 0 1px #a9894a55}
.nnq-medal-bar{height:7px;border-radius:20px;background:#101c2b;overflow:hidden;border:1px solid #40516b;margin-top:3px}
.nnq-medal-bar span{display:block;height:100%;border-radius:20px;background:var(--nnq-rarity);transition:width .35s ease}
.nnq-medal-icon{line-height:1.2}.nnq-medal.is-unlocked .nnq-medal-icon{filter:drop-shadow(0 0 8px #9fc5ff44)}
.nnq-medal-celebrate{animation:nnq-medal-appear .55s ease-out;border-color:#8fe0b1;box-shadow:0 0 20px #52bd8744;text-align:center}
@keyframes nnq-medal-appear{0%{opacity:0;transform:translateY(12px) scale(.97)}70%{transform:translateY(-2px) scale(1.01)}100%{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.nnq-medal-celebrate{animation:none}.nnq-medal,.nnq-medal-bar span{transition:none}}
@media(max-width:640px){.nnq-medal{padding:15px}.nnq-medal-rarity{font-size:10px}}

/* v0.2.4 — refinamento responsivo da página inicial e dos painéis.
   Regras visuais apenas: preserva desafios, pontuações e conquistas. */
body.nnq-full-page #nnq-main .nnq{max-width:1120px;width:100%;padding:24px 16px 60px}
body.nnq-full-page #nnq-main .nnq-hero{padding:32px 36px;margin-bottom:14px}
.nnq-hero h1{line-height:1.12;margin:8px 0 9px}
body.nnq-full-page #nnq-main .nnq-panel{padding:24px 28px}
.nnq-daily{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:24px;row-gap:8px;margin-bottom:14px}
.nnq-daily h2{margin:5px 0 7px!important}
.nnq-daily-actions{display:flex;justify-content:flex-end;align-items:center}
.nnq-daily-actions button{white-space:nowrap}
.nnq-daily-msg{grid-column:1/-1;margin:0;min-height:0}
.nnq-daily-msg:empty{display:none}
.nnq-start{margin-bottom:0}
.nnq-start h2{margin-bottom:16px}
body.nnq-full-page #nnq-main .nnq-grid{grid-template-columns:repeat(auto-fill,minmax(135px,152px));gap:14px}
.nnq-story{min-width:0;padding:9px;display:flex;flex-direction:column}
.nnq-story img,.nnq-placeholder{aspect-ratio:3/4;object-fit:cover}
.nnq-story strong{font-size:13px;line-height:1.3;margin-top:8px}
.nnq-story small{margin-top:5px}
.nnq-start>.nnq-msg:empty{display:none}
.nnq-rank-tabs{max-width:100%;width:100%;margin:18px 0 0;display:flex;justify-content:center;gap:8px}
.nnq-rank-tab{min-height:44px;padding:10px 16px;white-space:normal;text-align:center}
body.nnq-full-page #nnq-main .nnq-ranking,body.nnq-full-page #nnq-main .nnq-daily-ranking,
body.nnq-full-page #nnq-main .nnq-history,body.nnq-full-page #nnq-main .nnq-achievements{width:100%;max-width:none;margin:10px auto 0}
@media(max-width:650px){
 body.nnq-full-page #nnq-main .nnq{width:calc(100% - 16px);padding:12px 0 38px}
 body.nnq-full-page #nnq-main .nnq-hero{padding:25px 20px;margin-bottom:12px}
 .nnq-hero h1{font-size:clamp(30px,9vw,40px)}
 body.nnq-full-page #nnq-main .nnq-panel{padding:20px 16px}
 .nnq-daily{grid-template-columns:minmax(0,1fr);gap:13px;margin-bottom:12px}
 .nnq-daily p{line-height:1.45}
 .nnq-daily-actions{width:100%;display:block}
 .nnq-daily-actions button{width:100%;min-height:48px;white-space:normal}
 .nnq-daily-msg{grid-column:1}
 body.nnq-full-page #nnq-main .nnq-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .nnq-story{width:100%;max-width:none}
 .nnq-story img,.nnq-placeholder{aspect-ratio:3/4}
 .nnq-story strong{font-size:14px}
 .nnq-rank-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
 .nnq-rank-tab{width:100%;min-width:0;min-height:46px;line-height:1.25;padding:10px 7px;overflow-wrap:normal}
 body.nnq-full-page #nnq-main .nnq-ranking,body.nnq-full-page #nnq-main .nnq-daily-ranking,
 body.nnq-full-page #nnq-main .nnq-history,body.nnq-full-page #nnq-main .nnq-achievements{margin-top:10px}
 .nnq-rank-row{align-items:baseline;gap:10px}
}

/* v0.2.5: restaura largura desktop original inclusive paineis de ranking; mobile inalterado. */
@media(min-width:651px){body.nnq-full-page #nnq-main .nnq{max-width:1120px!important;width:100%!important;padding-left:16px!important;padding-right:16px!important}body.nnq-full-page #nnq-main .nnq-ranking,body.nnq-full-page #nnq-main .nnq-daily-ranking,body.nnq-full-page #nnq-main .nnq-history,body.nnq-full-page #nnq-main .nnq-achievements{max-width:100%!important}}

/* v0.2.6: restaura exatamente a largura do container desktop da v0.2.3.
   Mantém todas as regras responsivas mobile da v0.2.4. */
@media (min-width: 651px) {
 body.nnq-full-page #nnq-main .nnq {
  width: min(1320px, calc(100% - 48px)) !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 24px clamp(14px, 3vw, 48px) 70px !important;
 }
}

/* v0.2.7 — capas 600 x 800 (3:4): impedir altura fixa ou distorção herdada do tema.
   Somente desktop; mantém os cards, a largura geral e o mobile aprovado. */
@media (min-width: 651px) {
 body.nnq-full-page #nnq-main .nnq-start .nnq-story img,
 body.nnq-full-page #nnq-main .nnq-start .nnq-placeholder {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  object-position: center !important;
  max-width: 100% !important;
  max-height: none !important;
 }
 body.nnq-full-page #nnq-main .nnq-start .nnq-placeholder {
  display: grid !important;
 }
}
/* v0.2.8: autosave and resume */
.nnq-resume{padding:16px;margin:0 0 18px;border:1px solid #5289c4;border-radius:12px;background:#20334a}.nnq-resume p{margin:8px 0 12px}.nnq-resume button,.nnq-save{background:#347ed3;color:#fff;border:1px solid #679cda;border-radius:8px;padding:11px 16px;font-weight:700;cursor:pointer}.nnq-save{margin:0 10px 14px 0}.nnq-live-points{color:#b4dbff;font-weight:600;font-size:14px}

/* v0.2.9: feedback inline e ações lado a lado */
.nnq-game-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0 12px}
.nnq-game-actions .nnq-save,.nnq-game-actions .nnq-back{margin:0}
.nnq-game .nnq-live-points{margin:-16px 0 22px;min-height:1.3em}
.nnq-options button.nnq-correct,.nnq-options button.nnq-correct:hover{background:#176444;border:2px solid #53d79b;color:#fff;transform:none}
.nnq-options button.nnq-wrong,.nnq-options button.nnq-wrong:hover{background:#76343e;border:2px solid #ff929c;color:#fff;transform:none}
.nnq-answer-note{display:block;margin-top:7px;font-size:14px;font-weight:800;color:#fff}
.nnq-options button:disabled{cursor:default;opacity:1}
@media(max-width:600px){.nnq-game-actions{gap:8px}.nnq-game-actions button{font-size:14px;padding:10px 12px}}

/* Progresso permanente por obra */
.nnq-mastery{display:flex;flex-direction:column;gap:5px;margin-top:8px;text-align:left;width:100%}.nnq-mastery-label{font-size:12px;color:#cbd5e1;line-height:1.35}.nnq-mastery-track{display:block;height:6px;border-radius:8px;background:#40516c;overflow:hidden;width:100%}.nnq-mastery-track>span{display:block;height:100%;background:#34ba83;border-radius:8px;transition:width .3s}.nnq-mastery-complete{color:#6ee7b7;font-size:12px;font-weight:750}.nnq-mastery-result{color:#6ee7b7;font-weight:700}

.nnq-mastery-detail{font-size:12px;color:#6ee7b7;line-height:1.35;font-weight:650}

/* v0.3.7: seleção de novelas em estilo minigame. Mantém a proporção original das capas. */
.nnq-start .nnq-select-subtitle{color:#b9cbe4;margin:-8px 0 22px;font-size:15px}
.nnq-start .nnq-grid,body.nnq-full-page #nnq-main .nnq-start .nnq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,245px));gap:22px;justify-content:start}
.nnq-start .nnq-story,body.nnq-full-page #nnq-main .nnq-start .nnq-story{width:100%;max-width:none;min-width:0;padding:14px;display:flex;flex-direction:column;text-align:left;position:relative;border-radius:16px;background:linear-gradient(160deg,#243651,#1c2a40);border:1px solid #405a7b;box-shadow:0 6px 18px #070e1d38;transition:transform .18s,border-color .18s,box-shadow .18s}
.nnq-start .nnq-story:hover{transform:translateY(-4px);border-color:#70adff;box-shadow:0 12px 26px #06102070}
.nnq-start .nnq-story img,body.nnq-full-page #nnq-main .nnq-start .nnq-story img,.nnq-start .nnq-placeholder{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;border-radius:10px;background:#111b2c}
.nnq-start .nnq-story strong{font-size:17px;line-height:1.28;margin:13px 0 6px;min-height:2.55em;color:#fff}
.nnq-start .nnq-story .nnq-question-count{color:#bdd6f4;font-size:13px;font-weight:650;margin:0 0 7px}
.nnq-start .nnq-story .nnq-mastery{margin:8px 0 14px;gap:9px;flex:1}
.nnq-start .nnq-story .nnq-mastery-label{font-size:13px;color:#d8e5f5}
.nnq-start .nnq-story .nnq-mastery-track{height:9px;background:#101d30}
.nnq-start .nnq-story .nnq-mastery-detail{font-size:13px;color:#74e7bd}
.nnq-start .nnq-story-cta{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;border-radius:9px;background:linear-gradient(100deg,#2475d3,#398ff1);color:#fff;font-size:14px;font-weight:800;letter-spacing:.7px;box-shadow:inset 0 1px #ffffff35}
.nnq-start .nnq-story:hover .nnq-story-cta{background:linear-gradient(100deg,#3385eb,#5ca6ff)}
.nnq-start .nnq-story.is-complete{border-color:#d5a84c;box-shadow:0 0 0 1px #d5a84c55,0 8px 24px #0005}
.nnq-start .nnq-story.is-complete .nnq-story-cta{background:linear-gradient(100deg,#8b681e,#c99a36)}
.nnq-start .nnq-story.is-complete .nnq-mastery-complete{color:#ffd98c}
@media(max-width:600px){.nnq-start .nnq-grid,body.nnq-full-page #nnq-main .nnq-start .nnq-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nnq-start .nnq-story,body.nnq-full-page #nnq-main .nnq-start .nnq-story{padding:9px}.nnq-start .nnq-story strong{font-size:14px;min-height:2.5em}.nnq-start .nnq-story .nnq-mastery-label,.nnq-start .nnq-story .nnq-mastery-detail{font-size:11px}.nnq-start .nnq-story-cta{min-height:38px;font-size:12px}}
@media(max-width:350px){.nnq-start .nnq-grid,body.nnq-full-page #nnq-main .nnq-start .nnq-grid{grid-template-columns:minmax(0,1fr)}.nnq-start .nnq-story{max-width:250px!important}}

/* v0.3.8 — refinamento visual; mecânicas inalteradas */
.nnq:not(.nnq-playing)>.nnq-hero{margin-bottom:28px}.nnq:not(.nnq-playing)>.nnq-daily{margin-bottom:30px}.nnq:not(.nnq-playing)>.nnq-start{margin-bottom:26px}
.nnq-daily{position:relative;overflow:hidden;padding:clamp(23px,3.5vw,38px)!important;background:radial-gradient(circle at 96% 0%,#62418d65,transparent 42%),linear-gradient(125deg,#1c3155,#30264d)!important;border:1px solid #7664ad!important;box-shadow:0 12px 32px #0b122842}
.nnq-daily .nnq-dice{display:inline-grid;place-items:center;width:48px;height:48px;font-size:27px;vertical-align:middle;border-radius:13px;background:#7455a755;margin-right:8px;box-shadow:inset 0 0 0 1px #b8a0e055}
.nnq-daily h2{font-size:clamp(23px,2.8vw,30px)!important}.nnq-daily p{font-size:15px;line-height:1.6;max-width:700px}
.nnq-daily-stats{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.nnq-daily-stats span{display:flex;align-items:center;gap:7px;background:#344366b8;border:1px solid #6a79a275;padding:9px 13px;border-radius:10px;color:#e2eaf9;font-size:13px}.nnq-daily-stats strong{font-size:19px;color:#fff}
.nnq-daily-play{min-height:49px;padding:13px 22px!important;background:linear-gradient(105deg,#327fe4,#586ee5)!important;box-shadow:0 6px 16px #09163065;transition:transform .18s,filter .18s}.nnq-daily-play:hover,.nnq-mixed-training:hover{transform:translateY(-2px);filter:brightness(1.12)}
.nnq-start .nnq-story{border-color:#58749a!important;box-shadow:0 8px 22px #060d1d65!important}.nnq-start .nnq-story:hover{border-color:#9ac5ff!important;box-shadow:0 15px 30px #050c1c9a!important}.nnq-start .nnq-story img{border:1px solid #8299b355;box-shadow:0 4px 15px #07112280}.nnq-start .nnq-story-cta{transition:filter .18s,box-shadow .18s}.nnq-start .nnq-story:hover .nnq-story-cta{filter:brightness(1.1);box-shadow:0 4px 16px #3a89ef55}
.nnq-start .nnq-select-subtitle,.nnq-week-note{font-size:15px!important;line-height:1.55;color:#d1dded!important}.nnq-ranking{border-color:#455d80}.nnq-ranking h2{font-size:clamp(22px,2.6vw,29px)}.nnq-ranking .nnq-rank-row{align-items:center;padding:13px 9px;gap:12px;font-size:15px}.nnq-ranking .nnq-rank-row:nth-child(-n+3){background:#26385260;border-radius:9px}
.nnq-rank-person{display:flex;align-items:center;gap:12px;min-width:0}.nnq-rank-place{width:32px;flex:none;text-align:center;font-size:21px}.nnq-rank-avatar{width:36px;height:36px;flex:none;object-fit:cover;border-radius:50%;border:2px solid #7395bc;background:#263c58}.nnq-rank-name{overflow-wrap:anywhere}.nnq-rank-points{flex:none;color:#b8e6ff;font-size:16px}.nnq-profile{font-size:15px;line-height:1.6}
@media(max-width:650px){.nnq:not(.nnq-playing)>.nnq-hero{margin-bottom:19px}.nnq:not(.nnq-playing)>.nnq-daily{margin-bottom:22px}.nnq-daily{padding:20px!important}.nnq-daily .nnq-dice{width:38px;height:38px;font-size:22px}.nnq-daily-stats{gap:6px}.nnq-daily-stats span{padding:7px 9px;font-size:11px}.nnq-daily-stats strong{font-size:16px}.nnq-ranking .nnq-rank-row{font-size:13px;padding:12px 3px}.nnq-rank-person{gap:7px}.nnq-rank-avatar{width:30px;height:30px}.nnq-rank-place{width:25px;font-size:17px}.nnq-rank-points{font-size:13px}}
@media(prefers-reduced-motion:reduce){.nnq-start .nnq-story,.nnq-daily-play,.nnq-start .nnq-story-cta{transition:none!important}}

.nnq-custom-heading{margin:28px 0 8px;font-size:1.2rem;color:inherit}.nnq-custom-grid{margin-top:12px}

/* v0.4.3: espaçamento exclusivo da seção de quizzes especiais. */
.nnq-start .nnq-custom-heading { margin:24px 0 6px !important; padding:0; line-height:1.35; }
.nnq-start .nnq-custom-heading + .nnq-select-subtitle { margin:0 0 16px !important; line-height:1.5; }
.nnq-start .nnq-custom-grid { margin-top:0 !important; }

/* v0.4.4 — integração visual com Novera, somente CSS */
body.nnq-full-page #nnq-main .nnq{max-width:1180px}
.nnq-hero{border-radius:13px!important;background:radial-gradient(circle at 96% 4%,#49376c80,transparent 46%),linear-gradient(115deg,#172d47,#202d4a)!important;border-color:#405574!important}
.nnq-daily{border-radius:13px!important;background:radial-gradient(circle at 100% 0%,#62458c70,transparent 48%),linear-gradient(120deg,#203b5a,#33294f)!important}
.nnq-panel{border-radius:12px}
.nnq-game,.nnq-results{max-width:820px!important;width:100%;border-color:#40536d!important;background:#182434!important}
.nnq-game-brand{gap:17px;margin-bottom:17px;padding-bottom:17px}
.nnq-game-cover{width:78px;min-width:78px;height:104px;border-radius:8px}
.nnq-game-title{font-size:clamp(23px,2.7vw,31px)}
.nnq-game-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.nnq-game .nnq-back{margin:0}
.nnq-game .nnq-progress{color:#b3d3ff;font-size:13px;margin-bottom:9px}
.nnq-game .nnq-progress-track{height:8px;background:#35455d;margin-bottom:30px}
.nnq-game .nnq-progress-fill{background:linear-gradient(90deg,#2877ec,#65b6ff)}
.nnq-game .nnq-question{font-size:clamp(23px,2.9vw,31px);line-height:1.27;margin-bottom:22px!important}
.nnq-game .nnq-options{counter-reset:nnq-answer;gap:11px}
.nnq-game .nnq-options button{display:flex;align-items:center;gap:12px;min-height:66px;padding:12px 15px;background:#24364d;border:1px solid #4a6280;border-radius:9px;line-height:1.4}
.nnq-game .nnq-options button::before{counter-increment:nnq-answer;content:counter(nnq-answer, upper-alpha);display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border:1px solid #6482a5;border-radius:7px;background:#1a2a40;color:#a9ceff;font-size:13px;font-weight:800}
.nnq-game .nnq-options button.selected{background:#25466b;border-color:#79b4ff}
.nnq-game .nnq-options button:disabled{cursor:default}
.nnq-game .nnq-next,.nnq-restart{background:#317fee;border-radius:8px;min-height:43px}
.nnq-results{padding-top:32px!important}
.nnq-results>h2{font-size:clamp(24px,3vw,33px);margin-bottom:8px!important}
.nnq-results .nnq-score-ring{width:132px;height:132px;border:7px solid #438ff5;background:#203650;box-shadow:0 0 0 6px #438ff512;margin:21px auto}
.nnq-results .nnq-score-ring strong{font-size:36px}
.nnq-results .nnq-score{max-width:620px;margin:15px auto 26px;line-height:1.6;font-size:15px;color:#dbe7f6}
.nnq-results>h3{font-size:20px;text-align:left;padding-bottom:12px;border-bottom:1px solid #3d5069;margin-top:28px}
.nnq-results .nnq-review{gap:11px;margin-top:15px}
.nnq-results .nnq-review-item{padding:17px 18px;border:1px solid #405773;border-left-width:4px;border-radius:10px;background:#223349;line-height:1.5}
.nnq-results .nnq-review-item.is-correct{border-left-color:#49c997}
.nnq-results .nnq-review-item.is-wrong{border-left-color:#efad70}
.nnq-results .nnq-review-item strong{display:block;font-size:15px;color:#f6f8fd}
.nnq-results .nnq-review-item p{font-size:13px;color:#d5e1f0}
.nnq-results .nnq-review-item small{display:block;color:#bfcfe2;font-size:12px;line-height:1.55}
@media(max-width:650px){.nnq-game,.nnq-results{max-width:100%!important}.nnq-game-brand{gap:12px}.nnq-game-cover{width:65px;min-width:65px;height:87px}.nnq-game-actions>*{flex:1;justify-content:center;text-align:center}.nnq-game .nnq-question{font-size:clamp(21px,6vw,27px)}.nnq-game .nnq-options{grid-template-columns:minmax(0,1fr);gap:10px}.nnq-game .nnq-options button{min-height:58px;padding:11px 12px}.nnq-results .nnq-review-item{padding:14px}}
@media(prefers-reduced-motion:reduce){.nnq-game .nnq-options button,.nnq-game .nnq-progress-fill{transition:none}}

/* v0.4.5: acabamento visual e estados de resposta. Prioridade sobre o tema. */
body.nnq-full-page #nnq-main .nnq-start .nnq-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,205px),245px));gap:17px}
.nnq-game .nnq-options button{position:relative;display:flex;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;gap:10px 12px;overflow-wrap:anywhere;transition:background-color .14s,border-color .14s,box-shadow .14s}
.nnq-game .nnq-options button .nnq-answer-note{display:inline-flex;align-items:center;flex:0 1 auto;margin:0 0 0 auto;padding:5px 9px;border-radius:6px;font-size:12px;line-height:1.3;white-space:normal;text-align:left;background:#ffffff17}
/* These selectors MUST follow the generic v0.4.4 option-button background rule. */
.nnq .nnq-game .nnq-options button.nnq-correct,
.nnq .nnq-game .nnq-options button.nnq-correct:hover,
.nnq .nnq-game .nnq-options button.nnq-correct.selected{background:#155c42!important;border:2px solid #54dfa1!important;box-shadow:0 0 0 2px #43d99426!important;color:#fff!important;transform:none}
.nnq .nnq-game .nnq-options button.nnq-wrong,
.nnq .nnq-game .nnq-options button.nnq-wrong:hover,
.nnq .nnq-game .nnq-options button.nnq-wrong.selected{background:#78323e!important;border:2px solid #ff8999!important;box-shadow:0 0 0 2px #ff89991d!important;color:#fff!important;transform:none}
.nnq .nnq-game .nnq-options button.nnq-correct::before{background:#0d4732;border-color:#8bf0bd;color:#fff}
.nnq .nnq-game .nnq-options button.nnq-wrong::before{background:#602430;border-color:#ffb0b8;color:#fff}
.nnq .nnq-game .nnq-options button.nnq-correct .nnq-answer-note{background:#0b4932;color:#c4ffdf}
.nnq .nnq-game .nnq-options button.nnq-wrong .nnq-answer-note{background:#5a202b;color:#ffe1e5}
.nnq-results .nnq-score-ring{border-color:#3786f5;box-shadow:0 0 0 7px #438ff512,0 9px 25px #050c1950}
.nnq-results .nnq-score{background:#213650;border:1px solid #435c7b;border-radius:11px;padding:16px 19px;font-size:15px;max-width:660px}
.nnq-results .nnq-review{max-width:740px;margin:20px auto 25px;gap:13px}
.nnq-results .nnq-review-item{padding:18px 20px;border-radius:10px;background:#22344b;border:1px solid #405773;border-left-width:4px}
.nnq-results .nnq-review-item.is-correct{border-left-color:#49d99b;background:linear-gradient(90deg,#194a3d70,#22344b 23%)}
.nnq-results .nnq-review-item.is-wrong{border-left-color:#fa8591;background:linear-gradient(90deg,#6e303a70,#22344b 23%)}
.nnq-results .nnq-review-item.is-correct p{color:#9de9bd;font-weight:750}
.nnq-results .nnq-review-item.is-wrong p{color:#ffc3c8;font-weight:700}
.nnq-results .nnq-review-item small{margin-top:10px;padding-top:9px;border-top:1px solid #42536b}
.nnq-results .nnq-restart{display:inline-flex;align-items:center;justify-content:center;min-width:185px}
@media(max-width:650px){
 .nnq-game .nnq-options button{min-height:62px;gap:8px 10px}
 .nnq-game .nnq-options button .nnq-answer-note{flex-basis:calc(100% - 42px);margin-left:41px;font-size:12px}
 .nnq-results .nnq-score{padding:14px}
 .nnq-results .nnq-review-item{padding:15px}
}

/* v0.4.6 — acabamento exclusivo para telas pequenas. */
@media (max-width:650px) {
  .nnq .nnq-game { box-sizing:border-box; padding:20px 16px 26px!important; }
  .nnq .nnq-game .nnq-game-brand { gap:12px; margin-bottom:17px; }
  .nnq .nnq-game .nnq-game-title { font-size:clamp(21px,5.7vw,27px); line-height:1.22; overflow-wrap:anywhere; }
  .nnq .nnq-game .nnq-game-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; align-items:stretch; }
  .nnq .nnq-game .nnq-game-actions button { width:100%; min-width:0; min-height:48px; padding:10px 7px; font-size:clamp(11px,3.25vw,13px); line-height:1.2; display:flex; align-items:center; justify-content:center; white-space:normal; text-align:center; }
  .nnq .nnq-game .nnq-question { font-size:clamp(20px,5.4vw,24px)!important; line-height:1.31; letter-spacing:0; margin:23px 0 19px!important; overflow-wrap:break-word; }
  .nnq .nnq-game .nnq-progress-track { margin-bottom:18px; }
  .nnq .nnq-game .nnq-live-points { font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
  .nnq .nnq-game .nnq-options button { min-height:59px; padding:11px 12px; gap:8px 10px; }
  .nnq .nnq-game .nnq-options button .nnq-answer-note { flex:0 1 auto; margin-left:auto; padding:4px 8px; font-size:11px; line-height:1.25; max-width:calc(100% - 44px); }
  .nnq .nnq-game .nnq-options button .nnq-answer-note:not(:first-child) { overflow-wrap:anywhere; }
  .nnq .nnq-game .nnq-next { margin-top:19px; min-height:47px; }
  .nnq .nnq-results { box-sizing:border-box; padding:22px 15px!important; }
  .nnq .nnq-results .nnq-review-item { overflow-wrap:anywhere; }
}
@media (max-width:390px) {
  .nnq .nnq-game .nnq-game-actions button { font-size:11px; padding-inline:5px; }
  .nnq .nnq-game .nnq-options button .nnq-answer-note { flex-basis:calc(100% - 42px); margin-left:39px; max-width:calc(100% - 42px); }
}
/* Offset for in-page navigation when the site theme uses a sticky header. */
.nnq .nnq-game,.nnq .nnq-results { scroll-margin-top:72px; }

/* v0.4.7 — cards em coluna única no mobile; desktop inalterado. */
@media (max-width:650px) {
 body.nnq-full-page #nnq-main .nnq-start .nnq-grid,
 .nnq .nnq-start .nnq-grid,
 body.nnq-full-page #nnq-main .nnq-start .nnq-custom-grid,
 .nnq .nnq-start .nnq-custom-grid {
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   gap:15px!important;justify-content:stretch!important;width:100%;
 }
 body.nnq-full-page #nnq-main .nnq-start .nnq-story,
 .nnq .nnq-start .nnq-story {
   box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;
   padding:15px!important;
 }
 .nnq .nnq-start .nnq-story img,
 body.nnq-full-page #nnq-main .nnq-start .nnq-story img,
 .nnq .nnq-start .nnq-placeholder {
   width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;
   max-height:none;
 }
 .nnq .nnq-start .nnq-story strong {font-size:17px;min-height:0;}
 .nnq .nnq-start .nnq-story .nnq-mastery-label,
 .nnq .nnq-start .nnq-story .nnq-mastery-detail {font-size:13px;}
 .nnq .nnq-start .nnq-story-cta {min-height:44px;font-size:14px;}
}

/* v0.4.8 — dois cards por linha no mobile, inclusive quizzes especiais. */
@media (max-width:650px) {
 body.nnq-full-page #nnq-main .nnq-start .nnq-grid,
 .nnq .nnq-start .nnq-grid,
 body.nnq-full-page #nnq-main .nnq-start .nnq-custom-grid,
 .nnq .nnq-start .nnq-custom-grid {
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:11px!important;justify-content:stretch!important;width:100%;
 }
 body.nnq-full-page #nnq-main .nnq-start .nnq-story,
 .nnq .nnq-start .nnq-story {padding:9px!important;min-width:0!important;max-width:none!important;width:100%!important;}
 .nnq .nnq-start .nnq-story img,
 body.nnq-full-page #nnq-main .nnq-start .nnq-story img,
 .nnq .nnq-start .nnq-placeholder {width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;max-height:none;}
 .nnq .nnq-start .nnq-story strong {font-size:13px;line-height:1.3;min-height:2.6em;overflow-wrap:anywhere;}
 .nnq .nnq-start .nnq-story .nnq-question-count {font-size:11px;}
 .nnq .nnq-start .nnq-story .nnq-mastery {margin:5px 0 9px;gap:5px;}
 .nnq .nnq-start .nnq-story .nnq-mastery-label,
 .nnq .nnq-start .nnq-story .nnq-mastery-detail {font-size:10px;line-height:1.35;}
 .nnq .nnq-start .nnq-story-cta {min-height:36px;font-size:12px;}
}

/* v0.4.9: distribuir os cards igualmente no desktop; preservar 2 colunas no mobile. */
@media (min-width: 901px) {
  body.nnq-full-page #nnq-main .nnq-start .nnq-grid,
  .nnq .nnq-start .nnq-grid,
  body.nnq-full-page #nnq-main .nnq-start .nnq-custom-grid,
  .nnq .nnq-start .nnq-custom-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 17px !important;
    justify-content: stretch !important;
    width: 100%;
  }
  .nnq .nnq-start .nnq-story,
  body.nnq-full-page #nnq-main .nnq-start .nnq-story {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }
}
@media (min-width: 651px) and (max-width: 900px) {
  body.nnq-full-page #nnq-main .nnq-start .nnq-grid,
  .nnq .nnq-start .nnq-grid,
  body.nnq-full-page #nnq-main .nnq-start .nnq-custom-grid,
  .nnq .nnq-start .nnq-custom-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 15px !important;
    justify-content: stretch !important;
  }
  .nnq .nnq-start .nnq-story { width:100% !important; max-width:none !important; }
}

/* v0.5.0: convite social na conclusão */
.nnq .nnq-share{margin:24px auto;max-width:680px;padding:22px;border:1px solid #4a6585;border-radius:13px;background:linear-gradient(130deg,#203753,#1c2a3f);text-align:center}
.nnq .nnq-share[hidden]{display:none}
.nnq .nnq-share h3{font-size:23px;margin:0 0 8px;color:#f6f9ff;border:0;text-align:center}
.nnq .nnq-share-summary{color:#b9d8ff;font-weight:700;margin:0 0 16px}
.nnq .nnq-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nnq .nnq-share-actions button{min-width:0;min-height:45px;padding:10px;border-radius:8px;background:#307de2;color:white;font-weight:700;border:1px solid #559af4;cursor:pointer}
.nnq .nnq-share-actions .nnq-share-whatsapp{background:#16834e;border-color:#37b77a}
.nnq .nnq-share-actions .nnq-share-discord{background:#5663bc;border-color:#8492f4}
.nnq .nnq-share-actions button:focus-visible{outline:2px solid #b7d9ff;outline-offset:3px}
.nnq .nnq-share-feedback{font-size:13px;color:#a7e9ca;overflow-wrap:anywhere}
.nnq .nnq-invited{outline:3px solid #54b4ff;outline-offset:3px}
.nnq .nnq-invite-notice{color:#a8d4ff;font-weight:800;margin:14px 0}
@media(max-width:480px){.nnq .nnq-share{padding:16px}.nnq .nnq-share-actions{grid-template-columns:1fr}}

/* v0.5.1: shared challenge landing card */
.nnq .nnq-invite-card{margin:20px 0 26px;padding:25px 20px;border:1px solid #4a86bf;border-radius:13px;background:radial-gradient(circle at 100% 0%,#3a3473,transparent 55%),linear-gradient(120deg,#1b324c,#1b293d);color:#fff;text-align:center}
.nnq .nnq-invite-card h2{font-size:clamp(23px,3vw,33px);line-height:1.2;margin:10px auto 8px;max-width:620px}
.nnq .nnq-invite-title{display:block;font-size:19px;color:#c0ddff;margin:12px auto}
.nnq .nnq-invite-score{width:116px;height:116px;border:6px solid #428ff7;border-radius:50%;display:grid;place-items:center;margin:17px auto 8px;font-size:32px;font-weight:900;background:#203a5a}
.nnq .nnq-invite-card p{font-weight:700;color:#d4e8ff;margin:10px auto 17px}
.nnq .nnq-invite-play{background:#307fee;border:1px solid #65acff;border-radius:9px;color:#fff;padding:14px 25px;min-height:48px;font-weight:900;cursor:pointer}
.nnq .nnq-invite-play:focus-visible{outline:3px solid #b1d9ff;outline-offset:3px}

/* v0.5.2: revisão compacta e exportação PNG */
.nnq .nnq-review-item[hidden]{display:none!important}
.nnq .nnq-review-toggle{display:block;margin:12px auto 24px;padding:12px 22px;border-radius:8px;border:1px solid #6098d9;background:#2c78d3;color:#fff;font-weight:800;cursor:pointer}
.nnq .nnq-review-toggle[hidden]{display:none!important}
.nnq .nnq-share-actions .nnq-share-download{grid-column:1/-1;background:#205fba;border-color:#74b2ff}

/* v0.5.3: convite opcional para visitantes, somente após concluir uma partida */
.nnq .nnq-guest-invite{max-width:680px;margin:20px auto 24px;padding:22px;border:1px solid #5687bf;border-radius:13px;background:linear-gradient(130deg,#213b58,#202c45);text-align:center}
.nnq .nnq-guest-invite[hidden]{display:none}
.nnq .nnq-guest-eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:#a9d4ff}
.nnq .nnq-guest-invite h3{margin:8px 0 10px;font-size:clamp(20px,3vw,25px);color:#fff;text-align:center}
.nnq .nnq-guest-invite p{margin:0 auto 12px;max-width:540px;color:#e1edfa;line-height:1.5}
.nnq .nnq-guest-invite .nnq-guest-note{font-size:12px;color:#b5c9df}
.nnq .nnq-guest-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:17px}
.nnq .nnq-guest-actions a,.nnq .nnq-guest-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:8px;font-weight:700;font-size:14px;text-decoration:none;line-height:1.3}
.nnq .nnq-guest-login{background:#317fe8;color:white;border:1px solid #6ca9fa}
.nnq .nnq-guest-register{background:#168456;color:white;border:1px solid #54cba0}
.nnq .nnq-guest-dismiss{background:transparent;color:#d3e2f3;border:1px solid #607c9a;cursor:pointer}
.nnq .nnq-guest-actions a:focus-visible,.nnq .nnq-guest-actions button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:600px){.nnq .nnq-guest-invite{padding:17px 13px}.nnq .nnq-guest-actions{flex-direction:column}.nnq .nnq-guest-actions>*{width:100%}}
\n/* v0.5.4: modal buttons use Fictioneer controller */\n.nnq .nnq-guest-actions button.nnq-guest-login,.nnq .nnq-guest-actions button.nnq-guest-register{cursor:pointer;font-family:inherit}\n
/* v0.5.5 — 3 obras grátis; demais quizzes de obras exclusivos Novera VIP */
.nnq-start .nnq-story{position:relative}
.nnq-start .nnq-story.is-vip-locked:not(:hover){filter:saturate(.82)}
.nnq-vip-lock{position:absolute;z-index:4;top:17px;right:17px;display:inline-flex;align-items:center;gap:4px;padding:6px 9px;border-radius:999px;background:linear-gradient(135deg,#f0bd4c,#9c6713);border:1px solid #ffe09a;color:#201404;font-size:11px;font-weight:900;letter-spacing:.5px;box-shadow:0 4px 14px #0008}
.nnq-story.is-vip-locked .nnq-story-cta{background:linear-gradient(100deg,#70531b,#b98422)}
.nnq-story.is-vip-locked .nnq-story-cta::before{content:'♛ ';font-weight:900}
.nnq-vip-modal[hidden]{display:none!important}.nnq-vip-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px}.nnq-vip-modal__backdrop{position:absolute;inset:0;background:#050a12cc;backdrop-filter:blur(5px)}.nnq-vip-modal__card{position:relative;z-index:1;width:min(430px,100%);padding:30px 26px 26px;border:1px solid #a97827;border-radius:18px;background:linear-gradient(145deg,#17253a,#101a2a);box-shadow:0 25px 80px #000b;text-align:center;color:#eaf2ff}.nnq-vip-modal__card h2{margin:5px 0 10px;color:#fff;font-size:24px}.nnq-vip-modal__card p{margin:0 auto 22px;max-width:340px;color:#c8d5e8;line-height:1.55}.nnq-vip-modal__crown{display:block;color:#f2bd4b;font-size:40px;line-height:1}.nnq-vip-modal__close{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;background:transparent;color:#aebdd1;font-size:28px;cursor:pointer}.nnq-vip-modal__cta{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:0 20px;border-radius:10px;background:linear-gradient(100deg,#bd8426,#edbd55);color:#1b1204!important;text-decoration:none!important;font-weight:900;letter-spacing:.4px}.nnq-vip-modal__cta:hover{filter:brightness(1.08)}
@media(max-width:600px){.nnq-vip-lock{top:12px;right:12px;padding:5px 7px;font-size:10px}.nnq-vip-modal__card{padding:28px 18px 22px}.nnq-vip-modal__card h2{font-size:21px}}
