:root {
    --navy: #072257;
    --red: #ff214f;
    --bg: #f4f7fb;
    --text: #142033;
    --white: #fff;
} 

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3fa 100%);
}
.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}
.topbar, .public-header {
    background: var(--navy);
    color: var(--white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 20;
}
.topbar-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.brand {
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.topnav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
} 
.topnav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    padding: 7px 10px;
    border-radius: 7px;
}
.topnav a:hover { background: rgba(255, 255, 255, 0.14); }
.user-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
}
main.container { padding: 24px 0 32px; }
.card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 12px 25px rgba(14, 29, 58, 0.08);
    padding: 18px;
    margin-bottom: 18px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.stat {
    background: var(--white);
    border-left: 6px solid var(--red);
    border-radius: 12px;
    padding: 14px;
}
.stat h3 { margin: 0; font-size: 14px; color: #5a6a85; }
.stat p { margin: 8px 0 0; font-size: 27px; font-weight: 800; }
h1 { margin-top: 0; }
form {
    display: grid;
    gap: 10px;
}
label {
    display: grid;
    gap: 6px;
    font-size: 14px;
}
input, textarea, select, button {
    font: inherit;
}
input, textarea, select {
    border: 1px solid #ccd6e5;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}
textarea { min-height: 120px; }
.admin-rich-editor {
    border: 1px solid #ccd6e5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.admin-rich-modes {
    display: flex;
    gap: 6px;
    padding: 10px;
    border-bottom: 1px solid #e3e9f3;
    background: #f6f8fc;
}
.admin-rich-modes .btn {
    padding: 7px 12px;
    font-size: 13px;
    border-radius: 6px;
}
.admin-rich-modes .btn.is-active {
    background: #072257;
    color: #fff;
}
.admin-rich-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    border-bottom: 1px solid #e3e9f3;
    background: #f6f8fc;
}
.admin-rich-toolbar .btn {
    padding: 7px 10px;
    font-size: 13px;
    border-radius: 6px;
}
.admin-rich-surface {
    min-height: 260px;
    padding: 12px;
    outline: none;
    line-height: 1.55;
}
.admin-rich-editor textarea[data-editor-textarea] {
    width: 100%;
    min-height: 260px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 14px;
    line-height: 1.45;
}
.admin-rich-surface:focus {
    box-shadow: inset 0 0 0 2px rgba(5, 64, 150, 0.16);
}
.admin-rich-preview {
    min-height: 260px;
    padding: 12px;
    line-height: 1.55;
}
.admin-rich-preview h2,
.admin-rich-preview h3,
.admin-rich-preview h4 {
    margin-top: 0.7em;
    margin-bottom: 0.45em;
}
.admin-rich-preview p {
    margin-top: 0;
}
.admin-rich-surface h2,
.admin-rich-surface h3,
.admin-rich-surface h4 {
    margin-top: 0.7em;
    margin-bottom: 0.45em;
}
.admin-rich-surface p {
    margin-top: 0;
}
button, .btn {
    border: 0;
    background: var(--red);
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.btn-secondary {
    background: var(--navy);
}
.table-wrap {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    border-bottom: 1px solid #e7edf6;
    text-align: left;
    font-size: 14px;
}
th {
    background: #f6f8fc;
    font-weight: 700;
}
.flash {
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.flash-success { background: #e6f5ea; color: #1f7a38; }
.flash-error { background: #fdeaea; color: #9f2424; }
.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.public-footer {
    background: var(--navy);
    color: #fff;
    padding: 20px 0;
    margin-top: 20px;
}
.hero {
    background: radial-gradient(circle at 15% 20%, #153a84, #072257 58%);
    color: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 16px;
}
@media (max-width: 700px) {
    .hero { padding: 22px; }
    th, td { font-size: 13px; }
}

.tt-cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 120;
}

.tt-cookie-banner[hidden] {
    display: none;
}

.tt-cookie-banner__inner {
    width: min(1080px, calc(100vw - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(7, 34, 87, 0.96) 0%, rgba(5, 20, 53, 0.96) 100%);
    color: #fff;
    box-shadow: 0 18px 45px rgba(4, 16, 41, 0.34);
    backdrop-filter: blur(10px);
}

.tt-cookie-banner__text {
    display: grid;
    gap: 6px;
}

.tt-cookie-banner__text strong {
    font-size: 18px;
    font-weight: 800;
}

.tt-cookie-banner__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.tt-cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tt-cookie-banner__link,
.tt-cookie-banner__accept {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tt-cookie-banner__link {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: transparent;
    color: #fff;
}

.tt-cookie-banner__link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.52);
}

.tt-cookie-banner__accept {
    background: linear-gradient(135deg, var(--red), #d80d39);
    color: #fff;
}

.tt-cookie-banner__accept:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

@media (max-width: 700px) {
    .tt-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .tt-cookie-banner__inner {
        width: min(100%, calc(100vw - 24px));
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
        border-radius: 18px;
    }

    .tt-cookie-banner__actions {
        width: 100%;
        flex-direction: column;
    }

    .tt-cookie-banner__link,
    .tt-cookie-banner__accept {
        width: 100%;
    }
}

.tt-home {
    --tt-page-bg: #f2f3f7;
    --tt-page-text: #1d2f44;
    --tt-blue-main: #072257;
    --tt-blue-deep: #04173d;
    --tt-red-main: #ff214f;
    --tt-red-deep: #d80d39;
    --tt-hero-bg: linear-gradient(140deg, var(--tt-blue-main) 0%, var(--tt-blue-main) 48%, var(--tt-red-main) 100%);
    --tt-hero-muted: #d4e3ff;
    --tt-nav-link: #eaf1ff;
    --tt-social-border: rgba(255, 255, 255, 0.8);
    --tt-btn-primary-bg: var(--tt-red-main);
    --tt-btn-primary-text: #ffffff;
    --tt-btn-secondary-bg: #f7f8fc;
    --tt-btn-secondary-text: var(--tt-blue-main);
    --tt-title: #17324b;
    --tt-subtitle: #6f7c90;
    --tt-surface: #efefef;
    --tt-card-bg: #f9f9f9;
    --tt-card-text: #748198;
    --tt-race-item-bg: linear-gradient(90deg, var(--tt-blue-main), var(--tt-red-main));
    --tt-race-date: #d6e6ff;
    --tt-map-bg: #dbdde2;
    --tt-pin-bg: #e71c3f;
    --tt-pin-glow: rgba(231, 28, 63, 0.23);
    --tt-gallery-bg: var(--tt-blue-main);
    --tt-gallery-text: #ffffff;
    --tt-footer-bg: var(--tt-blue-main);
    --tt-footer-text: #cdddfc;
    --tt-footer-copy: #aac3f7;
    margin: 0;
    background: var(--tt-page-bg);
    color: var(--tt-page-text);
    font-family: 'Trebuchet MS', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.tt-shell {
    width: min(1120px, 92vw);
    margin: 0 auto;
}
.tt-hero {
    background: linear-gradient(180deg, #f2f4f8 0%, #eceff4 100%);
    color: #fff;
    padding-top: 92px;
    padding-bottom: 64px;
    position: relative;
    z-index: 3;
    overflow: visible;
}
.tt-race-detail-page .tt-hero {
    background: linear-gradient(90deg, var(--tt-blue-main) 0%, #1f3f86 52%, var(--tt-red-main) 100%);
}
.tt-race-detail-page .tt-hero::after {
    content: none;
}
.tt-races-page .tt-hero {
    background: linear-gradient(90deg, var(--tt-blue-main) 0%, #1f3f86 52%, var(--tt-red-main) 100%);
}
.tt-races-page .tt-hero::after {
    content: none;
}
.tt-hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.tt-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.tt-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(5, 22, 50, 0.42) 0%, rgba(5, 36, 88, 0.28) 48%, rgba(146, 18, 47, 0.26) 100%);
    pointer-events: none;
}
.tt-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, 92vw);
    z-index: 5000;
    padding: 14px 0;
    transition: padding 180ms ease;
}
.tt-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(4, 54, 127, 0.95) 0%, rgba(18, 46, 108, 0.92) 52%, rgba(255, 47, 99, 0.9) 100%);
    backdrop-filter: blur(4px);
    opacity: 0;
    z-index: -1;
    transition: background-color 180ms ease, backdrop-filter 180ms ease, opacity 180ms ease;
}
.tt-topbar.is-scrolled::before {
    background: linear-gradient(90deg, rgba(4, 54, 127, 0.99) 0%, rgba(18, 46, 108, 0.97) 52%, rgba(255, 47, 99, 0.95) 100%);
    backdrop-filter: blur(6px);
    opacity: 1;
}
.tt-homepage .tt-topbar::before {
    opacity: 1;
}
.tt-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 14px;
    transition: padding 180ms ease;
}
.tt-logo {
    width: 136px;
    height: auto;
    transition: width 180ms ease;
}
.tt-nav {
    display: flex;
    gap: 20px;
}
.tt-nav a {
    color: var(--tt-nav-link);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background-color 140ms ease, color 140ms ease, padding 180ms ease, font-size 180ms ease;
}
.tt-nav a:hover,
.tt-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.95);
    color: var(--tt-blue-main);
}
.tt-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 7px;
    cursor: pointer;
}
.tt-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: #fff;
}
.tt-menu-toggle span + span {
    margin-top: 6px;
}
.tt-mobile-menu {
    display: none;
    z-index: 5001;
}
.tt-social {
    display: flex;
    gap: 10px;
}
.tt-social a {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--tt-social-border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, width 180ms ease, height 180ms ease;
}
.tt-social a svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}
.tt-social a.tt-social-link-ig svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tt-social a.tt-social-link-yt svg {
    width: 19px;
    height: 19px;
}
.tt-topbar.is-scrolled {
    padding: 8px 0;
}
.tt-topbar.is-scrolled .tt-logo-wrap {
    padding: 3px 8px;
}
.tt-topbar.is-scrolled .tt-logo {
    width: 118px;
}
.tt-topbar.is-scrolled .tt-nav a {
    font-size: 16px;
    padding: 6px 12px;
}
.tt-topbar.is-scrolled .tt-social a {
    width: 28px;
    height: 28px;
}
.tt-topbar.is-scrolled .tt-social a svg {
    width: 16px;
    height: 16px;
}
.tt-topbar.is-scrolled .tt-social a.tt-social-link-yt svg {
    width: 17px;
    height: 17px;
}
.tt-social a:hover,
.tt-social a:focus-visible {
    background: #fff;
    color: var(--tt-blue-main);
    border-color: #fff;
}
.tt-hero-body {
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: center;
    gap: 10px;
    min-height: 340px;
}
.tt-hero-body--single {
    grid-template-columns: 1fr;
    min-height: 560px;
    align-items: end;
}
.tt-hero-body--single .tt-hero-text {
    max-width: 780px;
    margin-top: -38px;
    padding: 22px 24px;
    border-radius: 16px;
    background: linear-gradient(115deg, rgba(5, 64, 150, 0.62) 0%, rgba(191, 20, 54, 0.56) 100%);
    box-shadow: 0 16px 28px rgba(8, 18, 34, 0.24);
}
.tt-hero-text h1 {
    margin: 0;
    font-size: 50px;
    line-height: 1.04;
    font-weight: 800;
}
.tt-hero-text h1 span {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.58em;
    line-height: 1.08;
    font-weight: 500;
    text-transform: none;
}
.tt-hero-text p {
    margin: 18px 0;
    max-width: 460px;
    color: var(--tt-hero-muted);
    font-size: 17px;
    line-height: 1.45;
}
.tt-hero-actions {
    display: flex;
    gap: 10px;
}
.tt-hero-actions .tt-btn {
    padding: 12px 18px;
    font-size: 15px;
}
.tt-btn {
    display: inline-block;
    border-radius: 7px;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
.tt-btn-red {
    background: var(--tt-btn-primary-bg);
    color: var(--tt-btn-primary-text);
}
.tt-btn-light {
    background: var(--tt-btn-secondary-bg);
    color: var(--tt-btn-secondary-text);
}
.tt-hero-portraits {
    position: relative;
    height: 360px;
    z-index: 4;
}
.tt-circle {
    position: absolute;
    border-radius: 50%;
    object-fit: cover;
    border: 0;
    object-position: center;
}
.tt-c1 {
    width: 298px;
    height: 298px;
    top: -18px;
    right: 240px;
}
.tt-c2 {
    width: 283px;
    height: 283px;
    top: 32px;
    right: 32px;
}
.tt-c3 {
    width: 269px;
    height: 269px;
    top: 160px;
    right: 170px;
}
.tt-section {
    padding: 42px 0;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.tt-section h2 {
    text-align: center;
    color: var(--tt-title);
    margin: 0 0 20px;
    font-size: 32px;
}
.tt-newsletter {
    background: #ececec;
    padding-top: 18px;
    padding-bottom: 20px;
}
.tt-newsletter-box {
    background: linear-gradient(110deg, rgba(5, 64, 150, 0.96) 0%, rgba(255, 47, 99, 0.92) 100%);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.tt-newsletter-copy h2 {
    margin: 0 0 6px;
    text-align: left;
    color: #fff;
    font-size: 27px;
}
.tt-newsletter-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}
.tt-newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.tt-newsletter-form input[type="email"] {
    min-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    border: 0;
    border-radius: 999px;
    padding: 12px 14px;
}
.tt-newsletter-form .tt-btn {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 15px;
}
.tt-newsletter-flash {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
}
.tt-newsletter-flash-success {
    background: #e7f7ec;
    color: #136e36;
}
.tt-newsletter-flash-error {
    background: #fdeced;
    color: #972124;
}
.tt-sub {
    text-align: center;
    color: var(--tt-subtitle);
    font-size: 13px;
    margin: -8px 0 24px;
}
.tt-features {
    position: relative;
    z-index: 1;
    background: #ececec;
}
.tt-features-head {
    text-align: center;
    margin-bottom: 28px;
}
.tt-features-head h2 {
    margin: 0;
    font-size: 46px;
    font-weight: 800;
    color: #0e1117;
}
.tt-features-head p {
    margin: 12px 0 0;
    font-size: 18px;
    color: #2a2f37;
}
.tt-features-tagline {
    margin-top: 18px;
    margin-bottom: 0;
}
.tt-features-tagline p {
    margin-top: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    color: #0d1118;
}
.tt-features-tagline-action {
    margin-top: 18px;
}
.tt-features-tagline-action .tt-btn {
    min-height: 58px;
    padding: 16px 28px;
    border-radius: 16px;
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(255, 33, 79, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.tt-features-tagline-action .tt-btn:hover,
.tt-features-tagline-action .tt-btn:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 36px rgba(255, 33, 79, 0.3);
    filter: saturate(1.08) brightness(1.02);
}
.tt-features-layout {
    display: grid;
    grid-template-columns: 1fr 420px 1fr;
    gap: 42px;
    align-items: start;
}
.tt-feature-col {
    display: grid;
    gap: 34px;
    padding-top: 8px;
}
.tt-feature-col-left .tt-feature-item {
    text-align: right;
}
.tt-feature-col-right .tt-feature-item {
    text-align: left;
}
.tt-feature-item {
    height: 320px;
    display: flex;
    flex-direction: column;
}
.tt-feature-item h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.1;
    color: #0d1118;
}
.tt-feature-item p {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    color: #1e252f;
}
.tt-feature-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    overflow: hidden;
}
.tt-feature-col-left .tt-feature-icon {
    margin-left: auto;
    margin-right: 0;
}
.tt-feature-col-right .tt-feature-icon {
    margin-left: 0;
    margin-right: auto;
}
.tt-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.tt-feature-center {
    margin: 0;
}
.tt-feature-center img {
    width: 100%;
    height: auto;
    border-radius: 36px;
    object-fit: contain;
    object-position: center;
    display: block;
}
.tt-races {
    background: #ffffff;
    padding-top: 26px;
}
.tt-scoring {
    background: #ececec;
}
.tt-scoring-content {
    max-width: 980px;
    margin: 0 auto;
    color: #1e2e44;
    font-size: 17px;
    line-height: 1.65;
}
.tt-scoring-content h2,
.tt-scoring-content h3,
.tt-scoring-content h4 {
    color: #102643;
    text-align: left;
    margin: 0 0 10px;
}
.tt-scoring-content p {
    margin: 0 0 12px;
}
.tt-scoring-content ul,
.tt-scoring-content ol {
    margin: 0 0 14px 22px;
}
.tt-scoring-page h1,
.tt-scoring-page h2,
.tt-scoring-page h3,
.tt-scoring-page h4 {
    text-align: left;
}
.tt-scoring-design {
    display: grid;
    gap: 24px;
}
.tt-scoring-panel,
.tt-scoring-cta {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 20px;
    padding: 34px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(7, 34, 87, 0.08);
    box-shadow: 0 16px 34px rgba(12, 24, 42, 0.07);
}
.tt-scoring-panel::before {
    content: '';
    position: absolute;
    inset: auto 0 0 auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 33, 79, 0.1), transparent 70%);
    pointer-events: none;
}
.tt-scoring-panel-intro {
    background: linear-gradient(135deg, rgba(7, 34, 87, 0.98) 0%, rgba(14, 48, 114, 0.96) 58%, rgba(255, 33, 79, 0.88) 100%);
    color: #ffffff;
}
.tt-scoring-panel-intro::before {
    inset: -70px -40px auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}
