@media (max-width: 980px) {
  #site-header > .site-header { display: none !important; }
  #atd-responsive-shell { display: block; }
}

@media (min-width: 981px) {
  #atd-responsive-shell { display: none !important; }
}

#atd-responsive-shell {
  position: relative;
  z-index: 300;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.atd-rs-bar {
  height: 64px;
  width: min(calc(100% - 24px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.atd-rs-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.atd-rs-logo img {
  width: 96px;
  height: auto;
}

.atd-rs-logo .logo-light { display: block !important; }
.atd-rs-logo .logo-dark { display: none !important; }
html[data-theme='dark'] .atd-rs-logo .logo-light { display: none !important; }
html[data-theme='dark'] .atd-rs-logo .logo-dark { display: block !important; }

.atd-rs-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.atd-rs-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.atd-rs-lang-top {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
}
.atd-rs-lang-globe { font-size: 14px; line-height: 1; }
.atd-rs-lang-compact {
  width: 36px;
  border: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  padding: 0;
  cursor: pointer;
}

.atd-rs-theme-icon { font-size: 18px; line-height: 1; }

.atd-rs-hamburger {
  width: 18px;
  height: 14px;
  position: relative;
  display: block;
}

.atd-rs-hamburger i {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
}
.atd-rs-hamburger i:nth-child(1) { top: 0; }
.atd-rs-hamburger i:nth-child(2) { top: 6px; }
.atd-rs-hamburger i:nth-child(3) { top: 12px; }
.atd-rs-menu-btn[aria-expanded="true"] .atd-rs-hamburger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.atd-rs-menu-btn[aria-expanded="true"] .atd-rs-hamburger i:nth-child(2) { opacity: 0; }
.atd-rs-menu-btn[aria-expanded="true"] .atd-rs-hamburger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.atd-rs-panel {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(0,0,0,.14);
}
.atd-rs-panel.open { display: block; }

.atd-rs-panel-inner {
  width: min(calc(100% - 32px), 720px);
  margin: 0 auto;
  padding: 8px 0 16px;
}

.atd-rs-nav { display: grid; }
.atd-rs-nav a {
  display: flex;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 780;
  font-size: 16px;
}
.atd-rs-nav a.active { color: var(--pink); }

body.atd-rs-menu-open { overflow: hidden; }

html, body { max-width: 100%; overflow-x: clip; }
main, section, .container, .panel, .show-card, .choice-panel { min-width: 0; }
img, video, iframe { max-width: 100%; height: auto; }
.container { width: min(calc(100% - clamp(24px, 5vw, 48px)), var(--max)); }

@media (max-width: 1100px) {
  .hero-grid-v15,
  .watch-intro-grid,
  .creator-hero-grid,
  .creator-money,
  .creator-faq,
  .global-story-grid,
  .series-grid-v15,
  .split-choice,
  .how-tracks { grid-template-columns: 1fr !important; }

  .hero-copy-block,
  .watch-intro-grid > div:first-child,
  .creator-hero-grid > div:first-child { max-width: 760px; }

  .hero-phone-stage { min-height: 500px; width: min(100%, 680px); margin: 24px auto 0; }
  .watch-stack { min-height: 500px; width: min(100%, 720px); margin: 20px auto 0; }
  .series-poster-v15 { width: min(62vw, 340px); margin-inline: auto; }
  .card-grid, .source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 48px 0 !important; }
  .hero-v15, .watch-intro, .creator-hero { padding-top: 42px !important; }
  .hero-copy-block .display,
  .watch-intro .display,
  .creator-hero .display { font-size: clamp(2.7rem, 13vw, 4.5rem) !important; }

  .hero-phone-stage { min-height: 390px; }
  .phone-card { width: min(46%, 220px) !important; border-width: 6px !important; border-radius: 22px !important; }
  .phone-a { left: 8% !important; top: 12px !important; }
  .phone-b { right: 7% !important; top: 55px !important; }
  .stage-note { left: 4% !important; bottom: 10px !important; }

  .watch-stack { min-height: 340px; }
  .watch-card { width: 37% !important; border-width: 5px !important; border-radius: 18px !important; }
  .wc1 { left: 2% !important; top: 48px !important; }
  .wc2 { left: 31% !important; top: 10px !important; }
  .wc3 { right: 1% !important; top: 52px !important; }

  .card-grid,
  .watch-grid,
  .source-grid,
  .market-grid,
  .pricing-grid,
  .price-grid,
  .three-feature-grid,
  .about-stat-strip,
  .values-grid,
  .mini-faq-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

  .show-card { border-radius: 18px !important; }
  .show-meta { padding: 12px !important; }
  .show-meta h3 { font-size: 1rem !important; overflow-wrap: anywhere; }
  .show-meta p { font-size: .8rem !important; }
  .show-card-art img, .show-card > img { aspect-ratio: 9 / 13 !important; object-fit: cover !important; }

  .hero-actions { display: flex !important; flex-wrap: wrap !important; }
  .hero-actions .btn { flex: 1 1 180px; }
  .choice-panel { min-height: 280px !important; padding: 24px !important; }
  .choice-panel h2 { font-size: clamp(2rem, 10vw, 3rem) !important; }
  .footer-showcase, .about-global-banner { grid-template-columns: 1fr !important; }

  .footer-language-row {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    width: 100%;
  }
  .footer-language-picker {
    min-width: 0;
    width: 100%;
    min-height: 46px;
    border-radius: 14px !important;
  }
  .footer-theme-toggle {
    min-width: 46px;
    height: 46px;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    background: var(--surface2) !important;
    color: var(--text) !important;
    box-shadow: none !important;
  }
}

@media (max-width: 480px) {
  .card-grid,
  .watch-grid,
  .source-grid,
  .market-grid,
  .pricing-grid,
  .price-grid,
  .three-feature-grid,
  .about-stat-strip,
  .values-grid,
  .mini-faq-grid { grid-template-columns: 1fr !important; }

  .hero-actions .btn { flex-basis: 100%; width: 100%; }
  .hero-phone-stage { min-height: 330px; }
  .phone-card { width: 45% !important; }
  .watch-stack { min-height: 300px; }
  .series-poster-v15 { width: min(76vw, 290px) !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-controls { grid-template-columns: 1fr !important; }
  .footer-theme-toggle {
    width: 46px;
    min-width: 46px;
    padding: 0 !important;
    border-radius: 999px !important;
  }
  .footer-theme-toggle > span:not(.theme-icon) { display: none !important; }
}

.skip-link{position:absolute;top:8px;left:8px;z-index:2000;transform:translateY(-150%);background:var(--surface);padding:12px 18px;border:2px solid var(--pink);border-radius:8px}.skip-link:focus{transform:translateY(0)}
