/* DesertRio public color, mobile navigation, and PWA placement corrections. */
@media (max-width: 900px) {
  body.dr-theme .dr-header-inner { position: relative; }
  body.dr-theme .dr-nav {
    display:none!important;position:absolute;top:66px;left:12px;right:12px;z-index:1200;
    max-height:calc(100vh - 92px);overflow-y:auto;padding:10px;border:1px solid var(--dr-line);
    border-radius:14px;background:#fff;box-shadow:0 22px 55px rgba(55,40,21,.2)
  }
  body.dr-theme .dr-nav.is-open { display:grid!important;gap:2px }
  body.dr-theme .dr-nav a { display:block;padding:13px 14px!important;border-radius:9px;color:#1b1815!important;font-size:11px }
  body.dr-theme .dr-menu-button { position:relative;z-index:1201 }
  body.dr-theme .dr-menu-button span { transition:transform .2s ease,opacity .2s ease;transform-origin:center }
  body.dr-theme .dr-menu-button.is-open span:nth-child(1) { transform:translateY(6px) rotate(45deg) }
  body.dr-theme .dr-menu-button.is-open span:nth-child(2) { opacity:0 }
  body.dr-theme .dr-menu-button.is-open span:nth-child(3) { transform:translateY(-6px) rotate(-45deg) }
}
body.dr-theme .sf-pwa-install-banner {
  left:50%!important;right:auto!important;bottom:18px!important;width:min(620px,calc(100vw - 32px))!important;
  max-width:620px!important;margin:0!important;transform:translateX(-50%)!important;border-radius:16px!important
}
@media(max-width:720px){
  body.dr-theme .sf-pwa-install-banner{left:50%!important;right:auto!important;bottom:12px!important;width:calc(100vw - 24px)!important}
}
body.dr-theme.episode-detail-page .dr-detail-hero,
body.dr-theme.episode-detail-page .dr-detail-hero h1,
body.dr-theme.episode-detail-page .dr-detail-hero h2,
body.dr-theme.episode-detail-page .dr-detail-hero h3,
body.dr-theme.episode-detail-page .dr-detail-hero strong{color:#fff!important}
body.dr-theme.episode-detail-page .dr-detail-copy h1{color:#fff!important;text-shadow:0 3px 24px rgba(0,0,0,.34)}
body.dr-theme .dr-detail-content,
body.dr-theme .dr-related-section,
body.dr-theme .dr-comment-wrap,
body.dr-theme .sf-inline-comments,
body.dr-theme.comments-page .sf-member-section,
body.dr-theme .sf-access-gate,
body.dr-theme .sf-admin-list-row,
body.dr-theme .sf-admin-form,
body.dr-theme .sf-member-section,
body.dr-theme .sf-member-panel,
body.dr-theme .sf-member-status-card,
body.dr-theme .sf-member-access-card,
body.dr-theme .sf-dashboard-empty,
body.dr-theme .sf-admin-panel,
body.dr-theme .sf-billing-card,
body.dr-theme .sf-account-card,
body.dr-theme .sf-subscription-card,
body.dr-theme .sf-checkout-card,
body.dr-theme .cart-items-panel,
body.dr-theme .cart-summary-panel,
body.dr-theme .checkout-form,
body.dr-theme .cart-empty-state{color:#15120f!important}
body.dr-theme .dr-detail-content h1,
body.dr-theme .dr-detail-content h2,
body.dr-theme .dr-detail-content h3,
body.dr-theme .dr-related-section h1,
body.dr-theme .dr-related-section h2,
body.dr-theme .dr-related-section h3,
body.dr-theme .dr-comment-wrap h1,
body.dr-theme .dr-comment-wrap h2,
body.dr-theme .dr-comment-wrap h3,
body.dr-theme .sf-inline-comments h1,
body.dr-theme .sf-inline-comments h2,
body.dr-theme .sf-inline-comments h3,
body.dr-theme.comments-page .sf-member-section h1,
body.dr-theme.comments-page .sf-member-section h2,
body.dr-theme.comments-page .sf-member-section h3,
body.dr-theme .sf-access-gate h1,
body.dr-theme .sf-access-gate h2,
body.dr-theme .sf-access-gate h3,
body.dr-theme .sf-admin-list-row h1,
body.dr-theme .sf-admin-list-row h2,
body.dr-theme .sf-admin-list-row h3,
body.dr-theme .sf-admin-list-row strong,
body.dr-theme .sf-member-section h1,
body.dr-theme .sf-member-section h2,
body.dr-theme .sf-member-section h3,
body.dr-theme .sf-member-panel h1,
body.dr-theme .sf-member-panel h2,
body.dr-theme .sf-member-panel h3{color:#111!important}
body.dr-theme .dr-comment-wrap p,
body.dr-theme .dr-comment-wrap span,
body.dr-theme .dr-comment-wrap small,
body.dr-theme .dr-comment-wrap em,
body.dr-theme .sf-inline-comments p,
body.dr-theme .sf-inline-comments span,
body.dr-theme .sf-inline-comments small,
body.dr-theme .sf-inline-comments em,
body.dr-theme.comments-page .sf-member-section p,
body.dr-theme.comments-page .sf-member-section span,
body.dr-theme.comments-page .sf-member-section small,
body.dr-theme.comments-page .sf-member-section em,
body.dr-theme .sf-access-gate p,
body.dr-theme .sf-access-gate span,
body.dr-theme .sf-access-gate small,
body.dr-theme .sf-admin-list-row p,
body.dr-theme .sf-admin-list-row span,
body.dr-theme .sf-admin-list-row small,
body.dr-theme .sf-admin-list-row em,
body.dr-theme .sf-admin-form label{color:#3f3933!important}
body.dr-theme .sf-inline-comments,
body.dr-theme.comments-page .sf-member-section,
body.dr-theme .sf-access-gate,
body.dr-theme .sf-admin-list-row{background:#fff!important;border-color:var(--dr-line)!important}
body.dr-theme .sf-access-gate{padding:clamp(24px,4vw,42px);border:1px solid var(--dr-line);border-radius:18px}
body.dr-theme .sf-admin-list-row{box-shadow:0 8px 24px rgba(61,45,27,.05)}
body.dr-theme .sf-admin-form input,
body.dr-theme .sf-admin-form textarea,
body.dr-theme .sf-admin-form select{background:#fff!important;color:#111!important;border-color:var(--dr-line)!important}
body.dr-theme.watch-page .dr-watch-shell,
body.dr-theme.watch-page .dr-watch-shell h1,
body.dr-theme.watch-page .dr-watch-shell h2,
body.dr-theme.watch-page .dr-watch-shell h3,
body.dr-theme.watch-page .dr-watch-shell strong,
body.dr-theme.auth-template .auth-poster-copy,
body.dr-theme.auth-template .auth-poster-copy h1,
body.dr-theme .dr-story-card-overlay,
body.dr-theme .dr-story-card-overlay h1,
body.dr-theme .dr-story-card-overlay h2,
body.dr-theme .dr-story-card-overlay h3,
body.dr-theme .dr-story-card-overlay strong{color:#fff!important}


/* Shared DesertRio display color for every page except the approved index page. */
body.dr-theme:not(.desertrio-index-v3) {
  --dr-display-color: #f8e7cb;
}

body.dr-theme:not(.desertrio-index-v3) main h1,
body.dr-theme:not(.desertrio-index-v3) main h2,
body.dr-theme:not(.desertrio-index-v3) main h3,
body.dr-theme:not(.desertrio-index-v3) .dr-display,
body.dr-theme:not(.desertrio-index-v3) .dr-inner-hero-copy h1,
body.dr-theme:not(.desertrio-index-v3) .dr-about-copy h2,
body.dr-theme:not(.desertrio-index-v3) .dr-editorial-card h3,
body.dr-theme:not(.desertrio-index-v3) .dr-episode-list-head h1,
body.dr-theme:not(.desertrio-index-v3) .dr-episode-feature-copy h2,
body.dr-theme:not(.desertrio-index-v3) .dr-cast-profile h2,
body.dr-theme:not(.desertrio-index-v3) .dr-cast-relationships h2,
body.dr-theme:not(.desertrio-index-v3) .shop-hero-copy h1,
body.dr-theme:not(.desertrio-index-v3) .shop-section-head h2,
body.dr-theme:not(.desertrio-index-v3) .shop-product-body h3,
body.dr-theme:not(.desertrio-index-v3) .shop-detail-copy h1,
body.dr-theme:not(.desertrio-index-v3) .shop-page-head h1,
body.dr-theme:not(.desertrio-index-v3) .auth-card h2,
body.dr-theme:not(.desertrio-index-v3) .sf-member-hero h1,
body.dr-theme:not(.desertrio-index-v3) .sf-member-welcome-card h1,
body.dr-theme:not(.desertrio-index-v3) .sf-member-section-head h2,
body.dr-theme:not(.desertrio-index-v3) .sf-admin-panel-head h2 {
  color: var(--dr-display-color) !important;
}

/* Functional light-surface text remains dark and readable. */
body.dr-theme:not(.desertrio-index-v3) .dr-comment-wrap h1,
body.dr-theme:not(.desertrio-index-v3) .dr-comment-wrap h2,
body.dr-theme:not(.desertrio-index-v3) .dr-comment-wrap h3,
body.dr-theme:not(.desertrio-index-v3) .sf-inline-comments h1,
body.dr-theme:not(.desertrio-index-v3) .sf-inline-comments h2,
body.dr-theme:not(.desertrio-index-v3) .sf-inline-comments h3,
body.dr-theme:not(.desertrio-index-v3) .sf-access-gate h1,
body.dr-theme:not(.desertrio-index-v3) .sf-access-gate h2,
body.dr-theme:not(.desertrio-index-v3) .sf-access-gate h3,
body.dr-theme:not(.desertrio-index-v3) .sf-admin-list-row h1,
body.dr-theme:not(.desertrio-index-v3) .sf-admin-list-row h2,
body.dr-theme:not(.desertrio-index-v3) .sf-admin-list-row h3,
body.dr-theme:not(.desertrio-index-v3) .cart-summary-panel h2,
body.dr-theme:not(.desertrio-index-v3) .cart-empty-state h2 {
  color: #111 !important;
}

/* Dark photographic and playback surfaces keep white display type. */
body.dr-theme:not(.desertrio-index-v3).episode-detail-page .dr-detail-hero h1,
body.dr-theme:not(.desertrio-index-v3).episode-detail-page .dr-detail-hero h2,
body.dr-theme:not(.desertrio-index-v3).episode-detail-page .dr-detail-hero h3,
body.dr-theme:not(.desertrio-index-v3).watch-page .dr-watch-shell h1,
body.dr-theme:not(.desertrio-index-v3).watch-page .dr-watch-shell h2,
body.dr-theme:not(.desertrio-index-v3).watch-page .dr-watch-shell h3,
body.dr-theme:not(.desertrio-index-v3).auth-template .auth-poster-copy h1,
body.dr-theme:not(.desertrio-index-v3) .dr-story-card-overlay h1,
body.dr-theme:not(.desertrio-index-v3) .dr-story-card-overlay h2,
body.dr-theme:not(.desertrio-index-v3) .dr-story-card-overlay h3 {
  color: #fff !important;
}
/* Shared DesertRio display color for every page except the approved index page. */
body.dr-theme:not(.desertrio-index-v3) {
  --dr-display-color: #f8e7cb;
}

body.dr-theme:not(.desertrio-index-v3) main h1,
body.dr-theme:not(.desertrio-index-v3) main h2,
body.dr-theme:not(.desertrio-index-v3) main h3,
body.dr-theme:not(.desertrio-index-v3) .dr-display,
body.dr-theme:not(.desertrio-index-v3) .dr-inner-hero-copy h1,
body.dr-theme:not(.desertrio-index-v3) .dr-about-copy h2,
body.dr-theme:not(.desertrio-index-v3) .dr-editorial-card h3,
body.dr-theme:not(.desertrio-index-v3) .dr-episode-list-head h1,
body.dr-theme:not(.desertrio-index-v3) .dr-episode-feature-copy h2,
body.dr-theme:not(.desertrio-index-v3) .dr-cast-profile h2,
body.dr-theme:not(.desertrio-index-v3) .dr-cast-relationships h2,
body.dr-theme:not(.desertrio-index-v3) .shop-hero-copy h1,
body.dr-theme:not(.desertrio-index-v3) .shop-section-head h2,
body.dr-theme:not(.desertrio-index-v3) .shop-product-body h3,
body.dr-theme:not(.desertrio-index-v3) .shop-detail-copy h1,
body.dr-theme:not(.desertrio-index-v3) .shop-page-head h1,
body.dr-theme:not(.desertrio-index-v3) .auth-card h2,
body.dr-theme:not(.desertrio-index-v3) .sf-member-hero h1,
body.dr-theme:not(.desertrio-index-v3) .sf-member-welcome-card h1,
body.dr-theme:not(.desertrio-index-v3) .sf-member-section-head h2,
body.dr-theme:not(.desertrio-index-v3) .sf-admin-panel-head h2 {
  color: var(--dr-display-color) !important;
}

/* Functional light-surface text remains dark and readable. */
body.dr-theme:not(.desertrio-index-v3) .dr-comment-wrap h1,
body.dr-theme:not(.desertrio-index-v3) .dr-comment-wrap h2,
body.dr-theme:not(.desertrio-index-v3) .dr-comment-wrap h3,
body.dr-theme:not(.desertrio-index-v3) .sf-inline-comments h1,
body.dr-theme:not(.desertrio-index-v3) .sf-inline-comments h2,
body.dr-theme:not(.desertrio-index-v3) .sf-inline-comments h3,
body.dr-theme:not(.desertrio-index-v3) .sf-access-gate h1,
body.dr-theme:not(.desertrio-index-v3) .sf-access-gate h2,
body.dr-theme:not(.desertrio-index-v3) .sf-access-gate h3,
body.dr-theme:not(.desertrio-index-v3) .sf-admin-list-row h1,
body.dr-theme:not(.desertrio-index-v3) .sf-admin-list-row h2,
body.dr-theme:not(.desertrio-index-v3) .sf-admin-list-row h3,
body.dr-theme:not(.desertrio-index-v3) .cart-summary-panel h2,
body.dr-theme:not(.desertrio-index-v3) .cart-empty-state h2 {
  color: #111 !important;
}

/* Dark photographic and playback surfaces keep white display type. */
body.dr-theme:not(.desertrio-index-v3).episode-detail-page .dr-detail-hero h1,
body.dr-theme:not(.desertrio-index-v3).episode-detail-page .dr-detail-hero h2,
body.dr-theme:not(.desertrio-index-v3).episode-detail-page .dr-detail-hero h3,
body.dr-theme:not(.desertrio-index-v3).watch-page .dr-watch-shell h1,
body.dr-theme:not(.desertrio-index-v3).watch-page .dr-watch-shell h2,
body.dr-theme:not(.desertrio-index-v3).watch-page .dr-watch-shell h3,
body.dr-theme:not(.desertrio-index-v3).auth-template .auth-poster-copy h1,
body.dr-theme:not(.desertrio-index-v3) .dr-story-card-overlay h1,
body.dr-theme:not(.desertrio-index-v3) .dr-story-card-overlay h2,
body.dr-theme:not(.desertrio-index-v3) .dr-story-card-overlay h3 {
  color: #fff !important;
}
