/** Dark Nature Edition — remaining public routes, body gated. Presentation only. */
/**
 * Dark Nature Edition / OTHER REMAINING PUBLIC SURFACES — inherits validated 0.2.26 shell palette.
 * No layout or content model changes.
 */
body.dn-dark-remaining {
  --dn-ink: #f2f4ee;
  --dn-green: #afe18f;
  --dn-green-strong: #19301f;
  --dn-green-soft: #263a2a;
  --dn-paper: #14251b;
  --dn-surface: #0c1711;
  --dn-ink-soft: #bcc8be;
  --dn-border: rgba(184,218,174,.12);
  --dn-focus: #d2f1b8;
  /* Alias values must be overridden on the body as well as --dn-*:
     the :root --wpia-* aliases resolve before descendant overrides. */
  --wpia-ink: #f2f4ee;
  --wpia-forest: #afe18f;
  --wpia-forest-dark: #19301f;
  --wpia-paper: #14251b;
  --wpia-white: #0c1711;
  --wpia-muted: #bcc8be;
  --wpia-border: rgba(184,218,174,.12);
  background: #0c1711;
  color: #f2f4ee;
}

/* Existing header, menu, search and ticker: appearance only. */
body.dn-dark-remaining .site-header {
  background: #121e17;
  border-bottom-color: rgba(184,218,174,.12);
}
body.dn-dark-remaining .site-header__utility {
  background: #0c130f;
}
body.dn-dark-remaining .site-header__utility-link,
body.dn-dark-remaining .site-header__tagline {
  color: #c7d4c6;
}
body.dn-dark-remaining .site-header .site-wordmark {
  color: #f2f4ee;
}
body.dn-dark-remaining .site-header .primary-menu a,
body.dn-dark-remaining .site-header .header-account,
body.dn-dark-remaining .site-header .search-toggle,
body.dn-dark-remaining .site-header .nav-toggle {
  color: #f2f4ee;
}
body.dn-dark-remaining .site-header .primary-menu a:hover,
body.dn-dark-remaining .site-header .primary-menu a:focus-visible,
body.dn-dark-remaining .site-header .primary-menu .current-menu-item > a,
body.dn-dark-remaining .site-header .primary-menu .current_page_item > a {
  color: #afe18f;
  border-bottom-color: #afe18f;
}
body.dn-dark-remaining .site-header .header-account:hover,
body.dn-dark-remaining .site-header .header-account:focus-visible,
body.dn-dark-remaining .site-header .search-toggle:hover,
body.dn-dark-remaining .site-header .search-toggle:focus-visible,
body.dn-dark-remaining .site-header .nav-toggle:hover,
body.dn-dark-remaining .site-header .nav-toggle:focus-visible {
  background: #263a2a;
  color: #d2f1b8;
}
body.dn-dark-remaining .site-header .header-register {
  border-color: #afe18f;
  background: #afe18f;
  color: #102016;
}
body.dn-dark-remaining .site-header .header-register:hover,
body.dn-dark-remaining .site-header .header-register:focus-visible {
  border-color: #d2f1b8;
  background: #d2f1b8;
  color: #102016;
}
body.dn-dark-remaining .site-header .search-form {
  border-color: rgba(184,218,174,.16);
  background: #14251b;
}
body.dn-dark-remaining .site-header .search-field {
  color: #f2f4ee;
}
body.dn-dark-remaining .site-header .search-field::placeholder {
  color: #bcc8be;
}
body.dn-dark-remaining .site-header .search-submit {
  border-left-color: rgba(184,218,174,.16);
  background: #1e3023;
  color: #f2f4ee;
}
body.dn-dark-remaining .site-header .search-submit:hover,
body.dn-dark-remaining .site-header .search-submit:focus-visible {
  background: #294633;
  color: #d2f1b8;
}
body.dn-dark-remaining .latest-ticker {
  background: #0c130f;
  box-shadow: inset 0 -1px 0 rgba(184,218,174,.12);
}




/* This stylesheet is limited to utility, documentary single/taxonomy,
   individual species, account and favorites — no grids or content changed. */
