/*
 * Legacy browser compatibility layer
 * Targets: IE 11, EdgeHTML 12-18 and Chrome 49+
 * Load after main.css and index.css. The no-* classes are added by
 * js/legacy-support.js after real feature detection.
 */

/* ---------- Standard Grid fallbacks ---------- */
.no-css-grid .grid,
.no-css-grid .species-card-grid,
.no-css-grid .species-card-page-grid,
.no-css-grid .sign-page-grid,
.no-css-grid .species-grid,
.no-css-grid .eco-stats-page,
.no-css-grid .signs-grid,
.no-css-grid .eco-stats,
.no-css-grid .eco-rank-grid,
.no-css-grid .footer-grid,
.no-css-grid .about-hero-stats,
.no-css-grid .about-features-grid,
.no-css-grid .about-seasons-grid,
.no-css-grid .about-visit-grid,
.no-css-grid .pro-feed-grid,
.no-css-grid .pro-overview-grid,
.no-css-grid .taxonomy-grid,
.no-css-grid .gallery-grid {
  display: flex;
  flex-wrap: wrap;
}

.no-css-grid .col-span-full {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.no-css-grid .species-card-grid {
  margin: 0 -10px -20px;
}
.no-css-grid .species-card-grid > * {
  flex: 0 0 calc(25% - 20px);
  width: calc(25% - 20px);
  max-width: calc(25% - 20px);
  margin: 0 10px 20px;
}

.no-css-grid .species-card-page-grid {
  margin: 0 -12px -24px;
}
.no-css-grid .species-card-page-grid > * {
  flex: 0 0 calc(33.333333% - 24px);
  width: calc(33.333333% - 24px);
  max-width: calc(33.333333% - 24px);
  margin: 0 12px 24px;
}

.no-css-grid .sign-page-grid {
  align-items: flex-end;
  justify-content: center;
  margin: 0 -20px -32px;
}
.no-css-grid .sign-page-grid > * {
  flex: 0 0 calc(33.333333% - 40px);
  width: calc(33.333333% - 40px);
  max-width: calc(33.333333% - 40px);
  margin: 0 20px 32px;
}

.no-css-grid .species-grid {
  margin: 0 -8px -16px;
}
.no-css-grid .species-grid > * {
  flex: 0 0 calc(50% - 16px);
  width: calc(50% - 16px);
  max-width: calc(50% - 16px);
  margin: 0 8px 16px;
}

.no-css-grid .eco-stats-page,
.no-css-grid .eco-stats {
  margin-left: -8px;
  margin-right: -8px;
}
.no-css-grid .eco-stats-page > *,
.no-css-grid .eco-stats > * {
  flex: 0 0 calc(33.333333% - 16px);
  width: calc(33.333333% - 16px);
  max-width: calc(33.333333% - 16px);
  margin-left: 8px;
  margin-right: 8px;
}

.no-css-grid .signs-grid {
  align-items: flex-end;
  justify-content: center;
  margin: 0 -10px -20px;
}
.no-css-grid .signs-grid > * {
  flex: 0 0 calc(33.333333% - 20px);
  width: calc(33.333333% - 20px);
  max-width: calc(33.333333% - 20px);
  margin: 0 10px 20px;
}

.no-css-grid .eco-rank-grid {
  margin-left: -12.5px;
  margin-right: -12.5px;
}
.no-css-grid .eco-rank-grid > * {
  flex: 0 0 calc(33.333333% - 25px);
  width: calc(33.333333% - 25px);
  max-width: calc(33.333333% - 25px);
  margin: 0 12.5px 25px;
}

.no-css-grid .footer-grid {
  margin-left: -40px;
  margin-right: -40px;
}
.no-css-grid .footer-grid > * {
  flex: 0 0 calc(33.333333% - 80px);
  width: calc(33.333333% - 80px);
  max-width: calc(33.333333% - 80px);
  margin-left: 40px;
  margin-right: 40px;
}

.no-css-grid .about-hero-stats {
  margin: 0 -8px -16px;
}
.no-css-grid .about-hero-stats > * {
  flex: 0 0 calc(25% - 16px);
  width: calc(25% - 16px);
  max-width: calc(25% - 16px);
  margin: 0 8px 16px;
}

.no-css-grid .about-features-grid,
.no-css-grid .about-seasons-grid {
  margin: 0 -12px -24px;
}
.no-css-grid .about-features-grid > *,
.no-css-grid .about-seasons-grid > * {
  flex: 0 0 calc(25% - 24px);
  width: calc(25% - 24px);
  max-width: calc(25% - 24px);
  margin: 0 12px 24px;
}

.no-css-grid .about-visit-grid {
  margin: 0 -12px -24px;
}
.no-css-grid .about-visit-grid > * {
  flex: 0 0 calc(33.333333% - 24px);
  width: calc(33.333333% - 24px);
  max-width: calc(33.333333% - 24px);
  margin: 0 12px 24px;
}

.no-css-grid .pro-feed-grid {
  margin: 0 -10px -20px;
}
.no-css-grid .pro-feed-grid > * {
  flex: 0 0 calc(50% - 20px);
  width: calc(50% - 20px);
  max-width: calc(50% - 20px);
  margin: 0 10px 20px;
}

.no-css-grid .pro-overview-grid {
  margin: 0 -10px -20px;
}
.no-css-grid .pro-overview-grid > * {
  flex: 0 0 calc(33.333333% - 20px);
  width: calc(33.333333% - 20px);
  max-width: calc(33.333333% - 20px);
  margin: 0 10px 20px;
}

.no-css-grid .taxonomy-grid {
  margin: 0 -8px -16px;
}
.no-css-grid .taxonomy-grid > * {
  flex: 0 0 calc(33.333333% - 16px);
  width: calc(33.333333% - 16px);
  max-width: calc(33.333333% - 16px);
  margin: 0 8px 16px;
}

.no-css-grid .gallery-grid {
  margin: 0 -8px -16px;
}
.no-css-grid .gallery-grid > * {
  flex: 0 0 calc(50% - 16px);
  width: calc(50% - 16px);
  max-width: calc(50% - 16px);
  margin: 0 8px 16px;
}

/* Structural grids need component-specific dimensions. */
.no-css-grid .species-sign-page .sign-filter-row {
  display: flex;
  align-items: center;
  min-width: 0;
}
.no-css-grid .species-sign-page .sign-filter-row > .filter-item-search {
  flex: 1 1 auto;
  min-width: 0;
}
.no-css-grid .species-sign-page .sign-filter-row > .sign-filter-item:last-child {
  flex: 0 0 auto;
}
.no-css-grid .filter-item-search {
  display: flex;
  min-width: 0;
}
.no-css-grid .species-sign-page .sign-filter-selects {
  display: flex;
  flex: 0 0 50%;
  min-width: 0;
}
.no-css-grid .species-sign-page .sign-filter-select {
  flex: 1 1 50%;
  width: 50%;
}
.no-css-grid .species-sign-page .sign-filter-search {
  display: flex;
  flex: 1 1 50%;
  min-width: 0;
}
.no-css-grid .species-sign-page .sign-filter-search input {
  flex: 1 1 auto;
  min-width: 0;
}
.no-css-grid .species-sign-page .sign-filter-search-icon,
.no-css-grid .species-sign-page .sign-filter-search-btn {
  flex: 0 0 auto;
}

.no-css-grid .dict-page-layout {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}
.no-css-grid .dict-page-layout > .dict-sidebar {
  flex: 0 0 280px;
  width: 280px;
  margin-right: 24px;
}
.no-css-grid .dict-page-layout > .dict-main {
  flex: 1 1 auto;
  width: calc(100% - 304px);
  min-width: 0;
}

.no-css-grid .dict-sidebar-collapse,
.no-css-grid .tree-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-css-grid .eco-rank-row {
  display: flex;
  align-items: center;
  min-width: 0;
}
.no-css-grid .eco-rank-rank {
  flex: 0 0 80px;
  width: 80px;
}
.no-css-grid .eco-rank-user {
  flex: 0 0 160px;
  width: 160px;
  margin-left: 16px;
}
.no-css-grid .eco-rank-records {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 16px;
}
.no-css-grid .eco-rank-species {
  flex: 0 0 120px;
  width: 120px;
  margin-left: 16px;
}

.no-css-grid .species-detail-hero {
  display: flex;
  min-width: 0;
}
.no-css-grid .species-detail-hero-image {
  flex: 3 1 60%;
  width: 60%;
}
.no-css-grid .species-detail-hero-panel {
  flex: 2 1 40%;
  width: 40%;
  min-width: 0;
}

/* ---------- Flex Gap fallbacks ---------- */
.no-flex-gap .brand > * + * { margin-left: 10px; }
.no-flex-gap .user-links > * + * { margin-left: 16px; }
.no-flex-gap .nav-links > * + * { margin-left: 16px; }
.no-flex-gap .btn > * + * { margin-left: 8px; }
.no-flex-gap .species-card-body > * + * { margin-top: 12px; }
.no-flex-gap .species-card-names > * + * { margin-left: 12px; }
.no-flex-gap .species-card-chips > * + * { margin-left: 6px; }
.no-flex-gap .species-card-foot .meta > * + * { margin-left: 6px; }
.no-flex-gap .page-hero-inner > * + * { margin-top: 8px; }
.no-flex-gap .breadcrumb > * + * { margin-left: 8px; }
.no-flex-gap .filter-pills > * + * { margin-left: 8px; }
.no-flex-gap .pagination > * + * { margin-top: 16px; }
.no-flex-gap .pagination-btns > * + * { margin-left: 8px; }
.no-flex-gap .pagination-btn > * + * { margin-left: 4px; }
.no-flex-gap .pagination-numbers > * + * { margin-left: 6px; }
.no-flex-gap .species-card-full-body > * + * { margin-top: 12px; }
.no-flex-gap .species-card-full-names > * + * { margin-left: 8px; }
.no-flex-gap .species-card-full-chips > * + * { margin-left: 6px; }
.no-flex-gap .species-card-full-meta > * + * { margin-left: 16px; }
.no-flex-gap .species-card-full-meta-item > * + * { margin-left: 4px; }
.no-flex-gap .species-card-full-creator > * + * { margin-left: 8px; }
.no-flex-gap .species-sign-page .sign-hero-actions > * + * { margin-left: 20px; }
.no-flex-gap .species-sign-page .sign-hero-link > * + * { margin-left: 5px; }
.no-flex-gap .species-sign-page .sign-style-pills > * + * { margin-left: 8px; }
.no-flex-gap .species-dict-card > * + * { margin-top: 8px; }
.no-flex-gap .species-dict-card-chips > * + * { margin-left: 6px; }
.no-flex-gap .species-dict-card-actions > * + * { margin-left: 6px; }
.no-flex-gap .eco-tabs > * + * { margin-left: 8px; }
.no-flex-gap .eco-rank-user > * + * { margin-left: 12px; }
.no-flex-gap .eco-rank-user-info > * + * { margin-top: 2px; }
.no-flex-gap .eco-rank-records > * + * { margin-top: 6px; }
.no-flex-gap .eco-stat-card > * + * { margin-left: 12px; }
.no-flex-gap .eco-stat-card-info > * + * { margin-left: 2px; }
.no-flex-gap .section-header-row > * + * { margin-left: 16px; }
.no-flex-gap .btn-more-large > * + * { margin-left: 8px; }
.no-flex-gap .tree-sign-trunk > * + * { margin-top: 6px; }
.no-flex-gap .leaf-sign-content > * + * { margin-left: 4%; }
.no-flex-gap .leaf-sign-right > * + * { margin-top: 4px; }
.no-flex-gap .dict-head > * + * { margin-left: 16px; }
.no-flex-gap .search-bar > * + * { margin-left: 12px; }
.no-flex-gap .taxonomy-kingdom-header > * + *,
.no-flex-gap .taxonomy-phylum-header > * + *,
.no-flex-gap .taxonomy-class-header > * + *,
.no-flex-gap .taxonomy-order-header > * + *,
.no-flex-gap .taxonomy-family-header > * + *,
.no-flex-gap .taxonomy-genus-header > * + * { margin-left: 10px; }
.no-flex-gap .eco-stat > * + * { margin-left: 12px; }
.no-flex-gap .eco-rank-card-inner > * + * { margin-left: 16px; }
.no-flex-gap .eco-name-row > * + * { margin-left: 8px; }
.no-flex-gap .footer-link-list > * + *,
.no-flex-gap .footer-col > * + * { margin-top: 0; }
.no-flex-gap .about-section-head > * + * { margin-left: 16px; }
.no-flex-gap .about-center-label > * + * { margin-left: 16px; }
.no-flex-gap .about-hero-tag > * + * { margin-left: 8px; }
.no-flex-gap .about-intro-text > * + * { margin-top: 24px; }
.no-flex-gap .about-divider > * + * { margin-left: 12px; }
.no-flex-gap .about-trees-strip > * + * { margin-left: 16px; }
.no-flex-gap .about-tree-meta > * + * { margin-left: 8px; }
.no-flex-gap .about-explore-btn > * + * { margin-left: 8px; }
.no-flex-gap .about-visit-head > * + * { margin-left: 12px; }
.no-flex-gap .about-visit-link > * + * { margin-left: 4px; }
.no-flex-gap .pro-profile-inner > * + * { margin-left: 24px; }
.no-flex-gap .pro-name-row > * + * { margin-left: 8px; }
.no-flex-gap .pro-profile-stats > * + * { margin-left: 24px; }
.no-flex-gap .pro-profile-stat > * + * { margin-top: 6px; }
.no-flex-gap .pro-profile-actions > * + * { margin-left: 16px; }
.no-flex-gap .pro-external-link > * + * { margin-left: 6px; }
.no-flex-gap .pro-card-meta > * + * { margin-left: 12px; }
.no-flex-gap .pro-card-meta-item > * + * { margin-left: 4px; }
.no-flex-gap .pro-overview-card-head > * + * { margin-left: 8px; }
.no-flex-gap .pro-overview-card-trend > * + * { margin-left: 4px; }
.no-flex-gap .pro-cta-btn > * + * { margin-left: 12px; }
.no-flex-gap .species-detail-protection-badge > * + * { margin-left: 6px; }
.no-flex-gap .species-detail-chips > * + * { margin-left: 8px; }
.no-flex-gap .species-detail-id-row > * + * { margin-left: 12px; }
.no-flex-gap .species-detail-section-head > * + * { margin-left: 12px; }
.no-flex-gap .gallery-item-icon > * + * { margin-top: 8px; }
.no-flex-gap .species-action-bar-desktop > * + * { margin-top: 12px; }
.no-flex-gap .species-action-bar-mobile > * + * { margin-left: 8px; }
.no-flex-gap .species-action-btn > * + * { margin-left: 8px; }

/* ---------- Aspect ratio and replaced image fallbacks ---------- */
.no-aspect-ratio .species-card-img,
.no-aspect-ratio .species-card-full-img {
  height: 0;
  padding-top: 66.666667%;
  min-height: 150px;
}
.no-aspect-ratio .species-card-img img,
.no-aspect-ratio .species-card-full-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 10px 10px 0;
}
.no-aspect-ratio .leaf-sign-qr {
  position: relative;
  height: 0;
  padding-top: 100%;
}
.no-aspect-ratio .leaf-sign-qr img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.no-aspect-ratio .gallery-item {
  height: 0;
  padding-top: 75%;
}

