/* ============================================================
   💬 PULSO — mini-inquérito de 1 toque no fim do nível
   ⭐ + convite/guia para avaliar na Play Store
   (usa a base .duel-modal / .duel-modal-ov de board.css)
   ============================================================ */

.pulse-modal { width: min(92vw, 400px); padding: 20px 18px 18px; }
.pulse-modal .pl-step {
  position: absolute; transform: translate(-2px, -14px);
  font-size: .72rem; font-weight: 800; color: #7d93a4; letter-spacing: .04em;
}
.pulse-modal h3 { margin: 2px 0 2px; font-size: 1.22rem; }
.pulse-modal .muted { margin: 0 0 12px; }

/* --- passo 1: as quatro caras --- */
.pl-faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 12px; }
.pl-face {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px 8px; border: 2px solid #d9e6ef; border-radius: 16px;
  background: #fff; cursor: pointer; transition: transform .12s, border-color .12s, background .12s;
  min-height: 84px; justify-content: center;
}
.pl-face span { font-size: 2rem; line-height: 1; }
.pl-face small { font-size: .68rem; color: #5b6f7d; font-weight: 700; text-align: center; line-height: 1.15; }
.pl-face:active { transform: scale(.93); }
.pl-face:hover { border-color: var(--green2, #38d17a); background: #f2fbf6; }
html.dark .pl-face { background: #1d2f38; border-color: #2c4552; }
html.dark .pl-face small { color: #a9bfcc; }

.pl-skip { opacity: .72; }

/* --- passo 2: dificuldade + etiquetas --- */
.pl-diffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 10px; }
.pl-diff {
  padding: 11px 6px; border: 2px solid #d9e6ef; border-radius: 14px; background: #fff;
  font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; transition: all .12s;
}
.pl-diff.on { background: var(--green, #0f6e56); border-color: var(--green, #0f6e56); color: #fff; }
.pl-diff:active { transform: scale(.95); }
html.dark .pl-diff { background: #1d2f38; border-color: #2c4552; color: #e7eef0; }

.pl-lab { margin: 10px 0 6px; font-size: .82rem; font-weight: 700; color: #5b6f7d; }
html.dark .pl-lab { color: #a9bfcc; }

.pl-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 10px; }
.pl-tag {
  padding: 7px 11px; border-radius: 99px; border: 1.5px solid #d9e6ef; background: #f7fbfd;
  font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; transition: all .12s;
}
.pl-tag.on { background: var(--gold, #ffd54a); border-color: #e9b400; color: #3a2c00; }
.pl-tag:active { transform: scale(.94); }
html.dark .pl-tag { background: #1d2f38; border-color: #2c4552; color: #e7eef0; }

.pl-note {
  width: 100%; border: 1.5px solid #d9e6ef; border-radius: 12px; padding: 9px 11px;
  font: inherit; font-size: .88rem; resize: vertical; margin-bottom: 12px; background: #fff;
}
html.dark .pl-note { background: #16242c; border-color: #2c4552; color: #e7eef0; }

/* --- obrigado --- */
.pl-thanks .pl-big { font-size: 3rem; line-height: 1; margin-bottom: 4px; animation: plPop .5s ease-out; }
@keyframes plPop { 0% { transform: scale(0) rotate(-25deg); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
.pl-reward {
  display: inline-block; margin: 8px 0 12px; padding: 6px 16px; border-radius: 99px;
  background: linear-gradient(135deg, #ffd54a, #ffb300); color: #4a3600; font-weight: 900; font-size: 1.05rem;
}

/* ============================================================
   ⭐ convite a avaliar + guia passo a passo
   ============================================================ */
.rate-modal { width: min(90vw, 380px); }
.rate-modal .small { font-size: .88rem; line-height: 1.45; margin: 6px 0 12px; }

.howrev .hr-intro { font-size: .92rem; line-height: 1.5; margin: 4px 0 14px; }
.howrev .hr-go { width: 100%; margin-bottom: 16px; font-size: 1.02rem; }
.howrev .hr-steps { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.howrev .hr-steps li { display: flex; gap: 11px; align-items: flex-start; background: rgba(255,255,255,.55); border-radius: 14px; padding: 11px 13px; }
html.dark .howrev .hr-steps li { background: rgba(255,255,255,.07); }
.howrev .hr-n {
  flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green, #0f6e56); color: #fff; font-weight: 900; font-size: .85rem;
}
.howrev .hr-steps b { display: block; font-size: .95rem; margin-bottom: 2px; }
.howrev .hr-steps p { margin: 0; }
.howrev .hr-alt { border-top: 1.5px dashed #cbdad3; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.howrev .hr-alt p { flex: 1 1 100%; margin: 0 0 4px; }

/* linha «avaliar» no menu/definições */
.rate-nudge {
  display: flex; align-items: center; gap: 10px; width: 100%; margin: 8px 0;
  padding: 11px 14px; border-radius: 16px; border: 2px solid var(--gold, #ffd54a);
  background: linear-gradient(135deg, #fff8e1, #fff3c4); color: #4a3600;
  font: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; text-align: left;
}
.rate-nudge:active { transform: scale(.98); }
.rate-nudge .rn-ic { font-size: 1.5rem; line-height: 1; }
.rate-nudge small { display: block; font-weight: 600; opacity: .85; font-size: .78rem; margin-top: 1px; }

/* ============================================================
   📊 painel de admin — bloco do pulso
   ============================================================ */
.pz-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; margin-bottom: 10px; }
.pz-card { background: rgba(255,255,255,.6); border-radius: 12px; padding: 9px 6px; text-align: center; }
html.dark .pz-card { background: rgba(255,255,255,.08); }
.pz-card b { display: block; font-size: 1.35rem; color: var(--green, #0f6e56); line-height: 1.1; }
html.dark .pz-card b { color: #62d9a5; }
.pz-card span { font-size: .7rem; opacity: .75; }
.pz-sec { font-weight: 800; font-size: .82rem; margin: 12px 0 6px; opacity: .8; }
.pz-lvl { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; padding: 6px 9px; background: rgba(255,255,255,.5); border-radius: 9px; margin-bottom: 4px; }
html.dark .pz-lvl { background: rgba(255,255,255,.07); }
.pz-lvl b { font-variant-numeric: tabular-nums; }
.pz-note { font-size: .8rem; padding: 7px 10px; background: rgba(255,255,255,.5); border-radius: 9px; margin-bottom: 4px; }
html.dark .pz-note { background: rgba(255,255,255,.07); }
.pz-note i { opacity: .7; font-size: .72rem; }