body.dn-dark-remaining .utility-page,
body.dn-dark-remaining .documentary-main,
body.dn-dark-remaining .documentary-single,
body.dn-dark-remaining .species-single,
body.dn-dark-remaining .account-page,
body.dn-dark-remaining .favorites-page {background:#0c1711;color:#f2f4ee;}
body.dn-dark-remaining .eyebrow,
body.dn-dark-remaining .section-heading__link,
body.dn-dark-remaining .documentary-single__header .eyebrow {color:#afe18f;}
body.dn-dark-remaining .section-heading,
body.dn-dark-remaining .utility-page__header,
body.dn-dark-remaining .search-segment__heading,
body.dn-dark-remaining .account-page__header,
body.dn-dark-remaining .favorites-page__header,
body.dn-dark-remaining .documentary-hero,
body.dn-dark-remaining .documentary-meta,
body.dn-dark-remaining .species-single__overview {border-color:rgba(184,218,174,.16);}
body.dn-dark-remaining .utility-page__lede,
body.dn-dark-remaining .utility-empty p,
body.dn-dark-remaining .documentary-single__excerpt,
body.dn-dark-remaining .account-page__header>p:last-child,
body.dn-dark-remaining .favorites-page__header>p:last-child {color:#bcc8be;}
body.dn-dark-remaining .wikipetsia-media-placeholder{
 background:linear-gradient(135deg,#283c2c,#17241b);
}
body.dn-dark-remaining .story-card__media,
body.dn-dark-remaining .species-card__media,
body.dn-dark-remaining .documentary-card__media {border-radius:7px;}
body.dn-dark-remaining .story-card__category,
body.dn-dark-remaining .species-fact__status-code {color:#d2f1b8;}
body.dn-dark-remaining .species-card__scientific,
body.dn-dark-remaining .species-card__discovery-label,
body.dn-dark-remaining .story-card__excerpt,
body.dn-dark-remaining .documentary-card__body>p:last-child {color:#bcc8be;}
body.dn-dark-remaining .story-card__title a:hover,
body.dn-dark-remaining .story-card__title a:focus-visible,
body.dn-dark-remaining .species-card__name a:hover,
body.dn-dark-remaining .species-card__name a:focus-visible,
body.dn-dark-remaining .documentary-card__body h2 a:hover,
body.dn-dark-remaining .documentary-card__body h2 a:focus-visible {color:#d2f1b8;}
body.dn-dark-remaining .species-card__cta {
 background:#afe18f;color:#102016;
}
body.dn-dark-remaining .species-card__cta:hover,
body.dn-dark-remaining .species-card__cta:focus-visible{
 background:#d2f1b8;color:#102016;
}
/* Search, zero-results, blank /?s= and 404 — existing compact search intro retained. */
body.dn-dark-remaining .utility-page .search-form {border-color:rgba(184,218,174,.16);background:#14251b;}
body.dn-dark-remaining .utility-page .search-field {
 background:#14251b;color:#f2f4ee;color-scheme:dark;
}
body.dn-dark-remaining .utility-page .search-field::placeholder {color:#bcc8be;}
body.dn-dark-remaining .utility-page .search-submit {
 border-left-color:rgba(184,218,174,.16);background:#afe18f;color:#102016;
}
body.dn-dark-remaining .utility-page .search-submit:hover,
body.dn-dark-remaining .utility-page .search-submit:focus-visible{
 background:#d2f1b8;color:#102016;
}
body.dn-dark-remaining .search-filter-chips a {
 border-color:rgba(184,218,174,.16);background:#14251b;color:#f2f4ee;
}
body.dn-dark-remaining .search-filter-chips a:hover,
body.dn-dark-remaining .search-filter-chips a:focus-visible{
 border-color:#afe18f;background:#294633;color:#f2f4ee;
}
body.dn-dark-remaining .search-filter-chips a.is-current {
 border-color:#afe18f;background:#afe18f;color:#102016;
}
body.dn-dark-remaining .utility-empty{border-color:rgba(184,218,174,.16);}
body.dn-dark-remaining .utility-page__links,
body.dn-dark-remaining .utility-page__links li{border-color:rgba(184,218,174,.16);}
body.dn-dark-remaining .utility-page__links a{color:#f2f4ee;}
body.dn-dark-remaining .utility-page__links a:hover,
body.dn-dark-remaining .utility-page__links a:focus-visible {color:#d2f1b8;}
/* Documentary player: do not touch iframe/template/play wiring or dimensions. */
body.dn-dark-remaining .documentary-player,
body.dn-dark-remaining .documentary-player--cover {background:#102016;border-radius:7px;}
body.dn-dark-remaining .documentary-player--facade::after{
 background:linear-gradient(to top,rgba(4,10,6,.70),rgba(4,10,6,.10) 55%,rgba(4,10,6,.24));
}
body.dn-dark-remaining .documentary-player__play{
 border-color:#afe18f;background:rgba(25,48,31,.96);color:#f2f4ee;
}
body.dn-dark-remaining .documentary-player__play:hover,
body.dn-dark-remaining .documentary-player__play:focus-visible{
 border-color:#d2f1b8;background:#294633;color:#fff;
}
body.dn-dark-remaining .documentary-single__chips a{
 border-color:rgba(184,218,174,.16);background:#14251b;color:#f2f4ee;
}
body.dn-dark-remaining .documentary-single__chips a:hover,
body.dn-dark-remaining .documentary-single__chips a:focus-visible{
 border-color:#afe18f;background:#294633;color:#fff;
}
body.dn-dark-remaining .documentary-single__content{color:#e8eee6;}
body.dn-dark-remaining .documentary-single__content a,
body.dn-dark-remaining .documentary-source a {color:#c6e8ad;}
body.dn-dark-remaining .documentary-single__content a:hover,
body.dn-dark-remaining .documentary-single__content a:focus-visible{
 color:#e1f5cd;
}
body.dn-dark-remaining .documentary-source,
body.dn-dark-remaining .documentary-sidebar__module,
body.dn-dark-remaining .documentary-sidebar__module>h2,
body.dn-dark-remaining .documentary-facts dl>div {border-color:rgba(184,218,174,.16);}
body.dn-dark-remaining .documentary-sidebar__module{
 background:#14251b;color:#f2f4ee;
}
body.dn-dark-remaining .documentary-facts dt{color:#bcc8be;}
body.dn-dark-remaining .documentary-taxonomy-hero__description,
body.dn-dark-remaining .documentary-hero__stats {color:#bcc8be;}
body.dn-dark-remaining .documentary-hero__stats strong{color:#f2f4ee;}
body.dn-dark-remaining .documentary-empty{border-color:rgba(184,218,174,.16);}
body.dn-dark-remaining .documentary-empty a{color:#c6e8ad;}
body.dn-dark-remaining .documentary-empty a:hover,
body.dn-dark-remaining .documentary-empty a:focus-visible{color:#e1f5cd;}
/* Species profiles: original taxonomic facts and documentary relations remain. */
body.dn-dark-remaining .species-single__hero{background:#19301f;color:#f2f4ee;}
body.dn-dark-remaining .species-single__copy{background:#19301f;color:#f2f4ee;}
body.dn-dark-remaining .species-single__copy .eyebrow,
body.dn-dark-remaining .species-single__scientific{color:#d2f1b8;}
body.dn-dark-remaining .species-single__description{color:#e1ebdd;}
body.dn-dark-remaining .species-single__facts>div {border-color:rgba(184,218,174,.16);}
body.dn-dark-remaining .species-single__facts dt{color:#bcc8be;}
body.dn-dark-remaining .species-single__facts dd{color:#f2f4ee;}
body.dn-dark-remaining .species-single__content .navigation.pagination .page-numbers{
 border-color:rgba(184,218,174,.16);background:#14251b;color:#f2f4ee;
}
body.dn-dark-remaining .species-single__content .navigation.pagination .page-numbers.current{
 border-color:#afe18f;background:#afe18f;color:#102016;
}
/* Account logged-out / logged-in, saved cards and empty states. */
body.dn-dark-remaining .account-guest {
 border-color:rgba(184,218,174,.16);background:#14251b;
}
body.dn-dark-remaining .account-guest__intro ul,
body.dn-dark-remaining .account-facts dt,
body.dn-dark-remaining .account-dashboard__nav nav a,
body.dn-dark-remaining .account-empty p,
body.dn-dark-remaining .favorites-empty p,
body.dn-dark-remaining .favorites-login p {color:#bcc8be;}
body.dn-dark-remaining .account-action{
 border-color:rgba(184,218,174,.16);background:#14251b;color:#f2f4ee;
}
body.dn-dark-remaining .account-action--primary{
 border-color:#afe18f;background:#afe18f;color:#102016;
}
body.dn-dark-remaining .account-action:hover,
body.dn-dark-remaining .account-action:focus-visible{
 border-color:#d2f1b8;background:#294633;color:#fff;
}
body.dn-dark-remaining .account-action--primary:hover,
body.dn-dark-remaining .account-action--primary:focus-visible{
 background:#d2f1b8;color:#102016;
}
body.dn-dark-remaining .account-dashboard__nav,
body.dn-dark-remaining .account-dashboard__nav nav,
body.dn-dark-remaining .account-dashboard__nav nav a,
body.dn-dark-remaining .account-facts,
body.dn-dark-remaining .account-facts>div,
body.dn-dark-remaining .account-empty,
body.dn-dark-remaining .favorites-empty,
body.dn-dark-remaining .favorites-login,
body.dn-dark-remaining .story-grid--account-favorites .story-card,
body.dn-dark-remaining .story-grid--favorites .story-card {border-color:rgba(184,218,174,.16);}
body.dn-dark-remaining .account-dashboard__nav nav a:hover,
body.dn-dark-remaining .account-dashboard__nav nav a:focus-visible{
 background:#294633;color:#d2f1b8;
}
body.dn-dark-remaining .account-dashboard__nav nav span{
 background:#294633;color:#f2f4ee;
}
body.dn-dark-remaining .story-grid--account-favorites .discovery-favorite-btn,
body.dn-dark-remaining .story-grid--favorites .discovery-favorite-btn{
 border-color:rgba(184,218,174,.16);background:#14251b;color:#f2f4ee;
}
body.dn-dark-remaining .story-grid--account-favorites .discovery-favorite-btn:hover,
body.dn-dark-remaining .story-grid--account-favorites .discovery-favorite-btn:focus-visible,
body.dn-dark-remaining .story-grid--favorites .discovery-favorite-btn:hover,
body.dn-dark-remaining .story-grid--favorites .discovery-favorite-btn:focus-visible,
body.dn-dark-remaining .story-grid--favorites .discovery-favorite-btn.is-active,
body.dn-dark-remaining .story-grid--account-favorites .discovery-favorite-btn.is-active{
 background:#294633;color:#d2f1b8;
}
body.dn-dark-remaining .story-grid--account-favorites .story-card__media,
body.dn-dark-remaining .story-grid--favorites .story-card__media{border-radius:7px;}
/* Existing responsive 2-column account menu backgrounds must also be dark. */
@media(max-width:959px){
 body.dn-dark-remaining .account-dashboard__nav nav a {background:#14251b;}
 body.dn-dark-remaining .account-dashboard__nav nav a:hover,
 body.dn-dark-remaining .account-dashboard__nav nav a:focus-visible{background:#294633;}
}
/* Explicit contrast and focus retained for keyboard and reduced-motion users. */
body.dn-dark-remaining :where(.utility-page,.account-page,.favorites-page,.documentary-single,.species-single) :where(a,button,input,select,summary):focus-visible {
 outline-color:#d2f1b8;
}


body.dn-dark-remaining .site-footer {
  background: #0c130f;
  box-shadow: inset 0 1px 0 rgba(184,218,174,.12);
}
body.dn-dark-remaining .site-footer__account-button {
  border-color: #afe18f;
  background: #afe18f;
  color: #102016;
}
body.dn-dark-remaining .site-footer__account-button:hover,
body.dn-dark-remaining .site-footer__account-button:focus-visible {
  background: #d2f1b8;
  color: #102016;
}


/* Later content states of the same opt-in routes, without modifying their DOM. */
body.dn-dark-remaining .documentary-single__content :where(h2,h3,h4),
body.dn-dark-remaining .species-single .article-prose :where(h2,h3,h4),
body.dn-dark-remaining .account-page__header h1,
body.dn-dark-remaining .favorites-page__header h1 {color:#f2f4ee;}
body.dn-dark-remaining .documentary-single__content :where(th,td),
body.dn-dark-remaining .species-single .article-prose :where(th,td){border-color:rgba(184,218,174,.16);}
body.dn-dark-remaining .documentary-single__content th,
body.dn-dark-remaining .species-single .article-prose th{background:#1b3023;color:#f2f4ee;}
body.dn-dark-remaining .documentary-single__content td,
body.dn-dark-remaining .species-single .article-prose td{background:#14251b;color:#e8eee6;}
body.dn-dark-remaining .documentary-single__content :where(code,pre),
body.dn-dark-remaining .species-single .article-prose :where(code,pre){background:#14251b;color:#e8eee6;}
body.dn-dark-remaining .documentary-single__content blockquote,
body.dn-dark-remaining .species-single .article-prose blockquote{border-left-color:#afe18f;color:#e8eee6;}
body.dn-dark-remaining .documentary-source a:hover,
body.dn-dark-remaining .documentary-source a:focus-visible{color:#e1f5cd;}
body.dn-dark-remaining .documentary-collections{background:#19301f;}
body.dn-dark-remaining .documentary-collections__grid a{background:#19301f;}
body.dn-dark-remaining .documentary-collections__grid a:hover,
body.dn-dark-remaining .documentary-collections__grid a:focus-visible{background:#294633;color:#fff;}
body.dn-dark-remaining .documentary-single .documentary-meta,
body.dn-dark-remaining .documentary-main .documentary-hero__stats{border-color:rgba(184,218,174,.16);}
body.dn-dark-remaining .utility-page .search-field:focus-visible,
body.dn-dark-remaining .utility-page .search-submit:focus-visible,
body.dn-dark-remaining .search-filter-chips a:focus-visible,
body.dn-dark-remaining .account-dashboard__nav nav a:focus-visible,
body.dn-dark-remaining .documentary-player__play:focus-visible{
 outline:3px solid #d2f1b8;outline-offset:-3px;
}
body.dn-dark-remaining .account-guest__intro ul,
body.dn-dark-remaining .account-dashboard__identity,
body.dn-dark-remaining .account-facts dd,
body.dn-dark-remaining .account-empty h3,
body.dn-dark-remaining .favorites-empty h2,
body.dn-dark-remaining .favorites-login h2{color:#f2f4ee;}
body.dn-dark-remaining .account-dashboard__nav nav a:hover,
body.dn-dark-remaining .account-dashboard__nav nav a:focus-visible{color:#d2f1b8;}
body.dn-dark-remaining .utility-page .navigation.pagination .page-numbers,
body.dn-dark-remaining .documentary-main .navigation.pagination .page-numbers{
 background:#14251b;border-color:rgba(184,218,174,.16);color:#f2f4ee;
}
body.dn-dark-remaining .utility-page .navigation.pagination .page-numbers.current,
body.dn-dark-remaining .documentary-main .navigation.pagination .page-numbers.current{
 background:#afe18f;border-color:#afe18f;color:#102016;
}
body.dn-dark-remaining .utility-page .navigation.pagination a.page-numbers:hover,
body.dn-dark-remaining .documentary-main .navigation.pagination a.page-numbers:hover,
body.dn-dark-remaining .utility-page .navigation.pagination a.page-numbers:focus-visible,
body.dn-dark-remaining .documentary-main .navigation.pagination a.page-numbers:focus-visible{
 background:#294633;border-color:#afe18f;color:#f2f4ee;
}

/* Dark Nature 0.2.35: the shared registration CTA sits OUTSIDE .species-single
   (footer.php), so the profile's dark content skin cannot style it.
   components.css gives the CTA --wpia-forest on <=767px; here that alias is
   light #afe18f, leaving white text on a light panel. Fix ONLY mobile
   wikipetsia_species taxonomy profiles; never affect /turler/, archive,
   other CTA screens, footer, layout or interactions. */
@media (max-width: 767px) {
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta {
    background: #19301f;
    border-color: rgba(184,218,174,.16);
    color: #f2f4ee;
  }
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta .eyebrow {
    color: #d2f1b8;
  }
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta__copy h2 {
    color: #f2f4ee;
  }
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta__copy > p:last-child {
    color: #c7d4c6;
  }
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta__button {
    border-color: #bcc8be;
    background: transparent;
    color: #f2f4ee;
  }
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta__button:hover,
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta__button:focus-visible {
    border-color: #d2f1b8;
    background: #294633;
    color: #f2f4ee;
  }
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta__button--primary {
    border-color: #afe18f;
    background: #afe18f;
    color: #102016;
  }
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta__button--primary:hover,
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta__button--primary:focus-visible {
    border-color: #d2f1b8;
    background: #d2f1b8;
    color: #102016;
  }
  body.dn-dark-remaining.tax-wikipetsia_species .site-registration-cta__button:focus-visible {
    outline: 3px solid #d2f1b8;
    outline-offset: 2px;
  }
}