.no-object-fit .legacy-object-fit-box {
  background-position: center;
  background-repeat: no-repeat;
}
.no-object-fit img.legacy-object-fit-image {
  opacity: 0;
}

/* ---------- Logical inset fallback ---------- */
.hero-bg,
.hero-gradient,
.leaf-bg-pattern,
.tree-sign-content,
.leaf-sign-content,
.about-hero-bg,
.about-hero-overlay,
.about-hero-grid-overlay,
.about-season-bg,
.species-detail-hero-image img,
.species-detail-hero-image::after,
.gallery-item-bg {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#card-grid .species-card-image-loader,
#species-card-grid .species-card-image-loader {
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
}

/* ---------- Graceful visual degradation ---------- */
.no-sticky .dict-sidebar {
  position: static;
  top: auto;
  max-height: none;
}
.no-backdrop-filter .species-card-full-id {
  background: rgba(15, 42, 36, 0.92);
}
.no-backdrop-filter .about-hero-tag {
  background: rgba(15, 23, 42, 0.9);
}
.no-backdrop-filter .about-hero-stat {
  background: rgba(30, 41, 59, 0.9);
}
.no-backdrop-filter .species-action-bar-mobile {
  background: #0f2a24;
}

.filter-search input:-ms-input-placeholder,
.species-sign-page .sign-filter-search input:-ms-input-placeholder,
.search-bar input:-ms-input-placeholder {
  color: #9ca3af;
}
.filter-search input::-ms-input-placeholder,
.species-sign-page .sign-filter-search input::-ms-input-placeholder,
.search-bar input::-ms-input-placeholder {
  color: #9ca3af;
}
.filter-dropdown-chip select::-ms-expand,
.species-sign-page .sign-filter-select::-ms-expand {
  display: none;
}
.dict-sidebar-collapse:focus,
.tree-toggle-icon:focus {
  outline: 2px solid #00ffff;
  outline-offset: -4px;
}

