/* Concept E — Heritage
   Classic hockey tradition: cream paper, navy and barn red, slab-serif headings,
   pinstripes, crest-centred header and a scores ribbon styled like an old arena
   scoreboard (amber digits on black). */
:root[data-mode="light"] {
  --bg: #f4eee2; --surface: #fffcf5; --surface-2: #efe7d6; --line: #dccfb5; --ink: #14213d; --ink-2: #6b6455;
  --header-bg: #14213d; --header-ink: #fffcf5; --ribbon-bg: #0c0c0c; --ribbon-ink: #f5f0e6;
  --navy: #14213d; --gold: #c89b3c; --row-alt: #faf5ea;
  --shadow: 0 1px 0 rgba(20, 33, 61, .06), 0 10px 24px -16px rgba(20, 33, 61, .35);
  --logo-bg: #14213d;
}
:root[data-mode="dark"] {
  --bg: #0d1424; --surface: #141d31; --surface-2: #1b2640; --line: #2a3654; --ink: #f3ecdc; --ink-2: #a9a08c;
  --header-bg: #0a1020; --navy: #0a1020; --gold: #d8b25a; --row-alt: #172138;
}

body { background-image: radial-gradient(rgba(20, 33, 61, .035) 1px, transparent 1px); background-size: 4px 4px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.005em; }

/* section heads: centred title between rules with star ornaments */
.sec-head { gap: 12px; }
.sec-head h2 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: "★"; font-size: 13px; color: var(--accent); }
.sec-head::after { content: ""; order: 1; flex: 1 1 40px; height: 0; border-top: 3px double var(--line); min-width: 40px; }
.sec-head .presented { order: 2; } .sec-head .more { order: 3; margin-left: 0; }
.eyebrow { color: var(--accent); letter-spacing: .18em; }

