/* VTRSIM UI 0.17.0 — accessible, responsive, CSS-only visual layer.
   Legacy selectors preserved so the existing Hub / Steam / Race Gate JS works. */
:root{--v17-ink:#12243e;--v17-navy:#0e2236;--v17-blue:#0869e9;--v17-blue-dark:#0755bf;--v17-line:#d5e3f5;--v17-soft:#f3f8ff;--v17-green:#078353;--v17-green-soft:#e9fbf3;--v17-red:#bb252b;--v17-shadow:0 12px 34px rgba(15,43,86,.075);--v17-radius:14px}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body.vtr17{background:#fff;color:var(--v17-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
body.vtr17 *{box-sizing:border-box}
body.vtr17 img{max-width:100%}body.vtr17 :is(button,input,select,textarea){font:inherit}
body.vtr17 :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #5da4ff!important;outline-offset:3px!important}
body.vtr17 :is(h1,h2,h3,h4){color:inherit;overflow-wrap:break-word}
body.vtr17 :is(p,small){overflow-wrap:break-word}
body.vtr17 :is(.container,.premium-navbar,.premium-footer-main){max-width:1560px;width:calc(100% - 72px);margin-inline:auto}
body.vtr17 a{text-underline-offset:3px}
body.vtr17 .muted{color:#55708c}
body.vtr17 .premium-eyebrow,body.vtr17 .eyebrow{font-size:11px!important;font-weight:850!important;letter-spacing:.18em!important;text-transform:uppercase}
/* Navigation: white header, obvious current tab, no overflow on intermediate widths */
body.vtr17 .site-header{position:sticky!important;top:0;z-index:1000;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e0eaf5!important;box-shadow:0 3px 20px rgba(13,38,77,.035)!important}
body.vtr17 .premium-navbar{height:66px!important;min-height:66px!important;display:flex!important;align-items:center!important;gap:clamp(12px,1.3vw,26px)!important;overflow:visible!important;padding:0!important}
body.vtr17 .pixel-brand{display:flex!important;flex-flow:column nowrap!important;align-items:flex-start!important;justify-content:center!important;flex:none!important;text-decoration:none!important;line-height:1!important;min-width:135px}
body.vtr17 .pixel-brand strong{font-size:29px!important;font-weight:950!important;font-style:italic!important;color:#13223b!important;letter-spacing:-1.6px!important;line-height:1!important}
body.vtr17 .pixel-brand i{font-style:italic;color:var(--v17-blue)}
body.vtr17 .pixel-brand small{font-size:7px!important;letter-spacing:.38em!important;color:#4b6786!important;margin-left:5px!important}
body.vtr17 .premium-nav{display:flex!important;align-items:center!important;justify-content:center!important;flex:1!important;gap:clamp(8px,1.15vw,22px)!important;min-width:0}
body.vtr17 .premium-nav .nav-link{font-size:12px!important;font-weight:720!important;line-height:64px!important;white-space:nowrap!important;color:#253b56!important;padding:0 2px!important;border-radius:0!important;background:transparent!important}
body.vtr17 .premium-nav .nav-link:is(.active,[aria-current="page"]){color:#075bd0!important;border-bottom:3px solid #0d72ef!important}
body.vtr17 .pixel-nav-actions{display:flex!important;align-items:center!important;gap:8px!important;flex:none!important;min-width:0}
body.vtr17 .pixel-icon-btn{display:inline-grid!important;place-items:center!important;width:36px!important;min-width:36px!important;height:36px!important;background:transparent!important;border:0!important}
body.vtr17 .pixel-icon-btn img{width:18px;height:18px}
body.vtr17 :is(.pixel-launcher,.pixel-account){min-height:38px!important;height:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-radius:7px!important;padding:9px 13px!important;white-space:nowrap!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important}
body.vtr17 .pixel-launcher{background:#fff!important;color:#085acb!important;border:1px solid #bad4fa!important}
body.vtr17 .pixel-account{background:#0b67e9!important;color:#fff!important;border:1px solid #0b67e9!important}
body.vtr17 :is(.pixel-launcher,.pixel-account) img{width:16px;height:16px;max-width:16px}
body.vtr17 .pixel-theme.vtr-v16-help{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-width:32px!important;border:0!important;background:transparent!important;color:#273e5a!important;text-decoration:none!important;font-size:22px!important;font-weight:850!important}
body.vtr17 .premium-mobile-nav{background:#fff!important;box-shadow:var(--v17-shadow)!important}
/* Hero artwork + typography */
body.vtr17.premium-v015 .premium-hero{position:relative!important;isolation:isolate!important;min-height:318px!important;background:linear-gradient(90deg,#e7f2ff,#f6faff)!important;color:var(--v17-ink)!important;overflow:hidden!important}
body.vtr17.premium-v015 .premium-hero::before{background-image:url('../assets/premium-race-hero.jpg')!important;background-repeat:no-repeat!important;background-position:right 48%!important;background-size:cover!important;filter:saturate(1.12)}
body.vtr17.premium-v015 .premium-hero::after{background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.96) 19%,rgba(255,255,255,.76) 32%,rgba(255,255,255,.15) 57%,rgba(4,20,37,.36) 100%)!important}
body.vtr17.premium-v015 .premium-hero-content{position:relative!important;padding-block:39px 30px!important;max-width:1560px!important;min-height:315px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important}
body.vtr17.premium-v015 .premium-hero h1{font-size:clamp(40px,4.2vw,61px)!important;line-height:1.03!important;max-width:680px!important;letter-spacing:-.044em!important;font-weight:900!important;margin:10px 0 10px!important;color:#10243c!important}
body.vtr17.premium-v015 .premium-hero h1 em{color:#a61920!important;font-style:normal!important}
body.vtr17.premium-v015 .premium-hero p{max-width:570px!important;font-size:clamp(14px,1.18vw,17px)!important;line-height:1.46!important;color:#243e5c!important;margin:0 0 18px!important}
body.vtr17 .premium-hero .premium-eyebrow{color:#0665d9!important}
body.vtr17 .premium-hero-buttons{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0!important}
body.vtr17 .premium-hero-values{display:flex!important;gap:16px!important;flex-wrap:wrap!important;margin:16px 0 0!important}
body.vtr17 .premium-hero-values>span{padding:0 17px 0 0!important;gap:7px!important;min-height:34px!important;color:#12304d!important}
body.vtr17 .premium-hero-values b{font-size:10px!important;line-height:1.24!important}
body.vtr17 .pixel-value-icon{display:grid!important;place-items:center!important;width:23px!important;height:25px!important;background:transparent!important}
body.vtr17 .pixel-value-icon img{height:23px!important;width:23px!important}
body.vtr17 .btn{border-radius:8px!important;min-height:41px!important;font-size:12px!important;font-weight:820!important;line-height:1.3!important;letter-spacing:0!important;box-shadow:none!important;white-space:normal!important;text-align:center!important;text-decoration:none!important;transition:transform .15s,background-color .15s,border-color .15s,box-shadow .15s!important}
body.vtr17 .btn:hover:not(:disabled){transform:translateY(-1px)!important;box-shadow:0 7px 18px rgba(9,83,166,.12)!important}
body.vtr17 :is(.btn-primary,.btn-blue,.btn.btn-primary,.btn.btn-blue){background:#086af0!important;border:1px solid #086af0!important;color:white!important}
body.vtr17 :is(.btn-primary,.btn-blue):hover{background:#0756c7!important}
body.vtr17 :is(.btn-secondary,.btn-outline,.btn.btn-secondary,.btn.btn-outline){background:#f8fbff!important;border:1px solid #b9d3fb!important;color:#12314f!important}
/* Shared section design, no oversized whitespace */
body.vtr17 main{overflow:clip}
body.vtr17 :is(.card,.pixel-side-card,.premium-event-card,.premium-calendar-card){border:1px solid var(--v17-line)!important;border-radius:var(--v17-radius)!important;box-shadow:0 2px 12px rgba(21,54,96,.035)!important}
body.vtr17 :is(.premium-block-head,.section-head,.pixel-side-head){align-items:center!important;gap:14px!important;min-width:0}
body.vtr17 :is(.premium-block-head,.section-head,.pixel-side-head) a{white-space:nowrap;font-size:12px;color:#065dce;font-weight:800}
body.vtr17 :is(.premium-block-head h2,.section-head h2){font-size:clamp(23px,2vw,30px)!important;line-height:1.15!important;letter-spacing:-.025em!important;color:#132943!important}
body.vtr17 :is(.races-page,.section){padding-block:24px 44px!important}
/* HOME overlapping heading/nav correction — no absolute-positioned links. */
body.vtr17 .premium-home-container{padding-top:12px!important;padding-bottom:44px!important;display:block!important}
body.vtr17 .premium-next-race{margin:0 0 25px!important}
body.vtr17 .premium-home-grid{display:grid!important;grid-template-columns:minmax(0,2.2fr) minmax(300px,.8fr)!important;gap:23px!important;align-items:start!important;margin:0 0 22px!important}
body.vtr17 .premium-feature-main,body.vtr17 .premium-feature-side{min-width:0!important}
body.vtr17 .vtr17-home-head,body.vtr17 .vtr-v16-home-section-top{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;justify-content:space-between!important;gap:10px 18px!important;position:static!important;min-width:0!important;margin:0 0 15px!important}
body.vtr17 .vtr-v16-home-section-top>div{min-width:0!important;flex:1 1 240px!important}
body.vtr17 .vtr-v16-home-section-top h2{margin:3px 0 4px!important;line-height:1.15!important;font-size:clamp(26px,2.2vw,32px)!important}
body.vtr17 .vtr-v16-home-section-top p{font-size:13px!important;line-height:1.45!important;margin:0!important;color:#61738e!important}
body.vtr17 .vtr-v16-home-links{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px 15px!important;flex-wrap:wrap!important;position:static!important;flex:none!important;margin:0!important}
body.vtr17 .vtr-v16-home-links>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;line-height:1.3!important;white-space:nowrap!important;text-decoration:none!important;color:#075ccc!important;font-size:12px!important;font-weight:850!important}
body.vtr17 .vtr-v16-home-links>a:first-child{padding:8px 10px!important;border:1px solid #d1e0f4!important;border-radius:7px!important;background:#fff!important}
body.vtr17 .premium-category-tabs.vtr-v16-home-tabs{display:flex!important;gap:5px!important;flex-wrap:wrap!important;align-items:center!important;position:static!important;transform:none!important;inset:auto!important;margin:0 0 14px!important;min-width:0!important;width:100%!important;height:auto!important;padding:0!important}
body.vtr17 .premium-category-tabs.vtr-v16-home-tabs a{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;padding:7px 12px!important;line-height:1.2!important;color:#3c5574!important;border-radius:6px!important;text-decoration:none!important;white-space:nowrap!important}
body.vtr17 .premium-home-races{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body.vtr17 .premium-event-card{overflow:hidden!important;background:#fff!important;min-width:0!important}
body.vtr17 .premium-event-art{position:relative!important;display:flex!important;align-items:flex-end!important;height:170px!important;background-position:center!important;background-size:cover!important;padding:12px!important;text-decoration:none!important}
body.vtr17 .premium-event-art .vtr-v16-art-track{display:block!important;position:relative!important;z-index:1!important;font-size:clamp(17px,1.3vw,21px)!important;color:#fff!important;text-shadow:0 2px 6px #081627!important;padding:4px 0 0!important;line-height:1.15!important;max-width:90%!important}
body.vtr17 .premium-event-content{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important;padding:12px!important}
body.vtr17 .vtr-v16-home-meta,body.vtr17 .vtr-v16-card-meta{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px 13px!important;font-size:11px!important;color:#45617c!important;line-height:1.32!important;margin:0!important}
body.vtr17 .vtr-v16-home-action{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:3px!important}
body.vtr17 .vtr-v16-home-action>a{min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:7px!important;border:1px solid #c3dafb!important;background:#f7fbff!important;color:#183353!important;text-decoration:none!important;font-weight:800!important;font-size:12px!important;padding:7px!important;text-align:center!important}
body.vtr17 .vtr-v16-home-action>a.btn{color:#fff!important;border-color:#086af0!important;background:#086af0!important}
body.vtr17 .premium-feature-side .premium-block-head{flex-wrap:wrap!important}
body.vtr17 .premium-feature-side .premium-standings{border:1px solid var(--v17-line)!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important}
body.vtr17 .premium-feature-side table{width:100%!important}
body.vtr17 .premium-feature-side th,body.vtr17 .premium-feature-side td{padding:10px!important;font-size:12px!important}
body.vtr17 .premium-bottom-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important}
body.vtr17 :is(.premium-champ-promo,.premium-paddock-card,.premium-bottom-guide,.premium-launcher-panel){min-width:0!important;border-radius:13px!important}
body.vtr17 .premium-bottom-guide{gap:10px!important}
body.vtr17 .premium-bottom-guide>a{min-width:0!important;overflow-wrap:anywhere!important}
/* Dual timings: high-priority UX, green lobby and blue session, zero guesses about actual race start */
body.vtr17 .vtr-v16-important-times{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;align-items:stretch!important;margin:0!important;min-width:0!important}
body.vtr17 .vtr-v16-time{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;border-radius:10px!important;padding:13px 14px!important;border:1px solid transparent!important}
body.vtr17 .vtr-v16-time.lobby{background:linear-gradient(120deg,#ddfae9,#eefff6)!important;border-color:#d1f6e1!important;color:#075934!important}
body.vtr17 .vtr-v16-time.session{background:linear-gradient(120deg,#e7f1ff,#f3f8ff)!important;border-color:#daeaff!important;color:#142a53!important}
body.vtr17 .vtr-v16-time-symbol{position:relative!important;display:block!important;flex:0 0 33px!important;width:33px!important;height:33px!important;background-color:transparent!important;background-repeat:no-repeat!important;background-position:center!important;background-size:32px!important}
body.vtr17 .vtr-v16-time.lobby .vtr-v16-time-symbol{background-image:url('../assets/ui/lobby-time.svg')!important}
body.vtr17 .vtr-v16-time.session .vtr-v16-time-symbol{background-image:url('../assets/ui/session-time.svg')!important}
body.vtr17 .vtr-v16-time-body{display:flex!important;flex-direction:column!important;gap:1px!important;min-width:0!important}
body.vtr17 .vtr-v16-time-body>span{display:block!important;font-size:11px!important;line-height:1.2!important;font-weight:820!important;letter-spacing:.015em!important;color:inherit!important}
body.vtr17 .vtr-v16-time-body>strong{display:block!important;font-size:clamp(26px,2.2vw,35px)!important;font-weight:950!important;line-height:1.08!important;letter-spacing:-.03em!important;color:#102741!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
body.vtr17 .vtr-v16-time-body>small{display:block!important;color:#456581!important;font-weight:600!important;font-size:10px!important;line-height:1.3!important}
body.vtr17 .vtr-v16-important-times.compact .vtr-v16-time{padding:10px 11px!important;gap:7px!important;border-radius:8px!important}
body.vtr17 .vtr-v16-important-times.compact .vtr-v16-time-symbol{flex-basis:27px!important;width:27px!important;height:27px!important;background-size:27px!important}
body.vtr17 .vtr-v16-important-times.compact .vtr-v16-time-body>strong{font-size:clamp(23px,1.8vw,30px)!important}
body.vtr17 .vtr-v16-important-times.compact .vtr-v16-time-body>span{font-size:10px!important}
body.vtr17 .vtr-v16-important-times.compact .vtr-v16-time-body>small{font-size:10px!important}
/* Race listing: no duplicate filters/side rail. Three cards across on desktop */
body.vtr17 .races-page{background:#fff!important}
body.vtr17 .vtr-featured-race-v131{margin-bottom:13px!important}
body.vtr17 .vtr-races-explainer-v131{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px 18px!important;flex-wrap:wrap!important;padding:10px 16px!important;border:1px solid #d8e8fa!important;background:#f5faff!important;border-radius:9px!important;font-size:12px!important;margin-bottom:16px!important}
body.vtr17 .race-toolbar{padding:15px 18px!important;margin:0 0 14px!important;border:1px solid var(--v17-line)!important;background:#fff!important}
body.vtr17 .race-toolbar .toolbar-top{display:flex!important;flex-wrap:wrap!important;gap:6px 15px!important;align-items:center!important;justify-content:space-between!important;margin-bottom:12px!important}
body.vtr17 .race-toolbar h2{font-size:24px!important;margin:0 0 4px!important;color:#152b44!important}
body.vtr17 .race-toolbar .muted{font-size:12px!important;margin:0!important}
body.vtr17 .race-toolbar .filter-row{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:center!important;margin:8px 0 0!important}
body.vtr17 .race-toolbar .filter-label{font-size:10px!important;font-weight:850!important;letter-spacing:.12em!important;flex:none!important;min-width:47px!important;color:#496481!important}
body.vtr17 :is(.date-chip,.kind-chip,.filter-select,.filter-search){min-height:34px!important;border-radius:7px!important;font-size:12px!important;padding:7px 11px!important;background:#fff!important;border:1px solid #d3e2f7!important;color:#20405f!important}
body.vtr17 :is(.date-chip,.kind-chip).active{color:#fff!important;background:#0b68e7!important;border-color:#0b68e7!important}
body.vtr17 .filter-select{max-width:185px!important;min-width:125px!important}
body.vtr17 .filter-search{margin-left:auto!important;flex:1 1 185px!important;max-width:320px!important;min-width:145px!important}
body.vtr17 .race-registration-legend-v10{margin:0 0 7px!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:6px 10px!important;font-size:11px!important;background:#f8fbff!important;border:1px solid #e0eaf8!important;border-radius:7px!important}
body.vtr17 .vtr-v16-legend{border:1px solid #dce9f7!important;border-radius:7px!important;margin:0 0 10px!important;padding:0!important;background:#f9fcff!important}
body.vtr17 .vtr-v16-legend>summary{font-size:11px!important;font-weight:800!important;padding:9px 13px!important;cursor:pointer!important;color:#315476!important}
body.vtr17 .vtr-v16-legend .pixel-rating-legend{margin:0!important;position:static!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:10px!important}
body.vtr17 .pixel-races-layout{display:block!important;grid-template-columns:1fr!important;margin:0!important}
body.vtr17 .pixel-races-main{width:100%!important;max-width:none!important;min-width:0!important}
body.vtr17 .pixel-races-side{display:none!important}
body.vtr17 .schedule-summary{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px 10px!important;margin:0 0 12px!important;color:#335673!important;font-size:12px!important}
body.vtr17 .schedule-summary button{margin-left:auto!important;min-height:28px!important;font-size:11px!important;color:#065cba!important}
body.vtr17 .race-groups{width:100%!important}
body.vtr17 .day-races{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:16px!important;min-width:0!important;margin:0 0 22px!important}
body.vtr17 .premium-calendar-card{overflow:hidden!important;min-width:0!important;background:#fff!important;display:flex!important;flex-direction:column!important;gap:0!important;position:relative!important}
body.vtr17 .premium-calendar-card.is-registered{border-color:#85d8b6!important;box-shadow:0 0 0 1px #cbf5e3!important}
body.vtr17 .premium-calendar-art{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-height:142px!important;height:142px!important;padding:12px!important;background-position:center center!important;background-size:cover!important;text-decoration:none!important}
body.vtr17 .premium-calendar-art>strong{display:block!important;position:relative!important;font-size:clamp(18px,1.45vw,22px)!important;font-weight:920!important;line-height:1.11!important;color:#fff!important;text-shadow:0 2px 6px #07182f!important;max-width:98%!important;overflow-wrap:anywhere!important;margin:0!important}
body.vtr17 .premium-calendar-art>span,body.vtr17 .premium-calendar-art>b{font-size:10px!important;font-weight:850!important;border-radius:5px!important;top:10px!important}
body.vtr17 .premium-calendar-body{display:flex!important;flex-direction:column!important;gap:9px!important;flex:1!important;min-width:0!important;padding:10px 11px!important}
body.vtr17 .vtr-v16-card-meta{font-size:11px!important;line-height:1.28!important}
body.vtr17 .vtr-v16-card-meta>span{white-space:normal!important}
body.vtr17 .vtr-v16-card-meta>span:last-child{margin-left:auto!important;white-space:nowrap!important}
body.vtr17 .vtr-v16-registration{display:flex!important;align-items:center!important;gap:6px!important;font-size:11px!important;font-weight:780!important;padding:7px 9px!important;border-radius:7px!important;line-height:1.3!important}
body.vtr17 .vtr-v16-registration.registered{background:#e8fcf0!important;color:#09643c!important}
body.vtr17 .vtr-v16-registration.closed{background:#fff3e6!important;color:#89510b!important}
body.vtr17 .premium-calendar-settings{margin:0!important;min-width:0!important;border:1px solid #deebf9!important;background:#f7fbff!important;border-radius:8px!important;font-size:12px!important}
body.vtr17 .premium-calendar-settings>summary{display:flex!important;min-height:39px!important;align-items:center!important;flex-wrap:nowrap!important;gap:7px!important;padding:7px 8px!important;cursor:pointer!important;list-style:none!important}
body.vtr17 .premium-calendar-settings>summary::-webkit-details-marker{display:none}
body.vtr17 .premium-calendar-settings .vtr-disclosure-icon{display:grid!important;place-items:center!important;flex:none!important;width:25px!important;height:25px!important;border-radius:6px!important;background:#e5f0ff!important;color:#0866db!important;font-size:17px!important}
body.vtr17 .premium-calendar-settings .vtr-disclosure-copy{display:flex!important;flex:1!important;min-width:0!important;gap:4px!important;align-items:center!important;flex-wrap:wrap!important;font-size:12px!important;color:#13324e!important}
body.vtr17 .premium-calendar-settings .vtr-disclosure-copy>strong{white-space:nowrap!important;font-size:12px!important}
body.vtr17 .premium-calendar-settings .vtr-disclosure-copy>small{color:#506e8f!important;font-size:10px!important;white-space:normal!important}
body.vtr17 .premium-calendar-settings .vtr-disclosure-action{display:inline-flex!important;flex:none!important;gap:5px!important;margin-left:auto!important;align-items:center!important;justify-content:center!important;background:#fff!important;color:#0756be!important;padding:6px 8px!important;font-size:10px!important;font-weight:850!important;border:1px solid #bed6fb!important;border-radius:6px!important;max-width:43%!important;white-space:normal!important;text-align:center!important}
body.vtr17 .premium-calendar-settings .vtr-disclosure-action i{flex:none!important}
body.vtr17 .premium-calendar-settings .vtr-settings-content{padding:10px!important;max-height:none!important;overflow:visible!important}
body.vtr17 .premium-calendar-actions{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:stretch!important;gap:7px!important;padding:0 11px 12px!important;margin:0!important;width:100%!important;background:#fff!important;border:0!important;min-width:0!important}
body.vtr17 .premium-calendar-actions>.vtr-inline-access-v1{grid-column:1/-1!important;width:100%!important;min-width:0!important;margin:0!important;align-self:stretch!important;order:0!important}
body.vtr17 .premium-calendar-actions>a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:39px!important;width:100%!important;min-width:0!important;padding:7px!important;margin:0!important;border:1px solid #bdd6f9!important;border-radius:7px!important;background:#f8fbff!important;color:#164369!important;font-size:12px!important;font-weight:820!important;text-decoration:none!important;text-align:center!important;white-space:normal!important;line-height:1.25!important}
body.vtr17 .premium-calendar-actions>a.btn{background:#086af0!important;color:#fff!important;border-color:#086af0!important}
/* THE PIN + JOIN visual regression fix: selector matches the real cards, not deprecated race-cta-v116 */
body.vtr17[data-page="races"] .premium-calendar-actions .vtr-inline-access-v1{display:block!important;padding:10px!important;background:#eafcf2!important;border:1px solid #bfeeda!important;border-radius:9px!important;overflow:visible!important}
body.vtr17[data-page="races"] .premium-calendar-actions .vtr-inline-pin-v1{display:flex!important;flex-direction:column!important;gap:8px!important;align-items:stretch!important;min-width:0!important;width:100%!important}
body.vtr17[data-page="races"] .premium-calendar-actions .vtr-inline-pin-v1>span{font-size:11px!important;color:#087c4c!important;font-weight:880!important;line-height:1.25!important;white-space:normal!important}
body.vtr17[data-page="races"] .premium-calendar-actions .vtr-v16-pin-actions{display:grid!important;grid-template-columns:minmax(55px,.65fr) minmax(76px,.85fr) minmax(85px,1fr)!important;gap:6px!important;align-items:stretch!important;width:100%!important;min-width:0!important}
body.vtr17[data-page="races"] .premium-calendar-actions .vtr-v16-pin-actions>strong{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;padding:5px!important;font-size:clamp(19px,1.7vw,26px)!important;letter-spacing:.06em!important;font-variant-numeric:tabular-nums!important;line-height:1!important;background:#fff!important;color:#0c2539!important;border:1px solid #b6e4d1!important;border-radius:7px!important;overflow-wrap:anywhere!important}
body.vtr17[data-page="races"] .premium-calendar-actions .vtr-v16-pin-actions>button{appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;min-height:38px!important;padding:6px!important;margin:0!important;border-radius:7px!important;font-size:11px!important;line-height:1.1!important;font-weight:850!important;white-space:normal!important;text-align:center!important;cursor:pointer!important;box-shadow:none!important}
body.vtr17[data-page="races"] .premium-calendar-actions .vtr-v16-pin-actions>.vtr-copy-direct-v1{color:#075cbe!important;background:#fff!important;border:1px solid #b3d2fc!important}
body.vtr17[data-page="races"] .premium-calendar-actions .vtr-v16-pin-actions>.vtr-join-direct-v1{color:#fff!important;background:#079457!important;border:1px solid #079457!important}
body.vtr17[data-page="races"] .premium-calendar-actions .vtr-inline-access-note-v1{display:block!important;font-size:11px!important;font-weight:700!important;line-height:1.3!important;text-align:center!important;color:#496887!important;overflow-wrap:anywhere!important}
/* Detailed race: image + clean briefing + true personal authorization status */
body.vtr17[data-page="race"] .race-detail-hero{background:#0d273c!important;color:#fff!important}
body.vtr17[data-page="race"] .race-detail-hero>.container{padding-top:28px!important;padding-bottom:29px!important}
body.vtr17[data-page="race"] .js-race-hero{min-height:200px!important;background-position:center!important;background-size:cover!important;border-radius:12px!important;overflow:hidden!important;min-width:0!important}
body.vtr17[data-page="race"] .race-hero-title-v112,body.vtr17[data-page="race"] .race-hero-main-v7 h1{font-size:clamp(31px,3.7vw,55px)!important;line-height:1.05!important;letter-spacing:-.04em!important}
body.vtr17[data-page="race"] .race-detail-hero h1{color:#fff!important}
body.vtr17[data-page="race"] .race-detail-hero :is(p,small){color:#e0ebf8!important}
body.vtr17[data-page="race"] .js-race-detail-rich{min-width:0!important}
body.vtr17[data-page="race"] .vtr-v16-race-timing{display:grid!important;grid-template-columns:minmax(0,2.25fr) minmax(220px,.8fr)!important;align-items:stretch!important;gap:12px!important;margin:0 0 16px!important}
body.vtr17[data-page="race"] .vtr-v16-race-timing>.vtr-v16-important-times{align-self:stretch!important}
body.vtr17[data-page="race"] .vtr-v16-race-timing .vtr-v16-time{padding:16px!important}
body.vtr17[data-page="race"] .vtr-v16-race-timing .vtr-v16-time-body>strong{font-size:clamp(31px,3vw,43px)!important}
body.vtr17[data-page="race"] .vtr-v16-timing-status{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;min-width:0!important;padding:12px 15px!important;border:1px solid #d3e3fa!important;border-radius:10px!important;background:#f4f8ff!important}
body.vtr17[data-page="race"] .vtr-v16-timing-status>strong{font-size:12px!important;line-height:1.3!important;color:#204b77!important}
body.vtr17[data-page="race"] .vtr-v16-timing-status>small{font-size:11px!important;line-height:1.5!important;color:#506c88!important}
body.vtr17[data-page="race"] .vtr-v16-timing-status.ready,body.vtr17[data-page="race"] .vtr-v16-timing-status.registered{background:#eafcf2!important;border-color:#b6eacc!important}
body.vtr17[data-page="race"] .vtr-v16-timing-status.ready>strong,body.vtr17[data-page="race"] .vtr-v16-timing-status.registered>strong{color:#087342!important}
body.vtr17[data-page="race"] .vtr-v16-timing-status.locked{background:#fff5e9!important;border-color:#f0d7ba!important}
body.vtr17[data-page="race"] .vtr-v16-timing-status.locked>strong{color:#895516!important}
body.vtr17[data-page="race"] :is(.race-detail-layout-v7,.race-control-grid-v7){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,340px)!important;gap:18px!important;align-items:start!important}
body.vtr17[data-page="race"] .race-detail-main-v7,body.vtr17[data-page="race"] .vtr-race-main-v131{min-width:0!important}
body.vtr17[data-page="race"] :is(.vtr-race-journey-v131,.race-weekend-v7,.race-info-v7,.race-briefing-v7,.grid-composition-v10,.registrants-panel-v7,.race-gate-v7){border:1px solid var(--v17-line)!important;border-radius:11px!important;box-shadow:0 2px 10px rgba(12,48,95,.035)!important;background:#fff!important;margin-bottom:13px!important}
body.vtr17[data-page="race"] .vtr-race-journey-v131{padding:15px 17px!important}
body.vtr17[data-page="race"] .vtr-race-journey-heading-v131 h2{font-size:24px!important;margin:4px 0!important}
body.vtr17[data-page="race"] .vtr-race-timeline-v131{gap:8px!important}
body.vtr17[data-page="race"] .vtr-race-timeline-v131 li{min-width:0!important;border-radius:9px!important}
body.vtr17[data-page="race"] .race-briefing-v7{overflow:hidden!important}
body.vtr17[data-page="race"] .race-briefing-v7>summary{padding:13px!important}
body.vtr17[data-page="race"] .race-command-v7{position:sticky!important;top:87px!important;background:#0f263a!important;border-radius:12px!important;padding:15px!important;min-width:0!important;box-shadow:var(--v17-shadow)!important}
body.vtr17[data-page="race"] .race-command-v7 :is(.eyebrow,.vtr-side-lead-v131){color:#fff!important}
body.vtr17[data-page="race"] .vtr-command-lobby-v159{margin:9px 0!important}
body.vtr17[data-page="race"] .vtr-command-lobby-v159.vtr-v16-timing-not-authorized{background:#fff7ed!important;border:1px solid #f9dba8!important;border-radius:9px!important;padding:10px!important}
body.vtr17[data-page="race"] .vtr-v16-private-notice{display:flex!important;flex-direction:column!important;gap:4px!important;color:#744e1b!important;font-size:12px!important}
body.vtr17[data-page="race"] .vtr-v16-private-notice small{color:#745d42!important}
body.vtr17[data-page="race"] .race-pin-v117{display:flex!important;flex-direction:column!important;gap:9px!important;border:1px solid #0b9870!important;border-radius:10px!important;background:#064934!important;padding:12px!important;color:#fff!important}
body.vtr17[data-page="race"] .race-pin-v117>strong{font-size:34px!important;letter-spacing:.13em!important;text-align:center!important;font-variant-numeric:tabular-nums!important;color:#fff!important}
body.vtr17[data-page="race"] .race-pin-v117 .js-copy-pin-v117{background:#fff!important;color:#0754a8!important;border:1px solid #fff!important;border-radius:7px!important;min-height:38px!important;cursor:pointer!important;font-weight:800!important}
body.vtr17[data-page="race"] .race-pin-v117 .js-race-join-v120{background:#059557!important;color:#fff!important;border:1px solid #059557!important;border-radius:7px!important;min-height:43px!important;cursor:pointer!important;font-weight:850!important}
body.vtr17[data-page="race"] .race-command-v7 .btn{width:100%!important;min-width:0!important;margin:8px 0!important}
/* The rest of the site — consistent panels, generous typography, rankings, results, safety, paddock. */
body.vtr17 :is(.champ-grid,.driver-grid-v124,.safety-driver-grid-v130,.results-list-v9){gap:16px!important}
body.vtr17 :is(.champ-grid,.driver-grid-v124,.safety-driver-grid-v130)>*{min-width:0!important}
body.vtr17 :is(.ranking-podium-shell,.js-season-v6,.js-account,.js-live-dashboard,.js-championship-detail,.js-result-detail-v9,.js-driver-profile){min-width:0!important}
body.vtr17 :is(.pixel-side-card,.guide-accordion,.vtr-guide-step-v131,.champ-card,.driver-card-v124,.safety-driver-card-v130,.result-card-v9,.ranking-insights-v123,.premium-paddock-card){box-shadow:0 2px 12px rgba(13,42,81,.045)!important;border-color:#d7e5f5!important}
body.vtr17 :is(.premium-side-card,.safety-reputation-grid-v130,.rankings-section-v123,.championships-page,.drivers-section-v124){min-width:0!important}
body.vtr17 :is(input[type="search"],select){max-width:100%!important}
body.vtr17 .site-footer{margin-top:26px!important;background:#fff!important;border-top:1px solid #dce7f5!important;color:#35506b!important}
body.vtr17 .premium-footer-main{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px 25px!important;flex-wrap:wrap!important;min-height:62px!important;padding:14px 0!important}
body.vtr17 .premium-footer-logo{font-size:23px!important;text-decoration:none!important}
body.vtr17 .premium-footer-main nav{display:flex!important;gap:10px 19px!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important}
body.vtr17 .premium-footer-main nav a{font-size:12px!important;white-space:nowrap!important;color:#315272!important}
body.vtr17 .premium-footer-mantra{font-size:9px!important;letter-spacing:.24em!important;color:#7387a0!important}
/* Desktop density corrections */
@media(max-width:1370px){
 body.vtr17 .premium-nav{gap:11px!important}
 body.vtr17 .premium-nav .nav-link{font-size:11px!important}
 body.vtr17 :is(.container,.premium-navbar,.premium-footer-main){width:calc(100% - 46px)!important}
 body.vtr17 .vtr-v16-time{gap:8px!important;padding:10px!important}
 body.vtr17 .vtr-v16-time-body>strong{font-size:26px!important}
 body.vtr17 .vtr-v16-time-body>small{display:none!important}
 body.vtr17 .premium-calendar-settings .vtr-disclosure-copy>small{display:none!important}
 body.vtr17 .premium-calendar-settings .vtr-disclosure-action{font-size:10px!important}
}
@media(max-width:1120px){
 body.vtr17 .premium-nav{display:none!important}
 body.vtr17 .premium-mobile-toggle{display:block!important}
 body.vtr17 .pixel-nav-actions{margin-left:auto!important}
 body.vtr17 .premium-home-grid{grid-template-columns:minmax(0,1fr)!important}
 body.vtr17 .premium-feature-side{display:none!important}
 body.vtr17 .day-races{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.vtr17[data-page="race"] .vtr-v16-race-timing{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:750px){
 body.vtr17 :is(.container,.premium-navbar,.premium-footer-main){width:calc(100% - 30px)!important}
 body.vtr17 .premium-navbar{height:60px!important;min-height:60px!important}
 body.vtr17 .pixel-brand{min-width:104px!important}
 body.vtr17 .pixel-brand strong{font-size:24px!important}
 body.vtr17 .pixel-brand small{font-size:6px!important}
 body.vtr17 .pixel-launcher{padding:8px!important;min-height:34px!important}
 body.vtr17 .pixel-launcher span{display:none!important}
 body.vtr17 .pixel-account{padding:8px!important;min-height:34px!important}
 body.vtr17 .pixel-account span{font-size:0!important}
 body.vtr17 .pixel-account span:after{content:'Compte';font-size:11px!important}
 body.vtr17 .pixel-icon-btn{display:none!important}
 body.vtr17.premium-v015 .premium-hero{min-height:270px!important}
 body.vtr17.premium-v015 .premium-hero::before{background-position:60% center!important}
 body.vtr17.premium-v015 .premium-hero::after{background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.78) 73%,rgba(255,255,255,.15))!important}
 body.vtr17.premium-v015 .premium-hero-content{min-height:270px!important;padding:27px 0!important}
 body.vtr17.premium-v015 .premium-hero h1{font-size:clamp(34px,8vw,48px)!important}
 body.vtr17.premium-v015 .premium-hero p{font-size:13px!important}
 body.vtr17 .premium-hero-values{gap:6px!important}
 body.vtr17 .premium-hero-values>span{padding:0 8px 0 0!important}
 body.vtr17 .premium-hero-values b{font-size:9px!important}
 body.vtr17 .premium-home-races,body.vtr17 .day-races{grid-template-columns:1fr!important;gap:12px!important}
 body.vtr17 .vtr-v16-home-section-top{align-items:flex-start!important}
 body.vtr17 .vtr-v16-home-links{justify-content:flex-start!important}
 body.vtr17 .vtr-v16-important-times.compact .vtr-v16-time-body>strong{font-size:clamp(23px,5vw,33px)!important}
 body.vtr17 .race-toolbar{padding:12px!important}
 body.vtr17 .race-toolbar .filter-label{min-width:100%!important}
 body.vtr17 .filter-search{margin-left:0!important;max-width:100%!important}
 body.vtr17[data-page="race"] :is(.race-detail-layout-v7,.race-control-grid-v7){grid-template-columns:1fr!important}
 body.vtr17[data-page="race"] .race-command-v7{position:static!important}
 body.vtr17 .premium-bottom-grid{grid-template-columns:1fr!important}
 body.vtr17 .premium-footer-main{justify-content:center!important;text-align:center!important}
}
@media(max-width:390px){
 body.vtr17 .vtr-v16-important-times{grid-template-columns:1fr!important}
 body.vtr17 .vtr-v16-important-times.compact .vtr-v16-time-body>small{display:block!important}
 body.vtr17 .vtr-v16-pin-actions{grid-template-columns:1fr!important}
 body.vtr17 .pixel-theme.vtr-v16-help{display:none!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.vtr17 *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
