/* Heritage Editorial: presentation only, loaded after the existing Hub styles.
 * Every selector is scoped to the shortcode. Host theme and administration stay intact. */
@font-face{font-family:'HH Cormorant';src:url('fonts/cormorant-garamond-400.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'HH Cormorant';src:url('fonts/cormorant-garamond-600.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'HH Cormorant';src:url('fonts/cormorant-garamond-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'HH Jakarta';src:url('fonts/plus-jakarta-sans-400.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'HH Jakarta';src:url('fonts/plus-jakarta-sans-600.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'HH Jakarta';src:url('fonts/plus-jakarta-sans-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
.sfhl-history-hub{
  --hh-ice:#f5efe3;--hh-paper:#f5efe3;--hh-ink:#193c34;--hh-muted:#59635d;
  --hh-line:#b9b7aa;--hh-control:#7c8275;--hh-teal:#193c34;--hh-teal-hover:#294f43;
  --hh-wash:#ebe7da;--hh-brass:#9b7a3d;--hh-success:#193c34;--hh-success-wash:#e3e6d8;
  --hh-warning:#675028;--hh-warning-wash:#eee3cb;--hh-error:#8a3435;
  --hh-display:'HH Cormorant',Georgia,serif;--hh-body:'HH Jakarta',system-ui,sans-serif;
  background:var(--hh-paper);color:var(--hh-ink);font:400 16px/1.65 var(--hh-body);
}
.sfhl-history-hub .hh-shell{max-width:1440px;margin-inline:auto}
.sfhl-history-hub :where(h1,h2,h3,h4){font-family:var(--hh-display);font-weight:600;letter-spacing:-.025em}
.sfhl-history-hub h2{font-size:clamp(32px,3.2vw,44px);margin:56px 0 24px;line-height:1.05}
.sfhl-history-hub h3{font-size:28px;line-height:1.15}
.sfhl-history-hub p{line-height:1.7}
.sfhl-history-hub :where(button,input,select,textarea){font-family:var(--hh-body)}
.sfhl-history-hub :where(a,button,input,select,summary){transition:color .2s,background-color .2s,border-color .2s}
.sfhl-history-hub :where(a,button,input,select,summary,[tabindex]):focus-visible{
  outline:2px solid var(--hh-ink);outline-offset:4px;box-shadow:0 0 0 2px var(--hh-paper);
}
.sfhl-history-hub .hh-brand{background:var(--hh-ink);color:var(--hh-paper);padding:24px 48px;gap:24px}
.sfhl-history-hub .hh-wordmark{color:var(--hh-paper);gap:24px;font:600 16px/1.1 var(--hh-body);letter-spacing:.08em}
.sfhl-history-hub .hh-wordmark small{font:400 10px/1.5 var(--hh-body);letter-spacing:.12em;color:var(--hh-paper);opacity:.85}
.sfhl-history-hub .hh-wordmark>span:last-child{color:#d4ba82;text-transform:uppercase;font-size:12px;letter-spacing:.18em}
.sfhl-history-hub .hh-wordmark>span:last-child small{text-transform:none;letter-spacing:.04em}
.sfhl-history-hub .hh-league-mark{display:block;flex:0 0 auto;width:auto;height:auto;border:0;border-right:1px solid var(--hh-line);border-radius:0;padding-right:24px;transform:none;font:600 38px/1 var(--hh-display);letter-spacing:-.04em}
.sfhl-history-hub .hh-brand>span{font-size:11px;letter-spacing:.06em;color:var(--hh-paper);max-width:27ch}
.sfhl-history-hub .hh-nav{padding:0 48px;background:var(--hh-ink);gap:28px;border:0;border-bottom:1px solid var(--hh-control);flex-wrap:wrap}
.sfhl-history-hub .hh-nav a{font:600 11px/1.4 var(--hh-body);letter-spacing:.1em;text-transform:uppercase;color:var(--hh-paper);min-height:48px;border-bottom:3px solid transparent}
.sfhl-history-hub .hh-nav a.is-active{color:var(--hh-paper);border-color:var(--hh-brass)}
.sfhl-history-hub .hh-nav a:hover{background:transparent;border-color:var(--hh-paper);color:var(--hh-paper)}
.sfhl-history-hub .hh-nav a:focus-visible,.sfhl-history-hub .hh-wordmark:focus-visible{outline-color:var(--hh-paper);box-shadow:none}
.sfhl-history-hub .hh-main{padding:48px;min-width:0}
.sfhl-history-hub .hh-main:focus{outline:none}
.sfhl-history-hub .hh-skip{background:var(--hh-paper);color:var(--hh-ink);font-weight:600;min-height:44px}
.sfhl-history-hub .hh-eyebrow{font:600 10px/1.6 var(--hh-body);letter-spacing:.18em;color:var(--hh-muted)}
.sfhl-history-hub .hh-section-nav{border-bottom:1px solid var(--hh-line);gap:8px 24px;padding-bottom:18px;margin-bottom:32px;font-size:12px}
.sfhl-history-hub .hh-section-nav strong{font-size:10px;text-transform:uppercase;letter-spacing:.14em}
.sfhl-history-hub .hh-section-nav a{display:inline-flex;align-items:center;min-height:44px}
.sfhl-history-hub .hh-breadcrumbs{font-size:12px;letter-spacing:.02em}
.sfhl-history-hub .hh-page-title h2{font-size:clamp(40px,4.5vw,64px);font-weight:600;line-height:1.04;letter-spacing:-.035em}
.sfhl-history-hub .hh-overview-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;align-items:start;padding:0 0 40px}
.sfhl-history-hub .hh-overview-title{font-size:clamp(60px,7.2vw,104px);line-height:.87;letter-spacing:-.055em;max-width:none;margin:20px 0 24px;font-weight:600}
.sfhl-history-hub .hh-hero-deck{font:400 clamp(24px,2.5vw,34px)/1.15 var(--hh-display);color:var(--hh-ink);max-width:26ch;margin-bottom:24px}
.sfhl-history-hub .hh-hero>p:not(.hh-hero-deck){font-size:14px;max-width:46ch}
.sfhl-history-hub .hh-hero-visual{min-width:0}
.sfhl-history-hub .hh-archive-photo{position:relative;margin:0;overflow:hidden;background:var(--hh-wash)}
.sfhl-history-hub .hh-archive-photo img{display:block;width:100%;height:350px;object-fit:cover;filter:grayscale(1);margin:0;padding:0;border:0;border-radius:0;box-shadow:none}
.sfhl-history-hub .hh-archive-photo figcaption{padding:12px 0;background:var(--hh-paper);font:400 17px/1.3 var(--hh-display);text-align:right}
.sfhl-history-hub .hh-archive-photo figcaption small{display:block;margin-top:4px;font:400 9px/1.5 var(--hh-body);text-transform:uppercase;letter-spacing:.12em;color:var(--hh-muted)}
.sfhl-history-hub .hh-heritage{display:grid;grid-template-columns:auto 1fr;gap:0 16px;border-left:0;border-top:1px solid var(--hh-line);padding:16px 0 0;align-items:center}
.sfhl-history-hub .hh-heritage .hh-eyebrow{grid-column:1/-1;margin:0 0 8px}
.sfhl-history-hub .hh-heritage strong{font:400 56px/1 var(--hh-display);letter-spacing:-.03em;color:var(--hh-brass)}
.sfhl-history-hub .hh-heritage>span:not(.hh-eyebrow){font:600 12px/1.5 var(--hh-body)}
.sfhl-history-hub .hh-heritage p{grid-column:1/-1;font-size:11px;line-height:1.65;margin:10px 0 0;max-width:65ch}
.sfhl-history-hub .hh-season-browser{display:flex;align-items:center;gap:28px;border-block:1px solid var(--hh-line);padding:8px 0;margin-bottom:40px;min-width:0}
.sfhl-history-hub .hh-season-browser>.hh-eyebrow{flex:0 0 auto;margin:0;color:var(--hh-ink)}
.sfhl-history-hub .hh-season-links{display:flex;gap:28px;min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--hh-brass) transparent}
.sfhl-history-hub .hh-season-links a{display:flex;align-items:center;min-height:48px;flex:0 0 auto;font:600 21px/1 var(--hh-display);text-decoration:none;border-bottom:2px solid transparent}
.sfhl-history-hub .hh-season-links a:hover{border-color:var(--hh-brass)}
.sfhl-history-hub .hh-archive-index{display:grid;grid-template-columns:1fr 1fr;column-gap:48px;margin:16px 0 48px}
.sfhl-history-hub .hh-archive-entry{display:flex;gap:20px;align-items:center;min-width:0;padding:24px 0;border-bottom:1px solid var(--hh-line);text-decoration:none}
.sfhl-history-hub .hh-archive-number{font:400 54px/1 var(--hh-display);color:var(--hh-brass);min-width:56px}
.sfhl-history-hub .hh-archive-entry>span:nth-child(2){flex:1;min-width:0}
.sfhl-history-hub .hh-archive-entry strong{display:block;font:600 30px/1.1 var(--hh-display)}
.sfhl-history-hub .hh-archive-entry small{display:block;font:400 11px/1.65 var(--hh-body);color:var(--hh-muted);margin-top:8px;max-width:38ch}
.sfhl-history-hub .hh-archive-arrow{font-size:26px;font-weight:400}
.sfhl-history-hub .hh-archive-entry:hover{background:var(--hh-wash)}
.sfhl-history-hub .hh-form{gap:16px;margin:28px 0}
.sfhl-history-hub .hh-form>a{display:inline-flex;align-items:center;min-height:48px;padding:8px 0;font-size:12px}
.sfhl-history-hub .hh-form label{font-size:11px;line-height:1.6;font-weight:600;letter-spacing:.025em}
.sfhl-history-hub .hh-form :where(input,select){height:48px;border:1px solid var(--hh-control);border-radius:0;background:transparent;color:var(--hh-ink);font:400 14px/1.5 var(--hh-body)}
.sfhl-history-hub .hh-form input::placeholder{font-size:12px;color:var(--hh-muted);opacity:1}
.sfhl-history-hub .hh-button{border-radius:0;background:var(--hh-ink);border:1px solid var(--hh-ink);color:var(--hh-paper);font:600 20px/1.2 var(--hh-display);min-height:48px;letter-spacing:0;padding:11px 18px}
.sfhl-history-hub .hh-button:hover{background:var(--hh-teal-hover);color:var(--hh-paper)}
.sfhl-history-hub .hh-secondary{background:transparent;color:var(--hh-ink);border-color:var(--hh-control)}
.sfhl-history-hub .hh-secondary:hover{background:var(--hh-wash);color:var(--hh-ink)}
.sfhl-history-hub :where(.hh-stat-grid,.hh-franchise-card,.hh-card,.hh-table-wrap,.hh-champion,.hh-series-card,.hh-empty,.hh-notice,.hh-commentary,.hh-versus article,.hh-mark,.hh-monogram,.hh-share,.hh-badge,.hh-tied){border-radius:0;box-shadow:none}
.sfhl-history-hub .hh-stat-grid{border-block:1px solid var(--hh-line);background:transparent;margin:32px 0 48px}
.sfhl-history-hub .hh-stat-grid>div{padding:24px 20px}
.sfhl-history-hub .hh-stat-grid strong{font:600 48px/1 var(--hh-display)}
.sfhl-history-hub .hh-stat-grid span{font-size:11px}
.sfhl-history-hub .hh-franchise-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px}
.sfhl-history-hub .hh-franchise-card{background:transparent;border-bottom:1px solid var(--hh-line);padding:16px 0;min-width:0}
.sfhl-history-hub .hh-franchise-card-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}
.sfhl-history-hub .hh-franchise-card-heading h3{margin:0;min-width:0}
.sfhl-history-hub .hh-franchise-card-heading .hh-badge{flex:0 0 auto;margin-top:11px}
.sfhl-history-hub .hh-franchise-card-heading .hh-team-link{display:inline-flex;vertical-align:middle}
.sfhl-history-hub .hh-cups-card{margin-left:8px;gap:4px}
.sfhl-history-hub .hh-cups-card .hh-cup{width:48px;height:48px}
.sfhl-history-hub .hh-championship-leaders{max-height:360px;overflow-y:auto;padding-right:12px;scrollbar-width:thin;scrollbar-color:var(--hh-brass) transparent}
.sfhl-history-hub .hh-franchise-card .hh-team-link{font:600 28px/1.1 var(--hh-display)}
.sfhl-history-hub .hh-franchise-card p{font-size:12px}
.sfhl-history-hub .hh-mark .hh-monogram{background:var(--hh-wash);color:var(--hh-ink);border-radius:0;font-family:var(--hh-body)}
.sfhl-history-hub .hh-cards,.sfhl-history-hub .hh-search-results{gap:24px 32px}
.sfhl-history-hub .hh-card{padding:24px 0;border-top:1px solid var(--hh-line);background:transparent}
.sfhl-history-hub .hh-big{font:600 48px/1 var(--hh-display);color:var(--hh-ink)}
.sfhl-history-hub .hh-badge{border:1px solid var(--hh-line);background:transparent;color:var(--hh-muted);font:600 10px/1.5 var(--hh-body);padding:4px 8px}
.sfhl-history-hub .hh-franchise-detail{--hh-accent:var(--hh-ink)!important}
.sfhl-history-hub .hh-franchise-intro h2{font-size:clamp(40px,4.5vw,64px)}
.sfhl-history-hub .hh-timeline{gap:0;border:0;display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;margin:24px 0;padding:4px 0 12px;scrollbar-width:thin;scrollbar-color:var(--hh-brass) transparent}
.sfhl-history-hub .hh-timeline article{border:0;max-width:none;position:relative;padding:0;margin:0;flex:1 0 180px;min-width:0}
.sfhl-history-hub .hh-timeline article::before{content:none}
.sfhl-history-hub .hh-timeline h3{margin:6px 0 12px;padding-right:16px;font:400 14px/1.6 var(--hh-body);letter-spacing:normal;min-height:24px}
.sfhl-history-hub .hh-timeline .hh-team{flex-wrap:nowrap;align-items:center}
.sfhl-history-hub .hh-timeline .hh-era-owner{margin:4px 0 0;font:400 11px/1.6 var(--hh-body);letter-spacing:.18em;color:var(--hh-muted)}
.sfhl-history-hub .hh-era-track{display:block;position:relative;height:1px;background:var(--hh-brass);margin:0 0 4px 5px}
.sfhl-history-hub .hh-era-track::before{content:'';position:absolute;left:-4px;top:-4px;width:9px;height:9px;border-radius:50%;background:var(--hh-ink)}
.sfhl-history-hub .hh-timeline article:last-child .hh-era-track{background:transparent}
.sfhl-history-hub .hh-timeline .hh-eyebrow{font-family:var(--hh-body);font-size:11px}
.sfhl-history-hub .hh-notice,.sfhl-history-hub .hh-stat-review{background:var(--hh-warning-wash);border-left:2px solid var(--hh-brass);color:var(--hh-ink)}
.sfhl-history-hub .hh-commentary{padding:28px 32px;background:var(--hh-wash);border-left:2px solid var(--hh-brass)}
.sfhl-history-hub .hh-commentary .hh-roast-heading{font:600 10px/1.5 var(--hh-body);letter-spacing:.16em}
.sfhl-history-hub .hh-commentary h3{font-size:32px}
.sfhl-history-hub .hh-table-wrap{border-block:1px solid var(--hh-line);background:transparent;margin:24px 0 40px;scrollbar-width:thin;scrollbar-color:var(--hh-brass) transparent}
.sfhl-history-hub .hh-table :where(th,td){padding:14px 18px}
.sfhl-history-hub .hh-table thead th{background:var(--hh-ink);color:var(--hh-paper);font:600 18px/1.25 var(--hh-display);vertical-align:middle}
.sfhl-history-hub .hh-table .hh-sort,.sfhl-history-hub .hh-table .hh-server-sort{color:inherit;min-height:44px;border-radius:0;align-content:center}
.sfhl-history-hub .hh-table thead :where(a,button):focus-visible{outline-color:var(--hh-paper);box-shadow:none;outline-offset:1px}
.sfhl-history-hub .hh-table tbody tr:hover{background:var(--hh-wash)}
.sfhl-history-hub .hh-table .hh-team-link{font-family:var(--hh-body);font-size:13px}
.sfhl-history-hub .hh-table td{font-size:14px}
.sfhl-history-hub .hh-table tbody tr:last-child td{border-bottom:0}
.sfhl-history-hub .hh-stat-filters{border:0;border-block:1px solid var(--hh-line);background:transparent;padding:24px 0}
.sfhl-history-hub .hh-stat-links{gap:4px 16px;border-block:1px solid var(--hh-line);padding:8px 0}
.sfhl-history-hub .hh-stat-links a{min-height:44px;align-content:center;font-size:12px;padding:8px 0}
.sfhl-history-hub .hh-stat-paging :where(a,strong){min-width:44px;min-height:44px;border-radius:0}
.sfhl-history-hub .hh-stat-paging strong{background:var(--hh-ink);color:var(--hh-paper)}
.sfhl-history-hub .hh-stat-paging :focus-visible{outline:2px solid var(--hh-ink);outline-offset:3px;box-shadow:0 0 0 2px var(--hh-paper)}
.sfhl-history-hub .hh-stat-paging input{border:1px solid var(--hh-control);background:transparent;color:var(--hh-ink);border-radius:0;min-height:44px}
.sfhl-history-hub .hh-empty{background:var(--hh-wash);border:1px solid var(--hh-line);padding:28px;color:var(--hh-muted)}
.sfhl-history-hub .hh-champion{border-block:1px solid var(--hh-line);padding:28px 0;background:transparent}
.sfhl-history-hub .hh-versus article{padding:28px 20px;background:transparent;border-block:1px solid var(--hh-line)}
.sfhl-history-hub .hh-versus .hh-team-link{font:600 30px/1.1 var(--hh-display)}
.sfhl-history-hub .hh-versus strong{font:600 44px/1 var(--hh-display)}
.sfhl-history-hub .hh-share{height:10px;background:var(--hh-brass)}
.sfhl-history-hub .hh-share span{background:var(--hh-ink)}
.sfhl-history-hub .hh-series-card{background:var(--hh-paper);border-color:var(--hh-line);padding:18px}
.sfhl-history-hub .hh-bracket-round>h3{font:600 24px/1.2 var(--hh-display);letter-spacing:-.02em;text-transform:none}
.sfhl-history-hub .hh-game-matrix{font-family:var(--hh-body)}
.sfhl-history-hub .hh-series-heading>span,.sfhl-history-hub .hh-tied{border-radius:0}
.sfhl-history-hub .hh-footer{background:transparent;padding:32px 48px;font-size:12px;line-height:1.8}
.sfhl-history-hub .hh-footer summary{font-size:12px}
.sfhl-history-hub .hh-footer-top{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:8px;font:600 18px/1.3 var(--hh-display);text-decoration:none}
.sfhl-history-hub .hh-main>p{max-width:65ch}
.sfhl-history-hub .hh-button{transition:background-color .2s,color .2s,transform .15s}
.sfhl-history-hub :where(.hh-status-active,.hh-status-folded){color:var(--hh-ink);background:transparent}
.sfhl-history-hub button:disabled{background:var(--hh-wash);color:var(--hh-muted);border-color:var(--hh-line)}
@media(max-width:1100px){
  .sfhl-history-hub .hh-main{padding:36px 32px}.sfhl-history-hub :where(.hh-brand,.hh-nav,.hh-footer){padding-inline:32px}
  .sfhl-history-hub .hh-overview-hero{gap:28px}.sfhl-history-hub .hh-overview-title{font-size:76px}
  .sfhl-history-hub .hh-archive-photo img{height:320px}.sfhl-history-hub .hh-archive-index{column-gap:28px}
  .sfhl-history-hub .hh-archive-entry strong{font-size:26px}.sfhl-history-hub .hh-franchise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .sfhl-history-hub .hh-brand{padding:20px 16px;gap:12px}.sfhl-history-hub .hh-wordmark{gap:16px;font-size:14px}
  .sfhl-history-hub .hh-wordmark small{font-size:9px;letter-spacing:.04em}.sfhl-history-hub .hh-league-mark{font-size:32px;padding-right:16px}
  .sfhl-history-hub .hh-nav{padding:0 16px;gap:0 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .sfhl-history-hub .hh-nav a{justify-content:flex-start;font-size:9px;letter-spacing:.06em;white-space:normal;min-height:48px}
  .sfhl-history-hub .hh-main{padding:28px 16px}.sfhl-history-hub .hh-section-nav{margin-bottom:24px;gap:0 20px;font-size:11px}
  .sfhl-history-hub .hh-overview-hero{display:flex;flex-direction:column;gap:24px;padding-bottom:28px}
  .sfhl-history-hub .hh-hero,.sfhl-history-hub .hh-hero-visual{width:100%}.sfhl-history-hub .hh-overview-title{font-size:clamp(56px,15vw,88px);margin:16px 0 24px}
  .sfhl-history-hub .hh-hero-deck{font-size:28px}.sfhl-history-hub .hh-hero>p:not(.hh-hero-deck){font-size:14px}
  .sfhl-history-hub .hh-archive-photo img{height:220px}.sfhl-history-hub .hh-archive-photo figcaption{font-size:16px}
  .sfhl-history-hub .hh-heritage{display:grid}.sfhl-history-hub .hh-heritage p{font-size:12px}
  .sfhl-history-hub .hh-hero .hh-eyebrow{font-size:9px;letter-spacing:.12em}
  .sfhl-history-hub .hh-form :where(input,select){font-size:16px}.sfhl-history-hub .hh-form{margin:24px 0 0}
  .sfhl-history-hub .hh-season-browser{display:block;padding:16px 0;margin-bottom:24px}.sfhl-history-hub .hh-season-browser>.hh-eyebrow{margin-bottom:8px}
  .sfhl-history-hub .hh-season-links{gap:24px}.sfhl-history-hub .hh-season-links a{font-size:23px}
  .sfhl-history-hub .hh-archive-index{grid-template-columns:1fr;margin-bottom:32px}.sfhl-history-hub .hh-archive-entry{padding:20px 0;gap:16px}
  .sfhl-history-hub .hh-archive-entry strong{font-size:29px}.sfhl-history-hub .hh-archive-number{font-size:48px;min-width:48px}
  .sfhl-history-hub .hh-stat-grid{margin:24px 0 36px}.sfhl-history-hub .hh-stat-grid strong{font-size:38px}
  .sfhl-history-hub .hh-stat-grid>div{padding:20px 12px}.sfhl-history-hub .hh-stat-grid>div:last-child{border-top:1px solid var(--hh-line)}
  .sfhl-history-hub h2{font-size:34px;margin:40px 0 20px}.sfhl-history-hub .hh-page-title h2{font-size:44px}
  .sfhl-history-hub .hh-franchise-grid{grid-template-columns:1fr;gap:0}.sfhl-history-hub .hh-franchise-card{padding:20px 0}
  .sfhl-history-hub .hh-franchise-card .hh-team{flex-direction:row;align-items:center;gap:16px}
  .sfhl-history-hub .hh-franchise-card .hh-team-link{font-size:30px}.sfhl-history-hub .hh-franchise-card p{font-size:12px}
  .sfhl-history-hub .hh-card{padding:20px 0}.sfhl-history-hub .hh-commentary{padding:24px 20px}
  .sfhl-history-hub .hh-commentary h3{font-size:28px}.sfhl-history-hub .hh-timeline article{padding-left:24px}
  .sfhl-history-hub .hh-versus{gap:16px}.sfhl-history-hub .hh-versus article{padding:24px 8px}
  .sfhl-history-hub .hh-versus .hh-team-link{font-size:25px}.sfhl-history-hub .hh-versus strong{font-size:30px}
  .sfhl-history-hub .hh-footer{padding:28px 16px}.sfhl-history-hub .hh-table :where(th,td){padding:12px}
}
@media(prefers-reduced-motion:reduce){.sfhl-history-hub *{transition:none!important;scroll-behavior:auto!important}}
@media print{.sfhl-history-hub .hh-archive-photo{display:none}.sfhl-history-hub .hh-main{padding:16px}.sfhl-history-hub .hh-nav{display:none}}

/* 1.7: approved compact contents menu. Native details works without JavaScript. */
.sfhl-history-hub .hh-section-nav{display:block;padding:0;margin:0 0 32px;border:0;font-size:14px}
.sfhl-history-hub .hh-section-menu{margin:0;border:1px solid var(--hh-line);background:var(--hh-paper)}
.sfhl-history-hub .hh-section-summary{display:flex;align-items:center;gap:12px;min-height:44px;height:44px;padding:0 16px;list-style:none;cursor:pointer;color:var(--hh-ink);font-weight:400}
.sfhl-history-hub .hh-section-summary::-webkit-details-marker{display:none}
.sfhl-history-hub .hh-section-summary::marker{content:''}
.sfhl-history-hub .hh-section-heading{font:600 10px/1.3 var(--hh-body);letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}
.sfhl-history-hub .hh-section-list-icon{width:17px;height:12px;flex:0 0 17px;border-block:1px solid currentColor;position:relative}
.sfhl-history-hub .hh-section-list-icon::before{content:'';position:absolute;left:0;right:0;top:50%;border-top:1px solid currentColor}
.sfhl-history-hub .hh-section-current{margin-left:auto;min-width:0;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 19px/1.2 var(--hh-display)}
.sfhl-history-hub .hh-section-count{color:var(--hh-muted);font:400 10px/1.4 var(--hh-body);white-space:nowrap;border-left:1px solid var(--hh-line);padding-left:12px}
.sfhl-history-hub .hh-section-chevron{width:9px;height:9px;flex:0 0 9px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin:0 3px 5px 5px}
.sfhl-history-hub .hh-section-menu[open] .hh-section-chevron{transform:rotate(225deg);margin-top:6px;margin-bottom:0}
.sfhl-history-hub .hh-section-nav .hh-section-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--hh-line)}
.sfhl-history-hub .hh-section-nav .hh-section-item{display:flex;align-items:center;gap:10px;height:52px;min-height:52px;padding:6px 14px 6px 18px;border:0;border-right:1px solid var(--hh-line);border-bottom:1px solid var(--hh-line);color:var(--hh-ink);text-decoration:none;position:relative;min-width:0}
.sfhl-history-hub .hh-section-nav .hh-section-item:nth-child(3n){border-right:0}
.sfhl-history-hub .hh-section-nav .hh-section-item:nth-child(3n+1):nth-last-child(-n+3),.sfhl-history-hub .hh-section-nav .hh-section-item:nth-child(3n+1):nth-last-child(-n+3)~.hh-section-item{border-bottom:0}
.sfhl-history-hub .hh-section-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;min-height:25px;padding-right:8px;border-right:1px solid var(--hh-line);font:400 16px/1 var(--hh-display);color:var(--hh-muted)}
.sfhl-history-hub .hh-section-label{font:600 20px/1.08 var(--hh-display);min-width:0;overflow-wrap:anywhere}
.sfhl-history-hub .hh-section-arrow{font:400 19px/1 var(--hh-body);margin-left:auto;flex:0 0 auto}
.sfhl-history-hub .hh-section-nav .hh-section-item:hover{background:var(--hh-wash);color:var(--hh-ink);text-decoration:none}
.sfhl-history-hub .hh-section-nav .hh-section-item[aria-current="location"]{background:var(--hh-ink);color:var(--hh-paper)}
.sfhl-history-hub .hh-section-nav .hh-section-item[aria-current="location"] .hh-section-number{color:var(--hh-paper);border-color:var(--hh-control)}
.sfhl-history-hub .hh-section-nav .hh-section-item[aria-current="location"]::before{content:'';position:absolute;left:6px;top:calc(50% - 3px);width:6px;height:6px;background:var(--hh-brass)}
.sfhl-history-hub .hh-section-nav .hh-section-item:focus-visible,.sfhl-history-hub .hh-section-summary:focus-visible{outline:2px solid var(--hh-ink);outline-offset:3px;box-shadow:0 0 0 2px var(--hh-paper);z-index:1}
.sfhl-history-hub .hh-section-nav .hh-section-item[aria-current="location"]:focus-visible{outline-color:var(--hh-ink);box-shadow:0 0 0 2px var(--hh-paper)}
.sfhl-history-hub [id*="-section-"]:focus-visible{outline:2px solid var(--hh-ink);outline-offset:4px}
@media(max-width:1000px){
  .sfhl-history-hub .hh-section-nav{margin-bottom:24px}
  .sfhl-history-hub .hh-section-summary{padding:0 10px;gap:8px}
  .sfhl-history-hub .hh-section-heading{font-size:9px;letter-spacing:.1em}
  .sfhl-history-hub .hh-section-current{font-size:17px;max-width:42%}
  .sfhl-history-hub .hh-section-count{display:none}
  .sfhl-history-hub .hh-section-nav .hh-section-items{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sfhl-history-hub .hh-section-nav .hh-section-item{padding:6px 8px 6px 15px;gap:6px;height:52px;min-height:52px;border-right:1px solid var(--hh-line);border-bottom:1px solid var(--hh-line)}
  .sfhl-history-hub .hh-section-nav .hh-section-item:nth-child(3n){border-right:1px solid var(--hh-line)}
  .sfhl-history-hub .hh-section-nav .hh-section-item:nth-child(3n+1):nth-last-child(-n+3),.sfhl-history-hub .hh-section-nav .hh-section-item:nth-child(3n+1):nth-last-child(-n+3)~.hh-section-item{border-bottom:1px solid var(--hh-line)}
  .sfhl-history-hub .hh-section-nav .hh-section-item:nth-child(2n){border-right:0}
  .sfhl-history-hub .hh-section-nav .hh-section-item:nth-child(2n+1):nth-last-child(-n+2),.sfhl-history-hub .hh-section-nav .hh-section-item:nth-child(2n+1):nth-last-child(-n+2)~.hh-section-item{border-bottom:0}
  .sfhl-history-hub .hh-section-number{flex-basis:20px;font-size:14px;padding-right:5px;min-height:23px}
  .sfhl-history-hub .hh-section-label{font-size:18px;line-height:1.05}
  .sfhl-history-hub .hh-section-arrow{font-size:16px}
}
@media(max-width:380px){.sfhl-history-hub .hh-section-arrow{display:none}.sfhl-history-hub .hh-section-label{font-size:17px}}
@media print{.sfhl-history-hub .hh-section-nav{display:none}}

/* 1.8: retain horizontal scrolling rather than wrapping table headings. */
.sfhl-history-hub .hh-table,.sfhl-history-hub .hh-game-matrix{table-layout:auto;min-width:100%}
.sfhl-history-hub :is(.hh-table,.hh-game-matrix) :is(th,td){text-align:center}
.sfhl-history-hub :is(.hh-table,.hh-game-matrix) tr>:first-child{text-align:left}
.sfhl-history-hub :is(.hh-table,.hh-game-matrix) thead th{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.sfhl-history-hub :is(.hh-table,.hh-game-matrix) thead :is(.hh-team,.hh-team-link,.hh-sort,.hh-server-sort){white-space:nowrap;flex-wrap:nowrap}
.sfhl-history-hub :is(.hh-table,.hh-game-matrix) td .hh-team-link{justify-content:center}
.sfhl-history-hub :is(.hh-table,.hh-game-matrix) td:first-child .hh-team-link{justify-content:flex-start}
.sfhl-history-hub .hh-series-card{overflow-x:auto;min-width:0;width:100%;max-width:100%;box-sizing:border-box}
@media(max-width:767px){.sfhl-history-hub .hh-timeline article{padding:0;flex-basis:180px}}
.sfhl-history-hub .hh-table :is(th,td).hh-numeric{text-align:center}
.sfhl-history-hub .hh-table tr>:first-child{text-align:left}
.sfhl-history-hub .hh-game-matrix thead .hh-team{flex-direction:row}

/* Keep franchise status beside the first name row when trophy rows wrap. */
.sfhl-history-hub .hh-franchise-card-heading .hh-team{flex-direction:row;align-items:center}
