/* Phone-layout corrections from the full route audit. */
@media screen and (max-width:700px) {
  /* Let the Era label and select share the available width. */
  .taxonomy-switch.catalog-filter-main {box-sizing:border-box;min-width:0;width:100%;max-width:100%;}
  .taxonomy-switch .taxonomy-mobile {box-sizing:border-box;min-width:0;}
  .taxonomy-switch .taxonomy-mobile select {flex:1 1 0;width:0!important;min-width:0!important;max-width:100%!important;}
  .line-manx .manx-rail .line-article-nav {margin-inline:0;width:100%;box-sizing:border-box;padding-inline:0;}
  .guide-index .guide-index-market {gap:12px;padding:20px 18px;white-space:normal;overflow-wrap:break-word;}
  .guide-index .guide-index-market span {flex-shrink:0;}
  .v127-market .v132-comp-heading .v132-comp-poster {width:100%!important;max-width:100%;margin-inline:0!important;min-width:0;overflow-wrap:break-word;}
  .editorial-hero h1.display {font-size:clamp(40px,12vw,70px)!important;overflow-wrap:break-word;}
  .editorial-bands>div {grid-template-columns:64px minmax(0,1fr);gap:12px;}
  .editorial-bands>div>span {grid-column:2;}
  .editorial-bands h2 {overflow-wrap:break-word;}
  /* Keep all three Guide links readable without crowding the model name. */
  .guide-page>.guide-primary-nav {gap:0!important;}
  .guide-page .guide-primary-nav .guide-rail-car {display:none!important;}
  .guide-primary-nav .guide-nav-links {width:100%;gap:4px;overflow:visible;}
  .guide-primary-nav .guide-nav-links>a {display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;min-height:44px;box-sizing:border-box;padding:6px 4px!important;white-space:normal!important;text-align:center;font-size:13px!important;line-height:1.25;}
  /* Usable touch targets and 16px form text at phone widths. */
  main select, main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.rc-form-trap), .email input:not(.rc-form-trap) {box-sizing:border-box;font-size:16px!important;min-height:44px;}
  .v127-market .row-toggle {min-width:44px;min-height:44px;}
  .seen-count {min-height:44px;box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;}
  .rc-tip {min-width:24px;min-height:24px;display:inline-flex;align-items:center;justify-content:center;}
  th button {min-height:44px;}
  .footer nav a,.footer nav button {display:flex;align-items:center;min-height:44px;box-sizing:border-box;}
}
@media screen and (max-width:700px) {
  .v127-market .v132-comp-heading .v132-comp-poster::before,
  .v127-market .v132-comp-heading .v132-comp-poster::after {display:none;}
}
@media screen and (max-width:700px) {
  .collection-picker .type-filter {left:auto!important;right:0!important;width:min(285px,calc(100vw - 36px))!important;min-width:0!important;max-width:calc(100vw - 36px)!important;box-sizing:border-box;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:4px;height:auto!important;max-height:65vh;max-height:65dvh;overflow-y:auto;overflow-x:hidden;}
  .collection-picker .type-filter label {flex:0 0 auto!important;box-sizing:border-box;width:100%!important;min-height:44px;display:flex;align-items:center;font-size:14px!important;}
  .collection-picker .type-filter label span {font-size:14px!important;white-space:normal;}
  .collection-picker .type-filter legend {max-width:100%;white-space:normal;}
}

/* Keep Guide artwork captions below the image, and phone filters readable. */
@media screen and (max-width:700px) {
  .guide-page .taxonomy-hero>.rc-hero-line {display:block;position:relative!important;inset:auto!important;transform:none!important;max-width:100%!important;width:auto!important;margin:12px 0 8px!important;text-align:center;font-size:20px!important;line-height:1.35;}
}
@media screen and (max-width:480px) {
  .market-page .v123-filters {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 16px!important;padding:16px!important;}
  .market-page .v123-filters>label {min-width:0;font-size:11px!important;line-height:1.4;}
  .market-page .v123-filters select {width:100%;min-width:0;}
}
