/* Warhammer Guide UI icon and scoped End Times environment overrides. */
.ui-emblem{display:inline-block;flex:none;object-fit:contain;vertical-align:middle}
.brand .ui-emblem{width:44px;height:44px}
.header-actions .ui-emblem{width:22px;height:22px}
.search-top .ui-emblem,#ad-settings-dialog .ui-emblem{width:20px;height:20px}
.ui-control-label{display:inline;white-space:nowrap;font-size:.78em;line-height:1.2}
.site-header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:58px;padding:6px 9px}
.site-header .menu-toggle .ui-control-label{font-size:12px;font-weight:600}
#search-dialog .search-top #close-search,#ad-settings-dialog .ad-dialog-top [data-ad-close]{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:68px;min-height:34px;padding:5px 8px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink);font:inherit;font-size:12px;line-height:1}
#search-dialog .search-top #close-search .ui-control-label,#ad-settings-dialog .ad-dialog-top [data-ad-close] .ui-control-label{font-size:12px}
.portal-home-v2 .hub-hero{position:relative}
.portal-home-v2 .hub-hero-art img,.portal-home-v2 .game-card.game-warhammer-3 .game-card-art img{display:block;width:100%;height:100%;object-fit:cover}
.portal-home-v2 .hub-hero-art img{object-position:64% 45%}
.portal-home-v2 .game-card.game-warhammer-3 .game-card-art img{object-position:65% 48%}
.portal-home-v2 .hero-art-note.endtimes-attribution{position:absolute;right:18px;bottom:16px;z-index:3;max-width:min(420px,45%);padding:5px 9px;border-radius:4px;background:#0b121dcc;color:#eee7d6;font-size:11px;line-height:1.5;letter-spacing:.2px}
.endtimes-page .article-hero{position:relative;isolation:isolate;overflow:hidden;background-color:#080d0c}
.endtimes-page .article-hero .hero-art{position:absolute;inset:0;z-index:0;background-color:#080d0c;background-size:cover;background-repeat:no-repeat}
.endtimes-page .article-hero:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#050a09f5 0%,#050a09db 38%,#050a0970 72%,#050a0915 100%),linear-gradient(0deg,#050a09b8 0%,transparent 38%)}
.endtimes-page .article-hero-inner{position:relative;z-index:2}
.endtimes-page .endtimes-art-note{position:relative;z-index:2;width:min(1200px,84%);margin:0 auto;padding:0 0 14px;color:#e7e0d0;font-size:12px;line-height:1.45;text-shadow:0 1px 6px #000}
.endtimes-page[data-endtimes-scene="hub"] .article-hero .hero-art{background-image:url("/assets/endtimes-burial-fields.webp");background-position:64% center}
.endtimes-page[data-endtimes-scene="necropolis"] .article-hero .hero-art{background-image:url("/assets/endtimes-necropolis.webp");background-position:64% center}
.endtimes-page[data-endtimes-scene="nagash"] .article-hero .hero-art{background-image:url("/assets/nagash-obsidian-horizon.webp");background-position:70% center}
.endtimes-page[data-endtimes-scene="battlefield"] .article-hero .hero-art{background-image:url("/assets/endtimes-burial-fields.webp");background-position:68% center}
@media(max-width:760px){
 .site-header .menu-toggle{gap:4px;min-width:55px;padding:5px 6px}
 .header-actions .ui-emblem{width:20px;height:20px}
 .portal-home-v2 .hub-hero-art img{object-position:66% center}
 .portal-home-v2 .hero-art-note.endtimes-attribution{right:10px;bottom:9px;max-width:74%;font-size:10px}
 .endtimes-page .article-hero:after{background:linear-gradient(90deg,#050a09eb 0%,#050a09b8 72%,#050a0933 100%),linear-gradient(0deg,#050a09d0 0%,transparent 45%)}
 .endtimes-page .article-hero{flex-direction:column;align-items:stretch}
 .endtimes-page .article-hero-inner{flex:0 0 auto}
 .endtimes-page .endtimes-art-note{flex:0 0 auto;width:86%;margin:0 auto}
 .endtimes-page .article-hero .hero-art{background-position:66% center}
 .endtimes-page[data-endtimes-scene="nagash"] .article-hero .hero-art{background-position:72% center}
 .endtimes-page .endtimes-art-note{width:86%;padding-bottom:13px;font-size:11px}
}