.tt-scoring-kicker,
.tt-scoring-section-head span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    width: max-content;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tt-scoring-panel-intro h2,
.tt-scoring-section-head h2 {
    margin: 14px 0 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
}
.tt-scoring-panel-intro h2,
.tt-scoring-panel-intro .tt-scoring-kicker,
.tt-scoring-panel-intro .tt-scoring-lead {
    color: #ffffff;
}
.tt-scoring-lead,
.tt-scoring-copy,
.tt-scoring-rule-box p,
.tt-scoring-example p,
.tt-scoring-benefit-card p,
.tt-scoring-point-card p,
.tt-scoring-flow-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #44556e;
}
.tt-scoring-lead {
    max-width: 900px;
    font-size: 19px;
    color: rgba(255, 255, 255, 0.92);
}
.tt-scoring-section-head {
    display: grid;
    gap: 8px;
}
.tt-scoring-section-head span {
    background: rgba(7, 34, 87, 0.08);
    color: var(--tt-blue-main);
}
.tt-scoring-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.tt-scoring-flow-card,
.tt-scoring-point-card,
.tt-scoring-benefit-card {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 22px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(7, 34, 87, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.tt-scoring-flow-card h3,
.tt-scoring-point-card h3,
.tt-scoring-benefit-card h3,
.tt-scoring-example h3 {
    margin: 0;
}
.tt-scoring-flow-number {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--tt-blue-main) 0%, var(--tt-red-main) 100%);
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    transition: transform 220ms ease, box-shadow 220ms ease;
}
.tt-scoring-flow-card:hover,
.tt-scoring-flow-card:focus-within,
.tt-scoring-point-card:hover,
.tt-scoring-point-card:focus-within,
.tt-scoring-benefit-card:hover,
.tt-scoring-benefit-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 36px rgba(10, 20, 38, 0.1);
    border-color: rgba(255, 33, 79, 0.22);
}
.tt-scoring-flow-card:hover .tt-scoring-flow-number,
.tt-scoring-flow-card:focus-within .tt-scoring-flow-number {
    transform: scale(1.06);
    box-shadow: 0 12px 22px rgba(255, 33, 79, 0.18);
}
.tt-scoring-rule-box,
.tt-scoring-example {
    display: grid;
    gap: 12px;
    padding: 22px 24px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(7, 34, 87, 0.08);
}
.tt-scoring-rule-box ul {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
    color: #1e2e44;
    font-size: 17px;
    line-height: 1.7;
}
.tt-scoring-table-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(7, 34, 87, 0.08);
    background: #ffffff;
}
.tt-scoring-table {
    width: 100%;
    border-collapse: collapse;
}
.tt-scoring-table th,
.tt-scoring-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(7, 34, 87, 0.08);
}
.tt-scoring-table th {
    background: rgba(7, 34, 87, 0.05);
    color: var(--tt-blue-main);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tt-scoring-table td {
    color: #1e2e44;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 180ms ease, color 180ms ease;
}
.tt-scoring-table tbody tr {
    transition: transform 180ms ease;
}
.tt-scoring-table tbody tr:hover td,
.tt-scoring-table tbody tr:focus-within td {
    background: rgba(255, 33, 79, 0.06);
    color: var(--tt-blue-main);
}
.tt-scoring-table tbody tr:last-child td {
    border-bottom: none;
}
.tt-scoring-points-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.tt-scoring-point-card p {
    font-size: 24px;
    font-weight: 800;
    color: var(--tt-blue-main);
    line-height: 1.2;
}
.tt-scoring-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.tt-scoring-cta {
    justify-items: center;
    background: linear-gradient(135deg, var(--tt-blue-main) 0%, #10367d 100%);
    box-shadow: 0 20px 44px rgba(7, 34, 87, 0.2);
}
.tt-scoring-cta::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}
.tt-scoring-cta .tt-btn {
    position: relative;
    z-index: 1;
}
.tt-scoring-gallery-cta {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}
.tt-races .tt-sub {
    font-size: 18px;
    color: #2a2f37;
    font-weight: 400;
    margin-top: 12px;
}
.tt-races-grid {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 0;
    align-items: stretch;
}
.tt-race-list {
    display: grid;
    gap: 12px;
    padding: 22px 16px 14px;
    background: transparent;
    border-radius: 16px 0 0 16px;
    min-height: 530px;
    align-content: start;
}
.tt-race-list--centered {
    max-width: 980px;
    margin: 26px auto 0;
    padding: 0;
    min-height: 0;
    justify-items: center;
}
.tt-race-strip {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(115deg, var(--tt-blue-main) 0%, var(--tt-red-main) 100%);
    border-radius: 12px;
    padding: 14px 14px 14px;
    box-shadow: 0 4px 12px rgba(20, 26, 42, 0.15);
    position: relative;
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.tt-race-strip--static {
    width: min(100%, 780px);
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
}
.tt-race-strip--with-more {
    display: grid;
    gap: 8px;
    padding-right: 40px;
}
.tt-race-strip-top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding-right: 18px;
}
.tt-race-strip:hover,
.tt-race-strip:focus-visible,
.tt-race-strip.is-active {
    transform: translateX(2px);
    box-shadow: 0 8px 16px rgba(14, 25, 44, 0.22);
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 0;
}
.tt-race-strip-dots {
    position: absolute;
    top: 10px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    width: 16px;
    gap: 3px;
}
.tt-race-strip-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}
.tt-race-strip-date {
    display: block;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 6px;
}
.tt-race-strip-name {
    display: block;
    font-size: 16px;
    line-height: 1.15;
}
.tt-race-strip--static .tt-race-strip-date,
.tt-race-strip--static .tt-race-strip-name {
    margin: 0;
}
.tt-race-strip--static .tt-race-strip-date {
    font-size: 20px;
    text-align: center;
}
.tt-race-strip--static .tt-race-strip-name {
    font-size: 19px;
    font-weight: 700;
    text-align: center;
}
.tt-race-strip-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    min-height: 38px;
    padding: 6px 12px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.88);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.tt-race-strip--with-more .tt-race-strip-more {
    justify-self: end;
}
.tt-race-strip-more:hover,
.tt-race-strip-more:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 24px rgba(12, 25, 49, 0.24);
    border-color: #ffffff;
}
.tt-map-wrap {
    position: relative;
    min-height: 530px;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
    background: #d8d8d8;
}
.tt-map-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        linear-gradient(to right, #ececec 0%, rgba(236, 236, 236, 0) 12%),
        linear-gradient(to left, #ececec 0%, rgba(236, 236, 236, 0) 12%),
        linear-gradient(to bottom, #ececec 0%, rgba(236, 236, 236, 0) 12%),
        linear-gradient(to top, #ececec 0%, rgba(236, 236, 236, 0) 12%);
}
.tt-map {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.86;
}
.tt-map-pin {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(150deg, var(--tt-blue-main) 0%, var(--tt-red-main) 100%);
    transform: translate(-50%, -50%) rotate(-45deg);
    box-shadow: 0 4px 12px rgba(21, 36, 62, 0.38);
    border: 3px solid #fff;
    text-decoration: none;
    z-index: 2;
}
.tt-map-pin-badge {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transform: rotate(45deg);
}
.tt-map-pin-badge span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}
.tt-map-pin-badge span:nth-child(1) { transform: translate(-6px, -8px); }
.tt-map-pin-badge span:nth-child(2) { transform: translate(7px, -5px); }
.tt-map-pin-badge span:nth-child(3) { transform: translate(-1px, 7px); }
.tt-map-pin-date {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) rotate(45deg);
    white-space: nowrap;
    background: #fff;
    color: #17355f;
    border-radius: 8px;
    padding: 4px 7px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
}
.tt-map-pin.is-active,
.tt-map-pin:hover,
.tt-map-pin:focus-visible {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.08);
    box-shadow: 0 0 0 6px rgba(221, 41, 76, 0.22), 0 8px 16px rgba(12, 25, 49, 0.34);
}
.tt-map-pin.is-active .tt-map-pin-date,
.tt-map-pin:hover .tt-map-pin-date,
.tt-map-pin:focus-visible .tt-map-pin-date {
    opacity: 1;
}
.tt-gallery {
    background: var(--tt-gallery-bg);
    color: var(--tt-gallery-text);
}
.tt-gallery h2,
.tt-gallery .tt-sub {
    color: var(--tt-gallery-text);
}
.tt-scoring-page .tt-gallery h2,
.tt-scoring-page .tt-gallery .tt-sub {
    text-align: center;
}
.tt-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.tt-gallery-grid a {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    cursor: zoom-in;
}
.tt-gallery-grid img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.tt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 6000;
    background: rgba(5, 16, 37, 0.84);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.tt-lightbox.is-open {
    display: flex;
}
.tt-lightbox-image {
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
}
.tt-lightbox-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    padding: 0;
}
.tt-sponsors {
    background: var(--tt-surface);
}
.tt-sponsor-groups {
    display: grid;
    gap: 28px;
}
.tt-sponsor-group {
    display: grid;
    gap: 14px;
}
.tt-sponsor-group-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.tt-sponsor-group h3 {
    margin: 0;
    font-size: 26px;
    color: var(--tt-title);
}
.tt-sponsor-group-head p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--tt-red-main);
}
.tt-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    align-items: center;
}
.tt-sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-height: 84px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(7, 34, 87, 0.1);
    box-shadow: 0 10px 26px rgba(15, 33, 68, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.tt-sponsor-card img {
    width: 100%;
    max-height: 42px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 180ms ease, transform 180ms ease;
}
.tt-sponsor-card.is-text {
    color: var(--tt-blue-main);
    text-align: center;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.35;
}
.tt-sponsor-card:hover,
.tt-sponsor-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 33, 68, 0.12);
    border-color: rgba(255, 33, 79, 0.18);
}
.tt-sponsor-card:hover img,
.tt-sponsor-card:focus-visible img {
    filter: grayscale(0%);
    transform: translateY(-2px);
}
.tt-footer {
    background: linear-gradient(115deg, var(--tt-blue-main) 0%, #1f3f86 50%, var(--tt-red-main) 100%);
    color: #eef3ff;
    padding: 26px 0 16px;
    margin-top: auto;
}
.tt-footer-brand {
    text-align: center;
    margin-bottom: 18px;
}
.tt-footer-logo {
    width: 150px;
}
.tt-footer-grid {
    display: grid;
    grid-template-columns: minmax(360px, 520px) minmax(260px, 360px);
    justify-content: center;
    gap: 64px;
    align-items: start;
}
.tt-footer-grid .tt-footer-col:first-child {
    padding-left: 24px;
}
.tt-footer-col h4 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.25;
}
.tt-footer-col p {
    margin: 0 0 6px;
    color: #e9f1ff;
    font-size: 16px;
}
.tt-footer-col h4 + p {
    margin-bottom: 14px;
}
.tt-footer-phone,
.tt-footer-phone:visited,
.tt-footer-phone:hover,
.tt-footer-phone:focus-visible {
    color: #ffffff;
    text-decoration: none;
}
.tt-footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.tt-footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tt-footer-social-links .tt-social-link {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--tt-social-border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.tt-footer-social-links .tt-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}
.tt-footer-social-links .tt-social-link.tt-social-link-ig svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tt-footer-social-links .tt-social-link.tt-social-link-yt svg {
    width: 19px;
    height: 19px;
}
.tt-footer-social-links .tt-social-link:hover,
.tt-footer-social-links .tt-social-link:focus-visible {
    background: #fff;
    color: var(--tt-blue-main);
    border-color: #fff;
}
.tt-copy {
    margin: 16px auto 0;
    text-align: center;
    font-size: 16px;
    color: #eef3ff;
}
.tt-copy a {
    color: #eef3ff;
    text-decoration: underline;
}
.tt-footer-legal {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.tt-footer-legal-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
}
.tt-footer-legal-btn:hover,
.tt-footer-legal-btn:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    text-decoration: none;
}
.tt-legal-modal {
    position: fixed;
    inset: 0;
    z-index: 7000;
    display: none;
    padding: 28px 16px;
    background: rgba(6, 16, 36, 0.74);
}
.tt-legal-modal.is-open {
    display: block;
}
.tt-legal-modal__dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: calc(100vh - 56px);
    margin: 0 auto;
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    color: #17324b;
    padding: 24px 22px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.tt-legal-modal__close {
    position: sticky;
    top: 0;
    float: right;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #072257;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    padding: 0;
}
.tt-legal-modal__content {
    clear: both;
}
.tt-legal-modal__content h2,
.tt-legal-modal__content h3,
.tt-legal-modal__content h4 {
    text-align: left;
    color: #072257;
}
.tt-legal-modal__content h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 30px;
}
.tt-legal-modal__content h3 {
    margin: 24px 0 10px;
    font-size: 22px;
}
.tt-legal-modal__content h4 {
    margin: 18px 0 8px;
    font-size: 18px;
}
.tt-legal-modal__content p,
.tt-legal-modal__content li {
    color: #25384f;
    font-size: 15px;
    line-height: 1.6;
}
.tt-legal-modal__content ul {
    margin: 0 0 14px 22px;
}

