/* NOSTALGEEK MOBILE JOURNEY V1 — staging-only cross-page accessibility and polish.
 * Additive layout layer; no content, imagery, pricing, publication or JS changes.
 * Loaded last on Home, Magazine archive, article, review, Time Machine and product. */
.rv-mobile-trail{display:none}
@media(max-width:760px){
  /* A single clear cross-site route when desktop navigation is collapsed. */
  .rv-mobile-trail{
    display:flex!important;gap:6px;align-items:center;width:calc(100% - 24px);
    max-width:960px;min-height:55px;margin:11px auto 2px;padding:5px;
    background:#fffaf4;border:1px solid #e3d6c9;border-radius:13px;
    box-shadow:0 3px 14px rgba(49,35,25,.045);
    overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;
    scroll-padding-inline:8px;scroll-snap-type:x proximity;
    scrollbar-width:thin;scrollbar-color:#b5a295 transparent;
    -webkit-overflow-scrolling:touch
  }
  .rv-mobile-trail a{
    flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
    min-height:43px;max-width:none!important;padding:9px 13px;border-radius:9px;
    text-decoration:none!important;color:#493b34!important;
    font-size:12px;font-weight:850;white-space:nowrap;line-height:1.25;
    scroll-snap-align:start
  }
  .rv-mobile-trail a[aria-current=page]{
    background:#a93632;color:#fff!important
  }
  .rv-mobile-trail a:hover{background:#f0e5da}
  .rv-mobile-trail a[aria-current=page]:hover{background:#922821}
  .rv-mobile-trail a:focus-visible{outline:3px solid #d65e4f;outline-offset:-2px}
  /* Keep the magazine categories discoverable, touchable, and scrollable. */
  body.magazine-page .seo-section-nav{
    display:flex!important;flex-wrap:nowrap!important;
    align-items:center;gap:7px!important;width:100%!important;min-width:0!important;
    padding:6px 3px 12px!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x proximity;scroll-padding-inline:6px;
    scrollbar-width:thin;scrollbar-color:#b8a79a transparent;
    -webkit-overflow-scrolling:touch
  }
  body.magazine-page .seo-section-nav a{
    display:inline-flex!important;align-items:center;justify-content:center;
    flex:0 0 auto;min-height:44px!important;max-width:none!important;
    padding:10px 15px!important;white-space:nowrap!important;
    scroll-snap-align:start;line-height:1.2!important
  }
  body.magazine-page .seo-section-nav a[aria-current=page]{
    border-color:#ac3931!important;background:#ac3931!important;color:#fff!important
  }
  body.magazine-page .seo-section-head h1{
    font-size:clamp(2rem,9vw,2.8rem)!important;line-height:1.08!important;
    letter-spacing:-.035em;text-wrap:balance
  }
  body.magazine-page .editorial-story,
  body.magazine-page .editorial-story-copy,
  body.magazine-page .editorial-feature-grid,
  body.magazine-page .editorial-latest-grid{min-width:0!important;max-width:100%!important}
  body.magazine-page .editorial-story a.editorial-read-link{
    display:inline-flex!important;align-items:center;min-height:43px!important
  }
  body.magazine-page .editorial-cover-link img:not(.news-image-backdrop){
    max-width:100%!important;max-height:100%!important;object-fit:contain!important
  }
  /* Breadcrumbs: current title may be long, previous destinations must be tappable. */
  body.seo-article-page .seo-breadcrumb,
  body.ng-voyage .ng-crumb,
  body.product-page .product-breadcrumb{
    display:flex!important;align-items:center;flex-wrap:wrap;gap:5px 8px;
    max-width:100%;min-width:0;line-height:1.35
  }
  body.seo-article-page .seo-breadcrumb a,
  body.ng-voyage .ng-crumb a,
  body.product-page .product-breadcrumb a{
    display:inline-flex;align-items:center;min-height:38px;
    max-width:100%;padding:5px 0;text-decoration:none;text-underline-offset:3px
  }
  body.seo-article-page .seo-breadcrumb-current{
    display:block!important;max-width:100%!important;min-width:0;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap
  }
  body.seo-article-page .seo-breadcrumb-current-separator{display:none!important}
  /* Long-form texts and existing authorized imagery: never stretch gameplay or covers. */
  body.seo-article-page .seo-article,
  body.seo-article-page .seo-article-body,
  body.seo-article-page .seo-article-body figure,
  body.seo-article-page .seo-article-body .ng-editorial-visual{
    max-width:100%!important;min-width:0!important
  }
  body.seo-article-page .seo-article-body img:not(.ng-editorial-visual-backdrop):not(.news-image-backdrop),
  html body.seo-article-page .seo-article>.seo-article-hero img:not(.ng-editorial-visual-backdrop):not(.news-image-backdrop){
    max-width:100%!important;height:auto!important;
    object-fit:contain!important;object-position:center!important
  }
  body.seo-article-page .seo-article-hero{
    max-width:100%!important;overflow:hidden
  }
  html body.seo-article-page .seo-article>.seo-article-hero img:not(.ng-editorial-visual-backdrop):not(.news-image-backdrop){
    aspect-ratio:auto!important;max-height:420px!important;
    background:#f3ece2!important
  }
  body.seo-article-page .seo-article h1{
    font-size:clamp(1.92rem,8.8vw,2.6rem)!important;line-height:1.15!important;
    overflow-wrap:break-word!important;text-wrap:balance
  }
  body.seo-article-page .seo-article-body p,
  body.seo-article-page .seo-article-body li{
    font-size:1rem;line-height:1.77;overflow-wrap:anywhere
  }
  body.seo-article-page .seo-article-body iframe,
  body.seo-article-page .seo-article-body video{
    max-width:100%!important;min-width:0!important
  }
  body.seo-article-page .article-discovery-path a{
    display:inline-flex;align-items:center;justify-content:center;min-height:44px
  }
  /* Retro test reader: comfortable one-column flow, faithful boxart, easy return. */
  body.ng-retro-test .ng-crumb{padding:14px 0 10px!important}
  body.ng-retro-test .ng-retro-test-hero{
    grid-template-columns:minmax(0,1fr)!important;gap:16px!important;
    margin:14px 0 30px!important
  }
  body.ng-retro-test .ng-retro-test-heading h1{
    font-size:clamp(2.15rem,9vw,3.1rem)!important;line-height:1.1!important;
    text-wrap:balance;overflow-wrap:break-word
  }
  body.ng-retro-test .ng-retro-test-cover{
    width:min(46%,180px)!important;max-width:180px!important;margin:0!important
  }
  body.ng-retro-test .ng-retro-test-cover img,
  body.ng-retro-test .ng-retro-test-frame img{
    display:block!important;width:100%!important;height:auto!important;
    object-fit:contain!important;aspect-ratio:auto!important
  }
  body.ng-retro-test .ng-retro-test-section{max-width:100%!important}
  body.ng-retro-test .ng-retro-test-back{
    display:flex!important;flex-wrap:wrap;gap:8px 14px!important;
    align-items:center;margin-bottom:30px!important
  }
  body.ng-retro-test .ng-retro-test-back a{
    display:inline-flex!important;align-items:center;min-height:44px!important;margin-top:0!important
  }
  body.ng-retro-test .rv-reader-guide-links a{
    min-height:42px;display:inline-flex;align-items:center
  }
  body.ng-retro-test .ng-video-frame,
  body.ng-retro-test .ng-video-feature{max-width:100%;min-width:0;overflow:hidden}
  /* Time Machine: year selector must signal horizontal exploration, not clip text. */
  body.ng-voyage .ng-voyage-hero{padding:17px 0 23px!important}
  body.ng-voyage .ng-voyage-hero h1{
    font-size:clamp(2.25rem,10vw,3.4rem)!important;line-height:1.08!important;
    text-wrap:balance
  }
  body.ng-voyage .ng-experience-grid{
    grid-template-columns:minmax(0,1fr)!important;gap:12px!important
  }
  body.ng-voyage .ng-experience-card{
    min-width:0!important;padding:clamp(16px,4vw,24px)!important
  }
  body.ng-voyage .ng-form-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  body.ng-voyage .ng-form-row select{min-width:0!important;min-height:46px;width:100%;font-size:16px}
  body.ng-voyage .ng-form-row button{min-height:46px;white-space:nowrap}
  body.ng-voyage .ng-year-nav{
    max-width:100%!important;min-width:0!important;
    scrollbar-width:thin;scrollbar-color:#bf9b82 transparent;
    scroll-padding-inline:15px;scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch
  }
  body.ng-voyage .ng-year-nav a{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:44px!important;min-width:58px;scroll-snap-align:center
  }
  body.ng-voyage .ng-year-nav a[aria-current=page]{
    box-shadow:0 0 0 2px #b72d26
  }
  body.ng-voyage .ng-story{min-width:0!important;gap:12px!important}
  body.ng-voyage .ng-story-copy{min-width:0!important}
  body.ng-voyage .ng-story-copy strong{overflow-wrap:break-word}
  body.ng-voyage .ng-console-card img{object-fit:contain!important;height:auto!important;max-height:130px}
  /* Product has its desktop header navigation hidden on small screens.
     The new accessible cross-site trail restores direct access without JS. */
  body.product-page .top .nav{
    display:flex!important;flex-wrap:wrap!important;justify-content:space-between;
    align-items:center;gap:7px!important
  }
  body.product-page .top .nav>.brandBtn{
    min-width:0;max-width:min(55vw,205px)!important
  }
  body.product-page .top .nav>.product-back-link{
    display:inline-flex!important;align-items:center;
    min-height:42px!important;max-width:45vw;margin-left:auto!important;
    padding:7px 9px!important;font-size:.76rem!important;white-space:normal!important
  }
  body.product-page .top .nav>nav{display:none!important}
  body.product-page .product-page-shell{max-width:100%!important;min-width:0!important}
  body.product-page .product-cockpit,
  body.product-page .product-cockpit-hero,
  body.product-page .product-cockpit-cover,
  body.product-page .product-page-cockpit{max-width:100%!important;min-width:0!important}
  body.product-page .product-cockpit img{max-width:100%!important;object-fit:contain!important}
  /* Homepage links: readable and tappable, no duplicate menu or hero. */
  #home.ng-media-first .mf-subnav{
    max-width:100%;min-width:0;scroll-padding-inline:9px;
    scroll-snap-type:x proximity;scrollbar-width:thin;
    scrollbar-color:#b9a394 transparent
  }
  #home.ng-media-first .mf-subnav a{
    display:inline-flex;align-items:center;min-height:44px!important;
    scroll-snap-align:start;padding-block:9px
  }
  #home.ng-media-first .mf-ticker{display:none!important}
  #home.ng-media-first .mf-story-rail-card img{object-fit:contain!important}
  /* Keyboard and screen-reader friendly controls throughout scoped routes. */
  .rv-mobile-trail a:focus-visible,
  body.magazine-page .seo-section-nav a:focus-visible,
  body.ng-voyage .ng-year-nav a:focus-visible{
    outline:3px solid #bb3b36!important;outline-offset:2px
  }
}
@media(max-width:380px){
  body.ng-voyage .ng-form-row{grid-template-columns:minmax(0,1fr)}
  body.ng-voyage .ng-form-row button{width:100%!important}
  body.ng-voyage .ng-story-date{width:70px!important;flex:0 0 70px}
  body.ng-voyage .ng-story img{width:70px!important;height:auto!important;max-height:64px}
  body.ng-voyage .ng-story-arrow{display:none}
}
@media(prefers-reduced-motion:reduce){
  .rv-mobile-trail,body.magazine-page .seo-section-nav{scroll-behavior:auto!important}
}
