.hero {
  background: #350713 url('assets/hero-original.png') center / cover no-repeat;
}

.modal-ad .fake-photo {
  background: #350713 url('assets/popup-original.png') center 42% / cover no-repeat;
}

.multi-ad .modal-ad {
  min-height: 530px;
  padding-top: 22px;
}

.multi-ad .fake-photo {
  height: 245px;
  margin: 18px 5px 14px;
  background-position: center 48%;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.13);
}

.ad-countdown {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.55);
  color: #ddd;
  font-size: 11px;
}

.ad-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.ad-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
}

.ad-dot.active {
  width: 18px;
  border-radius: 6px;
  background: #ff4f8c;
}

.skip-all {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.quick-ad-panel {
  position: relative;
  width: min(358px, 100%);
  padding: 22px 14px 18px;
  border: 2px solid #a329dc;
  border-radius: 16px;
  background: linear-gradient(180deg,#2c093b,#120617 24%,#fff 24%);
  box-shadow: 0 20px 70px #000;
}

.quick-ad-title {
  color: #fff;
  font-size: 23px;
  font-weight: 950;
  text-align: center;
}

.quick-ad-sub {
  margin: 4px 0 20px;
  color: #e6b8f8;
  text-align: center;
  font-size: 12px;
}

.quick-ad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px 7px;
}

.quick-ad-grid button {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #222;
}

.quick-ad-grid i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: auto;
  border-radius: 12px;
  background: linear-gradient(145deg,var(--c1),var(--c2));
  color: #fff;
  font-size: 22px;
  font-style: normal;
}

