/* Lean Edge Sports — historical team identity pages */
.historical-team-page main { min-height: 70vh; }
.historical-team-page .historical-team-shell { max-width: 1220px; margin: 0 auto; padding: 34px 40px 72px; }
.historical-team-page .historical-breadcrumb { display:flex; align-items:center; gap:8px; margin:0 0 24px; color:var(--text-muted,#9da8bd); font-size:12px; }
.historical-team-page .historical-breadcrumb a { color:inherit; text-decoration:none; }
.historical-team-page .historical-breadcrumb a:hover { color:#fff; }
.historical-team-page .historical-hero { position:relative; overflow:hidden; padding:28px 30px; border:1px solid rgba(255,255,255,.09); border-radius:16px; background:rgba(12,27,57,.78); }
.historical-team-page .historical-hero::after { content:""; position:absolute; inset:auto -80px -115px auto; width:300px; height:300px; border:44px solid rgba(255,255,255,.025); border-radius:50%; pointer-events:none; }
.historical-team-page .historical-hero-row { position:relative; z-index:1; display:flex; align-items:center; gap:20px; }
.historical-team-page .historical-team-badge { --hist-accent:#d54853; flex:0 0 86px; width:86px; height:86px; display:grid; place-items:center; border:4px solid var(--hist-accent); border-radius:50%; background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.16),rgba(16,38,74,.92) 55%,#07162d 100%); color:#fff; font:800 23px/1 'Barlow Condensed',sans-serif; letter-spacing:.04em; box-shadow:0 14px 32px rgba(0,0,0,.24); }
.historical-team-page .historical-kicker { display:block; margin-bottom:6px; color:var(--red,#ef4b55); font:800 11px/1 'Barlow',sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.historical-team-page .historical-team-name { margin:0; color:#fff; font:800 clamp(34px,5vw,56px)/.96 'Barlow Condensed',sans-serif; }
.historical-team-page .historical-meta { margin:10px 0 0; color:var(--text-muted,#9da8bd); font-size:13px; line-height:1.55; }
.historical-team-page .historical-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:18px 0 0; }
.historical-team-page .historical-fact { padding:16px 18px; border:1px solid rgba(255,255,255,.08); border-radius:12px; background:rgba(17,29,66,.54); }
.historical-team-page .historical-fact-label { display:block; margin-bottom:7px; color:var(--text-muted,#9da8bd); font:700 10px/1 'Barlow',sans-serif; letter-spacing:.11em; text-transform:uppercase; }
.historical-team-page .historical-fact-value { color:#fff; font:800 21px/1.05 'Barlow Condensed',sans-serif; }
.historical-team-page .historical-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr); gap:18px; margin-top:20px; }
.historical-team-page .historical-panel { min-width:0; padding:22px; border:1px solid rgba(255,255,255,.08); border-radius:14px; background:rgba(11,26,54,.66); }
.historical-team-page .historical-panel-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:16px; }
.historical-team-page .historical-panel h2 { margin:0; color:#fff; font:800 25px/1 'Barlow Condensed',sans-serif; }
.historical-team-page .historical-panel-copy { margin:5px 0 0; color:var(--text-muted,#9da8bd); font-size:12px; line-height:1.5; }
.historical-team-page .historical-season-select { min-width:132px; height:40px; border:1px solid rgba(255,255,255,.14); border-radius:9px; padding:0 34px 0 12px; background:#0e1d3a; color:#fff; font:700 13px 'Barlow',sans-serif; }
.historical-team-page .historical-season-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-bottom:16px; }
.historical-team-page .historical-stat { padding:13px 12px; border-radius:10px; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.06); text-align:center; }
.historical-team-page .historical-stat-value { display:block; color:#fff; font:800 20px/1 'Barlow Condensed',sans-serif; }
.historical-team-page .historical-stat-label { display:block; margin-top:5px; color:var(--text-muted,#9da8bd); font-size:9px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.historical-team-page .historical-season-table { width:100%; border-collapse:collapse; font-size:13px; }
.historical-team-page .historical-season-table th,.historical-team-page .historical-season-table td { padding:11px 9px; border-bottom:1px solid rgba(255,255,255,.065); text-align:left; }
.historical-team-page .historical-season-table th { color:var(--text-muted,#9da8bd); font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
.historical-team-page .historical-season-table td { color:#e7edf7; }
.historical-team-page .historical-lineage-box { padding:16px; border-radius:12px; border:1px solid rgba(72,119,176,.28); background:rgba(46,117,182,.08); }
.historical-team-page .historical-lineage-box strong { display:block; margin-bottom:6px; color:#fff; font-size:13px; }
.historical-team-page .historical-lineage-box p { margin:0; color:var(--text-muted,#a7b2c6); font-size:12px; line-height:1.55; }
.historical-team-page .historical-lineage-links { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.historical-team-page .historical-lineage-link { display:inline-flex; padding:7px 10px; border:1px solid rgba(255,255,255,.11); border-radius:999px; color:#fff; background:rgba(255,255,255,.04); text-decoration:none; font-size:11px; font-weight:700; }
.historical-team-page .historical-draft-list { display:grid; gap:9px; }
.historical-team-page .historical-draft-row { display:grid; grid-template-columns:58px 72px minmax(0,1fr); align-items:center; gap:10px; padding:11px 12px; border:1px solid rgba(255,255,255,.065); border-radius:10px; background:rgba(255,255,255,.025); }
.historical-team-page .historical-draft-year { color:var(--red,#ef4b55); font:800 14px 'Barlow Condensed',sans-serif; }
.historical-team-page .historical-draft-pick { color:var(--text-muted,#9da8bd); font-size:11px; }
.historical-team-page .historical-draft-player { color:#fff; font-size:13px; font-weight:700; text-decoration:none; }
.historical-team-page a.historical-draft-player:hover { text-decoration:underline; text-underline-offset:2px; }
.historical-team-page .historical-draft-affil { display:block; margin-top:2px; color:var(--text-muted,#9da8bd); font-size:10px; font-weight:400; }
.historical-team-page .historical-more { margin-top:12px; color:var(--text-muted,#9da8bd); font-size:11px; }
.historical-team-page .historical-empty { padding:18px; border:1px dashed rgba(255,255,255,.12); border-radius:10px; color:var(--text-muted,#9da8bd); font-size:12px; line-height:1.55; }
.historical-team-page .historical-page-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.historical-team-page .historical-action { display:inline-flex; align-items:center; gap:6px; min-height:38px; padding:0 12px; border:1px solid rgba(255,255,255,.12); border-radius:9px; color:#fff; background:rgba(255,255,255,.04); text-decoration:none; font-size:11px; font-weight:700; }
.historical-team-page .historical-action:hover { border-color:rgba(239,75,85,.5); background:rgba(239,75,85,.08); }

@media (max-width:900px) {
  .historical-team-page .historical-team-shell { padding:24px 20px 56px; }
  .historical-team-page .historical-grid { grid-template-columns:1fr; }
  .historical-team-page .historical-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .historical-team-page .historical-team-shell { padding:18px 14px 48px; }
  .historical-team-page .historical-breadcrumb { margin-bottom:14px; }
  .historical-team-page .historical-hero { padding:20px 17px; }
  .historical-team-page .historical-hero-row { align-items:flex-start; gap:13px; }
  .historical-team-page .historical-team-badge { flex-basis:58px; width:58px; height:58px; border-width:3px; font-size:17px; }
  .historical-team-page .historical-team-name { font-size:34px; }
  .historical-team-page .historical-meta { font-size:12px; }
  .historical-team-page .historical-facts { gap:8px; }
  .historical-team-page .historical-fact { padding:13px 12px; }
  .historical-team-page .historical-fact-value { font-size:18px; }
  .historical-team-page .historical-panel { padding:17px 14px; }
  .historical-team-page .historical-panel-head { align-items:stretch; flex-direction:column; }
  .historical-team-page .historical-season-select { width:100%; }
  .historical-team-page .historical-season-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .historical-team-page .historical-season-table-wrap { overflow-x:auto; }
  .historical-team-page .historical-season-table { min-width:520px; }
  .historical-team-page .historical-draft-row { grid-template-columns:48px 62px minmax(0,1fr); gap:8px; padding:10px; }
}
