/* Refinamento Miraculers Club: linguagem de streaming com assinatura Ladybug. */
:root {
  --sans: Inter, "Aptos", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ladybug-red: #e52332;
  --cyan: #e52332;
  --cyan2: #ff8990;
}

html, body { font-family: var(--sans); }
body { letter-spacing: .005em; }

.home-section-heading { align-items: center; margin-bottom: 24px; }
.home-section-heading h2 {
  position: relative;
  min-height: 0;
  gap: 12px;
  padding: 12px 18px 12px 15px;
  border: 1px solid #ff74804d;
  border-radius: 8px 19px 8px 19px;
  background: linear-gradient(120deg, #e52332 0%, #c81727 75%, #a91020 100%);
  box-shadow: 0 8px 24px #e5233226, inset 0 1px #ffffff35;
  color: #fff;
  font: 850 clamp(17px, 2.3vw, 25px)/1 var(--sans);
  letter-spacing: .045em;
  text-shadow: 0 1px 8px #60071155;
}
.home-section-heading h2::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #10090a;
  box-shadow: 13px 0 0 -2px #10090a, 6px 8px 0 -2px #10090a;
  opacity: .88;
}
.home-section-heading h2::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid #ff727b38;
  border-radius: 11px 22px 11px 22px;
  pointer-events: none;
}
.home-section-heading .text-link { font-size: 13px; font-weight: 650; }
.home-section-heading .text-link span { margin-left: 9px; font-size: 17px; }

