        html,
        body {
            margin: 0;
            max-width: 100%;
            overflow-x: hidden;
        }

        body.json-sheet-open {
            overflow: hidden;
        }

        .json-live-page,
        .json-live-page *,
        .json-live-page *::before,
        .json-live-page *::after {
            box-sizing: border-box;
        }

        .json-live-page {
            --json-detail-max-width: 920px;
            --json-detail-side-gutter: 16px;
            --json-mobile-rank-col: 12%;
            --json-mobile-number-col: 14%;
            --json-mobile-rider-col: calc(100% - var(--json-mobile-rank-col) - var(--json-mobile-number-col) - var(--json-mobile-time-col) - var(--json-mobile-compare-col, 32px));
            --json-mobile-time-col: 24%;
            --json-mobile-cell-font: 10px;
            --json-mobile-cell-pad-y: 0.45rem;
            --json-mobile-cell-pad-x: 0.28rem;
            --json-mobile-name-font: 11px;
            --json-mobile-meta-font: 9px;
            --json-mobile-time-font: 0.72rem;
            --json-mobile-detail-label-col: 82px;
            --json-mobile-detail-col-1: 22%;
            --json-mobile-detail-col-2: 56%;
            --json-mobile-detail-col-3: 22%;
            --json-mobile-detail-section-font: 1rem;
            --json-mobile-detail-result-font: clamp(1.1rem, 5.8vw, 1.35rem);
            --json-mobile-detail-gap-font: clamp(0.92rem, 4.8vw, 1.05rem);
            width: 100%;
            max-width: 100%;
            padding-left: 6px;
            padding-right: 6px;
            margin: 12px auto 28px;
            overflow-x: clip;
        }

        .json-live-page.json-live-series-page {
            width: 100%;
        }

        .json-tab-panel,
        .json-header,
        .year-card,
        .json-panel-card,
        .json-track-card,
        .json-toolbar,
        .json-filter-bar,
        .json-leaderboard-hero,
        .json-leaderboard-sections,
        .json-leaderboard-group,
        .json-results-partner-banner,
        .json-table-wrap,
        #resultBlocks,
        #startBlocks {
            width: 100%;
            max-width: 100%;
            min-width: 0;
        }

        .text-center {
            text-align: center;
        }

        .json-results-partner-banner {
            background: #fff;
            border: 1px solid var(--mr-border-soft);
            border-radius: 14px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
            margin: 16px 0 0;
            overflow: hidden;
        }

        .json-results-partner-banner img {
            display: block;
            height: auto;
            width: 100%;
        }

        .json-header {
            background-color: #F9FAFB;
            border-radius: 16px;
            border: 1px solid var(--mr-border-soft);
            padding: 16px clamp(14px, 2vw, 26px) 12px;
            margin-bottom: 14px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
        }

        .json-header-top {
            display: flex;
            align-items: center;
            gap: clamp(14px, 2vw, 24px);
            min-width: 0;
        }

        .json-header-text {
            flex: 1 1 auto;
            min-width: 0;
        }

        .json-event-title {
            margin: 0;
            max-width: 100%;
            font-size: clamp(1.45rem, 2.45vw, 2.7rem);
            line-height: 1.14;
            letter-spacing: 0.055em;
            text-transform: uppercase;
            text-wrap: balance;
            overflow-wrap: anywhere;
            color: var(--mr-black);
        }

        .json-brand {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            margin-bottom: 0;
            flex: 0 0 auto;
        }

        .json-brand-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 8px 12px;
            border-radius: 999px;
            background-color: rgba(255, 255, 255, 0.88);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
        }

        .json-brand-logo {
            display: block;
            width: clamp(130px, 15vw, 180px);
            height: auto;
        }

        .json-subtitle {
            margin: 8px 0 0;
            text-align: left;
            color: var(--mr-text-muted);
            font-size: 0.95rem;
        }

        .json-live-status {
            display: inline-flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px 10px;
            margin-top: 10px;
            color: var(--mr-text-muted);
            font-size: 13px;
        }

        .json-live-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 0.32rem 0.7rem;
            border-radius: 999px;
            background-color: rgba(15, 23, 42, 0.06);
            color: var(--mr-black);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .json-live-status-badge.is-live {
            background-color: rgba(194, 65, 12, 0.12);
            color: #C2410C;
        }

        .json-live-status-text {
            font-weight: 600;
        }

        .json-toolbar {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: end;
            gap: 10px;
            margin-bottom: 14px;
        }

        .json-toolbar-actions {
            display: flex;
            flex: 0 0 auto;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
        }

        .json-search-wrap {
            flex: 1 1 420px;
            min-width: 0;
        }

        .json-search-label {
            display: block;
            margin-bottom: 8px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--mr-text-muted);
        }

        .json-search {
            width: 100%;
            max-width: none;
            border-radius: 999px;
            border: 1px solid var(--mr-border-soft);
            background-color: #FFFFFF;
            padding: 0.68rem 0.95rem;
            font-size: 14px;
            color: var(--mr-text-main);
            box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
        }

        .json-search:focus {
            outline: none;
            border-color: var(--mr-yellow);
            box-shadow: 0 0 0 0.15rem var(--mr-yellow-soft);
        }

        .json-summary {
            color: var(--mr-text-muted);
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
        }

        .json-ranking-switch {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            padding: 3px;
            border: 1px solid rgba(15, 23, 42, 0.14);
            border-radius: 8px;
            background-color: #FFFFFF;
            box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
        }

        .json-ranking-switch-option {
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            padding: 0 10px;
            border-radius: 6px;
            color: var(--mr-text-muted);
            font-size: 12px;
            font-weight: 800;
            line-height: 1;
            text-decoration: none;
            white-space: nowrap;
        }

        .json-ranking-switch-option:hover,
        .json-ranking-switch-option:focus {
            color: #C2410C;
            text-decoration: none;
        }

        .json-ranking-switch-option.is-active {
            background-color: #FFF7ED;
            color: #C2410C;
        }

        .json-ranking-switch-option:focus-visible {
            outline: 2px solid var(--mr-yellow);
            outline-offset: 2px;
        }

        .json-view-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            padding: 6px;
            border: 1px solid rgba(15, 23, 42, 0.14);
            border-radius: 999px;
            background-color: #FFFFFF;
            color: var(--mr-black);
            box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
        }

        .json-view-toggle svg {
            width: 26px;
            height: 26px;
            stroke: currentColor;
        }

        .json-view-toggle:hover,
        .json-view-toggle.is-active {
            transform: translateY(-1px);
            border-color: #C2410C;
            background-color: #FFF7ED;
            color: #C2410C;
            box-shadow: 0 10px 20px rgba(194, 65, 12, 0.14);
        }

        .json-view-toggle:focus-visible {
            outline: 2px solid var(--mr-yellow);
            outline-offset: 2px;
        }

        .json-filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 14px;
        }

        .json-course-sticky {
            position: sticky;
            top: 10px;
            z-index: 35;
            padding: 8px 0 10px;
            margin-top: -2px;
            background: linear-gradient(180deg, rgba(249, 250, 251, 0.98) 0%, rgba(249, 250, 251, 0.94) 72%, rgba(249, 250, 251, 0) 100%);
            backdrop-filter: blur(10px);
        }

        .json-filter-bar .btnFilter1 {
            cursor: pointer;
            padding: 0.38rem 0.8rem;
            font-size: 12px;
            margin: 0;
        }

        .json-track-card + .json-track-card {
            margin-top: 16px;
        }

        .json-track-title {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            margin-bottom: 14px;
        }

        .json-track-title h2 {
            margin: 0;
            font-size: 1.15rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .json-track-count {
            color: var(--mr-text-muted);
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .json-table-wrap {
            width: 100%;
            max-width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 4px;
        }

        .json-live-table {
            width: max-content;
            min-width: 100%;
            margin-bottom: 0;
        }

        .json-live-series-page .json-table-wrap {
            overflow-x: auto;
            overflow-y: hidden;
        }

        .json-live-series-page .json-live-table {
            width: max-content;
            min-width: 100%;
        }

        /* Vodorovné posouvání širokých výsledkových tabulek (sloupce mimo okno) */
        .json-table-scroll {
            position: relative;
            width: 100%;
            max-width: 100%;
            min-width: 0;
        }

        .json-table-scroll > .json-table-wrap.is-hscrollable {
            cursor: grab;
        }

        .json-table-scroll > .json-table-wrap.is-hscrolling {
            cursor: grabbing;
            user-select: none;
        }

        .json-table-edge-fade {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 40px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.18s ease;
            z-index: 4;
        }

        .json-table-edge-fade--left {
            left: 0;
            background: linear-gradient(to right, rgba(2, 6, 23, 0.13), rgba(2, 6, 23, 0));
        }

        .json-table-edge-fade--right {
            right: 0;
            background: linear-gradient(to left, rgba(2, 6, 23, 0.13), rgba(2, 6, 23, 0));
        }

        .json-table-scroll.can-scroll-left .json-table-edge-fade--left,
        .json-table-scroll.can-scroll-right .json-table-edge-fade--right {
            opacity: 1;
        }

        .json-table-scroll-btn {
            position: absolute;
            top: 50%;
            margin-top: -21px;
            width: 42px;
            height: 42px;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 0;
            border: 1px solid var(--mr-border-soft);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.97);
            color: var(--mr-text-main);
            box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
            cursor: pointer;
            z-index: 6;
            -webkit-appearance: none;
            appearance: none;
            transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
        }

        .json-table-scroll-btn:hover {
            background: #fff;
            transform: scale(1.07);
            box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
        }

        .json-table-scroll-btn:active {
            transform: scale(0.95);
        }

        .json-table-scroll-btn:focus-visible {
            outline: 2px solid var(--mr-yellow);
            outline-offset: 2px;
        }

        .json-table-scroll-btn svg {
            width: 22px;
            height: 22px;
            display: block;
        }

        .json-table-scroll-btn--left {
            left: 8px;
        }

        .json-table-scroll-btn--right {
            right: 8px;
        }

        .json-table-scroll.can-scroll-left .json-table-scroll-btn--left,
        .json-table-scroll.can-scroll-right .json-table-scroll-btn--right {
            display: flex;
        }

        @media (hover: none), (pointer: coarse) {
            .json-table-scroll-btn {
                display: none !important;
            }

            .json-table-scroll > .json-table-wrap.is-hscrollable {
                cursor: auto;
            }
        }

        .json-live-table thead tr + tr {
            background-color: #111827;
        }

        .json-live-table th,
        .json-live-table td {
            white-space: nowrap;
            padding: 0.48rem 0.44rem;
            font-size: 12px;
        }

        .json-live-table th {
            text-align: center;
            font-size: 10px;
            letter-spacing: 0.06em;
        }

        .json-live-table th.json-left,
        .json-live-table td.json-left {
            text-align: left;
        }

        .json-live-table td.json-rank,
        .json-live-table td.json-number,
        .json-live-table td.json-points,
        .json-live-table td.json-time,
        .json-live-table td.json-gap,
        .json-live-table td.json-total {
            text-align: center;
            font-variant-numeric: tabular-nums;
        }

        .json-track-card,
        .start-track-card {
            scroll-margin-top: 88px;
        }

        .json-live-table td.json-rank {
            font-weight: 800;
            min-width: 36px;
        }

        .json-live-table th.json-rank-col,
        .json-live-table th.json-number-col,
        .json-live-table td.json-rank,
        .json-live-table td.json-number {
            box-sizing: border-box;
            text-align: right;
            font-variant-numeric: tabular-nums;
            font-feature-settings: "tnum" 1;
        }

        .json-live-table th.json-rank-col,
        .json-live-table td.json-rank {
            width: 42px;
            min-width: 42px;
            padding-left: 0.28rem;
            padding-right: 0.5rem;
        }

        .json-live-table th.json-number-col,
        .json-live-table td.json-number {
            width: 58px;
            min-width: 58px;
            padding-left: 0.28rem;
            padding-right: 0.5rem;
        }

        .json-live-table .json-overview-rank-col {
            min-width: 42px;
            text-align: center;
            font-variant-numeric: tabular-nums;
        }

        .json-live-table .json-schema4-meta-col {
            color: #334155;
            font-weight: 600;
        }

        .json-live-table .json-team-col {
            min-width: 120px;
            max-width: 180px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .json-live-table .json-nationality-col,
        .json-live-table .json-gender-col,
        .json-live-table .json-category-rank-col {
            min-width: 48px;
            text-align: center;
            font-variant-numeric: tabular-nums;
        }

        .json-live-table .json-category-col {
            min-width: 130px;
            max-width: 190px;
            white-space: normal;
            line-height: 1.25;
        }

        .json-live-table td.json-overview-rank-col {
            color: #475569;
        }

        .json-live-table td.json-total {
            font-weight: 800;
        }

        .json-rider-name {
            display: block;
            font-weight: 700;
            color: var(--mr-black);
            font-size: 13px;
            line-height: 1.25;
        }

        .json-rider-identity {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            max-width: 100%;
            min-width: 0;
            vertical-align: middle;
        }

        .json-rider-identity .json-rider-name {
            display: inline;
            min-width: 0;
        }

        .json-rider-photo {
            flex: 0 0 auto;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
            background: rgba(255, 255, 255, 0.08);
        }

        .json-rider-meta {
            display: block;
            margin-top: 3px;
            font-size: 11px;
            color: var(--mr-text-muted);
            white-space: normal;
            line-height: 1.25;
        }

        .json-start-line {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            min-width: 0;
            white-space: nowrap;
        }

        .json-start-number {
            min-width: 42px;
            font-weight: 800;
            font-variant-numeric: tabular-nums;
            color: var(--mr-black);
        }

        .json-start-nationality {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: var(--mr-text-muted);
            font-size: 11px;
            font-weight: 700;
        }

        .json-start-flag {
            width: 24px;
            height: auto;
            border-radius: 0;
        }

        .json-result-flag {
            display: inline-block;
            width: 24px;
            height: auto;
            border-radius: 0;
            vertical-align: middle;
        }

        .json-rider-flag {
            flex: 0 0 auto;
        }

        .json-start-name {
            display: inline;
            flex: 0 1 auto;
            min-width: 0;
        }

        .json-start-meta {
            color: var(--mr-text-muted);
            font-size: 12px;
            font-weight: 600;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .json-start-team {
            flex: 1 1 auto;
        }

        .json-start-team.is-empty {
            min-width: 40px;
        }

        .json-start-category {
            flex: 0 0 auto;
        }

        .json-status-pill {
            display: inline-block;
            padding: 0.22rem 0.55rem;
            border-radius: 999px;
            background-color: var(--mr-black);
            color: var(--mr-white);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .json-empty {
            background-color: #FFFBEA;
            border: 1px solid #FACC15;
            border-left-width: 4px;
            border-radius: 12px;
            padding: 14px 18px;
            color: #78350F;
            font-size: 14px;
        }

        .json-error {
            background-color: #fff5f5;
            border: 1px solid #f2c7c7;
            border-left-width: 4px;
            border-radius: 12px;
            padding: 14px 18px;
            color: #8a1f1f;
        }

        .json-mobile-note {
            margin-top: 10px;
            color: var(--mr-text-muted);
            font-size: 12px;
        }

        .json-result-compact-note {
            display: none;
        }

        .json-live-table .json-weekend-col {
            min-width: 60px;
        }

        .json-live-table .json-rider-col {
            min-width: 190px;
            white-space: normal;
        }

        .json-live-table .json-total {
            min-width: 72px;
        }

        .json-live-table .json-number {
            min-width: 52px;
        }

        .json-live-series-page .json-header,
        .json-live-series-page .year-card {
            padding-left: 18px;
            padding-right: 18px;
        }

        .json-live-series-page .json-live-table .json-rider-col {
            min-width: 240px;
        }

        .json-live-series-page .json-live-table .json-weekend-col {
            min-width: 70px;
        }

        .json-live-series-page .json-live-table th,
        .json-live-series-page .json-live-table td {
            padding-left: 0.72rem;
            padding-right: 0.72rem;
        }

        .json-live-table td.json-points,
        .json-live-table td.json-time,
        .json-live-table td.json-gap,
        .json-live-table td.json-total {
            font-size: 11px;
        }

        .json-final-time {
            background: linear-gradient(90deg, rgba(251, 191, 36, 0.18), rgba(251, 191, 36, 0.04));
        }

        .json-final-time-col,
        .json-final-time {
            white-space: nowrap;
        }

        .json-time-main {
            display: inline-block;
            padding: 0;
            border-radius: 0;
            font-weight: 900;
            color: #C2410C;
            background: none;
            box-shadow: none;
            font-variant-numeric: tabular-nums;
            line-height: 1;
            font-size: 1rem;
            letter-spacing: -0.02em;
        }

        .json-time-penalty {
            display: block;
            margin-top: 3px;
            font-size: 10px;
            font-weight: 700;
            color: #9A3412;
            white-space: normal;
        }

        /* Ztrata pod casem - viditelna jen v kompaktu, kde je sloupec Ztrata skryty. */
        .json-time-gap-compact {
            display: none;
        }

        .json-gap-value {
            display: inline-block;
            font-weight: 800;
            color: #475569;
            font-variant-numeric: tabular-nums;
        }

        .json-live-table .json-rz-col {
            min-width: 60px;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table {
            width: max-content;
            min-width: 100%;
            table-layout: auto;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table th,
        .json-live-page:not(.json-live-series-page) .json-live-table td {
            padding: 0.42rem 0.34rem;
            font-size: 11px;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table th {
            font-size: 10px;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table .json-rank {
            width: auto;
            min-width: 32px;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table .json-number {
            width: auto;
            min-width: 48px;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table .json-rider-col {
            min-width: 176px;
            width: auto;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table .json-time,
        .json-live-page:not(.json-live-series-page) .json-live-table .json-gap,
        .json-live-page:not(.json-live-series-page) .json-live-table .json-points,
        .json-live-page:not(.json-live-series-page) .json-live-table .json-rz-col {
            font-size: 11px;
            letter-spacing: -0.01em;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table .json-time {
            width: auto;
            min-width: 96px;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table .json-gap {
            width: auto;
            min-width: 78px;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table .json-points {
            width: auto;
            min-width: 48px;
        }

        .json-live-page:not(.json-live-series-page) .json-live-table td.json-time:not(.json-rz-col) {
            font-weight: 800;
        }

        .json-live-page.is-compact-results:not(.json-live-series-page) .json-table-wrap {
            overflow-x: hidden;
        }

        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table {
            width: 100%;
            min-width: 100%;
            table-layout: fixed;
        }

        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-rz-col,
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-gap-col,
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-laps-col,
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-overview-rank-col,
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-schema4-meta-col,
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-points-detail-col {
            display: none;
        }

        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-time-gap-compact {
            display: block;
            margin-top: 3px;
            font-size: 10px;
            font-weight: 700;
            color: #475569;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table th:nth-child(1),
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table td.json-rank {
            width: 8%;
        }

        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table th:nth-child(2),
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table td.json-number {
            width: 10%;
        }

        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table th:nth-child(3),
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table td.json-rider-col {
            width: auto;
        }

        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-final-time-col,
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table td.json-final-time,
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-points-total-col {
            width: 18%;
        }

        /* U etapového závodu stojí Body vedle Času – stačí jim šířka na 1–3 číslice, zbytek patří jménu. */
        .json-live-page.is-compact-results:not(.json-live-series-page) .json-live-table .json-points-stage-total-col {
            width: 11%;
        }

        .json-live-page.is-compact-results .json-live-table .json-series-detail-col,
        .json-live-page.is-compact-results .json-live-table thead tr.json-series-detail-row {
            display: none;
        }

        .json-live-page.is-compact-results.json-live-series-page .json-table-wrap {
            overflow-x: hidden;
        }

        .json-live-page.is-compact-results.json-live-series-page .json-live-table {
            width: 100%;
            min-width: 100%;
            table-layout: fixed;
        }

        .json-live-page.is-compact-results.json-live-series-page .json-live-table th:nth-child(1),
        .json-live-page.is-compact-results.json-live-series-page .json-live-table td.json-rank {
            width: 8%;
        }

        .json-live-page.is-compact-results.json-live-series-page .json-live-table th:nth-child(2),
        .json-live-page.is-compact-results.json-live-series-page .json-live-table td.json-number {
            width: 10%;
        }

        .json-live-page.is-compact-results.json-live-series-page .json-live-table th:nth-child(4),
        .json-live-page.is-compact-results.json-live-series-page .json-live-table td.json-total {
            width: 18%;
        }

	        .result-row.has-detail {
	            cursor: pointer;
	            touch-action: auto;
	        }

	        .result-row.has-detail td {
	            touch-action: auto;
	        }

        .result-row.has-detail:hover td,
        .result-row.has-detail:focus td,
        .result-row.is-detail-open td {
            background-color: #FFFBEB;
        }

        .result-row.has-detail:hover .json-rider-name,
        .result-row.has-detail:focus .json-rider-name,
        .result-row.is-detail-open .json-rider-name {
            color: #9A3412;
        }

        .result-row.has-detail:focus-visible {
            outline: 2px solid var(--mr-yellow);
            outline-offset: 2px;
        }

        .result-detail-row td {
            padding: 0;
            background-color: #FFFCF2;
            white-space: normal;
        }

        .json-detail-cell {
            display: table-cell;
            padding: 18px 0 20px;
            border-top: 1px solid rgba(15, 23, 42, 0.08);
            min-width: 0;
            overflow: visible;
            white-space: normal;
        }

        .result-detail-row.is-loading .json-detail-cell,
        .result-detail-row.is-error .json-detail-cell {
            padding: 18px 20px 20px;
        }

        .json-detail-loading {
            width: min(920px, 100%);
            margin: 0 auto;
            padding: 18px 20px;
            border: 1px solid rgba(15, 23, 42, 0.1);
            border-radius: 14px;
            background: #FFFFFF;
            color: #475569;
            font-size: 0.95rem;
            font-weight: 800;
            text-align: center;
        }

        .json-rider-detail {
            display: flex;
            flex-direction: column;
            gap: 18px;
            position: relative;
            left: var(--json-detail-inline-offset, 0px);
            width: min(var(--json-detail-max-width), var(--json-detail-visible-width, calc(100vw - (var(--json-detail-side-gutter) * 2))), calc(100vw - (var(--json-detail-side-gutter) * 2)));
            max-width: 100%;
            margin: 0 auto;
            padding: 20px 24px 24px;
            background-color: #FFFFFF;
            border: 1px solid rgba(15, 23, 42, 0.12);
            border-radius: 20px;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
        }

        .json-rider-detail,
        .json-rider-detail * {
            box-sizing: border-box;
        }

        .json-mobile-sheet {
            position: fixed;
            left: var(--json-visual-viewport-left, 0px);
            top: var(--json-visual-viewport-top, 0px);
            width: var(--json-visual-viewport-width, 100vw);
            height: var(--json-visual-viewport-height, 100vh);
            right: auto;
            bottom: auto;
            z-index: 1400;
            display: block;
            --json-mobile-sheet-height: min(88vh, 920px);
        }

        .json-mobile-sheet[hidden] {
            display: none;
        }

        .json-mobile-sheet-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(15, 23, 42, 0.44);
            opacity: 0;
            transition: opacity 0.22s ease;
        }

        .json-mobile-sheet-panel {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            max-height: var(--json-mobile-sheet-height);
            padding: 10px 12px 18px;
            background: #F9FAFB;
            border-radius: 22px 22px 0 0;
            box-shadow: 0 -18px 44px rgba(15, 23, 42, 0.24);
            transform: translateY(100%);
            transition: transform 0.24s ease;
            overflow: hidden;
        }

        .json-mobile-sheet.is-open .json-mobile-sheet-backdrop {
            opacity: 1;
        }

        .json-mobile-sheet.is-open .json-mobile-sheet-panel {
            transform: translateY(0);
        }

        .json-mobile-sheet-handle {
            width: 54px;
            height: 5px;
            margin: 0 auto 10px;
            border-radius: 999px;
            background: rgba(100, 116, 139, 0.35);
        }

        .json-mobile-sheet-close {
            position: absolute;
            top: 10px;
            right: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            padding: 0;
            border: 1px solid rgba(15, 23, 42, 0.12);
            border-radius: 999px;
            background: #FFFFFF;
            color: var(--mr-black);
            font-size: 1.5rem;
            font-weight: 500;
            line-height: 1;
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
        }

        .json-mobile-sheet-body {
            max-height: calc(var(--json-mobile-sheet-height) - 56px);
            overflow-y: auto;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
            padding-right: 2px;
        }

        .json-mobile-sheet-body .json-rider-detail {
            gap: 14px;
            position: static;
            left: auto;
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding: 0 0 12px;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            background: transparent;
        }

        .json-mobile-sheet-body .json-detail-close {
            display: none;
        }

        body.json-results-page .json-mobile-sheet-body .json-detail-results-grid {
            gap: 10px;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            align-items: stretch;
            padding: 12px 14px;
            background-color: #343A40;
            border-radius: 14px;
            overflow: hidden;
        }

        body.json-results-page .json-mobile-sheet-body .json-detail-stat,
        body.json-results-page .json-mobile-sheet-body .json-detail-stat.is-result,
        body.json-results-page .json-mobile-sheet-body .json-detail-stat.is-gap {
            min-width: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            gap: 4px;
            padding: 10px 12px;
            background-color: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
        }

        body.json-results-page .json-mobile-sheet-body .json-detail-stat.is-result,
        body.json-results-page .json-mobile-sheet-body .json-detail-stat.is-gap {
            grid-column: 1 / -1;
        }

        body.json-results-page .json-mobile-sheet-body .json-detail-stat-label {
            margin-bottom: 0;
            color: rgba(255, 255, 255, 0.88);
            font-size: 10px;
        }

        body.json-results-page .json-mobile-sheet-body .json-detail-stat-value {
            font-size: 1rem;
            letter-spacing: 0;
            width: 100%;
            white-space: normal;
            overflow: visible;
            color: #FFFFFF;
            text-align: left;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        body.json-results-page .json-mobile-sheet-body .json-detail-stat.is-rank .json-detail-stat-value,
        body.json-results-page .json-mobile-sheet-body .json-detail-stat.is-result .json-detail-stat-value {
            font-size: clamp(1.4rem, 8vw, 1.85rem);
            color: #FFFFFF;
            line-height: 1;
            white-space: nowrap;
            overflow-wrap: normal;
            word-break: normal;
        }

        .json-detail-head {
            display: flex;
            flex-direction: column;
            gap: 16px;
            min-width: 0;
        }

        .json-detail-head-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .json-detail-head-top > * {
            min-width: 0;
        }

        .json-detail-rider-photo {
            flex: 0 0 auto;
            display: block;
            width: 72px;
            height: 72px;
            border-radius: 12px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.08);
        }

        .json-detail-rider-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .json-detail-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex: 0 0 auto;
            flex-wrap: wrap;
            gap: 8px;
        }

        .json-certificate-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            min-height: 34px;
            padding: 0.45rem 0.85rem;
            border: 1px solid #9A3412;
            border-radius: 4px;
            background: #C2410C;
            color: #FFFFFF;
            font-size: 12px;
            font-weight: 800;
            line-height: 1;
            text-decoration: none;
            white-space: nowrap;
            box-shadow: 0 10px 18px rgba(194, 65, 12, 0.18);
            transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

        .json-certificate-button:hover,
        .json-certificate-button:focus-visible {
            color: #FFFFFF;
            background: #9A3412;
            text-decoration: none;
            transform: translateY(-1px);
            box-shadow: 0 12px 22px rgba(154, 52, 18, 0.22);
        }

        .json-certificate-button:focus-visible {
            outline: 2px solid rgba(15, 23, 42, 0.32);
            outline-offset: 2px;
        }

        .json-detail-rider-name {
            margin: 0;
            margin-right: auto;
            font-size: clamp(1.8rem, 3vw, 2.45rem);
            font-weight: 900;
            letter-spacing: -0.04em;
            line-height: 1.02;
            color: var(--mr-black);
        }

        .json-detail-close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 42px;
            height: 42px;
            padding: 0;
            border: 1px solid rgba(15, 23, 42, 0.14);
            border-radius: 999px;
            background-color: #FFFFFF;
            color: var(--mr-black);
            font-size: 1.7rem;
            font-weight: 500;
            line-height: 1;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .json-detail-close:hover {
            transform: translateY(-1px);
            border-color: rgba(15, 23, 42, 0.22);
            box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
        }

        .json-detail-close:focus-visible {
            outline: 2px solid rgba(15, 23, 42, 0.32);
            outline-offset: 2px;
        }

        .json-detail-meta-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 12px 18px;
            min-width: 0;
        }

        .json-detail-meta-item {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 10px 12px;
            background-color: #F8FAFC;
            border: 1px solid rgba(15, 23, 42, 0.06);
            border-radius: 12px;
        }

        .json-detail-meta-item.is-team {
            grid-column: span 2;
        }

        .json-detail-meta-item.is-compact .json-detail-meta-value {
            white-space: nowrap;
        }

        .json-detail-meta-label {
            display: block;
            margin-bottom: 4px;
            font-size: 10px;
            font-weight: 700;
            color: var(--mr-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .json-detail-meta-value {
            display: block;
            font-size: 1rem;
            font-weight: 800;
            color: var(--mr-black);
            line-height: 1.2;
            min-width: 0;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: anywhere;
        }

        .json-detail-section {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .json-detail-section-title {
            display: inline-flex;
            align-items: center;
            align-self: flex-start;
            min-width: 180px;
            padding: 0.35rem 0.8rem;
            border-radius: 4px;
            background-color: #4B5563;
            color: #FFFFFF;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .json-certificate-preview-heading {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 10px;
            flex-wrap: wrap;
        }

        .json-certificate-preview-heading .json-detail-section-title {
            margin: 0;
        }

        .json-detail-results-grid {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            gap: 12px 16px;
            min-width: 0;
        }

        .json-detail-stat {
            min-width: 120px;
            min-width: max-content;
            flex: 1 1 120px;
            padding: 0;
            background: none;
            border: 0;
            border-radius: 0;
            box-shadow: none;
        }

        .json-detail-stat.is-result {
            flex: 2.2 1 280px;
            background: none;
        }

        .json-detail-stat.is-gap {
            flex: 1.5 1 220px;
            background: none;
        }

        .json-detail-stat-label {
            display: block;
            margin-bottom: 4px;
            font-size: 11px;
            font-weight: 700;
            color: var(--mr-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .json-detail-stat-value {
            display: block;
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--mr-black);
            font-variant-numeric: tabular-nums;
            letter-spacing: -0.04em;
            line-height: 1.05;
            max-width: 100%;
            white-space: nowrap;
            overflow-wrap: anywhere;
        }

        .json-detail-stat.is-result .json-detail-stat-value {
            font-size: clamp(1.8rem, 3vw, 2.35rem);
            color: #C2410C;
            letter-spacing: -0.06em;
        }

        .json-detail-stat.is-gap .json-detail-stat-value {
            color: #334155;
            font-size: clamp(1.45rem, 2.4vw, 1.85rem);
        }

        .json-detail-card {
            background-color: #FFFCF2;
            border: 1px solid rgba(15, 23, 42, 0.08);
            border-radius: 14px;
            padding: 12px 14px;
            min-width: 0;
        }

        .json-detail-card h3 {
            display: none;
        }

        .json-video-audit-card {
            background-color: #F8FAFC;
        }

        .json-video-audit-list {
            display: grid;
            gap: 12px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .json-video-audit-item {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 10px 14px;
            align-items: start;
            padding: 12px;
            border: 1px solid rgba(15, 23, 42, 0.08);
            border-radius: 8px;
            background-color: #FFFFFF;
        }

        .json-video-audit-meta {
            display: flex;
            flex-direction: column;
            gap: 4px;
            min-width: 0;
            color: var(--mr-black);
        }

        .json-video-audit-split {
            font-size: 0.95rem;
            font-weight: 900;
            line-height: 1.25;
            overflow-wrap: anywhere;
        }

        .json-video-audit-time {
            color: var(--mr-text-muted);
            font-size: 12px;
            font-weight: 800;
            line-height: 1.25;
            font-variant-numeric: tabular-nums;
        }

        .json-video-audit-player {
            grid-column: 1 / -1;
            width: 100%;
            max-height: 360px;
            border-radius: 8px;
            background-color: #111827;
        }

        .json-video-audit-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 32px;
            padding: 0.4rem 0.75rem;
            border: 1px solid rgba(15, 23, 42, 0.18);
            border-radius: 4px;
            background-color: #FFFFFF;
            color: var(--mr-black);
            font-size: 12px;
            font-weight: 900;
            line-height: 1;
            text-decoration: none;
            white-space: nowrap;
        }

        .json-video-audit-link:hover,
        .json-video-audit-link:focus-visible {
            color: var(--mr-black);
            border-color: rgba(15, 23, 42, 0.34);
            text-decoration: none;
        }

        .json-race-video-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 10px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .json-race-video-item {
            display: grid;
            grid-template-rows: auto 1fr auto;
            gap: 6px;
            min-width: 0;
            padding: 8px;
            border: 1px solid rgba(15, 23, 42, 0.08);
            border-radius: 8px;
            background-color: #FFFFFF;
        }

        .json-race-video-item.is-active {
            grid-column: 1 / -1;
        }

        .json-race-video-item.is-highlighted {
            outline: 2px solid var(--mr-yellow);
            outline-offset: 2px;
        }

        .json-race-video-meta {
            display: flex;
            flex-direction: column;
            gap: 4px;
            min-width: 0;
            color: var(--mr-black);
        }

        .json-race-video-title {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-size: 12px;
            font-weight: 900;
            line-height: 1.25;
            white-space: normal;
            overflow-wrap: anywhere;
        }

        .json-race-video-item.is-active .json-race-video-title {
            -webkit-line-clamp: unset;
        }

        .json-race-video-item.is-active .json-race-video-title {
            font-size: 0.95rem;
        }

        .json-race-video-frame {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            border-radius: 8px;
            overflow: hidden;
            background-color: #111827;
        }

        .json-race-video-frame iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        .json-race-video-play {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            padding: 0;
            border: 0;
            background: linear-gradient(180deg, #1F2937, #111827);
            color: #FFFFFF;
            cursor: pointer;
        }

        .json-race-video-play-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background-color: var(--mr-yellow);
            color: #111827;
            transition: transform 0.15s ease;
        }

        .json-race-video-play-icon svg {
            width: 16px;
            height: 16px;
            margin-left: 2px;
        }

        .json-race-video-play-text {
            font-size: 10px;
            font-weight: 900;
            letter-spacing: 0.02em;
        }

        .json-race-video-play:hover .json-race-video-play-icon,
        .json-race-video-play:focus-visible .json-race-video-play-icon {
            transform: scale(1.08);
        }

        .json-race-video-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            justify-self: start;
            min-height: 26px;
            padding: 0.3rem 0.55rem;
            border: 1px solid rgba(15, 23, 42, 0.18);
            border-radius: 4px;
            background-color: #FFFFFF;
            color: var(--mr-black);
            font-size: 10px;
            font-weight: 900;
            line-height: 1;
            text-decoration: none;
            white-space: nowrap;
        }

        .json-race-video-link:hover,
        .json-race-video-link:focus-visible {
            color: var(--mr-black);
            border-color: rgba(15, 23, 42, 0.34);
            text-decoration: none;
        }

        .json-race-video-ck-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            margin-left: 8px;
            padding: 0;
            border: 1px solid rgba(15, 23, 42, 0.18);
            border-radius: 50%;
            background-color: #FFFFFF;
            color: var(--mr-black);
            cursor: pointer;
            vertical-align: middle;
        }

        .json-race-video-ck-icon svg {
            width: 12px;
            height: 12px;
            margin-left: 1px;
        }

        .json-race-video-ck-icon:hover,
        .json-race-video-ck-icon:focus-visible {
            border-color: var(--mr-yellow);
            background-color: var(--mr-yellow-soft);
        }

        .json-certificate-preview-card {
            align-self: center;
            width: 100%;
            max-width: 980px;
            padding: 0;
            overflow: hidden;
            background: #FFFFFF;
        }

        .json-certificate-preview-card.is-portrait {
            max-width: 560px;
        }

        .json-certificate-preview-surface {
            container-type: inline-size;
            position: relative;
            width: 100%;
            aspect-ratio: 297 / 210;
            background: #FFFFFF;
            background-position: center;
            background-repeat: no-repeat;
            background-size: 100% 100%;
            overflow: hidden;
        }

        .json-certificate-preview-surface.is-portrait {
            aspect-ratio: 210 / 297;
        }

        .json-certificate-preview-field {
            position: absolute;
            display: flex;
            align-items: center;
            min-width: 0;
            padding: 0;
            overflow: hidden;
            white-space: pre-wrap;
            overflow-wrap: anywhere;
        }

        .json-certificate-preview-field span {
            display: block;
            width: 100%;
        }

        .json-detail-table {
            width: 100%;
            max-width: 420px;
            border-collapse: collapse;
        }

        .json-detail-table th,
        .json-detail-table td {
            padding: 0.34rem 0.4rem;
            border-bottom: 1px solid rgba(15, 23, 42, 0.08);
            font-size: 12px;
            text-align: left;
            vertical-align: top;
        }

        .json-detail-table th {
            font-size: 11px;
            color: var(--mr-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .json-detail-table th.json-detail-key-time {
            color: var(--mr-black);
        }

        .json-detail-table td.json-detail-time {
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .json-detail-table td.json-detail-time-strong {
            font-weight: 900;
            color: var(--mr-black);
            font-size: 1.05rem;
            letter-spacing: -0.03em;
            white-space: nowrap;
        }

        .json-detail-table td.json-detail-rank {
            width: 52px;
            font-weight: 800;
            color: var(--mr-black);
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .json-detail-rank-table th.json-detail-rank-heading,
        .json-detail-rank-table td.json-detail-rank {
            width: 58px;
            text-align: right;
        }

        .json-detail-stage-table td.json-detail-stage-status {
            color: var(--mr-text-muted);
            font-weight: 600;
            text-align: left;
        }

        .json-detail-stage-table tr.is-not-ridden td {
            opacity: .72;
        }

        .json-detail-table td.json-detail-time-strong .json-detail-stage-note,
        .json-detail-table td.json-detail-time-strong .json-detail-segment-pace {
            display: block;
            margin-top: 2px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0;
            color: var(--mr-text-muted);
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .json-detail-table td::before {
            content: none;
        }

        .json-detail-table tr:last-child td {
            border-bottom: 0;
        }

        .json-lap-card {
            max-width: none;
        }

        .json-lap-list {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 0.32rem 0.6rem;
            max-width: 100%;
            color: var(--mr-black);
        }

        .json-lap-item {
            display: inline-flex;
            align-items: baseline;
            gap: 0.25rem;
            max-width: 100%;
            white-space: nowrap;
            font-variant-numeric: tabular-nums;
            line-height: 1.45;
        }

        .json-lap-item:not(:last-child)::after {
            content: "|";
            margin-left: 0.6rem;
            color: rgba(15, 23, 42, 0.32);
            font-weight: 600;
        }

        .json-lap-number {
            color: var(--mr-text-muted);
            font-size: 0.82rem;
            font-weight: 800;
        }

        .json-lap-time {
            color: var(--mr-black);
            font-size: 0.95rem;
            font-weight: 900;
        }

        .json-lap-item.is-best-lap .json-lap-number,
        .json-lap-item.is-best-lap .json-lap-time {
            color: #C2410C;
        }

        @media (max-width: 980px) {
            .json-detail-meta-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .json-detail-meta-item.is-team {
                grid-column: 1 / -1;
            }
        }

        .json-detail-penalty-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .json-detail-penalty {
            padding: 10px 12px;
            border-radius: 12px;
            background-color: #FFF7ED;
            border: 1px solid #FED7AA;
        }

        .json-mobile-sheet {
            display: none;
        }

        body.json-results-page.json-mobile-detail-mode .json-mobile-sheet {
            display: block;
        }

        body.json-results-page.json-mobile-detail-mode .json-mobile-sheet[hidden] {
            display: none;
        }

        .json-detail-penalty-time {
            display: block;
            margin-bottom: 3px;
            font-size: 12px;
            font-weight: 800;
            color: #9A3412;
            font-variant-numeric: tabular-nums;
        }

        .json-detail-penalty-text {
            display: block;
            font-size: 12px;
            line-height: 1.4;
            color: #7C2D12;
            white-space: normal;
        }

        .json-detail-result-note {
            margin-top: 4px;
            font-size: 12px;
            color: var(--mr-text-muted);
            white-space: normal;
        }

        .json-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 16px;
        }

        .json-tab-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(0, 0, 0, 0.1);
            background-color: #FFFFFF;
            color: var(--mr-text-main);
            border-radius: 999px;
            padding: 0.45rem 0.95rem;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-decoration: none;
            text-transform: uppercase;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

        .json-tab-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
        }

        .json-tab-button.is-active {
            background-color: var(--mr-black);
            border-color: var(--mr-black);
            color: var(--mr-white);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
        }

        @keyframes jsonLiveTabBlink {
            0%, 100% {
                background-color: var(--mr-yellow);
                box-shadow: 0 0 0 0 rgba(251, 209, 6, 0.72), 0 10px 24px rgba(0, 0, 0, 0.12);
            }
            50% {
                background-color: #FFF3A3;
                box-shadow: 0 0 0 7px rgba(251, 209, 6, 0.18), 0 14px 30px rgba(0, 0, 0, 0.15);
            }
        }

        .json-tab-button.json-live-tab-button,
        .json-tab-button.json-live-tab-button.is-active {
            background-color: var(--mr-yellow);
            border-color: var(--mr-yellow-strong);
            color: var(--mr-black);
            animation: jsonLiveTabBlink 1.35s ease-in-out infinite;
        }

        .json-tab-button.json-live-tab-button:hover {
            background-color: var(--mr-yellow-strong);
        }

        @media (prefers-reduced-motion: reduce) {
            .json-tab-button.json-live-tab-button {
                animation: none;
                box-shadow: 0 0 0 3px rgba(251, 209, 6, 0.22);
            }
        }

        .json-tab-panel {
            display: none;
        }

        .json-tab-panel.is-active {
            display: block;
        }

        .json-tab-panel[data-tab-panel="leaderboard"] {
            --json-leaderboard-overlap: 86px;
            --json-leaderboard-sections-lift: -86px;
            --json-leaderboard-pad-x: 24px;
            --json-leaderboard-pad-y: 24px;
            --json-leaderboard-bottom-gap: 18px;
        }

        .json-view-switcher-note {
            margin: 0 0 2px;
            color: var(--mr-text-muted);
            font-size: 13px;
        }

        .json-leaderboard-hero {
            position: relative;
            overflow: hidden;
            min-height: 320px;
            padding: var(--json-leaderboard-pad-y) var(--json-leaderboard-pad-x) calc(var(--json-leaderboard-pad-y) + var(--json-leaderboard-overlap) + var(--json-leaderboard-bottom-gap));
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            background:
                linear-gradient(135deg, rgba(13, 17, 23, 0.86), rgba(17, 24, 39, 0.72)),
                linear-gradient(135deg, #111827, #374151);
            box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
            color: #FFFFFF;
        }

        .json-leaderboard-hero.has-cover {
            background-size: cover;
            background-position: center center;
        }

        .json-leaderboard-copy {
            max-width: 720px;
        }

        .json-leaderboard-kicker {
            display: inline-block;
            margin-bottom: 10px;
            padding: 0.3rem 0.7rem;
            border-radius: 999px;
            background-color: rgba(255, 255, 255, 0.12);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .json-leaderboard-title {
            margin: 0;
            font-size: clamp(1.8rem, 3.6vw, 3rem);
            line-height: 1.05;
            text-transform: uppercase;
        }

        .json-leaderboard-text {
            margin: 12px 0 0;
            max-width: 560px;
            color: rgba(255, 255, 255, 0.82);
            font-size: 15px;
            line-height: 1.55;
        }

        .json-leaderboard-sections {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: 22px;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            margin-top: var(--json-leaderboard-sections-lift);
            padding: 0 0 4px;
        }

        .json-leaderboard-group {
            min-width: 0;
        }

        .json-leaderboard-group-heading {
            display: inline-flex;
            align-items: center;
            margin: 0 0 10px 6px;
            padding: 0.42rem 0.8rem;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.55);
            background-color: rgba(255, 255, 255, 0.82);
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
            backdrop-filter: blur(8px);
            color: var(--mr-text-muted);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .json-leaderboard-grid {
            display: grid;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
            gap: 14px;
            justify-content: stretch;
            align-items: stretch;
        }

        .json-leaderboard-card {
            display: flex;
            flex-direction: column;
            background-color: rgba(255, 255, 255, 0.96);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 18px;
            padding: 14px;
            box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
            backdrop-filter: blur(12px);
            min-width: 0;
            width: 100%;
            max-width: 100%;
        }

        .json-leaderboard-card h2 {
            margin: 0 0 10px;
            font-size: 1rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            overflow-wrap: anywhere;
            text-wrap: balance;
        }

        .json-leaderboard-list {
            display: flex;
            flex-direction: column;
            flex: 1 1 auto;
            gap: 0;
        }

        .json-leaderboard-more {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            align-self: flex-start;
            min-height: 38px;
            margin-top: 14px;
            padding: 0.56rem 0.82rem;
            border-radius: 8px;
            border: 1px solid var(--mr-black);
            background-color: var(--mr-black);
            color: var(--mr-white);
            font-size: 13px;
            font-weight: 800;
            line-height: 1;
            text-decoration: none;
            transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
        }

        .json-leaderboard-more::after {
            content: "->";
            font-weight: 900;
        }

        .json-leaderboard-more:hover,
        .json-leaderboard-more:focus {
            transform: translateY(-1px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
            color: var(--mr-white);
            text-decoration: none;
        }

        .json-leaderboard-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 12px;
            align-items: start;
        }

        .json-leaderboard-row + .json-leaderboard-row {
            border-top: 1px solid rgba(15, 23, 42, 0.08);
            margin-top: 12px;
            padding-top: 12px;
        }

        .json-leaderboard-top {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: 10px;
            align-items: start;
            min-width: 0;
        }

        .json-leaderboard-rank {
            display: flex;
            flex: 0 0 auto;
            align-self: start;
        }

        .json-leaderboard-identity {
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

        .json-leaderboard-mainline {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 8px;
            min-width: 0;
        }

        .json-leaderboard-number {
            display: inline-block;
            font-size: 13px;
            font-weight: 800;
            color: var(--mr-text-muted);
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
            margin-right: 0;
        }

        .json-leaderboard-name {
            display: inline-block;
            min-width: 0;
            font-size: 15px;
            font-weight: 800;
            color: var(--mr-black);
            line-height: 1.25;
            overflow-wrap: anywhere;
        }

        .json-leaderboard-meta {
            display: block;
            margin-top: 4px;
            font-size: 12px;
            color: var(--mr-text-muted);
            line-height: 1.35;
        }

        .json-leaderboard-bottom {
            justify-self: end;
            min-width: 106px;
            text-align: right;
        }

        .json-leaderboard-time {
            display: block;
            font-size: 16px;
            font-weight: 800;
            color: var(--mr-black);
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .json-place-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 30px;
            height: 30px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 800;
            color: var(--mr-black);
            background: linear-gradient(135deg, #FDE68A, #FACC15);
        }

        .json-place-badge.is-empty {
            background: transparent;
            color: transparent;
        }

        .json-place-2 {
            background: linear-gradient(135deg, #E5E7EB, #CBD5E1);
        }

        .json-place-3 {
            background: linear-gradient(135deg, #F5D0A9, #D97706);
            color: #000000;
        }

        .json-panel-card + .json-panel-card {
            margin-top: 16px;
        }

        @media (max-width: 1720px) {
            .json-leaderboard-grid {
                grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
            }
        }

        @media (max-width: 1360px) {
            .json-leaderboard-grid {
                grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
            }
        }

        @media (max-width: 1180px) {
            .json-leaderboard-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                justify-content: stretch;
            }

            .json-leaderboard-card {
                width: 100%;
                max-width: 100%;
            }

            .json-leaderboard-name {
                font-size: 14px;
            }

            .json-leaderboard-meta {
                font-size: 11px;
            }

            .json-leaderboard-time {
                font-size: 15px;
            }
        }

        @media (max-width: 980px) {
            .json-leaderboard-grid {
                grid-template-columns: 1fr;
                justify-content: stretch;
            }

            .json-leaderboard-card {
                width: 100%;
                max-width: 100%;
            }

            .json-leaderboard-title {
                font-size: clamp(1.5rem, 5vw, 2.2rem);
            }

            .json-leaderboard-text {
                font-size: 14px;
            }
        }

        @media (max-width: 620px) {
            .json-leaderboard-row {
                grid-template-columns: 1fr;
                gap: 6px;
            }

            .json-leaderboard-bottom {
                justify-self: stretch;
                width: 100%;
                min-width: 0;
                text-align: right;
                padding-right: 8px;
            }

            .json-leaderboard-time {
                text-align: right;
            }

        }

        .json-start-table td:first-child {
            text-align: left;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .json-start-table {
            width: 100%;
            min-width: 100%;
            table-layout: auto;
        }

	        .json-start-table .json-rider-col {
	            width: 100%;
	            min-width: 0;
	        }

	        .json-tab-button[hidden],
	        .json-tab-panel[hidden] {
	            display: none;
	        }

	        .json-watch-tab-count {
	            display: inline-flex;
	            align-items: center;
	            justify-content: center;
	            min-width: 22px;
	            height: 22px;
	            margin-left: 8px;
	            padding: 0 6px;
	            border-radius: 999px;
	            background-color: rgba(15, 23, 42, 0.08);
	            font-size: 11px;
	            font-weight: 900;
	            font-variant-numeric: tabular-nums;
	        }

	        .json-tab-button.is-active .json-watch-tab-count {
	            background-color: rgba(255, 255, 255, 0.18);
	        }

        .json-live-iframe-card {
            display: grid;
            gap: 14px;
        }

        .json-live-iframe-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 14px;
            min-width: 0;
        }

        .json-live-iframe-title {
            margin: 0;
            color: var(--mr-black);
            font-size: 1.18rem;
            font-weight: 900;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .json-live-iframe-note {
            margin: 4px 0 0;
            color: var(--mr-text-muted);
            line-height: 1.4;
        }

        .json-live-iframe-link {
            flex: 0 0 auto;
            color: var(--mr-black);
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.06em;
            text-decoration: underline;
            text-transform: uppercase;
        }

        .json-live-iframe-wrap {
            width: 100%;
            min-height: min(var(--json-live-iframe-height, 720px), 78vh);
            overflow: hidden;
            border: 1px solid rgba(15, 23, 42, 0.12);
            border-radius: 14px;
            background: #FFFFFF;
        }

        .json-live-iframe {
            display: block;
            width: 100%;
            height: min(var(--json-live-iframe-height, 720px), 78vh);
            min-height: 420px;
            border: 0;
            background: #FFFFFF;
        }

        .json-live-iframe-card.is-autosized .json-live-iframe-wrap {
            min-height: 0;
        }

        .json-live-iframe-card.is-autosized .json-live-iframe {
            min-height: 260px;
        }

        @media (max-width: 620px) {
            .json-live-iframe-head {
                align-items: flex-start;
                flex-direction: column;
            }

            .json-live-iframe-wrap,
            .json-live-iframe {
                min-height: 620px;
                height: min(var(--json-live-iframe-height, 720px), 82vh);
            }
        }

	        .json-watch-layout {
	            display: grid;
	            grid-template-columns: minmax(0, 1fr);
	            gap: 16px;
	        }

	        .json-watch-layout.has-map {
	            grid-template-columns: minmax(0, 1fr) minmax(320px, 44%);
	            align-items: stretch;
	        }

            .json-watch-list-panel,
            .json-watch-map-card {
                min-width: 0;
            }

	        .json-watch-list {
	            display: flex;
	            flex-direction: column;
	            gap: 10px;
	        }

		        .json-watch-card {
		            width: 100%;
		            border: 1px solid rgba(15, 23, 42, 0.1);
		            border-radius: 12px;
		            background-color: #FFFFFF;
		            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
		            overflow: hidden;
		        }

                .json-watch-card-summary {
                    display: grid;
                    grid-template-columns: minmax(0, 1fr) auto auto auto;
                    gap: 12px;
                    align-items: center;
                    width: 100%;
                    padding: 12px 14px;
                    cursor: pointer;
                }

                .json-watch-card:hover,
                .json-watch-card:focus-within {
                    border-color: rgba(225, 29, 72, 0.28);
                }

		        .json-watch-card:hover .json-watch-card-summary,
		        .json-watch-card-summary:focus {
		            background-color: #FFF8FA;
		        }

                .json-watch-card.is-open {
                    border-color: rgba(225, 29, 72, 0.32);
                    box-shadow: 0 14px 28px rgba(225, 29, 72, 0.1);
                }

		        .json-watch-card-summary:focus-visible {
		            outline: 2px solid #E11D48;
		            outline-offset: -2px;
		        }

	        .json-watch-rank {
	            display: inline-flex;
	            align-items: center;
	            justify-content: center;
	            min-width: 36px;
	            height: 36px;
	            border-radius: 999px;
	            background-color: #FDE68A;
	            color: var(--mr-black);
	            font-size: 13px;
	            font-weight: 900;
	            font-variant-numeric: tabular-nums;
	        }

	        .json-watch-main {
	            min-width: 0;
	        }

	        .json-watch-name {
	            display: block;
	            color: var(--mr-black);
	            font-size: 14px;
	            font-weight: 900;
	            line-height: 1.25;
	            overflow-wrap: anywhere;
	        }

		        .json-watch-meta {
		            display: block;
		            margin-top: 3px;
		            color: var(--mr-text-muted);
		            font-size: 12px;
	            line-height: 1.35;
		            overflow-wrap: anywhere;
		        }

                .json-watch-current-point {
                    display: block;
                    margin-top: 5px;
                    color: #9F1239;
                    font-size: 11px;
                    font-weight: 800;
                    line-height: 1.3;
                    overflow-wrap: anywhere;
                }

		        .json-watch-result {
		            display: flex;
		            flex-direction: column;
		            align-items: flex-end;
	            gap: 4px;
	            min-width: 92px;
	            text-align: right;
	        }

	        .json-watch-result-label {
	            color: var(--mr-text-muted);
	            font-size: 10px;
	            font-weight: 800;
	            letter-spacing: 0.08em;
	            text-transform: uppercase;
	        }

	        .json-watch-result-value {
	            color: #C2410C;
	            font-size: 15px;
	            font-weight: 900;
	            font-variant-numeric: tabular-nums;
		            white-space: nowrap;
		        }

                .json-watch-stats {
                    display: grid;
                    grid-template-columns: repeat(2, minmax(70px, auto));
                    gap: 8px;
                }

                .json-watch-stat {
                    display: flex;
                    flex-direction: column;
                    gap: 3px;
                    min-width: 0;
                    text-align: right;
                }

                .json-watch-stat-label {
                    color: var(--mr-text-muted);
                    font-size: 10px;
                    font-weight: 800;
                    letter-spacing: 0.08em;
                    text-transform: uppercase;
                }

                .json-watch-stat-value {
                    color: var(--mr-black);
                    font-size: 15px;
                    font-weight: 900;
                    font-variant-numeric: tabular-nums;
                    white-space: nowrap;
                }

		        .json-watch-actions {
		            display: inline-flex;
		            align-items: center;
		            gap: 8px;
		        }

                .json-watch-detail {
                    border-top: 1px solid rgba(15, 23, 42, 0.08);
                    padding: 14px;
                    background-color: #FFFFFF;
                }

                .json-watch-detail[hidden] {
                    display: none;
                }

                .json-watch-detail .json-rider-detail {
                    position: static;
                    left: auto;
                    width: 100%;
                    max-width: 100%;
                    margin: 0;
                    padding: 0;
                    border: 0;
                    border-radius: 0;
                    box-shadow: none;
                }

	        .json-watch-empty {
	            margin: 0;
	        }

	        .json-watch-map-card {
	            min-height: 460px;
	        }

	        .json-watch-map-canvas {
	            width: 100%;
	            min-height: 460px;
	            border: 1px solid rgba(15, 23, 42, 0.12);
	            border-radius: 14px;
	            background: #dbe4e9;
	            overflow: hidden;
	        }

	        @media (max-width: 768px) {
	            .json-live-page {
                --json-detail-side-gutter: 10px;
                --json-mobile-rank-col: 10%;
                --json-mobile-number-col: 12%;
                --json-mobile-rider-col: calc(100% - var(--json-mobile-rank-col) - var(--json-mobile-number-col) - var(--json-mobile-time-col) - var(--json-mobile-compare-col, 32px));
                --json-mobile-time-col: 27%;
                --json-mobile-cell-font: 10px;
                --json-mobile-cell-pad-y: 0.45rem;
                --json-mobile-cell-pad-x: 0.24rem;
                --json-mobile-name-font: 11px;
                --json-mobile-meta-font: 9px;
                --json-mobile-time-font: 0.72rem;
                --json-mobile-detail-label-col: 78px;
                --json-mobile-detail-col-1: 22%;
                --json-mobile-detail-col-2: 56%;
                --json-mobile-detail-col-3: 22%;
                --json-mobile-detail-section-font: 1rem;
                --json-mobile-detail-result-font: clamp(1.02rem, 5.2vw, 1.24rem);
                --json-mobile-detail-gap-font: clamp(0.88rem, 4.4vw, 1rem);
                width: 100%;
                padding-left: 4px;
                padding-right: 4px;
                margin-top: 8px;
            }

            .json-header,
            .year-card {
                padding-left: 12px;
                padding-right: 12px;
            }

            .json-header-top {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }

            .json-event-title {
                font-size: clamp(1.2rem, 6vw, 1.8rem);
                letter-spacing: 0.045em;
            }

            .json-brand-logo {
                width: clamp(120px, 42vw, 160px);
            }

            .json-subtitle {
                margin-top: 6px;
                font-size: 0.88rem;
            }

            .json-summary {
                width: 100%;
                white-space: normal;
            }

            .json-toolbar-actions {
                width: 100%;
                justify-content: space-between;
            }

            .json-toolbar-actions .json-summary {
                width: auto;
            }

            .json-search {
                max-width: 100%;
            }

            .json-filter-bar .btnFilter1 {
                width: auto;
                margin-left: 0;
                margin-right: 0;
            }

            .json-course-sticky {
                top: 6px;
                display: flex;
                flex-wrap: nowrap;
                gap: 8px;
                overflow-x: auto;
                overflow-y: hidden;
                padding: 6px 0 8px;
                margin-bottom: 12px;
                scrollbar-width: none;
            }

            .json-course-sticky::-webkit-scrollbar {
                display: none;
            }

            .json-course-sticky .btnFilter1 {
                flex: 0 0 auto;
            }

            .json-track-card,
            .start-track-card {
                scroll-margin-top: 106px;
            }

            .json-live-table {
                min-width: 680px;
            }

            .json-live-page:not(.json-live-series-page) .json-live-table {
                width: 100%;
                min-width: 100%;
                table-layout: fixed;
            }

            .json-live-series-page .json-header,
            .json-live-series-page .year-card {
                padding-left: 12px;
                padding-right: 12px;
            }

            .json-live-series-page .json-live-table {
                min-width: 760px;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-rz-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-gap-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-laps-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-overview-rank-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-schema4-meta-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-points-detail-col {
                display: none;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap {
                overflow-x: hidden;
            }

            .json-live-page.is-full-results:not(.json-live-series-page) .json-table-wrap {
                overflow-x: auto;
            }

            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table {
                width: max-content;
                min-width: 680px;
                table-layout: auto;
            }

            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table .json-rz-col,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table .json-gap-col,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table .json-laps-col,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table .json-overview-rank-col,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table .json-schema4-meta-col,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table .json-points-detail-col {
                display: table-cell;
            }

            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table th:nth-child(1),
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table td.json-rank,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table th:nth-child(2),
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table td.json-number,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table th:nth-child(3),
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table td.json-rider-col,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table .json-final-time-col,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table td.json-final-time,
            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table td.json-time:not(.json-rz-col) {
                width: auto;
            }

            .json-live-page.is-compact-results .json-result-compact-note {
                display: block;
            }

            .json-live-page:not(.json-live-series-page) .json-live-table th,
            .json-live-page:not(.json-live-series-page) .json-live-table td {
                padding: var(--json-mobile-cell-pad-y) var(--json-mobile-cell-pad-x);
                font-size: var(--json-mobile-cell-font);
            }

            .json-live-page:not(.json-live-series-page) .json-live-table th:nth-child(1),
            .json-live-page:not(.json-live-series-page) .json-live-table td.json-rank {
                width: var(--json-mobile-rank-col);
            }

            .json-live-page:not(.json-live-series-page) .json-live-table th:nth-child(2),
            .json-live-page:not(.json-live-series-page) .json-live-table td.json-number {
                width: var(--json-mobile-number-col);
            }

            .json-live-page:not(.json-live-series-page) .json-live-table th:nth-child(3),
            .json-live-page:not(.json-live-series-page) .json-live-table td.json-rider-col {
                width: var(--json-mobile-rider-col);
            }

            .json-live-page:not(.json-live-series-page) .json-live-table .json-final-time-col,
            .json-live-page:not(.json-live-series-page) .json-live-table td.json-final-time,
            .json-live-page:not(.json-live-series-page) .json-live-table td.json-time:not(.json-rz-col) {
                width: var(--json-mobile-time-col);
            }

            .json-live-page:not(.json-live-series-page) .json-live-table .json-rider-col {
                min-width: 0;
                width: auto;
                white-space: normal;
                overflow-wrap: anywhere;
                word-break: break-word;
            }

            .json-live-page:not(.json-live-series-page) .json-live-table .json-time {
                width: auto;
                min-width: 0;
            }

            .json-live-page:not(.json-live-series-page) .json-live-table .json-rank,
            .json-live-page:not(.json-live-series-page) .json-live-table .json-number {
                font-size: 9px;
            }

            .json-live-page:not(.json-live-series-page) .json-rider-name {
                font-size: var(--json-mobile-name-font);
                line-height: 1.15;
            }

            .json-live-page:not(.json-live-series-page) .json-rider-meta {
                font-size: var(--json-mobile-meta-font);
                line-height: 1.15;
            }

            .json-live-page:not(.json-live-series-page) .json-time-main {
                font-size: var(--json-mobile-time-font);
                letter-spacing: -0.03em;
            }

            .json-live-page:not(.json-live-series-page) .json-final-time {
                white-space: normal;
            }

            .json-time-penalty {
                font-size: 9px;
            }

            .json-detail-summary {
                flex-direction: column;
            }

            .json-detail-stat {
                min-width: 0;
            }

            .json-rider-detail {
                gap: 14px;
                position: static;
                left: auto;
                width: min(100%, calc(100vw - (var(--json-detail-side-gutter) * 2)));
                max-width: 100%;
                margin: 0;
                padding: 0 0 14px;
                border: 0;
                border-radius: 0;
                box-shadow: none;
                background: transparent;
            }

            .json-detail-head {
                gap: 12px;
                padding: 0 4px;
            }

            .json-detail-head-top {
                gap: 12px;
            }

            .json-detail-actions {
                gap: 6px;
                justify-content: flex-end;
            }

            .json-certificate-button {
                min-height: 34px;
                padding: 0.55rem 0.75rem;
                font-size: 11px;
            }

            .json-detail-rider-name {
                font-size: 1.2rem;
                line-height: 1.08;
                padding: 0;
            }

            .json-detail-rider-photo {
                width: 52px;
                height: 52px;
                border-radius: 10px;
            }

            .json-rider-photo {
                width: 24px;
                height: 24px;
            }

            .json-detail-close {
                width: 34px;
                height: 34px;
                font-size: 1.4rem;
            }

            .json-detail-meta-grid {
                display: none;
            }

            .json-detail-results-grid {
                gap: 10px;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                align-items: stretch;
                padding: 12px 14px;
                background-color: #343A40;
                border-radius: 14px;
                overflow: hidden;
            }

            .json-detail-stat,
            .json-detail-stat.is-result,
            .json-detail-stat.is-gap {
                min-width: 0;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                gap: 4px;
                padding: 10px 12px;
                background-color: rgba(255, 255, 255, 0.06);
                border: 1px solid rgba(255, 255, 255, 0.08);
                border-radius: 12px;
            }

            .json-detail-stat.is-result {
                grid-column: 1 / -1;
            }

            .json-detail-stat.is-gap {
                grid-column: 1 / -1;
            }

            .json-detail-stat-label {
                margin-bottom: 0;
                color: rgba(255, 255, 255, 0.88);
                font-size: 10px;
            }

            .json-detail-stat-value {
                font-size: 1rem;
                letter-spacing: -0.02em;
                width: 100%;
                white-space: normal;
                overflow: visible;
                color: #FFFFFF;
                text-align: left;
                overflow-wrap: anywhere;
                word-break: break-word;
            }

            .json-detail-stat.is-rank .json-detail-stat-value {
                font-size: clamp(1.4rem, 8vw, 1.85rem);
                line-height: 1;
            }

            .json-detail-stat.is-result .json-detail-stat-value {
                font-size: clamp(1.4rem, 8vw, 1.85rem);
                color: #FFFFFF;
                line-height: 1;
                white-space: nowrap;
                overflow-wrap: normal;
                word-break: normal;
            }

            body.json-results-page .json-live-page .json-detail-stat.is-result .json-detail-stat-value,
            body.json-results-page .json-mobile-sheet-body .json-detail-stat.is-result .json-detail-stat-value {
                font-size: clamp(1.4rem, 8vw, 1.85rem);
                color: #FFFFFF;
                line-height: 1;
            }

            .json-detail-stat.is-gap .json-detail-stat-value {
                font-size: var(--json-mobile-detail-gap-font);
                color: #E2E8F0;
            }

            .json-detail-result-note {
                margin-top: 2px;
                color: rgba(255, 255, 255, 0.72);
                font-size: 9px;
                text-align: left;
            }

            .json-detail-section-title {
                min-width: 0;
                width: 100%;
                justify-content: center;
                padding: 0.55rem 0.8rem;
                border-radius: 12px;
                font-size: var(--json-mobile-detail-section-font);
                line-height: 1;
                letter-spacing: 0.03em;
                text-shadow: none;
            }

            .json-certificate-preview-heading {
                gap: 8px;
            }

            .json-certificate-preview-heading .json-detail-section-title {
                width: auto;
                flex: 0 1 auto;
            }

            .json-detail-cell {
                display: table-cell;
                padding: 10px 0 12px;
                overflow: visible;
            }

            .result-detail-row {
                display: none !important;
            }

            .json-detail-card {
                padding: 10px 12px;
                background: #FFFFFF;
                border: 1px solid rgba(15, 23, 42, 0.08);
                border-radius: 14px;
                overflow: hidden;
            }

            .json-certificate-preview-card {
                padding: 0;
            }

            .json-detail-table {
                max-width: none;
                table-layout: fixed;
                background-color: #FFFFFF;
            }

            .json-detail-table thead {
                display: table-header-group;
            }

            .json-detail-table tbody {
                display: table-row-group;
            }

            .json-detail-table tr {
                display: table-row;
            }

            .json-detail-table tr + tr {
                margin-top: 0;
            }

            .json-detail-table th,
            .json-detail-table td {
                display: table-cell;
                width: auto;
                padding: 0.45rem 0.2rem;
                white-space: nowrap;
                border-bottom: 0;
                min-width: 0;
            }

            .json-detail-table th {
                font-size: 9px;
            }

            .json-detail-table td {
                font-size: 11px;
            }

            .json-detail-table td::before {
                content: none;
            }

            .json-detail-table td:first-child,
            .json-detail-table th:first-child {
                width: var(--json-mobile-detail-col-1);
            }

            .json-detail-table td:nth-child(2),
            .json-detail-table th:nth-child(2) {
                width: var(--json-mobile-detail-col-2);
                text-align: center;
            }

            .json-detail-table td:last-child,
            .json-detail-table th:last-child {
                width: var(--json-mobile-detail-col-3);
                text-align: right;
            }

            .json-detail-rank-table td:first-child,
            .json-detail-rank-table th:first-child {
                width: 34%;
            }

            .json-detail-rank-table td:nth-child(2),
            .json-detail-rank-table th:nth-child(2) {
                width: 30%;
                text-align: center;
            }

            .json-detail-rank-table td:nth-child(3),
            .json-detail-rank-table th:nth-child(3),
            .json-detail-rank-table td:nth-child(4),
            .json-detail-rank-table th:nth-child(4) {
                width: 18%;
                text-align: right;
            }

            .json-detail-table tbody tr:nth-child(odd) td {
                background-color: #F8FAFC;
            }

            .json-detail-table td.json-detail-time-strong {
                font-size: 1rem;
                letter-spacing: -0.02em;
                text-align: center;
            }

            .json-detail-table td.json-detail-rank {
                font-size: 0.96rem;
                text-align: right;
            }

            .json-lap-card {
                overflow: visible;
            }

            .json-lap-list {
                gap: 0.24rem 0.42rem;
            }

            .json-lap-item {
                gap: 0.2rem;
                line-height: 1.35;
            }

            .json-lap-item:not(:last-child)::after {
                margin-left: 0.42rem;
            }

            .json-lap-number {
                font-size: 0.72rem;
            }

            .json-lap-time {
                font-size: 0.82rem;
            }

            .json-leaderboard-hero {
                min-height: 250px;
            }

            .json-tab-panel[data-tab-panel="leaderboard"] {
                --json-leaderboard-overlap: 34px;
                --json-leaderboard-sections-lift: -34px;
                --json-leaderboard-pad-x: 18px;
                --json-leaderboard-pad-y: 18px;
                --json-leaderboard-bottom-gap: 14px;
            }

            .json-leaderboard-sections {
                gap: 14px;
                padding-left: 0;
                padding-right: 0;
            }

            .json-leaderboard-group-heading {
                margin-left: 0;
            }

            .json-leaderboard-grid {
                grid-template-columns: 1fr;
            }

            .json-leaderboard-card {
                width: 100%;
                max-width: 100%;
            }

            .json-leaderboard-row {
                grid-template-columns: auto minmax(0, 1fr);
            }

            .json-leaderboard-bottom {
                grid-column: 2;
                min-width: 0;
                text-align: left;
            }

            .json-mobile-sheet {
                position: fixed;
                left: var(--json-visual-viewport-left, 0px);
                top: var(--json-visual-viewport-top, 0px);
                width: var(--json-visual-viewport-width, 100vw);
                height: var(--json-visual-viewport-height, 100vh);
                right: auto;
                bottom: auto;
                z-index: 1400;
                display: block;
                --json-mobile-sheet-height: min(88vh, 920px);
            }

            .json-mobile-sheet[hidden] {
                display: none;
            }

            .json-mobile-sheet-backdrop {
                position: absolute;
                inset: 0;
                background: rgba(15, 23, 42, 0.44);
                opacity: 0;
                transition: opacity 0.22s ease;
            }

            .json-mobile-sheet-panel {
                position: absolute;
                left: 0;
                right: 0;
                bottom: 0;
                max-height: var(--json-mobile-sheet-height);
                padding: 10px 12px 18px;
                background: #F9FAFB;
                border-radius: 22px 22px 0 0;
                box-shadow: 0 -18px 44px rgba(15, 23, 42, 0.24);
                transform: translateY(100%);
                transition: transform 0.24s ease;
                overflow: hidden;
            }

            .json-mobile-sheet.is-open .json-mobile-sheet-backdrop {
                opacity: 1;
            }

            .json-mobile-sheet.is-open .json-mobile-sheet-panel {
                transform: translateY(0);
            }

            .json-mobile-sheet-handle {
                width: 54px;
                height: 5px;
                margin: 0 auto 10px;
                border-radius: 999px;
                background: rgba(100, 116, 139, 0.35);
            }

            .json-mobile-sheet-close {
                position: absolute;
                top: 10px;
                right: 12px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 36px;
                height: 36px;
                padding: 0;
                border: 1px solid rgba(15, 23, 42, 0.12);
                border-radius: 999px;
                background: #FFFFFF;
                color: var(--mr-black);
                font-size: 1.5rem;
                font-weight: 500;
                line-height: 1;
                box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
            }

            .json-mobile-sheet-body {
                max-height: calc(var(--json-mobile-sheet-height) - 56px);
                overflow-y: auto;
                overscroll-behavior: contain;
                -webkit-overflow-scrolling: touch;
                padding-right: 2px;
            }

            .json-mobile-sheet-body .json-rider-detail {
                gap: 14px;
                position: static;
                left: auto;
                width: 100%;
                max-width: 100%;
                margin: 0;
                padding: 0 0 12px;
                border: 0;
                border-radius: 0;
                box-shadow: none;
                background: transparent;
            }

            .json-mobile-sheet-body .json-detail-close {
                display: none;
            }

        }

        @media (max-width: 1100px) {
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap {
                overflow-x: hidden;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table {
                width: 100%;
                min-width: 100%;
                table-layout: fixed;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-rz-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-gap-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-laps-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-overview-rank-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-schema4-meta-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-points-detail-col {
                display: none;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table th:nth-child(1),
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table td.json-rank {
                width: 8%;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table th:nth-child(2),
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table td.json-number {
                width: 10%;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table th:nth-child(3),
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table td.json-rider-col {
                width: auto;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-final-time-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table td.json-final-time,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-points-total-col {
                width: 20%;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-live-table .json-points-stage-total-col {
                width: 11%;
            }

            .json-live-page.is-full-results:not(.json-live-series-page) .json-table-wrap {
                overflow-x: auto;
            }

            .json-live-page.is-full-results:not(.json-live-series-page) .json-live-table {
                width: max-content;
                min-width: 680px;
                table-layout: auto;
            }
        }

        @media (max-width: 768px) and (orientation: landscape) {
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns,
            .json-live-page.is-compact-results:not(.json-live-series-page) .json-table-wrap.has-rz-columns {
                overflow-x: auto;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table,
            .json-live-page.is-compact-results:not(.json-live-series-page) .json-table-wrap.has-rz-columns .json-live-table {
                width: max-content;
                min-width: 680px;
                table-layout: auto;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-rz-col,
            .json-live-page.is-compact-results:not(.json-live-series-page) .json-table-wrap.has-rz-columns .json-rz-col {
                display: table-cell;
            }

            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table th:nth-child(1),
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table td.json-rank,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table th:nth-child(2),
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table td.json-number,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table th:nth-child(3),
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table td.json-rider-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table .json-final-time-col,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table td.json-final-time,
            .json-live-page:not(.json-live-series-page):not(.is-full-results) .json-table-wrap.has-rz-columns .json-live-table td.json-time:not(.json-rz-col) {
                width: auto;
            }

            .json-live-page.is-compact-results .json-result-compact-note {
                display: none;
            }
        }

        @media (max-width: 430px) {
            .json-live-page {
                --json-detail-side-gutter: 8px;
                --json-mobile-rank-col: 9%;
                --json-mobile-number-col: 12%;
                --json-mobile-rider-col: calc(100% - var(--json-mobile-rank-col) - var(--json-mobile-number-col) - var(--json-mobile-time-col) - var(--json-mobile-compare-col, 28px));
                --json-mobile-time-col: 27%;
                --json-mobile-cell-font: 9px;
                --json-mobile-cell-pad-y: 0.42rem;
                --json-mobile-cell-pad-x: 0.2rem;
                --json-mobile-name-font: 10.5px;
                --json-mobile-meta-font: 8px;
                --json-mobile-time-font: 0.68rem;
                --json-mobile-detail-label-col: 72px;
                --json-mobile-detail-col-1: 21%;
                --json-mobile-detail-col-2: 58%;
                --json-mobile-detail-col-3: 21%;
                --json-mobile-detail-section-font: 0.94rem;
                --json-mobile-detail-result-font: clamp(0.96rem, 5vw, 1.12rem);
                --json-mobile-detail-gap-font: clamp(0.84rem, 4.2vw, 0.94rem);
            }

            .json-detail-results-grid {
                grid-template-columns: 1fr;
            }

            .json-detail-stat,
            .json-detail-stat.is-result,
            .json-detail-stat.is-gap {
                grid-column: 1 / -1;
            }
        }

        .json-live-page:not(.json-live-series-page) {
            --json-result-rank-col-width: 42px;
            --json-result-number-col-width: 58px;
            --json-result-number-pad-left: 0.28rem;
            --json-result-number-pad-right: 0.5rem;
        }

        @media (max-width: 768px) {
            .json-live-page:not(.json-live-series-page) {
                --json-result-rank-col-width: 34px;
                --json-result-number-col-width: 46px;
                --json-result-number-pad-left: 0.12rem;
                --json-result-number-pad-right: 0.32rem;
            }
        }

        .json-live-page:not(.json-live-series-page) .json-live-table th.json-rank-col,
        .json-live-page:not(.json-live-series-page) .json-live-table th.json-number-col,
        .json-live-page:not(.json-live-series-page) .json-live-table td.json-rank,
        .json-live-page:not(.json-live-series-page) .json-live-table td.json-number {
            box-sizing: border-box;
            text-align: right;
            white-space: nowrap;
            font-variant-numeric: tabular-nums;
            font-feature-settings: "tnum" 1;
            padding-left: var(--json-result-number-pad-left);
            padding-right: var(--json-result-number-pad-right);
        }

        .json-live-page:not(.json-live-series-page) .json-live-table th.json-rank-col,
        .json-live-page:not(.json-live-series-page) .json-live-table td.json-rank {
            width: var(--json-result-rank-col-width) !important;
            min-width: var(--json-result-rank-col-width);
        }

        .json-live-page:not(.json-live-series-page) .json-live-table th.json-number-col,
        .json-live-page:not(.json-live-series-page) .json-live-table td.json-number {
            width: var(--json-result-number-col-width) !important;
            min-width: var(--json-result-number-col-width);
        }

        .json-map-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            align-items: start;
        }

        .json-map-controls {
            display: grid;
            gap: 12px;
        }

        .json-map-controls-head {
            display: grid;
            grid-template-columns: minmax(240px, 1fr) auto;
            gap: 14px;
            align-items: end;
        }

        .json-map-summary {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
            gap: 8px 14px;
            color: #5f6c76;
            font-weight: 800;
            text-align: right;
        }

        .json-map-summary strong {
            color: var(--mr-black);
            font-size: 1rem;
        }

        .json-map-note {
            color: #5f6c76;
            line-height: 1.35;
        }

        .json-map-picker {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 8px;
            max-height: 260px;
            overflow: auto;
            padding: 8px;
            border: 1px solid rgba(15, 23, 42, 0.10);
            border-radius: 12px;
            background: #F8FAFC;
        }

        .json-map-pick-row {
            display: grid;
            grid-template-columns: 24px minmax(0, 1fr);
            gap: 10px;
            align-items: start;
            min-width: 0;
            padding: 10px;
            border: 1px solid rgba(15, 23, 42, 0.08);
            border-radius: 10px;
            background: #FFFFFF;
            cursor: pointer;
        }

        .json-map-pick-row.is-selected {
            border-color: rgba(245, 202, 0, 0.82);
            background: #FFFBEB;
        }

        .json-map-pick-row input {
            margin-top: 3px;
        }

        .json-map-pick-row strong,
        .json-map-pick-row span {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .json-map-pick-row span {
            color: #66737d;
            font-size: 0.9rem;
        }

        .json-map-canvas {
            min-height: 640px;
            border-radius: 14px;
            overflow: hidden;
            background: #dbe4e9;
            border: 1px solid rgba(15, 23, 42, 0.12);
        }

        .json-map-profile {
            padding: 16px;
        }

        .json-map-profile[hidden] {
            display: none;
        }

        .json-map-profile-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 10px;
        }

        .json-map-profile-title {
            margin: 0;
            color: var(--mr-black);
            font-size: 1.02rem;
            font-weight: 900;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .json-map-profile-meta {
            color: #66737d;
            font-size: 0.9rem;
            font-weight: 800;
            text-align: right;
        }

        .json-map-profile-chart {
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 2px;
        }

        .json-map-profile-svg {
            display: block;
            width: 100%;
            min-width: 720px;
            height: auto;
        }

        .json-map-profile-area {
            fill: rgba(245, 202, 0, 0.18);
        }

        .json-map-profile-line {
            fill: none;
            stroke: #111111;
            stroke-width: 4;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .json-map-profile-axis {
            stroke: rgba(100, 116, 139, 0.26);
            stroke-width: 1;
        }

        .json-map-profile-split-line {
            stroke: rgba(15, 23, 42, 0.20);
            stroke-width: 1;
            stroke-dasharray: 4 5;
        }

        .json-map-profile-split-dot {
            fill: #F5CA00;
            stroke: #111111;
            stroke-width: 2;
        }

        .json-map-profile-split-name,
        .json-map-profile-split-count,
        .json-map-profile-distance-label,
        .json-map-profile-rider-label {
            fill: #111111;
            font-weight: 800;
        }

        .json-map-profile-split-name {
            font-size: 12px;
        }

        .json-map-profile-split-count {
            font-size: 11px;
            fill: #B45309;
        }

        .json-map-profile-distance-label {
            font-size: 11px;
            fill: #66737d;
        }

        .json-map-profile-rider-line {
            stroke: rgba(35, 100, 170, 0.34);
            stroke-width: 1;
        }

        .json-map-profile-rider-dot {
            stroke: #FFFFFF;
            stroke-width: 2;
        }

        .json-map-profile-rider-label {
            font-size: 10px;
            fill: #1E3A8A;
        }

        .leaflet-tooltip.json-map-split-tooltip {
            border: 1px solid rgba(15, 23, 42, 0.16);
            border-radius: 8px;
            color: #111111;
            font-weight: 800;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
        }

        .json-map-competitor-marker {
            display: grid;
            place-items: center;
            width: 30px;
            height: 30px;
            border: 2px solid #fff;
            border-radius: 50%;
            color: #fff;
            font-size: 11px;
            font-weight: 900;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
        }

        .json-map-split-label {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            max-width: 180px;
            padding: 4px 7px;
            border: 1px solid rgba(15, 23, 42, 0.16);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.94);
            color: #111111;
            font-size: 11px;
            font-weight: 900;
            line-height: 1.1;
            white-space: nowrap;
            box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
            pointer-events: none;
        }

        .json-map-split-label strong {
            display: block;
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .json-map-split-label span {
            color: #B45309;
        }

        /* Sloučená bublina (jedna rohož projížděná víckrát) je seznam pod sebou. */
        .json-map-split-label.is-group {
            flex-direction: column;
            align-items: stretch;
            gap: 2px;
            max-width: 232px;
        }

        .json-map-split-label .json-map-split-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            color: #111111;
        }

        .json-map-split-label .json-map-split-row span {
            color: #B45309;
        }

	        @media (max-width: 1100px) {
	            .json-watch-layout.has-map {
	                grid-template-columns: 1fr;
                    align-items: start;
	            }

                .json-watch-list-panel {
                    order: 1;
                }

                .json-watch-map-card {
                    order: 2;
                    min-height: 0;
                }

                .json-watch-map-canvas {
                    min-height: 440px;
                }

                .json-watch-card-summary {
                    grid-template-columns: minmax(0, 1fr) auto;
                    grid-template-areas:
                        "main actions"
                        "stats result";
                    align-items: start;
                }

                .json-watch-main {
                    grid-area: main;
                }

                    .json-watch-stats {
                        grid-area: stats;
                        grid-template-columns: repeat(2, minmax(70px, max-content));
                        justify-content: start;
                    }

                    .json-watch-stat {
                        text-align: left;
                    }

                .json-watch-result {
                    grid-area: result;
                    align-items: flex-end;
                    min-width: 0;
                    text-align: right;
                }

                .json-watch-actions {
                    grid-area: actions;
                    justify-content: flex-end;
                }

                .json-watch-name,
                .json-watch-meta,
                .json-watch-current-point {
                    overflow-wrap: break-word;
                    word-break: normal;
                }

            .json-map-canvas {
                min-height: 480px;
            }

            .json-map-profile {
                padding: 12px;
            }

            .json-map-profile-svg {
                min-width: 620px;
            }
        }

        @media (max-width: 560px) {
            .json-map-controls-head {
                grid-template-columns: 1fr;
                align-items: stretch;
            }

            .json-map-summary {
                justify-content: space-between;
                text-align: left;
            }

            .json-map-picker {
                grid-template-columns: 1fr;
                max-height: 220px;
            }

            .json-map-profile-head {
                align-items: flex-start;
                flex-direction: column;
            }

            .json-map-profile-meta {
                text-align: left;
            }

            .json-watch-card-summary {
                grid-template-columns: minmax(0, 1fr) auto;
                grid-template-areas:
                    "main actions"
                    "stats stats"
                    "result result";
            }

            .json-watch-result {
                align-items: flex-start;
                text-align: left;
            }

            .json-watch-map-canvas {
                min-height: 380px;
            }
        }

/* === Prevzato ze style.css (C1) ===
   Vysledkova stranka nactala cely stylopis webu (69 kB) kvuli peti tridam.
   Odkaz na ../style.css byl zrusen a tahle pravidla se prenesla sem.
   Prevedeno strojove vcetne medialnich dotazu; poradi zachovano. */

.year-card {
    background-color: #F9FAFB;
    border-radius: 16px;
    border: 1px solid var(--mr-border-soft);
    padding: 16px 16px 8px;
    margin-bottom: 1.75rem;
}
.year-card .my-table {
    margin-bottom: 0;
    background-color: transparent;
}
.btnFilter1,
.btnFilter2 {
    margin: 0.25rem 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mr-black);
    transition: background-color 0.15s ease-out,
                color 0.15s ease-out,
                border-color 0.15s ease-out,
                box-shadow 0.15s ease-out,
                transform 0.12s ease-out;
}
.btnFilter1:hover,
.btnFilter2:hover {
    background-color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}
.activeFilter1,
.activeFilter2,
.activeFilter3 {
    background-color: var(--mr-yellow) !important;
    color: var(--mr-black) !important;
    border-color: var(--mr-yellow) !important;
    box-shadow: 0 14px 34px rgba(251, 209, 6, 0.45);
}
.activeFilter1:hover,
.activeFilter2:hover,
.activeFilter3:hover {
    background-color: var(--mr-yellow-strong) !important;
}
.my-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: transparent;
    border: none;
    border-collapse: separate;
    border-spacing: 0 8px;
    /* mezera mezi „kartičkami“ */
    width: 100%;
}
.my-table thead tr {
    background-color: var(--mr-black);
    color: var(--mr-white);
}
.my-table th {
    border: none;
    text-align: left;
    vertical-align: middle;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    padding: 0.75rem 1rem;
}
.my-table tbody tr {
    position: relative;
    background-color: #F3F4F6;
    /* sjednocená světle šedá */
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.15s ease-out,
                transform 0.12s ease-out,
                background-color 0.15s ease-out;
}
.my-table tbody tr:nth-child(even) {
    background-color: #F3F4F6;
}
.my-table tbody tr::after {
    display: none;
    content: none;
}
.my-table tbody tr:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
    background-color: #E5E7EB;
}
.my-table tbody tr td {
    border: none;
    text-align: left;
    vertical-align: middle;
    padding: 0.8rem 1rem;
    font-size: 15px;
}
.my-table tbody tr td:first-child {
    font-weight: 700;
    white-space: nowrap;
}
.my-table tbody tr td:nth-child(2) {
    width: 56px;
    text-align: center;
}
.my-table tbody tr td:last-child {
    font-weight: 500;
}
.my-table td a {
    color: var(--mr-black);
    font-weight: 600;
    text-decoration: none;
}
.my-table td a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .my-table {
        border-spacing: 0 6px;
    }
    .my-table th {
        padding: 0.55rem 0.6rem;
        font-size: 11px;
        letter-spacing: 0.08em;
    }
    .my-table tbody tr td {
        padding: 0.55rem 0.6rem;
        font-size: 13px;
    }
    .my-table tbody tr td:first-child {
        font-size: 12px;
    }
    .my-table tbody tr td:nth-child(2) {
        width: 44px;
    }
    .my-table tbody tr td:last-child {
        min-width: auto;
        width: 100%;
    }
}

/* body { line-height } ze style.css; theme-myresult.css ho neprebira */
body.json-results-page {
    line-height: 1.5;
}
