/* Race Weekend V2 — isolated from stable V1 */
.rw2-section{margin:18px 0 0;position:relative;z-index:5}.rw2-shell{--rw2-red:#e20d1b;--rw2-bg:#0c1116;--rw2-panel:#121920;--rw2-panel2:#182129;--rw2-line:rgba(255,255,255,.11);--rw2-text:#f7f9fb;--rw2-muted:#aab4be;color:var(--rw2-text);font-family:inherit}.rw2-tabs{display:flex;gap:6px;margin:0 0 8px}.rw2-tab{border:1px solid rgba(255,255,255,.12);background:#111820;color:#b9c2cb;border-radius:7px 7px 0 0;padding:8px 15px;font-size:12px;font-weight:900;text-transform:uppercase;cursor:pointer}.rw2-tab.is-active{background:var(--rw2-red);border-color:var(--rw2-red);color:#fff}.rw2-card{overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:var(--rw2-bg);box-shadow:0 14px 38px rgba(0,0,0,.24)}
.rw2-identity{min-height:116px;position:relative;display:flex;align-items:center;justify-content:space-between;padding:20px 28px;background:#111820;background-image:linear-gradient(90deg,rgba(7,12,17,.97) 0%,rgba(7,12,17,.80) 44%,rgba(7,12,17,.44) 72%,rgba(7,12,17,.72) 100%),var(--rw2-bg);background-size:cover;background-position:center 48%}.rw2-identity-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.20));pointer-events:none}.rw2-event,.rw2-identity-mark{position:relative;z-index:1}.rw2-series{display:inline-flex;background:var(--rw2-red);color:#fff;border-radius:5px;padding:5px 11px;font-size:11px;line-height:1;font-weight:900;text-transform:uppercase;box-shadow:0 6px 18px rgba(226,13,27,.25)}.rw2-event-main{display:flex;align-items:center;gap:14px;margin-top:9px}.rw2-flag-wrap{width:54px;height:40px;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 16px rgba(0,0,0,.2)}.rw2-flag{display:block;max-width:38px;max-height:28px}.rw2-event-copy h2{margin:0;color:#fff;font-size:23px;line-height:1.05;font-weight:950;letter-spacing:-.025em}.rw2-track-name{margin-top:4px;color:#f3f6f8;font-size:13px;font-weight:750}.rw2-event-meta{display:flex;gap:14px;margin-top:4px;color:#c5cdd5;font-size:11px;font-weight:700}.rw2-event-meta span+span:before{content:"•";color:var(--rw2-red);margin-right:14px}.rw2-identity-mark{font-size:58px;color:rgba(255,255,255,.20);padding-right:10px;transform:rotate(-7deg);filter:drop-shadow(0 4px 14px rgba(0,0,0,.35))}
.rw2-nav{height:42px;display:flex;align-items:stretch;gap:26px;padding:0 26px;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid var(--rw2-line);background:#090e12}.rw2-nav a{position:relative;display:flex;align-items:center;color:#c3ccd4;text-decoration:none;text-transform:uppercase;font-size:10px;font-weight:900;letter-spacing:.025em}.rw2-nav a:hover,.rw2-nav a.is-active{color:#fff}.rw2-nav a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--rw2-red)}
.rw2-console{display:grid;grid-template-columns:minmax(0,1fr) 300px;min-height:124px;background:linear-gradient(180deg,#10171d,#0d1318)}.rw2-timeline{display:flex;align-items:stretch;overflow-x:auto;scrollbar-width:thin}.rw2-day-group{display:flex;align-items:stretch;flex:0 0 auto;border-right:1px solid var(--rw2-line)}.rw2-day-card,.rw2-session{display:flex;flex-direction:column;justify-content:center;min-height:123px}.rw2-day-card{width:100px;padding:14px 14px 13px}.rw2-day-card strong{font-size:11px;text-transform:uppercase;letter-spacing:.03em}.rw2-day-card span{margin-top:7px;color:var(--rw2-muted);font-size:10px}.rw2-session{position:relative;min-width:88px;padding:14px 13px;border-left:1px solid rgba(255,255,255,.055)}.rw2-session:after{content:"";position:absolute;left:13px;bottom:17px;width:16px;height:2px;background:var(--rw2-red)}.rw2-session-name{color:#d5dce2;font-size:10px;font-weight:750;white-space:nowrap}.rw2-session strong{margin-top:7px;color:#fff;font-size:14px;white-space:nowrap}.rw2-next{position:relative;padding:17px 18px 14px 22px;border-left:1px solid var(--rw2-line);background:linear-gradient(135deg,#151e26,#10171d 68%);display:flex;flex-direction:column;justify-content:center}.rw2-next-kicker{display:flex;align-items:center;gap:7px;color:#9ea9b3;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.rw2-next-kicker span{width:8px;height:8px;border-radius:50%;background:var(--rw2-red);box-shadow:0 0 0 5px rgba(226,13,27,.12)}.rw2-next-title{margin-top:5px;color:#fff;font-size:18px;line-height:1.05;font-weight:950}.rw2-next-time{margin-top:4px;color:#c2cbd3;font-size:11px;font-weight:700}.rw2-countdown{margin-top:8px;color:#fff;font-size:27px;line-height:1;font-weight:950;letter-spacing:.02em;font-variant-numeric:tabular-nums}.rw2-countdown-caption{margin-top:4px;color:#7f8c97;font-size:9px}.rw2-cta{position:absolute;right:14px;bottom:14px;display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:5px;background:linear-gradient(180deg,#ef1725,#c90915);color:#fff!important;text-decoration:none!important;text-transform:uppercase;font-size:9px;font-weight:950;box-shadow:0 7px 18px rgba(226,13,27,.20)}
/* Light theme: still premium, not a white table */
body:not(.dark-mode) .rw2-shell{--rw2-bg:#f5f7f9;--rw2-panel:#fff;--rw2-panel2:#edf1f4;--rw2-line:rgba(15,25,35,.13);--rw2-text:#111820;--rw2-muted:#687581}.rw2-section .rw2-card{color:var(--rw2-text)}body:not(.dark-mode) .rw2-card{border-color:rgba(15,25,35,.18);background:#f5f7f9;box-shadow:0 13px 30px rgba(15,25,35,.12)}body:not(.dark-mode) .rw2-nav{background:#fff;border-color:rgba(15,25,35,.12)}body:not(.dark-mode) .rw2-nav a{color:#44515d}body:not(.dark-mode) .rw2-nav a.is-active,body:not(.dark-mode) .rw2-nav a:hover{color:#101820}body:not(.dark-mode) .rw2-console{background:linear-gradient(180deg,#f5f7f9,#edf1f4)}body:not(.dark-mode) .rw2-day-group{border-color:rgba(15,25,35,.12)}body:not(.dark-mode) .rw2-session{border-color:rgba(15,25,35,.08)}body:not(.dark-mode) .rw2-day-card strong,body:not(.dark-mode) .rw2-session strong,body:not(.dark-mode) .rw2-next-title{color:#111820}body:not(.dark-mode) .rw2-session-name{color:#43505b}body:not(.dark-mode) .rw2-next{background:linear-gradient(135deg,#fff,#f0f3f6);border-color:rgba(15,25,35,.12)}body:not(.dark-mode) .rw2-countdown{color:#111820}
@media(max-width:1100px){.rw2-console{grid-template-columns:1fr}.rw2-next{min-height:116px;border-left:0;border-top:1px solid var(--rw2-line)}.rw2-cta{bottom:18px}.rw2-identity{padding:18px 20px}.rw2-event-copy h2{font-size:21px}}
@media(max-width:700px){.rw2-section{margin-top:10px}.rw2-card{border-radius:8px}.rw2-tabs{margin-bottom:5px}.rw2-tab{padding:7px 11px;font-size:10px}.rw2-identity{min-height:104px;padding:14px;background-position:center}.rw2-series{font-size:9px;padding:4px 8px}.rw2-event-main{gap:10px;margin-top:7px}.rw2-flag-wrap{width:42px;height:32px}.rw2-flag{max-width:30px;max-height:22px}.rw2-event-copy h2{font-size:17px}.rw2-track-name{font-size:11px}.rw2-event-meta{font-size:9px;gap:8px;flex-wrap:wrap}.rw2-event-meta span+span:before{margin-right:8px}.rw2-identity-mark{font-size:40px;padding-right:0}.rw2-nav{height:38px;gap:18px;padding:0 14px;overflow-x:auto}.rw2-nav a{font-size:9px;white-space:nowrap}.rw2-timeline{padding-bottom:2px}.rw2-day-card,.rw2-session{min-height:100px}.rw2-day-card{width:76px;padding:11px}.rw2-session{min-width:74px;padding:11px}.rw2-session:after{left:11px;bottom:12px}.rw2-session strong{font-size:12px}.rw2-next{padding:14px 15px 15px;min-height:122px}.rw2-next-title{font-size:17px}.rw2-countdown{font-size:24px}.rw2-cta{right:13px;bottom:14px;padding:8px 10px;font-size:8px}}

/* V2 compact revision: identity on one line, no utility nav, no desktop scroll */
.rw2-identity{min-height:92px;padding:15px 24px}
.rw2-event-main{display:block;margin-top:0}
.rw2-event-topline{display:flex;align-items:center;gap:10px;min-width:0}
.rw2-event-topline h2{margin:0;color:#fff;font-size:21px;line-height:1;font-weight:950;letter-spacing:-.025em;white-space:nowrap}
.rw2-event-details{display:flex;align-items:center;gap:10px;margin-top:8px}
.rw2-flag-wrap{width:40px;height:29px;border-radius:5px;flex:0 0 auto}
.rw2-flag{max-width:30px;max-height:21px}
.rw2-track-name{margin-top:0;font-size:12px}
.rw2-event-meta{margin-top:2px;font-size:10px}
.rw2-identity-mark{font-size:48px}
.rw2-console{grid-template-columns:minmax(0,1fr) 285px;min-height:108px}
.rw2-timeline{overflow:visible;min-width:0}
.rw2-day-group{flex:1 1 0;min-width:0}
.rw2-day-card,.rw2-session{min-height:107px}
.rw2-day-card{width:auto;min-width:68px;flex:0 1 76px;padding:11px 9px}
.rw2-session{min-width:0;flex:1 1 64px;padding:11px 8px}
.rw2-session-name{font-size:9px;overflow:hidden;text-overflow:ellipsis}
.rw2-session strong{font-size:12px;margin-top:6px}
.rw2-session:after{left:8px;bottom:13px;width:13px}
.rw2-next{padding:14px 16px 12px 19px}
.rw2-next-title{font-size:17px}.rw2-countdown{font-size:25px}
@media(max-width:1100px){.rw2-timeline{overflow-x:auto}.rw2-day-group{flex:0 0 auto}.rw2-day-card{width:82px;flex:none}.rw2-session{min-width:76px;flex:none}}
@media(max-width:700px){.rw2-identity{min-height:88px;padding:12px 14px}.rw2-event-topline{gap:7px}.rw2-event-topline h2{font-size:16px;white-space:normal}.rw2-event-details{margin-top:6px;gap:8px}.rw2-flag-wrap{width:36px;height:27px}.rw2-track-name{font-size:10px}.rw2-event-meta{font-size:8.5px}.rw2-identity-mark{font-size:34px}.rw2-day-card,.rw2-session{min-height:94px}}


/* V2 R3 — curated circuit facts in the identity header */
.rw2-circuit-facts{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(86px,1fr));gap:7px;min-width:410px;margin-left:22px}
.rw2-fact{min-height:58px;padding:9px 11px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:linear-gradient(180deg,rgba(10,16,21,.76),rgba(10,16,21,.54));backdrop-filter:blur(5px);box-shadow:inset 0 1px rgba(255,255,255,.035)}
.rw2-fact span{display:block;color:#9da8b2;font-size:8px;line-height:1;text-transform:uppercase;font-weight:900;letter-spacing:.08em}
.rw2-fact strong{display:block;margin-top:5px;color:#fff;font-size:14px;line-height:1;font-weight:950;white-space:nowrap;font-variant-numeric:tabular-nums}
.rw2-fact small{display:block;margin-top:5px;color:#bbc4cc;font-size:7.5px;line-height:1;white-space:nowrap}
.rw2-fact-weather strong{color:#fff}.rw2-fact-record strong{color:#fff}
body:not(.dark-mode) .rw2-circuit-facts .rw2-fact{border-color:rgba(255,255,255,.17);background:linear-gradient(180deg,rgba(8,14,19,.78),rgba(8,14,19,.60))}
@media(max-width:1100px){.rw2-circuit-facts{min-width:340px;grid-template-columns:repeat(2,minmax(110px,1fr));gap:5px}.rw2-fact{min-height:46px;padding:7px 9px}.rw2-fact strong{font-size:12px}.rw2-fact small{font-size:7px}}
@media(max-width:760px){.rw2-identity{display:block}.rw2-circuit-facts{min-width:0;width:100%;margin:10px 0 0;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.rw2-fact{min-height:45px;padding:7px 6px}.rw2-fact span{font-size:6.5px}.rw2-fact strong{font-size:10px}.rw2-fact small{font-size:6px;overflow:hidden;text-overflow:ellipsis}.rw2-fact-record small{white-space:normal;line-height:1.1}}

/* V2 R4 — compact equal program cells + wider command panel + straight hero join */
.rw2-console{
  grid-template-columns:minmax(0,1fr) 350px;
  min-height:94px;
}
.rw2-timeline{
  overflow:hidden;
  align-items:stretch;
}
.rw2-day-group{
  flex:0 0 auto;
  min-width:0;
}
.rw2-day-card,
.rw2-session{
  min-height:94px;
  height:94px;
  box-sizing:border-box;
}
.rw2-day-card{
  width:88px;
  min-width:88px;
  flex:0 0 88px;
  padding:11px 10px;
}
.rw2-day-card strong{
  font-size:10px;
  white-space:nowrap;
}
.rw2-day-card span{
  margin-top:5px;
  font-size:9px;
  white-space:nowrap;
}
.rw2-session{
  width:72px;
  min-width:72px;
  flex:0 0 72px;
  padding:11px 9px;
}
.rw2-session-name{
  font-size:9px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rw2-session strong{
  margin-top:6px;
  font-size:12px;
}
.rw2-session:after{
  left:9px;
  bottom:12px;
  width:14px;
}
.rw2-next{
  min-height:94px;
  padding:12px 150px 11px 18px;
  justify-content:center;
}
.rw2-next-title{margin-top:4px;font-size:17px}
.rw2-next-time{margin-top:3px;font-size:10px}
.rw2-countdown{
  position:absolute;
  right:18px;
  top:31px;
  margin:0;
  font-size:26px;
}
.rw2-countdown-caption{
  position:absolute;
  right:18px;
  top:61px;
  margin:0;
  font-size:8px;
  white-space:nowrap;
}
.rw2-cta{
  right:18px;
  bottom:8px;
  padding:6px 9px;
  font-size:7.5px;
  border-radius:4px;
}

/* V2 joins the selected hero vertically: rounded only at the very top of Race Weekend. */
.rw2-section--sync-hero{margin-bottom:0;padding-bottom:0}
.rw2-section--sync-hero .rw2-card{
  border-radius:10px 10px 0 0;
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
  border-bottom-color:transparent;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
body.home:has(.rw2-section--merge-v4) .rw2-section--merge-v4 + .home-hero.hero-v4.hero-v4-reference{
  margin-top:0;
  padding-top:0;
}
body.home:has(.rw2-section--merge-v4) .rw2-section--merge-v4 + .home-hero.hero-v4.hero-v4-reference .hero-v4-main,
body.home:has(.rw2-section--merge-v4) .rw2-section--merge-v4 + .home-hero.hero-v4.hero-v4-reference .hero-v4-rail{
  border-top-left-radius:0;
  border-top-right-radius:0;
}
body.home:has(.rw2-section--merge-v1) .rw2-section--merge-v1 + .home-hero.hero-v1,
body.home:has(.rw2-section--merge-v2) .rw2-section--merge-v2 + .home-hero.hero-v2{
  margin-top:0;
  padding-top:0;
}

@media(max-width:1250px){
  .rw2-console{grid-template-columns:minmax(0,1fr) 325px}
  .rw2-day-card{width:82px;min-width:82px;flex-basis:82px;padding-left:8px;padding-right:8px}
  .rw2-session{width:66px;min-width:66px;flex-basis:66px;padding-left:7px;padding-right:7px}
  .rw2-next{padding-right:140px}
}
@media(max-width:1100px){
  .rw2-console{grid-template-columns:1fr}
  .rw2-timeline{overflow-x:auto}
  .rw2-day-group{flex:0 0 auto}
  .rw2-day-card{width:82px;min-width:82px;flex:none}
  .rw2-session{width:70px;min-width:70px;flex:none}
  .rw2-next{min-height:94px;border-left:0;border-top:1px solid var(--rw2-line)}
}
@media(max-width:700px){
  .rw2-card{border-radius:8px 8px 0 0}
  .rw2-day-card,.rw2-session{height:88px;min-height:88px}
  .rw2-next{min-height:108px;padding:12px 130px 12px 14px}
  .rw2-countdown{right:14px;top:31px;font-size:23px}
  .rw2-countdown-caption{right:14px;top:58px}
  .rw2-cta{right:14px;bottom:8px}
}

/* V2 R5 — track layout, correct dark theme, compact command, hard 90° hero join */
.rw2-track-layout{position:relative;z-index:1;flex:0 0 118px;height:72px;margin-left:auto;display:flex;align-items:center;justify-content:center;padding:5px 8px;opacity:.94}
.rw2-track-layout img{display:block;max-width:100%;max-height:100%;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(0 2px 5px rgba(0,0,0,.55))}
.rw2-track-layout + .rw2-circuit-facts{margin-left:8px}
.rw2-countdown-caption{display:none!important}
.rw2-countdown{top:27px}
.rw2-cta{bottom:9px}

/* The site's real dark-mode switch lives on html[data-me-theme="dark"]. */
html[data-me-theme="dark"] .rw2-console{background:linear-gradient(180deg,#11181e,#0c1217)!important;color:#f7f9fb}
html[data-me-theme="dark"] .rw2-timeline{background:#10171d!important}
html[data-me-theme="dark"] .rw2-day-group{border-color:rgba(255,255,255,.10)!important}
html[data-me-theme="dark"] .rw2-day-card{background:#11181e!important}
html[data-me-theme="dark"] .rw2-session{background:#0f161c!important;border-color:rgba(255,255,255,.07)!important}
html[data-me-theme="dark"] .rw2-day-card strong,
html[data-me-theme="dark"] .rw2-session strong{color:#fff!important}
html[data-me-theme="dark"] .rw2-day-card span,
html[data-me-theme="dark"] .rw2-session-name{color:#b9c3cc!important}
html[data-me-theme="dark"] .rw2-next{background:linear-gradient(135deg,#161f27,#10171d 70%)!important;border-color:rgba(255,255,255,.10)!important}
html[data-me-theme="dark"] .rw2-next-title,
html[data-me-theme="dark"] .rw2-countdown{color:#fff!important}
html[data-me-theme="dark"] .rw2-next-time,
html[data-me-theme="dark"] .rw2-next-kicker{color:#aeb9c2!important}

/* Exact straight join with Hero V4. !important wins regardless of enqueue order. */
body.home .rw2-section--merge-v4{margin-bottom:0!important;padding-bottom:0!important}
body.home .rw2-section--merge-v4 .rw2-card{border-radius:10px 10px 0 0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;margin-bottom:0!important}
body.home .rw2-section--merge-v4 + section.home-hero.hero-v4.hero-v4-reference{margin-top:0!important;padding-top:0!important}
body.home .rw2-section--merge-v4 + section.home-hero.hero-v4.hero-v4-reference .hero-v4-main,
body.home .rw2-section--merge-v4 + section.home-hero.hero-v4.hero-v4-reference .hero-v4-rail{border-top-left-radius:0!important;border-top-right-radius:0!important}
body.home .rw2-section--merge-v4 + section.home-hero.hero-v4.hero-v4-reference .hero-v4-stage,
body.home .rw2-section--merge-v4 + section.home-hero.hero-v4.hero-v4-reference .hero-v4-slides{border-top-left-radius:0!important;border-top-right-radius:0!important}

@media(max-width:1250px){.rw2-track-layout{flex-basis:90px;height:62px}.rw2-circuit-facts{min-width:370px}}
@media(max-width:1100px){.rw2-track-layout{display:none}}

/* V2 R6 — stronger circuit silhouette + true flush Hero V4 join.
   Scope is V2-only; stable V1 remains untouched. */
@media (min-width:1101px){
  .rw2-track-layout{
    flex:0 0 156px;
    width:156px;
    height:82px;
    margin-left:auto;
    padding:3px 10px;
    opacity:1;
  }
  .rw2-track-layout img{
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    object-fit:contain;
    filter:brightness(0) invert(1) drop-shadow(0 3px 8px rgba(0,0,0,.7));
  }
  .rw2-track-layout + .rw2-circuit-facts{margin-left:4px}
}

/* Do not depend on adjacency/order: while RW V2/V4 exists, flatten the actual V4 cards. */
body.home:has(.rw2-section--merge-v4) .rw2-section--merge-v4{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
body.home:has(.rw2-section--merge-v4) .rw2-section--merge-v4 > .container,
body.home:has(.rw2-section--merge-v4) .rw2-section--merge-v4 > .container-wide{
  padding-bottom:0!important;
}
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference{
  margin-top:0!important;
  padding-top:0!important;
}
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference > .container-wide{
  padding-top:0!important;
}
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference .hero-v4-layout,
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference .hero-v4-main,
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference .hero-v4-rail,
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference .hero-v4-stage,
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference .hero-v4-slides,
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference .hero-v4-slide,
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference .hero-v4-slide-link,
body.home:has(.rw2-section--merge-v4) .home-hero.hero-v4.hero-v4-reference .hero-v4-media{
  border-top-left-radius:0!important;
  border-top-right-radius:0!important;
}

/* V2 R7 — deterministic 90-degree Hero V4 join + properly cropped track art. */
body.home .home-hero.hero-v4.rw2-hero-v4-joined{
  margin-top:0!important;
  padding-top:0!important;
}
body.home .home-hero.hero-v4.rw2-hero-v4-joined > .container-wide{
  padding-top:0!important;
}
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-main,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-rail,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-stage,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-slides,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-slide,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-slide-link,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-media{
  border-top-left-radius:0!important;
  border-top-right-radius:0!important;
}
@media (min-width:1101px){
  .rw2-track-layout{flex-basis:168px;width:168px;height:88px;padding:2px 8px}
  .rw2-track-layout img{width:100%;height:100%;object-fit:contain}
}

/* V2 R8 — lead track map + hard flush Hero V4 join. */
@media (min-width:1101px){
  .rw2-identity{justify-content:flex-start;gap:18px}
  .rw2-track-layout.rw2-track-layout--lead{
    order:0;flex:0 0 176px;width:176px;height:94px;margin:0;padding:2px 4px;opacity:1;
  }
  .rw2-track-layout.rw2-track-layout--lead img{width:100%;height:100%;object-fit:contain}
  .rw2-event{order:1;flex:0 1 auto;min-width:330px}
  .rw2-circuit-facts{order:2;margin-left:auto!important}
}
body.home .rw2-section--merge-v4{margin-bottom:0!important;padding-bottom:0!important}
body.home .rw2-section--merge-v4 .rw2-card{margin-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}
body.home .home-hero.hero-v4.rw2-hero-v4-joined{margin-top:0!important;padding-top:0!important}
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-layout{margin-top:0!important;padding-top:0!important}
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-main,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-rail{border-top-left-radius:0!important;border-top-right-radius:0!important}


/* =========================================================
   V2 R10 — compact telemetry + truly flush Hero V4 join
   ========================================================= */
body.home .rw2-section--sync-hero{
  width:100%;
  max-width:var(--home-shell-width,1200px);
  margin-left:auto!important;
  margin-right:auto!important;
  margin-bottom:0!important;
  padding:0!important;
}
body.home .rw2-section--sync-hero > .container,
body.home .rw2-section--sync-hero > .container-wide{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.home .rw2-section--merge-v4 .rw2-card{
  margin-bottom:0!important;
  border:0!important;
  border-bottom-left-radius:0!important;
  border-bottom-right-radius:0!important;
  box-shadow:none!important;
}
body.home .home-hero.hero-v4.rw2-hero-v4-joined{
  width:100%!important;
  max-width:var(--home-shell-width,1200px)!important;
  margin:0 auto!important;
  padding:0 0 24px!important;
}
body.home .home-hero.hero-v4.rw2-hero-v4-joined > .container-wide{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-layout{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
}
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-main,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-rail,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-stage,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-slides,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-slide,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-slide-link,
body.home .home-hero.hero-v4.rw2-hero-v4-joined .hero-v4-media{
  border-top-left-radius:0!important;
  border-top-right-radius:0!important;
}
@media (min-width:1101px){
  .rw2-identity{
    min-height:104px!important;
    padding:14px 18px!important;
    justify-content:flex-start!important;
    gap:16px!important;
  }
  .rw2-event{order:0;flex:1 1 auto;min-width:330px}
  .rw2-track-layout.rw2-track-layout--lead{display:none!important}
  .rw2-circuit-facts{
    order:1;
    display:grid!important;
    grid-template-columns:repeat(5,112px)!important;
    grid-auto-rows:66px!important;
    gap:7px!important;
    min-width:0!important;
    width:auto!important;
    margin:0 0 0 auto!important;
    align-items:stretch!important;
  }
  .rw2-circuit-facts .rw2-fact{
    width:112px!important;
    height:66px!important;
    min-height:66px!important;
    max-height:66px!important;
    box-sizing:border-box!important;
    padding:7px 9px!important;
    overflow:hidden!important;
  }
  .rw2-circuit-facts .rw2-fact span{font-size:7px!important;line-height:1.1!important}
  .rw2-circuit-facts .rw2-fact strong{font-size:14px!important;line-height:1.1!important;margin-top:3px!important}
  .rw2-circuit-facts .rw2-fact small{font-size:6.5px!important;line-height:1.15!important;margin-top:3px!important}
  .rw2-circuit-facts .rw2-fact-layout{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    padding:5px 7px!important;
  }
  .rw2-circuit-facts .rw2-fact-layout span{align-self:flex-start!important;width:100%!important}
  .rw2-circuit-facts .rw2-fact-layout img{
    display:block!important;
    width:72px!important;
    height:42px!important;
    max-width:72px!important;
    max-height:42px!important;
    margin:-1px auto 0!important;
    object-fit:contain!important;
    filter:brightness(0) invert(1) drop-shadow(0 2px 5px rgba(0,0,0,.55));
  }
}
@media(max-width:1100px){.rw2-fact-layout{display:none!important}}


/* R11 — deterministic V2 join + compact circuit telemetry.
   This stylesheet is enqueued only while Race Weekend V2 is active. */
@media (min-width:1101px){
  body.home .rw2-section--merge-v4,
  body.home .rw2-section--merge-v4 > .container,
  body.home .rw2-section--merge-v4 > .container-wide,
  body.home .rw2-section--merge-v4 .rw2-shell,
  body.home .rw2-section--merge-v4 .rw2-card{
    width:100%!important;
    max-width:var(--home-shell-width,1200px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.home .rw2-section--merge-v4 .rw2-card{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    border-radius:10px 10px 0 0!important;
  }
  body.home .rw2-section--merge-v4 .rw2-console{
    border-bottom-left-radius:0!important;
    border-bottom-right-radius:0!important;
  }

  /* V2 CSS is not loaded in V1, so these can target V4 directly and reliably. */
  body.home .home-hero.hero-v4.hero-v4-reference{
    width:100%!important;
    max-width:var(--home-shell-width,1200px)!important;
    margin:0 auto!important;
    padding:0 0 24px!important;
  }
  body.home .home-hero.hero-v4.hero-v4-reference > .container-wide{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body.home .home-hero.hero-v4.hero-v4-reference .hero-v4-layout{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
  }
  body.home .home-hero.hero-v4.hero-v4-reference .hero-v4-main,
  body.home .home-hero.hero-v4.hero-v4-reference .hero-v4-rail,
  body.home .home-hero.hero-v4.hero-v4-reference .hero-v4-stage,
  body.home .home-hero.hero-v4.hero-v4-reference .hero-v4-slides,
  body.home .home-hero.hero-v4.hero-v4-reference .hero-v4-slide,
  body.home .home-hero.hero-v4.hero-v4-reference .hero-v4-slide-link,
  body.home .home-hero.hero-v4.hero-v4-reference .hero-v4-media{
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
  }

  .rw2-circuit-facts{
    grid-template-columns:repeat(5,112px)!important;
    gap:8px!important;
    align-items:stretch!important;
  }
  .rw2-circuit-facts .rw2-fact{
    width:112px!important;
    height:66px!important;
    min-height:66px!important;
    padding:9px 10px!important;
    box-sizing:border-box!important;
  }
  .rw2-fact-layout{display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
  .rw2-fact-layout-image{height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin-top:1px!important}
  .rw2-fact-layout-image img{display:block!important;width:76px!important;height:40px!important;max-width:76px!important;max-height:40px!important;object-fit:contain!important;filter:brightness(0) invert(1)!important;opacity:.96!important}
}

/* R12 — structural command-center join. V2 only. */
body.home .rw2-command-center-unified{
  width:100%;
  max-width:var(--home-shell-width,1200px);
  margin:18px auto 0;
  padding:0;
  overflow:hidden;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:10px 10px 0 0;
  background:transparent;
}
body.home .rw2-command-center-unified .rw2-section{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;
}
body.home .rw2-command-center-unified .rw2-section > .container,
body.home .rw2-command-center-unified .rw2-section > .container-wide{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
body.home .rw2-command-center-unified .rw2-card,
body.home .rw2-command-center-unified .rw2-shell,
body.home .rw2-command-center-unified .rw2-panel{
  border:0!important;outline:0!important;box-shadow:none!important;
}
body.home .rw2-command-center-unified .rw2-card{border-radius:0!important}
body.home .rw2-command-center-unified .rw2-identity{border-radius:0!important}
body.home .rw2-command-center-unified .home-hero.hero-v4{
  width:100%!important;max-width:none!important;margin:0!important;padding:0 0 24px!important;border:0!important;outline:0!important;
}
body.home .rw2-command-center-unified .home-hero.hero-v4 > .container-wide{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
body.home .rw2-command-center-unified .hero-v4-layout{width:100%!important;margin:0!important;padding:0!important;gap:0!important}
body.home .rw2-command-center-unified .hero-v4-main,
body.home .rw2-command-center-unified .hero-v4-rail,
body.home .rw2-command-center-unified .hero-v4-stage,
body.home .rw2-command-center-unified .hero-v4-slides,
body.home .rw2-command-center-unified .hero-v4-slide,
body.home .rw2-command-center-unified .hero-v4-slide-link,
body.home .rw2-command-center-unified .hero-v4-media{
  border-top-left-radius:0!important;border-top-right-radius:0!important;
}
@media (min-width:1101px){
  .rw2-command-center-unified .rw2-circuit-facts{grid-template-columns:repeat(4,112px)!important}
}
@media (max-width:850px){body.home .rw2-command-center-unified{max-width:none;margin-top:10px;border-radius:8px 8px 0 0}}

/* R15 — countdown plate only. Keep the uploaded baseline layout untouched. */
.rw2-next .rw2-countdown{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:132px!important;
  height:38px!important;
  padding:0 12px!important;
  box-sizing:border-box!important;
  border-radius:6px!important;
  background:#e20d1b!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(226,13,27,.24)!important;
  text-shadow:none!important;
}
body:not(.dark-mode) .rw2-next .rw2-countdown,
html[data-me-theme="light"] .rw2-next .rw2-countdown,
html[data-me-theme="dark"] .rw2-next .rw2-countdown{
  background:#e20d1b!important;
  color:#fff!important;
}
@media(max-width:700px){
  .rw2-next .rw2-countdown{
    min-width:116px!important;
    height:34px!important;
    padding:0 10px!important;
    font-size:22px!important;
  }
}

/* R16 — separate time from action: green countdown + red CTA on one horizontal axis. */
@media (min-width:701px){
  .rw2-next{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    grid-template-areas:
      "kicker countdown cta"
      "title  countdown cta"
      "time   countdown cta"!important;
    column-gap:12px!important;
    align-items:center!important;
    align-content:center!important;
    padding:11px 14px 11px 18px!important;
  }
  .rw2-next-kicker{grid-area:kicker!important;align-self:end!important}
  .rw2-next-title{grid-area:title!important;align-self:center!important}
  .rw2-next-time{grid-area:time!important;align-self:start!important}
  .rw2-next .rw2-countdown{
    grid-area:countdown!important;
    position:static!important;
    margin:0!important;
    min-width:128px!important;
    height:38px!important;
    padding:0 11px!important;
    border-radius:6px!important;
    background:linear-gradient(180deg,#187a48,#105b36)!important;
    color:#fff!important;
    box-shadow:0 7px 18px rgba(16,91,54,.24)!important;
    font-size:25px!important;
    line-height:1!important;
  }
  .rw2-next .rw2-cta{
    grid-area:cta!important;
    position:static!important;
    align-self:center!important;
    white-space:nowrap!important;
    padding:9px 11px!important;
    font-size:7.5px!important;
  }
}
body:not(.dark-mode) .rw2-next .rw2-countdown,
html[data-me-theme="light"] .rw2-next .rw2-countdown,
html[data-me-theme="dark"] .rw2-next .rw2-countdown{
  background:linear-gradient(180deg,#187a48,#105b36)!important;
  color:#fff!important;
}

/* R17 — countdown and CTA stacked in a dedicated right column. */
@media (min-width:701px){
  .rw2-next{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 142px!important;
    grid-template-rows:auto auto auto!important;
    grid-template-areas:
      "kicker actions"
      "title  actions"
      "time   actions"!important;
    column-gap:14px!important;
    align-items:center!important;
    align-content:center!important;
    padding:11px 14px 11px 18px!important;
  }
  .rw2-next-kicker{grid-area:kicker!important;align-self:end!important}
  .rw2-next-title{grid-area:title!important;align-self:center!important}
  .rw2-next-time{grid-area:time!important;align-self:start!important}
  .rw2-next .rw2-countdown{
    grid-area:actions!important;
    position:static!important;
    align-self:start!important;
    justify-self:stretch!important;
    margin:0 0 7px 0!important;
    min-width:0!important;
    width:142px!important;
    height:38px!important;
    padding:0 10px!important;
    border-radius:6px!important;
    background:linear-gradient(180deg,#187a48,#105b36)!important;
    color:#fff!important;
    box-shadow:0 7px 18px rgba(16,91,54,.22)!important;
    font-size:25px!important;
    line-height:1!important;
  }
  .rw2-next .rw2-cta{
    grid-area:actions!important;
    position:static!important;
    align-self:end!important;
    justify-self:stretch!important;
    width:142px!important;
    min-height:29px!important;
    box-sizing:border-box!important;
    margin:45px 0 0!important;
    padding:8px 8px!important;
    white-space:nowrap!important;
    font-size:7.5px!important;
  }
}

/* R18 — MotoEtkinlik burgundy countdown plate; R17 geometry stays untouched. */
@media (min-width:701px){
  .rw2-next .rw2-countdown{
    background:linear-gradient(180deg,#86141e,#651018)!important;
    box-shadow:0 7px 18px rgba(101,16,24,.24)!important;
    border:1px solid rgba(255,255,255,.08)!important;
  }
}
@media (max-width:700px){
  .rw2-next .rw2-countdown{
    background:linear-gradient(180deg,#86141e,#651018)!important;
    box-shadow:0 6px 16px rgba(101,16,24,.22)!important;
    color:#fff!important;
  }
}


/* R19 — unified series tabs + long countdown safety. */
.rw2-shell > .rw2-tabs{
  display:inline-flex!important;gap:0!important;margin:0 0 8px!important;padding:4px!important;
  border:1px solid rgba(255,255,255,.13)!important;border-radius:10px!important;
  background:rgba(10,16,22,.86)!important;box-shadow:0 8px 22px rgba(0,0,0,.16)!important;
}
.rw2-shell > .rw2-tabs .rw2-tab{
  margin:0!important;border:0!important;border-radius:7px!important;background:transparent!important;
  color:#b9c4ce!important;padding:9px 18px!important;font-size:11px!important;line-height:1!important;
  letter-spacing:.035em!important;box-shadow:none!important;transition:background .18s ease,color .18s ease!important;
}
.rw2-shell > .rw2-tabs .rw2-tab + .rw2-tab{margin-left:2px!important}
.rw2-shell > .rw2-tabs .rw2-tab.is-active{
  background:linear-gradient(180deg,#ef1725,#c90915)!important;color:#fff!important;
  box-shadow:0 5px 14px rgba(226,13,27,.24)!important;
}
body:not(.dark-mode) .rw2-shell > .rw2-tabs,html[data-me-theme="light"] .rw2-shell > .rw2-tabs{
  background:#fff!important;border-color:rgba(15,25,35,.13)!important;box-shadow:0 6px 18px rgba(15,25,35,.08)!important;
}
body:not(.dark-mode) .rw2-shell > .rw2-tabs .rw2-tab,html[data-me-theme="light"] .rw2-shell > .rw2-tabs .rw2-tab{color:#56636f!important}
body:not(.dark-mode) .rw2-shell > .rw2-tabs .rw2-tab.is-active,html[data-me-theme="light"] .rw2-shell > .rw2-tabs .rw2-tab.is-active{color:#fff!important}
@media (min-width:701px){
  .rw2-next{grid-template-columns:minmax(0,1fr) 166px!important}
  .rw2-next .rw2-countdown{width:166px!important;white-space:nowrap!important;font-size:22px!important;letter-spacing:0!important}
  .rw2-next .rw2-cta{width:166px!important}
}
@media (max-width:700px){
  .rw2-shell > .rw2-tabs{display:flex!important;width:max-content!important;max-width:100%!important}
  .rw2-shell > .rw2-tabs .rw2-tab{padding:8px 13px!important;font-size:10px!important}
  .rw2-next .rw2-countdown{white-space:nowrap!important;font-size:20px!important}
}

/* R20 — compact series switch integrated into the hero top edge. */
.rw2-shell[data-rw2-tabs]{position:relative!important}
.rw2-shell[data-rw2-tabs] > .rw2-tabs{
  position:absolute!important;
  z-index:30!important;
  top:0!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  display:inline-flex!important;
  width:auto!important;
  max-width:calc(100% - 24px)!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-top:0!important;
  border-radius:0 0 8px 8px!important;
  background:rgba(10,16,22,.90)!important;
  box-shadow:0 6px 16px rgba(0,0,0,.20)!important;
}
.rw2-shell[data-rw2-tabs] > .rw2-tabs .rw2-tab{
  min-width:86px!important;
  height:30px!important;
  margin:0!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#c6ced6!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:30px!important;
  letter-spacing:.035em!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.rw2-shell[data-rw2-tabs] > .rw2-tabs .rw2-tab + .rw2-tab{
  margin-left:0!important;
  border-left:1px solid rgba(255,255,255,.12)!important;
}
.rw2-shell[data-rw2-tabs] > .rw2-tabs .rw2-tab.is-active{
  background:linear-gradient(180deg,#ef1725,#c90915)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body:not(.dark-mode) .rw2-shell[data-rw2-tabs] > .rw2-tabs,
html[data-me-theme="light"] .rw2-shell[data-rw2-tabs] > .rw2-tabs{
  background:rgba(255,255,255,.94)!important;
  border-color:rgba(15,25,35,.14)!important;
}
body:not(.dark-mode) .rw2-shell[data-rw2-tabs] > .rw2-tabs .rw2-tab + .rw2-tab,
html[data-me-theme="light"] .rw2-shell[data-rw2-tabs] > .rw2-tabs .rw2-tab + .rw2-tab{
  border-left-color:rgba(15,25,35,.12)!important;
}
@media(max-width:700px){
  .rw2-shell[data-rw2-tabs] > .rw2-tabs{max-width:calc(100% - 16px)!important}
  .rw2-shell[data-rw2-tabs] > .rw2-tabs .rw2-tab{min-width:74px!important;height:28px!important;padding:0 11px!important;font-size:9px!important;line-height:28px!important}
}