.tt-races-page .tt-hero-compact {
    padding-bottom: 30px;
}
.tt-races-hero-copy {
    padding-top: 130px;
    padding-bottom: 12px;
}
.tt-races-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
}
.tt-races-hero-copy p {
    margin: 12px 0 0;
    color: #d8e7ff;
    font-size: 18px;
    max-width: 760px;
}
.tt-races-list-section {
    background: #ececec;
}
.tt-race-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.tt-race-card {
    background: #f9fbff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(14, 29, 58, 0.08);
    border-left: 6px solid var(--tt-blue-main);
}
.tt-race-card-head {
    margin-bottom: 10px;
}
.tt-race-card-date {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    color: var(--tt-blue-main);
    margin-bottom: 8px;
}
.tt-race-card h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.18;
    color: #13253f;
}
.tt-race-card-location {
    margin: 0 0 14px;
    color: #5a6880;
    font-size: 15px;
}
.tt-race-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.tt-race-card-empty {
    border-left: 6px solid var(--tt-red-main);
}
.tt-race-card-empty h2 {
    margin: 0 0 8px;
}
.tt-races-page .tt-btn {
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 999px;
}
.tt-races-page .tt-btn-register {
    background: #ffffff;
    color: var(--tt-red-deep);
    border: 2px solid var(--tt-red-main);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 47, 99, 0.24);
}
.tt-races-page .tt-btn-register:hover,
.tt-races-page .tt-btn-register:focus-visible {
    background: var(--tt-red-main);
    color: #ffffff;
}
.admin-dialog {
    width: min(760px, 92vw);
    border: 0;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 22px 44px rgba(8, 15, 30, 0.32);
}
.admin-dialog::backdrop {
    background: rgba(8, 14, 28, 0.55);
}
.admin-dialog-form {
    padding: 18px;
    display: grid;
    gap: 10px;
}
.admin-dialog-form h2 {
    margin: 0 0 6px;
}
.tt-race-detail-hero {
    padding-top: 130px;
    padding-bottom: 14px;
}
.tt-race-back {
    display: inline-block;
    color: #dce8ff;
    text-decoration: none;
    margin-bottom: 14px;
    font-size: 14px;
}
.tt-race-detail-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
}
.tt-race-detail-hero-subtitle {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 500;
    line-height: 1.2;
}
.tt-race-meta {
    margin-top: 14px;
    display: flex;
    gap: 10px 12px;
    flex-wrap: wrap;
    align-items: center;
}
.tt-race-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
.tt-race-meta-main-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 140ms ease, border-color 140ms ease;
}
.tt-race-meta-main-link:hover,
.tt-race-meta-main-link:focus-visible {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.6);
}
.tt-race-detail-section {
    background: #ececec;
}
.tt-race-detail-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 18px;
    align-items: start;
}
.tt-race-detail-grid--single {
    grid-template-columns: 1fr;
}
.tt-race-detail-content,
.tt-race-detail-side {
    background: #f9fbff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(14, 29, 58, 0.08);
}
.tt-race-detail-content {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
.tt-race-detail-content h2 {
    margin: 0 0 12px;
    color: #13253f;
    text-align: left;
}
.tt-race-detail-content h3,
.tt-race-detail-content h4 {
    text-align: left;
}
.tt-race-content-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}
.tt-race-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
.tt-race-detail-hero .tt-race-links {
    margin-top: 0;
}
.tt-race-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(115deg, var(--tt-blue-main) 0%, var(--tt-red-main) 100%);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 10px rgba(14, 25, 44, 0.16);
    transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}
