/* STAN's shared editorial identity: restrained and accessible. */
.stan-brandmark{display:inline-block;flex:0 0 auto;width:30px;height:30px;vertical-align:middle;object-fit:contain}
.stan-header .logo{display:inline-flex;align-items:center;gap:9px}
.stan-header .logo .stan-brandmark{width:31px;height:31px}
.stan-editorial-mark{display:block;width:36px;height:36px;margin:0 0 12px;object-fit:contain}
.stan-brand-footer{display:flex;align-items:center;gap:10px;margin:24px 0 8px;font:700 14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#254b32}
.stan-brand-footer img{width:25px;height:25px}
@media(max-width:400px){.stan-header .logo .stan-brandmark{width:25px;height:25px}.stan-header .logo{gap:5px}}

/* The site has several legacy templates: not every home link has .logo. */
.stan-header > a:has(> .stan-brandmark){display:inline-flex!important;align-items:center!important;gap:9px;white-space:nowrap;text-decoration:none}
.stan-header > a > .stan-brandmark{width:31px;height:31px;display:inline-block;flex-shrink:0}
.stan-brand-footer{justify-content:center;flex-wrap:wrap;line-height:1.5}
@media(max-width:400px){.stan-header > a > .stan-brandmark{width:25px;height:25px}.stan-header > a:has(> .stan-brandmark){gap:5px}}

/* Shared 2026 editorial visual system: accessible, no external dependencies. */
:root{--stan-forest:#0f3d2e;--stan-sage:#2e6b57;--stan-mist:#edf3eb;--stan-ink:#0b2b22;--stan-line:#dce6dc}
html{scroll-behavior:smooth}
body{font-variant-numeric:lining-nums}
:where(main) :where(h1,h2,h3){text-wrap:balance}
:where(main) :where(p){text-wrap:pretty}
:where(main) a:focus-visible{outline:3px solid var(--stan-sage);outline-offset:4px;border-radius:3px}
:where(main) :where(.stan-chart,.stan-evidence-bars){box-shadow:0 8px 28px rgba(15,61,46,.045)}
:where(main) :where(.stan-chart-fill,.stan-evidence-track i){background:linear-gradient(90deg,#2e6b57,#60917b)}
:where(main) .stan-chart-row:hover,:where(main) .stan-evidence-row:hover{background:rgba(167,199,184,.13)}
:where(main) :where(.stan-chart-row,.stan-evidence-row){border-radius:5px;transition:background .15s ease}
:where(main) #stan-history-context,:where(main) #stan-archive-history-route,:where(main) #stan-history-spotlight{position:relative;overflow:hidden}
:where(main) #stan-history-context::before,:where(main) #stan-archive-history-route::before,:where(main) #stan-history-spotlight::before{content:"";position:absolute;right:-40px;top:-45px;width:160px;height:160px;border:1px solid rgba(46,107,87,.13);border-radius:50%;pointer-events:none}
:where(main) #stan-history-context a,:where(main) #stan-archive-history-route a,:where(main) #stan-history-spotlight a{text-underline-offset:4px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}:where(main) :where(.stan-chart-row,.stan-evidence-row){transition:none}}
@media(max-width:600px){:where(main) :where(.stan-chart,.stan-evidence-bars){max-width:100%}:where(main) #stan-history-context,:where(main) #stan-archive-history-route{padding:18px!important}}

/* STAN editorial system v2 — shared across all published routes. */
:root{--stan-paper:#f8f7f2;--stan-card:#fff;--stan-muted:#506358;--stan-radius:16px;--stan-shadow:0 8px 28px rgba(11,43,34,.045)}
html{overflow-x:clip}
body{min-width:0;-webkit-font-smoothing:antialiased}
:where(main){min-width:0}
:where(main) :where(h1,h2,h3,h4){color:var(--stan-ink);overflow-wrap:break-word}
:where(main) h1{line-height:1.07;letter-spacing:-.055em}
:where(main) h2{line-height:1.15;letter-spacing:-.04em}
:where(main) :where(p,li){line-height:1.7}
:where(main) :where(p,li,blockquote){overflow-wrap:break-word}
:where(main) :where(a){text-underline-offset:3px;text-decoration-thickness:from-font}
:where(main) :where(a:hover){text-decoration-color:var(--stan-sage)}
:where(main) :where(.card,.season-card,.metrics>div,.stan-chart,.stan-evidence-bars,.table-scroll){min-width:0;box-shadow:var(--stan-shadow)}
:where(main) :where(.card,.season-card,.metrics>div){border-radius:var(--stan-radius);border-color:var(--stan-line)}
:where(main) :where(.card,.season-card){transition:box-shadow .18s ease,transform .18s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 :where(main) :where(.card,.season-card):hover{transform:translateY(-2px);box-shadow:0 14px 35px rgba(11,43,34,.09)}
}
:where(main) :where(.eyebrow,.history-kicker){color:var(--stan-sage);font-weight:800;letter-spacing:.12em}
:where(main) :where(.meta,.source,small){font-variant-numeric:tabular-nums}
:where(main) :where(.btn,.cta){min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
:where(main) :where(.btn,.cta):focus-visible{outline:3px solid var(--stan-sage);outline-offset:3px}
:where(main) :where(.stan-chart-track,.stan-zero-track,.stan-evidence-track){border-radius:6px}
:where(main) :where(.stan-chart-fill,.stan-luck-fill,.stan-evidence-track i){border-radius:5px}
:where(main) :where(.stan-chart-row strong,.stan-evidence-row strong,.metrics strong){font-variant-numeric:tabular-nums}
:where(main) :where(.table-scroll){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
:where(main) :where(table){font-variant-numeric:tabular-nums}
:where(main) :where(th){white-space:normal}
:where(main) :where(tr:hover td){background:rgba(167,199,184,.09)}
:where(main) :where(blockquote){margin-inline:0;padding:14px 22px;border-left:3px solid var(--stan-sage);background:var(--stan-mist);border-radius:0 10px 10px 0}
:where(main) :where(img,svg,video,canvas){max-width:100%;height:auto}
:where(main) :where(.stan-brandmark,.stan-editorial-mark){height:revert-layer}
:where(main) :where(.stan-brandmark){width:31px;height:31px}
:where(main) :where(.stan-editorial-mark){width:36px;height:36px}
:where(main) :where(details){max-width:100%}
:where(main) :where(summary){cursor:pointer}
:where(main) :where(summary:focus-visible){outline:3px solid var(--stan-sage);outline-offset:3px}
@media(max-width:760px){
 :where(main){padding-left:max(16px,env(safe-area-inset-left))!important;padding-right:max(16px,env(safe-area-inset-right))!important}
 :where(main) :where(.card,.season-card){padding:clamp(17px,4vw,24px)}
 :where(main) :where(.metrics){grid-template-columns:repeat(3,minmax(0,1fr))}
 :where(main) :where(.metrics strong){font-size:clamp(22px,6vw,34px)}
 :where(main) :where(.stan-chart){overflow:hidden}
 :where(main) :where(h1){hyphens:auto}
}
@media(max-width:430px){
 :where(main) :where(.metrics){gap:7px}
 :where(main) :where(.metrics>div){padding:12px}
 :where(main) :where(.metrics span){font-size:11px}
 :where(main) :where(.stan-chart-row){grid-template-columns:minmax(72px,100px) minmax(40px,1fr) minmax(55px,70px)}
}
@media(prefers-reduced-motion:reduce){:where(main) :where(.card,.season-card){transition:none;transform:none!important}}
@media print{.stan-menu-toggle{display:none!important}:where(main) :where(.card,.season-card,.stan-chart){box-shadow:none!important;break-inside:avoid}body{background:white!important}}

/* 2026-10-23 iPhone acceptance pass: clean margins and readable charts. */
@supports (padding:env(safe-area-inset-top)){
  body{padding-bottom:env(safe-area-inset-bottom,0px)}
  header.stan-header{padding-left:max(18px,env(safe-area-inset-left,0px))!important;padding-right:max(18px,env(safe-area-inset-right,0px))!important}
  @media(display-mode:standalone){
    header.stan-header{padding-top:max(18px,env(safe-area-inset-top,0px))!important}
  }
}
:where(main) :where(.stan-editorial-hero){width:100%;max-width:100%;overflow:hidden}
:where(main) :where(.stan-editorial-hero img){display:block;max-width:100%;width:100%;height:auto;object-fit:contain}
:where(main) :where(.stan-chart,.stan-luck-chart,.stan-trend-chart){max-width:100%;min-width:0}
:where(main) :where(.stan-chart svg,.stan-luck-chart svg,.stan-trend-chart svg){display:block;width:100%;height:auto;overflow:visible}
:where(main) :where(.stan-chart-row,.stan-evidence-row){min-width:0}
:where(main) :where(.stan-icon){display:inline-block;flex-shrink:0;vertical-align:-.16em;margin-right:.38em}
:where(main) :where(h2,h3)>.stan-icon{width:20px;height:20px}
:where(main) :where(.eyebrow,.label){overflow-wrap:anywhere}
:where(main) details summary{line-height:1.4}
@media(max-width:600px){
  :where(main) :where(.card,.stat,.panel,.intel-dossier){max-width:100%;min-width:0}
  :where(main) :where(.stan-editorial-hero){margin-bottom:20px}
  :where(main) :where(h1){font-size:clamp(32px,9vw,58px);overflow-wrap:anywhere}
  :where(main) :where(h2){font-size:clamp(24px,6.1vw,38px)}
  :where(main) :where(p,li){font-size:clamp(15px,4vw,18px);line-height:1.62}
  :where(main) :where(.eyebrow,.label){font-size:clamp(10px,2.8vw,13px);letter-spacing:.095em}
  :where(main) :where(.stan-chart){overflow-x:auto;-webkit-overflow-scrolling:touch}
  :where(main) :where(.stan-chart svg){min-width:0}
  :where(main) :where(.stan-chart-row){gap:7px}
  :where(main) :where(.stan-historical-stats){margin-block:16px!important}
}

/* Canonical five-bar football vector in masthead/footer; raster stays app icon. */
.stan-header .stan-brandmark,.stan-header .logo .stan-brandmark,.stan-header>a>.stan-brandmark{width:40px!important;height:24px!important;object-fit:contain}
.stan-brand-footer img{width:35px!important;height:21px!important;object-fit:contain}
.stan-editorial-mark{width:45px!important;height:26px!important;object-fit:contain}
@media(max-width:480px){
 .stan-header .stan-brandmark,.stan-header .logo .stan-brandmark,.stan-header>a>.stan-brandmark{width:34px!important;height:21px!important}
}

/* The exact owner-approved full STAN horizontal mark is the one true masthead. */
.stan-header a:has(>.stan-original-logo),header a:has(>.stan-original-logo){
  display:inline-flex!important;align-items:center!important;flex:0 1 auto!important;
  max-width:calc(100% - 88px);min-width:0;white-space:normal!important;line-height:1!important;
}
header .stan-original-logo{
  display:block;width:clamp(155px,23vw,215px)!important;max-width:100%!important;
  height:auto!important;object-fit:contain;flex:0 1 auto;
}
@media(max-width:480px){
 header .stan-original-logo{width:clamp(145px,45vw,185px)!important}
}