/* header: navy with red/gold pinstripe, crest centred */
.utility { background: #0c1528; color: #e9e1cf; }
.site-header.stacked, .site-header.bar { border-bottom: 0; box-shadow: 0 3px 0 var(--accent), 0 6px 0 var(--gold) !important; }
.nav a[data-nav] { text-transform: uppercase; font-size: 13px; letter-spacing: .1em; font-weight: 700; font-family: var(--font-body); }
.nav a[data-nav]::after { height: 3px; background: var(--gold); }
.nav a.on { color: var(--gold); }
.cta { background: var(--accent); color: #fff; border-radius: 4px; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.site-header.stacked .brand .llogo { filter: drop-shadow(0 4px 0 var(--gold)) drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); }
.util-sponsor .smark, .hdr-sponsor .smark { color: #e9e1cf; }

/* ribbon: old arena scoreboard */
.rb-compact { --ribbon-bg: #0c0c0c; --line: #262626; border-bottom: 3px solid var(--gold); }
.rb-compact .rb-game { font-family: var(--font-body); }
.rb-compact .rb-team b, .rb-compact .rb-head { font-family: 'Share Tech Mono', ui-monospace, monospace; }
.rb-compact .rb-team b { font-size: 17px; color: #ffb000; text-shadow: 0 0 8px rgba(255, 176, 0, .55); font-weight: 400; }
.rb-compact .rb-team.lose b { color: #a66f00; text-shadow: none; }
.rb-compact .rb-team.lose { opacity: .75; }
.rb-compact .rb-head { color: #ffb000; opacity: .85; letter-spacing: .12em; }
.rb-compact .rb-live { color: #ff4d4d; text-shadow: 0 0 8px rgba(255, 77, 77, .6); }
.rb-compact .rb-day { background: var(--accent); color: #fff; font-family: var(--font-display); font-size: 12px; }
.rb-compact .rb-all { color: var(--gold); }
.rb-sponsor { border-right-color: #262626; }

/* cards: paper with a fine inner rule */
.game-card, .news-card, .ll, .up-list, .team-compare, .per-block, .pv-team, .stars li, .facts, .form-list, .tl-card, .sp-tile,
.quick-grid a, .teams-grid a, .series, .team-sched, .sch-day ul, .ranks div, .person, .cms-acc details, .cms-dl a, .quotes figure,
.ccard, .tcard, .div-chips a, .tstat-grid, .tbl-wrap, .mod .tbl.mini, .team-rank {
  box-shadow: 0 0 0 1px var(--line), inset 0 0 0 4px var(--surface), inset 0 0 0 5px color-mix(in srgb, var(--line) 70%, transparent), var(--shadow);
}
.gc-head { background: var(--navy); color: #f3ecdc; border-bottom: 3px solid var(--accent); }
.gc-head .final-tag, .gc-head .time-tag { color: #f3ecdc; } .gc-head .gc-meta { color: #b9b19e; }
.gc-name a { font-family: var(--font-display); font-size: 16px; }
.gc-foot a { color: var(--accent); letter-spacing: .1em; }
.ll-top { background: linear-gradient(135deg, var(--navy), color-mix(in srgb, var(--navy) 70%, var(--c))); border-bottom: 3px solid var(--accent); }

.tbl th { background: var(--navy); color: #f3ecdc; font-family: var(--font-body); letter-spacing: .1em; border-bottom: 3px solid var(--accent); }
.tbl th.sorted { color: var(--gold); }
.tbl td.pts, .tbl .pts { color: var(--accent); }

/* tabs: ticket-stub style */
.tabs { border-bottom: 3px double var(--line); }
.tab { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; }
.tab-ink { height: 4px; background: var(--accent); border-radius: 0; box-shadow: 0 -2px 0 var(--gold) inset; }
.tabs-row { border-bottom: 3px double var(--line); } .tabs-row .tabs { border-bottom: 0; }
.seg { border-radius: 4px; } .seg a.on { background: var(--navy); color: #f3ecdc; }
.ds.on { background: var(--navy); color: #f3ecdc; box-shadow: 0 3px 0 var(--accent); }
.btn { border-radius: 4px; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

/* hero: duotone with a pennant-shaped eyebrow */
.hero { border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 0 0 6px var(--surface), 0 0 0 7px var(--line); margin-top: 28px; }
.hero-art svg { filter: sepia(.35) saturate(.8) contrast(1.05); }
.hero-copy .eyebrow { background: var(--accent); color: #fff; border-radius: 0; padding: 6px 22px 6px 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%); }
.hero-copy h1 { font-weight: 900; }
.hero-dots button i { background: var(--gold); }

.page-head { border-bottom: 3px double var(--line); margin-bottom: 18px; }
.page-head h1 { font-weight: 900; }
.team-hero, .player-hero, .game-hero { border-radius: 6px; }
.team-hero::before, .player-hero::before { background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .05) 46px 48px); }
.team-hero { box-shadow: inset 0 -6px 0 var(--tc2); }
.game-hero { border-radius: 6px 6px 0 0; } .gh-line { border-radius: 0 0 6px 6px; }
.th-text h1, .ph-info h1 { font-weight: 900; }

.mod-title-sponsor .ts-inner { border-radius: 6px; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .15); }
.sp-card { border-radius: 6px; }
.sp-photo { background: repeating-linear-gradient(90deg, var(--c) 0 30px, color-mix(in srgb, var(--c) 85%, #000) 30px 34px); }
.quick-grid a .ico { color: var(--accent); }
.teams-grid a::before { width: 6px; background: repeating-linear-gradient(180deg, var(--c) 0 6px, var(--gold) 6px 8px); }
.cms-cta { border-radius: 6px; background: var(--navy); color: #f3ecdc; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .08), 0 4px 0 var(--accent); }
.cms-countdown { border-radius: 6px; background: var(--navy); }
.foot-sponsors { background: var(--surface); border-top: 3px double var(--line); }
.site-footer { background: var(--navy); border-top: 6px solid var(--accent); box-shadow: inset 0 3px 0 var(--gold); }
.str.s-GW { background: var(--gold); color: var(--navy); }
