:root{
  --bg:#080a0d;
  --bg2:#0b0e12;
  --panel:#101419;
  --panel2:#151a20;
  --panel3:#1a2027;
  --line:#252c35;
  --line-soft:rgba(255,255,255,.075);
  --text:#f5f7fa;
  --muted:#98a3b3;
  --dim:#697586;
  --orange:#ff5500;
  --orange2:#ff8b52;
  --green:#39d98a;
  --red:#ff626d;
  --yellow:#f5c85b;
  --shadow:0 22px 70px rgba(0,0,0,.34);
  --radius:16px;
  --radius-sm:11px;
  --max:1540px;
  --header-h:76px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;
  min-width:320px;
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 82% -8%,rgba(255,85,0,.11),transparent 30rem),
    radial-gradient(circle at 6% 22%,rgba(255,255,255,.025),transparent 24rem),
    linear-gradient(180deg,#07090c 0,#0a0d11 28rem,#090b0e 100%);
  overflow-x:hidden;
}
body.dialog-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{color:inherit}
img{max-width:100%}
::selection{background:rgba(255,85,0,.35);color:#fff}
.skip-link{
  position:fixed;left:14px;top:10px;z-index:1000;
  padding:10px 14px;border-radius:9px;background:#fff;color:#000;font-weight:900;
  transform:translateY(-160%);transition:.15s ease
}
.skip-link:focus{transform:none}
.sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
}
.eyebrow,.toolbar-kicker{
  color:var(--orange2);font-size:11px;font-weight:950;letter-spacing:.15em;text-transform:uppercase
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(7,9,12,.88);
  backdrop-filter:blur(20px) saturate(1.1);
  border-bottom:1px solid var(--line-soft)
}
.header-inner{
  width:min(var(--max),calc(100% - 36px));height:var(--header-h);margin:0 auto;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px
}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand img{display:block;width:155px;max-height:54px;object-fit:contain}
.brand-product{display:flex;align-items:center;gap:7px;padding-left:12px;border-left:1px solid var(--line)}
.brand-product strong{font-size:13px;white-space:nowrap}
.brand-product small{
  display:inline-flex;padding:3px 6px;border-radius:6px;
  background:rgba(255,85,0,.13);border:1px solid rgba(255,85,0,.28);
  color:var(--orange2);font-size:9px;font-weight:950;letter-spacing:.08em
}
.site-header nav{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}
.site-header nav a{
  padding:9px 11px;border-radius:9px;color:#b9c2cf;font-size:13px;font-weight:850;white-space:nowrap;
  transition:.15s ease
}
.site-header nav a:hover{background:#13171c;color:#fff}
.site-header nav a.active{
  color:#fff;background:#151a20;box-shadow:inset 0 0 0 1px rgba(255,85,0,.38)
}
.header-health{
  display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--line);
  border-radius:999px;color:#aab4c2;background:#0d1115;font-size:10px;font-weight:850;white-space:nowrap
}
.header-health i{width:7px;height:7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 12px currentColor}
.header-health.good i{background:var(--green)}
.header-health.warn i{background:var(--yellow)}
.header-health.bad i{background:var(--red)}

