/* Shared interior chassis. Keep every route inside the same rails as the portal. */
body:has(.vi-masthead)>main,body:has(.vi-masthead)>.page-head,body:has(.vi-masthead)>.W,body:has(.vi-masthead)>.ns-archive-cover,body:has(.vi-masthead)>.ns-section{width:100%;max-width:1489px!important;margin-inline:auto!important;min-width:0}
body:has(.vi-masthead) .W{max-width:1489px!important;min-width:0}
body:has(.vi-masthead) main .W,body:has(.vi-masthead) .page-head .W{max-width:100%!important}
body:has(.vi-masthead):not(.ns-home) .page-head,body:has(.vi-masthead) .ar-hero,body:has(.vi-masthead) .ns-archive-cover{background:var(--vi-metal)!important;color:#e8e5ed!important;border:1px solid #52515a!important;border-top:2px solid #b59a50!important;padding-block:24px!important;min-height:0!important;--text-1:#e8e5ed;--text-2:#bfc0d0;--text-3:#aeb1c4}
body:has(.vi-masthead) :is(.page-title,.vi-hero-title,.ar-title,.ns-archive-title,.brand-hero-h1){font-family:Rajdhani,sans-serif!important;font-weight:700!important;font-size:clamp(32px,3.6vw,60px)!important;line-height:1.05!important;letter-spacing:.01em!important;color:#e8e5ed!important;margin-block:10px 16px!important}
body:has(.vi-masthead) :is(.page-dek,.ar-dek){font-size:15px!important;line-height:1.65!important;color:#bec0d0!important;max-width:80ch}
body:has(.vi-masthead) :is(.page-eyebrow,.section-label){color:#d8b452!important}
body:has(.vi-masthead) :is(.C,.leader-card,.pcard,.poll-card,.soc-card,.ns-depth-panel,.ar-sidebar>section){background:var(--vi-metal)!important;border:1px solid #44454e!important;border-radius:0!important;box-shadow:inset 0 0 0 2px #090c0e}
body:has(.vi-masthead) :is(.section-label,.CL,.depth-title,.ns-panel-heading h2,.soc-feed-head){font-family:Rajdhani,sans-serif!important;letter-spacing:.6px}
body:has(.vi-masthead) .ar-hero-body{padding:16px 24px!important;max-width:100%!important}
body:has(.vi-masthead) .ar-breadcrumb{margin-bottom:16px!important;color:#bfc0d0!important}
body:has(.vi-masthead) :is(.ar-breadcrumb a,.ar-pill,.ar-byline,.ar-byline a,.ar-byline-name,.ar-byline-date){color:#c5c2d4!important}
body:has(.vi-masthead) .ar-hero-img{display:none}
body:has(.vi-masthead) .ar-meta-pills{margin-bottom:12px!important}
body:has(.vi-masthead) .ar-body{font-size:17px;line-height:1.8}
body:has(.vi-masthead) main :is(img,video,iframe){max-width:100%}
body:has(.vi-masthead) main :is(.tool-bar,.ar-layout,.ar-grid){min-width:0}
@media(max-width:700px){body:has(.vi-masthead) main.W,body:has(.vi-masthead) main .W,body:has(.vi-masthead) .page-head .W{padding-inline:12px!important}body:has(.vi-masthead) .ar-hero-body{padding:12px!important}body:has(.vi-masthead) :is(.page-title,.vi-hero-title,.ar-title){font-size:34px!important}}
body:has(.vi-masthead) :is(.ns-depth,.ns-horn-item,.ns-saved-row,.corr-item){background:var(--vi-metal)!important;border:1px solid #44454e!important;padding:18px!important}
body:has(.vi-masthead) :is(.ns-depth-heading h2,.ns-depth-qbs strong,.ar-body h2,.ar-body h3,.ns-horn-item h2){font-family:Rajdhani,sans-serif!important}
body:has(.vi-masthead) :is(.ns-horn-cover,.ns-editorial-cover,.brand-hero,.corrections-hero){background:var(--vi-metal)!important;padding-block:24px!important;border-bottom:1px solid #55515b}
body:has(.vi-masthead) :is(.ns-horn-cover h1,.ns-editorial-cover h1,.corrections-hero h1){font:700 clamp(34px,4vw,64px)/1.1 Rajdhani,sans-serif!important;letter-spacing:.01em!important}
body:has(.vi-masthead) .ar-hero{display:block!important;padding:0!important}
body:has(.vi-masthead) .ar-hero-img{display:block;position:relative!important;inset:auto!important;height:240px;opacity:1!important;overflow:hidden}
body:has(.vi-masthead) .ar-hero-img img{width:100%;height:100%;object-fit:cover}
body:has(.vi-masthead) .ar-hero--text .ar-hero-img{display:none}
body:has(.vi-masthead) .ar-hero-body{display:block!important;padding:24px!important}
body:has(.vi-masthead) .ar-title{max-width:36ch!important}
body:has(.vi-masthead) .ar-byline{justify-content:flex-start!important;padding-top:14px!important}
body:has(.vi-masthead) .ar-byline .ns-save{margin-left:0!important;color:#d6c2fa!important;border-color:#78628e!important}
body:has(.vi-masthead) .ar-byline-sub{color:#bfc0d0!important}
body:has(.vi-masthead) .ar-sidebar>section{padding:16px}
body:has(.vi-masthead) .ar-rp{left:max(0px,calc((100% - 1489px)/2));max-width:1489px}
@media(max-width:700px){body:has(.vi-masthead) .ar-hero-img{height:180px}body:has(.vi-masthead) .ar-hero-body{padding:16px!important}}
body:has(.vi-masthead) .ar-hero-body{min-height:0!important}
/* Roster filters remain in flow; a floating bar obscures position cards on scroll. */
/* Shared schedule/scores summary: continuous steel with quiet inset dividers. */
body:has(.vi-masthead) .ssn-filterbar{position:static;top:auto;z-index:auto}
body:has(.vi-masthead) .ssn-stats{gap:1px;background:#34353d;border:1px solid #44454e;border-radius:0;overflow:hidden}
body:has(.vi-masthead) .ssn-stat{min-width:0;background:var(--vi-metal);border:0;border-radius:0;padding:18px;box-shadow:inset 0 1px #ffffff08;transition:none}
body:has(.vi-masthead) .ssn-stat:hover{transform:none;box-shadow:inset 0 1px #ffffff08}
body:has(.vi-masthead) .ns-roster-controls{position:static;top:auto;z-index:auto}
/* Category briefing: compact masthead and centered, padded story rows. */
body.ns-discovery:has(.vi-masthead) main{animation:none!important}
body.ns-discovery:has(.vi-masthead) .cat-hero{padding:20px 22px!important;margin:12px 0 16px!important;background:var(--vi-metal);border:1px solid #50505b;border-top:2px solid #b89a50}
body.ns-discovery:has(.vi-masthead) .cat-hero h1{font:700 clamp(32px,3.5vw,52px)/1.1 Rajdhani,sans-serif!important;margin:0 0 10px!important;letter-spacing:.03em}
body.ns-discovery:has(.vi-masthead) .cat-hero-desc{font-size:15px!important;margin:0 0 12px!important;color:#c0c1d0}
body.ns-discovery:has(.vi-masthead) .cat-hero-count{font:600 12px Rajdhani,sans-serif;letter-spacing:1px;color:#d9b450}
body.ns-discovery:has(.vi-masthead) main>.C{background:none!important;border:0!important;box-shadow:none;display:grid;gap:10px;overflow:visible}
body.ns-discovery:has(.vi-masthead) .FI{display:flex!important;align-items:center!important;gap:24px;padding:20px 24px!important;background:var(--vi-metal);border:1px solid #454650!important;border-left:3px solid #6f5195!important;min-width:0;text-decoration:none}
body.ns-discovery:has(.vi-masthead) .FI>div:first-child{min-width:0;flex:1}
body.ns-discovery:has(.vi-masthead) .FI .FT{font:600 clamp(21px,2vw,29px)/1.2 Rajdhani,sans-serif!important;letter-spacing:0!important;overflow-wrap:anywhere}
body.ns-discovery:has(.vi-masthead) .FI .result-excerpt{font-size:13px!important;line-height:1.6!important;max-width:85ch;margin:10px 0}
body.ns-discovery:has(.vi-masthead) .FI .f-jm{align-self:center;padding:12px 0 12px 20px!important;border-left:1px solid #42414a;color:#b9b7cc!important;min-width:85px!important}
body.ns-discovery:has(.vi-masthead) .FI:hover{border-left-color:#e0b849!important;background-color:#18131f}
@media(max-width:700px){body.ns-discovery:has(.vi-masthead) .FI{padding:16px!important;gap:12px;flex-wrap:wrap}body.ns-discovery:has(.vi-masthead) .FI>div:first-child{flex-basis:100%}body.ns-discovery:has(.vi-masthead) .FI .f-jm{flex-direction:row!important;gap:14px!important;padding:0!important;border:0}body.ns-discovery:has(.vi-masthead) .cat-hero{padding:16px!important}}
body.ns-discovery:has(.cat-hero) .FI>div{align-items:center!important;width:100%}
@media(max-width:700px){body.ns-discovery:has(.cat-hero) .FI>div{flex-wrap:wrap}body.ns-discovery:has(.cat-hero) .FI>div>div:first-child{flex-basis:100%!important}}