.button {
  min-height: 46px;
  padding-inline: 19px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .01em;
  box-shadow: 0 5px 18px #0004;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px #0006; }
.button-primary { border: 1px solid #ff7b84; background: linear-gradient(135deg, #f32a3b, #c91425); color: white; box-shadow: 0 7px 22px #e5233245, inset 0 1px #ffffff36; }
.button-primary:hover { border-color: #ffadb2; background: linear-gradient(135deg, #ff4251, #df182b); }
.button-glass { border: 1px solid #ffffff35; border-radius: 999px; background: #111114bf; box-shadow: inset 0 1px #ffffff0c; }
.button-glass:hover { border-color: #ff6972a8; background: #281216e8; }
.button-icon { width: 27px; height: 27px; flex: 0 0 27px; display: inline-grid; place-items: center; border-radius: 50%; }
.button-icon svg { width: 15px; height: 15px; display: block; }
.button-play-icon { background: #ffffff20; box-shadow: inset 0 0 0 1px #ffffff36; }
.button-play-icon svg { fill: currentColor; }
.button-arrow-icon { width: 25px; height: 25px; flex-basis: 25px; border: 1px solid #ffffff25; background: #ffffff0b; }
.button-arrow-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.button-glass:hover .button-arrow-icon svg { transform: translate(1px, -1px); }

.home-card { border-radius: 19px; border-color: #ffffff24; box-shadow: 0 16px 38px #0009; }
.home-card:hover { border-color: #ff697280; box-shadow: 0 22px 48px #000b, 0 0 24px #e523321c; }
.home-card-copy strong { font-family: var(--sans); letter-spacing: -.025em; }
.home-card-copy small { font-size: 12px; }
.home-card-tag { padding: 6px 10px; border: 1px solid #ffffff20; box-shadow: 0 3px 12px #0004; font-size: 9px; }
.home-card-arrow { width: 42px; height: 42px; border-color: #ffffff65; background: #080809a8; font-size: 17px; transition: background .2s, transform .2s; }
.home-card:hover .home-card-arrow { transform: rotate(45deg); background: #e52332e8; }
.home-card.is-season { aspect-ratio: .78; }

.search-results { width: min(470px, calc(100vw - 28px)); padding: 8px; border-radius: 17px; }
.search-result { grid-template-columns: 112px minmax(0, 1fr) auto; min-height: 78px; gap: 13px; padding: 8px; border-radius: 12px; }
.search-result img { width: 112px; height: 63px; border: 1px solid #ffffff20; border-radius: 8px; object-fit: cover; }
.search-result-copy { gap: 6px; }
.search-result-copy strong { font-size: 13px; }
.search-result-copy small { font-size: 10px; }
.search-result-kind { padding: 5px 7px; border: 1px solid #e5233247; border-radius: 999px; background: #e5233219; font-size: 8px; }
.search-result:hover, .search-result:focus-visible { background: linear-gradient(90deg, #e5233222, #ffffff08); }

.episode-card { border-radius: 15px; padding: 13px; background: linear-gradient(115deg, #151518, #0d0d10); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.episode-card:hover { transform: translateY(-3px); border-color: #ffffff38; box-shadow: 0 16px 34px #0007; }
.episode-art { border-radius: 10px; }
.episode-art-play { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #ffffff80; border-radius: 50%; background: #090a0dcc; box-shadow: 0 5px 22px #000b, inset 0 1px #ffffff2e; color: #fff; opacity: .96; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.episode-art-play svg { width: 23px; height: 23px; margin-left: 3px; fill: currentColor; }
.episode-art:hover .episode-art-play { transform: translate(-50%, -50%) scale(1.1); border-color: #ff8e92; background: #e52332; }
.episode-title-row h3 { font-family: var(--sans); font-weight: 750; letter-spacing: -.02em; }
.episode-watch { gap: 9px; min-height: 42px; padding-inline: 17px; background: #f2f2f2; color: #111214; box-shadow: 0 7px 18px #0005; }
.episode-watch:hover { background: #fff; color: #000; box-shadow: 0 10px 24px #0007; }
.episode-watch .button-play-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e52332; color: #fff; }
.episode-watch .button-play-icon svg { width: 12px; height: 12px; margin-left: 1px; fill: currentColor; }
.episode-watch > span:last-child { letter-spacing: .01em; }
.season-choice { border-radius: 16px; }
.season-select-wrap select, .compact-season-select select { border-radius: 10px; }

@media (max-width: 700px) {
  .home-section-heading { margin-bottom: 16px; }
  .home-section-heading h2 { min-height: 0; padding: 11px 13px; font-size: clamp(15px, 4vw, 20px); }
  .home-section-heading h2::before { width: 7px; height: 7px; flex-basis: 7px; box-shadow: 10px 0 0 -2px #10090a, 5px 7px 0 -2px #10090a; }
  .home-section-heading .text-link { font-size: 11px; }
  .button { min-height: 40px; padding-inline: 15px; font-size: 11px; }
  .home-card { border-radius: 15px; }
  .home-card-copy small { font-size: 10px; }
  .home-card-arrow { width: 35px; height: 35px; }
  .search-results { width: min(410px, calc(100vw - 24px)); }
  .search-result { grid-template-columns: 92px minmax(0, 1fr) auto; min-height: 65px; gap: 9px; }
  .search-result img { width: 92px; height: 52px; border-radius: 7px; }
  .search-result-kind { font-size: 7px; }
}

@media (max-width: 390px) {
  .search-result { grid-template-columns: 76px minmax(0, 1fr); }
  .search-result img { width: 76px; height: 43px; }
  .search-result-kind { display: none; }
}

/* Cards de catálogo com o fundo de joaninhas criado pela proprietária. */
.home-card, .home-card.is-season, .home-card.is-special { aspect-ratio: .68; background: #030303; border-color: #ffffff20; }
.home-card > img { object-position: center 78%; }
.home-card::after { inset: 40% 0 0; background: linear-gradient(180deg, transparent 0%, #03030340 25%, #030303ed 100%); }
.home-card-copy { gap: 8px; padding: clamp(16px, 2.3vw, 24px); }
.home-card-copy strong { max-width: 100%; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.1; text-shadow: 0 2px 14px #000; }
.home-card-copy small { color: #f2eeee; font-size: 12px; font-weight: 650; text-shadow: 0 1px 9px #000; }
.home-card-copy .release-date { display: inline; }
.release-date { color: #ffb3b8; font-size: 11px; font-weight: 650; }
.release-date a { margin-left: 5px; color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.episode-info > .release-date { margin-top: 8px; }
.movie-meta .release-date { color: #ffb3b8; }
@media (max-width: 700px) {
  .home-card, .home-card.is-season, .home-card.is-special { aspect-ratio: .68; }
  .home-card-copy { padding: 13px; }
  .home-card-copy strong { font-size: clamp(15px, 4vw, 19px); }
  .home-card-copy small, .release-date { font-size: 10px; }
}

/* Cards autorais: composição centralizada e placa vermelha em sintonia com os títulos de seção. */
.home-card-grid { justify-items: center; }
.home-card-grid > .home-card { width: 100%; max-width: 390px; }
.home-card.is-season, .home-card.is-special {
  aspect-ratio: 1 / 1;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid #ff697250;
  border-radius: 18px 8px 18px 8px;
  background:
    radial-gradient(ellipse at 50% 34%, #ed263522 0%, transparent 50%),
    linear-gradient(145deg, #191316 0%, #0d0c0e 56%, #060607 100%);
  box-shadow: 0 16px 38px #0009, inset 0 1px #ffffff14;
}
.home-card.is-season::before, .home-card.is-special::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px solid #ffffff12;
  border-radius: 12px 5px 12px 5px;
  background-image: radial-gradient(#ff42501c 1px, transparent 1.5px);
  background-size: 15px 15px;
  mask-image: linear-gradient(135deg, #000 0%, transparent 68%);
}
.home-card.is-season::after, .home-card.is-special::after {
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 42%, #05050618 62%, #0505069c 100%);
  pointer-events: none;
}
.home-card-art {
  position: absolute;
  z-index: 1;
  top: 13%;
  left: 50%;
  width: 82px;
  height: 82px;
  transform: translateX(-50%);
  border: 1px solid #ff899066;
  border-radius: 50%;
  background-color: #e52332;
  background-image:
    radial-gradient(circle at 25% 25%, #10090a 0 8px, transparent 8.8px),
    radial-gradient(circle at 73% 25%, #10090a 0 8px, transparent 8.8px),
    radial-gradient(circle at 22% 68%, #10090a 0 8px, transparent 8.8px),
    radial-gradient(circle at 78% 68%, #10090a 0 8px, transparent 8.8px),
    linear-gradient(90deg, transparent 48%, #10090a 48% 52%, transparent 52%),
    linear-gradient(145deg, #fa4653, #c51425);
  box-shadow: 0 0 36px #e5233240, inset 0 2px #ffffff32;
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-card:hover .home-card-art { transform: translateX(-50%) scale(1.08); box-shadow: 0 0 48px #e5233260, inset 0 2px #ffffff32; }
.home-card-copy {
  z-index: 2;
  inset: auto 12px 18px;
  justify-items: center;
  align-items: center;
  gap: 9px;
  text-align: center;
}
.home-card-copy strong {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px clamp(12px, 2vw, 20px);
  border: 1px solid #ff899066;
  border-radius: 8px 18px 8px 18px;
  background: linear-gradient(120deg, #e52332, #bd1424);
  box-shadow: 0 8px 24px #e5233230, inset 0 1px #ffffff35;
  color: #fff;
  font: 850 clamp(17px, 2vw, 24px)/1.1 var(--sans);
  letter-spacing: -.02em;
  text-align: center;
  text-shadow: 0 1px 8px #60071155;
  text-wrap: balance;
}
.home-card-copy small { max-width: 100%; text-align: center; }
.home-card.is-special .home-card-copy strong { font-size: clamp(15px, 1.8vw, 21px); }
.home-card-arrow { z-index: 3; top: 14px; right: 14px; }
.home-card.is-season:hover, .home-card.is-special:hover { transform: translateY(-5px); border-color: #ff818b; }
@media (max-width: 700px) {
  .home-card.is-season, .home-card.is-special { aspect-ratio: .95; min-height: 158px; border-radius: 15px 7px 15px 7px; }
  .home-card-art { top: 12%; width: 61px; height: 61px; }
  .home-card-art { background-image: radial-gradient(circle at 25% 25%, #10090a 0 6px, transparent 6.8px), radial-gradient(circle at 73% 25%, #10090a 0 6px, transparent 6.8px), radial-gradient(circle at 22% 68%, #10090a 0 6px, transparent 6.8px), radial-gradient(circle at 78% 68%, #10090a 0 6px, transparent 6.8px), linear-gradient(90deg, transparent 48%, #10090a 48% 52%, transparent 52%), linear-gradient(145deg, #fa4653, #c51425); }
  .home-card-copy { inset: auto 8px 13px; gap: 7px; }
  .home-card-copy strong { padding: 8px 10px; font-size: clamp(13px, 3.6vw, 17px); }
  .home-card.is-special .home-card-copy strong { font-size: clamp(12px, 3.2vw, 15px); }
  .home-card-copy small { font-size: 10px; }
  .home-card-arrow { top: 10px; right: 10px; width: 32px; height: 32px; }
}

/* Cards de catálogo em formato vertical de pôster, com a arte cadastrada no catálogo. */
.home-card.is-season, .home-card.is-special {
  aspect-ratio: 2 / 3;
  min-height: 0;
  background: #080809;
}
.home-card.is-season::before, .home-card.is-special::before { display: none; }
.home-card.is-season::after, .home-card.is-special::after {
  inset: 34% 0 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, #03030342 42%, #030303ed 100%);
}
.home-card-poster {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}
.home-card:hover .home-card-poster { transform: scale(1.045); }
.home-card-art { display: none; }
@media (max-width: 700px) {
  .home-card.is-season, .home-card.is-special { aspect-ratio: 2 / 3; min-height: 0; }
}


/* Player e página de episódio: composição baseada na referência mobile, com identidade Miraculers Club. */
body.player-route-active { background: #090a0d; }
body.player-route-active .topbar { background: #0b0c0f; border-bottom-color: #292a2e; }
body.player-route-active .menu-toggle { display: none; }
body.player-route-active .brand-logo { width: 36px; height: 38px; }
body.player-route-active .brand-name { font-size: 16px; letter-spacing: .2px; }
body.player-route-active .brand-accent { color: #e52332; }
body.player-route-active .nav-link.active::after { background: #e52332; box-shadow: 0 0 12px #e5233266; }
body.player-route-active #app-view:focus { outline: none; }
.episode-watch-page { padding-top: 0; }
.episode-watch-page .player-shell { border: 0; border-radius: 0; background: #08090b var(--poster-image) center/cover no-repeat; box-shadow: none; }
.player-shell::after { content: none; }
.stream-video { object-fit: cover; background: #090a0d; }
.player-vignette { background: linear-gradient(180deg, #020306b8 0%, #03040765 22%, transparent 48%, #0304071c 68%, #030407b8 100%), linear-gradient(#0002, #0002); }
.player-top-overlay { align-items: center; gap: 12px; padding: 16px clamp(14px, 3.8vw, 28px); }
.player-back { flex: 0 0 34px; width: 34px; height: 42px; }
.player-back svg { width: 30px; height: 30px; }
.player-title-block { flex: 1 1 auto; gap: 4px; min-width: 0; }
.player-title-block strong { overflow: hidden; max-width: min(48vw, 520px); color: #fff; font-size: clamp(14px, 2.1vw, 21px); font-weight: 800; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.player-title-block span { overflow: hidden; max-width: min(48vw, 520px); color: #e0e0e2; font-size: clamp(10px, 1.5vw, 16px); letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.player-utility { flex: 0 0 auto; gap: clamp(6px, 1.5vw, 14px); margin-left: auto; }
.icon-button { width: clamp(38px, 8vw, 60px); height: clamp(38px, 8vw, 60px); border: 1px solid #ffffff0a; border-radius: 50%; background: #17181bdc; color: #fff; box-shadow: 0 2px 12px #0007; }
.icon-button:hover, .icon-button.is-added { background: #26272bdc; color: #fff; }
.icon-button svg { width: clamp(19px, 3.5vw, 27px); height: clamp(19px, 3.5vw, 27px); stroke-width: 2; }
.settings-menu { top: auto; right: 25px; bottom: 78px; min-width: 190px; border-color: #ffffff25; border-radius: 10px; background: #111216f5; font-size: 12px; }
.settings-menu select { border-radius: 6px; }
.seek-controls { position: absolute; z-index: 3; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: clamp(35px, 10vw, 105px); transform: translate(-50%, -50%); }
.seek-button, .player-center-play { display: grid; flex: 0 0 auto; place-items: center; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; filter: drop-shadow(0 2px 5px #0009); }
.seek-button { width: 48px; height: 48px; }
.seek-button svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.seek-button svg text { fill: currentColor; stroke: none; font: 700 13px var(--sans); }
.player-center-play { width: clamp(58px, 8vw, 76px); height: clamp(58px, 8vw, 76px); transition: opacity .2s ease, transform .2s ease; }
.player-center-play:hover { transform: scale(1.08); }
.player-center-play svg { display: block; width: 100%; height: 100%; fill: #fff; }
.player-shell.is-playing .player-center-play { opacity: 0; pointer-events: none; }
.player-controls { left: clamp(22px, 3.8vw, 42px); right: clamp(22px, 3.8vw, 42px); bottom: clamp(14px, 2.7vw, 25px); }
.timeline-row { grid-template-columns: minmax(0, 1fr) 58px; gap: 14px; align-items: center; color: #fff; font-size: 13px; }
.time-current { display: none; }
.time-remaining { color: #fff; font-size: clamp(11px, 1.7vw, 16px); font-weight: 600; }
.timeline { --played: 0%; width: 100%; height: 12px; border-radius: 99px; outline: none; appearance: none; background: transparent; box-shadow: none; cursor: pointer; }
.timeline::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(90deg, #e52332 0%, #e52332 var(--played), #ffffff75 var(--played), #ffffff75 100%); }
.timeline::-moz-range-track { height: 5px; border-radius: 99px; background: linear-gradient(90deg, #e52332 0%, #e52332 var(--played), #ffffff75 var(--played), #ffffff75 100%); }
.timeline::-webkit-slider-thumb { width: 27px; height: 27px; margin-top: -11px; appearance: none; border: 2px solid #ff8990; border-radius: 50%; background-color: #e52332; background-image: radial-gradient(circle at 27% 28%, #17100d 0 2.6px, transparent 3px), radial-gradient(circle at 72% 28%, #17100d 0 2.6px, transparent 3px), radial-gradient(circle at 27% 72%, #17100d 0 2.6px, transparent 3px), radial-gradient(circle at 72% 72%, #17100d 0 2.6px, transparent 3px), linear-gradient(90deg, transparent 47%, #17100d 47% 53%, transparent 53%); box-shadow: 0 0 0 3px #e5233245, 0 2px 7px #000a; cursor: grab; }
.timeline::-moz-range-thumb { width: 23px; height: 23px; border: 2px solid #ff8990; border-radius: 50%; background-color: #e52332; background-image: radial-gradient(circle at 27% 28%, #17100d 0 2.5px, transparent 3px), radial-gradient(circle at 72% 28%, #17100d 0 2.5px, transparent 3px), radial-gradient(circle at 27% 72%, #17100d 0 2.5px, transparent 3px), radial-gradient(circle at 72% 72%, #17100d 0 2.5px, transparent 3px); box-shadow: 0 0 0 3px #e5233245, 0 2px 7px #000a; cursor: grab; }
.controls-row { display: flex; align-items: center; justify-content: space-between; gap: clamp(7px, 2vw, 24px); padding-top: 14px; }
.episode-step { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.episode-step:hover { color: #ff8990; }
.episode-step svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; }
.episode-step[hidden] { display: none; }
.control-setting { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 0; border: 0; background: transparent; color: #fff; font-size: clamp(10px, 1.9vw, 15px); font-weight: 650; white-space: nowrap; cursor: pointer; }
.control-setting:hover { color: #ff8990; }
.control-setting svg { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.control-setting b { font-weight: inherit; }
.captions-setting { margin-inline: auto; }
.player-below { padding: 12px 0 0; }
.player-below a { color: #ff8990; }

.watch-info { width: min(1190px, calc(100% - 64px)); margin: 0 auto; padding: 42px 0 54px; color: #fff; }
.watch-title-block h1 { margin: 0; color: #f8f8fa; font-size: clamp(26px, 3.7vw, 34px); font-weight: 850; line-height: 1.18; letter-spacing: -.025em; }
.watch-title-block h2 { margin: 13px 0 18px; color: #b5b5bb; font-size: clamp(18px, 2.8vw, 25px); font-weight: 750; line-height: 1.3; }
.watch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 25px; }
.watch-meta span { display: inline-flex; align-items: center; min-height: 35px; padding: 0 14px; border: 1px solid #ffffff1e; border-radius: 8px; color: #d8d8dc; font-size: 14px; font-weight: 650; }
.watch-meta span:last-child { color: #bfc0c5; }
.watch-description { max-width: 850px; margin: 0 0 34px; color: #b7b7bd; font-size: clamp(16px, 2.5vw, 20px); line-height: 1.55; }
.watch-fact { display: grid; gap: 5px; padding: 23px 0 25px; border-top: 1px solid #ffffff21; border-bottom: 1px solid #ffffff21; }
.watch-fact span { color: #aaaab0; font-size: 13px; letter-spacing: .08em; }
.watch-fact strong { color: #f2f2f4; font-size: 17px; font-weight: 500; }
.watch-episodes { padding-top: 42px; }
.watch-episodes-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.watch-episodes-heading h2 { margin: 0; color: #f5f5f7; font-size: clamp(20px, 3vw, 25px); font-weight: 800; letter-spacing: -.02em; }
.watch-season-select { position: relative; display: inline-flex; align-items: center; min-width: 190px; }
.watch-season-select select { width: 100%; height: 46px; padding: 0 40px 0 16px; appearance: none; border: 1px solid #ffffff20; border-radius: 10px; outline: none; background: #1b1b1e; color: #f4f4f5; font: 700 15px var(--sans); cursor: pointer; }
.watch-season-select select:focus { border-color: #e52332; }
.watch-season-select svg { position: absolute; right: 14px; width: 17px; height: 17px; fill: none; stroke: #f2f2f3; stroke-width: 2; pointer-events: none; }
.watch-episode-strip { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; padding: 0 1px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.watch-episode-strip::-webkit-scrollbar { display: none; }
.watch-episode-card { display: block; flex: 0 0 285px; min-width: 0; color: #fff; text-decoration: none; scroll-snap-align: start; }
.watch-episode-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: #17171a; }
.watch-episode-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.watch-episode-card:hover .watch-episode-thumb img { transform: scale(1.04); }
.watch-episode-number { position: absolute; top: 9px; left: 11px; color: #fff; font-size: 22px; font-weight: 800; text-shadow: 0 1px 5px #000b; }
.watch-episode-card strong { display: -webkit-box; margin-top: 8px; overflow: hidden; color: #f5f5f7; font-size: 17px; font-weight: 500; line-height: 1.34; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.watch-episode-card.is-current .watch-episode-thumb { border: 3px solid #e52332; box-shadow: 0 0 0 1px #ff8990, 0 0 15px #e5233230; }
.watch-episode-status { position: absolute; right: 10px; bottom: 10px; left: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; border: 1px solid #ffffff4d; border-radius: 999px; background: #e52332e8; color: #fff; box-shadow: 0 5px 16px #0008, inset 0 1px #ffffff30; font-size: 13px; font-weight: 800; }
.watch-episode-status svg { width: 13px; height: 13px; fill: currentColor; }
.watch-episode-status span { font-size: 13px; }
.watch-episode-card:focus-visible .watch-episode-thumb { outline: 3px solid #ffb36a; outline-offset: 3px; }
.menu-toggle { display: none; }
.menu-toggle svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }

@media (max-width: 700px) {
  body.player-route-active .topbar { position: sticky; z-index: 40; display: flex; height: 45px; gap: 17px; padding: 0 15px 0 22px; border-bottom: 1px solid #292a2e; background: #0b0c0f; }
  body.player-route-active .menu-toggle { display: grid; flex: 0 0 19px; place-items: center; width: 19px; height: 26px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
  body.player-route-active .menu-toggle svg { width: 19px; height: 19px; }
  body.player-route-active .brand { flex: 0 1 auto; gap: 5px; min-width: 0; }
  body.player-route-active .brand-logo { width: 18px; height: 20px; }
  body.player-route-active .brand-name { display: inline; overflow: hidden; font-size: 11px; letter-spacing: 0; text-overflow: ellipsis; }
  body.player-route-active .main-nav { position: absolute; top: calc(100% + 1px); left: 12px; z-index: 45; display: none; width: min(245px, calc(100vw - 24px)); height: auto; padding: 6px; border: 1px solid #ffffff20; border-radius: 8px; background: #101114f7; box-shadow: 0 14px 36px #000b; }
  body.player-route-active .topbar.menu-open .main-nav { display: grid; }
  body.player-route-active .main-nav .nav-link { min-height: 35px; padding: 0 10px; border-radius: 6px; color: #e7e7e9; font-size: 11px; letter-spacing: .03em; }
  body.player-route-active .main-nav .nav-link.active { background: #e523321f; color: #fff; }
  body.player-route-active .main-nav .nav-link.active::after { display: none; }
  body.player-route-active .top-actions { flex: 0 0 24px; justify-content: flex-end; margin-left: auto; }
  body.player-route-active .search-wrap { width: 24px; }
  body.player-route-active .search-toggle { flex-basis: 24px; width: 24px; height: 26px; }
  body.player-route-active .search-toggle svg { width: 18px; height: 18px; }
  body.player-route-active .player-page { width: 100%; max-width: none; margin: 0; padding-top: 0; }
  .episode-watch-page .player-shell { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 0; }
  .player-top-overlay { gap: 13px; padding: 6px 10px 6px 14px; }
  .player-back { flex-basis: 19px; width: 19px; height: 24px; }
  .player-back svg { width: 20px; height: 20px; }
  .player-title-block { gap: 2px; }
  .player-title-block strong { max-width: 100%; font-size: clamp(10px, 3.1vw, 13px); }
  .player-title-block span { max-width: 100%; font-size: clamp(8px, 2.4vw, 11px); }
  .player-utility { gap: 4px; }
  .icon-button { width: clamp(28px, 8.1vw, 29px); height: clamp(28px, 8.1vw, 29px); }
  .icon-button svg { width: 15px; height: 15px; }
  .seek-controls { gap: clamp(25px, 8vw, 42px); }
  .seek-button { width: clamp(26px, 7.5vw, 31px); height: clamp(26px, 7.5vw, 31px); }
  .player-center-play { width: clamp(40px, 12vw, 48px); height: clamp(40px, 12vw, 48px); }
  .player-controls { left: 18px; right: 12px; bottom: 6px; }
  .timeline-row { grid-template-columns: minmax(0, 1fr) 30px; gap: 6px; }
  .time-remaining { font-size: 9px; }
  .timeline::-webkit-slider-thumb { width: 15px; height: 15px; margin-top: -6px; }
  .timeline::-moz-range-thumb { width: 13px; height: 13px; }
  .controls-row { gap: 4px; padding-top: 2px; }
  .episode-step { width: 17px; height: 20px; }
  .episode-step svg { width: 14px; height: 14px; }
  .control-setting { gap: 3px; min-height: 20px; font-size: clamp(7px, 2.2vw, 9px); }
  .control-setting svg { width: 13px; height: 13px; }
  .watch-info { width: calc(100% - 26px); padding: 28px 0 25px; }
  .watch-title-block h1 { font-size: clamp(14px, 4.2vw, 16px); }
  .watch-title-block h2 { margin: 6px 0 9px; font-size: clamp(12px, 3.5vw, 14px); }
  .watch-meta { gap: 4px 6px; margin-bottom: 13px; }
  .watch-meta span { min-height: 19px; padding: 0 7px; border-radius: 4px; font-size: 8px; }
  .watch-description { margin-bottom: 16px; font-size: clamp(12px, 3.6vw, 14px); line-height: 1.4; }
  .watch-fact { gap: 3px; padding: 12px 0 13px; }
  .watch-fact span { font-size: 8px; }
  .watch-fact strong { font-size: 10px; }
  .watch-episodes { padding-top: 22px; }
  .watch-episodes-heading { align-items: center; gap: 4px; margin-bottom: 7px; }
  .watch-episodes-heading h2 { flex: 0 1 auto; font-size: clamp(10px, 2.8vw, 12px); white-space: nowrap; }
  .watch-season-select { flex: 0 0 clamp(105px, 32vw, 120px); min-width: 0; }
  .watch-season-select select { height: 24px; padding: 0 22px 0 8px; border-radius: 6px; font-size: 8px; }
  .watch-season-select svg { right: 7px; width: 11px; height: 11px; }
  .watch-episode-strip { gap: 7px; margin-right: -13px; padding: 0 13px 7px 1px; }
  .watch-episode-card { flex-basis: min(143px, calc(50vw - 8px)); }
  .watch-episode-thumb { border-radius: 6px; }
  .watch-episode-card.is-current .watch-episode-thumb { border-width: 2px; box-shadow: none; }
  .watch-episode-number { top: 4px; left: 5px; font-size: 11px; }
  .watch-episode-card strong { margin-top: 4px; font-size: 9px; }
  .episode-art-play { width: 43px; height: 43px; }
  .episode-art-play svg { width: 17px; height: 17px; }
  .episode-watch { min-height: 36px; padding-inline: 13px; font-size: 10px; }
  .episode-watch .button-play-icon { width: 20px; height: 20px; }
  .episode-watch .button-play-icon svg { width: 10px; height: 10px; }
  .watch-episode-status { right: 4px; bottom: 4px; left: 4px; height: 19px; gap: 4px; font-size: 8px; }
  .watch-episode-status svg { width: 8px; height: 8px; }
  .watch-episode-status span { font-size: 8px; }
}
@media (max-width: 390px) {
  body.player-route-active .brand-logo { display: none; }
  body.player-route-active .brand-name { max-width: 115px; font-size: 11px; }
  .player-title-block strong { max-width: 54vw; }
  .player-title-block span { max-width: 58vw; }
  .watch-info { width: calc(100% - 26px); padding-top: 22px; }
  .watch-episodes-heading h2 { font-size: 10px; }
  .watch-season-select { flex-basis: 115px; }
}
@media (prefers-reduced-motion: reduce) {
  .watch-episode-thumb img { transition: none; }
}

/* Ações globais: retângulos suaves e ícones próprios do Miraculers Club. */
.ui-icon { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
.button { border-radius: 12px; justify-content: center; text-align: center; }
.button-icon { border-radius: 8px; }
.button-play-icon { display: inline-grid; place-items: center; }
.button-play-icon .ui-icon { width: 14px; height: 14px; }
.button-arrow-icon .ui-icon { width: 15px; height: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; }
.text-link .ui-icon { width: 16px; height: 16px; transition: transform .2s ease; }
.text-link:hover .ui-icon { transform: translateX(3px); }
.home-card-arrow { width: 42px; height: 34px; border-radius: 10px; }
.home-card-arrow .ui-icon { width: 17px; height: 17px; transition: transform .2s ease; }
.home-card:hover .home-card-arrow .ui-icon { transform: translate(1px, -1px); }
.season-choice-copy > span { display: inline-flex; align-items: center; gap: 7px; }
.season-choice-copy .ui-icon { width: 15px; height: 15px; }
.back-link, .player-below a { display: inline-flex; align-items: center; gap: 8px; }
.back-link .ui-icon, .player-below a .ui-icon { width: 17px; height: 17px; }
.site-footer > a:last-child { display: inline-flex; align-items: center; gap: 8px; }
.site-footer > a:last-child .ui-icon { width: 16px; height: 16px; }
.episode-card { align-items: stretch; }
.episode-info { justify-content: flex-start; }
.episode-watch { align-self: flex-start; margin-top: auto; }
.episode-watch .button-play-icon { border-radius: 8px; }
.episode-art-play .ui-icon { width: 23px; height: 23px; margin-left: 3px; }
.player-center-play .ui-icon { width: 58%; height: 58%; margin-left: 4%; }

@media (max-width: 700px) {
  .button { border-radius: 10px; }
  .home-card-arrow { width: 36px; height: 31px; border-radius: 9px; }
  .home-card-arrow .ui-icon { width: 15px; height: 15px; }
  .episode-watch { align-self: stretch; }
  .episode-art-play .ui-icon { width: 17px; height: 17px; }
}

/* Estado sem link de vídeo: somente o aviso central permanece visível. */
.player-shell.is-unavailable .player-top-overlay,
.player-shell.is-unavailable .seek-controls,
.player-shell.is-unavailable .player-controls { display: none !important; }
.player-shell.is-unavailable .stream-video { visibility: hidden; }
.player-shell.is-unavailable .player-vignette { background: linear-gradient(180deg, #03040788, #030407c9); }
.player-shell.is-unavailable .player-placeholder {
  width: min(470px, calc(100% - 32px));
  padding: 26px 30px;
  border-color: #ffffff30;
  border-radius: 16px;
  background: #111216e8;
  box-shadow: 0 18px 44px #000b, inset 0 1px #ffffff18;
}
.availability-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  border: 1px solid #ff899066;
  border-radius: 10px;
  background: #e52332;
  color: #fff;
  font-size: 21px;
  font-weight: 850;
  line-height: 1;
}
@media (max-width: 700px) {
  .player-shell.is-unavailable .player-placeholder { width: min(360px, calc(100% - 28px)); padding: 18px 17px; border-radius: 13px; }
  .player-shell.is-unavailable .player-placeholder h2 { font-size: 16px; }
  .player-shell.is-unavailable .player-placeholder p { font-size: 9px; }
  .availability-mark { width: 30px; height: 30px; margin-bottom: 9px; font-size: 17px; }
}

/* Play inspirado na referência: triângulo limpo, sem aro ou borda ao redor. */
.button-icon,
.button-play-icon,
.button-arrow-icon,
.episode-art-play,
.episode-watch .button-play-icon {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.button-play-icon .ui-icon,
.button-arrow-icon .ui-icon,
.episode-art-play .ui-icon,
.player-center-play .ui-icon { margin: 0; }
.episode-art-play {
  width: 50px;
  height: 50px;
  color: #fff;
  opacity: 1;
  filter: drop-shadow(0 3px 8px #000b);
}
.episode-art-play .ui-icon { width: 31px; height: 31px; }
.episode-art:hover .episode-art-play { transform: translate(-50%, -50%) scale(1.12); background: transparent !important; }
.episode-watch .button-play-icon .ui-icon { width: 16px; height: 16px; filter: brightness(0); }
.player-center-play .ui-icon { width: 58%; height: 58%; }
.home-card-arrow { border: 0; background: #080809b8; }
.home-card:hover .home-card-arrow { background: #e52332e8; }
@media (max-width: 700px) {
  .episode-art-play { width: 42px; height: 42px; }
  .episode-art-play .ui-icon { width: 25px; height: 25px; }
}

/* Aviso independente: garante a mensagem no centro do banner sem depender do estado hidden. */
.player-shell.is-unavailable .player-placeholder { display: none !important; }
.player-unavailable-overlay {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(470px, calc(100% - 32px));
  justify-items: center;
  gap: 9px;
  padding: 25px 30px;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffff26;
  border-radius: 16px;
  background: #111216ee;
  box-shadow: 0 18px 44px #000b, inset 0 1px #ffffff18;
  color: #fff;
  text-align: center;
  backdrop-filter: blur(12px);
}
.player-unavailable-overlay .availability-mark { margin: 0 0 3px; }
.player-unavailable-overlay strong { font-size: clamp(15px, 2vw, 21px); line-height: 1.25; }
.player-unavailable-overlay > span:last-child { color: #c1ccd8; font-size: 11px; line-height: 1.5; }
@media (max-width: 700px) {
  .player-unavailable-overlay { width: min(360px, calc(100% - 28px)); padding: 18px 17px; border-radius: 13px; gap: 6px; }
  .player-unavailable-overlay strong { font-size: 15px; }
  .player-unavailable-overlay > span:last-child { font-size: 9px; }
}

/* Dificulta o salvamento casual de attachments pela interface. */
img, video { -webkit-user-drag: none; user-select: none; }

/* Correção final da paleta: nenhum destaque laranja no player ou no catálogo. */
body.player-route-active .brand-accent { color: #e52332; }
body.player-route-active .nav-link.active::after { background: #e52332; box-shadow: 0 0 12px #e5233266; }
.timeline::-webkit-slider-thumb { border-color: #ff8990; background-color: #e52332; box-shadow: 0 0 0 3px #e5233245, 0 2px 7px #000a; }
.timeline::-moz-range-thumb { border-color: #ff8990; background-color: #e52332; box-shadow: 0 0 0 3px #e5233245, 0 2px 7px #000a; }
.episode-step:hover, .control-setting:hover { color: #ff8990; }
.player-below a { color: #ff8990; }
.watch-season-select select:focus { border-color: #e52332; }
.watch-episode-card.is-current .watch-episode-thumb { border-color: #e52332; box-shadow: 0 0 0 1px #ff8990, 0 0 15px #e5233230; }
.watch-episode-card:focus-visible .watch-episode-thumb { outline-color: #ff8990; }

/* Controles do player: aparecem ao tocar e desaparecem após cinco segundos. */
.player-top-overlay, .seek-controls, .player-controls, .player-center-play {
  transition: opacity .25s ease, transform .25s ease;
}
.player-shell:not(.controls-visible) .player-top-overlay,
.player-shell:not(.controls-visible) .seek-controls,
.player-shell:not(.controls-visible) .player-controls,
.player-shell:not(.controls-visible) .player-center-play {
  opacity: 0;
  pointer-events: none;
}
.player-shell.controls-visible .player-center-play { opacity: 1; pointer-events: auto; }
.player-shell.is-playing .player-center-play { opacity: 1; pointer-events: auto; }
.player-center-play .play-icon, .player-center-play .pause-icon { display: block; width: 58%; height: 58%; margin: 0; }
.player-center-play .pause-icon { display: none; }
.player-shell.is-playing .player-center-play .play-icon { display: none; }
.player-shell.is-playing .player-center-play .pause-icon { display: block; }
.player-center-play:hover { transform: scale(1.08); }
.player-center-play:focus-visible { outline: 2px solid #e52332; outline-offset: 4px; }

/* Paleta vermelha completa do player Miraculers Club. */
.episode-watch-page .player-shell,
.special-player-page .player-shell {
  --player-red: #e52332;
  --player-red-bright: #ff6972;
  --player-red-soft: #ff9aa0;
}
.player-shell .player-back,
.player-shell .player-title-block strong,
.player-shell .player-title-block span,
.player-shell .icon-button,
.player-shell .seek-button,
.player-shell .episode-step,
.player-shell .control-setting,
.player-shell .timeline-row,
.player-shell .time-remaining,
.player-shell .time-current { color: var(--player-red); }
.player-shell .player-title-block strong { text-shadow: 0 1px 12px #000b; }
.player-shell .player-title-block span { color: var(--player-red-soft); }
.player-shell .icon-button,
.player-shell .control-setting,
.player-shell .episode-step,
.player-shell .seek-button { filter: drop-shadow(0 1px 4px #000a); }
.player-shell .icon-button:hover,
.player-shell .icon-button.is-added,
.player-shell .seek-button:hover,
.player-shell .episode-step:hover,
.player-shell .control-setting:hover { color: var(--player-red-bright); }
.player-shell .icon-button:hover,
.player-shell .icon-button.is-added { background: #e5233226; }
.player-shell .player-back:hover { color: var(--player-red-bright); }
.player-shell .player-back svg,
.player-shell .icon-button svg,
.player-shell .seek-button svg,
.player-shell .episode-step svg,
.player-shell .control-setting svg { stroke: currentColor; }
.player-shell .timeline-row { color: var(--player-red); }
.player-shell .timeline::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, var(--player-red) 0%, var(--player-red) var(--played), #641b24 var(--played), #641b24 100%);
}
.player-shell .timeline::-moz-range-track {
  background: linear-gradient(90deg, var(--player-red) 0%, var(--player-red) var(--played), #641b24 var(--played), #641b24 100%);
}
.player-shell .timeline::-webkit-slider-thumb,
.player-shell .timeline::-moz-range-thumb { border-color: var(--player-red-bright); }
.player-shell .settings-menu {
  border-color: #e5233266;
  color: var(--player-red-soft);
  box-shadow: 0 12px 30px #000b, 0 0 18px #e5233224;
}
.player-shell .settings-menu select { border-color: #e5233255; color: var(--player-red); }
.player-shell:fullscreen .player-vignette { display: none; }
.player-shell:fullscreen .stream-video { background: #000; }
.player-unavailable-overlay strong { color: var(--player-red-bright); }
.player-unavailable-overlay .availability-mark { background: var(--player-red); color: #fff; }
.player-center-play { color: var(--player-red); }
.player-shell .player-back,
.player-shell .player-title-block strong,
.player-shell .player-title-block span { color: #fff; }
.player-shell .player-back:hover { color: #fff; }
.player-below a { color: #acb7c4; }
.player-below a:hover { color: #e5e7eb; }
.home-card.is-special .home-card-copy .release-date {
  display: inline-block;
  margin: 0 7px 4px 0;
  padding: 4px 7px;
  border: 1px solid #ff697280;
  border-radius: 999px;
  background: #e5233230;
  color: #ffb3b8;
  font-size: .82em;
  line-height: 1.1;
  vertical-align: middle;
}
/* Carregamento do vídeo: joaninhas animadas somente dentro da área do player. */
.player-loading {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: #08090bd9;
  color: #ff9aa0;
  font-size: clamp(10px, 1.5vw, 14px);
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 1px 8px #000;
}
.player-loading[hidden] { display: none; }
.ladybug-loader { display: flex; align-items: center; gap: 11px; height: 30px; }
.ladybug-loader-dot {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  border: 2px solid #ff8990;
  border-radius: 50%;
  background-color: #e52332;
  background-image: radial-gradient(circle at 27% 28%, #17080a 0 2.2px, transparent 2.8px), radial-gradient(circle at 73% 28%, #17080a 0 2.2px, transparent 2.8px), radial-gradient(circle at 27% 72%, #17080a 0 2.2px, transparent 2.8px), radial-gradient(circle at 73% 72%, #17080a 0 2.2px, transparent 2.8px), linear-gradient(90deg, transparent 46%, #17080a 46% 54%, transparent 54%);
  box-shadow: 0 0 14px #e5233266;
  animation: ladybug-loader-hop 1s ease-in-out infinite;
}
.ladybug-loader-dot:nth-child(2) { animation-delay: .16s; }
.ladybug-loader-dot:nth-child(3) { animation-delay: .32s; }
@keyframes ladybug-loader-hop {
  0%, 100% { transform: translateY(4px) scale(.86); opacity: .55; }
  50% { transform: translateY(-5px) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ladybug-loader-dot { animation: none; opacity: 1; }
}

/* Continue Assistindo, Em breve e ações temporizadas do streaming. */
.continue-strip,
.upcoming-strip { display: flex; gap: 16px; overflow-x: auto; padding: 0 1px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.continue-strip::-webkit-scrollbar,
.upcoming-strip::-webkit-scrollbar { display: none; }
.continue-card,
.upcoming-card { position: relative; flex: 0 0 245px; min-width: 0; color: #fff; text-decoration: none; scroll-snap-align: start; }
.continue-card-art { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #ffffff24; border-radius: 12px; background: #111114; }
.continue-card-art img,
.upcoming-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.continue-card:hover .continue-card-art img,
.upcoming-card:hover img { transform: scale(1.045); }
.continue-card-play { position: absolute; inset: 0; display: grid; place-items: center; background: #0004; opacity: 0; transition: opacity .2s ease; }
.continue-card:hover .continue-card-play { opacity: 1; }
.continue-card-play .ui-icon { width: 32px; height: 32px; filter: drop-shadow(0 2px 5px #000); }
.continue-progress { position: absolute; right: 9px; bottom: 8px; left: 9px; height: 4px; overflow: hidden; border-radius: 99px; background: #ffffff55; }
.continue-progress i { display: block; height: 100%; border-radius: inherit; background: #e52332; }
.continue-card strong,
.continue-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.continue-card strong { margin-top: 9px; font-size: 14px; }
.continue-card small { margin-top: 4px; color: #bdb9bb; font-size: 10px; }
.upcoming-card { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #ff697250; border-radius: 12px; background: #171114; }
.upcoming-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #050506ed 0%, #05050618 72%); }
.upcoming-card-copy { position: absolute; right: 12px; bottom: 11px; left: 12px; display: grid; gap: 4px; }
.upcoming-card-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.upcoming-card-copy small { color: #d1c8ca; font-size: 10px; }
.upcoming-announcement { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid #ff697280; border-radius: 999px; background: #e5233230; color: #ff9aa0; font-size: 10px; font-weight: 800; }
.release-countdown { display: inline-block; width: fit-content; max-width: 100%; overflow: hidden; padding: 4px 7px; border: 1px solid #ff697280; border-radius: 999px; background: #e5233230; color: #ffb3b8; font-size: 9px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.home-card.is-special .home-card-copy .release-countdown { margin: 0 7px 4px 0; vertical-align: middle; }
.upcoming-new-badge { display: inline-block; width: fit-content; padding: 4px 7px; border-radius: 999px; background: #e52332; color: #fff; font-size: 9px; font-weight: 800; }
.release-agenda-section { position: relative; }
.release-agenda-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.release-agenda-heading h2 { margin: 4px 0 5px; color: #fff; font-size: clamp(21px, 3vw, 30px); letter-spacing: -.03em; }
.release-agenda-heading p { margin: 0; color: #aaa5a6; font-size: 11px; }
.release-agenda { position: relative; display: grid; gap: 9px; max-width: 860px; }
.release-agenda::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 18px; width: 1px; background: linear-gradient(#e52332, #e5233220); pointer-events: none; }
.release-agenda-item { position: relative; display: grid; grid-template-columns: 38px 58px minmax(0, 1fr) 22px; align-items: center; gap: 13px; min-height: 76px; padding: 10px 14px 10px 0; border: 1px solid #ffffff16; border-radius: 13px; background: linear-gradient(100deg, #151013, #0d0d10); color: #fff; text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.release-agenda-item:hover { transform: translateX(4px); border-color: #ff697280; background: linear-gradient(100deg, #241217, #100e11); }
.release-agenda-item.is-new { border-color: #e5233266; }
.agenda-check { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid #e52332; border-radius: 50%; background: #110b0d; box-shadow: 0 0 0 5px #0b090a; }
.agenda-check::before, .agenda-check::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #e52332; }
.agenda-check::before { top: 8px; left: 8px; box-shadow: 14px 0 #e52332; }
.agenda-check::after { bottom: 8px; left: 8px; box-shadow: 14px 0 #e52332; }
.agenda-check i { position: relative; z-index: 1; width: 1px; height: 27px; background: #e52332; }
.agenda-date { display: grid; justify-items: center; align-content: center; min-height: 50px; border-right: 1px solid #ffffff18; }
.agenda-date b { color: #fff; font-size: 24px; line-height: 1; }
.agenda-date small { margin-top: 4px; color: #ff8990; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.agenda-copy { display: grid; min-width: 0; gap: 4px; }
.agenda-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.agenda-copy > small { overflow: hidden; color: #bdb9bb; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.agenda-copy .release-countdown, .agenda-copy .upcoming-new-badge { margin-top: 2px; }
.agenda-arrow { display: grid; place-items: center; opacity: .7; }
.agenda-arrow .ui-icon { width: 18px; height: 18px; }
.release-agenda-item:hover .agenda-arrow { opacity: 1; }
.player-skip-intro,
.player-next-episode { position: absolute; z-index: 5; bottom: clamp(63px, 8vw, 86px); display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 14px; border: 1px solid #ff6972aa; border-radius: 9px; background: #100b0cf0; color: #fff; box-shadow: 0 8px 24px #0009; font: 750 12px var(--sans); cursor: pointer; }
.player-skip-intro { left: clamp(18px, 3.8vw, 42px); }
.player-next-episode { right: clamp(22px, 3.8vw, 42px); overflow: hidden; }
.player-skip-intro:hover,
.player-next-episode:hover { background: #e52332; }
.player-next-episode i { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; transform: scaleX(0); transform-origin: left; background: #e52332; }
.player-next-episode.is-counting i { animation: next-episode-countdown 7s linear forwards; }
.player-skip-intro[hidden],
.player-next-episode[hidden] { display: none; }
.player-shell.is-unavailable .player-skip-intro,
.player-shell.is-unavailable .player-next-episode { display: none !important; }
@keyframes next-episode-countdown { to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .continue-strip, .upcoming-strip { gap: 9px; margin-right: -4px; padding-right: 4px; }
  .continue-card, .upcoming-card { flex-basis: min(205px, 68vw); }
  .continue-card strong, .upcoming-card-copy strong { font-size: 11px; }
  .continue-card small, .upcoming-card-copy small { font-size: 8px; }
  .release-countdown { font-size: 7px; }
  .upcoming-announcement { min-height: 22px; padding-inline: 7px; font-size: 7px; }
  .upcoming-new-badge { font-size: 7px; }
  .release-agenda-heading { align-items: flex-start; gap: 9px; margin-bottom: 12px; }
  .release-agenda-heading h2 { font-size: 18px; }
  .release-agenda-heading p { font-size: 9px; }
  .release-agenda-heading .upcoming-announcement { flex: 0 0 auto; }
  .release-agenda-item { grid-template-columns: 28px 42px minmax(0, 1fr) 15px; gap: 8px; min-height: 62px; padding-right: 8px; }
  .release-agenda::before { left: 13px; }
  .agenda-check { width: 28px; height: 28px; box-shadow: 0 0 0 4px #0b090a; }
  .agenda-check::before, .agenda-check::after { width: 5px; height: 5px; }
  .agenda-check::before { top: 6px; left: 6px; box-shadow: 11px 0 #e52332; }
  .agenda-check::after { bottom: 6px; left: 6px; box-shadow: 11px 0 #e52332; }
  .agenda-check i { height: 21px; }
  .agenda-date { min-height: 42px; }
  .agenda-date b { font-size: 18px; }
  .agenda-date small { font-size: 7px; }
  .agenda-copy strong { font-size: 11px; }
  .agenda-copy > small { font-size: 8px; }
  .agenda-arrow .ui-icon { width: 14px; height: 14px; }
  .player-skip-intro, .player-next-episode { bottom: 43px; min-height: 27px; padding: 0 9px; border-radius: 7px; font-size: 8px; }
  .player-skip-intro { left: 10px; }
  .player-next-episode { right: 10px; }
}

/* Convite da comunidade no rodapé */
.site-footer .discord-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #5865f2;
  border-radius: 11px;
  background: #5865f2;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none;
  box-shadow: 0 8px 20px #5865f233;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-footer .discord-link:hover {
  transform: translateY(-2px);
  background: #4752c4;
  border-color: #7983f5;
  box-shadow: 0 12px 26px #5865f255;
}
.site-footer .discord-link img { width: 20px; height: 20px; display: block; }
@media (max-width: 700px) {
  .site-footer { flex-wrap: wrap; gap: 16px; }
  .site-footer .discord-link { margin-left: auto; }
}

/* Selectors and season plaques: custom Miraculers Club treatment */
.season-select-wrap select,
.compact-season-select select,
.watch-season-select select,
.settings-menu select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
  padding: 0 42px 0 14px;
  border: 1px solid #ff66704d;
  border-radius: 12px;
  outline: 0;
  background: linear-gradient(135deg, #221014 0%, #120d10 100%);
  color: #fff;
  font: 750 11px var(--sans);
  letter-spacing: .02em;
  box-shadow: inset 0 1px #ffffff12, 0 7px 20px #0004;
  cursor: pointer;
}
.season-select-wrap select:hover,
.compact-season-select select:hover,
.watch-season-select select:hover,
.settings-menu select:hover,
.season-select-wrap select:focus,
.compact-season-select select:focus,
.watch-season-select select:focus,
.settings-menu select:focus {
  border-color: #ff7d85;
  background: linear-gradient(135deg, #35151b 0%, #171014 100%);
  box-shadow: 0 0 0 3px #e5233224, inset 0 1px #ffffff18, 0 9px 24px #0005;
}
.season-select-wrap select option,
.compact-season-select select option,
.watch-season-select select option,
.settings-menu select option { background: #171014; color: #fff; }
.compact-season-select,
.watch-season-select { position: relative; }
.compact-season-select::after,
.watch-season-select::after,
.settings-menu label + select::after {
  content: "⌄";
  position: absolute;
  right: 14px;
  top: 50%;
  color: #ff727b;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-55%);
}
.compact-season-select select { min-height: 38px; padding-right: 36px; }
.watch-season-select select { min-height: 38px; padding-right: 36px; }
.settings-menu select { width: 100%; min-height: 38px; border-radius: 10px; }
.season-choice-copy {
  left: 16px;
  right: 16px;
  bottom: 16px;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #ff7d856e;
  border-radius: 12px 20px 12px 20px;
  background: linear-gradient(120deg, #e52332ed 0%, #b91424ee 100%);
  box-shadow: 0 10px 25px #0008, inset 0 1px #ffffff38;
}
.season-choice-copy small { color: #ffd9db; font-size: 9px; letter-spacing: 1.2px; }
.season-choice-copy strong {
  color: #fff;
  font: 850 clamp(16px, 2.2vw, 24px)/1.08 var(--sans);
  letter-spacing: -.025em;
  text-shadow: 0 2px 10px #65071166;
}
.season-choice-copy strong b { color: #ffb0b5; font-weight: 500; }
@media (max-width: 700px) {
  .season-select-wrap select { min-height: 40px; }
  .season-choice-copy { left: 10px; right: 10px; bottom: 10px; padding: 11px 12px; border-radius: 10px 16px 10px 16px; }
  .season-choice-copy strong { font-size: clamp(14px, 4vw, 18px); }
}

/* Menus abertos customizados: sem o dropdown padrão do navegador */
.season-select-wrap { position: relative; }
.season-picker { position: relative; width: min(340px, 100%); }
.compact-season-select .season-picker { width: 190px; }
.season-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #ff66704d;
  border-radius: 11px;
  background: linear-gradient(135deg, #221014, #120d10);
  color: #fff;
  font: 750 11px var(--sans);
  text-align: left;
  cursor: pointer;
}
.season-picker-trigger svg { width: 16px; height: 16px; fill: none; stroke: #ff727b; stroke-width: 2; transition: transform .2s ease; }
.season-picker-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.season-picker-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 7px;
  border: 1px solid #ff667066;
  border-radius: 13px;
  background: #160e12f7;
  box-shadow: 0 16px 34px #000b, inset 0 1px #ffffff14;
  backdrop-filter: blur(15px);
}
.season-picker-menu[hidden], .settings-menu[hidden] { display: none; }
.season-picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 35px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #f8eef0;
  font: 700 11px var(--sans);
  text-align: left;
  cursor: pointer;
}
.season-picker-option small { color: #c9979c; font-size: 9px; font-weight: 600; }
.season-picker-option:hover, .season-picker-option.is-selected { border-color: #ff667055; background: #e5233230; color: #fff; }
.settings-menu {
  width: min(260px, calc(100vw - 30px));
  min-width: 0;
  padding: 10px;
  border: 1px solid #ff667066;
  border-radius: 13px;
  background: #160e12f7;
  box-shadow: 0 16px 34px #000b, inset 0 1px #ffffff14;
  backdrop-filter: blur(15px);
}
.settings-menu-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 3px 9px; color: #fff; font-size: 11px; }
.settings-close { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #ff667055; border-radius: 7px; background: #e5233226; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.settings-close:hover { background: #e52332; }
.speed-options { display: grid; gap: 5px; }
.speed-options button { min-height: 34px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #f8eef0; font: 750 11px var(--sans); text-align: left; cursor: pointer; }
.speed-options button small { margin-left: 5px; color: #c9979c; font-size: 9px; font-weight: 600; }
.speed-options button:hover, .speed-options button.is-selected { border-color: #ff667055; background: #e5233230; color: #fff; }
.season-choice-copy { left: 12px; right: 12px; bottom: 12px; padding: 10px 13px; border-radius: 10px 16px 10px 16px; }
.season-choice-copy small { font-size: 8px; }
.season-choice-copy strong { font-size: clamp(14px, 1.7vw, 19px); }
@media (max-width: 700px) {
  .compact-season-select .season-picker { width: clamp(145px, 40vw, 180px); }
  .season-choice-copy { left: 8px; right: 8px; bottom: 8px; padding: 9px 10px; }
  .season-choice-copy strong { font-size: clamp(12px, 3.5vw, 16px); }
}

.watch-season-select .season-picker { width: min(205px, 42vw); }
.watch-season-select .season-picker-trigger { min-height: 38px; }
@media (max-width: 700px) {
  .watch-season-select .season-picker { width: clamp(135px, 38vw, 175px); }
  .watch-season-select .season-picker-trigger { min-height: 30px; padding-inline: 9px; font-size: 9px; }
  .watch-season-select .season-picker-menu { top: calc(100% + 5px); }
}

/* A faixa externa é controlada pelo player e não exibe controles duplicados. */
#external-audio { display: none; }

/* Menu de idiomas com múltiplas faixas de áudio */
.audio-menu {
  position: absolute;
  z-index: 8;
  right: clamp(15px, 3vw, 40px);
  bottom: 78px;
  width: min(280px, calc(100vw - 30px));
  padding: 10px;
  border: 1px solid #ff667066;
  border-radius: 13px;
  background: #160e12f7;
  color: #fff;
  box-shadow: 0 16px 34px #000b, inset 0 1px #ffffff14;
  backdrop-filter: blur(15px);
}
.audio-menu[hidden] { display: none; }
.audio-menu-label { display: block; padding: 4px 4px 6px; color: #ff9da3; font-size: 8px; font-weight: 800; letter-spacing: 1.1px; }
.audio-options { display: grid; gap: 5px; margin-bottom: 10px; }
.audio-options button, .subtitle-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #f8eef0;
  font: 750 11px var(--sans);
  text-align: left;
  cursor: pointer;
}
.audio-options button:hover, .audio-options button.is-selected, .subtitle-option:hover { border-color: #ff667055; background: #e5233230; color: #fff; }
.audio-menu .settings-menu-header { padding-bottom: 8px; }
.cast-menu {
  position: absolute;
  z-index: 8;
  right: clamp(15px, 3vw, 40px);
  bottom: 78px;
  width: min(280px, calc(100vw - 30px));
  padding: 10px;
  border: 1px solid #ff667066;
  border-radius: 13px;
  background: #160e12f7;
  color: #fff;
  box-shadow: 0 16px 34px #000b, inset 0 1px #ffffff14;
  backdrop-filter: blur(15px);
}
.cast-menu[hidden] { display: none; }
.cast-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 39px;
  margin-top: 5px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #f8eef0;
  font: 750 11px var(--sans);
  text-align: left;
  cursor: pointer;
}
.cast-option:hover { border-color: #ff667055; background: #e5233230; color: #fff; }
.cast-note { display: block; padding: 9px 4px 2px; color: #c9979c; font-size: 9px; line-height: 1.35; }
@media (max-width: 700px) {
  .audio-menu { right: 10px; bottom: 57px; width: min(240px, calc(100vw - 20px)); }
  .cast-menu { right: 10px; bottom: 57px; width: min(240px, calc(100vw - 20px)); }
}
