/* NVerse v4.72.0 — Nintendo Heritage UI 4.0.
   Intentionally scoped to homepage, news, retro, and amiibo; no proprietary imagery. */
:root{--nv72-red:#e60012;--nv72-red-hover:#ff3448;--nv72-surface:#101826;--nv72-surface-raised:#152033;--nv72-stroke:rgba(208,224,255,.15);--nv72-ink:#f6f8ff;--nv72-muted:#b8c5dc;--nv72-radius:20px;--nv72-shadow:0 15px 40px rgba(0,0,0,.26)}
body.nverse-premium-public :where(.nv55-home,.news-page,.retro-zone-v3,.nv411-amiibo-directory,.amiibo-detail){color:var(--nv72-ink)}
body.nverse-premium-public :where(.nv55-home,.news-page,.retro-zone-v3,.nv411-amiibo-directory,.amiibo-detail) :where(h1,h2,h3){letter-spacing:-.025em;text-wrap:balance}
body.nverse-premium-public :where(.nv55-home,.news-page,.retro-zone-v3,.nv411-amiibo-directory,.amiibo-detail) :where(input,select){min-height:44px;max-width:100%;border:1px solid var(--nv72-stroke);border-radius:12px;background:#0d1727;color:var(--nv72-ink)}
body.nverse-premium-public :where(.nv55-home,.news-page,.retro-zone-v3,.nv411-amiibo-directory,.amiibo-detail) :where(input,select)::placeholder{color:#9cabc3}
body.nverse-premium-public :where(.nv55-home,.news-page,.retro-zone-v3,.nv411-amiibo-directory,.amiibo-detail) :where(input,select,button,a):focus-visible{outline:3px solid #ff707b;outline-offset:3px}
/* Homepage: proportionate hero and accessible news + discovery modules. */
.nv55-home .nv72-home-feature{align-items:stretch;gap:clamp(15px,2vw,26px)}
.nv55-home .nv-hero{isolation:isolate;min-height:clamp(390px,39vw,565px);border:1px solid var(--nv72-stroke);border-radius:24px;background:radial-gradient(circle at 78% 25%,rgba(230,0,18,.13),transparent 45%),#0c1625;overflow:hidden}
.nv55-home .nv-hero-bg{inset:0;overflow:hidden}
.nv55-home .nv-hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 38%}
.nv55-home .nv-hero-bg:after{background:linear-gradient(90deg,rgba(5,9,18,.96) 0%,rgba(5,9,18,.78) 47%,rgba(5,9,18,.25) 100%),linear-gradient(0deg,rgba(5,9,18,.38),transparent 48%)}
.nv55-home .nv-hero-inner{position:relative;z-index:2;gap:clamp(15px,3vw,38px)}
.nv55-home .nv-hero-copy{min-width:0}
.nv55-home .nv-hero-copy h1{max-width:19ch;line-height:1.09;font-size:clamp(2.05rem,3.4vw,3.95rem);font-weight:850}
.nv55-home .nv-hero-copy h1 em{color:#ff5a67;font-style:normal}
.nv55-home .nv-hero-copy p{max-width:52ch;color:#d1daec;line-height:1.6}
.nv55-home .nv-hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.nv55-home .nv-hero-stats{display:flex;flex-wrap:wrap;gap:12px}
.nv55-home .nv-hero-stats span{min-width:0}
.nv55-home .nv-hero-static-card{border:1px solid rgba(255,255,255,.18);border-radius:20px;background:linear-gradient(145deg,rgba(19,29,46,.95),rgba(7,13,24,.92));box-shadow:var(--nv72-shadow);overflow:hidden}
.nv55-home .nv481-hero-cover img{object-fit:contain}
.nv55-home .nv-news-panel{border:1px solid var(--nv72-stroke);border-radius:22px;background:linear-gradient(160deg,#142034,#0d1422);box-shadow:var(--nv72-shadow)}
.nv55-home .nv-news-panel .nv-news-lead{border-radius:14px;overflow:hidden}
.nv55-home .nv-news-panel :where(h2,h3,strong){line-height:1.28}
.nv55-home .nv-news-panel .nv-news-item{border-radius:12px;min-width:0}
.nv55-home .nv55-quicknav a{background:linear-gradient(135deg,rgba(25,37,57,.98),rgba(15,24,39,.98));border:1px solid var(--nv72-stroke)}
.nv55-home .nv55-quicknav a:is(:hover,:focus-visible){border-color:rgba(255,96,106,.65)}
.nv55-home .home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.nv55-home .home-section-head h2{font-size:clamp(1.4rem,2.15vw,2rem)}
.nv55-home .nv-game-card-v4{background:var(--nv72-surface);border:1px solid var(--nv72-stroke)}
.nv55-home .nv-game-cover-v4{aspect-ratio:3/4;background:#0b1422}
.nv55-home .nv-game-cover-v4 img{width:100%;height:100%;object-fit:cover}
.nv55-home .nv-game-card-copy{padding:12px}
.nv55-home .nv-game-card-copy h3{font-size:clamp(.92rem,1.1vw,1.08rem);line-height:1.34}
.nv55-home .nv-explore-grid-v421{gap:clamp(12px,1.7vw,20px)}
.nv55-home .nv-explore-card-v421{border:1px solid var(--nv72-stroke);border-radius:19px;background:linear-gradient(180deg,#192339,#101826);min-width:0}
.nv55-home .nv-explore-card-v421 :where(strong,p){overflow-wrap:anywhere}
.nv55-home .nv-explore-card-v421 b{color:#ff707a}
/* News: strong editorial hierarchy, equal card heights and structured cover fallback. */
.news-page.news-v461{max-width:1500px}
.news-page .news-v461-head{display:flex;gap:22px;align-items:flex-end;justify-content:space-between;margin-bottom:24px}
.news-page .news-v461-head h1{font-size:clamp(2.1rem,4vw,3.4rem)}
.news-page .news-v461-head p{max-width:68ch;color:var(--nv72-muted);line-height:1.65}
.news-page .news-v461-search{display:flex;gap:8px;min-width:min(340px,100%)}
.news-page .news-v461-cats{display:flex;gap:9px;overflow-x:auto;padding:4px 2px 14px;scrollbar-width:thin;scrollbar-color:#42516a transparent}
.news-page .news-v461-cats a{flex-shrink:0;border:1px solid var(--nv72-stroke);border-radius:999px;padding:8px 14px;background:#152036;white-space:nowrap}
.news-page .news-v461-cats a:is(.active,:hover){background:rgba(230,0,18,.17);border-color:rgba(255,101,112,.6);color:#fff}
.news-page .news-v461-featured{display:grid;gap:16px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
.news-page .news-v461-lead{isolation:isolate;min-height:370px;border-radius:22px;overflow:hidden;border:1px solid var(--nv72-stroke);background:radial-gradient(circle at 70% 25%,#26354e,#101827 65%)}
.news-page .news-v461-lead>img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}
.news-page .news-v461-lead .news-v461-shade{z-index:1}
.news-page .news-v461-lead>div{z-index:2;position:relative}
.news-page .news-v461-lead h2{font-size:clamp(1.5rem,2.25vw,2.4rem);line-height:1.15;max-width:30ch}
.news-page .news-v461-side{display:grid;gap:14px;min-width:0}
.news-page .news-v461-side>a{position:relative;overflow:hidden;border:1px solid var(--nv72-stroke);border-radius:17px;background:var(--nv72-surface);min-height:0}
.news-page .news-v461-side>a img{object-fit:cover}
.news-page .news-v461-side strong{font-size:1.05rem;line-height:1.32}
.news-page .news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,22px)}
.news-page .news-card{height:100%;border:1px solid var(--nv72-stroke);border-radius:19px;background:var(--nv72-surface);overflow:hidden;display:flex;flex-direction:column}
.news-page .news-card>a:first-child{display:block;aspect-ratio:16/9;position:relative;background:linear-gradient(135deg,#202f48,#0b1320);overflow:hidden}
.news-page .news-card>a:first-child img{display:block;width:100%;height:100%;object-fit:cover}
.news-page .news-card>div:last-child{display:flex;flex-direction:column;gap:8px;flex:1;padding:16px}
.news-page .news-card h2{font-size:clamp(1.05rem,1.4vw,1.3rem);line-height:1.35}
.news-page .news-card p{color:var(--nv72-muted);line-height:1.52}
.news-page .news-card .news-v461-more{margin-top:auto;align-self:flex-start;color:#ff7d87;font-weight:750}
.news-page .news-v461-latest{margin-top:clamp(22px,3vw,40px)}
.news-page .news-v461-result{border-radius:14px}
/* Retro: decade navigation, balanced poster cards and reliable text wrapping. */
.retro-zone-v3 .retro-hero{background:radial-gradient(ellipse at 84% 35%,rgba(230,0,18,.17),transparent 48%),linear-gradient(135deg,#111e32,#0b1321)}
.retro-zone-v3 .retro-hero .shell{min-width:0}
.retro-zone-v3 .retro-hero h1{font-size:clamp(2rem,4.1vw,3.8rem)}
.retro-zone-v3 .retro-hero p{max-width:66ch;line-height:1.65;color:#d1dbea}
.retro-zone-v3 .retro-hero-feature{border:1px solid rgba(232,239,255,.18);border-radius:19px;overflow:hidden;background:rgba(14,22,35,.91)}
.retro-zone-v3 .retro-hero-feature img{object-fit:contain;background:#0e1725}
.retro-zone-v3 .retro-era-strip>div:last-child{display:flex;gap:9px;overflow-x:auto;padding-bottom:10px;scrollbar-width:thin}
.retro-zone-v3 .retro-era-strip a{flex-shrink:0;border-radius:13px;border:1px solid var(--nv72-stroke)}
.retro-zone-v3 .retro-era-strip a.active{border-color:rgba(255,112,123,.72);background:rgba(230,0,18,.13)}
.retro-zone-v3 .retro-filters{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.retro-zone-v3 .retro-filters :where(input,select){flex:1 1 170px;width:auto;min-width:0}
.retro-zone-v3 .retro-grid-v4{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(12px,1.5vw,20px)}
.retro-zone-v3 .retro-game-card-v4{border:1px solid var(--nv72-stroke);border-radius:17px;background:var(--nv72-surface);overflow:hidden;min-width:0}
.retro-zone-v3 .retro-game-media-v4{position:relative;aspect-ratio:3/4;background:#0c1727;overflow:hidden}
.retro-zone-v3 .retro-game-media-v4 img{width:100%;height:100%;object-fit:cover;display:block}
.retro-zone-v3 .retro-card-badges{z-index:2}
.retro-zone-v3 .retro-game-copy-v4{min-width:0;padding:13px 12px 15px}
.retro-zone-v3 .retro-game-copy-v4>strong{display:block;line-height:1.37;min-height:2.7em;overflow-wrap:anywhere}
.retro-zone-v3 .retro-game-copy-v4>p{color:#ff717c;font-weight:750}
/* Amiibo: merchandise-style display with contain not crop, visible collection state. */
.nv411-amiibo-directory .directory-hero{background:radial-gradient(circle at 80% 45%,rgba(230,0,18,.12),transparent 45%),#101a29}
.nv411-amiibo-directory .directory-hero h1{font-size:clamp(2.2rem,4vw,3.6rem)}
.nv411-amiibo-directory .amiibo-directory-summary{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;border:1px solid var(--nv72-stroke);border-radius:18px;padding:16px 20px;background:#151f31}
.nv411-amiibo-directory .hardware-filters{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.nv411-amiibo-directory .hardware-filters :where(input,select){flex:1 1 170px;min-width:0}
.nv411-amiibo-directory .amiibo-public-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(12px,1.5vw,20px)}
.nv411-amiibo-directory .amiibo-browser-card{display:flex;flex-direction:column;height:100%;border:1px solid var(--nv72-stroke);border-radius:19px;background:var(--nv72-surface);overflow:hidden;min-width:0}
.nv411-amiibo-directory .amiibo-browser-card.is-owned{border-color:rgba(255,88,99,.55)}
.nv411-amiibo-directory .amiibo-browser-link{min-width:0;flex:1;display:flex;flex-direction:column}
.nv411-amiibo-directory .amiibo-browser-media{position:relative;aspect-ratio:1/1;background:radial-gradient(circle at 50% 38%,#2b3b56,#131d2d 70%);overflow:hidden}
.nv411-amiibo-directory .amiibo-browser-media img{width:100%;height:100%;object-fit:contain;padding:12px;display:block}
.nv411-amiibo-directory .amiibo-browser-copy{padding:12px 13px;min-width:0;overflow-wrap:anywhere}
.nv411-amiibo-directory .amiibo-browser-copy>strong{display:block;line-height:1.32;font-size:1.03rem}
.nv411-amiibo-directory .amiibo-browser-actions{margin-top:auto;padding:10px 13px 14px}
.nv411-amiibo-directory .amiibo-browser-actions :where(a,button){width:100%;min-height:42px}
.nv411-amiibo-directory .amiibo-owned-badge{z-index:3}
.amiibo-detail .amiibo-hero{border:1px solid var(--nv72-stroke);border-radius:23px;overflow:hidden;background:linear-gradient(140deg,#18243a,#0d1624);padding:clamp(15px,2.8vw,32px)}
.amiibo-detail .amiibo-detail-image{position:relative;display:grid;place-items:center;min-height:250px;border-radius:18px;background:radial-gradient(circle,#2e3b55,#121b2a 72%);overflow:hidden}
.amiibo-detail .amiibo-detail-image img{max-height:420px;width:100%;height:100%;object-fit:contain;padding:clamp(10px,2vw,22px)}
.amiibo-detail .amiibo-hero h1{font-size:clamp(2rem,3.6vw,3.4rem)}
.amiibo-detail .platform-section{border:1px solid var(--nv72-stroke);border-radius:19px;background:#111c2c;padding:clamp(16px,2.4vw,26px)}
.amiibo-detail .amiibo-compat-tools{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.amiibo-detail .amiibo-compat-tools :where(input,select){flex:1 1 190px;min-width:0}
.amiibo-detail .amiibo-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.amiibo-detail .amiibo-game-card{border:1px solid var(--nv72-stroke);border-radius:15px;overflow:hidden;background:#192538;min-width:0}
.amiibo-detail .amiibo-game-card img{max-width:125px;object-fit:cover}
.amiibo-detail .amiibo-game-card[hidden]{display:none!important}
/* Pagination reused by editorial and amiibo, with query filters retained by PHP. */
.nv72-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;margin:30px auto 12px;color:#cbd7ec}
.nv72-pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:112px;padding:8px 14px;border:1px solid var(--nv72-stroke);border-radius:12px;background:#18273b;color:#f7f8ff;text-decoration:none;font-weight:750}
.nv72-pagination a:hover{border-color:#ff727b;background:rgba(230,0,18,.17)}
.nv72-pagination span{font-variant-numeric:tabular-nums;font-size:.95rem}
/* Media error fallback — no third-party assets, no network probing. */
:where(.retro-game-media-v4,.amiibo-browser-media,.amiibo-detail-image,.nv-game-cover-v4,.nv-explore-media,.news-card>a:first-child,.nv-news-lead,.news-v461-lead,.retro-hero-feature,.amiibo-game-card){position:relative}
.nv72-missing-media>img[hidden]{display:none!important}
.nv72-media-placeholder{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;pointer-events:none;background:radial-gradient(circle at 50% 30%,#283952,#111d2c 75%);color:#cad7ea;text-align:center}
.nv72-media-placeholder b{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;border:2px solid rgba(255,96,110,.65);font-size:2rem;font-weight:900;color:#ff6372;box-shadow:inset 0 0 16px rgba(230,0,18,.12)}
.nv72-media-placeholder small{font-size:.7rem;letter-spacing:.02em}
.news-v461-lead .nv72-media-placeholder{z-index:0}
.retro-game-media-v4 .nv72-media-placeholder{z-index:0}
.amiibo-browser-media .nv72-media-placeholder{z-index:0}
/* Predictable hover without motion-only feedback. */
@media(hover:hover){:where(.news-page .news-card,.retro-zone-v3 .retro-game-card-v4,.nv411-amiibo-directory .amiibo-browser-card){transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}:where(.news-page .news-card,.retro-zone-v3 .retro-game-card-v4,.nv411-amiibo-directory .amiibo-browser-card):hover{transform:translateY(-3px);border-color:rgba(255,115,125,.65);box-shadow:var(--nv72-shadow)}}
@media(max-width:1200px){.retro-zone-v3 .retro-grid-v4{grid-template-columns:repeat(5,minmax(0,1fr))}.nv411-amiibo-directory .amiibo-public-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.news-page .news-v461-featured{grid-template-columns:minmax(0,1fr)}.news-page .news-v461-side{grid-template-columns:repeat(2,minmax(0,1fr))}.news-page .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.retro-zone-v3 .retro-grid-v4{grid-template-columns:repeat(4,minmax(0,1fr))}.nv411-amiibo-directory .amiibo-public-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nv55-home .nv-hero-static-card{max-width:100%}}
@media(max-width:700px){.nv55-home .nv-hero{min-height:unset;border-radius:18px}.nv55-home .nv-hero-bg:after{background:linear-gradient(90deg,rgba(5,9,18,.94),rgba(5,9,18,.62)),linear-gradient(0deg,rgba(5,9,18,.3),transparent)}.nv55-home .nv-hero-inner{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:clamp(20px,5vw,28px)}.nv55-home .nv-hero-copy h1{font-size:clamp(1.9rem,7vw,2.75rem)}.nv55-home .nv-hero-stats{gap:7px}.nv55-home .nv-hero-stats span{flex:1 1 100px}.nv55-home .nv-hero-actions .btn{width:100%;justify-content:center}.nv55-home .nv-hero-static-card{position:relative;inset:auto;width:100%}.news-page .news-v461-head{align-items:stretch;flex-direction:column}.news-page .news-v461-search{min-width:0;width:100%}.news-page .news-v461-lead{min-height:340px}.retro-zone-v3 .retro-grid-v4{grid-template-columns:repeat(3,minmax(0,1fr))}.nv411-amiibo-directory .amiibo-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amiibo-detail .amiibo-game-grid{grid-template-columns:1fr}}
@media(max-width:480px){.news-page .news-grid{grid-template-columns:1fr}.news-page .news-v461-side{grid-template-columns:1fr}.news-page .news-v461-side>a{min-height:150px}.news-page .news-v461-lead{min-height:325px}.retro-zone-v3 .retro-grid-v4{grid-template-columns:repeat(2,minmax(0,1fr))}.retro-zone-v3 .retro-game-copy-v4{padding:10px}.nv411-amiibo-directory .amiibo-public-grid{gap:10px}.nv411-amiibo-directory .amiibo-browser-copy{padding:10px}.nv411-amiibo-directory .amiibo-browser-actions{padding:8px 10px 12px}.nv72-pagination{gap:8px}.nv72-pagination a{min-width:unset;flex:1}}
@media(prefers-reduced-motion:reduce){:where(.news-page .news-card,.retro-zone-v3 .retro-game-card-v4,.nv411-amiibo-directory .amiibo-browser-card){transform:none!important;transition:none!important}}

/* Keep fallback graphics behind headlines and compatible-game information. */
.news-page .news-v461-side>a>div,.retro-zone-v3 .retro-hero-feature>div,.nv55-home .nv-news-lead-copy{position:relative;z-index:2}
.news-v461-side .nv72-media-placeholder,.retro-hero-feature .nv72-media-placeholder,.nv-news-lead .nv72-media-placeholder{z-index:0}
.amiibo-detail .amiibo-game-card .nv72-media-placeholder{position:relative;inset:auto;flex:0 0 125px;align-self:stretch;min-height:140px}
.amiibo-detail .amiibo-game-card .nv72-media-placeholder b{width:42px;height:42px;font-size:1.35rem}
@media(max-width:480px){.amiibo-detail .amiibo-game-card .nv72-media-placeholder{flex-basis:95px;min-height:115px}}
