/* VTRSIM Race Experience v0.13.1 — additive front-end layer, no Race Gate/API changes. */
:root { --vtr-night:#071a2b;--vtr-deep:#0b2b42;--vtr-ice:#e9f6ff;--vtr-action:#167de0;--vtr-mint:#14a467; }
a:focus-visible,button:focus-visible,summary:focus-visible {outline:3px solid #25a2ff;outline-offset:3px}
.vtr-eyebrow-v131{display:block;color:#1175be;font-size:12px;font-weight:950;letter-spacing:.13em;line-height:1.4}
/* HOME • make next race / journey visible, readable and keyboard navigable. */
body[data-page=index] .hero-content .vtr-hero-entry-v131{font-size:14px;line-height:1.5;margin:16px 0 0;color:#e0effa}
.vtr-hero-entry-v131 a{color:#b8eaff;font-weight:850;text-decoration:underline;text-underline-offset:4px}
.home-hero-race-v121 .home-hero-race-cover-v121{min-height:250px;height:auto;padding:21px;gap:42px}
.home-hero-race-v121 .home-hero-race-copy-v121>small{font-size:13px;font-weight:800;color:#d9edfb}
.home-hero-race-v121 .home-hero-race-copy-v121 h3{font-size:clamp(25px,2.3vw,38px);line-height:1.12;margin:9px 0 14px}
.home-hero-race-v121 .home-hero-race-top-v121 span,.home-hero-race-v121 .home-hero-race-top-v121 small{font-size:11px;line-height:1.25}
.home-hero-race-v121 .home-hero-race-foot-v121{grid-template-columns:minmax(70px,.85fr) minmax(95px,1.2fr);gap:12px;padding:18px}
.home-hero-race-v121 .home-hero-race-foot-v121>div span{font-size:11px;letter-spacing:.08em}
.home-hero-race-v121 .home-hero-race-foot-v121>div strong{font-size:15px;line-height:1.3}
.home-hero-race-v121 .home-hero-race-foot-v121>a{grid-column:1/-1;padding:15px 14px;font-size:14px;min-height:48px;display:flex;align-items:center;justify-content:center;background:var(--vtr-action)}
.home-hero-race-v121 .home-hero-race-foot-v121>a:hover,.vtr-featured-foot-v131 a:hover{background:#319bff;transform:translateY(-1px)}
.vtr-journey-section-v131{background:#f7fafc;padding:32px 0 37px;border-top:1px solid #d8e5ed;border-bottom:1px solid #d8e5ed}
.vtr-journey-heading-v131{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:21px}
.vtr-journey-heading-v131 h2{font-size:clamp(25px,2.5vw,36px);line-height:1.14;color:#0b2c44;margin:7px 0 8px}
.vtr-journey-heading-v131 p{font-size:15px;line-height:1.5;color:#4a6274;margin:0}
.vtr-journey-more-v131{font-size:14px;font-weight:900;color:#0977c6;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.vtr-journey-grid-v131{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.vtr-journey-step-v131{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:218px;gap:8px;background:#fff;border:1px solid #d6e4ec;border-radius:16px;padding:22px 20px;box-shadow:0 10px 25px rgba(7,38,60,.05);transition:transform .18s,border-color .18s}
.vtr-journey-step-v131:hover{transform:translateY(-3px);border-color:#1688e8}
.vtr-journey-n-v131{font-size:12px;font-weight:950;letter-spacing:.13em;color:#2783bd}
.vtr-journey-icon-v131{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#e7f5ff;color:#0f77c9;font-size:23px}
.vtr-journey-step-v131 strong{font-size:20px;line-height:1.2;color:#0b2c44}
.vtr-journey-step-v131 p{font-size:14px;line-height:1.45;color:#50697c;margin:0 0 5px}
.vtr-journey-step-v131 small{font-size:12px;font-weight:950;color:#117bc8;margin-top:auto}
body[data-page=index] .home-next-grid-v117 .race-card-v116 .race-thumb{height:154px}
body[data-page=index] .home-next-grid-v117 .race-card-v116 .race-name{font-size:18px}
body[data-page=index] .home-next-grid-v117 .race-action{font-size:13px;min-height:44px}
.vtr-card-class-v131{font-size:12px;font-weight:950;letter-spacing:.09em;color:#087aca;text-transform:uppercase}
/* RACES • featured event with track artwork already shipped in site/assets. */
.vtr-races-top-v131 .page-hero-inner h1{font-size:clamp(34px,4vw,53px)}
.vtr-races-top-v131 .page-hero-inner p{font-size:16px;line-height:1.5}
.vtr-top-guide-link-v131{display:inline-flex;margin-top:15px;border:1px solid rgba(255,255,255,.42);border-radius:10px;padding:11px 14px;color:#e7f6ff;font-size:14px;font-weight:900;background:rgba(6,32,51,.45)}
.vtr-top-guide-link-v131:hover{background:rgba(20,120,190,.55)}
.vtr-featured-race-v131{display:grid;grid-template-columns:minmax(240px,42%) minmax(0,58%);border-radius:21px;overflow:hidden;background:var(--vtr-night);color:#fff;box-shadow:0 23px 48px rgba(6,36,56,.19);margin-bottom:18px;min-height:316px}
.vtr-featured-art-v131{background-size:cover;background-position:center;min-height:330px;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:24px;min-width:0}
.vtr-featured-topline-v131{font-size:12px;font-weight:950;letter-spacing:.09em;line-height:1.4;max-width:100%}
.vtr-featured-art-track-v131{font-size:clamp(27px,3.5vw,50px);line-height:1.06;font-weight:950;letter-spacing:-.035em;overflow-wrap:anywhere;max-width:520px;text-shadow:0 3px 25px #061928}
.vtr-featured-info-v131{padding:26px 27px;display:flex;flex-direction:column;min-width:0}
.vtr-featured-info-v131 .vtr-eyebrow-v131{color:#79cbfa}
.vtr-featured-info-v131 h2{font-size:clamp(25px,2.4vw,35px);line-height:1.1;margin:5px 0 8px;color:#fff}
.vtr-featured-info-v131>p{font-size:15px;line-height:1.5;color:#bbd2e4;margin:0 0 20px}
.vtr-featured-facts-v131{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:auto}
.vtr-featured-facts-v131>div{padding:12px 13px;border:1px solid #2a4c62;background:#123048;border-radius:12px;min-width:0}
.vtr-featured-facts-v131 small{font-size:11px;letter-spacing:.07em;font-weight:900;color:#a2bed0;display:block}
.vtr-featured-facts-v131 strong{display:block;font-size:24px;line-height:1.2;margin:7px 0 3px;color:#fff}
.vtr-featured-facts-v131 span{font-size:12px;color:#b5cad8;overflow-wrap:anywhere}
.vtr-featured-foot-v131{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px}
.vtr-featured-foot-v131>span{color:#ffcd89;font-size:13px;line-height:1.45;font-weight:800}
.vtr-featured-foot-v131>span.ready{color:#89e6b9}
.vtr-featured-foot-v131 a{display:flex;justify-content:center;align-items:center;flex:0 1 auto;min-width:180px;background:var(--vtr-action);padding:14px 17px;border-radius:10px;font-size:14px;font-weight:950;line-height:1.35;color:#fff;text-align:center}
.vtr-featured-loading-v131,.vtr-featured-empty-v131{padding:38px;grid-column:1/-1;display:flex;gap:12px;flex-direction:column;justify-content:center;min-height:140px;font-size:17px}
.vtr-featured-empty-v131 a{font-size:14px;color:#8cdbff;font-weight:850}
.vtr-races-explainer-v131{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#eff7fd;border:1px solid #d2e7f5;padding:14px 17px;border-radius:14px;margin-bottom:17px}
.vtr-races-explainer-v131>span{font-size:14px;color:#163e59;padding:4px 10px 4px 0}
.vtr-races-explainer-v131 a{margin-left:auto;font-size:14px;color:#087aca;font-weight:900;text-decoration:underline;text-underline-offset:3px}
body[data-page=races] .race-toolbar-v6{position:relative;top:auto}
body[data-page=races] .race-toolbar .toolbar-top h2{font-size:26px}
body[data-page=races] .race-toolbar .toolbar-top p{font-size:14px}
body[data-page=races] .filter-label{font-size:12px;width:74px}
body[data-page=races] .date-chip,body[data-page=races] .kind-chip,body[data-page=races] .filter-select,body[data-page=races] .filter-search{font-size:13px;min-height:39px}
body[data-page=races] .race-row-v10{min-height:155px;border-radius:16px}
body[data-page=races] .race-row-v10 .race-info-v10{gap:1px}
body[data-page=races] .race-row-v10 .race-info-v10 h4{font-size:23px;line-height:1.2;margin:4px 0 6px}
body[data-page=races] .row-meta{font-size:13px;line-height:1.45}
.vtr-row-class-v131{text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:#0d76b8;font-weight:950;margin-top:6px}
.vtr-settings-toggle-v131{margin-top:11px}
.vtr-settings-toggle-v131>summary{cursor:pointer;color:#36637c;font-size:13px;font-weight:850;display:flex;align-items:center;gap:8px;list-style:none;width:fit-content}
.vtr-settings-toggle-v131>summary::-webkit-details-marker{display:none}
.vtr-settings-toggle-v131>summary>span{font-size:12px;color:#0a79c1;font-weight:800}
.vtr-settings-toggle-v131[open]>summary{color:#0979c2}
.vtr-settings-toggle-v131 .race-config-chips-v10{margin-top:13px;margin-bottom:7px}
.vtr-settings-toggle-v131 .pc2-chip-v10{font-size:12px;padding:7px 10px;white-space:normal}
body[data-page=races] .race-operational-v10{font-size:12px;line-height:1.4}
body[data-page=races] .race-cta-v116{gap:10px}
body[data-page=races] .race-cta-v116 .race-start-v116 span{font-size:11px}
body[data-page=races] .race-cta-v116 .race-start-v116 strong{font-size:28px}
body[data-page=races] .race-cta-v116 .race-start-v116 small{font-size:12px}
body[data-page=races] .race-cta-v116 .race-detail-btn-v116{font-size:13px;min-height:45px;text-align:center}
.vtr-row-entry-v131{font-size:12px;font-weight:850;color:#47677b;line-height:1.4;max-width:190px;overflow-wrap:anywhere}
body[data-page=races] .race-row-v10.is-registered .vtr-row-entry-v131{color:#0d8958}
/* DETAIL • top rider progression and obvious primary join/register CTA. */
.vtr-race-journey-v131{background:#fff;border:1px solid #d4e5ef;border-radius:18px;padding:22px 25px;margin:0 0 18px;box-shadow:0 12px 28px rgba(20,61,87,.07)}
.vtr-race-journey-heading-v131{display:flex;justify-content:space-between;align-items:center;gap:22px}
.vtr-race-journey-heading-v131 h2{font-size:clamp(23px,2.5vw,30px);line-height:1.18;margin:6px 0;color:#0b2c44}
.vtr-race-journey-heading-v131 p{font-size:15px;line-height:1.5;color:#48667b;margin:0}
.vtr-race-journey-heading-v131>a{min-width:190px;max-width:280px;border-radius:11px;background:#147cce;color:#fff;padding:14px 17px;text-align:center;font-weight:950;font-size:13px;line-height:1.4}
.vtr-race-timeline-v131{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;list-style:none;margin:19px 0 0;padding:0}
.vtr-race-timeline-v131 li{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid #dce5eb;border-radius:10px;padding:10px 12px;background:#f5f8fa;font-size:13px;font-weight:850;color:#556d7d;line-height:1.3}
.vtr-race-timeline-v131 li b{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;background:#dde6ee;color:#45687f;border-radius:50%;font-size:12px}
.vtr-race-timeline-v131 li.done{border-color:#bae4d2;background:#ebfaf3;color:#137950}
.vtr-race-timeline-v131 li.done b{background:#14a467;color:#fff}
.vtr-race-timeline-v131 li.active{border-color:#78bae9;background:#eaf6ff;color:#0766aa}
.vtr-race-timeline-v131 li.active b{background:#137fcf;color:#fff}
.vtr-side-lead-v131{font-size:18px;line-height:1.2;color:#e6f7ff;font-weight:950;margin:12px 0 8px}
.vtr-race-command-v131{align-self:start;position:sticky;top:98px;scroll-margin-top:100px}
.vtr-race-command-v131 .vtr-primary-register-v131{background:#147fe0;font-size:15px;line-height:1.35;min-height:56px;padding:13px}
.vtr-race-command-v131 .race-pin-v117 .js-race-join-v120{min-height:56px;font-size:15px}
.vtr-race-command-v131 .race-pin-v117 .js-copy-pin-v117{min-height:43px;font-size:13px}
.vtr-race-command-v131 .vtr-unregister-v131{font-size:13px;min-height:41px;opacity:.84}
.vtr-side-confirm-v131{display:block;background:#164b3d;color:#a3f8d2;border-radius:9px;padding:12px;margin-top:13px;font-weight:900;font-size:14px;text-align:center}
.vtr-race-guide-link-v131{display:block;margin:13px 0 4px;color:#94d5ff;font-size:14px;text-align:center;font-weight:850;text-decoration:underline;text-underline-offset:4px}
.vtr-briefing-details-v131{display:block}
.vtr-briefing-details-v131>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none;padding:15px 14px;border-radius:10px;background:#f0f7fc;border:1px solid #d1e4f1}
.vtr-briefing-details-v131>summary::-webkit-details-marker{display:none}
.vtr-briefing-details-v131>summary strong{display:block;color:#0d3852;font-size:19px;margin:5px 0}
.vtr-briefing-details-v131>summary small{display:block;font-size:13px;color:#546d7d;line-height:1.4}
.vtr-briefing-details-v131>summary>b{font-size:12px;color:#0b77c1;white-space:nowrap}
.vtr-briefing-details-v131 .pc2-settings-grid-v10{margin-top:16px}
#race-info,#race-grid,#race-rules{scroll-margin-top:110px}
/* New full first-race guide. */
.vtr-guide-hero-v131{background:radial-gradient(ellipse at 72% 20%,#194e74 0%,transparent 46%),linear-gradient(115deg,rgba(4,19,33,.98),rgba(4,30,52,.96)),url('../assets/hero.jpg') center/cover;color:#fff;padding:68px 0 76px;border-bottom:5px solid #1786e0}
.vtr-guide-hero-v131 .vtr-eyebrow-v131{color:#8ed9ff}
.vtr-guide-hero-v131 h1{font-size:clamp(43px,6.5vw,77px);line-height:1.06;margin:15px 0 20px;max-width:820px;letter-spacing:-.04em}
.vtr-guide-hero-v131 h1 em{color:#83d9ff;font-style:normal}
.vtr-guide-hero-v131 p{font-size:clamp(16px,2vw,19px);line-height:1.55;max-width:710px;color:#d2e8f7}
.vtr-guide-actions-v131{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}
.vtr-guide-actions-v131 .btn{font-size:14px;min-height:49px}
.vtr-guide-steps-v131{padding-top:35px;padding-bottom:18px;display:grid;gap:15px}
.vtr-guide-step-v131{display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:start;gap:18px;padding:27px 29px;border:1px solid #d6e3eb;border-radius:18px;background:#fff;box-shadow:0 11px 25px rgba(11,47,72,.05);scroll-margin-top:100px}
.vtr-guide-step-no-v131{color:#1e7eba;font-size:55px;line-height:1;font-weight:950;letter-spacing:-.06em}
.vtr-guide-step-v131>div:nth-child(2)>span{color:#1078bb;font-size:12px;letter-spacing:.12em;font-weight:950}
.vtr-guide-step-v131 h2{font-size:26px;color:#0b304a;margin:7px 0 11px}
.vtr-guide-step-v131 p{max-width:780px;color:#506c7f;line-height:1.6;font-size:16px;margin:0 0 13px}
.vtr-guide-step-v131 a{font-size:15px;color:#0d78c5;font-weight:900;text-decoration:underline;text-underline-offset:4px}
.vtr-guide-step-tag-v131{font-size:12px;font-weight:950;letter-spacing:.09em;color:#1474af;background:#e7f5ff;border-radius:9px;padding:9px 12px;white-space:nowrap}
.vtr-guide-faq-v131{padding-top:28px;padding-bottom:72px}
.vtr-guide-faq-title-v131 h2{font-size:clamp(26px,4vw,39px);margin:8px 0 20px;color:#0b304a}
.vtr-guide-faq-list-v131{display:grid;gap:10px}
.vtr-guide-faq-list-v131 details{background:#fff;border:1px solid #d8e5ed;border-radius:13px;padding:17px 19px}
.vtr-guide-faq-list-v131 summary{cursor:pointer;font-size:17px;font-weight:900;color:#123950;line-height:1.4}
.vtr-guide-faq-list-v131 details p{font-size:15px;line-height:1.6;color:#466176;margin:12px 0 0}
.vtr-guide-faq-list-v131 details a{color:#127bc6;text-decoration:underline}
.vtr-guide-end-v131{margin-top:24px;border-radius:16px;background:#081f33;color:#fff;padding:24px;display:flex;align-items:center;gap:20px;justify-content:space-between}
.vtr-guide-end-v131 strong{font-size:22px}
.vtr-guide-end-v131 .btn{font-size:14px}
/* Mobile/tablet: prevent horizontal scrollbars and tiny labels. */
@media(max-width:1080px){
 .vtr-journey-grid-v131{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vtr-featured-race-v131{grid-template-columns:minmax(240px,41%) minmax(0,59%)}
 .vtr-featured-facts-v131{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vtr-featured-facts-v131>div:last-child{grid-column:1/-1}
 .vtr-featured-foot-v131{align-items:stretch;flex-direction:column}
 .vtr-featured-foot-v131 a{width:100%}
 .vtr-race-timeline-v131{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vtr-race-command-v131{position:static}
}
@media(max-width:800px){
 .vtr-featured-race-v131{grid-template-columns:1fr}
 .vtr-featured-art-v131{min-height:230px}
 .vtr-featured-info-v131{padding:23px}
 .vtr-featured-facts-v131{grid-template-columns:repeat(3,minmax(0,1fr))}
 .vtr-featured-facts-v131>div:last-child{grid-column:auto}
 .vtr-race-journey-heading-v131{flex-direction:column;align-items:stretch}
 .vtr-race-journey-heading-v131>a{max-width:none}
 .vtr-guide-step-v131{grid-template-columns:65px minmax(0,1fr)}
 .vtr-guide-step-tag-v131{grid-column:2;justify-self:start}
}
@media(max-width:600px){
 .vtr-journey-section-v131{padding:24px 0}
 .vtr-journey-heading-v131{flex-direction:column;align-items:flex-start;gap:12px}
 .vtr-journey-grid-v131{grid-template-columns:1fr}
 .vtr-journey-step-v131{min-height:0;padding:17px 18px}
 .home-hero-race-v121 .home-hero-race-copy-v121 h3{font-size:30px}
 .vtr-featured-art-v131{min-height:210px}
 .vtr-featured-art-track-v131{font-size:31px}
 .vtr-featured-info-v131{padding:20px}
 .vtr-featured-facts-v131{grid-template-columns:1fr 1fr}
 .vtr-featured-facts-v131>div:last-child{grid-column:1/-1}
 .vtr-races-explainer-v131{flex-direction:column;align-items:stretch}
 .vtr-races-explainer-v131 a{margin-left:0}
 .vtr-race-journey-v131{padding:17px}
 .vtr-race-timeline-v131{grid-template-columns:1fr 1fr;gap:6px}
 .vtr-race-timeline-v131 li{font-size:12px;padding:8px 7px;gap:6px}
 .vtr-race-timeline-v131 li b{width:24px;height:24px;flex-basis:24px}
 .vtr-guide-hero-v131{padding:48px 0}
 .vtr-guide-step-v131{padding:20px 17px;gap:10px;grid-template-columns:42px minmax(0,1fr)}
 .vtr-guide-step-no-v131{font-size:30px}
 .vtr-guide-step-v131 h2{font-size:22px}
 .vtr-guide-step-v131 p{font-size:15px}
 .vtr-guide-end-v131{flex-direction:column;align-items:stretch}
}
/* Readability refinements across the actual existing site, rather than redesigning backend widgets. */
body[data-page=index] .hero .kicker{font-size:12px;line-height:1.4}
body[data-page=index] .hero p{font-size:16px;line-height:1.55}
body[data-page=index] .home-paddock-head-v121>div span{font-size:12px}
body[data-page=index] .home-paddock-head-v121>p{font-size:14px}
body[data-page=index] .home-program-head-v117>span{font-size:12px}
body[data-page=index] .ranking th{font-size:11px}
body[data-page=index] .ranking td{font-size:13px}
body[data-page=index] .home-ranking-name-v130,body[data-page=index] .home-ranking-name-v130>a{font-size:13px}
body[data-page=index] .home-ranking-row-v130 td>small{font-size:10px!important}
body[data-page=index] .home-latest-result-body-v121>a{font-size:13px}
body[data-page=races] .race-registration-legend-v10{font-size:13px;line-height:1.45}
body[data-page=races] .race-cta-v116 .vtr-inline-access-note-v1{font-size:13px;line-height:1.5}
body[data-page=races] .race-cta-v116 .vtr-inline-pin-v1>span{font-size:12px}
body[data-page=races] .race-cta-v116 .vtr-inline-pin-v1>button{font-size:13px}
body[data-page=race] .race-pin-v117 .race-join-help-v120{font-size:13px;line-height:1.5}
#vtr-launcher{scroll-margin-top:105px}
