/* ============================================================
   HISTÓRIAS NARRADAS — visual (overlay sobre o app principal)
   Prefixo: hn-*
   ============================================================ */

.hn-root {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #1a0f2e;
    color: #fff;
    font-family: inherit;
    overflow-y: auto;
    -webkit-tap-highlight-color: transparent;
}

.hn-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    animation: hn-fade 0.4s ease;
}
@keyframes hn-fade { from { opacity: 0; } to { opacity: 1; } }

/* ============ BOTÃO VOLTAR ============ */
.hn-back {
    position: fixed;
    top: 14px; left: 14px;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    z-index: 50;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
}
.hn-back:active { transform: scale(0.95); }
.hn-back-arrow { display: inline-block; }

/* ============ CAPA ============ */
.hn-capa {
    background: linear-gradient(180deg,#2d1b4e 0%,#4a2c6d 50%,#1a0f2e 100%);
    padding: 80px 20px 40px;
}
.hn-capa-hero { text-align: center; max-width: 600px; margin: 0 auto 24px; }
.hn-capa-emoji {
    font-size: 7rem;
    margin: 10px 0;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.5));
    animation: hn-pulse 2.5s ease-in-out infinite;
}
.hn-capa-titulo {
    font-size: 1.9rem;
    color: #ffd86b;
    text-shadow: 0 2px 12px rgba(255,216,107,0.5);
    margin: 0 0 10px;
}
.hn-capa-sinopse {
    color: #d4c4ed;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

@keyframes hn-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }

.hn-capa-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    margin: 24px auto 20px;
}
.hn-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 22px;
    border: none;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: inherit;
}
.hn-btn:active { transform: translateY(1px); }
.hn-btn span:first-child { font-size: 1.3rem; line-height: 1; }
.hn-btn-primary {
    background: linear-gradient(135deg,#ffd86b 0%,#ff9b3a 100%);
    color: #2d1b4e;
    box-shadow: 0 8px 22px rgba(255,155,58,0.4);
}
.hn-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.25);
}
.hn-btn-tesouros {
    background: rgba(255,255,255,0.06);
    color: #ffd86b;
    border: 2px dashed rgba(255,216,107,0.4);
}
.hn-btn-tesouros em {
    font-style: normal; color: #fff; font-size: 0.85em; margin-left: 6px;
    background: rgba(255,216,107,0.15); padding: 2px 10px; border-radius: 12px;
}