.tt-race-link:hover,
.tt-race-link:focus-visible {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 7px 15px rgba(14, 25, 44, 0.22);
}
.tt-race-link-disabled {
    background: #b8c3d6;
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: none;
    cursor: not-allowed;
}
.tt-race-detail-content p {
    margin: 0;
    color: #324660;
    line-height: 1.6;
    font-size: 16px;
}
.tt-race-link-embed-wrap {
    background: #f9fbff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(14, 29, 58, 0.08);
}
.tt-race-link-embed {
    width: 100%;
    min-height: 86vh;
    height: 2200px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    overflow: auto;
}
.tt-race-detail-side h3 {
    margin: 0 0 10px;
    color: #13253f;
}
.tt-race-detail-side ul {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}
.tt-race-detail-side li {
    color: #3f516b;
    font-size: 15px;
}
.tt-series-page .tt-race-detail-section {
    background:
        radial-gradient(circle at top left, rgba(255, 33, 79, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(7, 34, 87, 0.1), transparent 32%),
        #ececec;
}
.tt-series-layout {
    display: grid;
    gap: 24px;
}
.tt-series-panel {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 40px rgba(10, 20, 38, 0.08);
    border: 1px solid rgba(7, 34, 87, 0.08);
}
.tt-series-panel::before {
    content: '';
    position: absolute;
    inset: auto auto 0 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 33, 79, 0.12), transparent 70%);
    pointer-events: none;
}
.tt-series-panel-intro {
    background: linear-gradient(135deg, rgba(7, 34, 87, 0.97) 0%, rgba(11, 43, 104, 0.96) 55%, rgba(255, 33, 79, 0.9) 100%);
    color: #ffffff;
}
.tt-series-panel-intro::before {
    width: 260px;
    height: 260px;
    right: -50px;
    left: auto;
    top: -70px;
    bottom: auto;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
}
.tt-series-kicker,
.tt-series-section-head span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tt-series-panel-intro h2,
.tt-series-section-head h2 {
    margin: 14px 0 10px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 0.98;
    text-align: left;
}
.tt-series-panel-intro h2,
.tt-series-panel-intro .tt-series-lead,
.tt-series-panel-intro .tt-series-kicker {
    color: #ffffff;
}
.tt-series-lead {
    margin: 20px 0 0;
    max-width: 900px;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}