/* IE/Edge Flexbox requires explicit shrink boundaries in nested rows. */
.no-flex-gap .header-nav,
.no-flex-gap .filter-bar-row,
.no-flex-gap .filter-dropdown-group,
.no-flex-gap .filter-search-wrap,
.no-flex-gap .species-sign-page .sign-filter-row,
.no-flex-gap .species-sign-page .sign-filter-selects,
.no-flex-gap .dict-main,
.no-flex-gap .eco-rank-row,
.no-flex-gap .pro-profile-inner,
.no-flex-gap .species-detail-hero {
  min-width: 0;
}

/* ---------- Responsive Grid fallbacks ---------- */
@media (max-width: 1023px) {
  .no-css-grid .species-card-grid > * {
    flex-basis: calc(50% - 20px);
    width: calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .no-css-grid .species-card-page-grid {
    margin: 0 -10px -20px;
  }
  .no-css-grid .species-card-page-grid > * {
    flex-basis: calc(50% - 20px);
    width: calc(50% - 20px);
    max-width: calc(50% - 20px);
    margin: 0 10px 20px;
  }

  .no-css-grid .sign-page-grid {
    margin: 0 -16px -24px;
  }
  .no-css-grid .sign-page-grid > * {
    flex-basis: calc(50% - 32px);
    width: calc(50% - 32px);
    max-width: calc(50% - 32px);
    margin: 0 16px 24px;
  }

  .no-css-grid .species-sign-page .sign-filter-row {
    flex-wrap: wrap;
  }
  .no-css-grid .species-sign-page .sign-filter-row > .filter-item-search {
    flex-basis: 100%;
  }

  .no-css-grid .dict-page-layout {
    display: block;
  }
  .no-css-grid .dict-page-layout > .dict-main {
    width: 100%;
  }
  .no-css-grid .dict-page-layout > .dict-sidebar {
    margin-right: 0;
  }

  .no-css-grid .signs-grid > *,
  .no-css-grid .eco-rank-grid > *,
  .no-css-grid .about-hero-stats > * {
    flex-basis: calc(50% - 20px);
    width: calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .no-css-grid .footer-grid {
    margin-left: -10px;
    margin-right: -10px;
  }
  .no-css-grid .footer-grid > * {
    flex-basis: calc(33.333333% - 20px);
    width: calc(33.333333% - 20px);
    max-width: calc(33.333333% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }

  .no-css-grid .about-features-grid,
  .no-css-grid .about-seasons-grid {
    margin: 0 -10px -20px;
  }
  .no-css-grid .about-features-grid > *,
  .no-css-grid .about-seasons-grid > * {
    flex-basis: calc(50% - 20px);
    width: calc(50% - 20px);
    max-width: calc(50% - 20px);
    margin: 0 10px 20px;
  }

  .no-css-grid .about-visit-grid {
    margin: 0 -10px -20px;
  }
  .no-css-grid .about-visit-grid > * {
    flex-basis: calc(100% - 20px);
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    margin: 0 10px 20px;
  }

  .no-css-grid .species-detail-hero {
    display: block;
  }
  .no-css-grid .species-detail-hero-image,
  .no-css-grid .species-detail-hero-panel {
    width: 100%;
  }

  .no-css-grid .taxonomy-grid > * {
    flex-basis: calc(50% - 16px);
    width: calc(50% - 16px);
    max-width: calc(50% - 16px);
  }
}

@media (max-width: 767px) {
  .no-css-grid .nav-actions {
    display: flex;
    min-width: 0;
    margin-left: -4px;
    margin-right: -4px;
  }
  .no-css-grid .nav-actions > a {
    flex: 0 0 calc(33.333333% - 8px);
    width: calc(33.333333% - 8px);
    max-width: calc(33.333333% - 8px);
    margin-left: 4px;
    margin-right: 4px;
  }

  .no-css-grid .species-card-grid {
    margin: 0 -5px -10px;
  }
  .no-css-grid .species-card-grid > * {
    flex-basis: calc(50% - 10px);
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    margin: 0 5px 10px;
  }

  .no-css-grid .species-sign-page .sign-filter-row {
    display: block;
  }
  .no-css-grid .species-sign-page .sign-filter-row > .sign-filter-item {
    width: 100%;
  }
  .no-css-grid .species-sign-page .sign-filter-row > .sign-filter-item + .sign-filter-item {
    margin-top: 12px;
  }
  .no-css-grid .filter-item-search {
    display: flex;
  }
  .no-css-grid .species-sign-page .sign-filter-selects,
  .no-css-grid .species-sign-page .sign-filter-search {
    flex: 1 1 50%;
    width: 50%;
  }

  .no-css-grid .eco-rank-row {
    align-items: center;
  }
  .no-css-grid .eco-rank-rank {
    flex: 0 0 48px;
    width: 48px;
  }
  .no-css-grid .eco-rank-user {
    flex: 2 1 0;
    width: auto;
    margin-left: 12px;
  }
  .no-css-grid .eco-rank-records {
    flex: 1 1 0;
    margin-left: 12px;
  }
  .no-css-grid .eco-rank-species {
    display: none;
  }

  .no-css-grid .eco-stats-page {
    margin-left: -3px;
    margin-right: -3px;
  }
  .no-css-grid .eco-stats-page > * {
    flex-basis: calc(33.333333% - 6px);
    width: calc(33.333333% - 6px);
    max-width: calc(33.333333% - 6px);
    margin-left: 3px;
    margin-right: 3px;
  }

  .no-css-grid .eco-stats {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .no-css-grid .eco-stats > * {
    width: 100%;
    max-width: none;
    margin: 0 0 12px;
  }

  .no-css-grid .footer-grid {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .no-css-grid .footer-grid > * {
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
  }

  .no-css-grid .about-hero-stats {
    margin: 0 -6px -12px;
  }
  .no-css-grid .about-hero-stats > * {
    flex-basis: calc(50% - 12px);
    width: calc(50% - 12px);
    max-width: calc(50% - 12px);
    margin: 0 6px 12px;
  }

  .no-css-grid .pro-feed-grid,
  .no-css-grid .pro-overview-grid {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .no-css-grid .pro-feed-grid > *,
  .no-css-grid .pro-overview-grid > * {
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
  }

  .no-flex-gap .header-nav > * + * { margin-top: 2px; margin-left: 0; }
  .no-flex-gap .site-header.is-scrolled .brand > * + * { margin-left: 0; }
  .no-flex-gap .species-sign-page .sign-hero-actions > * + * { margin-left: 8px; }
  .no-flex-gap .eco-stat-card > * + * { margin-top: 0; margin-left: 0; }
  .no-flex-gap .section-header-row > * + * { margin-left: 12px; }
  .no-flex-gap .about-section-head > * + * { margin-left: 12px; }
  .no-flex-gap .about-intro-text > * + * { margin-top: 16px; }
  .no-flex-gap .pro-profile-inner > * + * { margin-left: 16px; }
  .no-flex-gap .species-action-btn > * + * { margin-left: 6px; }
}

@media (max-width: 639px) {
  .no-css-grid .species-card-page-grid,
  .no-css-grid .sign-page-grid,
  .no-css-grid .species-grid,
  .no-css-grid .signs-grid,
  .no-css-grid .eco-rank-grid,
  .no-css-grid .about-features-grid,
  .no-css-grid .about-seasons-grid,
  .no-css-grid .taxonomy-grid,
  .no-css-grid .gallery-grid {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .no-css-grid .species-card-page-grid > *,
  .no-css-grid .sign-page-grid > *,
  .no-css-grid .species-grid > *,
  .no-css-grid .signs-grid > *,
  .no-css-grid .eco-rank-grid > *,
  .no-css-grid .about-features-grid > *,
  .no-css-grid .about-seasons-grid > *,
  .no-css-grid .taxonomy-grid > *,
  .no-css-grid .gallery-grid > * {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 16px;
  }
}

@media (max-width: 479px) {
  .no-css-grid .species-card-grid {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .no-css-grid .species-card-grid > * {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

/* CSS_VARIABLE_FALLBACKS */
/* Generated from main.css and index.css. Do not hand-edit this section. */
.no-css-variables body {
  background: #ffffff;
  color: #1f2937;
}
.no-css-variables .headerbg {
  background: #303c40;
}
.no-css-variables .text-secondary {
  color: #6b7280;
}
.no-css-variables .site-header {
  background: #303c40;
  color: #ffffff;
}
.no-css-variables .top-nav-link {
  transition: color 0.2s ease;
}
.no-css-variables .nav-link {
  transition: color 0.2s ease;
}
.no-css-variables .menu-toggle {
  transition: background 0.2s ease;
}
.no-css-variables .menu-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.no-css-variables .btn {
  border-radius: 8px;
  transition: all 0.2s ease;
}
.no-css-variables .btn-solid {
  background: #15803d;
}
.no-css-variables .btn-solid:hover {
  background: #14532d;
}
.no-css-variables .btn-more {
  transition: all 0.2s ease;
}
.no-css-variables .btn-more:hover {
  border-color: #15803d;
  color: #15803d;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .btn-more-dark {
  transition: all 0.2s ease;
}
.no-css-variables .section-subtitle {
  color: #6b7280;
}
.no-css-variables .species-card {
  background: #6a6a6a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .species-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}
.no-css-variables .chip.red {
  background: #dc2626;
}
.no-css-variables .card-loading {
  color: #9ca3af;
}
.no-css-variables .page-hero-label {
  color: #15803d;
}
.no-css-variables .page-hero-subtitle {
  color: #6b7280;
}
.no-css-variables .breadcrumb {
  color: #9ca3af;
}
.no-css-variables .breadcrumb a {
  color: #9ca3af;
  transition: color 0.2s ease;
}
.no-css-variables .breadcrumb a:hover {
  color: #15803d;
}
.no-css-variables .breadcrumb-current {
  color: #6b7280;
}
.no-css-variables .filter-bar {
  border-bottom: 1px solid #e5e7eb;
}
.no-css-variables .filter-dropdown-chip {
  transition: border-color 0.2s ease, color 0.2s ease;
}
.no-css-variables .filter-dropdown-chip:hover {
  border-bottom-color: #15803d;
}
.no-css-variables .filter-dropdown-chip select {
  color: #14532d;
}
.no-css-variables .filter-dropdown-chip select:hover {
  color: #15803d;
}
.no-css-variables .filter-dropdown-chip.is-disabled select {
  color: #9ca3af;
}
.no-css-variables .filter-dropdown-chip select option {
  color: #1f2937;
}
.no-css-variables .filter-dropdown-arrow {
  color: #14532d;
}
.no-css-variables .filter-search {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .filter-search:focus-within {
  border-color: #15803d;
}
.no-css-variables .filter-search input {
  color: #1f2937;
}
.no-css-variables .filter-search input::placeholder {
  color: #9ca3af;
}
.no-css-variables .filter-search-btn {
  transition: background 0.2s ease;
}
.no-css-variables .filter-pill {
  border: 1px solid #e5e7eb;
  color: #6b7280;
  transition: all 0.2s ease;
}
.no-css-variables .filter-pill:hover {
  border-color: #15803d;
  color: #15803d;
}
.no-css-variables .filter-pill.active {
  background: #15803d;
  border-color: #15803d;
}
.no-css-variables .pagination-btn {
  transition: all 0.2s ease;
}
.no-css-variables .pagination-btn:hover {
  border-color: #15803d;
  color: #15803d;
}
.no-css-variables .pagination-page {
  transition: all 0.2s ease;
}
.no-css-variables .pagination-page:hover {
  border-color: #15803d;
  color: #15803d;
}
.no-css-variables .pagination-ellipsis {
  color: #9ca3af;
}
.no-css-variables .species-card-full {
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.no-css-variables .species-card-full:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  border-color: #15803d;
}
.no-css-variables .species-card-full-chips {
  border-top: 1px solid #e5e7eb;
}
.no-css-variables .species-card-full-avatar {
  background: linear-gradient(135deg, #14532d, #ca8a04);
}
.no-css-variables .species-sign-page .sign-hero-link {
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .species-sign-page .sign-filter {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.no-css-variables .species-sign-page .sign-filter-search {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .species-sign-page .sign-filter-search input {
  color: #1f2937;
}
.no-css-variables .species-sign-page .sign-filter-search input::placeholder {
  color: #9ca3af;
}
.no-css-variables .species-sign-page .sign-filter-search-btn {
  transition: background 0.2s ease;
}
.no-css-variables .species-sign-page .sign-style-pill {
  color: #6b7280;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.no-css-variables .species-sign-page .sign-filter-select {
  color: #1f2937;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .dict-sidebar-collapse {
  transition: color 0.2s ease, background 0.2s ease;
}
.no-css-variables .tree-toggle-icon {
  color: #6b7280;
  transition: color 0.2s ease, background 0.2s ease;
}
.no-css-variables .tree-toggle-icon:hover {
  color: #15803d;
}
.no-css-variables .tree-toggle-icon:focus-visible {
  outline: 2px solid #15803d;
}
.no-css-variables .tree-toggle-icon svg {
  transition: transform 0.2s ease;
}
.no-css-variables .tree-text-item {
  color: #1f2937;
  transition: color 0.2s ease, background 0.2s ease;
}
.no-css-variables .tree-text-item:hover {
  color: #15803d;
}
.no-css-variables .tree-text-item.is-active {
  color: #14532d;
}
.no-css-variables .tree-count,
.no-css-variables .tree-count-sub {
  color: #6b7280;
}
.no-css-variables .dict-mobile-toggle {
  border: 1px solid #e5e7eb;
  color: #6b7280;
}
.no-css-variables .dict-mobile-sidebar {
  border: 1px solid #e5e7eb;
}
.no-css-variables .species-dict-card {
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .species-dict-card:hover {
  border-color: #15803d;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .species-dict-card-btn {
  transition: all 0.2s ease;
}
.no-css-variables .species-dict-card-btn.primary:hover {
  background: #15803d;
}
.no-css-variables .species-dict-card-btn.outline {
  border-color: #e5e7eb;
}
.no-css-variables .eco-tab-btn {
  border: 1px solid #e5e7eb;
  color: #6b7280;
  transition: all 0.2s ease;
}
.no-css-variables .eco-tab-btn:hover {
  border-color: #15803d;
  color: #15803d;
}
.no-css-variables .eco-tab-btn.active {
  background: #15803d;
  border-color: #15803d;
}
.no-css-variables .eco-rank-table {
  border: 1px solid #e5e7eb;
}
.no-css-variables .eco-rank-row {
  transition: background 0.2s ease;
}
.no-css-variables .eco-rank-row+.eco-rank-row {
  border-top: 1px solid #e5e7eb;
}
.no-css-variables .eco-rank-row.header {
  border-bottom: 1px solid #e5e7eb;
}
.no-css-variables .eco-rank-badge {
  color: #9ca3af;
  border: 1px solid #e5e7eb;
}
.no-css-variables .eco-rank-avatar {
  background: linear-gradient(135deg, #15803d, #10b981);
}
.no-css-variables .eco-rank-role.is-patrol {
  color: #dc2626;
}
.no-css-variables .eco-rank-records-value {
  color: #1f2937;
}
.no-css-variables .eco-rank-records-bar {
  background: #e5e7eb;
}
.no-css-variables .eco-stat-card {
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .eco-stat-card:hover {
  border-color: #15803d;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .btn-more-large {
  transition: all 0.2s ease;
}
.no-css-variables .btn-more-large:hover {
  border-color: #15803d;
  color: #15803d;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .species-sign-wrapper {
  transition: transform 0.2s ease;
}
.no-css-variables .dictionary-frame {
  border: 3px solid #59493f;
}
.no-css-variables .dict-container {
  border: 3px solid #59493f;
}
.no-css-variables .dict-title {
  color: #14532d;
}
.no-css-variables .search-bar:focus-within {
  border-color: #15803d;
}
.no-css-variables .search-bar input {
  color: #1f2937;
}
.no-css-variables .search-bar input::placeholder {
  color: #9ca3af;
}
.no-css-variables .search-btn {
  color: #6b7280;
}
.no-css-variables .autocomplete-list {
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}
.no-css-variables .autocomplete-item {
  transition: background 0.2s ease, color 0.2s ease;
  color: #1f2937;
}
.no-css-variables .autocomplete-item:hover,
.no-css-variables .autocomplete-item.is-active {
  background: #15803d;
}
.no-css-variables .autocomplete-more {
  color: #9ca3af;
}
.no-css-variables .taxonomy-tree-container {
  border: 1px solid #e5e7eb;
}
.no-css-variables .taxonomy-kingdom-header,
.no-css-variables .taxonomy-phylum-header,
.no-css-variables .taxonomy-class-header,
.no-css-variables .taxonomy-order-header,
.no-css-variables .taxonomy-family-header,
.no-css-variables .taxonomy-genus-header {
  transition: background 0.2s ease;
}
.no-css-variables .taxonomy-expand-icon {
  border: 1px solid #e5e7eb;
  color: #6b7280;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.no-css-variables .taxonomy-kingdom-header:hover .taxonomy-expand-icon,
.no-css-variables .taxonomy-phylum-header:hover .taxonomy-expand-icon,
.no-css-variables .taxonomy-class-header:hover .taxonomy-expand-icon,
.no-css-variables .taxonomy-order-header:hover .taxonomy-expand-icon,
.no-css-variables .taxonomy-family-header:hover .taxonomy-expand-icon,
.no-css-variables .taxonomy-genus-header:hover .taxonomy-expand-icon {
  border-color: #15803d;
  color: #15803d;
}
.no-css-variables .taxonomy-species-item {
  color: #1f2937;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.no-css-variables .taxonomy-species-item:hover {
  border-color: #15803d;
  color: #15803d;
}
.no-css-variables .taxonomy-species-item em {
  color: #6b7280;
}
.no-css-variables .eco-stat {
  border: 1px solid #e5e7eb;
}
.no-css-variables .eco-stat-label {
  color: #6b7280;
}
.no-css-variables .eco-stat-value {
  color: #15803d;
}
.no-css-variables .eco-rank-card {
  border: 2px solid #e5e7eb;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.no-css-variables .eco-rank-card:hover {
  border-color: #15803d;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .eco-avatar {
  background: linear-gradient(135deg, #15803d, #10b981);
}
.no-css-variables .role-badge.is-white {
  color: #dc2626;
}
.no-css-variables .eco-count {
  color: #6b7280;
}
.no-css-variables .eco-count .count-label {
  color: #9ca3af;
}
.no-css-variables .footer-link {
  transition: color 0.2s ease;
}
.no-css-variables .footer-copyright a {
  transition: color 0.2s ease;
}
.no-css-variables .about-section-gray {
  background: #f2f2f2;
}
.no-css-variables .about-section-bar {
  background: linear-gradient(to bottom, #14532d, #ca8a04);
}
.no-css-variables .about-section-bar--reverse {
  background: linear-gradient(to bottom, #ca8a04, #14532d);
}
.no-css-variables .about-label-line {
  background: #14532d;
}
.no-css-variables .about-label-text {
  color: #15803d;
}
.no-css-variables .about-hero-tag {
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .about-hero-tag-icon {
  color: #15803d;
}
.no-css-variables .about-hero-tag span {
  color: #15803d;
}
.no-css-variables .about-hero-stat {
  border: 1px solid #e5e7eb;
}
.no-css-variables .about-hero-stat-value--green {
  color: #15803d;
}
.no-css-variables .about-hero-stat-value--gold {
  color: #ca8a04;
}
.no-css-variables .about-hero-stat-label {
  color: #9ca3af;
}
.no-css-variables .about-intro-text p {
  color: #1f2937;
}
.no-css-variables .about-divider-line {
  background: linear-gradient(to right, #e5e7eb, transparent);
}
.no-css-variables .about-divider-line:last-child {
  background: linear-gradient(to left, #e5e7eb, transparent);
}
.no-css-variables .about-divider-dot {
  background: #14532d;
}
.no-css-variables .about-feature-card {
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.no-css-variables .about-feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}
.no-css-variables .about-feature-title {
  color: #1f2937;
}
.no-css-variables .about-feature-desc {
  color: #6b7280;
}
.no-css-variables .about-tree-card {
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.no-css-variables .about-tree-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  border-color: #15803d;
}
.no-css-variables .about-tree-card--green .about-tree-image svg {
  color: #15803d;
}
.no-css-variables .about-tree-card--gold .about-tree-image svg {
  color: #ca8a04;
}
.no-css-variables .about-tree-name {
  color: #1f2937;
}
.no-css-variables .about-tree-latin {
  color: #9ca3af;
}
.no-css-variables .about-tree-family--green {
  color: #15803d;
}
.no-css-variables .about-tree-family--gold {
  color: #ca8a04;
}
.no-css-variables .about-tree-season {
  color: #9ca3af;
}
.no-css-variables .about-explore-btn {
  background: linear-gradient(135deg, #14532d, #ca8a04);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .about-explore-btn:hover {
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.35), 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}
.no-css-variables .about-season-card {
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .about-season-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}
.no-css-variables .about-visit-card {
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.no-css-variables .about-visit-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  border-color: #15803d;
}
.no-css-variables .about-visit-icon--green {
  color: #15803d;
}
.no-css-variables .about-visit-icon--gold {
  color: #ca8a04;
}
.no-css-variables .about-visit-text {
  color: #6b7280;
}
.no-css-variables .about-visit-link {
  color: #ca8a04;
  transition: color 0.2s ease;
}
.no-css-variables .about-visit-link:hover {
  color: #15803d;
}
.no-css-variables .pro-profile {
  background: #f2f2f2;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
.no-css-variables .pro-avatar {
  background: linear-gradient(135deg, #14532d, #ca8a04);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}
.no-css-variables .pro-name {
  color: #1f2937;
}
.no-css-variables .pro-handle {
  color: #ca8a04;
}
.no-css-variables .pro-bio {
  color: #6b7280;
}
.no-css-variables .pro-profile-stat-label {
  color: #9ca3af;
}
.no-css-variables .pro-profile-stat-value {
  color: #1f2937;
}
.no-css-variables .pro-external-link {
  color: #ca8a04;
  transition: color 0.2s ease;
}
.no-css-variables .pro-external-link:hover {
  color: #15803d;
}
.no-css-variables .pro-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.no-css-variables .pro-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  border-color: #15803d;
}
.no-css-variables .pro-card-thumb {
  border-radius: 8px;
}
.no-css-variables .pro-card-title {
  color: #1f2937;
}
.no-css-variables .pro-card-desc {
  color: #6b7280;
}
.no-css-variables .pro-card-meta {
  color: #9ca3af;
}
.no-css-variables .pro-overview-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .pro-overview-card:hover {
  border-color: #15803d;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .pro-overview-card-label {
  color: #6b7280;
}
.no-css-variables .pro-overview-card-value {
  color: #1f2937;
}
.no-css-variables .pro-overview-card-trend.green {
  color: #15803d;
}
.no-css-variables .pro-overview-card-trend.gold {
  color: #ca8a04;
}
.no-css-variables .pro-cta-btn {
  background: linear-gradient(135deg, #14532d, #ca8a04);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .pro-cta-btn:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}
.no-css-variables .species-detail-hero {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
}
.no-css-variables .species-detail-hero-panel {
  background: #303c40;
  color: #ffffff;
}
.no-css-variables .species-detail-latin {
  color: #ca8a04;
}
.no-css-variables .species-detail-chip.accent {
  color: #ca8a04;
}
.no-css-variables .species-detail-id-text {
  color: #9ca3af;
}
.no-css-variables .species-detail-section-bar {
  background: linear-gradient(to bottom, #14532d, #ca8a04);
}
.no-css-variables .species-detail-section-bar.alt {
  background: linear-gradient(to bottom, #ca8a04, #14532d);
}
.no-css-variables .species-detail-section-title {
  color: #1f2937;
}
.no-css-variables .species-detail-section-divider {
  background: #e5e7eb;
}
.no-css-variables .species-detail-section-count {
  color: #9ca3af;
}
.no-css-variables .taxonomy-card {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .taxonomy-card.primary:hover {
  border-color: #15803d;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .taxonomy-card.accent:hover {
  border-color: #ca8a04;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .taxonomy-card.warning:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .taxonomy-card-label {
  color: #9ca3af;
}
.no-css-variables .taxonomy-card-value {
  color: #1f2937;
}
.no-css-variables .taxonomy-card-sub {
  color: #9ca3af;
}
.no-css-variables .gallery-item {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.no-css-variables .gallery-item:hover {
  border-color: #15803d;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .gallery-item-icon {
  color: #ffffff;
}
.no-css-variables .species-action-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.no-css-variables .species-action-btn.primary {
  background: linear-gradient(135deg, #14532d, #ca8a04);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.no-css-variables .species-action-btn.primary:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}
.no-css-variables .species-action-btn.outline {
  color: #15803d;
}
.no-css-variables .species-action-btn.outline:hover {
  border-color: #15803d;
}
.no-css-variables .species-action-btn.accent {
  color: #0891b2;
}
.no-css-variables .species-action-btn.accent:hover {
  border-color: #0891b2;
}
.no-css-variables .species-action-btn.neutral {
  color: #6b7280;
  border-color: #e5e7eb;
}
.no-css-variables .species-action-btn.neutral:hover {
  color: #1f2937;
  border-color: #6b7280;
}
@media (max-width: 767px) {
.no-css-variables .nav-actions a {
  transition: background 0.2s ease, border-color 0.2s ease;
}
.no-css-variables .pro-profile {
  border-radius: 8px;
}
}

.no-css-variables .dict-desc {
  color: #6b7280;
}
