/*
 * NOSTALGEEK / Reader Edition - staging, 2026-11-12
 * One scoped design contract for the public landing page and magazine.
 * Each preview uses the source aspect ratio and a frame sized for the card.
 */
/* Earlier theme stylesheets use unlayered important rules. Give this scoped
   stylesheet precedence without copying or increasing their specificity. */
@layer reader-edition {
html:has(:is(#home,#news).active) { background:#24272f!important; }
html body.homepage-v2-active:has(#home.active) {
  --hp-paper:#24272f; --hp-ink:#f6f7fa; --hp-muted:#b4bac5;
  --hp-red:#ff6543; --hp-radius:14px;
  background:#24272f!important; color:#f6f7fa!important;
  font-family:Arial,Helvetica,sans-serif;
}
body:has(#news.active) { background:#24272f!important; color:#f7f8fb!important; }
body .reader-header { background:#17191e!important;border-bottom:1px solid #3b3f49!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important; }
body .reader-header .nav {
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:12px!important;
  max-width:1280px!important;width:100%!important;padding:9px 24px!important;box-sizing:border-box!important;overflow:visible!important;
}
html body.homepage-v2-active:has(#home.active) main.wrap,
body:has(#news.active) main.wrap { max-width:1280px!important;width:100%!important;padding-inline:24px!important;box-sizing:border-box!important; }
body .reader-header #primaryNav { display:flex!important;align-items:center!important;gap:4px!important;margin:0 auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important; }
body .reader-header #primaryNav > a {
  display:flex!important;align-items:center!important;min-height:42px!important;padding:8px 10px!important;border:0!important;
  color:#ebedf2!important;background:transparent!important;font:700 14px/1.3 Arial,Helvetica,sans-serif!important;text-align:left!important;white-space:nowrap!important;text-transform:none!important;box-shadow:none!important;
}
body .reader-header #primaryNav > :is(a,button):is(:hover,:focus-visible,[aria-current="page"]) { background:#30343d!important;color:#ff9279!important; }
body .reader-header :is(.nav-toggle,.nav-mobile-only,.nav-close,.nav-scrim) { display:none!important; }
body .reader-header .reader-search-btn {
  display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;
  border:0;border-radius:10px;background:transparent;color:#f7f8fb;font-size:24px;cursor:pointer;
}
body .reader-header .reader-search-btn:is(:hover,:focus-visible) { background:#30343d;outline:2px solid #ff9279;outline-offset:2px; }
body .reader-header .account { display:inline-flex!important;align-items:center!important;justify-content:center!important;border-color:#484c58!important;background:#282c35!important;color:#f5f7fa!important; }
body .reader-header .brand-lockup small { display:none!important; }
body .reader-header .brand-logo { width:min(15vw,190px)!important;max-width:190px!important;height:auto!important;filter:invert(1) hue-rotate(180deg)!important; }
#home.homepage-v2 { padding:4px 0 24px!important; color:#f7f8fa!important; }
#home.homepage-v2 .hp-section { margin-top:40px!important; }
#home.homepage-v2 #homeMagazine { margin:18px 0 0!important;padding:0!important;border:0!important;background:transparent!important; }
#home.homepage-v2 .hp-section-head { margin-bottom:14px!important;align-items:center!important;gap:12px!important; }
#home.homepage-v2 .hp-section-head :is(h1,h2) { color:#f8f9fc!important;font:800 clamp(22px,2.6vw,32px)/1.14 Arial,Helvetica,sans-serif!important;letter-spacing:-.03em!important;text-transform:none!important; }
#home.homepage-v2 .hp-section-head .hp-eyebrow { display:none!important; }
#home.homepage-v2 .hp-section-head p { color:#b9beca!important;font-size:14px!important; }
#home.homepage-v2 .hp-link { color:#ff9279!important;font-weight:700!important; }
#home.homepage-v2 #homeMagazine .hp-magazine-grid {
  display:grid!important;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;
  align-items:stretch!important;gap:14px!important;min-width:0;overflow:visible!important;
}
#home.homepage-v2 #homeNewsLead { display:block!important;min-width:0; }
#home.homepage-v2 #homeMagazine #homeNewsLead:empty {
  min-height:136px!important;border:1px solid #3e434d!important;border-radius:12px!important;background:#2b2e37!important;
}
#home.homepage-v2 #homeMagazine #homeNewsLead:empty::after {
  padding:18px!important;color:#b9beca!important;font:600 15px/1.4 Arial,Helvetica,sans-serif!important;
}
#home.homepage-v2 #homeMagazine #homeNewsLatest:empty { display:none!important; }
#home.homepage-v2 #homeNewsLatest {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:none!important;grid-auto-rows:minmax(0,auto)!important;gap:9px!important;min-width:0;
}
#home.homepage-v2 #homeMagazine .hp-story {
  --reader-preview-height:84px;
  display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;
  min-width:0!important;min-height:102px!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;padding:8px!important;margin:0!important;
  border:1px solid #3e434d!important;border-radius:12px!important;background:#2b2e37!important;box-shadow:none!important;
}
#home.homepage-v2 #homeMagazine .hp-story::before,
#home.homepage-v2 #homeMagazine .hp-story::after { content:none!important; }
#home.homepage-v2 #homeMagazine .hp-story:hover { border-color:#ff8061!important; }
#home.homepage-v2 #homeMagazine .reader-story-image,
#home.homepage-v2 #homeMagazine .reader-story-image .news-visual {
  display:grid!important;place-items:center;position:static!important;width:100%!important;height:auto!important;
  min-width:0!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
#home.homepage-v2 #homeMagazine .reader-story-image .news-visual::before,
#home.homepage-v2 #homeMagazine .reader-story-image .news-visual::after,
#home.homepage-v2 #homeMagazine .reader-story-image :is(.news-placeholder,.news-image-backdrop,.news-image-credit) { display:none!important; }
#home.homepage-v2 #homeMagazine .reader-story-image img.news-image-main {
  display:block!important;position:static!important;width:auto!important;height:auto!important;
  max-width:100%!important;max-height:var(--reader-preview-height)!important;
  min-width:0!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:7px!important;
  filter:none!important;transform:none!important;opacity:1!important;background:transparent!important;
}
#home.homepage-v2 #homeMagazine .hp-story-copy {
  display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;
  position:static!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;padding:0!important;min-width:0!important;min-height:0!important;background:transparent!important;
}
#home.homepage-v2 #homeMagazine .hp-story-category { color:#ff9279!important;font:800 11px/1.25 Arial,Helvetica,sans-serif!important;letter-spacing:.025em!important;text-transform:uppercase!important; }
#home.homepage-v2 #homeMagazine .hp-story-copy :is(.retro-story-date,p,.hp-link) { display:none!important; }
#home.homepage-v2 #homeMagazine .hp-story h3 {
  display:block!important;margin:0!important;max-height:none!important;overflow:visible!important;
  font:700 clamp(15px,1.22vw,17px)/1.32 Arial,Helvetica,sans-serif!important;letter-spacing:-.014em!important;
  white-space:normal!important;overflow-wrap:break-word!important;color:#f5f6fa!important;text-transform:none!important;
}
#home.homepage-v2 #homeMagazine .hp-story h3 a { color:inherit!important;text-decoration:none!important; }
#home.homepage-v2 #homeMagazine .hp-story h3 a:is(:hover,:focus-visible) { text-decoration:underline!important; }
#home.homepage-v2 #homeMagazine .hp-story-feature {
  --reader-preview-height:290px;
  grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr)!important;gap:18px!important;
  min-height:250px!important;height:100%!important;padding:18px!important;background:#2b2e37!important;
}
#home.homepage-v2 #homeMagazine .hp-story-feature h3 { font-size:clamp(20px,2.1vw,29px)!important;line-height:1.2!important; }
#home.homepage-v2 #homeMagazine .hp-story-feature .hp-story-copy > p { display:block!important;margin:3px 0 0!important;font:400 14px/1.45 Arial,Helvetica,sans-serif!important;color:#c5c9d2!important; }
#home.homepage-v2 #homeMagazine .hp-story--text-only { grid-template-columns:minmax(0,1fr)!important; }
#home.homepage-v2 #homeMagazine .hp-story--text-only .hp-story-copy { padding:6px!important; }
#home.homepage-v2 .hp-hero {
  display:block!important;min-height:0!important; margin-top:22px!important;padding:16px 20px!important;
  border:1px solid #424651!important;border-radius:12px!important;background:#2e323b!important;
  box-shadow:none!important;
}
#home.homepage-v2 .hp-hero-copy { display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,1fr)!important;align-items:center!important;gap:12px 20px!important; }
#home.homepage-v2 .hp-hero-copy .hp-eyebrow,
#home.homepage-v2 .hp-hero-copy>p,
#home.homepage-v2 .hp-hero-copy .hp-hero-link,
#home.homepage-v2 .hp-hero-art { display:none!important; }
#home.homepage-v2 .hp-hero-copy h2 { font:800 20px/1.2 Arial,Helvetica,sans-serif!important;color:#f5f6fa!important;margin:0!important;letter-spacing:-.02em!important; }
#home.homepage-v2 .hp-search-label { display:none!important; }
#home.homepage-v2 #homeSearchSlot { min-width:0!important; }
#home.homepage-v2 .site-search,body:has(#news.active) .site-search { margin:0!important;padding:0!important;border:0!important;background:transparent!important; }
body:has(:is(#home,#news).active) .site-search .discovery-search { margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important; }
#home.homepage-v2 .site-search input,body:has(#news.active) .site-search input { background:#191c23!important;color:#f7f8fa!important;border:1px solid #555a66!important;border-radius:9px!important; }
#home.homepage-v2 .site-search input::placeholder,body:has(#news.active) .site-search input::placeholder { color:#aeb4c1!important; }
#home.homepage-v2 .site-search .primary,body:has(#news.active) .site-search .primary { background:#ff6543!important;color:#17191e!important;border-radius:9px!important;font-weight:800!important; }
#home.homepage-v2 .hp-platform,#home.homepage-v2 .hp-game-card,#home.homepage-v2 .hp-game { background:#2e323b!important;color:#f7f8fb!important;border:1px solid #3d424d!important;box-shadow:none!important; }
#home.homepage-v2 .hp-platform-name,
#home.homepage-v2 .hp-game-title,#home.homepage-v2 .hp-game-value { color:#f7f8fb!important; }
#home.homepage-v2 .hp-games .hp-section-head p,
#home.homepage-v2 .hp-platforms .hp-section-head>p { color:#bdc3ce!important; }
#home.homepage-v2 .hp-platform-visual { background:#252932!important; }
#home.homepage-v2 .hp-platform-visual img { object-fit:contain!important; }
#home.homepage-v2 .hp-collection { background:#30343d!important;border-radius:16px!important;margin-top:42px!important; }
#home.homepage-v2 .hp-collection-copy h2,#home.homepage-v2 .hp-collection-copy p { color:#f6f8fa!important; }
#home.homepage-v2 #mfReplayTitle { font:800 clamp(24px,3vw,34px)/1.15 Arial,Helvetica,sans-serif!important;text-transform:none!important; }
#home.homepage-v2 .hp-collection-actions .hp-button { background:#ff6543!important;color:#17191e!important; }
html body.homepage-v2-active:has(#home.active) .footer { background:#17191e!important;border-color:#424651!important; }
html body.homepage-v2-active:has(#home.active) .footer a,
html body.homepage-v2-active:has(#home.active) .footer-signature strong { color:#e4e7ed!important; }
body:has(#news.active) #globalSearchSlot:not(.reader-search-visible) { display:none!important; }
body:has(:is(#home,#news).active) .site-search .discovery-search::before { content:none!important; }
body:has(#news.active) .footer { background:#17191e!important;border-color:#424651!important; }
body:has(#news.active) .footer a,
body:has(#news.active) .footer-signature strong { color:#e4e7ed!important; }
#news.retro-magazine { background:transparent!important;color:#f7f8fb!important; }
#news.retro-magazine .retro-magazine-intro { background:transparent!important;border:0!important;padding:12px 0 16px!important; }
#news.retro-magazine .retro-magazine-intro .hp-eyebrow,
#news.retro-magazine .editorial-list-eyebrow { display:none!important; }
#news.retro-magazine .retro-magazine-intro h1,
#news.retro-magazine .editorial-list-heading h2 { color:#f8f9fb!important;text-transform:none!important; }
#news.retro-magazine .retro-magazine-intro>p,
#news.retro-magazine .editorial-list-heading>p { color:#c1c6d1!important; }
#news.retro-magazine .magazine-subnav { display:flex!important;flex-wrap:wrap!important;gap:8px!important; }
#news.retro-magazine .magazine-subnav button { border-radius:9px!important;background:#30343d!important;border:1px solid #525864!important;color:#f4f6fa!important;font:700 14px/1.2 Arial,Helvetica,sans-serif!important; }
#news.retro-magazine .magazine-subnav button[aria-pressed="true"] { background:#ff6543!important;color:#15171c!important;border-color:#ff6543!important; }
#news.retro-magazine #newsGrid .editorial-story {
  display:grid!important;grid-template-columns:minmax(0,36%) minmax(0,1fr)!important;
  min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;
  gap:12px!important;align-items:center!important;padding:10px!important;
  background:#2b2f38!important;border:1px solid #404550!important;border-radius:12px!important;box-shadow:none!important;
}
#news.retro-magazine #newsGrid .editorial-story--without-media { grid-template-columns:minmax(0,1fr)!important; }
#news.retro-magazine #newsGrid .editorial-story-copy {
  width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;
  padding:4px!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
#news.retro-magazine .editorial-story-copy h3 {
  display:block!important;max-height:none!important;overflow:visible!important;white-space:normal!important;
  -webkit-line-clamp:unset!important;overflow-wrap:break-word!important;text-transform:none!important;
  font:700 clamp(16px,1.6vw,21px)/1.3 Arial,Helvetica,sans-serif!important;
}
#news.retro-magazine .editorial-story-copy h3,
#news.retro-magazine .editorial-story-copy h3 a { color:#f6f7fa!important; }
#news.retro-magazine .editorial-story-copy .editorial-source-line { color:#aab0bc!important; }
#news.retro-magazine .ng-mag-time-entry,#news.retro-magazine .news-archive .empty { background:#2b2f38!important;border-color:#404550!important;color:#f6f7fa!important; }
#news.retro-magazine .ng-mag-time-entry small { color:#c1c6d1!important; }
#news.retro-magazine .editorial-story-copy .editorial-teaser,
#news.retro-magazine .editorial-story-copy .editorial-publication { color:#bdc4ce!important; }
#news.retro-magazine .editorial-story>.editorial-cover-link,
#news.retro-magazine #newsGrid .editorial-story>.editorial-cover-link { margin:0!important;padding:0!important;min-height:0!important;align-self:center!important;background:transparent!important;border:0!important; }
#news.retro-magazine #newsGrid .editorial-story>.editorial-cover-link img.news-image-backdrop { display:none!important;visibility:hidden!important; }
#news.retro-magazine #newsGrid .editorial-story>.editorial-cover-link img.news-image-main {
  object-fit:contain!important;object-position:center!important;filter:none!important;background:transparent!important;border-radius:7px!important;
}
#news.retro-magazine .editorial-read-link { color:#ff927a!important; }
@media(max-width:1080px) {
  #home.homepage-v2 #homeMagazine .hp-magazine-grid { grid-template-columns:1fr!important; }
  #home.homepage-v2 #homeMagazine .hp-story-feature { min-height:210px!important;height:auto!important; }
}
@media(max-width:900px) {
  html body.homepage-v2-active:has(#home.active) main.wrap,
  body:has(#news.active) main.wrap { padding-inline:14px!important; }
  body .reader-header .nav {
    display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px auto!important;
    align-items:center!important;gap:8px!important;padding:8px 14px!important;min-height:60px!important;
  }
  body .reader-header .nav-toggle {
    grid-column:1!important;grid-row:1!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;
    width:42px!important;height:42px!important;padding:0!important;border:0!important;background:transparent!important;font-size:0!important;
  }
  body .reader-header .nav-toggle::before { content:'☰';font:700 27px/1 Arial,sans-serif!important;color:#f7f8fb; }
  body .reader-header .brandBtn { grid-column:2!important;grid-row:1!important;justify-self:start!important;overflow:visible!important; }
  body .reader-header .brand-logo { width:min(36vw,166px)!important;max-height:34px!important;object-fit:contain!important;object-position:left center!important; }
  body .reader-header .reader-search-btn { grid-column:3!important;grid-row:1!important; }
  body .reader-header .account { grid-column:4!important;grid-row:1!important;margin:0!important;font-size:12px!important;min-width:0!important;padding:8px 10px!important; }
  body .reader-header #primaryNav {
    position:fixed!important;z-index:1001!important;inset:0 auto 0 0!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    width:min(84vw,360px)!important;max-width:360px!important;height:100dvh!important;max-height:none!important;
    margin:0!important;padding:68px 16px 22px!important;box-sizing:border-box!important;overflow-y:auto!important;
    border:0!important;border-radius:0!important;background:#17191e!important;
    box-shadow:15px 0 35px rgba(0,0,0,.32)!important;
    transform:translateX(-105%)!important;visibility:hidden!important;transition:transform .22s ease,visibility .22s!important;
  }
  body .reader-header #primaryNav.is-open { transform:translateX(0)!important;visibility:visible!important; }
  body .reader-header #primaryNav > a { min-height:45px!important;padding:9px 12px!important;border-radius:8px!important;font-size:16px!important; }
  body .reader-header #primaryNav .nav-mobile-only { display:block!important;color:#a8aeba!important;font-size:12px!important;margin:10px 12px 2px!important;letter-spacing:.055em!important;text-transform:uppercase!important; }
  body .reader-header #primaryNav .nav-mobile-only::after { content:none!important; }
  body .reader-header .nav-scrim.is-open { display:block!important;position:fixed;z-index:1000;inset:0;border:0;background:rgba(0,0,0,.7); }
  body:has(.reader-header #primaryNav.is-open) { overflow:hidden!important; }
  body .reader-header #primaryNav .nav-close {
    position:absolute!important;top:14px!important;right:16px!important;display:inline-flex!important;
    width:42px!important;height:42px!important;border:1px solid #535863!important;border-radius:50%!important;
    justify-content:center!important;align-items:center!important;color:#fff!important;font-size:24px!important;background:#30343d!important;
  }
}
@media(max-width:600px) {
  #home.homepage-v2 .hp-section { margin-top:30px!important; }
  #home.homepage-v2 .hp-section-head { align-items:start!important;flex-direction:row!important;gap:10px!important; }
  #home.homepage-v2 .hp-section-head p { display:none!important; }
  #home.homepage-v2 .hp-section-head :is(h1,h2) { font-size:23px!important; }
  #home.homepage-v2 #homeMagazine { margin-top:12px!important; }
  #home.homepage-v2 #homeNewsLatest { grid-template-columns:1fr!important; }
  #home.homepage-v2 #homeMagazine .hp-story { grid-template-columns:88px minmax(0,1fr)!important; }
  #home.homepage-v2 #homeMagazine .hp-story-feature {
    --reader-preview-height:150px;
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)!important;min-height:156px!important;gap:12px!important;padding:12px!important;
  }
  #home.homepage-v2 #homeMagazine .hp-story-feature .hp-story-copy > p { display:none!important; }
  #home.homepage-v2 #homeMagazine .hp-story--text-only { grid-template-columns:minmax(0,1fr)!important; }
  #home.homepage-v2 .hp-hero { margin-top:18px!important;padding:13px!important; }
  #home.homepage-v2 .hp-hero-copy { grid-template-columns:1fr!important;gap:10px!important; }
  #home.homepage-v2 .hp-hero-copy h2 { font-size:17px!important; }
  #home.homepage-v2 .hp-collection { margin-top:32px!important;padding:22px!important; }
  #news.retro-magazine #newsGrid .editorial-story { grid-template-columns:minmax(0,29%) minmax(0,1fr)!important;gap:10px!important; }
  #news.retro-magazine #newsGrid .editorial-story--without-media { grid-template-columns:minmax(0,1fr)!important; }
  #news.retro-magazine .editorial-story-copy .editorial-teaser { display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important; }
}
@media(prefers-reduced-motion:reduce) {
  body #primaryNav { transition:none!important; }
  #home.homepage-v2 .hp-story { transition:none!important; }
}
}