/* Main + hero */
main{width:min(var(--max),calc(100% - 36px));margin:0 auto;padding-bottom:84px}
.hero{
  min-height:500px;padding:68px 0 50px;display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);align-items:center;gap:58px
}
.version-line{display:flex;align-items:center;gap:10px}
.version-pill{
  display:inline-flex;padding:4px 7px;border-radius:7px;background:#fff;color:#0b0d10;
  font-size:9px;font-weight:1000;letter-spacing:.08em
}
.hero h1{
  margin:13px 0 23px;max-width:920px;
  font-size:clamp(52px,6.7vw,100px);line-height:.91;letter-spacing:-.062em
}
.hero h1 em{font-style:normal;color:var(--orange)}
.hero-copy>p{max-width:760px;margin:0;color:#adb7c5;font-size:clamp(17px,1.8vw,21px);line-height:1.58}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.button{
  appearance:none;border:1px solid var(--line);border-radius:11px;padding:12px 16px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:#12171c;color:#fff;font-size:12px;font-weight:900;cursor:pointer;transition:.15s ease
}
.button:hover{transform:translateY(-1px);border-color:#3a424d;background:#171d23}
.button.primary{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:0 10px 34px rgba(255,85,0,.18)}
.button.primary:hover{background:#ff6518}
.hero-board{
  display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);
  border-radius:20px;overflow:hidden;background:linear-gradient(145deg,rgba(22,27,33,.94),rgba(12,15,19,.94));
  box-shadow:var(--shadow)
}
.hero-board>div{min-height:142px;padding:21px;display:flex;flex-direction:column;justify-content:flex-end;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
.hero-board>div:nth-child(2n){border-right:0}
.hero-board>div:nth-last-child(-n+2){border-bottom:0}
.hero-board span{color:#8895a7;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.hero-board strong{margin:5px 0 1px;font-size:clamp(31px,3vw,46px);letter-spacing:-.055em}
.hero-board small{color:#6f7c8e;font-size:10px}

/* Toolbar */
.toolbar{
  position:sticky;top:calc(var(--header-h) + 8px);z-index:35;
  margin:0 0 38px;padding:12px;border:1px solid var(--line);
  border-radius:15px;background:rgba(13,16,20,.93);backdrop-filter:blur(18px);
  box-shadow:0 14px 34px rgba(0,0,0,.22)
}
.toolbar-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px}
.toolbar-top>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.toolbar-kicker{font-size:9px}
.toolbar-top strong{font-size:12px;color:#dce2e9;white-space:nowrap}
.search{
  position:relative;display:flex;align-items:center;width:min(430px,48vw);
  border:1px solid #2a313a;border-radius:10px;background:#0a0d11;overflow:hidden
}
.search-icon{padding-left:12px;color:#6f7a89;font-size:18px;line-height:1}
.search input{
  width:100%;height:40px;padding:0 40px 0 9px;border:0;outline:0;background:transparent;color:#fff;
  font-size:12px;font-weight:700
}
.search input::placeholder{color:#596575}
.clear-search{
  position:absolute;right:5px;width:31px;height:31px;border:0;border-radius:8px;background:transparent;
  color:#7d8898;font-size:20px;cursor:pointer
}
.clear-search:hover{background:#181d23;color:#fff}
.filters{display:flex;gap:6px;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}
.filters::-webkit-scrollbar{display:none}
.filter{
  flex:0 0 auto;border:1px solid #29313a;border-radius:9px;padding:8px 11px;background:#11161b;
  color:#9da8b7;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap;transition:.14s ease
}
.filter span{margin-left:5px;color:#667385}
.filter:hover{border-color:#3a4652;color:#fff}
.filter.active{background:rgba(255,85,0,.13);border-color:rgba(255,85,0,.55);color:#fff}
.filter.active span{color:#ff9a69}

/* Race Center page architecture */
.hub-nav-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 8px
}
.hub-nav-card{
  min-width:0;min-height:124px;padding:16px 17px;border:1px solid var(--line);border-radius:15px;
  background:linear-gradient(145deg,#14191f,#0d1115);display:grid;grid-template-columns:auto 1fr auto;
  gap:14px;align-items:center;transition:.15s ease
}
.hub-nav-card:hover{border-color:rgba(255,85,0,.48);transform:translateY(-2px);background:linear-gradient(145deg,#171d23,#101419)}
.hub-nav-icon{
  width:40px;height:40px;border-radius:10px;display:grid;place-items:center;
  border:1px solid rgba(255,85,0,.28);background:rgba(255,85,0,.08);
  color:var(--orange2);font-size:10px;font-weight:1000;letter-spacing:.06em
}
.hub-nav-card>div{min-width:0}
.hub-nav-card strong{display:block;margin:4px 0 3px;font-size:18px;letter-spacing:-.03em}
.hub-nav-card p{margin:0;color:#8491a3;font-size:10px;line-height:1.45}
.hub-nav-card>b{color:#ff8b52;font-size:20px}
.back-to-top{
  position:fixed;right:18px;bottom:18px;z-index:45;padding:9px 12px;border:1px solid #35404b;
  border-radius:999px;background:rgba(15,19,24,.92);backdrop-filter:blur(12px);color:#fff;
  font-size:10px;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.35);cursor:pointer
}
.back-to-top:hover{border-color:rgba(255,85,0,.5);background:#171c22}

body[data-view="hub"] .toolbar,
body[data-view="hub"] .series-section,
body[data-view="hub"] .schedule-section{display:none}

body[data-view="standings"] #hubNavigation,
body[data-view="standings"] .live-section,
body[data-view="standings"] .schedule-section,
body[data-view="standings"] .race-center-grid{display:none}

body[data-view="schedules"] #hubNavigation,
body[data-view="schedules"] .live-section,
body[data-view="schedules"] .leaders-section,
body[data-view="schedules"] .movers-section,
body[data-view="schedules"] .series-section,
body[data-view="schedules"] .race-center-grid{display:none}

body[data-view="live"] #hubNavigation,
body[data-view="live"] .leaders-section,
body[data-view="live"] .movers-section,
body[data-view="live"] .series-section,
body[data-view="live"] .schedule-section,
body[data-view="live"] .race-center-grid{display:none}

body:not([data-view="hub"]) .hero{
  min-height:0;grid-template-columns:1fr;padding:42px 0 24px
}
body:not([data-view="hub"]) .hero-board{display:none}
body:not([data-view="hub"]) .hero h1{
  max-width:960px;margin:10px 0 15px;font-size:clamp(44px,5.5vw,72px);line-height:.94
}
body:not([data-view="hub"]) .hero-copy>p{max-width:850px;font-size:16px}
body:not([data-view="hub"]) .hero-actions{margin-top:20px}
body:not([data-view="hub"]) .toolbar{margin-bottom:24px}
body[data-view="hub"] .content-section{margin-top:38px}
body[data-view="hub"] .section-head{margin-bottom:12px}
body[data-view="hub"] .section-head h2{font-size:clamp(26px,2.5vw,36px)}

/* Sections */
.content-section{margin-top:54px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:17px}
.section-head h2{margin:5px 0 0;font-size:clamp(28px,3vw,42px);letter-spacing:-.045em}
.section-head p{margin:0;max-width:520px;text-align:right;color:#8290a3;font-size:11px;line-height:1.55}
.loading-card{
  min-height:110px;display:flex;align-items:center;justify-content:center;padding:24px;
  border:1px dashed #2b333d;border-radius:14px;background:#0e1216;color:#748193;font-size:12px;text-align:center
}

/* Event cards */
.live-grid,.event-strip{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px
}
#liveNow:not(:empty){margin-bottom:12px}
.event-card,.schedule-card{
  min-width:0;border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,#12171c,#0d1115);
  padding:16px;transition:.15s ease
}
.event-card:hover,.schedule-card:hover{transform:translateY(-1px);border-color:#343d48}
.event-card.is-live{border-color:rgba(57,217,138,.42);box-shadow:inset 0 0 0 1px rgba(57,217,138,.08)}
.event-brand{display:flex;align-items:center;gap:12px;min-width:0;min-height:54px}
.event-brand>div{min-width:0}
.event-brand h3{margin:3px 0 0;font-size:16px;line-height:1.08;letter-spacing:-.02em}
.event-card>strong{display:block;margin-top:11px;font-size:13px;line-height:1.25}
.event-card>p,.schedule-card>p{margin:5px 0 0;color:#8ca0bc;font-size:10px;line-height:1.4}
.event-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}
.event-actions a{
  display:inline-flex;padding:8px 10px;border:1px solid #27313a;border-radius:8px;
  background:#0d1217;color:#e6ebf1;font-size:9px;font-weight:900
}
.event-actions a:hover{border-color:#495665;background:#151b21}

/* Logos */
.series-logo{
  width:78px;height:50px;object-fit:contain;object-position:center;flex:0 0 auto;
  padding:5px 7px;border-radius:9px;border:1px solid rgba(255,255,255,.08);background:#101419
}
.series-logo.logo-light{background:#f5f6f8;border-color:#fff;filter:none}
.series-logo.logo-dark{background:#101419}
.event-brand .series-logo{width:92px;height:52px}
.series-wordmark{
  width:78px;min-height:46px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  padding:6px 8px;border:1px solid #303943;border-radius:9px;background:#0d1115;
  color:#fff;font-size:8px;font-weight:1000;line-height:1.08;text-align:center;letter-spacing:.025em
}
.event-wordmark{width:92px;min-height:52px;border-color:rgba(255,85,0,.28);background:linear-gradient(145deg,rgba(255,85,0,.12),#101419)}

/* Leaders + movers */
.leader-strip,.movers-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.leader-card,.mover-card{
  min-width:0;border:1px solid var(--line);border-radius:14px;background:#101419;padding:14px;
  cursor:pointer;transition:.14s ease
}
.leader-card:hover,.mover-card:hover{border-color:#3a4551;transform:translateY(-1px)}
.leader-brand{display:flex;align-items:center;gap:9px;margin-bottom:12px;min-width:0}
.leader-brand .series-logo{width:62px;height:40px}
.leader-brand .series-wordmark{width:62px;min-height:40px;font-size:7px}
.leader-brand .series{min-width:0;color:#9da8b8;font-size:10px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.leader-card>div:last-child>strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.leader-card .points{margin-top:3px;color:var(--orange2);font-size:12px;font-weight:950}
.leader-card small{display:block;margin-top:3px;color:#667486;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mover-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px}
.mover-rank{font-size:10px;color:#687587;font-weight:900}
.mover-card strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mover-card small{display:block;margin-top:3px;color:#728094;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mover-change{text-align:right}

/* Series groups/cards */
.group{margin-top:34px}
.group:first-child{margin-top:0}
.group-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.group-head h3{margin:0;font-size:22px;letter-spacing:-.035em}
.group-head span{color:#748295;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.series-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.series-card{
  min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#12171c,#0d1115);
  cursor:pointer;transition:.14s ease;outline:none
}
.series-card:hover,.series-card:focus-visible{border-color:#424e5a;transform:translateY(-1px);box-shadow:0 14px 34px rgba(0,0,0,.18)}
.series-card:focus-visible{box-shadow:0 0 0 2px rgba(255,85,0,.42)}
.series-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 14px 10px}
.card-brand{display:flex;align-items:center;gap:11px;min-width:0}
.card-brand>div{min-width:0}
.card-brand h4{margin:4px 0 0;font-size:17px;line-height:1.05;letter-spacing:-.028em}
.status{
  display:inline-flex;align-items:center;padding:5px 7px;border-radius:999px;border:1px solid #313944;
  color:#9ba6b5;background:#11161b;font-size:8px;font-weight:1000;white-space:nowrap
}
.status.live{color:#81efbc;border-color:rgba(57,217,138,.35);background:rgba(57,217,138,.08)}
.status.next{color:#ff9a68;border-color:rgba(255,85,0,.36);background:rgba(255,85,0,.08)}
.status.cached{color:#e6c974;border-color:rgba(245,200,91,.26);background:rgba(245,200,91,.06)}
.card-leader{
  margin:0 12px 8px;padding:11px 12px;border:1px solid rgba(255,85,0,.2);border-radius:11px;
  background:linear-gradient(145deg,rgba(255,85,0,.055),rgba(255,255,255,.015))
}
.card-leader>span{display:block;color:#778599;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}
.card-leader>strong{display:block;margin-top:4px;font-size:13px}
.card-leader>small{display:block;margin-top:3px;color:#e56c31;font-size:9px;font-weight:900}
.mini-table{padding:0 12px}
.mini-row{
  min-height:38px;display:grid;grid-template-columns:24px 42px minmax(0,1fr) 42px 62px;
  gap:7px;align-items:center;border-top:1px solid #252c34
}
.mini-row .pos{font-size:11px;font-weight:950}
.car-number{color:#ff7740;font-size:8px;font-weight:950}
.driver{min-width:0}
.driver strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.driver small{display:block;margin-top:2px;color:#5f6d80;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pts{text-align:right}
.pts>strong{display:block;font-size:10px}
.series-card>footer{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 12px 0;padding:10px 0 12px;
  border-top:1px solid #252c34;background:transparent;color:#718096;font-size:8px
}
.series-card>footer strong{color:#a7b2c0}
.move{display:inline-flex;align-items:center;justify-content:center;font-size:8px;font-weight:1000;white-space:nowrap}
.move.up,.points-delta.up{color:var(--green)}
.move.down,.points-delta.down{color:var(--red)}
.move.flat,.points-delta.flat{color:#698095}
.points-delta{display:block;margin-top:2px;font-size:7px;font-weight:950;white-space:nowrap}

/* Schedules */
.schedule-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.schedule-card .event-brand{align-items:center}
.schedule-card .event-brand h3{font-size:15px}
.schedule-card>p{min-height:15px}

/* More tools */
.race-center-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.race-center-tile{
  min-height:205px;padding:19px;border:1px solid var(--line);border-radius:16px;
  background:linear-gradient(145deg,#14191f,#0d1115);display:flex;flex-direction:column;align-items:flex-start;
  transition:.15s ease
}
.race-center-tile:hover{transform:translateY(-2px);border-color:rgba(255,85,0,.42)}
.race-center-tile strong{margin:9px 0 6px;font-size:20px;letter-spacing:-.03em}
.race-center-tile p{margin:0;color:#8b98aa;font-size:11px;line-height:1.55}
.tile-arrow{margin-top:auto;padding-top:18px;color:#ff8d58;font-size:10px;font-weight:900}

/* Dialog */
dialog{
  width:min(1240px,calc(100% - 28px));max-height:92dvh;padding:0;border:1px solid #303844;border-radius:18px;
  background:#0d1115;color:var(--text);box-shadow:0 40px 120px rgba(0,0,0,.72)
}
dialog::backdrop{background:rgba(0,0,0,.74);backdrop-filter:blur(7px)}
.dialog-shell{position:relative;padding:22px;min-height:160px}
.dialog-close{
  position:sticky;top:0;z-index:4;float:right;width:39px;height:39px;border:1px solid #3a4551;border-radius:11px;
  background:#10161c;color:#fff;font-size:24px;line-height:1;cursor:pointer
}
.dialog-close:hover{background:#1a222a;border-color:#657181}
.dialog-title{padding-right:52px}
.dialog-brand{display:flex;align-items:center;gap:15px;min-width:0}
.dialog-brand .series-logo{width:112px;height:72px}
.dialog-brand .series-wordmark{width:112px;min-height:68px}
.dialog-brand>div{min-width:0}
.dialog-title h2{margin:4px 0 5px;font-size:clamp(26px,3vw,40px);line-height:1;letter-spacing:-.045em}
.dialog-title p{margin:0;color:#8391a4;font-size:10px}
.dialog-event{
  margin-top:16px;padding:11px 13px;border:1px solid #29313b;border-radius:11px;background:#11161b;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px
}
.dialog-event.is-live{border-color:rgba(57,217,138,.36);background:rgba(57,217,138,.045)}
.dialog-event strong{font-size:12px}
.dialog-event small{color:#8d99aa;font-size:9px}
.dialog-summary{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px
}
.dialog-summary>div{padding:10px 12px;border:1px solid #252d36;border-radius:10px;background:#10151a}
.dialog-summary span{display:block;color:#708094;font-size:7px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}
.dialog-summary strong{display:block;margin-top:3px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;margin-top:16px;background:#0c1014}
.table-wrap table{border-collapse:collapse;width:100%;min-width:680px}
.table-wrap.adaptive-table.cols-4 table,.table-wrap.adaptive-table.cols-5 table{min-width:620px}
.table-wrap.adaptive-table.cols-6 table{min-width:760px}
.table-wrap.adaptive-table.cols-7 table{min-width:860px}
.table-wrap.adaptive-table.cols-8 table,.table-wrap.adaptive-table.cols-9 table,.table-wrap.adaptive-table.cols-10 table{min-width:980px}
th,td{padding:10px 11px;text-align:left;border-bottom:1px solid #252c34;font-size:10px}
th{
  position:sticky;top:0;z-index:2;background:#151a20;color:#8592a4;
  font-size:7px;font-weight:1000;text-transform:uppercase;letter-spacing:.09em
}
tbody tr:hover{background:#11171d}
tbody tr:last-child td{border-bottom:0}
.adaptive-table th[data-col="name"],.adaptive-table td[data-col="name"]{min-width:185px}
.adaptive-table th[data-col="team"],.adaptive-table td[data-col="team"]{min-width:145px}
.adaptive-table th[data-col="manufacturer"],.adaptive-table td[data-col="manufacturer"]{min-width:115px}
.adaptive-table th[data-col="points"],.adaptive-table td[data-col="points"]{min-width:86px}
.adaptive-table td[data-col="behind"]{font-weight:850;color:#aab5c3}
.roster-supplement{margin-top:16px;padding:14px;border:1px solid #252d36;border-radius:12px;background:#0f1419}
.roster-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:10px}
.roster-head h3{margin:4px 0 0;font-size:16px;letter-spacing:-.025em}
.roster-head small{color:#758295;font-size:8px;text-align:right}
.roster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.roster-person{min-width:0;padding:9px 10px;border:1px solid #252d35;border-radius:9px;background:#0c1014}
.roster-person strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.roster-person small{display:block;margin-top:3px;color:#748295;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.source-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}
.official-link{
  display:inline-flex;padding:8px 10px;border:1px solid #28313b;border-radius:8px;background:#10151a;
  color:#ff9c71;font-size:9px;font-weight:900
}
.official-link:hover{border-color:#46515e;background:#151b21}
.identity-source{color:#aab5c4}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);padding:34px max(18px,calc((100vw - var(--max))/2)) 44px;
  color:#7c899a;background:#07090c
}
.footer-main{display:flex;align-items:flex-start;justify-content:space-between;gap:32px}
.footer-brand img{width:150px}
.footer-brand p{margin:9px 0 0;font-size:11px}
.footer-links{display:flex;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.footer-links a{color:#b9c3cf;font-size:10px;font-weight:850}
.footer-links a:hover{color:#fff}
.site-footer>small{display:block;max-width:950px;margin-top:22px;font-size:9px;line-height:1.55;color:#606e80}

/* Responsive */
@media(max-width:1240px){
  .header-inner{grid-template-columns:auto 1fr}.header-health{display:none}
  .hero{grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:34px}
  .series-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .schedule-grid,.live-grid,.event-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
  .leader-strip,.movers-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px){
  .hub-nav-grid{grid-template-columns:1fr}
  .hub-nav-card{min-height:96px}
}

@media(max-width:900px){
  :root{--header-h:102px}
  .header-inner{height:auto;min-height:var(--header-h);grid-template-columns:1fr;gap:8px;padding:10px 0}
  .brand{justify-content:space-between}
  .brand img{width:136px}
  .brand-product{margin-left:auto}
  .site-header nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}
  .site-header nav::-webkit-scrollbar{display:none}
  .site-header nav a{padding:7px 9px;font-size:11px}
  .hero{min-height:0;grid-template-columns:1fr;padding:48px 0 32px}
  body:not([data-view="hub"]) .hero{padding:32px 0 20px}
  .hero h1{font-size:clamp(52px,12vw,82px)}
  .hero-board{max-width:760px}
  .toolbar{top:calc(var(--header-h) + 6px)}
  .live-grid,.event-strip,.schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .leader-strip,.movers-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .race-center-grid{grid-template-columns:1fr}
  .dialog-summary{grid-template-columns:1fr 1fr}
  .roster-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  :root{--header-h:96px}
  main,.header-inner{width:min(100% - 22px,var(--max))}
  .brand-product strong{display:none}
  .hero{padding-top:36px}
  .hero h1{font-size:clamp(46px,13vw,68px)}
  .hero-copy>p{font-size:16px}
  .hero-actions .button{flex:1 1 160px}
  .hero-board>div{min-height:105px;padding:14px}
  .hero-board strong{font-size:30px}
  .toolbar{margin-left:-2px;margin-right:-2px;padding:9px;top:calc(var(--header-h) + 4px)}
  .toolbar-top{align-items:stretch;flex-direction:column;gap:8px}
  .toolbar-top>div{justify-content:space-between}
  .search{width:100%}
  .content-section{margin-top:42px}
  body[data-view="hub"] .content-section{margin-top:32px}
  .hub-nav-card{grid-template-columns:auto 1fr auto;padding:13px 14px}
  .hub-nav-card p{font-size:9px}
  .section-head{align-items:flex-start;flex-direction:column;gap:6px}
  .section-head p{text-align:left}
  .series-grid,.live-grid,.event-strip,.schedule-grid,.leader-strip,.movers-strip{grid-template-columns:1fr}
  .event-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:3px}
  .event-strip .event-card{min-width:min(86vw,360px);scroll-snap-align:start}
  .mini-row{grid-template-columns:22px 38px minmax(0,1fr) 38px 57px}
  .series-card>header{padding:12px}
  .event-brand .series-logo,.event-wordmark{width:86px}
  dialog{
    width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0
  }
  .dialog-shell{padding:16px 12px 24px}
  .dialog-close{top:2px}
  .dialog-brand .series-logo{width:94px;height:62px}
  .dialog-brand .series-wordmark{width:94px;min-height:60px}
  .dialog-title h2{font-size:27px}
  .dialog-summary{grid-template-columns:1fr 1fr}
  .dialog-event{grid-template-columns:1fr;gap:4px}
  .footer-main{flex-direction:column}
  .footer-links{justify-content:flex-start}
}
@media(max-width:430px){
  .brand img{width:122px}
  .back-to-top{right:11px;bottom:11px}
  .brand-product{padding-left:9px}
  .hero h1{font-size:45px}
  .hero-board{grid-template-columns:1fr 1fr}
  .hero-board>div{min-height:96px}
  .hero-board span{font-size:8px}.hero-board strong{font-size:26px}.hero-board small{font-size:8px}
  .card-brand h4{font-size:15px}
  .series-logo{width:68px;height:46px}
  .series-wordmark{width:68px}
  .dialog-summary{grid-template-columns:1fr}
  .roster-grid{grid-template-columns:1fr}
  .roster-head{align-items:flex-start;flex-direction:column;gap:4px}
  .roster-head small{text-align:left}
  .source-links{flex-direction:column;align-items:stretch}
  .official-link{justify-content:center}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}


/* Race Center V4 — race-day command surface */
:root{
  --cyan:#61dafb;
  --violet:#9b87ff;
  --glass:rgba(14,18,24,.76);
}
.hero{position:relative}
.hero::before{
  content:"";position:absolute;inset:32px -18px 18px;z-index:-1;pointer-events:none;
  background:
    linear-gradient(110deg,rgba(255,85,0,.09),transparent 42%),
    radial-gradient(circle at 72% 38%,rgba(97,218,251,.07),transparent 28rem);
  border-radius:28px;
}
.version-pill{background:linear-gradient(135deg,#fff,#cbd4df);box-shadow:0 0 28px rgba(255,255,255,.08)}
.race-pulse{
  margin:0 0 24px;padding:18px;border:1px solid rgba(255,255,255,.11);border-radius:20px;
  background:
    linear-gradient(145deg,rgba(20,25,32,.94),rgba(9,12,16,.96)),
    radial-gradient(circle at 0 0,rgba(255,85,0,.12),transparent 22rem);
  box-shadow:0 24px 90px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.03);
}
.pulse-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px}
.pulse-head h2{margin:4px 0 0;font-size:clamp(22px,2.4vw,34px);letter-spacing:-.045em}
.pulse-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.pulse-action,.favorites-filter{
  border:1px solid #303944;border-radius:10px;background:#0b0f14;color:#b8c3d0;
  min-height:38px;padding:0 12px;font-size:10px;font-weight:950;cursor:pointer;transition:.14s ease
}
.pulse-action:hover,.favorites-filter:hover{border-color:#596574;color:#fff;background:#131920}
.pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.pulse-card{
  min-height:128px;padding:16px;border:1px solid #252e38;border-radius:14px;
  background:linear-gradient(150deg,#121820,#0b1015);display:flex;flex-direction:column;justify-content:flex-end;
  overflow:hidden;position:relative
}
.pulse-card::after{
  content:"";position:absolute;width:110px;height:110px;right:-58px;top:-60px;border-radius:50%;
  background:rgba(255,255,255,.025);box-shadow:0 0 45px rgba(255,255,255,.02)
}
.pulse-card>span{color:#76859a;font-size:8px;font-weight:1000;letter-spacing:.13em}
.pulse-card>strong{margin:6px 0 2px;font-size:clamp(27px,3vw,42px);letter-spacing:-.06em;line-height:.95}
.pulse-card>small{color:#7f8da0;font-size:9px;line-height:1.35}
.pulse-live{border-color:rgba(57,217,138,.3);background:linear-gradient(150deg,rgba(57,217,138,.08),#0b1015)}
.pulse-live>strong{color:#8af2c1}
.pulse-personal{border-color:rgba(155,135,255,.28);background:linear-gradient(150deg,rgba(155,135,255,.08),#0b1015)}
.pulse-personal>strong{color:#c2b6ff}
.my-series-shell{margin-top:10px;padding-top:11px;border-top:1px solid #252d36}
.my-series-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.my-series-head strong{font-size:11px}
.my-series-head span{color:#667488;font-size:9px}
.my-series-strip{
  display:flex;gap:8px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:none;
  overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch
}
.my-series-strip::-webkit-scrollbar{display:none}
.my-series-strip.is-scrollable{cursor:grab}
.my-series-strip.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.my-series-strip.is-dragging *{user-select:none}
.my-series-chip{scroll-snap-align:start}
.my-series-chip{
  flex:0 0 auto;min-width:190px;max-width:270px;padding:10px 11px;border:1px solid #2a333d;border-radius:11px;
  background:#0d1217;display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:center;cursor:pointer
}
.my-series-chip:hover{border-color:rgba(255,85,0,.45);background:#121820}
.my-series-chip .series-logo{width:50px;height:34px}
.my-series-chip .series-wordmark{width:50px;min-height:34px;font-size:6px}
.my-series-chip strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.my-series-chip small{display:block;margin-top:2px;color:#708096;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.toolbar-actions{display:flex;align-items:center;gap:8px;min-width:0}
.toolbar-actions .filters{flex:1 1 auto;min-width:0}
.favorites-filter{flex:0 0 auto}
.favorites-filter[aria-pressed="true"]{
  color:#fff;border-color:rgba(155,135,255,.52);background:rgba(155,135,255,.12);box-shadow:inset 0 0 0 1px rgba(155,135,255,.05)
}
.series-card>header{position:relative}
.favorite-star{
  position:absolute;right:10px;top:10px;z-index:3;width:31px;height:31px;border-radius:9px;
  border:1px solid #303a45;background:rgba(9,13,17,.86);color:#7f8b9b;display:grid;place-items:center;
  cursor:pointer;font-size:15px;font-weight:900;backdrop-filter:blur(8px)
}
.favorite-star:hover{color:#fff;border-color:#596574}
.favorite-star.is-favorite{color:#ffd56a;border-color:rgba(255,213,106,.42);background:rgba(255,213,106,.08)}
.series-card>header .status{margin-right:34px}
.mobile-dock{display:none}

@media(max-width:900px){
  .pulse-grid{grid-template-columns:1fr 1fr}
  .pulse-card{min-height:104px}
  .pulse-head{align-items:flex-start;flex-direction:column}
  .pulse-actions{justify-content:flex-start}
  .toolbar-actions{align-items:stretch;flex-direction:column}
  .favorites-filter{width:100%}
}
@media(max-width:680px){
  body{padding-bottom:72px}
  .race-pulse{margin-left:-2px;margin-right:-2px;padding:13px;border-radius:16px}
  .pulse-grid{grid-template-columns:1fr 1fr;gap:7px}
  .pulse-card{min-height:92px;padding:12px}
  .pulse-card>strong{font-size:27px}
  .pulse-card>small{font-size:8px}
  .my-series-head{align-items:flex-start;flex-direction:column;gap:2px}
  .my-series-chip{min-width:72vw}
  .mobile-dock{
    position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:8px;right:8px;bottom:8px;z-index:80;
    min-height:58px;border:1px solid rgba(255,255,255,.11);border-radius:16px;background:rgba(10,13,17,.94);
    backdrop-filter:blur(22px) saturate(1.15);box-shadow:0 18px 60px rgba(0,0,0,.55);overflow:hidden
  }
  .mobile-dock a,.mobile-dock button{
    border:0;background:transparent;color:#8794a6;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;
    font-size:8px;font-weight:900;min-width:0;padding:5px 2px;cursor:pointer
  }
  .mobile-dock span{font-size:15px;color:#bac4d0}
  .mobile-dock a:active,.mobile-dock button:active{background:#171d23;color:#fff}
  .site-footer{padding-bottom:92px}
  .back-to-top{bottom:78px}
}


/* My Race Center accounts */
.account-zone{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.account-button{
  min-height:34px;padding:0 11px;border:1px solid rgba(155,135,255,.36);border-radius:999px;
  background:rgba(155,135,255,.08);color:#d2caff;font-size:9px;font-weight:950;cursor:pointer;
  max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.account-button:hover{border-color:rgba(155,135,255,.68);background:rgba(155,135,255,.14);color:#fff}
.account-dialog{width:min(860px,calc(100% - 28px))}
.account-shell{position:relative;padding:28px}
.account-shell>div>h2{margin:6px 0 8px;font-size:clamp(28px,4vw,48px);letter-spacing:-.055em}
.account-intro{margin:0 0 20px;color:#8e9bae;line-height:1.55;font-size:12px;max-width:650px}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.account-form{
  border:1px solid #27303a;border-radius:14px;background:#0c1116;padding:16px;display:flex;flex-direction:column;gap:11px
}
.account-form h3{margin:0 0 3px;font-size:17px}
.account-form label{display:grid;gap:5px;color:#8391a4;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.account-form input{
  height:42px;border:1px solid #2a333e;border-radius:9px;background:#080c10;color:#fff;padding:0 11px;outline:0;
  font-size:12px;text-transform:none;letter-spacing:0
}
.account-form input:focus{border-color:rgba(255,85,0,.62);box-shadow:0 0 0 2px rgba(255,85,0,.08)}
.account-message{min-height:18px;margin:12px 0 0;color:#ff9a69;font-size:10px}
.account-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}
.account-stats>div{padding:14px;border:1px solid #27303a;border-radius:12px;background:#0d1217}
.account-stats strong{display:block;font-size:22px;letter-spacing:-.04em}
.account-stats span{display:block;margin-top:3px;color:#718095;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}
.driver-follow-cell{display:flex;align-items:center;gap:7px}
.driver-follow{
  flex:0 0 auto;width:27px;height:27px;border:1px solid #303a45;border-radius:8px;background:#0c1116;
  color:#738196;display:grid;place-items:center;cursor:pointer;font-size:13px
}
.driver-follow:hover{color:#fff;border-color:#596574}
.driver-follow.is-following{color:#ffd56a;border-color:rgba(255,213,106,.42);background:rgba(255,213,106,.08)}

@media(max-width:1240px){
  .account-zone .header-health{display:none}
}
@media(max-width:900px){
  .account-zone{position:absolute;right:18px;top:12px}
}
@media(max-width:680px){
  .account-button{max-width:120px}
  .account-dialog{width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0}
  .account-shell{padding:22px 14px}
  .account-grid{grid-template-columns:1fr}
  .account-stats{grid-template-columns:1fr 1fr 1fr}
}


/* Race Center V5 — personalized racing network */
body:not([data-view="hub"]) .v5-home{display:none}
.v5-home{display:grid;gap:18px;margin:0 0 30px}
.live-stage{
  min-height:390px;display:grid;grid-template-columns:minmax(0,.84fr) minmax(420px,1.16fr);
  border:1px solid rgba(255,255,255,.12);border-radius:22px;overflow:hidden;
  background:
    radial-gradient(circle at 5% 0,rgba(255,85,0,.16),transparent 30rem),
    linear-gradient(140deg,#141a21,#080b0f 68%);
  box-shadow:0 30px 100px rgba(0,0,0,.34)
}
.live-stage-copy{padding:32px;display:flex;flex-direction:column;justify-content:center}
.live-stage-kicker{display:flex;align-items:center;gap:8px;color:#ff9a69;font-size:10px;font-weight:1000;letter-spacing:.14em}
.live-dot{width:8px;height:8px;border-radius:50%;background:#687587;box-shadow:0 0 0 5px rgba(255,255,255,.025)}
.live-stage.is-live .live-dot{background:var(--green);box-shadow:0 0 18px rgba(57,217,138,.65)}
.live-stage h2{margin:13px 0 12px;font-size:clamp(34px,4.5vw,70px);line-height:.94;letter-spacing:-.06em}
.live-stage-copy>p{margin:0;max-width:620px;color:#97a4b6;font-size:14px;line-height:1.6}
.live-stage-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.live-stage-media{position:relative;min-height:390px;background:#05070a}
.live-stage-media iframe{width:100%;height:100%;min-height:390px;border:0;background:#000}
.broadcast-placeholder{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;
  background:
    linear-gradient(180deg,rgba(5,7,10,.05),rgba(5,7,10,.92)),
    repeating-linear-gradient(135deg,#0b1015 0,#0b1015 20px,#0d1319 20px,#0d1319 40px)
}
.broadcast-placeholder>span{color:#6e7b8d;font-size:9px;font-weight:1000;letter-spacing:.14em}
.broadcast-placeholder>strong{margin-top:7px;font-size:26px;letter-spacing:-.035em}
.broadcast-placeholder>small{margin-top:6px;color:#738196;max-width:520px;line-height:1.5}

.personal-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:14px;align-items:start}
.personal-column,.pit-wall{
  border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#10151b,#0a0e12);padding:16px
}
.section-head.compact{margin-bottom:12px}
.section-head.compact h2{font-size:25px}
.personal-feed{display:grid;gap:8px}
.personal-card{
  min-width:0;padding:13px;border:1px solid #252e38;border-radius:12px;background:#0d1217;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px
}
.personal-card:hover{border-color:#384451}
.personal-card-icon{
  width:40px;height:40px;border-radius:10px;background:#141b22;border:1px solid #29333e;display:grid;place-items:center;
  font-size:18px
}
.personal-card>div{min-width:0}
.personal-card strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.personal-card p{margin:3px 0 0;color:#7c8a9c;font-size:9px;line-height:1.4}
.personal-card b{color:#ff9363;font-size:9px;white-space:nowrap}
.personal-empty{padding:24px;border:1px dashed #2a333d;border-radius:13px;text-align:center;color:#738196;font-size:11px}

.pit-wall{position:sticky;top:calc(var(--header-h) + 12px)}
.pit-wall-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.pit-wall-head h2{margin:4px 0 0;font-size:24px;letter-spacing:-.04em}
.social-live-pill{
  padding:6px 8px;border:1px solid rgba(155,135,255,.36);border-radius:999px;background:rgba(155,135,255,.08);
  color:#cfc7ff;font-size:8px;font-weight:1000;letter-spacing:.08em;white-space:nowrap
}
.composer{padding:11px;border:1px solid #29323d;border-radius:13px;background:#080c10}
.composer textarea{
  width:100%;min-height:88px;resize:vertical;border:0;outline:0;background:transparent;color:#fff;
  font:700 12px/1.5 inherit
}
.composer textarea::placeholder{color:#536173}
.composer-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;border-top:1px solid #202832;padding-top:9px}
.composer-row select{
  min-width:0;height:36px;border:1px solid #28323c;border-radius:8px;background:#0d1217;color:#aeb8c5;padding:0 8px;font-size:9px
}
.composer-row>span{color:#667487;font-size:8px}
.composer-row .button{min-height:36px;padding:0 11px}
.composer-note{margin:8px 1px 0;color:#637083;font-size:8px}
.pit-wall-feed{display:grid;gap:9px;margin-top:11px;max-height:760px;overflow:auto;padding-right:2px}
.wall-post{padding:13px;border:1px solid #252e38;border-radius:13px;background:#0c1116}
.wall-post-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.wall-author{display:flex;align-items:center;gap:9px;min-width:0}
.wall-avatar{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ff5500,#6c2b13);
  color:#fff;font-size:10px;font-weight:1000
}
.wall-author strong{display:block;font-size:10px}
.wall-author small{display:block;margin-top:2px;color:#637286;font-size:8px}
.wall-post-time{color:#5f6d7f;font-size:8px;white-space:nowrap}
.wall-body{margin:11px 0 0;color:#dce3ea;font-size:11px;line-height:1.55;white-space:pre-wrap}
.wall-context{display:inline-flex;margin-top:9px;padding:5px 7px;border:1px solid #27313b;border-radius:999px;color:#8391a4;font-size:8px}
.wall-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px;padding-top:9px;border-top:1px solid #202832}
.wall-action{
  min-height:30px;padding:0 9px;border:1px solid #29333e;border-radius:8px;background:#0d1318;color:#8390a1;font-size:9px;font-weight:900;cursor:pointer
}
.wall-action:hover,.wall-action.active{color:#fff;border-color:#4a5968;background:#151c23}
.wall-action.active[data-v5-reaction="checkered"]{color:#ffd56a}
.wall-action.active[data-v5-reaction="fire"]{color:#ff8a5f}
.wall-action.active[data-v5-reaction="eyes"]{color:#b7aaff}
.wall-delete{margin-left:auto}
.wall-comments{display:grid;gap:6px;margin-top:9px}
.wall-comment{padding:8px 9px;border-radius:9px;background:#11171d;color:#aeb9c6;font-size:9px;line-height:1.45}
.wall-comment strong{color:#fff}
.wall-comment-form{display:flex;gap:6px;margin-top:8px}
.wall-comment-form input{
  flex:1;min-width:0;height:32px;border:1px solid #27313b;border-radius:8px;background:#080c10;color:#fff;padding:0 9px;font-size:9px
}
.wall-comment-form button{min-width:58px;height:32px;border:1px solid #313c48;border-radius:8px;background:#121820;color:#fff;font-size:8px;font-weight:900;cursor:pointer}

.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}
.profile-form label{display:grid;gap:5px;color:#8391a4;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.profile-form .full{grid-column:1/-1}
.profile-form input,.profile-form textarea,.profile-form select{
  width:100%;border:1px solid #2a333e;border-radius:9px;background:#080c10;color:#fff;padding:10px 11px;outline:0;
  font-size:11px;text-transform:none;letter-spacing:0
}
.profile-form textarea{min-height:70px;resize:vertical}
.profile-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}
.profile-actions span{color:#7d8b9e;font-size:9px;text-transform:none;letter-spacing:0}

@media(max-width:1100px){
  .live-stage{grid-template-columns:1fr}
  .live-stage-media{min-height:300px}
  .live-stage-media iframe{min-height:300px}
  .personal-grid{grid-template-columns:1fr}
  .pit-wall{position:static}
}
@media(max-width:680px){
  .live-stage{border-radius:16px;min-height:0}
  .live-stage-copy{padding:20px 15px}
  .live-stage h2{font-size:40px}
  .live-stage-media,.live-stage-media iframe{min-height:230px}
  .broadcast-placeholder{padding:18px}
  .broadcast-placeholder>strong{font-size:20px}
  .personal-column,.pit-wall{padding:12px;border-radius:15px}
  .composer-row{grid-template-columns:1fr auto}
  .composer-row .button{grid-column:1/-1;width:100%}
  .pit-wall-feed{max-height:none}
  .profile-form{grid-template-columns:1fr}
  .profile-form .full{grid-column:auto}
}


/* V5.1 people graph + official series race art */
.broadcast-identity-bg{
  position:absolute;inset:0;overflow:hidden;display:grid;grid-template-columns:minmax(180px,.78fr) 1.22fr;
  align-items:end;padding:30px;background:
    radial-gradient(circle at 22% 28%,rgba(255,255,255,.06),transparent 20rem),
    linear-gradient(145deg,#111820,#06080b 70%);
}
.broadcast-identity-bg::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 20%,rgba(3,5,7,.22) 55%,rgba(3,5,7,.76) 100%);
}
.broadcast-speed-lines{
  position:absolute;inset:-35%;transform:rotate(-12deg);
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 2px,transparent 2px 36px);
  opacity:.9
}
.broadcast-logo-wrap,.broadcast-copy{position:relative;z-index:1}
.broadcast-logo-wrap{align-self:center;justify-self:center;width:min(76%,270px)}
.broadcast-series-logo{
  display:block;width:100%;max-height:150px;object-fit:contain;filter:drop-shadow(0 18px 32px rgba(0,0,0,.6))
}
.broadcast-series-mark{
  position:relative;z-index:1;align-self:center;justify-self:center;padding:18px 22px;border:1px solid #384450;border-radius:15px;
  background:rgba(12,16,21,.78);color:#fff;font-size:clamp(18px,2vw,28px);font-weight:1000;letter-spacing:.04em;text-align:center;
  box-shadow:0 18px 48px rgba(0,0,0,.3)
}
.broadcast-copy{grid-column:2;align-self:end}
.broadcast-copy>span{display:block;color:#7d8b9d;font-size:9px;font-weight:1000;letter-spacing:.14em}
.broadcast-copy>strong{display:block;margin:7px 0 6px;font-size:clamp(24px,2.8vw,42px);letter-spacing:-.045em;line-height:1}
.broadcast-copy>small{display:block;color:#8391a4;font-size:10px;line-height:1.5;max-width:520px}
.broadcast-source{display:inline-block;margin-top:10px;color:#a9b6c5;font-size:8px;text-decoration:none}
.broadcast-source:hover{color:#fff}
.broadcast-identity-bg.empty{grid-template-columns:1fr}
.broadcast-identity-bg.empty .broadcast-series-mark{position:absolute;left:28px;top:28px;justify-self:auto;opacity:.32}
.broadcast-identity-bg.empty .broadcast-copy{grid-column:1}

.people-discovery{margin-top:15px;padding-top:15px;border-top:1px solid #252d36}
.people-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:10px}
.people-head h3{margin:4px 0 0;font-size:20px;letter-spacing:-.035em}
.people-head p{margin:0;color:#718095;font-size:9px}
.people-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.people-card{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;
  border:1px solid #27313b;border-radius:12px;background:#0c1116
}
.people-main{
  min-width:0;border:0;background:transparent;color:inherit;padding:0;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer
}
.people-avatar{
  flex:0 0 auto;width:37px;height:37px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#ff5500,#66250d);color:#fff;font-size:9px;font-weight:1000
}
.people-avatar.large{width:68px;height:68px;font-size:17px}
.people-main>span:last-child{min-width:0}
.people-main strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.people-main small{display:block;margin-top:2px;color:#758397;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.people-main em{display:block;margin-top:4px;color:#9facc0;font-size:8px;font-style:normal}
.people-follow{
  height:31px;padding:0 9px;border:1px solid rgba(255,85,0,.38);border-radius:8px;background:rgba(255,85,0,.08);
  color:#ff9a69;font-size:8px;font-weight:1000;cursor:pointer
}
.people-follow:hover{background:rgba(255,85,0,.14);border-color:rgba(255,85,0,.65);color:#fff}
.verified-badge{
  display:inline-grid;place-items:center;width:15px;height:15px;margin-left:5px;border-radius:50%;vertical-align:-2px;
  background:#ff5500;color:white;font-size:8px;font-weight:1000
}
.people-dialog{width:min(720px,calc(100% - 28px))}
.people-profile-shell{position:relative;padding:26px}
.profile-hero{display:flex;align-items:center;gap:14px;padding-right:42px}
.profile-hero h2{margin:4px 0 1px;font-size:34px;letter-spacing:-.05em}
.profile-hero p{margin:0;color:#7b899b;font-size:10px}
.profile-official{
  display:inline-flex;margin-top:7px;padding:5px 7px;border-radius:999px;border:1px solid rgba(255,85,0,.35);
  background:rgba(255,85,0,.08);color:#ff9d70;font-size:8px;font-weight:1000
}
.profile-bio{margin:18px 0;color:#abb6c2;font-size:12px;line-height:1.6}
.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.profile-stats>div{padding:13px;border:1px solid #27313b;border-radius:11px;background:#0d1217}
.profile-stats strong{display:block;font-size:21px}
.profile-stats span{display:block;margin-top:3px;color:#718095;font-size:8px;text-transform:uppercase;font-weight:1000;letter-spacing:.06em}
.profile-track{color:#7f8da0;font-size:10px}
.profile-action-row{display:flex;gap:8px;margin:15px 0}
.profile-tags{margin-top:14px}
.profile-tags>strong{display:block;margin-bottom:7px;font-size:9px;color:#76869a;text-transform:uppercase;letter-spacing:.08em}
.profile-tags>div{display:flex;gap:6px;flex-wrap:wrap}
.profile-tags span{padding:6px 8px;border:1px solid #27313b;border-radius:999px;background:#0d1217;color:#aab5c1;font-size:8px}

@media(max-width:760px){
  .broadcast-identity-bg{grid-template-columns:1fr;padding:20px}
  .broadcast-logo-wrap{width:min(56%,200px);margin-bottom:22px}
  .broadcast-copy{grid-column:1}
  .people-grid{grid-template-columns:1fr}
  .people-head{align-items:flex-start;flex-direction:column;gap:3px}
  .profile-stats{grid-template-columns:1fr 1fr 1fr}
}


/* Hotfix: keep event branding subordinate to event information */
.broadcast-event-card{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;
  padding:24px;background:
    radial-gradient(circle at 78% 16%,rgba(255,85,0,.08),transparent 18rem),
    linear-gradient(160deg,#0e141a,#080b0f 72%);
  overflow:hidden;
}
.broadcast-event-card::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(120deg,transparent 0 58%,rgba(255,255,255,.025) 58% 59%,transparent 59% 100%);
}
.broadcast-event-top,.broadcast-event-body{position:relative;z-index:1}
.broadcast-event-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.broadcast-brand-chip{
  display:inline-flex;align-items:center;justify-content:center;min-height:54px;max-width:180px;
  padding:9px 12px;border:1px solid #2c3641;border-radius:12px;background:rgba(12,17,22,.88)
}
.broadcast-series-logo.compact{
  width:auto;max-width:150px;max-height:36px;object-fit:contain;filter:none
}
.broadcast-series-mark.compact{
  padding:0;border:0;background:transparent;box-shadow:none;font-size:14px;letter-spacing:.08em
}
.broadcast-event-state{
  padding:6px 8px;border:1px solid rgba(255,255,255,.1);border-radius:999px;
  color:#7f8ea2;background:rgba(255,255,255,.03);font-size:8px;font-weight:1000;letter-spacing:.12em
}
.broadcast-event-body{max-width:640px}
.broadcast-event-body>small{display:block;color:#78879a;font-size:9px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}
.broadcast-event-body>strong{display:block;margin:8px 0 7px;font-size:clamp(24px,3vw,40px);line-height:1;letter-spacing:-.045em}
.broadcast-event-body>p{margin:0;color:#8593a6;font-size:10px;line-height:1.5;max-width:520px}
.broadcast-event-card.empty .broadcast-event-body{max-width:520px}
@media(max-width:680px){
  .broadcast-event-card{padding:18px}
  .broadcast-brand-chip{min-height:46px;max-width:145px}
  .broadcast-series-logo.compact{max-width:120px;max-height:30px}
  .broadcast-event-body>strong{font-size:25px}
}


/* Legacy V5 social shell styles retained for non-home/profile surfaces. */
.race-social{
  display:grid;
  grid-template-columns:240px minmax(0,760px) 300px;
  gap:14px;
  align-items:start;
  max-width:1340px;
  margin:22px auto 0;
}
.social-left,.social-right{display:grid;gap:12px;position:sticky;top:calc(var(--header-h) + 12px)}
.social-center{display:grid;gap:12px;min-width:0}
.social-profile-card,.social-left-card,.social-right-card,.social-composer-card,.social-feed-card,.social-for-you{
  border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,#10151a,#0b0f13);
  box-shadow:0 14px 44px rgba(0,0,0,.16)
}
.social-profile-card{padding:15px}
.social-profile-avatar,.composer-avatar{
  width:50px;height:50px;border-radius:50%;display:grid;place-items:center;border:0;
  background:linear-gradient(135deg,#ff5500,#6f2608);color:#fff;font-size:11px;font-weight:1000
}
.social-profile-copy{margin-top:10px}
.social-profile-copy strong{display:block;font-size:14px}
.social-profile-copy span{display:block;margin-top:2px;color:#778598;font-size:9px}
.social-profile-role{
  display:inline-flex;margin-top:7px;padding:4px 7px;border:1px solid rgba(255,85,0,.28);border-radius:999px;
  background:rgba(255,85,0,.07);color:#ff9a69;font-size:7px;font-style:normal;font-weight:1000;letter-spacing:.07em;text-transform:uppercase
}
.social-profile-edit{
  width:100%;height:33px;margin-top:11px;border:1px solid #2b3540;border-radius:9px;
  background:#11171d;color:#c5ced8;font-size:9px;font-weight:950;cursor:pointer
}
.social-profile-edit:hover{border-color:#495766;color:#fff}
.social-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:11px}
.social-profile-stats div{padding:8px 4px;border:1px solid #232c35;border-radius:8px;background:#0c1116;text-align:center}
.social-profile-stats strong{display:block;font-size:14px}
.social-profile-stats span{display:block;margin-top:2px;color:#687689;font-size:7px;font-weight:1000;text-transform:uppercase}

.social-nav{display:grid;gap:3px;padding:7px;border:1px solid var(--line);border-radius:14px;background:#0c1116}
.social-nav a,.social-nav button{
  min-height:40px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:#99a5b5;
  display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer
}
.social-nav a:hover,.social-nav button:hover,.social-nav a.active{background:#151b22;color:#fff}
.social-nav span{width:22px;text-align:center;color:#ff8b52;font-size:15px}
.social-nav strong{font-size:10px}

.social-left-card,.social-right-card{padding:12px}
.rail-heading,.right-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.rail-heading span,.right-card-head .eyebrow{font-size:8px}
.rail-heading button,.right-card-head button{
  border:0;background:transparent;color:#738195;font-size:8px;cursor:pointer
}
.rail-list{display:grid;gap:6px;margin-top:9px}
.rail-list p{margin:0;color:#667486;font-size:9px;line-height:1.45}
.rail-item{
  width:100%;display:flex;align-items:center;gap:8px;padding:7px;border:1px solid #222b34;border-radius:9px;
  background:#0d1217;color:#fff;text-align:left;cursor:pointer
}
.rail-item:hover{border-color:#3e4a57;background:#111820}
.rail-item .series-logo{width:30px;height:22px}
.rail-item .series-wordmark{width:30px;min-height:22px;font-size:5px}
.rail-item span:last-child{min-width:0}
.rail-item strong{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-item small{display:block;margin-top:2px;color:#697789;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-driver-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#1b232c;color:#ff9a69;font-size:9px;font-weight:1000}

.social-composer-card{padding:12px;display:grid;grid-template-columns:auto 1fr;gap:9px}
.composer-avatar{width:39px;height:39px;font-size:9px;cursor:pointer}
.social-composer-body textarea{
  width:100%;min-height:66px;resize:vertical;border:0;outline:0;background:transparent;color:#fff;
  padding:2px 0;font:700 12px/1.5 inherit
}
.social-composer-body textarea::placeholder{color:#596779}
.social-composer-tools{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;
  padding-top:8px;border-top:1px solid #222a33
}
.social-composer-tools select{
  min-width:0;height:34px;border:1px solid #29333e;border-radius:8px;background:#0c1116;color:#aab5c2;padding:0 8px;font-size:9px
}
.social-composer-tools>span{color:#657386;font-size:8px}
.social-composer-body>small{display:block;margin-top:6px;color:#606e80;font-size:8px}

.social-live-card{min-height:310px;grid-template-columns:minmax(0,.9fr) minmax(300px,1.1fr);border-radius:15px}
.social-live-card .live-stage-copy{padding:22px}
.social-live-card .live-stage-media,.social-live-card .live-stage-media iframe{min-height:310px}
.social-live-card h2{font-size:clamp(28px,3.6vw,50px)}

.social-for-you,.social-feed-card{padding:13px}
.unified-race-feed{padding:15px}
.unified-feed{display:grid;gap:11px;max-height:none;overflow:visible;margin-top:0}
.unified-feed>.network-object,.unified-feed>.wall-post,.unified-feed>.race-moment-card{box-shadow:0 9px 26px rgba(0,0,0,.14)}
.unified-feed>.network-object{border-color:#2a3540}
.unified-feed>.wall-post{border-color:#252f39}
.race-moment-card{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;
  padding:12px 13px;border:1px solid rgba(255,85,0,.34);border-radius:13px;
  background:linear-gradient(135deg,rgba(255,85,0,.09),#0c1116 48%,#0b0f13)
}
.race-moment-card.is-live{border-color:rgba(255,85,0,.58);box-shadow:inset 3px 0 0 #ff5500,0 9px 26px rgba(0,0,0,.16)}
.race-moment-logo{width:56px;display:grid;place-items:center}
.race-moment-logo .series-logo{width:54px;height:34px}
.race-moment-logo .series-wordmark{width:54px;min-height:34px;font-size:6px}
.race-moment-mark{font-size:8px;font-weight:1000;letter-spacing:.08em;color:#ff8d58}
.race-moment-copy{min-width:0}
.race-moment-copy small{display:flex;align-items:center;gap:6px;color:#ff8d58;font-size:7px;font-weight:1000;letter-spacing:.09em;text-transform:uppercase}
.race-moment-dot{width:6px;height:6px;border-radius:50%;background:#ff5500;box-shadow:0 0 0 3px rgba(255,85,0,.12)}
.race-moment-copy strong{display:block;margin-top:4px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.race-moment-copy>span:last-child{display:block;margin-top:3px;color:#8391a4;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.race-moment-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.race-moment-action{
  min-height:31px;padding:0 9px;border:1px solid #303b46;border-radius:8px;background:#11171d;color:#c4ced9;
  display:inline-flex;align-items:center;justify-content:center;font-size:8px;font-weight:950;cursor:pointer;text-decoration:none
}
.race-moment-action.primary{border-color:#ff5500;background:#ff5500;color:#fff}
.feed-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}
.feed-heading h2{margin:4px 0 0;font-size:23px;letter-spacing:-.04em}
.feed-heading p{margin:0;color:#728094;font-size:9px}

.social-racing-feed{display:grid;gap:9px}
.network-object{
  border:1px solid #27313b;border-radius:13px;background:#0c1116;overflow:hidden;cursor:pointer;transition:.14s ease
}
.network-object:hover{border-color:#465361;transform:translateY(-1px)}
.network-object header{
  padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #212a33
}
.network-object header>div{display:flex;align-items:center;gap:9px;min-width:0}
.network-object header .series-logo{width:54px;height:34px}
.network-object header .series-wordmark{width:54px;min-height:34px;font-size:6px}
.network-object header small{display:block;color:#68778a;font-size:7px;font-weight:1000;letter-spacing:.08em}
.network-object header strong{display:block;margin-top:2px;font-size:11px}
.network-object-more{
  width:30px;height:30px;border:1px solid #2c3640;border-radius:8px;background:#11171d;color:#a9b4c0;font-size:18px;cursor:pointer
}
.network-event-line{display:flex;align-items:center;gap:8px;padding:8px 12px;background:rgba(255,85,0,.06);border-bottom:1px solid rgba(255,85,0,.14)}
.network-event-line b{color:#ff8952;font-size:8px;letter-spacing:.08em}
.network-event-line span{color:#aeb8c5;font-size:9px}
.network-standings{padding:11px 12px}
.network-object-label{margin-bottom:6px;color:#657386;font-size:7px;font-weight:1000;letter-spacing:.11em}
.network-standing-row{
  display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;gap:8px;align-items:center;
  min-height:32px;border-top:1px solid #1e262f
}
.network-standing-row:first-of-type{border-top:0}
.network-standing-row .network-pos{color:#748296;font-size:9px;font-weight:1000}
.network-standing-row strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.network-standing-row>span:nth-child(3){color:#a7b1bd;font-size:9px}
.network-standing-row .move{font-size:8px}
.network-object footer{
  padding:9px 12px;border-top:1px solid #212a33;display:flex;align-items:center;justify-content:space-between;gap:10px
}
.network-object footer span{color:#657386;font-size:8px}
.network-object footer strong{color:#ff9363;font-size:8px}
.driver-network-avatar{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#1a222b;color:#ff9667;font-size:9px;font-weight:1000
}
.network-rank{font-size:22px;font-weight:1000;letter-spacing:-.05em}
.driver-network-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#202831}
.driver-network-stats>div{padding:11px;background:#0d1217}
.driver-network-stats span{display:block;color:#657386;font-size:7px;text-transform:uppercase;font-weight:1000}
.driver-network-stats strong{display:block;margin-top:4px;font-size:12px}
.social-empty{display:grid;justify-items:start;gap:8px;padding:20px;text-align:left}
.social-empty strong{color:#fff;font-size:15px}
.social-empty span{color:#748296;font-size:10px;line-height:1.5;max-width:540px}

.social-post-feed{max-height:none}
.social-post-feed .wall-post{padding:13px;background:#0c1116}
.social-post-feed .wall-body{font-size:12px}
.social-live-pill{font-size:7px}

.social-right-card h3{margin:4px 0 0;font-size:16px}
.social-people-list{grid-template-columns:1fr}
.social-people-list .people-card{padding:8px}
.social-people-list .people-avatar{width:34px;height:34px}
.social-people-list .people-main strong{font-size:9px}
.social-people-list .people-follow{height:29px}

.right-pulse-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
.right-pulse-grid>div{padding:9px;border:1px solid #232c35;border-radius:9px;background:#0c1116}
.right-pulse-grid span{display:block;color:#677588;font-size:7px;text-transform:uppercase;font-weight:1000}
.right-pulse-grid strong{display:block;margin:4px 0 2px;font-size:18px;letter-spacing:-.04em}
.right-pulse-grid small{display:block;color:#687689;font-size:7px;line-height:1.3}
.social-discover-links{display:grid;gap:6px;margin-top:9px}
.social-discover-links a{padding:9px;border:1px solid #232c35;border-radius:9px;background:#0c1116}
.social-discover-links a:hover{border-color:#3d4955}
.social-discover-links strong{display:block;font-size:9px}
.social-discover-links span{display:block;margin-top:3px;color:#6e7c8f;font-size:8px}

@media(max-width:1180px){
  .race-social{grid-template-columns:210px minmax(0,1fr)}
  .social-right{display:none}
}
@media(max-width:860px){
  .race-social{display:block;margin-top:10px}
  .social-left{position:static;display:block;margin-bottom:10px}
  .social-profile-card,.social-left-card{display:none}
  .social-nav{
    position:sticky;top:calc(var(--header-h) + 6px);z-index:34;grid-template-columns:repeat(6,minmax(0,1fr));
    overflow-x:auto;margin-bottom:10px
  }
  .social-nav a,.social-nav button{justify-content:center;min-width:78px;padding:0 7px}
  .social-nav strong{display:none}
  .social-center{gap:10px}
}
@media(max-width:680px){
  main{width:min(var(--max),calc(100% - 18px))}
  .social-composer-card{grid-template-columns:auto 1fr}
  .social-composer-tools{grid-template-columns:1fr auto}
  .social-composer-tools .button{grid-column:1/-1;width:100%}
  .social-live-card{grid-template-columns:1fr;min-height:0}
  .social-live-card .live-stage-media,.social-live-card .live-stage-media iframe{min-height:230px}
  .driver-network-stats{grid-template-columns:1fr 1fr 1fr}
}


/* Real licensed race photography treatment */
.broadcast-photo-card{
  position:absolute;inset:0;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;
  padding:22px;background:#080b0f;
}
.broadcast-photo-card::before{
  content:"";position:absolute;inset:0;background-image:var(--race-photo);background-size:cover;background-position:center;
  filter:saturate(.92) contrast(1.03);transform:scale(1.01)
}
.broadcast-photo-overlay{
  position:absolute;inset:0;background:
    linear-gradient(180deg,rgba(5,7,10,.08) 0%,rgba(5,7,10,.18) 34%,rgba(5,7,10,.86) 100%),
    linear-gradient(90deg,rgba(5,7,10,.18),transparent 50%);
}
.broadcast-photo-card .broadcast-event-top,
.broadcast-photo-card .broadcast-event-body{position:relative;z-index:1}
.broadcast-photo-card .broadcast-brand-chip{
  backdrop-filter:blur(10px);background:rgba(7,10,14,.66);border-color:rgba(255,255,255,.14)
}
.broadcast-photo-card .broadcast-event-state{
  color:#fff;background:rgba(7,10,14,.65);border-color:rgba(255,255,255,.16);backdrop-filter:blur(8px)
}
.broadcast-photo-card .broadcast-event-body>small{color:#c2ccd8}
.broadcast-photo-card .broadcast-event-body>strong{text-shadow:0 3px 24px rgba(0,0,0,.66)}
.broadcast-photo-card .broadcast-event-body>p{color:#d0d7df;max-width:560px}
.broadcast-photo-credit{
  display:inline-block;margin-top:10px;color:#d7dde5;font-size:8px;text-decoration:none;opacity:.74
}
.broadcast-photo-credit:hover{opacity:1;color:#fff}


/* Race Center social spine — identity + one daily racing feed */
.profile-role{
  display:inline-flex;margin-top:7px;padding:5px 8px;border:1px solid #2b3540;border-radius:999px;
  color:#aeb9c6;background:#10161c;font-size:8px;font-weight:1000;text-transform:uppercase;letter-spacing:.06em
}
.profile-official{margin-left:6px}
.unified-race-feed .feed-heading{padding:2px 2px 5px}
.unified-race-feed .feed-heading h2{font-size:26px}
@media(max-width:680px){
  .unified-race-feed{padding:10px;border-radius:13px}
  .unified-feed{gap:9px}
  .unified-race-feed .feed-heading{align-items:flex-start;flex-direction:column}
}

@media(max-width:680px){
  .race-moment-card{grid-template-columns:auto minmax(0,1fr);align-items:start}
  .race-moment-actions{grid-column:1/-1;justify-content:flex-start}
  .race-moment-action{flex:1}
}


/* Race Center usability reset — V1 clarity with V5 infrastructure */
body[data-view="hub"] .race-social{display:none!important}
body[data-view="hub"] #hubNavigation,
body[data-view="hub"] .movers-section,
body[data-view="hub"] .schedule-section,
body[data-view="hub"] .race-center-grid{display:none!important}

body[data-view="hub"] .hero{
  display:grid!important;
  min-height:0;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  gap:32px;
  align-items:center;
  padding:46px 0 28px;
}
body[data-view="hub"] .hero::before{inset:18px -18px 0}
body[data-view="hub"] .hero h1{
  max-width:780px;
  margin:10px 0 16px;
  font-size:clamp(46px,5.4vw,78px);
  line-height:.92;
}
body[data-view="hub"] .hero-copy>p{
  max-width:720px;
  font-size:16px;
  line-height:1.55;
}
body[data-view="hub"] .hero-actions{margin-top:20px}
body[data-view="hub"] .hero-board{
  display:grid!important;
  grid-template-columns:1fr 1fr;
  border-radius:16px;
}
body[data-view="hub"] .hero-board>div{min-height:96px;padding:16px}
body[data-view="hub"] .hero-board span{font-size:9px}
body[data-view="hub"] .hero-board strong{font-size:clamp(25px,3vw,38px)}
body[data-view="hub"] .hero-board small{font-size:8px}

body[data-view="hub"] .home-race-pulse{display:block!important;margin:0 0 24px;padding:15px;border-radius:16px}
body[data-view="hub"] .home-race-pulse .pulse-head{margin-bottom:11px}
body[data-view="hub"] .home-race-pulse .pulse-head h2{font-size:26px}
body[data-view="hub"] .home-race-pulse .pulse-grid{gap:8px}
body[data-view="hub"] .home-race-pulse .pulse-card{min-height:92px;padding:13px}
body[data-view="hub"] .home-race-pulse .pulse-card>strong{font-size:30px}
body[data-view="hub"] .home-race-pulse .my-series-shell{margin-top:12px}

body[data-view="hub"] .toolbar{
  display:flex!important;
  position:sticky;
  margin:0 0 26px;
}
body[data-view="hub"] .live-section,
body[data-view="hub"] .leaders-section,
body[data-view="hub"] .series-section{
  display:block!important;
}
body[data-view="hub"] .content-section{margin-top:34px}
body[data-view="hub"] .section-head{margin-bottom:12px}
body[data-view="hub"] .series-section{margin-top:42px}
body[data-view="hub"] .leader-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-view="hub"] .series-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:1100px){
  body[data-view="hub"] .hero{grid-template-columns:1fr}
  body[data-view="hub"] .hero-board{max-width:760px}
  body[data-view="hub"] .leader-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-view="hub"] .series-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  body[data-view="hub"] .hero{padding:30px 0 18px;gap:20px}
  body[data-view="hub"] .hero h1{font-size:44px}
  body[data-view="hub"] .hero-copy>p{font-size:14px}
  body[data-view="hub"] .hero-board>div{min-height:78px;padding:12px}
  body[data-view="hub"] .home-race-pulse{padding:12px}
  body[data-view="hub"] .home-race-pulse .pulse-grid{grid-template-columns:1fr 1fr}
  body[data-view="hub"] .toolbar{position:static}
  body[data-view="hub"] .leader-strip,
  body[data-view="hub"] .series-grid{grid-template-columns:1fr}
}


/* Race Center readability + drivers/profile pass — 2026-09-22 */
.site-header nav a{font-size:14px;padding:10px 12px}
.brand-product strong{font-size:14px}
.account-button{font-size:12px;min-height:38px}
.header-health{font-size:11px;padding:8px 11px}
.eyebrow{font-size:11px}
.button{font-size:13px;min-height:42px}
.section-head p{font-size:13px;line-height:1.55}
.loading-card{font-size:13px}
.filter{font-size:12px;padding:9px 12px}
.toolbar-top strong{font-size:13px}
.search input{font-size:13px}
.event-brand h3{font-size:18px}
.event-card>strong{font-size:14px}
.event-card>p,.schedule-card>p{font-size:12px}
.event-actions a{font-size:11px}
.leader-card strong,.mover-card strong{font-size:14px}
.card-brand h4{font-size:17px}
.card-leader strong{font-size:14px}
.card-leader span,.card-leader small{font-size:10px}
.mini-row{font-size:12px}
.mini-row .driver strong{font-size:12px}
.mini-row .driver small{font-size:10px}
.mini-row .pts{font-size:11px}
.series-card footer{font-size:10px}
table th{font-size:10px}
table td{font-size:13px}
table td strong{font-size:13px}
.account-form label,.profile-form label{font-size:11px}
.account-intro{font-size:13px}
.account-message{font-size:11px}

body[data-view="hub"] .hero{
  grid-template-columns:1fr!important;
  gap:22px;
  padding:38px 0 24px;
}
body[data-view="hub"] .hero-copy{max-width:930px}
body[data-view="hub"] .hero-board{
  max-width:none!important;
  width:100%;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  border-radius:15px;
}
body[data-view="hub"] .hero-board>div{
  min-height:88px;
  padding:15px 18px;
  border-bottom:0;
  border-right:1px solid var(--line);
  justify-content:center;
}
body[data-view="hub"] .hero-board>div:last-child{border-right:0}
body[data-view="hub"] .hero-board span{font-size:10px}
body[data-view="hub"] .hero-board strong{font-size:32px;margin:5px 0 2px}
body[data-view="hub"] .hero-board small{font-size:10px;line-height:1.35}

.home-race-pulse .pulse-card>span{font-size:10px}
.home-race-pulse .pulse-card>small{font-size:11px}
.my-series-head>div:first-child{display:grid;gap:3px}
.my-series-head strong{font-size:14px}
.my-series-head span{font-size:11px}
.my-series-controls{display:flex;gap:6px;margin-left:auto}
.my-series-controls[hidden]{display:none}
.my-series-controls button{
  width:36px;height:36px;border:1px solid #33404c;border-radius:9px;background:#10161c;color:#dce4ec;
  font-size:22px;line-height:1;cursor:pointer;transition:.14s ease
}
.my-series-controls button:hover:not(:disabled){border-color:rgba(255,85,0,.55);background:#171e25;color:#fff}
.my-series-controls button:disabled{opacity:.28;cursor:default}
.my-series-chip{min-width:220px;padding:12px 13px}
.my-series-chip strong{font-size:12px}
.my-series-chip small{font-size:10px;line-height:1.35}

.drivers-directory,.driver-profile-page{display:none}
body[data-view="drivers"] #hubNavigation,
body[data-view="drivers"] .home-race-pulse,
body[data-view="drivers"] .toolbar,
body[data-view="drivers"] .live-section,
body[data-view="drivers"] .leaders-section,
body[data-view="drivers"] .movers-section,
body[data-view="drivers"] .series-section,
body[data-view="drivers"] .schedule-section,
body[data-view="drivers"] .race-center-grid{display:none!important}
body[data-view="drivers"] .drivers-directory{display:block}
body[data-view="driver"] #hubNavigation,
body[data-view="driver"] .home-race-pulse,
body[data-view="driver"] .toolbar,
body[data-view="driver"] .live-section,
body[data-view="driver"] .leaders-section,
body[data-view="driver"] .movers-section,
body[data-view="driver"] .series-section,
body[data-view="driver"] .schedule-section,
body[data-view="driver"] .race-center-grid,
body[data-view="driver"] .drivers-directory{display:none!important}
body[data-view="driver"] .driver-profile-page{display:block}
body[data-view="hub"] .drivers-directory,
body[data-view="hub"] .driver-profile-page,
body[data-view="standings"] .drivers-directory,
body[data-view="standings"] .driver-profile-page,
body[data-view="schedules"] .drivers-directory,
body[data-view="schedules"] .driver-profile-page,
body[data-view="live"] .drivers-directory,
body[data-view="live"] .driver-profile-page{display:none!important}

.drivers-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin-bottom:14px
}
.drivers-head h2{margin:5px 0 4px;font-size:clamp(32px,4vw,50px);letter-spacing:-.05em}
.drivers-head p{margin:0;color:#8d9aab;font-size:14px}
.driver-search{
  width:min(460px,44vw);min-height:48px;display:flex;align-items:center;gap:10px;padding:0 13px;
  border:1px solid #313a45;border-radius:12px;background:#0b0f13;color:#7f8da0
}
.driver-search input{width:100%;border:0;outline:0;background:transparent;color:#fff;font-size:14px}
.drivers-meta{
  display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px;padding:11px 13px;
  border:1px solid #242d36;border-radius:11px;background:#0c1116;color:#7f8da0;font-size:11px
}
.drivers-meta strong{color:#dbe2ea;font-size:12px}
.drivers-meta span{max-width:760px;text-align:right}
.drivers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.driver-directory-card{
  position:relative;min-width:0;border:1px solid #27313a;border-radius:14px;background:linear-gradient(145deg,#11171c,#0c1014);
  transition:.14s ease
}
.driver-directory-card:hover{border-color:rgba(255,85,0,.42);transform:translateY(-1px)}
.driver-directory-main{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;align-items:center;padding:14px 48px 14px 14px
}
.driver-photo{
  width:64px;height:64px;border-radius:12px;object-fit:cover;display:grid;place-items:center;flex:0 0 auto;
  border:1px solid #303943;background:#151c23;color:#ff9463;font-size:18px;font-weight:1000
}
.driver-photo.is-large{width:160px;height:160px;border-radius:22px;font-size:42px}
.driver-directory-main>div{min-width:0}
.driver-number{display:block;color:#ff8d58;font-size:10px;font-weight:1000;letter-spacing:.07em}
.driver-directory-main strong{display:block;margin-top:3px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.driver-directory-main small{display:block;margin-top:4px;color:#9ba7b6;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.driver-directory-main em{display:block;margin-top:5px;color:#69778a;font-size:10px;font-style:normal}
.driver-directory-follow{
  position:absolute;right:10px;top:10px;width:34px;height:34px;border:1px solid #34404b;border-radius:9px;
  background:#0c1116;color:#7e8b9b;font-size:17px;cursor:pointer
}
.driver-directory-follow.is-following{color:#ffd56a;border-color:rgba(255,213,106,.42);background:rgba(255,213,106,.07)}
.driver-profile-hero{
  display:grid;grid-template-columns:auto minmax(0,1fr) minmax(260px,.6fr);gap:26px;align-items:center;
  padding:26px;border:1px solid #2a333d;border-radius:20px;background:linear-gradient(145deg,#151b21,#0b0f13);
  box-shadow:var(--shadow)
}
.driver-profile-copy h2{margin:5px 0 8px;font-size:clamp(40px,5vw,68px);letter-spacing:-.055em}
.driver-profile-copy>p{margin:0;color:#9ba8b8;font-size:15px}
.driver-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.driver-profile-stats{display:grid;grid-template-columns:1fr;gap:8px}
.driver-profile-stats>div{padding:14px;border:1px solid #28323c;border-radius:12px;background:#0c1116}
.driver-profile-stats span{display:block;color:#738197;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.driver-profile-stats strong{display:block;margin-top:5px;font-size:23px}
.driver-profile-source{margin-top:14px;padding:18px;border:1px solid #28323c;border-radius:14px;background:#0c1116}
.driver-profile-source h3{margin:5px 0 6px;font-size:20px}
.driver-profile-source p{margin:0;color:#93a0b0;font-size:13px;line-height:1.6}
.claim-form textarea{min-height:110px;resize:vertical}
.account-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

/* Public user profiles */
.public-profile-main{width:min(1180px,calc(100% - 36px));margin:0 auto;padding:48px 0 84px}
.public-profile-hero{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:26px;align-items:center;
  padding:28px;border:1px solid #2b3540;border-radius:22px;background:linear-gradient(145deg,#151b21,#0c1014);box-shadow:var(--shadow)
}
.profile-avatar-wrap{position:relative}
.public-profile-avatar{
  width:150px;height:150px;border-radius:24px;display:grid;place-items:center;overflow:hidden;
  border:1px solid #35414d;background:linear-gradient(135deg,#ff5500,#6b2508);color:#fff;font-size:38px;font-weight:1000
}
.public-profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-photo-upload{
  position:absolute;left:10px;right:10px;bottom:10px;min-height:34px;border:1px solid rgba(255,255,255,.16);border-radius:9px;
  display:flex;align-items:center;justify-content:center;background:rgba(8,11,14,.82);backdrop-filter:blur(9px);color:#fff;font-size:11px;font-weight:900;cursor:pointer
}
.profile-photo-upload input{display:none}
.profile-title-line{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.public-profile-copy h1{margin:5px 0 2px;font-size:clamp(38px,5vw,62px);letter-spacing:-.055em}
.public-profile-copy #publicProfileHandle{margin:0;color:#8290a3;font-size:14px}
.public-profile-bio{max-width:720px;margin:15px 0 0;color:#c0c8d2;font-size:15px;line-height:1.6}
.public-profile-meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}
.public-profile-meta span,.public-profile-meta a{
  padding:7px 9px;border:1px solid #303b46;border-radius:9px;background:#0c1116;color:#9eabb9;font-size:11px
}
.public-profile-meta strong{color:#fff}
.public-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.profile-verified{padding:6px 9px;border-radius:999px;border:1px solid rgba(97,218,251,.3);background:rgba(97,218,251,.08);color:#93e7ff;font-size:10px;font-weight:1000}
.public-profile-stats{display:grid;grid-template-columns:1fr;gap:8px;min-width:150px}
.public-profile-stats>div{padding:12px;border:1px solid #29333d;border-radius:11px;background:#0c1116}
.public-profile-stats strong{display:block;font-size:22px}
.public-profile-stats span{display:block;margin-top:2px;color:#788699;font-size:10px;text-transform:uppercase;font-weight:900}
.profile-racing-card,.profile-wall{margin-top:22px}
.profile-followed-racing{display:flex;gap:8px;flex-wrap:wrap}
.profile-followed-racing>span{padding:9px 11px;border:1px solid #2c3640;border-radius:10px;background:#0c1116;color:#c7d0da;font-size:12px}
.profile-followed-racing b{margin-right:7px;color:#ff8e5a;font-size:9px;text-transform:uppercase}
.profile-wall-composer{padding:14px;border:1px solid #2b3540;border-radius:14px;background:#0c1116;margin-bottom:12px}
.profile-wall-composer textarea{width:100%;min-height:82px;resize:vertical;border:0;outline:0;background:transparent;color:#fff;font:600 14px/1.5 inherit}
.profile-wall-composer>div{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:9px;border-top:1px solid #242d36}
.profile-wall-composer span{color:#758397;font-size:10px}
.profile-wall-feed{display:grid;gap:10px}
.profile-wall-post{padding:16px;border:1px solid #29333d;border-radius:14px;background:#0c1116}
.profile-wall-post header strong{display:block;font-size:14px}
.profile-wall-post header span{display:block;margin-top:2px;color:#788699;font-size:10px}
.profile-wall-post>p{margin:12px 0;color:#e4e9ef;font-size:14px;line-height:1.6}
.profile-wall-post footer{display:flex;gap:14px;color:#8290a3;font-size:11px}

@media(max-width:1000px){
  .drivers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .driver-profile-hero{grid-template-columns:auto minmax(0,1fr)}
  .driver-profile-stats{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}
  .public-profile-hero{grid-template-columns:auto minmax(0,1fr)}
  .public-profile-stats{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  body[data-view="hub"] .hero-board{grid-template-columns:1fr 1fr!important}
  body[data-view="hub"] .hero-board>div{border-bottom:1px solid var(--line)}
  body[data-view="hub"] .hero-board>div:nth-child(2n){border-right:0}
  body[data-view="hub"] .hero-board>div:nth-last-child(-n+2){border-bottom:0}
  .drivers-head{align-items:stretch;flex-direction:column}
  .driver-search{width:100%}
  .drivers-meta{align-items:flex-start;flex-direction:column}
  .drivers-meta span{text-align:left}
  .drivers-grid{grid-template-columns:1fr}
  .driver-profile-hero{grid-template-columns:1fr;padding:18px}
  .driver-profile-photo{display:flex;justify-content:flex-start}
  .driver-photo.is-large{width:118px;height:118px;border-radius:18px}
  .driver-profile-stats{grid-template-columns:repeat(3,1fr)}
  .public-profile-main{width:min(100% - 20px,1180px);padding-top:24px}
  .public-profile-hero{grid-template-columns:1fr;padding:18px}
  .public-profile-avatar{width:116px;height:116px;border-radius:19px}
  .public-profile-stats{grid-template-columns:repeat(3,1fr)}
  .my-series-head{align-items:center;flex-direction:row;gap:10px}
  .my-series-controls button{width:38px;height:38px}
}


/* Drivers route identity fix — 2026-09-22 */
body[data-view="drivers"] .hero,
body[data-view="driver"] .hero{
  padding:34px 0 18px;
  border-bottom:1px solid #1d252e;
}
body[data-view="drivers"] .hero h1,
body[data-view="driver"] .hero h1{
  max-width:780px;
  font-size:clamp(42px,5vw,66px);
  margin-bottom:12px;
}
body[data-view="drivers"] .hero-copy>p,
body[data-view="driver"] .hero-copy>p{
  max-width:780px;
  font-size:15px;
}
body[data-view="drivers"] .hero-actions,
body[data-view="driver"] .hero-actions{margin-top:16px}
body[data-view="drivers"] .drivers-directory{margin-top:24px}
body[data-view="drivers"] .drivers-head{
  padding:20px;
  border:1px solid #2a333d;
  border-radius:16px;
  background:linear-gradient(145deg,#11171c,#0c1014);
}
body[data-view="drivers"] .drivers-meta{margin-top:10px}
body[data-view="drivers"] .driver-search{
  box-shadow:inset 0 0 0 1px rgba(255,85,0,.06),0 8px 24px rgba(0,0,0,.16)
}


/* Race Center profile upload visibility fixes — 2026-09-22 */
.profile-photo-upload[hidden],
.public-profile-actions [hidden],
.profile-wall-composer[hidden],
.profile-verified[hidden]{display:none!important}


/* Driver profile depth pass — 2026-09-22 */
.driver-profile-hero-rich{
  grid-template-columns:auto minmax(0,.9fr) minmax(420px,1.1fr);
  align-items:center;
}
.driver-profile-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.driver-stat-tile{
  min-width:0;
  min-height:92px;
  padding:13px 14px;
  border:1px solid #29343e;
  border-radius:12px;
  background:#0b1015;
}
.driver-stat-tile>span{
  display:block;color:#7f8da0;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase
}
.driver-stat-tile>strong{
  display:block;margin-top:7px;color:#f6f8fb;font-size:24px;line-height:1;letter-spacing:-.04em
}
.driver-stat-tile>small{
  display:block;margin-top:6px;color:#8795a7;font-size:10px;line-height:1.35
}
.driver-stat-tile .move,.driver-stat-tile .points-delta{font-size:10px}
.driver-profile-layout{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.72fr);
  gap:14px;
  margin-top:14px;
  align-items:start;
}
.driver-profile-main,.driver-profile-aside{display:grid;gap:14px}
.driver-profile-aside{position:sticky;top:calc(var(--header-h) + 16px)}
.driver-detail-card{
  padding:20px;
  border:1px solid #29343e;
  border-radius:16px;
  background:linear-gradient(145deg,#11171c,#0b1014);
}
.driver-detail-card h3{margin:5px 0 7px;font-size:22px;letter-spacing:-.035em}
.driver-detail-intro,.driver-detail-card>p{margin:0;color:#8d9aac;font-size:13px;line-height:1.55}
.driver-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.driver-source-age{color:#718095;font-size:10px;white-space:nowrap}
.driver-snapshot-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px
}
.driver-snapshot-grid>div{
  padding:13px;border:1px solid #28333e;border-radius:11px;background:#0b1015
}
.driver-snapshot-grid span{
  display:block;color:#77869a;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em
}
.driver-snapshot-grid strong{display:block;margin-top:5px;font-size:19px}
.driver-neighbor-list{
  margin-top:14px;border:1px solid #27313b;border-radius:12px;overflow:hidden;background:#090d11
}
.driver-neighbor-row{
  display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;
  min-height:44px;padding:0 13px;border-top:1px solid #222b34
}
.driver-neighbor-row:first-child{border-top:0}
.driver-neighbor-row.is-driver{
  background:linear-gradient(90deg,rgba(255,85,0,.14),rgba(255,85,0,.035));
  box-shadow:inset 3px 0 0 #ff5500
}
.driver-neighbor-row>span{color:#8492a5;font-size:11px;font-weight:950}
.driver-neighbor-row>strong{font-size:13px}
.driver-neighbor-row>em{color:#a7b2bf;font-size:11px;font-style:normal}
.driver-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.driver-series-list{display:grid;gap:8px;margin-top:15px}
.driver-series-row{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  min-height:68px;padding:10px 12px;border:1px solid #29343e;border-radius:12px;background:#0b1015;
  transition:.14s ease
}
.driver-series-row:hover{border-color:rgba(255,85,0,.48);transform:translateY(-1px)}
.driver-series-row>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}
.driver-series-row .series-logo{width:58px;height:36px}
.driver-series-row .series-wordmark{width:58px;min-height:36px;font-size:7px}
.driver-series-row strong{display:block;font-size:13px}
.driver-series-row small{display:block;margin-top:3px;color:#77869a;font-size:10px}
.driver-series-values{display:flex;align-items:center;gap:12px;white-space:nowrap}
.driver-series-values>span{color:#ff915e;font-size:12px;font-weight:1000}
.driver-series-values>strong{font-size:12px}
.driver-identity-list{display:grid;gap:0;margin:14px 0 0}
.driver-identity-list>div{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding:10px 0;border-top:1px solid #242e38
}
.driver-identity-list>div:first-child{border-top:0}
.driver-identity-list dt{color:#78879a;font-size:10px;text-transform:uppercase;font-weight:900;letter-spacing:.06em}
.driver-identity-list dd{margin:0;color:#e3e8ee;font-size:12px;font-weight:800;text-align:right}
.driver-source-list{display:grid;gap:7px;margin-top:13px}
.driver-source-list a{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 11px;border:1px solid #2a3540;border-radius:10px;background:#0b1015
}
.driver-source-list a:hover{border-color:#465463}
.driver-source-list span{color:#95a2b2;font-size:11px}
.driver-source-list strong{color:#ff9565;font-size:10px}
.driver-claim-card{border-color:rgba(255,85,0,.34);background:linear-gradient(145deg,rgba(255,85,0,.08),#0b1014 58%)}
.driver-claim-card .button{margin-top:14px;width:100%}

@media(max-width:1180px){
  .driver-profile-hero-rich{grid-template-columns:auto minmax(0,1fr)}
  .driver-profile-stat-grid{grid-column:1/-1}
  .driver-profile-layout{grid-template-columns:minmax(0,1fr) 310px}
}
@media(max-width:900px){
  .driver-profile-layout{grid-template-columns:1fr}
  .driver-profile-aside{position:static}
}
@media(max-width:680px){
  .driver-profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .driver-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .driver-series-row{align-items:flex-start;flex-direction:column}
  .driver-series-values{width:100%;justify-content:space-between}
  .driver-neighbor-row{grid-template-columns:38px minmax(0,1fr) auto}
  .driver-detail-head{flex-direction:column;gap:4px}
}


/* Standings integrity + layout cleanup — 2026-09-22 */
body:not([data-view="hub"]) .home-race-pulse{display:none!important}
body[data-view="standings"] #hubNavigation,
body[data-view="schedules"] #hubNavigation,
body[data-view="live"] #hubNavigation{display:none!important}

body[data-view="standings"] .hero,
body[data-view="schedules"] .hero,
body[data-view="live"] .hero{
  min-height:0;
  grid-template-columns:minmax(0,1fr);
  padding:32px 0 22px;
  gap:16px;
}
body[data-view="standings"] .hero-board,
body[data-view="schedules"] .hero-board,
body[data-view="live"] .hero-board{display:none!important}
body[data-view="standings"] .hero h1,
body[data-view="schedules"] .hero h1,
body[data-view="live"] .hero h1{
  margin:8px 0 10px;
  font-size:clamp(42px,5vw,64px);
}
body[data-view="standings"] .hero-copy>p,
body[data-view="schedules"] .hero-copy>p,
body[data-view="live"] .hero-copy>p{max-width:760px;font-size:14px}
body[data-view="standings"] .hero-actions,
body[data-view="schedules"] .hero-actions,
body[data-view="live"] .hero-actions{margin-top:14px}

body[data-view="standings"] .toolbar,
body[data-view="schedules"] .toolbar,
body[data-view="live"] .toolbar{
  position:relative!important;
  top:auto!important;
  z-index:2;
  margin:0 0 34px;
}
body[data-view="standings"] .movers-section{margin-top:42px}
body[data-view="standings"] .movers-section .section-head{margin-bottom:14px}
body[data-view="standings"] .series-section{margin-top:54px}


/* Driver secondary-source enrichment — 2026-09-23 */
.driver-identity-source{
  margin:3px 0 10px!important;
  color:#8090a2!important;
  font-size:11px!important;
  line-height:1.4!important;
}
.driver-about-card>p{
  margin-top:8px!important;
  color:#b7c1cc!important;
  font-size:13px!important;
  line-height:1.65!important;
}
.driver-about-source{
  display:inline-flex;
  margin-top:12px;
  color:#ff9565;
  font-size:10px;
  font-weight:900;
  letter-spacing:.02em;
}
.driver-about-source:hover{color:#ffb08a}


/* Shared header, staff identity + Series destination — 2026-09-23 */
.header-inner{
  grid-template-columns:minmax(255px,auto) minmax(0,1fr) minmax(250px,auto);
}
.account-zone{
  min-width:250px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.profile-account-zone .account-button{max-width:150px;overflow:hidden;text-overflow:ellipsis}
.profile-header-context{flex:0 0 auto}
.site-header nav{gap:2px}
.site-header nav a{padding:9px 9px}

.public-profile-main{
  width:min(1320px,calc(100% - 36px));
  padding:36px 0 84px;
}
.public-profile-hero{
  grid-template-columns:160px minmax(0,1fr) 170px;
  gap:30px;
  padding:30px;
  align-items:center;
}
.public-profile-copy{min-width:0}
.public-profile-copy h1{
  margin:6px 0 4px;
  font-size:clamp(42px,5.2vw,68px);
  line-height:.96;
  overflow-wrap:anywhere;
}
.profile-title-line{align-items:flex-start}
.profile-badge-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:7px;
  flex:0 0 auto;
}
.pitmark-staff-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:6px 10px 6px 7px;
  border:1px solid rgba(255,85,0,.42);
  border-radius:12px;
  background:linear-gradient(135deg,rgba(255,85,0,.13),rgba(255,255,255,.025));
  box-shadow:0 10px 26px rgba(0,0,0,.18),inset 0 0 0 1px rgba(255,255,255,.025);
}
.pitmark-staff-badge[hidden]{display:none!important}
.pitmark-staff-badge img{
  width:54px;
  height:28px;
  object-fit:contain;
}
.pitmark-staff-badge span{display:grid;gap:1px}
.pitmark-staff-badge b{
  color:#fff;
  font-size:10px;
  line-height:1.15;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.pitmark-staff-badge small{
  color:#ff9d70;
  font-size:8px;
  line-height:1.2;
  font-weight:850;
}
.pitmark-staff-badge.is-founder{
  border-color:rgba(255,139,82,.66);
  box-shadow:0 0 0 1px rgba(255,85,0,.07),0 12px 32px rgba(255,85,0,.08);
}

/* Series directory / profiles */
.hub-nav-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.series-directory,.series-profile-page{display:none}
body[data-view="series"] #hubNavigation,
body[data-view="series"] .home-race-pulse,
body[data-view="series"] .toolbar,
body[data-view="series"] .live-section,
body[data-view="series"] .leaders-section,
body[data-view="series"] .movers-section,
body[data-view="series"] .series-section,
body[data-view="series"] .schedule-section,
body[data-view="series"] .race-center-grid,
body[data-view="series"] .drivers-directory,
body[data-view="series"] .driver-profile-page{display:none!important}
body[data-view="series"] .series-directory{display:block}
body[data-view="seriesprofile"] #hubNavigation,
body[data-view="seriesprofile"] .home-race-pulse,
body[data-view="seriesprofile"] .toolbar,
body[data-view="seriesprofile"] .live-section,
body[data-view="seriesprofile"] .leaders-section,
body[data-view="seriesprofile"] .movers-section,
body[data-view="seriesprofile"] .series-section,
body[data-view="seriesprofile"] .schedule-section,
body[data-view="seriesprofile"] .race-center-grid,
body[data-view="seriesprofile"] .drivers-directory,
body[data-view="seriesprofile"] .driver-profile-page,
body[data-view="seriesprofile"] .series-directory{display:none!important}
body[data-view="seriesprofile"] .series-profile-page{display:block}
body[data-view="hub"] .series-directory,
body[data-view="hub"] .series-profile-page,
body[data-view="drivers"] .series-directory,
body[data-view="drivers"] .series-profile-page,
body[data-view="driver"] .series-directory,
body[data-view="driver"] .series-profile-page,
body[data-view="standings"] .series-directory,
body[data-view="standings"] .series-profile-page,
body[data-view="schedules"] .series-directory,
body[data-view="schedules"] .series-profile-page,
body[data-view="live"] .series-directory,
body[data-view="live"] .series-profile-page{display:none!important}

body[data-view="series"] .hero,
body[data-view="seriesprofile"] .hero{
  min-height:0;
  grid-template-columns:1fr;
  padding:34px 0 20px;
  gap:16px;
  border-bottom:1px solid #1d252e;
}
body[data-view="series"] .hero-board,
body[data-view="seriesprofile"] .hero-board{display:none!important}
body[data-view="series"] .hero h1,
body[data-view="seriesprofile"] .hero h1{
  max-width:850px;
  margin:8px 0 12px;
  font-size:clamp(44px,5.4vw,70px);
}
body[data-view="series"] .hero-copy>p,
body[data-view="seriesprofile"] .hero-copy>p{max-width:820px;font-size:15px}
body[data-view="series"] .series-directory{margin-top:24px}
.series-directory-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.series-directory-card{
  position:relative;
  min-width:0;
  border:1px solid #29333d;
  border-radius:15px;
  background:linear-gradient(145deg,#11171c,#0c1014);
  transition:.15s ease;
}
.series-directory-card:hover{border-color:rgba(255,85,0,.46);transform:translateY(-1px)}
.series-directory-main{
  min-height:116px;
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:13px;
  align-items:center;
  padding:15px 48px 15px 14px;
}
.series-directory-main .series-logo{
  width:72px;
  height:50px;
  object-fit:contain;
}
.series-directory-main .series-wordmark{
  width:72px;
  min-height:50px;
  font-size:8px;
}
.series-directory-main strong{
  display:block;
  margin:4px 0 3px;
  font-size:16px;
  line-height:1.2;
}
.series-directory-main small{
  display:block;
  color:#9aa7b7;
  font-size:11px;
  line-height:1.35;
}
.series-directory-main em{
  display:block;
  margin-top:6px;
  color:#6f7e92;
  font-size:10px;
  font-style:normal;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.series-directory-follow{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border:1px solid #34404b;
  border-radius:9px;
  background:#0c1116;
  color:#7e8b9b;
  font-size:17px;
  cursor:pointer;
}
.series-directory-follow.is-following{
  color:#ffd56a;
  border-color:rgba(255,213,106,.42);
  background:rgba(255,213,106,.07);
}
.series-profile-hero{
  display:grid;
  grid-template-columns:170px minmax(0,1fr) minmax(300px,.65fr);
  gap:26px;
  align-items:center;
  padding:28px;
  border:1px solid #2a3540;
  border-radius:20px;
  background:linear-gradient(145deg,#151b21,#0b1014);
  box-shadow:var(--shadow);
}
.series-profile-logo{
  width:170px;
  height:130px;
  display:grid;
  place-items:center;
  border:1px solid #2c3742;
  border-radius:18px;
  background:#0a0f13;
  padding:18px;
}
.series-profile-logo .series-logo{width:100%;height:100%;object-fit:contain}
.series-profile-logo .series-wordmark{width:100%;min-height:80px}
.series-profile-copy h2{
  margin:6px 0 8px;
  font-size:clamp(38px,4.7vw,64px);
  line-height:.96;
  letter-spacing:-.052em;
}
.series-profile-copy>p{margin:0;color:#93a0b1;font-size:14px}
.series-profile-stat-grid{display:grid;gap:8px}
.series-profile-stat-grid>div{
  padding:13px 14px;
  border:1px solid #29343e;
  border-radius:12px;
  background:#0b1015;
}
.series-profile-stat-grid span{
  display:block;
  color:#7d8b9d;
  font-size:9px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.series-profile-stat-grid strong{display:block;margin-top:5px;font-size:18px}
.series-profile-layout{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.72fr);
  gap:14px;
  margin-top:14px;
  align-items:start;
}
.series-profile-main{display:grid;gap:14px}
.series-profile-driver-list{
  margin:14px 0;
  border:1px solid #27313b;
  border-radius:12px;
  overflow:hidden;
}
.series-profile-driver{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  min-height:46px;
  padding:0 13px;
  border-top:1px solid #222b34;
  background:#090d11;
}
.series-profile-driver:first-child{border-top:0}
.series-profile-driver:hover{background:#11171d}
.series-profile-driver span{color:#ff9565;font-size:11px;font-weight:950}
.series-profile-driver strong{font-size:13px}
.series-profile-driver em{color:#a5b0bd;font-size:11px;font-style:normal}
.series-profile-links{display:grid;gap:8px;margin-top:13px}
.series-profile-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:40px;
  padding:9px 10px;
  border:1px solid #2b3641;
  border-radius:10px;
  background:#0b1015;
  color:#ff9565;
  font-size:11px;
  font-weight:900;
}
.series-profile-links a:hover{border-color:#495867}

@media(max-width:1280px){
  .header-inner{grid-template-columns:minmax(225px,auto) minmax(0,1fr) minmax(190px,auto);gap:14px}
  .account-zone{min-width:190px}
  .profile-header-context{display:none}
  .site-header nav a{padding:9px 7px;font-size:12px}
  .series-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1000px){
  .hub-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .series-profile-hero{grid-template-columns:130px minmax(0,1fr)}
  .series-profile-stat-grid{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}
  .series-profile-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
  .public-profile-main{width:min(100% - 20px,1320px);padding-top:20px}
  .public-profile-hero{grid-template-columns:1fr;gap:18px;padding:18px}
  .profile-badge-stack{align-items:flex-start}
  .pitmark-staff-badge{max-width:100%}
  .series-directory-grid{grid-template-columns:1fr}
  .series-profile-hero{grid-template-columns:1fr;padding:18px}
  .series-profile-logo{width:120px;height:92px}
  .series-profile-stat-grid{grid-template-columns:1fr}
  .series-profile-driver{grid-template-columns:40px minmax(0,1fr) auto}
}


@media(max-width:900px){
  .header-inner{
    grid-template-columns:1fr;
    gap:8px;
    height:auto;
    min-height:var(--header-h);
    padding:10px 0;
  }
  .account-zone{
    min-width:0;
    width:100%;
    justify-content:flex-start;
  }
  .profile-account-zone{display:none}
  .site-header nav{
    width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .site-header nav::-webkit-scrollbar{display:none}
  .site-header nav a{padding:7px 9px;font-size:11px}
}


@media(max-width:680px){
  .mobile-dock{
    justify-content:flex-start;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
  }
  .mobile-dock::-webkit-scrollbar{display:none}
  .mobile-dock>a,.mobile-dock>button{min-width:74px;flex:1 0 74px}
}


/* Race Center data/photo/personalization repair — 2026-09-23 */
body[data-view="driver"] .home-race-pulse,
body[data-view="driver"] #hubNavigation,
body[data-view="driver"] .toolbar,
body[data-view="driver"] .hero-actions{
  display:none!important;
}
body[data-view="driver"] .hero{
  padding-bottom:14px!important;
  margin-bottom:0;
}
body[data-view="driver"] .driver-profile-page{
  display:block!important;
  margin-top:18px!important;
}

body[data-view="standings"] .series-section,
body[data-view="standings"] .leaders-section,
body[data-view="standings"] .movers-section{
  display:block!important;
}
body[data-view="standings"] .series-section{
  min-height:320px;
}

.driver-profile-photo{
  align-self:start;
}
.driver-photo-credit{
  display:block;
  max-width:170px;
  margin-top:8px;
  color:#77879a;
  font-size:9px;
  line-height:1.35;
  text-align:center;
}
.driver-photo-credit:hover{color:#ff9565}

.my-racing-driver-chip .driver-photo{
  width:58px;
  height:38px;
  border-radius:8px;
  object-fit:cover;
  flex:0 0 auto;
}
.my-racing-driver-chip .driver-photo-fallback{
  display:grid;
  place-items:center;
  background:#151b21;
  border:1px solid #303b46;
  color:#ff9361;
  font-size:12px;
  font-weight:950;
}
.my-racing-series-chip,
.my-racing-driver-chip{
  text-decoration:none;
}

.profile-followed-racing{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.profile-followed-racing>a{
  min-height:48px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  padding:10px 12px;
  border:1px solid #2c3640;
  border-radius:11px;
  background:#0c1116;
}
.profile-followed-racing>a:hover{
  border-color:rgba(255,85,0,.45);
  background:#11171d;
}
.profile-followed-racing>a b{
  color:#ff8e5a;
  font-size:9px;
  text-transform:uppercase;
}
.profile-followed-racing>a span{
  min-width:0;
  color:#d7dee7;
  font-size:12px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.profile-followed-racing>a em{
  color:#7e8c9f;
  font-style:normal;
}

@media(max-width:760px){
  .profile-followed-racing{grid-template-columns:1fr}
  .driver-photo-credit{text-align:left}
}


/* Home is a racing home, not a sticky browse toolbar — 2026-09-23 */
body[data-view="hub"] .toolbar{
  display:none!important;
  position:static!important;
  top:auto!important;
}


/* Staff badge readability completion — 2026-09-23 */
.pitmark-staff-badge{
  min-width:248px!important;
  min-height:64px!important;
  gap:12px!important;
  padding:7px 14px 7px 10px!important;
  border-radius:14px!important;
}
.pitmark-staff-badge img{
  width:112px!important;
  height:48px!important;
  flex:0 0 112px!important;
  object-fit:contain!important;
}
.pitmark-staff-badge span{
  min-width:0;
  gap:3px!important;
}
.pitmark-staff-badge b{
  font-size:12px!important;
  line-height:1.1!important;
  letter-spacing:.065em!important;
  white-space:nowrap;
}
.pitmark-staff-badge small{
  font-size:9.5px!important;
  line-height:1.25!important;
  white-space:normal;
}
@media(max-width:760px){
  .pitmark-staff-badge{
    min-width:0!important;
    width:min(100%,280px);
  }
  .pitmark-staff-badge img{
    width:104px!important;
    height:44px!important;
    flex-basis:104px!important;
  }
}


/* ============================================================
   RACE CENTER V6 — finished product shell
   Racing-first clarity + social home + readable data surfaces.
   ============================================================ */

body[data-view="hub"] .hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 410px!important;
  gap:28px!important;
  min-height:0!important;
  padding:34px 0 22px!important;
}
body[data-view="hub"] .hero::before{inset:10px -18px 0!important}
body[data-view="hub"] .hero-copy{max-width:860px}
body[data-view="hub"] .hero h1{
  margin:8px 0 12px!important;
  font-size:clamp(48px,5.4vw,76px)!important;
  line-height:.92!important;
}
body[data-view="hub"] .hero-copy>p{
  max-width:760px!important;
  font-size:16px!important;
  line-height:1.55!important;
}
body[data-view="hub"] .hero-actions{margin-top:17px!important}
body[data-view="hub"] .hero-board{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  align-self:end;
  width:100%!important;
  max-width:none!important;
  border-radius:16px!important;
}
body[data-view="hub"] .hero-board>div{
  min-height:86px!important;
  padding:14px 15px!important;
}
body[data-view="hub"] .hero-board span{font-size:9px!important}
body[data-view="hub"] .hero-board strong{font-size:30px!important}
body[data-view="hub"] .hero-board small{font-size:9px!important;line-height:1.35}

.race-search-dock{
  position:relative;
  z-index:32;
  width:min(100%,760px);
  margin-top:18px;
}
body:not([data-view="hub"]) .race-search-dock{display:none}
.race-search-dock>label span{
  display:block;
  margin-bottom:6px;
  color:#ff8f58;
  font-size:10px;
  font-weight:1000;
  letter-spacing:.11em;
}
.race-search-box{
  height:50px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:0 13px;
  border:1px solid #35414d;
  border-radius:13px;
  background:#0a0f14;
  box-shadow:0 15px 35px rgba(0,0,0,.18);
}
.race-search-box>span{color:#ff8d56;font-size:20px}
.race-search-box input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#f7f9fb;
  font:800 14px/1.2 inherit;
}
.race-search-box input::placeholder{color:#6f7d8e}
.race-search-box kbd{
  min-width:25px;
  padding:4px 7px;
  border:1px solid #35414c;
  border-bottom-width:2px;
  border-radius:7px;
  background:#111820;
  color:#8290a1;
  font:900 10px/1 inherit;
  text-align:center;
}
.race-search-results{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 7px);
  max-height:440px;
  overflow:auto;
  padding:7px;
  border:1px solid #35414d;
  border-radius:13px;
  background:rgba(8,12,16,.98);
  box-shadow:0 28px 70px rgba(0,0,0,.52);
}
.race-search-results[hidden]{display:none!important}
.race-search-result{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  min-height:56px;
  padding:8px 10px;
  border-radius:9px;
}
.race-search-result:hover{background:#151c23}
.race-search-kind{
  color:#ff8d56;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.race-search-copy{min-width:0}
.race-search-copy strong{
  display:block;
  color:#f4f7fa;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.race-search-copy small{
  display:block;
  margin-top:3px;
  color:#7c899a;
  font-size:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.race-search-result>b{color:#8190a2;font-size:15px}
.race-search-empty{display:grid;gap:4px;padding:18px}
.race-search-empty strong{font-size:13px}
.race-search-empty span{color:#788699;font-size:11px}

body[data-view="hub"] .home-race-pulse{
  display:block!important;
  margin:0 0 18px!important;
  padding:16px!important;
}
body[data-view="hub"] .home-race-pulse .pulse-head h2{font-size:27px!important}
body[data-view="hub"] .home-race-pulse .pulse-card>span{font-size:10px!important}
body[data-view="hub"] .home-race-pulse .pulse-card>small{font-size:11px!important}
body[data-view="hub"] .home-race-pulse .pulse-card>strong{font-size:30px!important}

/* Home has one purpose: My Racing + the racing feed. Dedicated pages own the rest. */
body[data-view="hub"] .race-social{display:grid!important}
body[data-view="hub"] #hubNavigation,
body[data-view="hub"] .toolbar,
body[data-view="hub"] .live-section,
body[data-view="hub"] .leaders-section,
body[data-view="hub"] .movers-section,
body[data-view="hub"] .series-section,
body[data-view="hub"] .schedule-section,
body[data-view="hub"] .race-center-grid,
body[data-view="hub"] .drivers-directory,
body[data-view="hub"] .driver-profile-page,
body[data-view="hub"] .series-directory,
body[data-view="hub"] .series-profile-page{
  display:none!important;
}

.race-social{
  grid-template-columns:250px minmax(0,760px) 300px!important;
  gap:14px!important;
  max-width:none!important;
  margin:0 0 34px!important;
}
.social-left,.social-right{top:calc(var(--header-h) + 14px)}
.social-profile-card,.social-left-card,.social-right-card,.social-composer-card,.social-feed-card,.social-for-you{
  border-radius:15px!important;
}
.social-profile-card{padding:16px!important}
.social-profile-avatar,.composer-avatar{
  overflow:hidden;
}
.social-profile-avatar.has-profile-photo,
.composer-avatar.has-profile-photo{
  background:#0d1217!important;
  border:1px solid #303b46!important;
}
.social-profile-avatar img,.composer-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.social-profile-copy strong{font-size:15px!important}
.social-profile-copy span{font-size:11px!important}
.social-profile-role{font-size:9px!important;padding:5px 8px!important}
.social-profile-edit{height:38px!important;font-size:11px!important}
.social-profile-stats strong{font-size:16px!important}
.social-profile-stats span{font-size:8px!important}
.social-nav a,.social-nav button{min-height:43px!important}
.social-nav strong{font-size:11px!important}
.social-left-card,.social-right-card{padding:13px!important}
.rail-heading span,.right-card-head .eyebrow{font-size:9px!important}
.rail-heading button,.right-card-head button{font-size:10px!important}
.rail-item{min-height:46px!important;padding:8px!important}
.rail-item strong{font-size:11px!important}
.rail-item small{font-size:9px!important}
.social-composer-card{padding:14px!important}
.social-composer-body textarea{min-height:70px!important;font-size:14px!important}
.social-composer-tools select{height:38px!important;font-size:11px!important}
.social-composer-tools>span{font-size:10px!important}
.social-composer-body>small{font-size:10px!important}
.feed-heading h2{font-size:26px!important}
.feed-heading p{font-size:11px!important;line-height:1.4}
.unified-race-feed{padding:15px!important}
.unified-feed{gap:12px!important}
.network-object header small{font-size:9px!important}
.network-object header strong{font-size:13px!important}
.network-event-line b{font-size:9px!important}
.network-event-line span{font-size:11px!important}
.network-object-label{font-size:9px!important}
.network-standing-row strong{font-size:12px!important}
.network-standing-row>span:nth-child(3){font-size:11px!important}
.network-object footer span,.network-object footer strong{font-size:10px!important}
.driver-network-stats span{font-size:9px!important}
.driver-network-stats strong{font-size:13px!important}
.wall-author strong{font-size:12px!important}
.wall-author small,.wall-post-time{font-size:10px!important}
.social-post-feed .wall-body,.wall-body{font-size:13px!important;line-height:1.55!important}
.wall-context{font-size:10px!important}
.wall-action{font-size:10px!important;min-height:32px!important}
.wall-comment{font-size:11px!important}
.wall-comment-form input{font-size:11px!important}
.social-right-card h3{font-size:18px!important}
.social-people-list .people-main strong{font-size:11px!important}
.social-discover-links strong{font-size:11px!important}
.social-discover-links span{font-size:10px!important;line-height:1.4}

.social-staff-badge{
  display:flex;
  align-items:center;
  gap:7px;
  width:100%;
  margin-top:9px;
  padding:6px 7px;
  border:1px solid rgba(255,85,0,.34);
  border-radius:10px;
  background:rgba(255,85,0,.07);
}
.social-staff-badge[hidden]{display:none!important}
.social-staff-badge img{
  width:72px;
  height:32px;
  object-fit:contain;
  flex:0 0 72px;
}
.social-staff-badge>span{min-width:0}
.social-staff-badge b{
  display:block;
  color:#fff;
  font-size:9px;
  line-height:1.1;
  text-transform:uppercase;
}
.social-staff-badge small{
  display:block;
  margin-top:2px;
  color:#ff9a69;
  font-size:8px;
  line-height:1.2;
}

.driver-identity-status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:8px 0 4px;
  padding:6px 8px;
  border:1px solid #303b46;
  border-radius:999px;
  color:#9aa8b8;
  background:#0b1015;
  font-size:9px;
  font-weight:950;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.driver-identity-status>span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#768597;
}
.driver-identity-status.complete{
  color:#7ee5b5;
  border-color:rgba(57,217,138,.32);
  background:rgba(57,217,138,.06);
}
.driver-identity-status.complete>span{background:#39d98a;box-shadow:0 0 10px rgba(57,217,138,.45)}
.driver-identity-status.loading>span{background:#ffd56a;animation:race-center-pulse 1.2s infinite}
.driver-identity-status.unavailable{color:#c7a3a3;border-color:rgba(220,110,110,.28)}
.driver-identity-status.unavailable>span{background:#cc7777}
@keyframes race-center-pulse{50%{opacity:.35}}

body[data-view="drivers"] .hero,
body[data-view="driver"] .hero,
body[data-view="series"] .hero,
body[data-view="seriesprofile"] .hero{
  display:none!important;
}
body[data-view="drivers"] .drivers-directory,
body[data-view="series"] .series-directory{
  margin-top:34px!important;
}
body[data-view="driver"] .driver-profile-page,
body[data-view="seriesprofile"] .series-profile-page{
  margin-top:28px!important;
}

/* Make dedicated racing pages feel complete rather than like a generic dashboard. */
body[data-view="standings"] .hero,
body[data-view="schedules"] .hero,
body[data-view="live"] .hero{
  min-height:0!important;
  grid-template-columns:1fr!important;
  padding:30px 0 18px!important;
}
body[data-view="standings"] .hero-board,
body[data-view="schedules"] .hero-board,
body[data-view="live"] .hero-board{display:none!important}
body[data-view="standings"] .hero h1,
body[data-view="schedules"] .hero h1,
body[data-view="live"] .hero h1{
  max-width:850px;
  margin:8px 0 10px;
  font-size:clamp(42px,5vw,66px)!important;
}
body[data-view="standings"] .hero-copy>p,
body[data-view="schedules"] .hero-copy>p,
body[data-view="live"] .hero-copy>p{font-size:14px!important;max-width:800px}

@media(max-width:1180px){
  body[data-view="hub"] .hero{grid-template-columns:1fr!important}
  body[data-view="hub"] .hero-board{max-width:760px!important}
  .race-social{grid-template-columns:220px minmax(0,1fr)!important}
  .social-right{display:none!important}
}
@media(max-width:860px){
  .race-social{display:block!important}
  .social-left{position:static!important;display:block!important;margin-bottom:10px}
  .social-profile-card,.social-left-card{display:none!important}
  .social-nav{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(76px,1fr))!important;
    overflow-x:auto!important;
  }
  .social-center{display:grid!important}
}
@media(max-width:680px){
  body[data-view="hub"] .hero{padding:22px 0 15px!important}
  body[data-view="hub"] .hero h1{font-size:44px!important}
  body[data-view="hub"] .hero-board{grid-template-columns:1fr 1fr!important}
  .race-search-box{height:48px}
  .race-search-box input{font-size:13px}
  .race-search-results{position:fixed;left:10px;right:10px;top:calc(var(--header-h) + 72px);max-height:60vh}
  .social-composer-card{grid-template-columns:36px minmax(0,1fr)!important;padding:11px!important}
  .composer-avatar{width:36px!important;height:36px!important}
  .social-composer-tools{grid-template-columns:1fr auto!important}
  .social-composer-tools .button{grid-column:1/-1;width:100%}
  .feed-heading{align-items:flex-start!important;flex-direction:column!important}
}


/* V6 people identity */
.people-avatar.has-photo{
  overflow:hidden;
  padding:0!important;
  background:#0b1015!important;
}
.people-avatar.has-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.people-staff{
  display:block!important;
  margin-top:3px!important;
  color:#ff9460!important;
  font-size:8px!important;
  font-weight:950!important;
}
.pitmark-person-badge{
  display:inline-flex!important;
  align-items:center;
  gap:6px;
  margin-left:6px;
}
.pitmark-person-badge img{
  width:52px;
  height:24px;
  object-fit:contain;
}


/* ============================================================
   RACE CENTER V6 — racing-first home correction
   Social infrastructure stays available to profiles/community,
   but the Race Center home is a racing command center.
   ============================================================ */
body[data-view="hub"] .race-social{display:none!important}

body[data-view="hub"] #hubNavigation,
body[data-view="hub"] .movers-section,
body[data-view="hub"] .schedule-section,
body[data-view="hub"] .race-center-grid,
body[data-view="hub"] .drivers-directory,
body[data-view="hub"] .driver-profile-page,
body[data-view="hub"] .series-directory,
body[data-view="hub"] .series-profile-page{
  display:none!important;
}

body[data-view="hub"] .toolbar{
  display:flex!important;
  position:sticky!important;
  top:calc(var(--header-h) + 8px);
  z-index:18;
  margin:0 0 28px!important;
  backdrop-filter:blur(14px);
}

body[data-view="hub"] .live-section,
body[data-view="hub"] .leaders-section,
body[data-view="hub"] .series-section{
  display:block!important;
}

body[data-view="hub"] .content-section{margin-top:34px!important}
body[data-view="hub"] .section-head{margin-bottom:12px!important}
body[data-view="hub"] .series-section{margin-top:42px!important}
body[data-view="hub"] .leader-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body[data-view="hub"] .series-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Keep the top of Race Center compact and data-led. */
body[data-view="hub"] .hero{
  grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr)!important;
  gap:30px!important;
  align-items:center!important;
  padding:34px 0 22px!important;
}
body[data-view="hub"] .hero-board{
  grid-template-columns:1fr 1fr!important;
  align-self:center!important;
}
body[data-view="hub"] .home-race-pulse{
  margin-bottom:24px!important;
  border-color:#29333e!important;
}
body[data-view="hub"] .my-series-shell{
  margin-top:14px!important;
  border-top:1px solid #27313a;
  padding-top:12px;
}

/* The home search is a racing lookup, not a social search. */
body[data-view="hub"] .race-search-dock>label span::after{
  content:" · drivers, series, teams, events";
  color:#687688;
  letter-spacing:.03em;
  font-weight:800;
}

/* Remove social-network visual language from the home viewport entirely. */
body[data-view="hub"] .social-profile-card,
body[data-view="hub"] .social-nav,
body[data-view="hub"] .social-composer-card,
body[data-view="hub"] .people-discovery,
body[data-view="hub"] .social-right,
body[data-view="hub"] .social-left,
body[data-view="hub"] .social-feed-card{
  display:none!important;
}

@media(max-width:1100px){
  body[data-view="hub"] .hero{grid-template-columns:1fr!important}
  body[data-view="hub"] .hero-board{max-width:760px!important}
  body[data-view="hub"] .leader-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-view="hub"] .series-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  body[data-view="hub"] .toolbar{position:static!important}
  body[data-view="hub"] .leader-strip,
  body[data-view="hub"] .series-grid{grid-template-columns:1fr!important}
  body[data-view="hub"] .race-search-dock>label span::after{content:"";}
}



/* Compact Right Now utility buttons — 2026-09-23 */
body[data-view="hub"] .home-race-pulse .pulse-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:12px!important;
}
body[data-view="hub"] .home-race-pulse .pulse-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
}
body[data-view="hub"] .home-race-pulse .pulse-action{
  min-height:32px!important;
  height:32px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-size:10px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
@media(max-width:680px){
  body[data-view="hub"] .home-race-pulse .pulse-head{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  body[data-view="hub"] .home-race-pulse .pulse-actions{
    width:auto!important;
    justify-content:flex-start!important;
  }
  body[data-view="hub"] .home-race-pulse .pulse-action{
    min-height:30px!important;
    height:30px!important;
    padding:0 9px!important;
    font-size:9px!important;
  }
}


/* Tight content-hugging Right Now buttons — 2026-09-23 */
body[data-view="hub"] .home-race-pulse .pulse-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:0!important;
  height:auto!important;
  padding:6px 8px!important;
  border-radius:7px!important;
  font-size:9px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body[data-view="hub"] .home-race-pulse .pulse-actions{
  gap:6px!important;
}
@media(max-width:680px){
  body[data-view="hub"] .home-race-pulse .pulse-action{
    min-height:0!important;
    height:auto!important;
    padding:5px 7px!important;
    border-radius:6px!important;
    font-size:9px!important;
  }
}


/* ============================================================
   RACE CENTER V7 — racing knowledge graph + race-day platform
   ============================================================ */

.v7-race-day,
.v7-entity-directory,
.v7-entity-profile,
.v7-my-racing,
.v7-health{display:none}

body[data-view="hub"] .v7-race-day{
  display:block!important;
  margin-top:28px!important;
}
body[data-view="hub"] #hubNavigation{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  margin-top:30px!important;
}

/* V7 dedicated routes own the page; legacy race-board sections stay off them. */
body[data-view="tracks"] .hero,
body[data-view="trackprofile"] .hero,
body[data-view="teams"] .hero,
body[data-view="teamprofile"] .hero,
body[data-view="events"] .hero,
body[data-view="eventprofile"] .hero,
body[data-view="myracing"] .hero,
body[data-view="health"] .hero,
body[data-view="tracks"] .home-race-pulse,
body[data-view="trackprofile"] .home-race-pulse,
body[data-view="teams"] .home-race-pulse,
body[data-view="teamprofile"] .home-race-pulse,
body[data-view="events"] .home-race-pulse,
body[data-view="eventprofile"] .home-race-pulse,
body[data-view="myracing"] .home-race-pulse,
body[data-view="health"] .home-race-pulse,
body[data-view="tracks"] #hubNavigation,
body[data-view="trackprofile"] #hubNavigation,
body[data-view="teams"] #hubNavigation,
body[data-view="teamprofile"] #hubNavigation,
body[data-view="events"] #hubNavigation,
body[data-view="eventprofile"] #hubNavigation,
body[data-view="myracing"] #hubNavigation,
body[data-view="health"] #hubNavigation,
body[data-view="tracks"] .toolbar,
body[data-view="trackprofile"] .toolbar,
body[data-view="teams"] .toolbar,
body[data-view="teamprofile"] .toolbar,
body[data-view="events"] .toolbar,
body[data-view="eventprofile"] .toolbar,
body[data-view="myracing"] .toolbar,
body[data-view="health"] .toolbar,
body[data-view="tracks"] .live-section,
body[data-view="trackprofile"] .live-section,
body[data-view="teams"] .live-section,
body[data-view="teamprofile"] .live-section,
body[data-view="events"] .live-section,
body[data-view="eventprofile"] .live-section,
body[data-view="myracing"] .live-section,
body[data-view="health"] .live-section,
body[data-view="tracks"] .leaders-section,
body[data-view="trackprofile"] .leaders-section,
body[data-view="teams"] .leaders-section,
body[data-view="teamprofile"] .leaders-section,
body[data-view="events"] .leaders-section,
body[data-view="eventprofile"] .leaders-section,
body[data-view="myracing"] .leaders-section,
body[data-view="health"] .leaders-section,
body[data-view="tracks"] .movers-section,
body[data-view="trackprofile"] .movers-section,
body[data-view="teams"] .movers-section,
body[data-view="teamprofile"] .movers-section,
body[data-view="events"] .movers-section,
body[data-view="eventprofile"] .movers-section,
body[data-view="myracing"] .movers-section,
body[data-view="health"] .movers-section,
body[data-view="tracks"] .series-section,
body[data-view="trackprofile"] .series-section,
body[data-view="teams"] .series-section,
body[data-view="teamprofile"] .series-section,
body[data-view="events"] .series-section,
body[data-view="eventprofile"] .series-section,
body[data-view="myracing"] .series-section,
body[data-view="health"] .series-section,
body[data-view="tracks"] .schedule-section,
body[data-view="trackprofile"] .schedule-section,
body[data-view="teams"] .schedule-section,
body[data-view="teamprofile"] .schedule-section,
body[data-view="events"] .schedule-section,
body[data-view="eventprofile"] .schedule-section,
body[data-view="myracing"] .schedule-section,
body[data-view="health"] .schedule-section,
body[data-view="tracks"] .race-center-grid,
body[data-view="trackprofile"] .race-center-grid,
body[data-view="teams"] .race-center-grid,
body[data-view="teamprofile"] .race-center-grid,
body[data-view="events"] .race-center-grid,
body[data-view="eventprofile"] .race-center-grid,
body[data-view="myracing"] .race-center-grid,
body[data-view="health"] .race-center-grid,
body[data-view="tracks"] .drivers-directory,
body[data-view="trackprofile"] .drivers-directory,
body[data-view="teams"] .drivers-directory,
body[data-view="teamprofile"] .drivers-directory,
body[data-view="events"] .drivers-directory,
body[data-view="eventprofile"] .drivers-directory,
body[data-view="myracing"] .drivers-directory,
body[data-view="health"] .drivers-directory,
body[data-view="tracks"] .driver-profile-page,
body[data-view="trackprofile"] .driver-profile-page,
body[data-view="teams"] .driver-profile-page,
body[data-view="teamprofile"] .driver-profile-page,
body[data-view="events"] .driver-profile-page,
body[data-view="eventprofile"] .driver-profile-page,
body[data-view="myracing"] .driver-profile-page,
body[data-view="health"] .driver-profile-page,
body[data-view="tracks"] .series-directory,
body[data-view="trackprofile"] .series-directory,
body[data-view="teams"] .series-directory,
body[data-view="teamprofile"] .series-directory,
body[data-view="events"] .series-directory,
body[data-view="eventprofile"] .series-directory,
body[data-view="myracing"] .series-directory,
body[data-view="health"] .series-directory,
body[data-view="tracks"] .series-profile-page,
body[data-view="trackprofile"] .series-profile-page,
body[data-view="teams"] .series-profile-page,
body[data-view="teamprofile"] .series-profile-page,
body[data-view="events"] .series-profile-page,
body[data-view="eventprofile"] .series-profile-page,
body[data-view="myracing"] .series-profile-page,
body[data-view="health"] .series-profile-page{
  display:none!important;
}

body[data-view="tracks"] .v7-entity-directory,
body[data-view="teams"] .v7-entity-directory,
body[data-view="events"] .v7-entity-directory,
body[data-view="trackprofile"] .v7-entity-profile,
body[data-view="teamprofile"] .v7-entity-profile,
body[data-view="eventprofile"] .v7-entity-profile,
body[data-view="myracing"] .v7-my-racing,
body[data-view="health"] .v7-health{
  display:block!important;
  width:min(var(--content-max,1400px),calc(100% - 34px));
  margin:34px auto 80px!important;
}

.v7-directory-head,
.v7-page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  margin-bottom:18px;
}
.v7-directory-head h2,
.v7-page-head h2{
  margin:6px 0 7px;
  font-size:clamp(34px,4vw,56px);
  line-height:.98;
  letter-spacing:-.045em;
}
.v7-directory-head p,
.v7-page-head p{
  max-width:760px;
  margin:0;
  color:#8c99aa;
  font-size:13px;
  line-height:1.55;
}
.v7-directory-head .driver-search{width:min(420px,100%)}
.v7-directory-meta{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin:0 0 12px;
  color:#758397;
  font-size:10px;
}
.v7-directory-meta strong{color:#e8edf3;font-size:11px}

.v7-entity-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.v7-entity-card{
  min-height:180px;
  display:flex;
  flex-direction:column;
  padding:18px;
  border:1px solid #2a3540;
  border-radius:16px;
  background:
    radial-gradient(circle at 100% 0%,rgba(255,85,0,.07),transparent 36%),
    linear-gradient(145deg,#12181e,#0b0f13);
  box-shadow:0 14px 38px rgba(0,0,0,.13);
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.v7-entity-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,95,32,.5);
  background:
    radial-gradient(circle at 100% 0%,rgba(255,85,0,.12),transparent 40%),
    linear-gradient(145deg,#151c22,#0c1116);
}
.v7-card-kicker{
  color:#ff8d55;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.v7-entity-card h3{
  margin:8px 0 6px;
  color:#f6f8fa;
  font-size:22px;
  line-height:1.05;
  letter-spacing:-.025em;
}
.v7-entity-card p{
  margin:0;
  color:#8795a7;
  font-size:11px;
  line-height:1.5;
}
.v7-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:auto;
  padding-top:18px;
}
.v7-card-meta span{
  padding:5px 7px;
  border:1px solid #28333d;
  border-radius:7px;
  background:#0a0f13;
  color:#9aa6b5;
  font-size:9px;
  font-weight:850;
}
.v7-entity-card>strong{
  margin-top:12px;
  color:#ff9868;
  font-size:10px;
}
.v7-event-card.live{
  border-color:rgba(57,217,138,.42);
  box-shadow:0 0 0 1px rgba(57,217,138,.05),0 14px 38px rgba(0,0,0,.13);
}
.v7-event-card.live .v7-card-kicker{color:#50e4a0}

.v7-profile-hero{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(320px,.75fr);
  gap:30px;
  align-items:center;
  padding:28px;
  border:1px solid #2a3540;
  border-radius:20px;
  background:
    radial-gradient(circle at 100% 0%,rgba(255,85,0,.09),transparent 38%),
    linear-gradient(145deg,#141a20,#0b1014);
  box-shadow:0 18px 48px rgba(0,0,0,.18);
}
.v7-profile-hero h2{
  margin:7px 0 8px;
  color:#f7f8fa;
  font-size:clamp(42px,5vw,70px);
  line-height:.93;
  letter-spacing:-.055em;
}
.v7-profile-hero p{
  max-width:800px;
  margin:0;
  color:#91a0b2;
  font-size:14px;
}
.v7-profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.v7-profile-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.v7-profile-stats>div{
  padding:16px;
  border:1px solid #2b3641;
  border-radius:13px;
  background:#090e12;
}
.v7-profile-stats span{
  display:block;
  color:#718095;
  font-size:9px;
  font-weight:950;
  letter-spacing:.09em;
}
.v7-profile-stats strong{
  display:block;
  margin-top:6px;
  color:#f4f7fa;
  font-size:19px;
}
.v7-event-time{
  margin-top:12px;
  color:#d5dbe3;
  font-size:18px;
  font-weight:900;
}
.v7-profile-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:14px;
}
.v7-profile-section{
  padding:18px;
  border:1px solid #29343e;
  border-radius:15px;
  background:#0d1217;
}
.v7-profile-section h3{
  margin:5px 0 12px;
  color:#f1f4f7;
  font-size:21px;
}
.v7-profile-section>p{
  color:#8997a8;
  font-size:12px;
  line-height:1.55;
}
.v7-related-list,
.v7-editorial-list{
  display:grid;
  gap:7px;
}
.v7-related-list>a,
.v7-editorial-list>a{
  display:grid;
  gap:3px;
  padding:10px 11px;
  border:1px solid #26313a;
  border-radius:9px;
  background:#090e12;
}
.v7-related-list>a:hover,
.v7-editorial-list>a:hover{border-color:#465666}
.v7-related-list strong,
.v7-editorial-list strong{font-size:11px;color:#e8edf3}
.v7-related-list span,
.v7-editorial-list span{font-size:9px;color:#758397}
.v7-chip-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.v7-chip-list a{
  padding:7px 9px;
  border:1px solid #2c3742;
  border-radius:8px;
  background:#090e12;
  color:#c4ced9;
  font-size:10px;
  font-weight:850;
}
.v7-chip-list a:hover{border-color:#ff7f43;color:#fff}

.v7-race-day-grid,
.v7-brief-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.v7-brief-card{
  min-height:112px;
  display:flex;
  flex-direction:column;
  padding:13px;
  border:1px solid #29343e;
  border-radius:12px;
  background:linear-gradient(145deg,#11171d,#0a0f13);
}
.v7-brief-card:hover{border-color:rgba(255,85,0,.42)}
.v7-brief-card>strong{
  margin:7px 0 5px;
  color:#eff3f7;
  font-size:14px;
  line-height:1.2;
}
.v7-brief-card p{
  margin:0;
  color:#7f8d9f;
  font-size:10px;
  line-height:1.45;
}
.v7-page-head{padding-bottom:16px;border-bottom:1px solid #252f38}
.v7-my-racing-grid{
  display:grid;
  gap:14px;
}
.v7-brief-section{
  padding:18px;
  border:1px solid #29343e;
  border-radius:15px;
  background:#0d1217;
}
.v7-brief-section h3{
  margin:5px 0 13px;
  font-size:23px;
  color:#f2f5f8;
}
.v7-alert-stream{
  border-color:rgba(255,85,0,.32);
  background:linear-gradient(145deg,rgba(255,85,0,.045),#0d1217 45%);
}
.v7-follow-summary{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}
.v7-follow-summary>div{
  padding:14px;
  border:1px solid #29343e;
  border-radius:11px;
  background:#090e12;
}
.v7-follow-summary strong{display:block;font-size:28px;color:#f1f5f8}
.v7-follow-summary span{display:block;margin-top:3px;color:#78879a;font-size:9px;text-transform:uppercase;font-weight:950}

.v7-health-stats{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
}
.v7-health-stats>div{
  padding:15px;
  border:1px solid #29343e;
  border-radius:12px;
  background:#0b1015;
}
.v7-health-stats span{display:block;color:#758397;font-size:8px;font-weight:950;letter-spacing:.08em}
.v7-health-stats strong{display:block;margin:6px 0 2px;font-size:27px;color:#f5f7f9}
.v7-health-stats small{color:#7f8d9d;font-size:9px}
.v7-health-lists{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.v7-health-lists section{
  padding:16px;
  border:1px solid #29343e;
  border-radius:13px;
  background:#0d1217;
}
.v7-health-lists h3{margin:0 0 10px;font-size:17px}
.v7-health-lists a{
  display:block;
  padding:7px 0;
  border-top:1px solid #222c35;
  color:#bcc7d3;
  font-size:10px;
}
.v7-health-lists a:first-of-type{border-top:0}

.v7-alert-dialog{
  width:min(620px,calc(100% - 24px));
  border:1px solid #35414c;
  border-radius:17px;
  background:#0d1217;
  color:#f4f7f9;
  padding:0;
  box-shadow:0 30px 90px rgba(0,0,0,.65);
}
.v7-alert-dialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}
.v7-alert-dialog form{padding:18px}
.v7-alert-options{display:grid;gap:7px;margin:18px 0}
.v7-alert-options label{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:center;
  padding:11px;
  border:1px solid #29343e;
  border-radius:10px;
  background:#090e12;
  cursor:pointer;
}
.v7-alert-options input{width:17px;height:17px;accent-color:#ff5500}
.v7-alert-options strong{display:block;font-size:11px}
.v7-alert-options small{display:block;margin-top:2px;color:#78879a;font-size:9px}
.v7-alert-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:8px}

.v7-driver-connections{
  margin-top:20px;
  padding-top:6px;
}
.v7-archive-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.v7-archive-card{
  padding:13px;
  border:1px solid #29343e;
  border-radius:11px;
  background:#0b1015;
}
.v7-archive-card span{display:block;color:#ff9360;font-size:9px;font-weight:950}
.v7-archive-card strong{display:block;margin:6px 0 4px;font-size:13px}
.v7-archive-card p{margin:0;color:#8492a4;font-size:10px}
.v7-archive-card small{display:block;margin-top:7px;color:#657488;font-size:8px}

/* V7 navigation can grow without destroying the header. */
@media(max-width:1500px){
  .site-header nav{
    justify-content:flex-start!important;
    overflow-x:auto!important;
    scrollbar-width:none;
  }
  .site-header nav::-webkit-scrollbar{display:none}
  .site-header nav a{flex:0 0 auto}
}
@media(max-width:1100px){
  body[data-view="hub"] #hubNavigation{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .v7-entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v7-race-day-grid,.v7-brief-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v7-health-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  body[data-view="tracks"] .v7-entity-directory,
  body[data-view="trackprofile"] .v7-entity-profile,
  body[data-view="teams"] .v7-entity-directory,
  body[data-view="teamprofile"] .v7-entity-profile,
  body[data-view="events"] .v7-entity-directory,
  body[data-view="eventprofile"] .v7-entity-profile,
  body[data-view="myracing"] .v7-my-racing,
  body[data-view="health"] .v7-health{
    width:calc(100% - 20px);
    margin-top:20px!important;
  }
  .v7-directory-head,.v7-page-head{align-items:flex-start;flex-direction:column}
  .v7-directory-head .driver-search{width:100%}
  .v7-entity-grid,
  body[data-view="hub"] #hubNavigation,
  .v7-race-day-grid,
  .v7-brief-row,
  .v7-profile-layout,
  .v7-health-lists,
  .v7-archive-grid{grid-template-columns:1fr!important}
  .v7-profile-hero{grid-template-columns:1fr;padding:18px}
  .v7-profile-stats{grid-template-columns:1fr 1fr}
  .v7-follow-summary{grid-template-columns:1fr 1fr}
  .v7-health-stats{grid-template-columns:1fr 1fr}
  .v7-directory-meta{align-items:flex-start;flex-direction:column;gap:4px}
}


/* V7 verified owner content */
.v7-owner-content{
  margin-top:14px;
  border-color:rgba(255,85,0,.28);
  background:linear-gradient(145deg,rgba(255,85,0,.045),#0d1217 45%);
}
.v7-owner-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.v7-verified-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 8px;
  border:1px solid rgba(57,217,138,.3);
  border-radius:999px;
  background:rgba(57,217,138,.06);
  color:#6fe7ae;
  font-size:8px;
  font-weight:1000;
  letter-spacing:.08em;
}
.v7-owner-content>p{
  margin:0 0 12px;
  color:#a6b2c0;
  font-size:12px;
  line-height:1.65;
}
.v7-sponsor-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:10px 0;
}
.v7-sponsor-list span{
  padding:6px 8px;
  border:1px solid #2d3944;
  border-radius:8px;
  background:#090e12;
  color:#c9d1db;
  font-size:9px;
  font-weight:850;
}
.v7-owner-links{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:12px;
}
.v7-owner-links a{
  padding:7px 9px;
  border:1px solid #2e3a45;
  border-radius:8px;
  color:#ff996a;
  font-size:9px;
  font-weight:900;
}


/* V7 account + My Racing extras */
.v7-account-stats{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.v7-follow-chip{
  text-decoration:none;
}
.v7-chip-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 38px;
  border:1px solid #2f3a45;
  border-radius:9px;
  background:#0b1015;
  color:#ff925d;
  font-size:13px;
  font-weight:1000;
}
@media(max-width:760px){
  .v7-account-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* Race Center V7 calendar export */
.v7-page-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
@media(max-width:680px){
  .v7-page-actions{width:100%;justify-content:flex-start}
}


/* Race Center V7 Driver Compare */
.v7-compare{display:none}
body[data-view="compare"] .hero,
body[data-view="compare"] .home-race-pulse,
body[data-view="compare"] #hubNavigation,
body[data-view="compare"] .toolbar,
body[data-view="compare"] .live-section,
body[data-view="compare"] .leaders-section,
body[data-view="compare"] .movers-section,
body[data-view="compare"] .series-section,
body[data-view="compare"] .schedule-section,
body[data-view="compare"] .race-center-grid,
body[data-view="compare"] .drivers-directory,
body[data-view="compare"] .driver-profile-page,
body[data-view="compare"] .series-directory,
body[data-view="compare"] .series-profile-page,
body[data-view="compare"] .v7-entity-directory,
body[data-view="compare"] .v7-entity-profile,
body[data-view="compare"] .v7-my-racing,
body[data-view="compare"] .v7-health{display:none!important}
body[data-view="compare"] .v7-compare{
  display:block!important;
  width:min(var(--content-max,1400px),calc(100% - 34px));
  margin:34px auto 80px!important;
}
.v7-compare-controls{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;
  gap:10px;
  align-items:end;
  padding:14px;
  border:1px solid #2a3540;
  border-radius:14px;
  background:#0c1116;
}
.v7-compare-controls label{
  display:grid;
  gap:6px;
  color:#8694a5;
  font-size:9px;
  font-weight:950;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.v7-compare-controls select{
  height:42px;
  min-width:0;
  border:1px solid #323d48;
  border-radius:9px;
  background:#090d11;
  color:#eef2f6;
  padding:0 10px;
  font-size:12px;
}
.v7-compare-controls>span{
  align-self:center;
  color:#ff8d55;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.1em;
}
.v7-compare-results{margin-top:14px}
.v7-compare-pair{
  display:grid;
  grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);
  gap:12px;
  align-items:stretch;
}
.v7-compare-driver{
  padding:20px;
  border:1px solid #2c3742;
  border-radius:16px;
  background:linear-gradient(145deg,#12181e,#0b0f13);
}
.v7-compare-driver h3{
  margin:7px 0 5px;
  font-size:clamp(28px,3vw,42px);
  line-height:1;
  letter-spacing:-.045em;
}
.v7-compare-driver>p{margin:0;color:#8d9bad;font-size:12px;line-height:1.45}
.v7-compare-vs{
  display:grid;
  place-items:center;
  color:#ff8d55;
  font-size:12px;
  font-weight:1000;
  letter-spacing:.1em;
}
.v7-compare-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin:16px 0;
}
.v7-compare-stat-grid>div{
  padding:10px;
  border:1px solid #27323c;
  border-radius:10px;
  background:#090d11;
}
.v7-compare-stat-grid span{
  display:block;
  color:#738195;
  font-size:8px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.v7-compare-stat-grid strong{display:block;margin-top:4px;font-size:17px}
.v7-compare-series{margin-top:14px}
.v7-compare-table{
  margin-top:12px;
  border:1px solid #2b3540;
  border-radius:12px;
  overflow:hidden;
}
.v7-compare-row{
  display:grid;
  grid-template-columns:minmax(180px,.9fr) minmax(0,1fr) minmax(0,1fr);
  gap:10px;
  align-items:center;
  min-height:48px;
  padding:9px 12px;
  border-top:1px solid #222c35;
  font-size:11px;
}
.v7-compare-row:first-child{border-top:0}
.v7-compare-row.header{
  background:#111820;
  color:#768497;
  font-size:8px;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.v7-compare-row strong{font-size:12px}
.v7-compare-row span{color:#a8b2bf}
@media(max-width:760px){
  .v7-compare-controls{grid-template-columns:1fr}
  .v7-compare-controls>span{display:none}
  .v7-compare-controls .button{width:100%}
  .v7-compare-pair{grid-template-columns:1fr}
  .v7-compare-vs{min-height:26px}
  .v7-compare-stat-grid{grid-template-columns:1fr 1fr}
  .v7-compare-row{grid-template-columns:1fr;gap:4px;padding:12px}
  .v7-compare-row.header{display:none}
}


/* Race Center V7 sharing + map utilities */
.v7-copy-toast{
  position:fixed;
  left:50%;
  bottom:28px;
  z-index:160;
  transform:translateX(-50%);
  padding:9px 12px;
  border:1px solid rgba(255,141,85,.45);
  border-radius:999px;
  background:rgba(10,14,18,.96);
  color:#f5f7f9;
  box-shadow:0 16px 48px rgba(0,0,0,.45);
  font-size:10px;
  font-weight:900;
}
.v7-compare-share{
  display:flex;
  justify-content:flex-end;
  margin:12px 0 0;
}


/* Race Center V7 Tracks intelligence */
.v7-track-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:14px 0 18px;
}
.v7-track-facts>div{
  min-width:0;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}
.v7-track-facts span{
  display:block;
  margin-bottom:4px;
  color:var(--muted,#9097a0);
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
.v7-track-facts strong{
  display:block;
  color:var(--text,#f6f7f9);
  font-size:13px;
  line-height:1.3;
}
.v7-track-media img{
  display:block;
  width:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:12px;
}
.v7-track-media p{
  margin:8px 0 0;
  font-size:10px;
  color:var(--muted,#9097a0);
}
@media (max-width:760px){
  .v7-track-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Race Center V7 Event intelligence */
.v7-event-countdown{
  display:inline-flex;
  margin:10px 0 2px;
  padding:7px 10px;
  border:1px solid rgba(255,141,85,.35);
  border-radius:999px;
  background:rgba(255,102,31,.08);
  color:#ff9b68;
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
}
.v7-chip-strip{margin:14px 0 18px}
.v7-event-data-list{display:grid;gap:8px}
.v7-event-data-list>div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.v7-event-data-list>div:last-child{border-bottom:0}
.v7-event-data-list strong{font-size:12px}
.v7-event-data-list span{font-size:10px;color:var(--muted,#9097a0);text-align:right}
.v7-event-leader{
  padding:12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}
.v7-event-leader span{
  display:block;
  color:#ff9b68;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}
.v7-event-leader strong{display:block;margin-top:4px;font-size:16px}
.v7-event-leader p{margin:4px 0 0}
@media (max-width:760px){
  .v7-event-data-list>div{display:block}
  .v7-event-data-list span{display:block;margin-top:3px;text-align:left}
}


/* Race Center V7 PWA install surface */
.v7-install-prompt{
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:95;
  width:min(720px,calc(100% - 28px));
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px;
  border:1px solid rgba(255,85,0,.42);
  border-radius:16px;
  background:rgba(10,14,18,.96);
  backdrop-filter:blur(18px) saturate(1.1);
  box-shadow:0 22px 70px rgba(0,0,0,.55);
}
.v7-install-prompt[hidden]{display:none!important}
.v7-install-prompt>div:first-child{min-width:0}
.v7-install-prompt .eyebrow{font-size:8px}
.v7-install-prompt strong{display:block;margin-top:3px;font-size:14px}
.v7-install-prompt p{margin:4px 0 0;color:#8796a8;font-size:10px;line-height:1.45}
.v7-install-actions{display:flex;gap:7px;flex:0 0 auto}
.v7-install-actions .button{min-height:34px;padding:0 10px;font-size:9px}
@media(max-width:680px){
  .v7-install-prompt{
    bottom:76px;
    align-items:stretch;
    flex-direction:column;
    gap:10px;
    padding:13px;
  }
  .v7-install-actions{width:100%}
  .v7-install-actions .button{flex:1 1 auto}
}


/* Race Center V7 Driver intelligence */
.v7-driver-stat-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:14px 0 18px;
}
.v7-driver-stat-strip>div{
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}
.v7-driver-stat-strip span{
  display:block;
  color:var(--muted,#9097a0);
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}
.v7-driver-stat-strip strong{
  display:block;
  margin-top:4px;
  font-size:18px;
}
@media (max-width:760px){
  .v7-driver-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Race Center V7 Search groups */
.race-search-group+.race-search-group{border-top:1px solid rgba(255,255,255,.08)}
.race-search-group-title{
  padding:9px 12px 5px;
  color:var(--muted,#9097a0);
  font-size:9px;
  font-weight:950;
  letter-spacing:.12em;
}


/* ==========================================================================
   Race Center Consumer Launch — 2026-09-24
   ========================================================================== */

body:not([data-view="hub"]) .consumer-home{display:none!important}

.consumer-home{
  width:min(var(--max),calc(100% - 36px));
  margin:0 auto 34px;
  display:grid;
  gap:16px
}
.consumer-home-head{
  display:flex;align-items:end;justify-content:space-between;gap:24px;
  padding:4px 0 2px
}
.consumer-home-head h2{margin:5px 0 7px;font-size:clamp(28px,3vw,44px);letter-spacing:-.045em}
.consumer-home-head p{margin:0;max-width:760px;color:var(--muted);line-height:1.55}
.consumer-home-block{
  min-width:0;
  border:1px solid var(--line);
  border-radius:18px;
  background:
    radial-gradient(circle at 90% -30%,rgba(255,85,0,.07),transparent 22rem),
    linear-gradient(180deg,rgba(18,23,29,.92),rgba(12,16,20,.96));
  padding:18px;
  box-shadow:0 14px 42px rgba(0,0,0,.15)
}
.consumer-home-today{
  border-color:rgba(255,85,0,.28);
  background:
    radial-gradient(circle at 86% -60%,rgba(255,85,0,.15),transparent 26rem),
    linear-gradient(180deg,rgba(19,24,30,.98),rgba(11,15,19,.98))
}
.consumer-home-split{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}
.consumer-block-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px
}
.consumer-block-head>div{display:flex;align-items:center;gap:9px}
.consumer-block-head strong{font-size:17px;letter-spacing:-.02em}
.consumer-block-head a,.consumer-link-button{
  border:0;background:none;padding:0;color:var(--orange2);font-size:12px;font-weight:850;cursor:pointer
}
.consumer-section-icon{
  display:grid;place-items:center;width:25px;height:25px;border-radius:8px;
  background:rgba(255,85,0,.10);border:1px solid rgba(255,85,0,.22);
  color:var(--orange2);font-size:12px;font-weight:950
}
.consumer-rail{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0
}
.consumer-rail-featured{grid-template-columns:repeat(3,minmax(0,1fr))}
.consumer-card{
  position:relative;min-width:0;min-height:132px;padding:16px;border-radius:14px;
  border:1px solid var(--line);background:rgba(8,11,14,.72);
  display:flex;flex-direction:column;align-items:flex-start;
  transition:border-color .16s ease,transform .16s ease,background .16s ease
}
.consumer-card:hover{
  transform:translateY(-2px);border-color:rgba(255,85,0,.42);
  background:rgba(19,23,28,.95)
}
.consumer-card .consumer-kicker{
  color:var(--orange2);font-size:9px;font-weight:950;letter-spacing:.14em;text-transform:uppercase
}
.consumer-card>strong{
  margin-top:8px;font-size:16px;line-height:1.12;letter-spacing:-.025em;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden
}
.consumer-card p{
  margin:7px 0 14px;color:var(--muted);font-size:11px;line-height:1.42;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden
}
.consumer-card b{margin-top:auto;color:var(--orange2);font-size:11px}
.consumer-live-dot{
  position:absolute;right:12px;top:12px;padding:4px 7px;border-radius:999px;
  color:#07110b;background:var(--green);font-size:8px;font-weight:1000;letter-spacing:.1em
}
.consumer-sub-actions{
  display:flex;align-items:center;gap:16px;margin-top:13px;padding-top:12px;border-top:1px solid var(--line-soft)
}
.consumer-sub-actions a,.consumer-sub-actions button{font-size:11px;color:var(--muted);font-weight:800}
.consumer-sub-actions a:hover,.consumer-sub-actions button:hover{color:var(--text)}
.consumer-empty{
  grid-column:1/-1;min-height:132px;padding:18px;border:1px dashed rgba(255,255,255,.12);
  border-radius:14px;background:rgba(5,8,11,.36);display:flex;align-items:center;gap:14px
}
.consumer-empty-mark{
  flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;
  background:rgba(255,85,0,.09);border:1px solid rgba(255,85,0,.18);
  color:var(--orange2);font-weight:1000;font-style:italic
}
.consumer-empty strong{display:block;font-size:15px}
.consumer-empty p{margin:5px 0 10px;color:var(--muted);font-size:12px;line-height:1.45}
.consumer-empty .button{display:inline-flex;padding:7px 10px;font-size:10px}
.consumer-skeleton{
  min-height:132px;border-radius:14px;border:1px solid var(--line);
  background:linear-gradient(100deg,rgba(255,255,255,.025) 20%,rgba(255,255,255,.065) 40%,rgba(255,255,255,.025) 60%);
  background-size:220% 100%;animation:consumerShimmer 1.25s linear infinite
}
@keyframes consumerShimmer{to{background-position:-220% 0}}

/* Search feels like a product surface, not a debug dropdown. */
.race-search-results{
  border-radius:16px!important;
  box-shadow:0 24px 80px rgba(0,0,0,.62)!important;
  overflow:auto;max-height:min(68vh,680px)
}
.consumer-search-shortcuts{padding:12px}
.consumer-search-shortcuts section+section{margin-top:12px;padding-top:12px;border-top:1px solid var(--line-soft)}
.consumer-search-shortcuts section>span{
  display:block;margin-bottom:8px;color:var(--dim);font-size:9px;font-weight:950;letter-spacing:.14em
}
.consumer-search-shortcuts section>div{display:flex;flex-wrap:wrap;gap:7px}
.consumer-search-shortcuts button{
  border:1px solid var(--line);border-radius:999px;background:var(--panel);padding:8px 11px;
  color:var(--text);font-size:11px;font-weight:800;cursor:pointer
}
.consumer-search-shortcuts button:hover{border-color:rgba(255,85,0,.42);color:var(--orange2)}

/* First-run setup */
.consumer-onboarding{
  width:min(760px,calc(100% - 28px));max-height:min(90vh,880px);padding:0;
  border:1px solid rgba(255,85,0,.28);border-radius:22px;color:var(--text);
  background:#0d1116;box-shadow:0 40px 120px rgba(0,0,0,.72)
}
.consumer-onboarding::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(8px)}
.consumer-onboarding-shell{padding:30px}
.consumer-onboarding-shell h2{margin:7px 0 7px;font-size:34px;letter-spacing:-.045em}
.consumer-onboarding-shell>p{margin:0 0 22px;color:var(--muted);line-height:1.55}
.consumer-interest-grid{
  margin:0;padding:0;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px
}
.consumer-interest-grid legend{
  grid-column:1/-1;margin-bottom:8px;color:var(--text);font-size:13px;font-weight:900
}
.consumer-interest-grid label{position:relative;cursor:pointer}
.consumer-interest-grid input{position:absolute;opacity:0;pointer-events:none}
.consumer-interest-grid label>span{
  min-height:70px;padding:13px 14px;border:1px solid var(--line);border-radius:13px;
  background:var(--panel);display:flex;flex-direction:column;justify-content:center;
  font-size:13px;font-weight:900;transition:.15s ease
}
.consumer-interest-grid label small{margin-top:4px;color:var(--muted);font-size:10px;font-weight:600}
.consumer-interest-grid input:checked+span{
  border-color:var(--orange);background:rgba(255,85,0,.10);box-shadow:inset 0 0 0 1px rgba(255,85,0,.14)
}
.consumer-region-field{
  display:flex;flex-direction:column;gap:7px;margin-top:20px;font-size:12px;font-weight:850
}
.consumer-region-field input{
  width:100%;height:46px;border-radius:11px;border:1px solid var(--line);
  padding:0 13px;background:#090c10;color:var(--text);outline:none
}
.consumer-region-field input:focus{border-color:var(--orange)}
.consumer-region-field small{color:var(--dim);font-size:10px;font-weight:600}
.consumer-onboarding-actions{
  display:flex;justify-content:flex-end;gap:9px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line-soft)
}

/* Consumer trust + state polish */
.consumer-launch .loading-card{
  border-style:solid;
  background:linear-gradient(100deg,rgba(255,255,255,.02),rgba(255,255,255,.04),rgba(255,255,255,.02))
}
.consumer-launch .v7-profile-section p,
.consumer-launch .driver-detail-card p{line-height:1.55}
.consumer-launch .v7-verified-badge{box-shadow:0 0 0 1px rgba(57,217,138,.08)}
.consumer-launch .driver-photo{background:#11171d}

/* Five-item mobile app shell */
.consumer-mobile-dock{grid-template-columns:repeat(5,1fr)!important}
.consumer-mobile-dock a,.consumer-mobile-dock button{
  appearance:none;border:0;background:transparent;color:var(--muted);font:inherit;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  min-width:0;cursor:pointer;padding:7px 2px
}
.consumer-mobile-dock a span,.consumer-mobile-dock button span{font-size:16px;line-height:1}
.consumer-mobile-dock a.active{color:var(--orange2)}
.consumer-mobile-dock a.active span{filter:drop-shadow(0 0 8px rgba(255,85,0,.45))}

@media (max-width:980px){
  .consumer-home-split{grid-template-columns:1fr}
  .consumer-rail-featured{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .consumer-home{width:min(100% - 20px,var(--max));margin-bottom:22px;gap:11px}
  .consumer-home-head{align-items:flex-start;flex-direction:column;gap:13px}
  .consumer-home-head h2{font-size:29px}
  .consumer-home-head .button{width:100%;justify-content:center}
  .consumer-home-block{padding:13px;border-radius:15px}
  .consumer-block-head{align-items:flex-start}
  .consumer-block-head strong{font-size:15px}
  .consumer-rail,.consumer-rail-featured{
    display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x proximity;
    scrollbar-width:none;padding-bottom:3px
  }
  .consumer-rail::-webkit-scrollbar{display:none}
  .consumer-card,.consumer-skeleton,.consumer-empty{
    flex:0 0 min(82vw,300px);scroll-snap-align:start
  }
  .consumer-onboarding{width:calc(100% - 18px);max-height:92vh}
  .consumer-onboarding-shell{padding:20px 16px 18px}
  .consumer-onboarding-shell h2{font-size:28px}
  .consumer-interest-grid{grid-template-columns:1fr}
  .consumer-interest-grid label>span{min-height:60px}
  .consumer-onboarding-actions{position:sticky;bottom:0;background:#0d1116;padding-bottom:2px}
  .consumer-mobile-dock{
    padding-left:max(7px,env(safe-area-inset-left));
    padding-right:max(7px,env(safe-area-inset-right))
  }
}


/* ==========================================================================
   Race Center Visual Media + Submit Your Series — 2026-09-24
   ========================================================================== */

.consumer-card{
  overflow:hidden;
  padding:0!important;
  min-height:190px!important;
  isolation:isolate
}
.consumer-media{
  position:relative;
  display:block;
  width:100%;
  height:88px;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 30%,rgba(255,85,0,.18),transparent 45%),
    linear-gradient(135deg,#171d23,#090c10)
}
.consumer-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:13px 18px;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.42))
}
.consumer-card.has-media .consumer-media img[src*=".jpg"],
.consumer-card.has-media .consumer-media img[src*=".jpeg"],
.consumer-card.has-media .consumer-media img[src*=".webp"]{
  object-fit:cover;
  padding:0;
  filter:none
}
.consumer-media-shade{
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 30%,rgba(8,11,14,.76) 100%);
  pointer-events:none
}
.consumer-media-fallback{
  display:flex;align-items:flex-end;gap:6px;padding:15px;
  color:rgba(255,255,255,.16);font-size:18px;font-weight:1000;letter-spacing:-.05em
}
.consumer-media-fallback i{color:rgba(255,85,0,.42);font-style:normal}
.consumer-card-copy{
  position:relative;
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  padding:14px 15px 15px
}
.consumer-card-copy>strong{
  margin-top:6px;
  font-size:16px;
  line-height:1.12;
  letter-spacing:-.025em;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden
}
.consumer-card-copy>p{
  margin:6px 0 12px;
  color:var(--muted);
  font-size:11px;
  line-height:1.42;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden
}
.consumer-card-copy>b{margin-top:auto;color:var(--orange2);font-size:11px}
.consumer-live-dot{z-index:4}

/* Give Live + Next a stronger visual hierarchy using the source-backed series marks. */
body[data-view="live"] .event-card{
  min-height:250px;
  overflow:hidden;
  position:relative;
  background:
    radial-gradient(circle at 100% 0%,rgba(255,85,0,.08),transparent 18rem),
    linear-gradient(180deg,#11171d,#0b0f13)
}
body[data-view="live"] .event-card .event-brand{
  min-height:88px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line-soft)
}
body[data-view="live"] .event-card .event-brand .series-logo{
  width:98px!important;
  height:62px!important;
  object-fit:contain
}
body[data-view="live"] .event-card>strong{
  display:block;
  margin-top:18px;
  font-size:17px;
  line-height:1.18;
  letter-spacing:-.025em
}

/* Submit Your Series */
.series-submit-page{
  display:none;
  width:min(var(--max),calc(100% - 36px));
  margin:34px auto 70px
}
body[data-view="submitseries"] .series-submit-page{display:block}
.series-submit-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  gap:20px;
  align-items:stretch;
  margin-bottom:18px
}
.series-submit-hero>div:first-child{
  padding:28px 30px;
  border:1px solid rgba(255,85,0,.28);
  border-radius:20px;
  background:
    radial-gradient(circle at 90% 0%,rgba(255,85,0,.16),transparent 30rem),
    linear-gradient(180deg,#141a20,#0c1014)
}
.series-submit-hero h1{
  margin:7px 0 10px;
  max-width:760px;
  font-size:clamp(38px,5vw,72px);
  line-height:.96;
  letter-spacing:-.055em
}
.series-submit-hero p{
  max-width:780px;
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.62
}
.series-submit-callout{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#10151a
}
.series-submit-callout strong{font-size:17px;margin-bottom:4px}
.series-submit-callout span{
  position:relative;
  padding-left:20px;
  color:#aeb8c5;
  font-size:12px;
  line-height:1.45
}
.series-submit-callout span::before{
  content:'';
  position:absolute;
  left:0;top:.48em;
  width:7px;height:7px;border-radius:50%;
  background:var(--orange)
}
.series-submit-form{
  display:grid;
  gap:12px
}
.series-submit-section{
  border:1px solid var(--line);
  border-radius:17px;
  background:linear-gradient(180deg,rgba(18,23,29,.95),rgba(11,15,19,.98));
  padding:18px
}
.series-submit-section-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:16px
}
.series-submit-section-head>span{
  flex:0 0 auto;
  display:grid;place-items:center;
  width:36px;height:36px;
  border-radius:10px;
  border:1px solid rgba(255,85,0,.32);
  color:var(--orange2);
  background:rgba(255,85,0,.08);
  font-size:10px;font-weight:1000
}
.series-submit-section-head strong{display:block;font-size:16px}
.series-submit-section-head p{margin:3px 0 0;color:var(--muted);font-size:11px}
.series-submit-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px
}
.series-submit-grid label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:#c7d0db;
  font-size:10px;
  font-weight:900
}
.series-submit-grid input,
.series-submit-grid textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:11px;
  background:#090d11;
  color:var(--text);
  padding:11px 12px;
  outline:none;
  font:inherit;
  font-size:12px;
  font-weight:600
}
.series-submit-grid input{height:44px}
.series-submit-grid textarea{min-height:120px;resize:vertical}
.series-submit-grid input:focus,
.series-submit-grid textarea:focus{
  border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(255,85,0,.08)
}
.series-submit-full{grid-column:1/-1}
.series-submit-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 2px
}
.series-submit-actions p{
  margin:0;color:var(--muted);font-size:10px;line-height:1.4
}
.series-submit-message{
  min-height:0;
  padding:0;
  border-radius:12px;
  font-size:12px
}
.series-submit-message:not(:empty){
  padding:13px 15px;
  border:1px solid var(--line);
  background:#0f1418
}
.series-submit-message.success{
  border-color:rgba(57,217,138,.34);
  color:#aef1cf;
  background:rgba(57,217,138,.06)
}
.series-submit-message.error{
  border-color:rgba(255,96,96,.34);
  color:#ffb1b1;
  background:rgba(255,96,96,.06)
}

@media (max-width:820px){
  .series-submit-hero{grid-template-columns:1fr}
  .series-submit-grid{grid-template-columns:1fr}
  .series-submit-full{grid-column:auto}
  .series-submit-actions{align-items:stretch;flex-direction:column}
  .series-submit-actions .button{width:100%;justify-content:center}
}
@media (max-width:720px){
  .series-submit-page{width:calc(100% - 20px);margin-top:18px}
  .series-submit-hero>div:first-child,.series-submit-callout{padding:18px}
  .series-submit-hero h1{font-size:42px}
  .consumer-card{flex-basis:min(84vw,310px)!important}
}


body[data-view="submitseries"] main > section:not(.series-submit-page),
body[data-view="submitseries"] main > aside{
  display:none!important
}
body[data-view="submitseries"] .series-submit-page{
  display:block!important
}
