/* Xenonhead 0.5.6: only Home, Seed Database and seed details. */
.xh-mobile-intro { display: none; }
.database-page .page-heading > .xh-desktop-intro { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 780px; line-height: 1.6; }
.database-page .xh-filter-panel { min-width: 0; margin-top: 18px; }
.database-page .xh-filter-summary {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  min-height: 60px; list-style: none; cursor: pointer;
  border: 1px solid #6d91bd; border-radius: 5px; background: #1b2b3c; color: #f4f8ff;
}
.database-page .xh-filter-summary::-webkit-details-marker { display: none; }
.database-page .xh-filter-summary::marker { content: ""; }
.database-page .xh-filter-summary > svg { width: 21px; height: 21px; flex: 0 0 21px; }
.database-page .xh-filter-summary-copy { flex: 1; min-width: 0; }
.database-page .xh-filter-summary-copy strong { display: block; font-size: 17px; line-height: 1.3; }
.database-page .xh-filter-summary-copy small { display: block; font-size: 12px; line-height: 1.4; margin-top: 3px; color: #c7d8ec; }
.database-page .xh-filter-count { font-size: 12px; padding: 4px 7px; border-radius: 4px; background: #c3dcff; color: #102337; white-space: nowrap; }
.database-page .xh-filter-count[hidden] { display: none; }
.database-page .xh-filter-chevron { transition: transform .15s ease; }
.database-page .xh-filter-panel[open] > summary .xh-filter-chevron { transform: rotate(180deg); }
.database-page .xh-filter-done { display: none; }
.database-page .xh-filter-summary:focus-visible,
.detail-page .xh-seed-jumps a:focus-visible,
.home-hero .hero-browse-link:focus-visible { outline: 3px solid #b8d5ff; outline-offset: 4px; }
.detail-page .xh-seed-quick-actions { margin-top: 14px; }
.detail-page .xh-seed-quick-actions .seed-copy-row { margin: 0; }
.detail-page .xh-copy-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.detail-page .xh-seed-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.detail-page .xh-seed-jumps a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 15px; border: 1px solid #435568;
  border-radius: 5px; color: #d5e6ff; background: #19232d; font-size: 14px; line-height: 1.4;
}
.detail-page .xh-seed-jumps a:hover { background: #253649; border-color: #8ab8f8; color: #fff; }
.detail-page .xh-seed-jumps svg { width: 16px; height: 16px; flex: 0 0 16px; }
.detail-page :is(#about-heading, #information-heading, #nearby-heading, #seed-how-to),
.database-page #seed-results { scroll-margin-top: 100px; }
@media (min-width: 641px) {
  .database-page .xh-filter-panel[data-xh-enhanced] > summary { display: none; }
  .database-page .xh-filter-panel[data-xh-enhanced] { margin-top: 0; }
}
@media (max-width: 640px) {
  .home-hero .hero-inner { padding-block: 22px 24px; min-height: 0; }
  .home-hero .hero-copy > .eyebrow,
  .home-hero .hero-description,
  .home-hero .hero-footnote { display: none; }
  .home-hero .hero-copy h1 { font-size: clamp(29px, 8.3vw, 38px); line-height: 1.12; letter-spacing: -.035em; }
  .home-hero .xh-mobile-intro { display: block; margin-top: 10px; font-size: 16px; color: #d0dce7; line-height: 1.5; }
  .home-hero .hero-search { margin-top: 18px; }
  .home-hero .hero-search input { min-width: 0; font-size: 16px; }
  .home-hero .hero-search .button { min-height: 46px; }
  .home-hero .hero-browse-link {
    display: flex; justify-content: center; width: 100%; min-height: 50px;
    margin-top: 12px; padding: 12px 18px; border-radius: 5px;
    border: 1px solid #b4d3ff; background: #b4d3ff; color: #102031;
    font-size: 17px; font-weight: 750; text-decoration: none;
  }
  .home-hero .hero-browse-link:hover { background: #d0e3ff; color: #102031; }
  .home-browse { padding-block: 22px; }
  .home-browse .section-heading .eyebrow,
  .home-browse .section-heading > p { display: none; }
  .home-browse .section-heading { margin-bottom: 15px; }
  .home-browse .section-heading h2 { font-size: 26px; }
  .home-latest .section-heading > .text-link { min-height: 44px; padding-block: 10px; font-size: 16px; }
  .database-page .breadcrumb { padding-top: 12px; }
  .database-page .page-heading { padding-block: 14px 18px; }
  .database-page .page-heading > .eyebrow,
  .database-page .xh-desktop-intro { display: none; }
  .database-page .page-heading h1 { font-size: clamp(28px, 8.3vw, 36px); line-height: 1.12; }
  .database-page .page-heading > .xh-mobile-intro { display: block; font-size: 16px; line-height: 1.5; margin-top: 10px; }
  .database-page .database-layout { margin-top: 16px; gap: 18px; }
  .database-page .filter-sidebar { padding-bottom: 18px; }
  .database-page .seed-filter-form { display: block; }
  .database-page .filter-heading { margin-bottom: 8px; min-height: 32px; }
  .database-page .filter-heading h2 { font-size: 18px; }
  .database-page .filter-heading > a { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; }
  .database-page .seed-filter-form > .filter-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .database-page .search-field input { font-size: 16px; min-width: 0; }
  .database-page .xh-filter-panel { margin-top: 12px; }
  .database-page .xh-filter-panel-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding-top: 10px; }
  .database-page .xh-filter-panel-body > .edition-filter,
  .database-page .xh-filter-panel-body > .filter-hint,
  .database-page .xh-filter-panel-body > .xh-filter-done { grid-column: 1 / -1; }
  .database-page .xh-filter-panel-body .filter-option { min-height: 32px; }
  .database-page .xh-filter-panel[data-xh-enhanced] .xh-filter-done { display: flex; justify-content: center; width: 100%; min-height: 46px; margin-top: 14px; }
  .database-page .results-toolbar { margin-bottom: 16px; }
  .detail-page .xh-seed-quick-actions .seed-copy-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .detail-page .xh-seed-quick-actions .seed-copy-row > div { min-width: 0; }
  .detail-page .xh-seed-quick-actions code { font-size: clamp(16px, 4.7vw, 20px); overflow-wrap: anywhere; }
  .detail-page .xh-seed-quick-actions .copy-button { width: 100%; min-height: 48px; justify-content: center; font-size: 16px; }
  .detail-page .xh-seed-jumps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-page .xh-seed-jumps a { padding-inline: 8px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .database-page .xh-filter-chevron { transition: none; }
}