.hn-finais-vistos {
    max-width: 420px;
    margin: 0 auto 24px;
    text-align: center;
    color: #c9b6e8;
    font-size: 0.95rem;
}
.hn-finais-vistos strong { color: #ffd86b; }
.hn-finais-icon { margin-right: 6px; }

.hn-capitulos-section {
    max-width: 700px;
    margin: 24px auto 0;
}
.hn-capitulos-section h3 {
    text-align: center;
    color: #c9b6e8;
    margin: 0 0 16px;
    font-size: 1.2rem;
}
.hn-capitulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.hn-cap {
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 12px 6px;
    text-align: center;
    border: 2px solid transparent;
    min-height: 110px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
    position: relative;
}
.hn-cap.disponivel {
    background: linear-gradient(135deg,rgba(255,216,107,0.15) 0%,rgba(255,155,58,0.15) 100%);
    border-color: rgba(255,216,107,0.4);
    cursor: pointer;
}
.hn-cap.atual { border-color: #ffd86b; box-shadow: 0 0 20px rgba(255,216,107,0.4); }
.hn-cap.bloqueado { opacity: 0.4; cursor: not-allowed; }
.hn-cap.bloqueado::after { content:'🔒'; position:absolute; top:4px; right:6px; font-size:0.95rem; }
.hn-cap-num { font-size: 1.6rem; font-weight: bold; color: #ffd86b; line-height: 1; }
.hn-cap-icon { font-size: 1.5rem; margin-top: 3px; }
.hn-cap-titulo { font-size: 0.78rem; color: #fff; line-height: 1.2; }
.hn-cap.bloqueado .hn-cap-num { color: #888; }

/* ============ PAINEL TESOUROS ============ */
.hn-tesouros-panel {
    position: fixed;
    inset: 0;
    background: rgba(10,6,20,0.94);
    backdrop-filter: blur(10px);
    z-index: 10000;
    overflow-y: auto;
}
.hn-tesouros-panel-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 14px 30px;
}
.hn-tesouros-header { display: flex; justify-content: space-between; align-items: center; }
.hn-tesouros-header h3 { color: #ffd86b; font-size: 1.6rem; margin: 0; }
.hn-tesouros-close {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
}
.hn-tesouros-subtitle { color: #b9a8d8; text-align: center; margin: 8px 0 22px; }
.hn-tesouros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.hn-tesouro {
    background: linear-gradient(135deg,rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.02) 100%);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 12px 8px;
    text-align: center;
}
.hn-tesouro.bloqueado { opacity: 0.55; }
.hn-tesouro .hn-t-emoji { font-size: 2.8rem; line-height: 1; margin-bottom: 4px; }
.hn-tesouro.bloqueado .hn-t-emoji { filter: grayscale(1) brightness(0.4); }
.hn-tesouro .hn-t-titulo { color: #fff; font-size: 0.88rem; font-weight: bold; margin-bottom: 4px; }
.hn-tesouro.bloqueado .hn-t-titulo { color: #888; }
.hn-tesouro.bloqueado .hn-t-titulo::after { content: ' ???'; }
.hn-tesouro .hn-t-rarity {
    display: inline-block;
    font-size: 0.62rem; font-weight: bold;
    padding: 2px 7px;
    border-radius: 10px;
    background: #a0a0a0; color: #fff;
    text-transform: uppercase; letter-spacing: 1px;
}
.hn-tesouro .hn-t-rarity.r-raro { background:#4a90e2; }
.hn-tesouro .hn-t-rarity.r-epico { background:#9c27b0; }
.hn-tesouro .hn-t-rarity.r-lendario { background: linear-gradient(135deg,#ffd86b 0%,#ff6b3a 100%); color:#2d1b4e; }
.hn-tesouro .hn-t-rarity.r-trofeu { background:#ffd86b; color:#4a2c1e; }

/* ============ PLAYER ============ */
.hn-player {
    background: #000;
    height: 100vh;
    overflow: hidden;
}
.hn-player-back { background: rgba(0,0,0,0.7); }
.hn-chapter-indicator {
    position: fixed;
    top: 20px; right: 16px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    color: #ffd86b;
    padding: 7px 14px;
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 50;
}
.hn-cena-bg {
    position: absolute; inset: 0; z-index: 1;
    transition: background 0.8s ease;
    background: linear-gradient(160deg,#2d1b4e 0%,#1a0f2e 100%);
}
.hn-cena-bg.hn-bg-aurora { background: linear-gradient(160deg,#134e5e 0%,#71b280 100%); }
.hn-cena-bg.hn-bg-noite { background: linear-gradient(180deg,#0c1445 0%,#1a0f2e 60%,#060810 100%); }
.hn-cena-bg.hn-bg-floresta { background: linear-gradient(160deg,#1b4332 0%,#2d6a4f 60%,#081c15 100%); }
.hn-cena-bg.hn-bg-rio { background: linear-gradient(180deg,#023e8a 0%,#0077b6 50%,#03045e 100%); }
.hn-cena-bg.hn-bg-fogo { background: linear-gradient(180deg,#d62828 0%,#f77f00 50%,#240601 100%); }
.hn-cena-bg.hn-bg-ceu { background: linear-gradient(180deg,#ffb4a2 0%,#ffcdb2 50%,#b5828c 100%); }
.hn-cena-bg.hn-bg-cerrado { background: linear-gradient(160deg,#8d6e3a 0%,#c89b3c 50%,#4a3617 100%); }
.hn-cena-bg.hn-bg-amazonia { background: linear-gradient(160deg,#002e1a 0%,#245c3a 60%,#001a0e 100%); }
.hn-cena-bg.hn-bg-caverna { background: radial-gradient(circle at 50% 40%,#4a4458 0%,#1a1a2a 60%,#000000 100%); }
.hn-cena-bg.hn-bg-aldeia { background: linear-gradient(180deg,#ffc97a 0%,#e07a3a 60%,#4a2618 100%); }
.hn-cena-bg.hn-bg-tempestade { background: linear-gradient(180deg,#2d3f55 0%,#1a232f 50%,#060810 100%); }
.hn-cena-bg.hn-bg-aurora2 { background: linear-gradient(180deg,#001a4d 0%,#00b894 30%,#6c5ce7 70%,#fdcb6e 100%); }
.hn-cena-bg.hn-bg-sombra { background: radial-gradient(circle,#0a0a14 0%,#000000 100%); }
.hn-cena-bg.hn-bg-amanhecer { background: linear-gradient(180deg,#f7c59f 0%,#ffe1b5 50%,#efea5a 100%); }
.hn-cena-bg.hn-bg-lago { background: linear-gradient(180deg,#5d8aa8 0%,#34495e 60%,#1a2530 100%); }

.hn-cena-emoji-wrap {
    position: absolute; inset: 0; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.hn-cena-emoji {
    font-size: 12rem;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.7));
    animation: hn-cena-pulse 3s ease-in-out infinite;
}
.hn-cena-emoji.hn-fx-float { animation: hn-cena-float 4s ease-in-out infinite; }
.hn-cena-emoji.hn-fx-sway { animation: hn-cena-sway 5s ease-in-out infinite; transform-origin: center bottom; }
.hn-cena-emoji.hn-fx-shake { animation: hn-cena-shake 0.6s ease-in-out infinite; }
.hn-cena-emoji.hn-fx-spin { animation: hn-cena-spin 8s linear infinite; }
.hn-cena-emoji.hn-fx-bounce { animation: hn-cena-bounce 1.5s ease-in-out infinite; }
.hn-cena-emoji.entrando { animation: hn-cena-entra 0.6s ease; }
@keyframes hn-cena-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
@keyframes hn-cena-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
@keyframes hn-cena-sway { 0%,100%{transform:rotate(-4deg)} 50%{transform:rotate(4deg)} }
@keyframes hn-cena-shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-5px) rotate(-1deg)} 75%{transform:translateX(5px) rotate(1deg)} }
@keyframes hn-cena-spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes hn-cena-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-26px) scale(1.05)} }
@keyframes hn-cena-entra { from{opacity:0;transform:scale(0.5)} to{opacity:1;transform:scale(1)} }

.hn-cena-falante {
    position: absolute; top: 70px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    color: #ffd86b;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.92rem;
    font-weight: bold;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s;
}
.hn-cena-falante.visible { opacity: 1; }

/* ============ PARTÍCULAS ============ */
.hn-cena-particles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.hn-cena-particles .hn-particle { position: absolute; will-change: transform; }
.hn-p-leaves .hn-particle { width:22px; height:22px; background: radial-gradient(circle at 30% 30%,#8bc34a 0%,#558b2f 100%); border-radius: 0 100% 0 100%; opacity: 0.7; animation: hn-leaf linear infinite; }
@keyframes hn-leaf { 0%{transform:translateY(-50px) rotate(0)} 100%{transform:translateY(110vh) rotate(720deg)} }
.hn-p-snow .hn-particle { width:7px; height:7px; background:#fff; border-radius:50%; opacity:0.85; box-shadow:0 0 4px rgba(255,255,255,0.6); animation: hn-snow linear infinite; }
@keyframes hn-snow { 0%{transform:translateY(-30px) translateX(0)} 100%{transform:translateY(110vh) translateX(70px)} }
.hn-p-stars .hn-particle { width:4px; height:4px; background:#fff; border-radius:50%; box-shadow:0 0 8px #fff,0 0 16px #ffd86b; animation: hn-star ease-in-out infinite; }
@keyframes hn-star { 0%,100%{opacity:0.2;transform:scale(0.6)} 50%{opacity:1;transform:scale(1.3)} }
.hn-p-bubbles .hn-particle { width:14px; height:14px; background:rgba(255,255,255,0.4); border:2px solid rgba(255,255,255,0.7); border-radius:50%; animation: hn-bubble linear infinite; }
@keyframes hn-bubble { 0%{transform:translateY(110vh) scale(0.4); opacity:0} 20%{opacity:0.8} 100%{transform:translateY(-50px) scale(1.2); opacity:0} }
.hn-p-wind .hn-particle { width:70px; height:2px; background: linear-gradient(90deg,transparent 0%,rgba(255,255,255,0.6) 50%,transparent 100%); border-radius:2px; animation: hn-wind linear infinite; }
@keyframes hn-wind { 0%{transform:translateX(-100px); opacity:0} 20%{opacity:1} 100%{transform:translateX(120vw); opacity:0} }
.hn-p-embers .hn-particle { width:6px; height:6px; background:radial-gradient(circle,#ffd86b 0%,#ff6b3a 60%,transparent 100%); border-radius:50%; box-shadow:0 0 6px #ff6b3a; animation: hn-ember linear infinite; }
@keyframes hn-ember { 0%{transform:translateY(110vh) translateX(0); opacity:0} 20%{opacity:1} 100%{transform:translateY(-50px) translateX(40px); opacity:0} }
.hn-p-fireflies .hn-particle { width:6px; height:6px; background:#fff8b0; border-radius:50%; box-shadow:0 0 8px #f7e16a,0 0 16px #f7e16a; animation: hn-firefly ease-in-out infinite; }
@keyframes hn-firefly { 0%{transform:translate(0,0); opacity:0.3} 25%{transform:translate(25px,-18px); opacity:1} 50%{transform:translate(-12px,-36px); opacity:0.6} 75%{transform:translate(18px,-54px); opacity:1} 100%{transform:translate(0,-72px); opacity:0} }
.hn-p-hearts .hn-particle { font-size:22px; color:#ff6b9c; text-shadow:0 0 6px rgba(255,107,156,0.6); animation: hn-heart linear infinite; }
.hn-p-hearts .hn-particle::before { content:'❤'; }
@keyframes hn-heart { 0%{transform:translateY(110vh) scale(0.5); opacity:0} 20%{opacity:1} 100%{transform:translateY(-50px) scale(1) rotate(20deg); opacity:0} }

/* ============ ESCOLHAS ============ */
.hn-cena-escolhas {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    width: calc(100% - 28px);
    max-width: 520px;
    display: flex; flex-direction: column; gap: 10px;
    animation: hn-escolhas-up 0.5s ease;
}
@keyframes hn-escolhas-up { from{opacity:0;transform:translateX(-50%) translateY(40px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }
.hn-btn-escolha {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 4px solid transparent;
    border-radius: 18px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    text-align: left;
    min-height: 64px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    font-family: inherit;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.hn-btn-escolha:active { transform: translateY(1px) scale(0.98); }
.hn-btn-escolha.narrando {
    border-color: #fff;
    box-shadow: 0 0 28px rgba(255,255,255,0.7), 0 6px 20px rgba(0,0,0,0.4);
    animation: hn-pulse-choice 1s ease-in-out infinite;
}
@keyframes hn-pulse-choice { 0%,100%{transform:scale(1)} 50%{transform:scale(1.04)} }
.hn-escolha-bolha {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.hn-escolha-label { flex: 1; line-height: 1.3; }
.hn-escolha-replay {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.45);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
    transition: transform 0.15s, background 0.15s;
}
.hn-escolha-replay:active {
    transform: scale(0.9);
    background: rgba(0,0,0,0.55);
}
.hn-btn-escolha.narrando .hn-escolha-replay {
    background: rgba(255,216,107,0.35);
    border-color: #ffd86b;
}
.hn-cor-azul { background: linear-gradient(135deg,#4a90e2 0%,#2762c2 100%); }
.hn-cor-vermelho { background: linear-gradient(135deg,#e74c3c 0%,#b32f1f 100%); }
.hn-cor-amarelo { background: linear-gradient(135deg,#f5a623 0%,#d68210 100%); color:#2d1b4e; text-shadow:none; }
.hn-cor-verde { background: linear-gradient(135deg,#4caf50 0%,#2e7d32 100%); }
.hn-cor-roxo { background: linear-gradient(135deg,#9c27b0 0%,#6a1b8e 100%); }
.hn-cor-rosa { background: linear-gradient(135deg,#ec407a 0%,#b21f5b 100%); }

/* ============ AVANÇAR ============ */
.hn-cena-avancar {
    position: fixed;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    animation: hn-up 0.4s ease;
}
@keyframes hn-up { from{opacity:0;transform:translateX(-50%) scale(0.5)} to{opacity:1;transform:translateX(-50%) scale(1)} }
.hn-btn-avancar {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: linear-gradient(135deg,#ffd86b 0%,#ff9b3a 100%);
    color: #2d1b4e;
    font-size: 2.4rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255,155,58,0.5);
    animation: hn-pulse 1.5s ease-in-out infinite;
    font-family: inherit;
    line-height: 1;
}

/* ============ REPETIR ============ */
.hn-btn-repetir {
    position: fixed;
    bottom: 24px; right: 16px;
    width: 58px; height: 58px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    z-index: 35;
    font-size: 1.6rem;
    line-height: 1;
    font-family: inherit;
}
.hn-btn-repetir.tocando {
    border-color: #ffd86b;
    box-shadow: 0 0 20px rgba(255,216,107,0.6);
}
.hn-player.com-escolhas .hn-btn-repetir {
    bottom: auto;
    top: 20px;
    right: 76px;
    width: 50px; height: 50px;
    font-size: 1.3rem;
}

/* ============ WAVE ============ */
.hn-audio-wave {
    position: fixed;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 3px; align-items: flex-end;
    height: 28px;
    z-index: 25;
    opacity: 0;
    transition: opacity 0.3s;
}
.hn-audio-wave.tocando { opacity: 1; }
.hn-audio-wave span {
    display: inline-block;
    width: 4px;
    background: #ffd86b;
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(255,216,107,0.8);
    animation: hn-wave 1s ease-in-out infinite;
}
.hn-audio-wave span:nth-child(1){animation-delay:0s;height:10px}
.hn-audio-wave span:nth-child(2){animation-delay:0.15s;height:20px}
.hn-audio-wave span:nth-child(3){animation-delay:0.3s;height:26px}
.hn-audio-wave span:nth-child(4){animation-delay:0.45s;height:16px}
.hn-audio-wave span:nth-child(5){animation-delay:0.6s;height:12px}
@keyframes hn-wave { 0%,100%{transform:scaleY(0.5)} 50%{transform:scaleY(1)} }

.hn-player.com-escolhas .hn-audio-wave,
.hn-player .hn-cena-escolhas:not([style*="display:none"]) ~ .hn-audio-wave { display:none; }
.hn-player .hn-cena-avancar:not([style*="display:none"]) ~ .hn-audio-wave { display:none; }

/* ============ OVERLAY RECOMPENSA ============ */
.hn-player-reward {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center,rgba(45,27,78,0.85) 0%,rgba(0,0,0,0.96) 80%);
    z-index: 55;
    display: flex; align-items: center; justify-content: center;
    animation: hn-fade 0.5s ease;
}
.hn-reward-content { position: relative; text-align: center; padding: 26px 22px; max-width: 360px; z-index: 2; }
.hn-reward-burst {
    position: absolute; inset: -36px;
    background:
        radial-gradient(circle at center,rgba(255,216,107,0.4) 0%,transparent 60%),
        conic-gradient(from 0deg,
            transparent 0deg,rgba(255,216,107,0.3) 20deg,transparent 40deg,
            transparent 60deg,rgba(255,216,107,0.3) 80deg,transparent 100deg,
            transparent 120deg,rgba(255,216,107,0.3) 140deg,transparent 160deg,
            transparent 180deg,rgba(255,216,107,0.3) 200deg,transparent 220deg,
            transparent 240deg,rgba(255,216,107,0.3) 260deg,transparent 280deg,
            transparent 300deg,rgba(255,216,107,0.3) 320deg,transparent 340deg);
    border-radius: 50%;
    animation: hn-burst 12s linear infinite;
}
@keyframes hn-burst { from{transform:rotate(0)} to{transform:rotate(360deg)} }
.hn-reward-rarity {
    position: relative; z-index: 2;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem; font-weight: bold;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 14px;
    background: #a0a0a0; color: #fff;
}
.hn-reward-rarity.hn-r-raro { background:#4a90e2; }
.hn-reward-rarity.hn-r-epico { background:#9c27b0; }
.hn-reward-rarity.hn-r-lendario { background: linear-gradient(135deg,#ffd86b 0%,#ff6b3a 100%); color:#2d1b4e; box-shadow:0 0 18px rgba(255,216,107,0.6); }
.hn-reward-rarity.hn-r-trofeu { background:#ffd86b; color:#4a2c1e; box-shadow:0 0 14px rgba(255,216,107,0.5); }
.hn-reward-emoji {
    position: relative; z-index: 2;
    font-size: 7rem; line-height: 1;
    margin: 8px 0 12px;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.5));
    animation: hn-reward-pop 1.2s ease;
}
@keyframes hn-reward-pop { 0%{transform:scale(0) rotate(-180deg);opacity:0} 60%{transform:scale(1.2) rotate(12deg);opacity:1} 100%{transform:scale(1) rotate(0);opacity:1} }
.hn-reward-titulo { position: relative; z-index: 2; font-size: 1.6rem; color: #ffd86b; text-shadow: 0 2px 12px rgba(255,216,107,0.5); margin: 0 0 10px; }
.hn-reward-desc { position: relative; z-index: 2; color: #e8d9ff; font-size: 0.95rem; line-height: 1.4; margin: 0 0 20px; }
#hn-reward-continuar { position: relative; z-index: 2; }

/* ============ ENDING ============ */
.hn-player-ending {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg,rgba(26,15,46,0.95) 0%,rgba(0,0,0,0.98) 100%);
    z-index: 60;
    display: flex; align-items: center; justify-content: center;
    animation: hn-fade 0.8s ease;
}
.hn-ending-content { text-align: center; padding: 26px; max-width: 480px; }
.hn-ending-emoji {
    font-size: 6rem;
    margin-bottom: 16px;
    animation: hn-pulse 2s ease-in-out infinite;
}
.hn-ending-titulo {
    font-size: 2rem;
    color: #ffd86b;
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(255,216,107,0.5);
}
.hn-ending-mensagem { color: #d4c4ed; font-size: 1.05rem; line-height: 1.5; margin: 0 0 24px; }
.hn-ending-actions { display: flex; flex-direction: column; gap: 10px; }

/* ============ DESTAQUE NA LISTA STORIES (extensão do card existente) ============ */
.story-card.narrated-highlight {
    border: 3px solid #ffd86b !important;
    box-shadow: 0 0 22px rgba(255,216,107,0.35) !important;
    position: relative;
}
.story-card.narrated-highlight::before {
    content: '🎙️ NARRADA';
    position: absolute;
    top: 8px; right: 8px;
    background: #ffd86b;
    color: #2d1b4e;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 9px;
    border-radius: 12px;
    letter-spacing: 1px;
    z-index: 1;
}
