/* Meu Herói — extensões do visual padrão da MimoQR */
.hero-standard-shell{align-items:start}
.hero-standard-panel{min-width:0}
.hero-product-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin:0 0 28px;max-width:880px}
.hero-product-heading h2{font-size:clamp(1.7rem,3vw,2.65rem);line-height:1.05;margin:8px 0 7px;letter-spacing:-.055em}
.hero-product-heading p{margin:0;color:#d8cccc;font-weight:750;line-height:1.45}
.hero-page-badge{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:linear-gradient(135deg,#ef1117,#ff4650);font-size:.68rem;font-weight:1000;letter-spacing:.08em;box-shadow:0 10px 28px rgba(239,17,23,.25)}
.hero-heading-price{text-align:right;flex:0 0 auto}
.hero-heading-price strong{display:block;color:#ef1117;font-size:2rem;line-height:1;font-weight:1000}
.hero-heading-price small{display:block;max-width:210px;margin-top:7px;color:#bcaeae;font-weight:850}
.hero-form-grid .hero-char-count,.hero-char-count{display:block;margin-top:6px;color:#9f9393;font-size:.76rem;text-align:right}
.hero-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:760px;margin-top:22px}
.hero-choice{position:relative;display:block!important;cursor:pointer}
.hero-choice input{position:absolute;opacity:0;pointer-events:none}
.hero-choice span{min-height:72px;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;border:2px solid rgba(69,188,207,.7);border-radius:18px;background:linear-gradient(180deg,#151111,#090707);font-weight:950}
.hero-choice:has(input:checked) span{border-color:#ef1117;box-shadow:0 0 0 2px rgba(239,17,23,.18),0 0 30px rgba(239,17,23,.14)}
.hero-photo-counter{display:block;margin:-14px 0 22px;color:#d9caca}
.hero-photo-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:820px}
.hero-photo-item{position:relative;min-width:0}
.hero-photo-item img{width:100%!important;height:150px!important;object-fit:cover;border-radius:13px!important;display:block}
.hero-photo-index{position:absolute;left:8px;top:8px;padding:5px 8px;border-radius:999px;background:#ef1117;color:#fff;font-size:.62rem;font-weight:1000}
.hero-photo-tools{position:static!important;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-top:7px}
.hero-photo-tools button{position:static!important;width:auto!important;height:30px!important;border-radius:8px!important;background:#242124!important;color:#fff;border:1px solid rgba(255,255,255,.14)!important;cursor:pointer}
.hero-music-results:empty{display:none}
.hero-music-result{display:grid;grid-template-columns:64px 1fr auto;gap:18px;align-items:center;padding:13px;border-radius:8px}
.hero-music-result+.hero-music-result{border-top:1px solid rgba(255,255,255,.05)}
.hero-music-result img{width:64px;height:48px;object-fit:cover;border-radius:5px}
.hero-music-result button{background:#ef1117;color:#fff;border:0;border-radius:8px;padding:14px 18px;font-weight:1000;cursor:pointer}
.hero-selected-song{display:grid;grid-template-columns:64px 1fr auto;gap:15px;align-items:center;width:min(850px,100%);margin-top:12px;padding:13px;border-radius:10px;background:#191919;border:1px solid rgba(255,255,255,.08)}
.hero-selected-song img{width:64px;height:48px;object-fit:cover;border-radius:5px}
.hero-selected-song strong,.hero-selected-song small{display:block}.hero-selected-song small{color:#aaa;margin-top:4px}
.hero-selected-song button{border:1px solid rgba(255,255,255,.22);background:transparent;color:#fff;border-radius:8px;padding:10px 13px;font-weight:900;cursor:pointer}
.hero-palette-grid .hero-palette{overflow:visible}
.hero-palette em{position:absolute;right:10px;top:9px;font-style:normal;font-size:.55rem;letter-spacing:.06em;background:#ef1117;padding:5px 7px;border-radius:999px;color:#fff;z-index:2}
.hero-palette small{display:block;margin-top:7px;color:#c4b8b8;font-weight:800}
.hero-palette-red{background:#180507!important}.hero-palette-red strong{color:#ff767b!important}.hero-palette-red i:nth-child(1){background:#070707!important}.hero-palette-red i:nth-child(2){background:#e5252a!important}.hero-palette-red i:nth-child(3){background:#f7f7f7!important}
.hero-palette-blue{background:#071323!important}.hero-palette-blue strong{color:#7fb8f3!important}.hero-palette-blue i:nth-child(1){background:#050a12!important}.hero-palette-blue i:nth-child(2){background:#3274b9!important}.hero-palette-blue i:nth-child(3){background:#eef5ff!important}
.hero-palette-gold{background:#171207!important}.hero-palette-gold strong{color:#e4bd5e!important}.hero-palette-gold i:nth-child(1){background:#090806!important}.hero-palette-gold i:nth-child(2){background:#d2a84a!important}.hero-palette-gold i:nth-child(3){background:#fff1c7!important}
.hero-palette-imperial{background:linear-gradient(135deg,#160820,#08050c)!important;border-color:rgba(215,168,75,.45)!important}.hero-palette-imperial strong{color:#e8bb58!important}.hero-palette-imperial i:nth-child(1){background:#12051d!important}.hero-palette-imperial i:nth-child(2){background:#8f35d4!important}.hero-palette-imperial i:nth-child(3){background:#d7a84b!important}
.hero-color-note{font-size:.86rem;color:#bcb0b0;margin-top:13px}.hero-color-note b{color:#d7a84b}
.hero-summary{max-width:760px}
.hero-preview-toolbar{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;color:#fff}
.hero-preview-toolbar span{display:flex;gap:7px}.hero-preview-toolbar button{border:1px solid rgba(255,255,255,.16);background:#181617;color:#fff;border-radius:8px;padding:8px 10px;font-size:.72rem;font-weight:900;cursor:pointer}
.hero-phone-screen{background:#07080a!important;overflow:auto!important;scrollbar-width:thin;scrollbar-color:var(--hero-accent,#e5252a) #0a0a0a}
.hero-phone-screen::-webkit-scrollbar{width:6px}.hero-phone-screen::-webkit-scrollbar-track{background:#0a0a0a}.hero-phone-screen::-webkit-scrollbar-thumb{background:var(--hero-accent,#e5252a);border-radius:999px}
.hero-film{--hero-accent:#e5252a;--hero-accent-2:#8f1015;--hero-soft:#ffd8da;--hero-highlight:#f7f7f7;min-height:100%;background:#08090b;color:#fff;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.hero-film-scroll{min-height:100%;background:linear-gradient(180deg,#08090b,#0d0e11)}
.hero-film-poster{min-height:515px;position:relative;overflow:hidden;background:#0b0c0f}
.hero-film-cover,.hero-film-cover img,.hero-photo-placeholder{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-photo-placeholder{display:grid;place-items:center;background:radial-gradient(circle at 50% 25%,color-mix(in srgb,var(--hero-accent) 22%,#15171b),#08090b 68%);color:#aaa;font-weight:900}
.hero-film-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.22) 32%,rgba(6,7,9,.98) 94%),linear-gradient(90deg,rgba(0,0,0,.18),transparent 60%)}
.hero-film-brand{position:absolute;top:25px;left:20px;display:flex;align-items:center;gap:8px;font-size:.66rem;font-weight:900;letter-spacing:.04em}.hero-film-brand img{width:28px;height:28px;object-fit:contain}
.hero-film-copy{position:absolute;left:20px;right:20px;bottom:25px}.hero-film-kicker{color:var(--hero-highlight);font-size:.58rem;letter-spacing:.18em;font-weight:1000}.hero-film-copy h1{font-family:Georgia,serif;font-size:2.15rem;line-height:1.04;margin:9px 0;color:#fff;text-wrap:balance}.hero-film-tagline{font-family:Georgia,serif;font-style:italic;font-size:.76rem;color:var(--hero-soft);line-height:1.4}.hero-film-tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:.57rem;font-weight:900;color:#bbb}.hero-film-tags b{color:var(--hero-highlight)}
.hero-watch-button{margin-top:16px;border:1px solid color-mix(in srgb,var(--hero-highlight) 38%,transparent);background:var(--hero-accent);color:#fff;border-radius:9px;padding:11px 14px;font-weight:900;display:inline-flex;gap:8px;align-items:center;cursor:pointer;box-shadow:0 10px 24px color-mix(in srgb,var(--hero-accent) 25%,transparent)}.hero-watch-button i{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:10px solid currentColor}.hero-film-date{font-size:.68rem;color:#ccc;margin:12px 0 0}
.hero-film-synopsis{padding:23px 20px}.hero-film-synopsis span{color:var(--hero-highlight);font-size:.72rem;text-transform:uppercase;letter-spacing:.15em;font-weight:900}.hero-film-synopsis p{line-height:1.55;color:#d4d4d4;font-size:.86rem}
.hero-film-chapters{padding:0 15px 22px}.hero-section-title{display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:center;margin:7px 0 15px}.hero-section-title span{height:1px;background:linear-gradient(90deg,transparent,var(--hero-highlight))}.hero-section-title span:last-child{background:linear-gradient(90deg,var(--hero-highlight),transparent)}.hero-section-title strong{font-size:.77rem;color:var(--hero-highlight)}
.hero-chapter-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hero-chapter-card{background:#101216;border:1px solid color-mix(in srgb,var(--hero-highlight) 22%,transparent);border-radius:13px;overflow:hidden;position:relative}.hero-chapter-photo{height:118px;position:relative;overflow:hidden}.hero-chapter-photo img,.hero-chapter-photo .hero-photo-placeholder{width:100%;height:100%;object-fit:cover}.hero-chapter-card>b{position:absolute;top:9px;left:9px;background:var(--hero-accent);color:#fff;padding:4px 7px;border:1px solid color-mix(in srgb,var(--hero-highlight) 40%,transparent);border-radius:999px;font-size:.63rem}.hero-chapter-card h3{font-size:.77rem;margin:9px 10px 11px}
.hero-film-letter{margin:0 15px 15px;padding:22px 18px;border:1px solid color-mix(in srgb,var(--hero-highlight) 35%,transparent);border-radius:17px;background:linear-gradient(145deg,color-mix(in srgb,var(--hero-accent) 13%,#101216),#0d0e11);text-align:center}.hero-film-quote{display:block;color:var(--hero-highlight);font-family:Georgia,serif;font-size:2.8rem;line-height:.65}.hero-film-letter p{line-height:1.5;color:#eee}.hero-film-letter strong{display:block;color:var(--hero-highlight);font-size:.79rem}
.hero-music-player{position:sticky;bottom:0;z-index:10;display:grid;grid-template-columns:48px 1fr 40px;gap:10px;align-items:center;background:rgba(8,9,11,.96);border-top:1px solid color-mix(in srgb,var(--hero-highlight) 44%,transparent);padding:9px 11px;backdrop-filter:blur(12px)}.hero-music-player img{width:48px;height:48px;border-radius:8px;object-fit:cover}.hero-music-player div{min-width:0}.hero-music-player strong,.hero-music-player small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-music-player strong{font-size:.75rem;color:var(--hero-highlight)}.hero-music-player small{font-size:.63rem;color:#999}.hero-play{width:38px;height:38px;border:1px solid color-mix(in srgb,var(--hero-highlight) 50%,transparent);border-radius:50%;background:var(--hero-accent);display:grid;place-items:center;cursor:pointer}.hero-play span{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #fff;margin-left:2px}
.hero-theme-hero-red{--hero-accent:#e5252a;--hero-accent-2:#8f1015;--hero-soft:#ffd8da;--hero-highlight:#f7f7f7}.hero-theme-hero-blue{--hero-accent:#3274b9;--hero-accent-2:#173b67;--hero-soft:#dceeff;--hero-highlight:#eef5ff}.hero-theme-hero-gold{--hero-accent:#d2a84a;--hero-accent-2:#70551a;--hero-soft:#fff1c7;--hero-highlight:#e8c467}.hero-theme-hero-imperial{--hero-accent:#8f35d4;--hero-accent-2:#3b105d;--hero-soft:#f3dfad;--hero-highlight:#d7a84b}
.hero-theme-hero-imperial .hero-film-copy h1{color:#edc762;text-shadow:0 3px 18px rgba(215,168,75,.22)}
.hero-theme-hero-imperial .hero-film-kicker,.hero-theme-hero-imperial .hero-film-synopsis span,.hero-theme-hero-imperial .hero-section-title strong{color:#d7a84b}
.hero-theme-hero-imperial .hero-film-brand span{color:#e9c66f}.hero-theme-hero-imperial .hero-watch-button{background:linear-gradient(135deg,#8f35d4,#5d1c8c);border-color:#d7a84b;color:#fff4cf}.hero-theme-hero-imperial .hero-chapter-card{border-color:rgba(215,168,75,.4)}.hero-theme-hero-imperial .hero-chapter-card>b{background:#7b29bb;border-color:#d7a84b;color:#fff4cf}.hero-theme-hero-imperial .hero-film-letter{border-color:rgba(215,168,75,.5);background:linear-gradient(145deg,rgba(116,38,170,.22),#0d0912)}
.hero-cinema-opening{position:fixed;inset:0;z-index:999999;background:#000;display:grid;place-items:center;opacity:0;overflow:hidden;transition:opacity .5s ease}.hero-cinema-opening.active{opacity:1}.hero-cinema-opening.closing{opacity:0}.hero-projector-light{position:absolute;inset:-20%;background:conic-gradient(from 160deg at 10% 50%,transparent 0 39%,color-mix(in srgb,var(--hero-highlight,var(--hero-accent)) 30%,white) 43%,transparent 47%);filter:blur(18px);animation:heroProjector 3.5s ease both}@keyframes heroProjector{from{transform:translateX(-30%) scale(.7);opacity:0}45%{opacity:.75}to{transform:translateX(25%) scale(1.2);opacity:.25}}.hero-opening-grain{position:absolute;inset:0;opacity:.16;background-image:repeating-radial-gradient(circle at 0 0,transparent 0 2px,#fff 3px 4px);background-size:7px 7px;mix-blend-mode:soft-light;animation:heroGrain .15s steps(2) infinite}@keyframes heroGrain{50%{transform:translate(2px,-2px)}}.hero-opening-center{position:relative;text-align:center;width:min(88vw,760px);padding:30px;animation:heroLogoIn 3.6s ease both}.hero-opening-center p{text-transform:uppercase;letter-spacing:.35em;font-size:.72rem;color:var(--hero-highlight,#bbb)}.hero-opening-center img{width:125px;filter:drop-shadow(0 0 30px color-mix(in srgb,var(--hero-accent) 55%,transparent))}.hero-opening-center h2{font-family:Georgia,serif;font-size:clamp(2rem,6vw,4.2rem);margin:18px 0 9px;color:var(--hero-highlight,#fff)}.hero-opening-center span{color:var(--hero-soft)}@keyframes heroLogoIn{0%{opacity:0;transform:scale(.74)}28%{opacity:1;transform:scale(1)}75%{opacity:1}100%{opacity:0;transform:scale(1.04)}}
.published-heroi #giftCover{background:radial-gradient(circle at 50% 20%,color-mix(in srgb,var(--hero-accent,#e5252a) 20%,#111),#020203 65%)}.published-heroi .gift-cover-card{border-color:color-mix(in srgb,var(--hero-highlight,var(--hero-accent,#e5252a)) 42%,transparent)}.published-heroi .gift-cover-emoji{font-size:0}.published-heroi .gift-cover-emoji:before{content:'🎬';font-size:72px}.published-heroi #openGift{background:var(--hero-accent,#e5252a)}.published-heroi .hero-film-published{min-height:100vh}.published-heroi #publishedGift{max-width:450px;margin:0 auto;box-shadow:0 0 80px rgba(0,0,0,.5)}
/* Card do catálogo: mesma estrutura dos demais, sem afetar o card vizinho */
#produtos .plan-card.plan-heroi{overflow:visible;box-shadow:inset 0 0 60px rgba(238,17,23,.05),0 0 40px rgba(60,180,190,.09)}
#produtos .plan-card.plan-heroi .plan-icon-heroi{background:radial-gradient(circle at 35% 30%,rgba(255,210,105,.22),rgba(229,37,42,.12) 45%,rgba(255,255,255,.02) 72%);border-color:rgba(255,255,255,.1)}
#produtos .plan-card.plan-heroi .plan-icon-heroi .plan-emoji{font-size:3.05rem}
#produtos .hero-product-badge{position:absolute;top:-12px;left:24px;z-index:4;padding:7px 12px;border:2px solid #160001;border-radius:999px;background:linear-gradient(180deg,#ff4149,#ef1117);color:#fff;font-size:.65rem;font-weight:1000;letter-spacing:.08em;box-shadow:0 9px 22px rgba(239,17,23,.35)}
@media(max-width:1000px){.hero-product-heading{align-items:flex-start}.hero-heading-price{text-align:left}.hero-preview-wrap{position:relative!important;top:auto!important}.hero-phone{max-width:430px}}
@media(max-width:680px){.hero-product-heading{display:block}.hero-heading-price{margin-top:16px}.hero-choice-grid{grid-template-columns:1fr 1fr}.hero-photo-list{grid-template-columns:1fr 1fr}.hero-preview-toolbar{width:min(95vw,382px)}.hero-palette-grid{grid-template-columns:1fr!important}.hero-film-copy h1{font-size:1.75rem}.hero-music-result{grid-template-columns:54px 1fr}.hero-music-result button{grid-column:1/-1}.hero-selected-song{grid-template-columns:54px 1fr}.hero-selected-song button{grid-column:1/-1}}

/* ===== Meu Herói V3: formulário visível, player correto e preview rolável ===== */
.hero-select-field{
  display:grid!important;
  gap:11px;
  width:min(100%,620px);
  margin-top:8px;
}
.hero-select-label{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
}
.hero-select-label>i{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 38px;
  border:1px solid rgba(255,77,86,.48);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(239,17,23,.24),rgba(239,17,23,.06));
  color:#ff3c45;
  font-style:normal;
  filter:drop-shadow(0 0 12px rgba(239,17,23,.25));
}
.hero-select-label span{display:grid;gap:2px}
.hero-select-label strong{font-size:1rem;line-height:1.15}
.hero-select-label small{color:#bfaeaf;font-size:.78rem;font-weight:750}
.hero-select-control{
  position:relative;
  display:block;
  width:100%;
}
.hero-select-control select{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  min-height:58px!important;
  padding:0 54px 0 18px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:14px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),
    #171112!important;
  color:#fff!important;
  font-weight:900!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 30px rgba(0,0,0,.18)!important;
  cursor:pointer!important;
  outline:none!important;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease!important;
}
.hero-select-control select:hover{
  border-color:rgba(255,71,81,.62)!important;
  background:linear-gradient(180deg,rgba(239,17,23,.09),rgba(255,255,255,.02)),#171112!important;
}
.hero-select-control select:focus{
  border-color:#ef1117!important;
  box-shadow:0 0 0 4px rgba(239,17,23,.13),0 14px 34px rgba(0,0,0,.24)!important;
}
.hero-select-control select option{
  background:#171112!important;
  color:#fff!important;
  font-weight:800!important;
}
.hero-select-arrow{
  position:absolute;
  right:20px;
  top:50%;
  width:11px;
  height:11px;
  border-right:3px solid #ff3c45;
  border-bottom:3px solid #ff3c45;
  transform:translateY(-68%) rotate(45deg);
  pointer-events:none;
  filter:drop-shadow(0 0 7px rgba(239,17,23,.45));
}

.hero-music-time{
  display:grid!important;
  gap:9px;
  margin-top:15px!important;
  padding:16px!important;
  width:min(100%,460px)!important;
  max-width:460px!important;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(239,17,23,.08),rgba(255,255,255,.025));
}
.hero-music-time-title{font-weight:950;color:#fff}
.hero-music-time input{
  width:100%!important;
  min-height:52px!important;
  border-color:rgba(255,74,83,.36)!important;
  background:#171112!important;
}
.hero-music-time small{color:#bdaeb0;line-height:1.45;font-weight:750}

.hero-preview-toolbar strong{display:grid;gap:3px}
.hero-preview-toolbar strong small{color:#b9abad;font-size:.66rem;font-weight:750;line-height:1.25}

/* A tela externa só recorta. A área interna do filme é quem recebe a rolagem. */
.hero-phone-screen{
  overflow:hidden!important;
  touch-action:pan-y!important;
  overscroll-behavior:contain!important;
}
.hero-film-preview{
  position:relative!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
.hero-film-preview .hero-film-scroll{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-bottom:78px!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
  overscroll-behavior:contain!important;
  scroll-behavior:smooth!important;
  scrollbar-width:thin!important;
  scrollbar-color:var(--hero-accent,#e5252a) rgba(255,255,255,.05)!important;
}
.hero-film-preview .hero-film-scroll::-webkit-scrollbar{width:7px!important}
.hero-film-preview .hero-film-scroll::-webkit-scrollbar-track{background:rgba(255,255,255,.035)!important}
.hero-film-preview .hero-film-scroll::-webkit-scrollbar-thumb{
  background:var(--hero-accent,#e5252a)!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
.hero-film-preview .hero-music-player{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:30!important;
}
.hero-film-published .hero-film-scroll{
  height:auto!important;
  min-height:100vh!important;
  overflow:visible!important;
  padding-bottom:78px!important;
}
.hero-film-published .hero-music-player{position:sticky!important;bottom:0!important}

/* Estados inequívocos: parado = triângulo; tocando/carregando = dois palitos. */
.hero-play{
  position:relative!important;
  overflow:hidden!important;
  padding:0!important;
  font-size:0!important;
}
.hero-play .play-icon,
.hero-play .pause-icon{
  box-sizing:border-box!important;
  margin:0!important;
  background:none!important;
}
.hero-play .play-icon{
  display:block!important;
  width:0!important;
  height:0!important;
  border-top:7px solid transparent!important;
  border-bottom:7px solid transparent!important;
  border-left:11px solid #fff!important;
  border-right:0!important;
  margin-left:3px!important;
}
.hero-play .pause-icon{
  display:none!important;
  position:relative!important;
  width:15px!important;
  height:17px!important;
  border:0!important;
}
.hero-play .pause-icon::before,
.hero-play .pause-icon::after{
  content:"";
  position:absolute;
  top:0;
  width:5px;
  height:17px;
  border-radius:2px;
  background:#fff;
}
.hero-play .pause-icon::before{left:1px}
.hero-play .pause-icon::after{right:1px}
.hero-play.is-playing .play-icon,
.hero-play.is-loading .play-icon{display:none!important}
.hero-play.is-playing .pause-icon,
.hero-play.is-loading .pause-icon{display:block!important}

@media(max-width:680px){
  .hero-select-field,.hero-music-time{width:100%!important;max-width:100%!important}
  .hero-preview-toolbar{align-items:flex-start;flex-wrap:wrap}
  .hero-preview-toolbar>span{margin-left:auto}
}

/* ===== V9: preview do Meu Herói alinhado ao padrão responsivo dos outros produtos ===== */
.hero-editor-body .creator-pro-shell{
  grid-template-columns:minmax(0,1fr) minmax(320px,410px)!important;
  align-items:start!important;
  gap:clamp(30px,5vw,72px)!important;
}
.hero-editor-body .hero-standard-panel{
  width:100%!important;
  min-width:0!important;
}
.hero-editor-body .hero-preview-wrap{
  position:sticky!important;
  top:34px!important;
  width:100%!important;
  min-width:0!important;
  align-self:start!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  margin:0!important;
  transform:none!important;
}
.hero-editor-body .hero-preview-toolbar{
  width:min(100%,390px)!important;
  margin:0 auto 12px!important;
}
.hero-editor-body .hero-phone{
  width:min(100%,390px)!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:330/650!important;
  margin:0 auto!important;
  transform:none!important;
  flex:none!important;
}
.hero-editor-body .hero-phone .hero-phone-screen{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.hero-editor-body .hero-phone .hero-film-preview,
.hero-editor-body .hero-phone .hero-film-scroll{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}
/* Quando ainda não há foto, o texto de placeholder não pode atravessar o título. */
.hero-film-cover .hero-photo-placeholder span{display:none!important;}
.hero-film-copy h1{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  hyphens:auto!important;
  text-wrap:balance!important;
}

/* Tablet: preview acima do formulário, como nos outros modelos. */
@media (max-width:1180px) and (min-width:761px){
  .hero-editor-body .creator-pro-shell{
    grid-template-columns:1fr!important;
    gap:28px!important;
  }
  .hero-editor-body .hero-preview-wrap{
    position:relative!important;
    top:auto!important;
    order:-1!important;
    width:100%!important;
    margin:0 auto 14px!important;
  }
  .hero-editor-body .hero-preview-toolbar{width:min(100%,360px)!important;}
  .hero-editor-body .hero-phone{
    width:min(72vw,360px)!important;
    max-width:360px!important;
  }
}

/* Celular: mesma posição e proporção usada pelos demais presentes. */
@media (max-width:760px){
  .hero-editor-body .creator-pro-shell{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:22px!important;
    padding:34px 18px calc(38px + env(safe-area-inset-bottom,0px))!important;
    overflow:visible!important;
  }
  .hero-editor-body .hero-standard-panel{
    order:1!important;
    width:100%!important;
    max-width:100%!important;
  }
  .hero-editor-body .hero-preview-wrap{
    order:2!important;
    position:relative!important;
    top:auto!important;
    inset:auto!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:14px auto 0!important;
    padding:0!important;
    transform:none!important;
  }
  .hero-editor-body .hero-preview-toolbar{
    width:min(100%,300px)!important;
    margin:0 auto 10px!important;
    align-items:flex-start!important;
    flex-wrap:wrap!important;
  }
  .hero-editor-body .hero-preview-toolbar>span{
    width:100%!important;
    justify-content:flex-start!important;
    margin:2px 0 0!important;
  }
  .hero-editor-body .hero-phone{
    display:block!important;
    width:min(82vw,300px)!important;
    max-width:300px!important;
    min-width:240px!important;
    height:auto!important;
    max-height:none!important;
    aspect-ratio:330/650!important;
    margin:0 auto!important;
  }
  .hero-editor-body .hero-film-copy h1{
    font-size:clamp(1.45rem,7vw,1.9rem)!important;
    line-height:1.04!important;
  }
  .hero-editor-body .hero-film-poster{min-height:480px!important;}
  .hero-editor-body .hero-film-copy{left:17px!important;right:17px!important;bottom:22px!important;}
  .hero-editor-body .hero-film-synopsis{padding:20px 17px!important;}
  .hero-editor-body .hero-film-chapters{padding-inline:12px!important;}
}
@media (max-width:430px){
  .hero-editor-body .hero-phone{
    width:min(84vw,286px)!important;
    max-width:286px!important;
  }
  .hero-editor-body .hero-preview-toolbar{width:min(100%,286px)!important;}
  .hero-editor-body .hero-film-poster{min-height:455px!important;}
}
@media (max-width:980px) and (orientation:landscape){
  .hero-editor-body .hero-preview-wrap{order:2!important;}
  .hero-editor-body .hero-phone{
    width:min(48vw,250px)!important;
    max-width:250px!important;
    min-width:190px!important;
  }
  .hero-editor-body .hero-preview-toolbar{width:min(100%,250px)!important;}
}


/* V11: toolbar do preview simplificada — apenas o botão da abertura. */
.hero-preview-toolbar-opening{
  justify-content:flex-end!important;
  width:100%!important;
  min-height:40px;
}
.hero-preview-toolbar-opening>button{
  margin-left:auto;
}
@media(max-width:680px){
  .hero-editor-body .hero-preview-toolbar-opening{
    width:min(100%,360px)!important;
    justify-content:flex-end!important;
  }
}

/* ===== V11: limpeza definitiva da barra do preview ===== */
.hero-preview-toolbar > strong,
#heroTopPreview{
  display:none!important;
}
.hero-preview-toolbar{
  justify-content:flex-end!important;
}
.hero-preview-toolbar > span{
  margin-left:auto!important;
  display:flex!important;
}
.hero-preview-toolbar > span:empty{
  display:none!important;
}

/* ===== V12: etapas responsivas do Meu Herói + botão de abertura centralizado ===== */
.hero-editor-body .hero-preview-toolbar-opening{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(100%,390px)!important;
  margin:0 auto 12px!important;
}
.hero-editor-body .hero-preview-toolbar-opening > #heroReplayPreview{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 auto!important;
  text-align:center!important;
}

/* O Meu Herói possui 8 etapas. Em telas menores, os conectores encolhem
   de forma proporcional para que todas as bolinhas permaneçam visíveis. */
@media (max-width:1100px){
  .hero-editor-body #heroProgress.pro-progress{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:4px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 28px!important;
    padding:2px 0 8px!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  .hero-editor-body #heroProgress.pro-progress .progress-node{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    flex:0 0 24px!important;
    border-width:2px!important;
    box-sizing:border-box!important;
  }
  .hero-editor-body #heroProgress.pro-progress i{
    width:auto!important;
    min-width:5px!important;
    max-width:42px!important;
    flex:1 1 24px!important;
    height:3px!important;
  }
  .hero-editor-body #heroProgress.pro-progress .progress-node.done .node-check{
    font-size:12px!important;
  }
}

@media (max-width:600px){
  .hero-editor-body #heroProgress.pro-progress{
    gap:3px!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .hero-editor-body #heroProgress.pro-progress .progress-node{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    flex-basis:22px!important;
  }
  .hero-editor-body #heroProgress.pro-progress i{
    min-width:4px!important;
    max-width:24px!important;
    flex-basis:14px!important;
  }
  .hero-editor-body .hero-preview-toolbar-opening{
    width:min(100%,300px)!important;
  }
}

@media (max-width:390px){
  .hero-editor-body #heroProgress.pro-progress{
    gap:2px!important;
  }
  .hero-editor-body #heroProgress.pro-progress .progress-node{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    flex-basis:20px!important;
  }
  .hero-editor-body #heroProgress.pro-progress i{
    min-width:3px!important;
    max-width:18px!important;
    flex-basis:10px!important;
  }
  .hero-editor-body #heroProgress.pro-progress .progress-node.done .node-check{
    font-size:10px!important;
  }
  .hero-editor-body .hero-preview-toolbar-opening{
    width:min(100%,286px)!important;
  }
}
