/* ================================
   JORNADA APP — CARTÃO DE NÍVEL E MISSÕES
   Ouro = recompensa. A barra mostra o caminho pelos 7 níveis.
================================ */
.nv { display: block; text-decoration: none; color: inherit; border-radius: 18px; padding: 16px; background: linear-gradient(150deg, #2b2010, #140d06 70%); border: 1px solid rgba(236, 168, 21, .35); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.nv-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.nv-topo small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ECA815; }
.nv-topo b { display: block; font: 600 26px/1.1 'Cormorant Garamond', serif; color: #F3E9D2; margin-top: 2px; }
.nv-selo { flex: none; font-size: 11px; font-weight: 700; color: #E8C97A; border: 1px solid rgba(236, 168, 21, .45); border-radius: 999px; padding: 4px 10px; }
.nv-marcos { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 14px 2px 8px; }
.nv-marcos li { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: rgba(236, 223, 198, .35); border: 1.5px solid rgba(236, 168, 21, .25); background: #140d06; }
.nv-marcos li.feito { color: #1a1208; background: #B8840F; border-color: #B8840F; }
.nv-marcos li.atual { color: #1a1208; background: #ECA815; border-color: #ECA815; box-shadow: 0 0 10px rgba(236, 168, 21, .5); }
.nv-barra { height: 8px; border-radius: 0 4px 4px 0; background: rgba(255, 255, 255, .08); overflow: hidden; }
.nv-barra i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #B8840F, #ECA815); }
.nv-info { margin: 8px 0 0; font-size: 12.5px; color: #c9b892; }
.nv-info b { color: #E8C97A; }
.nv-premio { margin: 4px 0 0; font-size: 12px; color: #A8DCF0; }
.nv:focus-visible { outline: 2px solid #5BC8E8; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .nv-barra i { transition: width .8s cubic-bezier(.4, 0, .2, 1); } }

.ms { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.ms a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(202, 144, 18, .22); border-radius: 12px; background: #1A1208; text-decoration: none; color: #eadfc6; font-size: 14px; }
.ms-xp { font-size: 11.5px; font-weight: 800; color: #1a1208; background: #ECA815; border-radius: 999px; padding: 3px 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ms-tit { min-width: 0; }
.ms-st { font-size: 11.5px; color: #a8957a; white-space: nowrap; }
.ms li.feito .ms-xp { background: rgba(143, 191, 122, .2); color: #8fbf7a; }
.ms li.feito .ms-st { color: #8fbf7a; font-weight: 700; }
.ms a:focus-visible { outline: 2px solid #5BC8E8; outline-offset: 2px; }

/* --- Sua Jornada: escada dos 7 níveis com as recompensas --- */
.escada { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.escada li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(202, 144, 18, .18); background: #140d06; }
.escada .esc-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 13px 'Nunito', sans-serif; color: #a8957a; border: 1.5px solid rgba(202, 144, 18, .3); }
.escada b { display: block; font-size: 14.5px; color: #eadfc6; }
.escada small { font-size: 12px; color: #a8957a; }
.escada li.feito .esc-n { background: rgba(236, 168, 21, .2); color: #E8C97A; border-color: rgba(236, 168, 21, .5); }
.escada li.atual { border-color: #ECA815; background: linear-gradient(150deg, #2b2010, #140d06); }
.escada li.atual .esc-n { background: #ECA815; color: #1a1208; border-color: #ECA815; }
.escada li.atual b { color: #E8C97A; }

/* --- personagem do nível no cartão (Timer e Desbloqueie) --- */
.nv-topo { align-items: center; }
.nv-heroi { flex: none; width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(236, 168, 21, .35)); }
.nv-nome { flex: 1; min-width: 0; }

/* --- trilha vertical dos 7 níveis (Sua Jornada) --- */
.tr-niveis { --enchido: 0; position: relative; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
/* linha de fundo e linha dourada que enche, passando pelo centro dos personagens */
.tr-niveis::before, .tr-niveis::after { content: ""; position: absolute; left: 39px; width: 4px; border-radius: 4px; top: 40px; }
.tr-niveis::before { bottom: 40px; background: rgba(236, 168, 21, .14); }
.tr-niveis::after { height: calc((100% - 80px) * var(--enchido)); max-height: calc(100% - 80px); background: linear-gradient(#ECA815, #B8840F); box-shadow: 0 0 10px rgba(236, 168, 21, .45); }
.tr-niveis li { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.tr-heroi { flex: none; width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a1f0c, #0e0a07 70%); border: 1.5px solid rgba(236, 168, 21, .25); }
.tr-heroi img { width: 72px; height: 72px; object-fit: contain; }
.tr-txt { min-width: 0; display: grid; gap: 1px; }
.tr-txt small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a8957a; }
.tr-txt b { font: 600 20px/1.2 'Cormorant Garamond', serif; color: #eadfc6; }
.tr-txt em { font-style: normal; font-size: 12.5px; color: #E8C97A; }
.tr-premio { font-size: 12px; color: #A8DCF0; }
.tr-niveis li.feito .tr-heroi { border-color: rgba(236, 168, 21, .55); }
.tr-niveis li.atual .tr-heroi { border: 2px solid #ECA815; box-shadow: 0 0 0 4px rgba(236, 168, 21, .15), 0 0 22px rgba(236, 168, 21, .35); }
.tr-niveis li.atual .tr-txt b { color: #ECA815; }
/* níveis futuros: silhueta escura com contorno dourado (sem imagem extra) */
.tr-niveis li.futuro .tr-heroi img { filter: brightness(0) drop-shadow(0 0 1px rgba(236, 168, 21, .55)); opacity: .8; }
.tr-niveis li.futuro .tr-txt b { color: rgba(236, 223, 198, .4); }
@media (prefers-reduced-motion: no-preference) {
  .tr-niveis li.atual .tr-heroi img { animation: tr-respira 3.2s ease-in-out infinite; }
  .tr-niveis::after { transition: height 1s cubic-bezier(.4, 0, .2, 1); }
}
@keyframes tr-respira { 50% { transform: translateY(-3px); } }

/* --- parabéns por novo nível (aparece em qualquer tela) --- */
.nv-parabens { position: fixed; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 1200; max-width: 460px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid #ECA815; background: linear-gradient(150deg, #2b2010, #140d06); box-shadow: 0 12px 30px rgba(0, 0, 0, .55), 0 0 22px rgba(236, 168, 21, .3); color: #eadfc6; font-family: 'Nunito', sans-serif; cursor: pointer; }
.nv-parabens img { flex: none; width: 48px; height: 48px; object-fit: contain; }
.nv-parabens b { display: block; font-size: 15px; color: #ECA815; }
.nv-parabens span { font-size: 13px; line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) {
  .nv-parabens { animation: nv-entra .5s cubic-bezier(.4, 0, .2, 1); }
  .nv-parabens.saindo { transition: opacity .5s, transform .5s; opacity: 0; transform: translateY(-12px); }
}
@keyframes nv-entra { from { opacity: 0; transform: translateY(-16px) scale(.97); } to { opacity: 1; transform: none; } }

/* espaço entre a trilha de níveis e os números logo abaixo (Sua Jornada) */
#escada { margin-bottom: 34px; }