.quick-ad-grid span {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-shell { padding-bottom: 130px; }
.play-header { position: sticky; top: 0; z-index: 25; height: 48px; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 6px; padding: 0 8px; background: #050505; }
.play-header button { border: 0; background: transparent; font-size: 25px; }
.play-header strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.play-page { padding-bottom: 95px; }
.play-page .player { position: relative; width: 100%; margin: 0; overflow: hidden; background: #000; }
.pre-roll-bg { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.25),rgba(0,0,0,.55)),url('assets/popup-premiere.png') center 53% / cover; filter: saturate(1.1); }
.ad-label { position: absolute; top: 9px; left: 10px; padding: 2px 6px; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; font-size: 9px; }
.pre-roll-copy { position: absolute; left: 17px; bottom: 25px; display: flex; flex-direction: column; text-shadow: 0 1px 4px #000; }
.pre-roll-copy small { color: #ffd36b; font-size: 10px; }
.pre-roll-copy b { margin: 3px 0; font-size: 19px; }
.pre-roll-copy em { color: #ddd; font-size: 10px; font-style: normal; }
.skip-player-ad { position: absolute; top: 9px; right: 10px; padding: 5px 9px; border: 0; border-radius: 14px; background: rgba(0,0,0,.65); font-size: 10px; }
.skip-player-ad:disabled { color: #bbb; }
.ad-detail { position: absolute; right: 10px; bottom: 10px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.6); border-radius: 13px; background: rgba(0,0,0,.5); font-size: 10px; }
.player-full { position: absolute; right: 10px; bottom: 44px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0,0,0,.5); }
.player-banner-ad { display: flex; align-items: center; gap: 10px; margin: 10px 14px; padding: 11px 12px; border-radius: 8px; background: linear-gradient(110deg,#47105c,#c12882); }
.player-banner-ad div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.player-banner-ad strong { font-size: 13px; }
.player-banner-ad span { margin-top: 2px; color: #e9cbee; font-size: 10px; }
.player-banner-ad button { border: 0; border-radius: 14px; background: #fff; color: #a0166b; padding: 6px 10px; font-size: 10px; font-weight: 800; }
.play-tabs { display: flex; height: 44px; padding: 0 16px; border-top: 1px solid #171717; border-bottom: 1px solid #222; background: #0b0b0b; }
.play-tabs button { position: relative; border: 0; background: transparent; color: #888; padding: 0 16px 0 0; font-weight: 750; }
.play-tabs button.active { color: #fff; }
.play-tabs button.active:after { content: ''; position: absolute; right: 16px; bottom: 0; left: 0; height: 2px; background: #ff2f76; }
.play-tab-panel { padding: 14px 16px; }
.play-title-row { display: flex; width: 100%; align-items: flex-start; gap: 8px; border: 0; background: transparent; padding: 0; text-align: left; }
.play-title-row strong { flex: 1; font-size: 16px; line-height: 1.45; }
.play-title-row span { flex: none; color: #888; font-size: 11px; }
.score-row { display: flex; gap: 7px; margin: 12px 0; }
.score-row span { padding: 4px 8px; border-radius: 11px; background: #242424; color: #ddd; font-size: 10px; }
.play-actions { display: grid; grid-template-columns: repeat(4,1fr); margin: 12px 0 16px; }
.play-actions button { border: 0; background: transparent; font-size: 11px; }
.play-actions b { display: block; margin-bottom: 4px; font-size: 25px; font-weight: 400; }
.play-ad-icons { display: grid; grid-template-columns: repeat(6,1fr); gap: 7px; margin: 10px 0 18px; }
.play-ad-icons button { min-width: 0; padding: 0; border: 0; background: transparent; }
.play-ad-icons i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 9px; background: linear-gradient(145deg,var(--c1),var(--c2)); font-size: 18px; font-style: normal; }
.play-ad-icons span { display: block; margin-top: 4px; overflow: hidden; color: #bbb; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.play-episodes { margin-top: 4px; }
.play-episodes { display: none !important; }
.play-episodes .section-head span { color: #888; font-size: 11px; }
.episode.active { border-color: #ff2f76; background: rgba(255,47,118,.14); color: #ff7ba8; }
.related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 10px; }
.related-card { min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; }
.related-thumb { position: relative; aspect-ratio: 1.65; overflow: hidden; border-radius: 8px; background: #1b1b1b; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-thumb span { position: absolute; right: 5px; bottom: 4px; padding: 2px 4px; border-radius: 3px; background: rgba(0,0,0,.65); font-size: 9px; }
.related-card h3 { height: 38px; margin: 6px 0 2px; overflow: hidden; font-size: 13px; line-height: 1.45; }
.related-card p { margin: 0; color: #777; font-size: 10px; }
.related-inline-ad { grid-column: 1/-1; height: 74px; display: flex; flex-direction: column; justify-content: center; padding: 12px 15px; border-radius: 8px; background: linear-gradient(110deg,#7c153c,#e13d77); }
.related-inline-ad strong { font-size: 17px; }
.related-inline-ad span { color: #f5cad9; font-size: 10px; }
.comments-empty { padding: 90px 10px; }
.comments-empty small { display: inline-block; margin-top: 6px; }
.comment-box { position: sticky; bottom: 64px; display: flex; gap: 8px; padding: 10px 0; background: #050505; }
.comment-box input { min-width: 0; flex: 1; height: 36px; border: 1px solid #333; border-radius: 18px; background: #181818; color: #fff; padding: 0 13px; }
.comment-box button { border: 0; border-radius: 17px; padding: 0 14px; background: #333; }
.play-float { bottom: 150px; }
.play-download { bottom: 64px; }

.entry-ad-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.entry-ad-card {
  position: relative;
  width: min(416px, calc(100vw - 28px));
  max-height: 85vh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: #120510;
  box-shadow: 0 22px 70px #000;
  cursor: pointer;
}

.entry-ad-card img {
  display: block;
  width: 100%;
  height: min(555px, 82vh);
  object-fit: cover;
}

.entry-ad-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.7),transparent 30%,transparent 58%,rgba(0,0,0,.8));
}

.entry-ad-copy {
  position: absolute;
  inset: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.entry-ad-copy small { color: #ffd778; font-size: 11px; }
.entry-ad-copy strong { margin-top: 7px; font-size: 27px; line-height: 1.18; text-shadow: 0 2px 7px #000; }
.entry-ad-copy em { margin-top: 6px; color: #eee; font-size: 12px; font-style: normal; text-shadow: 0 1px 4px #000; }
.entry-ad-copy b { margin-top: auto; padding: 10px 28px; border-radius: 22px; background: linear-gradient(90deg,#ffd051,#ff4f8c); color: #31101d; font-size: 13px; }
.entry-ad-card .ad-dots { position: absolute; right: 0; bottom: 6px; left: 0; }
.entry-ad-overlay{animation:adBackdropIn .22s ease-out both;backdrop-filter:blur(2px);transition:opacity .26s ease-out}
.entry-ad-card{animation:adCardIn .22s cubic-bezier(0,0,.2,1) both;transform-origin:center}
.entry-ad-card img,.entry-ad-shade,.entry-ad-copy{opacity:1;transition:opacity .7s ease-in-out}
.entry-ad-card.is-switching img,.entry-ad-card.is-switching .entry-ad-shade,.entry-ad-card.is-switching .entry-ad-copy{opacity:0;transition-duration:.32s;transition-timing-function:ease-in-out}
.entry-ad-overlay.is-closing{opacity:0}
@keyframes adBackdropIn{from{opacity:0;background:rgba(0,0,0,0)}to{opacity:1;background:rgba(0,0,0,.72)}}
@keyframes adCardIn{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.entry-ad-overlay,.entry-ad-card,.entry-ad-card img,.entry-ad-shade,.entry-ad-copy,.hero-slide{animation:none;transition:none}}
.outside-tip { margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 11px; }
