/* Sticky play / download CTA — desktop rail + mobile bar */
.play-cta-rail {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 200px;
  padding: 10px 8px 12px;
  background: rgba(8, 8, 8, .92);
  border: 1px solid rgba(218, 156, 31, .45);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}
.play-cta-rail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.play-cta-rail .play-cta-poster {
  display: block;
  width: 100%;
}
.play-cta-rail .play-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.play-cta-rail .play-cta-actions a {
  display: block;
  line-height: 0;
}
.play-cta-rail .play-cta-actions img {
  width: 100%;
  border-radius: 8px;
}
.play-cta-note {
  margin: 2px 0 0;
  font-size: 9px;
  line-height: 1.35;
  color: #bbb;
  text-align: center;
}

.play-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(0, 0, 0, .82), #000 40%);
  border-top: 1px solid rgba(218, 156, 31, .4);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .45);
}
.play-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 6px;
  border-radius: 999px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}
.play-cta-bar .play-cta-web {
  background: linear-gradient(180deg, #f3d27a, #da9c1f);
  color: #1a1204;
}
.play-cta-bar .play-cta-ios,
.play-cta-bar .play-cta-apk {
  background: #161616;
  color: #f5e6b8;
  border: 1px solid #da9c1f;
}
.play-cta-bar a:hover,
.play-cta-bar a:focus-visible {
  filter: brightness(1.08);
}

/* Homepage already has the full hero poster + buttons */
body.home .play-cta-bar {
  display: none;
}

@media (min-width: 1360px) {
  body:not(.home) .play-cta-rail {
    display: flex;
    width: 196px;
    right: 14px;
  }
  body:not(.home) .play-cta-bar {
    display: none;
  }
  body:not(.home) .back-to-top {
    right: 222px;
  }
}
@media (max-width: 1359px) {
  .play-cta-rail {
    display: none !important;
  }
  body:not(.home) {
    padding-bottom: 62px;
  }
}
@media (min-width: 1600px) {
  .play-cta-rail {
    width: 232px;
    right: 22px;
  }
  body:not(.home) .back-to-top {
    right: 266px;
  }
}
@media (min-width: 1360px) and (max-height: 760px) {
  .play-cta-rail {
    width: 168px;
    padding: 6px;
    gap: 5px;
  }
  .play-cta-poster img {
    max-height: 180px;
    object-fit: cover;
    object-position: top;
  }
  .play-cta-note {
    display: none;
  }
}

/* Desktop skyscraper ads — grow with leftover gutters beside the 950px column */
.side-banner {
  --zowin-col: 950px;
  --zowin-gutter: calc((100vw - var(--zowin-col)) / 2);
  --zowin-banner: min(400px, calc(var(--zowin-gutter) - 24px));
  display: none;
  position: fixed;
  top: 88px;
  z-index: 80;
  width: var(--zowin-banner);
  pointer-events: auto;
}
.side-banner a {
  display: block;
  line-height: 0;
}
.side-banner img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 100px);
  object-fit: contain;
  object-position: top center;
  border-radius: 22px;
  border: 1px solid rgba(232, 192, 74, .45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .55);
}
.left-banner {
  left: 12px;
}
.right-banner {
  right: 12px;
}
@media (min-width: 1400px) {
  body.home .side-banner,
  body:not(.home) .left-banner {
    display: block;
  }
}
@media (max-width: 1399px) {
  .side-banner {
    display: none !important;
  }
}

.accordion-title.active + .accordion-inner {
  display: block;
}
.accordion-title.active .toggle {
  transform: rotate(180deg);
}