.tt-series-panel-intro > p {
    max-width: 900px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}
.tt-series-highlight {
    margin-top: 22px;
    display: grid;
    gap: 12px;
    max-width: 760px;
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}
.tt-series-highlight h3,
.tt-series-step-card h3,
.tt-series-benefit-card h3,
.tt-series-package-head h3,
.tt-series-package-body h4 {
    margin: 0;
    text-align: left;
}
.tt-series-highlight p,
.tt-series-step-card p,
.tt-series-benefit-card p,
.tt-series-package-body p,
.tt-series-package-body li,
.tt-series-deadline p,
.tt-series-section-copy {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #44556e;
}
.tt-series-panel-intro .tt-series-highlight p,
.tt-series-panel-intro .tt-series-highlight h3 {
    color: #ffffff;
}
.tt-series-section-head {
    display: grid;
    gap: 8px;
}
.tt-series-section-head span {
    background: rgba(7, 34, 87, 0.08);
    color: var(--tt-blue-main);
    width: max-content;
}
.tt-series-steps {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.tt-series-steps--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tt-series-steps--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tt-series-step-card,
.tt-series-benefit-card,
.tt-series-package-card,
.tt-series-list-card,
.tt-series-metric-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(7, 34, 87, 0.08);
    box-shadow: 0 12px 28px rgba(10, 20, 38, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.tt-series-step-number,
.tt-series-benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(145deg, var(--tt-blue-main) 0%, var(--tt-red-main) 100%);
    transition: transform 220ms ease, box-shadow 220ms ease;
}
.tt-series-benefit-icon {
    overflow: hidden;
    padding: 0;
}
.tt-series-benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tt-series-step-card:hover,
.tt-series-step-card:focus-within,
.tt-series-benefit-card:hover,
.tt-series-benefit-card:focus-within,
.tt-series-list-card:hover,
.tt-series-list-card:focus-within,
.tt-series-metric-card:hover,
.tt-series-metric-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 36px rgba(10, 20, 38, 0.1);
    border-color: rgba(255, 33, 79, 0.2);
}
.tt-series-step-card:hover .tt-series-step-number,
.tt-series-step-card:focus-within .tt-series-step-number,
.tt-series-benefit-card:hover .tt-series-benefit-icon,
.tt-series-benefit-card:focus-within .tt-series-benefit-icon {
    transform: scale(1.06);
    box-shadow: 0 12px 22px rgba(255, 33, 79, 0.18);
}
.tt-series-metric-card:hover p,
.tt-series-metric-card:focus-within p {
    color: var(--tt-red-main);
    transform: translateY(-2px);
}
.tt-series-benefits {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.tt-series-benefits--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tt-series-benefit-card {
    align-content: start;
}
.tt-series-dual-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.tt-series-metric-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.tt-series-list-card ul,
.tt-series-list-card p,
.tt-series-metric-card p,
.tt-series-metric-card small {
    margin: 0;
}
.tt-series-metric-card {
    position: relative;
    overflow: hidden;
}
.tt-series-metric-card::after {
    content: '';
    position: absolute;
    right: -26px;
    bottom: -34px;
    width: 118px;
    height: 118px;
    background: radial-gradient(circle, rgba(255, 33, 79, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 220ms ease;
}
.tt-series-list-card ul {
    padding-left: 20px;
    display: grid;
    gap: 8px;
}
.tt-series-list-card li,
.tt-series-list-card p,
.tt-series-metric-card small {
    color: #44556e;
    font-size: 17px;
    line-height: 1.7;
}
.tt-series-metric-card small {
    transition: color 220ms ease;
}
.tt-series-metric-card p {
    transition: color 220ms ease, transform 220ms ease;
}
.tt-series-metric-card:hover small,
.tt-series-metric-card:focus-within small {
    color: #243a5f;
}
.tt-series-metric-card:hover::after,
.tt-series-metric-card:focus-within::after {
    opacity: 1;
}
.tt-series-list-card p + p {
    margin-top: 4px;
}
.tt-series-list-card h3,
.tt-series-metric-card h3 {
    margin: 0;
}
.tt-series-metric-card {
    align-content: start;
}
.tt-series-metric-card p {
    color: var(--tt-blue-main);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.05;
}
.tt-series-metric-card small {
    display: block;
}
.tt-series-packages {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.tt-series-package-card {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 0;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.tt-series-package-card.is-primary {
    border-color: rgba(255, 33, 79, 0.18);
}
.tt-series-package-card:hover,
.tt-series-package-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(10, 20, 38, 0.12);
    border-color: rgba(255, 33, 79, 0.24);
}
.tt-series-package-head {
    display: grid;
    gap: 8px;
    padding: 24px 24px 18px;
    background: linear-gradient(135deg, rgba(7, 34, 87, 0.06) 0%, rgba(255, 33, 79, 0.1) 100%);
    transition: background 220ms ease;
}
.tt-series-package-card:hover .tt-series-package-head,
.tt-series-package-card:focus-within .tt-series-package-head {
    background: linear-gradient(135deg, rgba(7, 34, 87, 0.09) 0%, rgba(255, 33, 79, 0.16) 100%);
}
.tt-series-package-head p {
    margin: 0;
    color: var(--tt-blue-main);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
.tt-series-package-head span {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}
.tt-series-package-body {
    display: grid;
    gap: 16px;
    padding: 0 24px 24px;
    align-content: start;
}
.tt-series-package-body ul {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 6px;
}
.tt-series-package-bonus {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fafc;
}
.tt-series-package-body .tt-btn {
    margin-top: auto;
    align-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    min-width: 220px;
    padding: 14px 22px;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 12px 22px rgba(255, 33, 79, 0.2);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.tt-series-package-body .tt-btn:hover,
.tt-series-package-body .tt-btn:focus-visible {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 30px rgba(255, 33, 79, 0.28);
    filter: saturate(1.08) brightness(1.02);
}
.tt-series-deadline {
    display: grid;
    gap: 12px;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--tt-blue-main) 0%, #10367d 100%);
    box-shadow: 0 18px 42px rgba(7, 34, 87, 0.18);
}
.tt-series-deadline .tt-series-section-head span {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.tt-series-deadline .tt-series-section-head h2,
.tt-series-deadline p {
    color: #ffffff;
}
.tt-series-races {
    background: #ffffff;
}
.tt-upload-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.tt-upload-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
    gap: 28px;
    align-items: start;
}

.tt-upload-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(7, 34, 87, 0.08);
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(7, 34, 87, 0.08);
    padding: 34px;
}

.tt-upload-copy h2,
.tt-upload-card h2 {
    margin: 0 0 20px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.05;
}

.tt-upload-benefits {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 12px;
    font-size: 17px;
    line-height: 1.65;
}

.tt-upload-note {
    margin-top: 26px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(7, 34, 87, 0.06) 0%, rgba(255, 33, 79, 0.08) 100%);
    font-size: 15px;
    line-height: 1.65;
}

.tt-upload-form {
    display: grid;
    gap: 18px;
}

.tt-upload-form label {
    display: grid;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
}

.tt-upload-form input {
    width: 100%;
    border: 1px solid rgba(7, 34, 87, 0.14);
    border-radius: 16px;
    padding: 15px 16px;
    background: #fff;
}

.tt-upload-form input[type="file"] {
    padding: 12px 14px;
}

.tt-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tt-upload-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tt-upload-submit {
    min-width: 240px;
    justify-content: center;
    font-size: 16px;
}

.tt-upload-limit {
    font-size: 14px;
    color: rgba(20, 32, 51, 0.72);
}

.tt-upload-flash {
    margin-bottom: 18px;
    padding: 15px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.tt-upload-flash-success {
    background: rgba(30, 142, 84, 0.12);
    color: #17663b;
}

.tt-upload-flash-error {
    background: rgba(220, 38, 38, 0.1);
    color: #9b1c1c;
}

.gpx-admin-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.gpx-admin-head h2 {
    margin: 0 0 6px;
}

.gpx-admin-head p {
    margin: 0;
    color: rgba(20, 32, 51, 0.72);
}

.gpx-admin-stats {
    margin-bottom: 18px;
}

.gpx-admin-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 18px;
}

.gpx-admin-map-card {
    background: #fff;
    border: 1px solid #e7edf6;
    border-radius: 18px;
    padding: 18px;
}

.gpx-admin-map-card h3 {
    margin: 0 0 14px;
}

.gpx-admin-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.gpx-admin-map-head h3 {
    margin: 0;
}

.gpx-admin-map-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(7, 34, 87, 0.08);
    color: #072257;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gpx-admin-map-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 14px;
    border-radius: 22px;
    border: 1px solid #e7edf6;
}

.gpx-admin-map-iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 1px solid #e7edf6;
    border-radius: 22px;
    background: #f3f6fb;
}

.gpx-admin-map-actions {
    margin-top: 14px;
    margin-bottom: 18px;
}

.gpx-admin-osm-map {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border: 1px solid #e7edf6;
    border-radius: 22px;
    background: #e9eef6;
}

.gpx-admin-osm-map__tiles {
    position: absolute;
    inset: 0;
}

.gpx-admin-osm-map__tile {
    position: absolute;
    width: 256px;
    height: 256px;
    user-select: none;
    -webkit-user-drag: none;
}

.gpx-admin-osm-map__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gpx-admin-subtitle {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
    color: rgba(20, 32, 51, 0.84);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gpx-admin-map {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    overflow: hidden;
}

.gpx-admin-metrics {
    display: grid;
    gap: 14px;
    margin: 0;
}

.gpx-admin-metrics div {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f8;
}

.gpx-admin-metrics dt {
    font-size: 13px;
    font-weight: 700;
    color: rgba(20, 32, 51, 0.64);
}

.gpx-admin-metrics dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    word-break: break-word;
}

.gpx-admin-map-note {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(20, 32, 51, 0.72);
}
@media (max-width: 960px) {
    .tt-homepage .tt-hero {
        padding-top: 168px;
    }
    .tt-upload-layout,
    .gpx-admin-detail-grid,
    .tt-upload-grid {
        grid-template-columns: 1fr;
    }
    .tt-upload-card {
        padding: 24px;
        border-radius: 24px;
    }
    .tt-upload-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }
    .tt-homepage .tt-section {
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .tt-homepage .tt-section h2 {
        margin-bottom: 14px;
    }
    .tt-homepage .tt-features {
        padding-top: 24px;
    }
    .tt-homepage .tt-races,
    .tt-homepage .tt-gallery,
    .tt-homepage .tt-sponsors,
    .tt-homepage .tt-newsletter {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .tt-homepage .tt-features-tagline {
        margin-top: 10px;
    }
    .tt-hero-body {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0;
    }
    .tt-hero-portraits {
        height: 280px;
        margin-top: 4px;
    }
    .tt-c1 {
        width: 252px;
        height: 252px;
        top: -8px;
        right: 196px;
    }
    .tt-c2 {
        width: 242px;
        height: 242px;
        top: 34px;
        right: 34px;
    }
    .tt-c3 {
        width: 230px;
        height: 230px;
        top: 120px;
        right: 130px;
    }
    .tt-features-head h2 {
        font-size: 38px;
    }
    .tt-features-head p {
        font-size: 16px;
    }
    .tt-features-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tt-feature-col-left .tt-feature-item,
    .tt-feature-col-right .tt-feature-item {
        text-align: center;
    }
    .tt-feature-col {
        gap: 18px;
        padding-top: 0;
    }
    .tt-feature-item {
        height: auto;
    }
    .tt-feature-col-right .tt-feature-icon,
    .tt-feature-col-left .tt-feature-icon {
        margin-left: auto;
        margin-right: auto;
    }
    .tt-races-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .tt-series-steps,
    .tt-series-packages,
    .tt-series-benefits,
    .tt-series-dual-grid,
    .tt-series-metric-grid,
    .tt-series-steps--four,
    .tt-series-steps--five,
    .tt-series-benefits--four {
        grid-template-columns: 1fr;
    }
    .tt-scoring-panel,
    .tt-scoring-cta {
        padding: 24px 20px;
        border-radius: 24px;
    }
    .tt-scoring-flow,
    .tt-scoring-points-grid,
    .tt-scoring-benefits {
        grid-template-columns: 1fr;
    }
    .tt-scoring-table-card {
        overflow-x: auto;
    }
    .tt-scoring-table {
        min-width: 420px;
    }
    .tt-race-list {
        border-radius: 16px;
        padding: 14px;
        min-height: 320px;
    }
    .tt-race-strip-date {
        font-size: 20px;
    }
    .tt-race-strip-name {
        font-size: 15px;
    }
    .tt-race-list--centered {
        margin-top: 22px;
    }
    .tt-race-strip--static {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 18px;
    }
    .tt-race-strip-top {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-right: 0;
    }
    .tt-race-strip--with-more {
        padding-right: 18px;
    }
    .tt-race-strip--with-more .tt-race-strip-more {
        justify-self: start;
    }
    .tt-race-strip--static .tt-race-strip-date,
    .tt-race-strip--static .tt-race-strip-name {
        text-align: center;
    }
    .tt-race-strip--static .tt-race-strip-name {
        font-size: 17px;
    }
    .tt-race-strip-more {
        justify-self: center;
        min-width: 0;
        width: auto;
    }
    .tt-map-wrap {
        border-radius: 16px;
        min-height: 320px;
    }
    .tt-race-cards {
        grid-template-columns: 1fr;
    }
    .tt-races-hero-copy {
        padding-top: 120px;
    }
    .tt-races-hero-copy p {
        font-size: 16px;
    }
    .tt-race-detail-hero {
        padding-top: 120px;
    }
    .tt-race-detail-grid {
        grid-template-columns: 1fr;
    }
    .tt-race-content-head {
        flex-direction: column;
    }
    .tt-race-links {
        width: 100%;
        min-width: 0;
    }
    .tt-sponsor-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 640px) {
    .tt-hero {
        padding-top: 132px;
    }
    .tt-homepage .tt-hero {
        padding-top: 186px;
    }
    .tt-topbar {
        justify-content: space-between;
        align-items: center;
    }
    .tt-topbar > .tt-nav,
    .tt-topbar > .tt-social {
        display: none;
    }
    .tt-menu-toggle {
        display: inline-block;
    }
    .tt-mobile-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        padding: 14px;
        border-radius: 14px;
        background: rgba(5, 64, 150, 0.96);
        box-shadow: 0 14px 28px rgba(8, 18, 34, 0.35);
    }
    .tt-topbar.menu-open .tt-mobile-menu {
        display: block;
    }
    .tt-mobile-nav {
        display: grid;
        gap: 8px;
    }
    .tt-mobile-nav a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        font-weight: 700;
        padding: 10px 12px;
        border-radius: 999px;
    }
    .tt-mobile-nav a:hover,
    .tt-mobile-nav a:focus-visible {
        background: rgba(255, 255, 255, 0.95);
        color: var(--tt-blue-main);
    }
    .tt-social-mobile {
        margin-top: 12px;
    }
    .tt-social-mobile a {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .tt-hero-text h1 {
        font-size: 41px;
    }
    .tt-hero-text h1 span {
        font-size: 0.62em;
    }
    .tt-newsletter-box {
        flex-direction: column;
        align-items: stretch;
    }
    .tt-newsletter-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .tt-newsletter-form input[type="email"] {
        min-width: 0;
        width: 100%;
    }
    .tt-newsletter-form .tt-btn {
        width: 100%;
        text-align: center;
    }
    .tt-features-head h2 {
        font-size: 32px;
    }
    .tt-feature-item h3 {
        font-size: 24px;
    }
    .tt-feature-item p {
        font-size: 16px;
    }
    .tt-race-strip-date {
        font-size: 18px;
    }
    .tt-race-strip-name {
        font-size: 14px;
    }
    .tt-map-wrap {
        min-height: 200px;
    }
    .tt-race-list {
        min-height: 200px;
    }
    .tt-map-pin {
        width: 34px;
        height: 34px;
    }
    .tt-map-pin-date {
        font-size: 12px;
    }
    .tt-races-hero-copy {
        padding-top: 140px;
    }
    .tt-races-hero-copy h1 {
        font-size: 36px;
    }
    .tt-race-detail-hero h1 {
        font-size: 32px;
    }
    .tt-race-detail-hero {
        padding-top: 140px;
    }
    .tt-race-card h2 {
        font-size: 20px;
    }
    .tt-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tt-sponsor-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .tt-footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    .tt-footer-grid .tt-footer-col:first-child {
        padding-left: 0;
    }
    .tt-footer-social {
        align-items: center;
    }
    .tt-footer-social-links {
        justify-content: center;
    }
    .tt-footer-logo {
        margin: 0 auto;
    }
    .tt-copy {
        font-size: 15px;
    }
}
