/* MotorLaps site navigation — matches classic PHP header (includes/header.php) */
:root{--primary-orange:#ee8027;--primary-red:#E63946;--dark-gray:#454845;--light-gray:#666666;--background-white:#FFFFFF;--background-light:#F5F5F5;--text-black:#1a1a1a;--text-gray:#666666;--border-light:#e0e0e0;--font-body:'Inter',system-ui,sans-serif;--ease-out:cubic-bezier(0.16, 1, 0.3, 1)}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:140px}
.nav-wrapper,body{background:var(--background-white)}
body{font-family:var(--font-body);color:var(--text-black);line-height:1.6;overflow-x:hidden}
.nav-wrapper{position:fixed;top:0;left:0;right:0;z-index:1000;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.nav{padding:1.5rem 3rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border-light)}
.nav__logo-svg{height:35px;width:auto}
.nav__links{display:flex;gap:3rem;list-style:none;align-items:center}
.nav__link{font-family:var(--font-body);font-weight:500;font-size:.95rem;color:var(--text-gray);text-decoration:none;transition:color .3s var(--ease-out)}
.nav__link:hover,.nav__link--active{color:#ee8027}
.nav__mp{font-weight:700;font-size:.95rem;color:var(--text-black);white-space:nowrap}
.nav__mp::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#ee8027;margin-right:.4rem;vertical-align:middle}
.nav__social-links{display:flex;gap:1rem;align-items:center;list-style:none}
.nav__social-link{display:flex;align-items:center;color:var(--text-gray);text-decoration:none;transition:all .3s var(--ease-out);padding:.5rem;border-radius:4px}
.nav__social-link:hover{color:#ee8027;background:var(--background-light)}
.nav__social-icon{width:20px;height:20px;fill:currentColor;margin-right:.5rem}
.nav__social-link--discord:hover{color:#5865f2}
.nav__social-link--patreon:hover{color:#ff424d}
.nav__auth-link{font-family:var(--font-body);font-weight:600;font-size:.95rem;color:var(--text-gray);text-decoration:none;padding:.5rem .75rem;border-radius:4px;transition:all .3s var(--ease-out);white-space:nowrap}
.nav__auth-link:hover{color:#ee8027;background:var(--background-light)}
.nav__auth-link--primary{color:#fff;background:#ee8027}
.nav__auth-link--primary:hover{color:#fff;background:#d6711f}
.nav-secondary{background:#333;padding:.75rem 3rem;display:flex;align-items:center;gap:2rem}
.nav-secondary__label{font-family:var(--font-body);font-size:.85rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#ee8027;white-space:nowrap}
.nav-secondary__links{display:flex;gap:2rem;list-style:none;flex-wrap:wrap}
.nav-secondary__link{font-family:var(--font-body);font-weight:600;font-size:.9rem;color:#fff;text-decoration:none;transition:color .3s var(--ease-out);white-space:nowrap}
.nav-secondary__link:hover{color:#ee8027}
.nav-secondary__divider{color:#666;user-select:none}
.hub-main{margin-top:140px;padding:2rem 3rem;max-width:1200px;margin-left:auto;margin-right:auto}
.hub-main table{width:100%;border-collapse:collapse;margin:1rem 0}
.hub-main th,.hub-main td{border:1px solid var(--border-light);padding:.5rem;text-align:left}
.hub-main form:not(.auth-form) label{display:block;margin-top:.75rem}
.hub-main form:not(.auth-form) input,.hub-main form:not(.auth-form) select,.hub-main form:not(.auth-form) textarea,.hub-main form:not(.auth-form) button{margin-top:.25rem;padding:.5rem}
.launcher-hub-banner{background:linear-gradient(90deg,rgba(238,128,39,.12),rgba(1,165,92,.1));border:1px solid var(--border-light);border-radius:8px;padding:1rem 1.25rem;margin-bottom:1.5rem;font-size:.95rem}
.launcher-hub-banner a{margin-left:.35rem;font-weight:600;color:#ee8027;text-decoration:none}
.launcher-hub-banner a:hover{text-decoration:underline}
.auth-page{display:flex;justify-content:center;align-items:flex-start;width:100%;padding:1.5rem 1.25rem 3rem}
.auth-card{width:100%;max-width:420px;margin:0 auto;background:var(--background-white);border:1px solid var(--border-light);box-shadow:0 4px 24px rgba(0,0,0,.06);padding:2rem 2.25rem}
.auth-card h1{font-size:1.5rem;font-weight:700;margin-bottom:.35rem;color:var(--text-black);letter-spacing:-.01em}
.auth-lead{color:var(--text-gray);font-size:.95rem;margin-bottom:1.75rem;line-height:1.55}
.auth-status{margin-bottom:1.25rem;padding:.75rem 1rem;font-size:.9rem;font-weight:500;color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}
.auth-form .form-group{margin-bottom:1.25rem}
.auth-form .form-group>label{display:block;font-weight:600;font-size:.875rem;color:var(--text-black);margin-bottom:.4rem}
.auth-form input[type=text],.auth-form input[type=email],.auth-form input[type=password]{display:block;width:100%;min-height:2.75rem;padding:.7rem .85rem;font-family:var(--font-body);font-size:1rem;border:1px solid var(--border-light);border-radius:0;background:var(--background-white);color:var(--text-black);transition:border-color .2s var(--ease-out),box-shadow .2s var(--ease-out)}
.auth-form input[type=text]:focus,.auth-form input[type=email]:focus,.auth-form input[type=password]:focus{outline:none;border-color:var(--primary-orange);box-shadow:0 0 0 3px rgba(238,128,39,.15)}
.auth-form .pw-field{position:relative;display:block;width:100%}
.auth-form .pw-field>input{width:100%;padding-right:2.75rem}
.auth-form .pw-toggle{position:absolute;right:.55rem;top:50%;transform:translateY(-50%);background:none;border:0;padding:.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#777;line-height:0}
.auth-form .pw-toggle:hover,.auth-form .pw-toggle:focus-visible{color:var(--primary-orange);outline:none}
.auth-form .form-check{display:flex;align-items:center;gap:.55rem;margin:1.15rem 0}
.auth-form .form-check input[type=checkbox]{width:1.05rem;height:1.05rem;margin:0;flex-shrink:0;accent-color:var(--primary-orange)}
.auth-form .form-check label{margin:0;font-weight:500;font-size:.9rem;color:var(--text-gray);cursor:pointer}
.auth-form .auth-btn{display:block;width:100%;padding:.8rem 1.25rem;font-family:var(--font-body);font-weight:600;font-size:1rem;color:#fff;background:var(--primary-orange);border:1px solid var(--primary-orange);border-radius:0;cursor:pointer;transition:background .2s var(--ease-out),border-color .2s var(--ease-out),transform .1s var(--ease-out),opacity .2s var(--ease-out);margin-top:1.5rem}
.auth-form .auth-btn:hover:not(:disabled):not(.is-loading){background:#d6711f;border-color:#d6711f}
.auth-form .auth-btn:active:not(:disabled):not(.is-loading){background:#c26419;border-color:#c26419;transform:translateY(1px)}
.auth-form .auth-btn:focus-visible{outline:2px solid var(--primary-orange);outline-offset:2px}
.auth-form .auth-btn:disabled,.auth-form .auth-btn.is-loading{opacity:.72;cursor:wait}
.auth-form .auth-btn.is-loading{background:#d6711f;border-color:#d6711f}
.auth-links{margin-top:1.5rem;text-align:center;font-size:.9rem;color:var(--text-gray)}
.auth-links a,.auth-links a:visited{color:var(--primary-orange);text-decoration:none;font-weight:600}
.auth-links a:hover{text-decoration:underline}
.auth-form .auth-fieldset{margin:1.35rem 0 0;padding:1rem 1.15rem;border:1px solid var(--border-light);background:var(--background-light)}
.auth-form .auth-fieldset legend{font-weight:600;font-size:.875rem;padding:0 .35rem;color:var(--text-black);line-height:1.4}
.auth-form .auth-fieldset .radio-options{display:flex;flex-direction:column;gap:.55rem;margin-top:.5rem}
.auth-form .auth-fieldset .radio-option{position:relative;margin:0}
.hub-main .auth-form .auth-fieldset .radio-option input[type=radio]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;appearance:none!important;-webkit-appearance:none!important;top:0;left:0}
.hub-main .auth-form .auth-fieldset .radio-option label{display:flex!important;position:relative;align-items:center;gap:.65rem;width:100%;margin:0!important;margin-top:0!important;padding:.75rem .85rem;border:1px solid var(--border-light);background:var(--background-white);font-weight:500;font-size:.9rem;color:var(--text-black);line-height:1.35;cursor:pointer;transition:border-color .2s var(--ease-out),background .2s var(--ease-out),box-shadow .2s var(--ease-out)}
.auth-form .auth-fieldset .radio-option label:hover{border-color:rgba(238,128,39,.5);background:rgba(238,128,39,.04)}
.auth-form .auth-fieldset .radio-option label:focus-within{outline:2px solid var(--primary-orange);outline-offset:2px}
.auth-form .auth-fieldset .radio-option label:has(input:checked){border-color:var(--primary-orange);background:rgba(238,128,39,.1);box-shadow:inset 0 0 0 1px var(--primary-orange)}
.auth-form .auth-fieldset .radio-option__icon{flex-shrink:0;font-size:1.2rem;line-height:1}
.auth-form .auth-fieldset .radio-option__text{flex:1;min-width:0}
.auth-form .auth-fieldset .radio-option__check{flex-shrink:0;width:1.15rem;height:1.15rem;border:1px solid var(--border-light);background:var(--background-white);opacity:0;transition:opacity .2s var(--ease-out),background .2s var(--ease-out),border-color .2s var(--ease-out)}
.auth-form .auth-fieldset .radio-option label:has(input:checked) .radio-option__check{opacity:1;border-color:var(--primary-orange);background:var(--primary-orange);position:relative}
.auth-form .auth-fieldset .radio-option label:has(input:checked) .radio-option__check::after{content:'';position:absolute;left:50%;top:45%;width:.3rem;height:.55rem;margin-left:-.2rem;margin-top:-.35rem;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.hub-main>.auth-errors{list-style:none;max-width:420px;margin:0 auto 1rem;padding:.75rem 1rem;font-size:.9rem;color:#991b1b;background:#fef2f2;border:1px solid #fecaca}
@media (max-width:520px){.auth-page{padding:1rem 1rem 2.5rem}.auth-card{padding:1.5rem 1.25rem}}
.profile-edit-layout{display:flex;flex-direction:row;flex-wrap:nowrap;gap:1.5rem;align-items:flex-start;width:100%;box-sizing:border-box}
.profile-edit-main{flex:1 1 66%;min-width:0;max-width:66%;box-sizing:border-box}
.profile-edit-sidebar{flex:0 0 34%;min-width:0;max-width:34%;box-sizing:border-box}
.profile-edit-form{max-width:42rem}
.profile-edit-errors{color:#991b1b;list-style:none;margin:1rem 0;padding:.75rem 1rem;font-size:.9rem;background:#fef2f2;border:1px solid #fecaca}
.mp-explainer-card{background:var(--background-white);border:1px solid var(--border-light);box-shadow:0 4px 24px rgba(0,0,0,.06);padding:1.25rem 1.5rem}
.mp-explainer-balance{display:flex;flex-direction:column;gap:.2rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border-light)}
.mp-explainer-balance__label{font-size:.8rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-gray)}
.mp-explainer-balance__value{font-size:1.5rem;font-weight:700;color:var(--text-black);line-height:1.2}
.mp-explainer-balance__value::before{content:'';display:inline-block;width:8px;height:8px;background:var(--primary-orange);margin-right:.45rem;vertical-align:middle}
.mp-explainer-title{font-size:1.15rem;font-weight:700;margin-bottom:.35rem;color:var(--text-black);letter-spacing:-.01em}
.mp-explainer-lead{color:var(--text-gray);font-size:.9rem;margin-bottom:.85rem;line-height:1.5}
.mp-explainer-note{margin-bottom:1rem;padding:.65rem .85rem;font-size:.85rem;line-height:1.45;color:var(--text-black);background:rgba(238,128,39,.08);border:1px solid rgba(238,128,39,.35)}
.mp-explainer-table{width:100%;border-collapse:collapse;margin:0;font-size:.875rem}
.mp-explainer-table th,.mp-explainer-table td{border:1px solid var(--border-light);padding:.55rem .65rem;text-align:left;vertical-align:top}
.mp-explainer-table thead th{font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-gray);background:var(--background-light)}
.mp-explainer-table__section th{background:rgba(238,128,39,.1);color:var(--text-black);font-size:.8rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;border-top:2px solid var(--primary-orange)}
.mp-explainer-table__delta{font-weight:700;white-space:nowrap;text-align:right}
.mp-explainer-table__delta--gain{color:#166534}
.mp-explainer-table__delta--loss{color:#991b1b}
@media (max-width:800px){.profile-edit-layout{flex-direction:column;flex-wrap:wrap}.profile-edit-main,.profile-edit-sidebar{flex:0 0 100%;max-width:100%;width:100%}}
.hub-events-layout{display:flex;flex-direction:row;flex-wrap:nowrap;gap:1.5rem;align-items:flex-start;width:100%;box-sizing:border-box;margin-top:1.5rem}
.hub-events-main{flex:1 1 66%;min-width:0;max-width:66%;box-sizing:border-box}
.hub-events-sidebar{flex:0 0 34%;min-width:0;max-width:34%;box-sizing:border-box}
.hub-series-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));gap:1rem;margin:1rem 0 2rem}
.hub-series-card{display:block;text-decoration:none;color:inherit;border:1px solid var(--border-light);background:var(--background-white);box-shadow:0 4px 24px rgba(0,0,0,.06);transition:border-color .2s var(--ease-out),box-shadow .2s var(--ease-out)}
.hub-series-card:hover{border-color:rgba(37,99,235,.45);box-shadow:0 6px 28px rgba(37,99,235,.12)}
.hub-series-card__media{position:relative;aspect-ratio:1/1;overflow:hidden;background:#1e3a8a}
.hub-series-card__thumb{width:100%;height:100%;object-fit:cover;display:block}
.hub-series-card__placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#1d4ed8,#1e3a8a)}
.hub-series-card__marker{width:10px;height:10px;background:#60a5fa;flex-shrink:0}
.hub-series-card__overlay{position:absolute;left:0;right:0;bottom:0;padding:.65rem .75rem;background:linear-gradient(180deg,transparent,rgba(0,0,0,.72));color:#fff}
.hub-series-card__name{display:block;font-size:.95rem;font-weight:700;line-height:1.25}
.hub-series-card__meta{display:block;margin-top:.15rem;font-size:.78rem;font-weight:600;letter-spacing:.02em;opacity:.9}
.hub-series-empty{grid-column:1/-1;margin:0;color:var(--text-gray)}
.series-standings-header{margin-bottom:1.5rem}
.series-standings-header__nav{margin:.35rem 0 1rem;color:var(--text-gray);font-size:.95rem}
.series-standings-intro{max-width:52rem;margin:1rem 0 0;font-size:.95rem;line-height:1.55;color:var(--text-gray)}
.series-banner{display:block;width:100%;max-width:52rem;border:1px solid var(--border-light);background:var(--background-white);box-shadow:0 4px 24px rgba(0,0,0,.06);text-decoration:none;overflow:hidden;transition:border-color .2s var(--ease-out),box-shadow .2s var(--ease-out)}
.series-banner:hover{border-color:rgba(238,128,39,.55);box-shadow:0 6px 28px rgba(238,128,39,.12)}
.series-banner__image{display:block;width:100%;aspect-ratio:4/1;object-fit:cover}
.series-banner__placeholder{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/1;background:linear-gradient(145deg,#1d4ed8,#1e3a8a)}
.series-banner__marker{width:12px;height:12px;background:#60a5fa;flex-shrink:0}
.series-description{max-width:52rem;margin:1rem 0 0;padding:1rem 1.15rem;font-size:.95rem;line-height:1.6;color:var(--text-black);background:var(--background-light);border:1px solid var(--border-light)}
.series-description a{color:#ee8027;font-weight:600;text-decoration:none}
.series-description a:hover{text-decoration:underline}
.series-event-information-heading{margin:1.25rem 0 .5rem}
.series-event-information-empty{max-width:52rem;margin:.5rem 0 0;font-size:.9rem;line-height:1.5;color:var(--text-gray);font-style:italic}
.series-standings-heading{margin:1.5rem 0 .75rem;font-size:1.35rem;font-weight:700;color:var(--text-black)}
.series-standings-note{max-width:52rem;color:var(--text-gray);font-size:.95rem;line-height:1.55}
.series-standings-table{width:100%;max-width:52rem;border-collapse:collapse;margin-top:1rem}
.series-standings-table th,.series-standings-table td{border:1px solid var(--border-light);padding:.5rem;text-align:left}
.series-standings-table thead th{font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-gray);background:var(--background-light);border-bottom:2px solid var(--border-light)}
.series-index-list{list-style:none;margin:1.25rem 0 0;padding:0;display:flex;flex-direction:column;gap:1.25rem}
.series-index-row{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;border:1px solid var(--border-light);background:var(--background-white);box-shadow:0 4px 24px rgba(0,0,0,.06);max-height:10.5rem;overflow:hidden}
.series-index-thumb{flex:0 0 10.5rem;max-width:10.5rem;width:10.5rem;display:block;text-decoration:none;color:inherit;overflow:hidden}
.series-index-thumb .hub-series-card__media{aspect-ratio:1/1;height:100%;max-height:10.5rem}
.series-index-body{flex:1 1 auto;max-width:none;padding:.7rem 1rem;display:flex;flex-direction:column;gap:.35rem;box-sizing:border-box;min-width:0;justify-content:flex-start}
.series-index-body__title{margin:0;font-size:1.05rem;font-weight:700;line-height:1.25}
.series-index-body__title a{color:var(--text-black);text-decoration:none}
.series-index-body__title a:hover{color:#ee8027}
.series-index-body__desc{margin:0;font-size:.88rem;line-height:1.45;color:var(--text-gray);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.series-index-body__links{margin:0;font-size:.9rem;display:flex;flex-wrap:wrap;gap:.35rem 1rem}
.series-index-body__links a{font-weight:600;color:#ee8027;text-decoration:none;white-space:nowrap}
.series-index-body__links a:hover{text-decoration:underline}
.series-index-cta-wrap{margin-top:auto;padding-top:0;display:flex;flex-direction:column;align-items:flex-end;align-self:stretch}
.series-index-cta{display:inline-block;padding:.45rem .9rem;font-weight:700;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;color:#fff;background:var(--primary-orange);border:1px solid var(--primary-orange);transition:background .2s var(--ease-out),border-color .2s var(--ease-out)}
.series-index-cta:hover{background:#d9731f;border-color:#d9731f;color:#fff}
.series-index-cta--disabled{display:inline-block;padding:.45rem .9rem;font-weight:700;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;color:#666;background:#e0e0e0;border:1px solid #ccc;cursor:not-allowed}
.series-index-cta--registered{display:inline-block;padding:.45rem .9rem;font-weight:700;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;color:#166534;background:rgba(22,101,52,.12);border:1px solid rgba(22,101,52,.35)}
.series-index-cta-note{margin:.25rem 0 0;font-size:.8rem;line-height:1.35;color:var(--text-gray);text-align:right;max-width:100%}
.series-index-cta-note a{font-weight:600;color:#ee8027;text-decoration:none}
.series-index-cta-note a:hover{text-decoration:underline}
.races-index-join-form{display:inline;margin:0}
button.series-index-cta{cursor:pointer;font-family:inherit}
.races-index-heading{margin-top:1.25rem;margin-bottom:0;font-size:1.1rem;font-weight:700;color:var(--text-black)}
.races-index-list{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-direction:column;gap:1.25rem}
.races-index-row{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;border:1px solid var(--border-light);background:var(--background-white);box-shadow:0 4px 24px rgba(0,0,0,.06);max-height:10.5rem;overflow:hidden}
.races-index-thumb{flex:0 0 10.5rem;max-width:10.5rem;width:10.5rem;display:block;text-decoration:none;color:inherit;overflow:hidden}
.races-index-thumb .hub-series-card__media{aspect-ratio:1/1;height:100%;max-height:10.5rem}
.races-index-body{flex:1 1 auto;max-width:none;padding:.7rem 1rem;display:flex;flex-direction:column;gap:.25rem;box-sizing:border-box;min-width:0;justify-content:flex-start}
.races-index-body__title{margin:0;font-size:1.05rem;font-weight:700;line-height:1.25}
.races-index-body__title a{color:var(--text-black);text-decoration:none}
.races-index-body__title a:hover{color:#ee8027}
.races-index-body__slot{margin-left:.35rem;font-size:.85rem;font-weight:600;color:var(--text-gray)}
.races-index-body__series{margin:0;font-size:.9rem;font-weight:600;line-height:1.3}
.races-index-body__series a{color:#ee8027;text-decoration:none}
.races-index-body__series a:hover{text-decoration:underline}
.races-index-body__track{margin:0;font-size:.85rem;color:var(--text-gray);line-height:1.35}
.races-index-body__meta{margin:0;font-size:.82rem;color:var(--text-gray);line-height:1.35;display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .35rem}
.races-index-state{font-weight:600;color:var(--text-black)}
.races-index-meta-sep{opacity:.65}
.races-index-body__links{margin:.15rem 0 0;font-size:.88rem}
.races-index-body__links a{font-weight:600;color:#ee8027;text-decoration:none}
.races-index-body__links a:hover{text-decoration:underline}
.races-index-cta-wrap{align-items:flex-end;align-self:stretch}
.races-index-cta-wrap .series-index-cta-note{text-align:right}
.races-index-empty{margin:.75rem 0 0;font-size:.95rem;color:var(--text-gray)}
.races-index-archived-note{margin-top:1.5rem;font-size:.95rem}
@media (max-width:800px){.series-index-row{flex-direction:row;max-height:9.5rem}.series-index-thumb{flex:0 0 9.5rem;max-width:9.5rem;width:9.5rem}.series-index-thumb .hub-series-card__media{max-height:9.5rem}.series-index-body{flex:1 1 auto;max-width:none;padding:.65rem .85rem}.races-index-row{max-height:9.5rem}.races-index-thumb{flex:0 0 9.5rem;max-width:9.5rem;width:9.5rem}.races-index-thumb .hub-series-card__media{max-height:9.5rem}.races-index-body{padding:.65rem .85rem}}
.races-series-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 .75rem}
.races-series-nav__link{display:inline-block;padding:.45rem .85rem;font-size:.85rem;font-weight:600;line-height:1.25;color:var(--text-gray);text-decoration:none;background:var(--background-white);border:1px solid var(--border-light);transition:border-color .2s var(--ease-out),color .2s var(--ease-out),background .2s var(--ease-out)}
.races-series-nav__link:hover{color:var(--text-black);border-color:rgba(238,128,39,.45)}
.races-series-nav__link.is-active{color:var(--text-black);background:rgba(238,128,39,.1);border-color:var(--primary-orange)}
.races-series-filter-note{margin:0 0 .75rem;font-size:.9rem;color:var(--text-gray)}
.races-series-filter-note a{margin-left:.35rem;font-weight:600;color:#ee8027;text-decoration:none}
.races-series-filter-note a:hover{text-decoration:underline}
.race-show{margin:0}
.race-show-banner{margin:0 0 1.25rem;border:1px solid var(--border-light);background:#1e3a8a;overflow:hidden;max-height:12rem}
.race-show-banner__img{display:block;width:100%;height:12rem;object-fit:cover}
.race-show-hero{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;border:1px solid var(--border-light);background:var(--background-white);box-shadow:0 4px 24px rgba(0,0,0,.06);overflow:hidden}
.race-show-thumb{flex:0 0 12rem;max-width:12rem;width:12rem;display:block;text-decoration:none;color:inherit;overflow:hidden}
.race-show-thumb .hub-series-card__media{aspect-ratio:1/1;height:100%;min-height:12rem}
.race-show-body{flex:1 1 auto;min-width:0;padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.75rem}
.race-show-title{margin:0;font-size:1.45rem;font-weight:700;line-height:1.2;color:var(--text-black);letter-spacing:-.01em}
.race-show-meta{margin:0;font-size:.9rem;color:var(--text-gray);line-height:1.45;display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .35rem}
.race-show-meta-sep{opacity:.65}
.race-show-series{margin:0;font-size:.92rem;font-weight:600;line-height:1.4;display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .35rem}
.race-show-series a{color:#ee8027;text-decoration:none}
.race-show-series a:hover{text-decoration:underline}
.race-show-state{font-weight:700;color:var(--text-black)}
.race-show-event-name{margin:0;font-size:.88rem;color:var(--text-gray)}
.race-show-schedule{margin:0;padding:.85rem 1rem;background:var(--background-light);border:1px solid var(--border-light)}
.race-show-schedule__intro{margin:0 0 .5rem;font-size:.88rem;line-height:1.5;color:var(--text-gray)}
.race-show-schedule__intro code{font-size:.82rem}
.race-show-schedule__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem}
.race-show-schedule__list li{margin:0;font-size:.92rem;font-weight:600;color:var(--text-black);line-height:1.4}
.race-show-registration-note{margin:0;font-size:.85rem;line-height:1.45;color:var(--text-gray)}
.race-show-mp-rules{margin:1rem 0 0;padding:1rem 1.25rem;font-size:.9rem;max-width:42rem;border:1px solid var(--border-light);background:var(--background-light)}
.race-show-mp-rules__title{margin:0 0 .35rem}
.race-show-mp-rules__lead{margin:.35rem 0}
.race-show-mp-rules__list{margin:.5rem 0 0;padding-left:1.25rem}
.race-show-actions-panel{margin-top:1.25rem;padding:1rem 1.25rem;border:1px solid var(--border-light);background:var(--background-white);box-shadow:0 4px 24px rgba(0,0,0,.06)}
.race-show-guest-cta{align-items:flex-start}
.race-show-guest-cta .series-index-cta-note{text-align:left}
.race-show-actions .race-show-live-clock{margin:0 0 .75rem;font-size:.82rem;color:var(--text-gray)}
.race-show-actions .race-show-action-label{margin:0 0 .5rem;font-size:.95rem}
.race-show-actions .race-show-action-hint{margin:0 0 .75rem;font-size:.85rem;color:var(--text-gray)}
.race-show-actions .race-show-join-form{display:inline;margin:0}
.race-show-actions .race-show-event-message{margin:0;font-size:.95rem;color:var(--text-gray)}
.race-show-actions .race-show-cancel-countdown{margin:0 0 .75rem;font-size:.9rem;line-height:1.45}
.race-show-actions .race-show-cancel-hint{margin:0 0 .75rem;font-size:.85rem;color:var(--text-gray)}
.race-show-actions .race-show-cancel-extra{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border-light)}
.race-show-actions .race-show-cancel-extra__title{margin:0 0 .5rem;font-size:.95rem}
.race-show-launch-block{margin-top:.75rem;padding:1rem;border:1px solid var(--border-light);background:var(--background-light)}
.race-show-launch-block__title{margin:0 0 .75rem;font-size:.9rem}
.race-show-launch-block__hint{margin:0 0 .75rem;font-size:.85rem;color:#444}
.race-show-launch-block__downloads{margin:0 0 .5rem;font-size:.85rem}
.race-show-launch-block__downloads a{font-weight:600;color:#ee8027;text-decoration:none}
.race-show-launch-block__downloads a:hover{text-decoration:underline}
.race-show-launch-block__actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.race-show-launch-ingame{margin-top:.75rem;padding:.75rem;background:var(--background-white);border:1px solid var(--border-light);font-size:.85rem}
.race-show-launch-ingame ol{margin:0;padding-left:1.2rem}
.race-show-launch-ingame li{margin:.35rem 0}
.race-show-launch-error{margin:.75rem 0 0;font-size:.9rem}
.race-show-launch-error[hidden]{display:none}
.race-show-btn{display:inline-block;padding:.45rem .9rem;font-family:inherit;font-weight:700;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;border:1px solid var(--border-light);background:var(--background-white);color:var(--text-black);cursor:pointer;transition:background .2s var(--ease-out),border-color .2s var(--ease-out),color .2s var(--ease-out)}
.race-show-btn:hover{border-color:#bbb}
.race-show-btn--primary{color:#fff;background:var(--primary-orange);border-color:var(--primary-orange)}
.race-show-btn--primary:hover{background:#d9731f;border-color:#d9731f;color:#fff}
.race-show-btn--join{color:#fff;background:#2d6a4f;border-color:#1b4332;font-size:.9rem;padding:.55rem 1rem}
.race-show-btn--join:hover{background:#245a42;border-color:#1b4332;color:#fff}
.race-show-btn--secondary{background:#e9ecef;color:#333;border-color:#ced4da;font-size:.9rem;padding:.55rem 1rem;text-transform:none;letter-spacing:0;font-weight:600}
.race-show-btn--secondary:hover{background:#dde2e6}
.race-show-btn--manual{background:transparent;color:#333;border-color:#ced4da;font-size:.9rem;padding:.35rem .65rem;text-transform:none;letter-spacing:0;font-weight:600}
.race-show-btn--danger{color:#fff;background:var(--primary-red);border-color:var(--primary-red)}
.race-show-btn--danger:hover{background:#c42d38;border-color:#c42d38;color:#fff}
.race-show-discord{margin:1.25rem 0 0;font-size:.9rem}
.race-show-discord a{font-weight:600;color:#ee8027;text-decoration:none}
.race-show-discord a:hover{text-decoration:underline}
.race-show-results{margin-top:2rem}
.race-show-results__heading{margin:0 0 .5rem;font-size:1.15rem;font-weight:700}
.race-show-results__links{margin:0 0 .75rem;font-size:.9rem;display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .35rem}
.race-show-results__links a{font-weight:600;color:#ee8027;text-decoration:none}
.race-show-results__links a:hover{text-decoration:underline}
.race-show-results__day-total{margin:0 0 .75rem;font-size:.85rem;color:var(--text-gray)}
.race-show-results__preview-note{margin:0 0 .75rem;font-size:.85rem;color:var(--text-gray)}
.race-show-modal[hidden]{display:none}
.race-show-cancel-modal{margin-top:1rem;padding:1rem 1.25rem;border:1px solid var(--border-light);background:var(--background-white);box-shadow:0 4px 24px rgba(0,0,0,.06);max-width:28rem}
.race-show-cancel-modal__text{margin:0 0 1rem;font-size:.95rem;line-height:1.45}
.race-show-cancel-modal__form{display:flex;flex-wrap:wrap;gap:.5rem}
@media (max-width:800px){.race-show-banner{max-height:9rem}.race-show-banner__img{height:9rem}.race-show-thumb{flex:0 0 9.5rem;max-width:9.5rem;width:9.5rem}.race-show-thumb .hub-series-card__media{min-height:9.5rem}.race-show-body{padding:.85rem 1rem}.race-show-title{font-size:1.2rem}.race-show-actions-panel{padding:.85rem 1rem}.race-show-launch-block__actions{flex-direction:column;align-items:stretch}.race-show-launch-block__actions .race-show-btn{width:100%;text-align:center}}
@media (max-width:520px){.race-show-hero{flex-direction:column}.race-show-thumb{flex:0 0 auto;max-width:none;width:100%}.race-show-thumb .hub-series-card__media{min-height:auto;max-height:10rem}.race-show-thumb .hub-series-card__media{aspect-ratio:3/1}}
@media (max-width:800px){.hub-events-layout{flex-direction:column;flex-wrap:wrap}.hub-events-main,.hub-events-sidebar{flex:0 0 100%;max-width:100%;width:100%}}
@media (max-width:1919px){.nav-secondary{display:none}}
@media (max-width:1200px){.nav__social-links span{display:none}.nav__social-icon{margin-right:0}}
@media (max-width:520px){.nav{padding:1rem 1.5rem}.nav__links{gap:1rem;flex-wrap:wrap}}
.footer{background:var(--background-white);border-top:1px solid var(--border-light);padding:4rem 3rem 2rem;margin-top:3rem}
.footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:4rem;max-width:1400px;margin:0 auto 3rem}
.footer__logo-svg{height:45px;width:auto;margin-bottom:1.5rem;display:block}
.footer__tagline{font-size:1rem;color:var(--text-gray);line-height:1.6;max-width:350px;margin:0}
.footer__heading{font-family:var(--font-body);font-weight:700;font-size:.9rem;letter-spacing:.05em;text-transform:uppercase;color:var(--text-black);margin:0 0 1.5rem}
.footer__list{list-style:none;margin:0;padding:0}
.footer__list li{margin-bottom:.75rem;font-size:.95rem;color:var(--text-gray)}
.footer__list a{color:var(--text-gray);text-decoration:none;transition:color .3s var(--ease-out);font-size:.95rem}
.footer__list a:hover{color:var(--primary-orange)}
.footer__copyright{text-align:center;padding-top:2rem;border-top:1px solid var(--border-light);color:var(--text-gray);font-size:.9rem;max-width:1400px;margin:0 auto}
.footer__members-online{font-size:.85rem;color:var(--text-gray);font-weight:500;margin:0 0 1rem}
.footer__members-online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22c55e;margin-right:.45rem;vertical-align:middle}
.footer__copyright-text{margin:0 0 .35rem}
.footer__copyright-note{margin:0;opacity:.7;font-size:.85rem}
@media (max-width:1200px){.footer__grid{grid-template-columns:1fr 1fr}}
@media (max-width:768px){.footer{padding:3rem 1.5rem 1.5rem}.footer__grid{grid-template-columns:1fr;gap:2rem}}
@media (max-width:520px){.footer{padding:2.5rem 1.5rem 1.25rem}}
