* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    background: #f5f5f5;
    padding: 20px;
    min-height: 100vh;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header {
    background: #333;
    color: white;
    padding: 20px 30px;
    border-bottom: 3px solid #1976d2;
}

@media (max-width: 768px) {
    .header {
        padding: 15px;
    }
}

.header-nav {
    margin-bottom: 12px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    background: #1976d2;
    border-radius: 3px;
    display: inline-block;
    transition: background 0.2s ease;
}

.nav-link:hover {
    background: #1565c0;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 0;
}

.pace-section {
    padding: 20px 30px;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

.pace-section .section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1976d2;
}

.pace-analysis {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    background: white;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.prediction-table-wrapper {
    padding: 20px 30px;
    overflow-x: auto;
}

.prediction-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid #ddd;
}

.prediction-table thead {
    background: #333;
    color: white;
}

.prediction-table th {
    padding: 10px 6px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #555;
    white-space: nowrap;
}

.prediction-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.prediction-table tbody tr:hover {
    background: #e3f2fd;
}

.prediction-table td {
    padding: 8px 6px;
    text-align: center;
    border: 1px solid #ddd;
}

.mark-cell {
    font-size: 18px;
    font-weight: bold;
}

.mark-hon { color: #d32f2f; }
.mark-taiko { color: #1976d2; }
.mark-tan { color: #388e3c; }
.mark-ren { color: #f57c00; }
.mark-ana { color: #9c27b0; }

.rating-s {
    background: #d32f2f;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
}

.rating-a {
    background: #1976d2;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
}

.rating-b {
    background: #388e3c;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
}

.rating-c {
    background: #f57c00;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
}

.rating-d {
    background: #757575;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
}

.total-score {
    font-weight: bold;
    font-size: 15px;
    color: #333;
}

.deviation-score {
    font-weight: bold;
    font-size: 14px;
    color: #1976d2;
}

.running-style-escape {
    background: #d32f2f;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
    font-size: 11px;
}

.running-style-leading {
    background: #f57c00;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
    font-size: 11px;
}

.running-style-tracking {
    background: #1976d2;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
    font-size: 11px;
}

.running-style-chase {
    background: #0288d1;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
    font-size: 11px;
}

.running-style-unknown {
    background: #757575;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 2px;
    font-size: 11px;
}

/* 偏差値ランク背景色 */
.deviation-rank-1 {
   background-color: #ffcccc !important;  /* 薄い赤 */                                                                                                               
}

.deviation-rank-2 {
   background-color: #cce5ff !important;  /* 薄い青 */                                                                                                               
}

.deviation-rank-top {
   background-color: #ccffcc !important;  /* 薄い緑 */                                                                                                               
}

/* 評価項目の説明 */
.evaluation-description {
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.evaluation-description h4 {
    font-size: 18px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.evaluation-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.evaluation-description li {
    font-size: 16px;
}

.favorable-horses-section {
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.favorable-horses-section .section-title {
    font-size: 20px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.horse-analysis {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.horse-analysis .horse-name {
    font-size: 16px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 10px;
}

.horse-analysis .mark {
    font-size: 20px;
    margin-right: 8px;
}

.analysis-comments {
    margin-left: 20px;
    line-height: 1.8;
}

.analysis-comments li {
    margin-bottom: 8px;
    color: #495057;
}

/* レース場情報セクション */
.venue-info-section {
    padding: 30px;
    background: white;
    border-bottom: 2px solid #e9ecef;
}

.venue-info-section .section-title {
    font-size: 20px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.venue-info-table {
    width: auto;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0 auto;
}

.venue-info-table.bracket-table {
    max-width: 600px;
}

.venue-info-table thead {
    background: #667eea;
    color: white;
}

.venue-info-table th {
    padding: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.venue-info-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.venue-info-table .best-bracket,
.venue-info-table .best-style {
    font-weight: bold;
    color: #28a745;
}

.venue-info-table .worst-bracket {
    font-weight: bold;
    color: #dc3545;
}

.footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    border-top: 2px solid #e9ecef;
}

/* トップページ用スタイル */
.header h1 {
    margin: 0;
    font-size: 24px;
}

.header-subtitle {
    color: white;
    font-size: 14px;
    margin: 8px 0 0 0;
    opacity: 0.9;
}

.header-summary {
    color: white;
    font-size: 14px;
    margin: 8px 0 0 0;
    opacity: 0.9;
}

/* セクション共通スタイル */
section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border: 1px solid #e0e0e0;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #1976d2;
}

/* サイト紹介セクション */
.intro-section {
    background: #f9f9f9;
}

.intro-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.intro-content strong {
    color: #1976d2;
    font-weight: bold;
}

/* 掲載内容セクション */
.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-align: center;
}

.feature-card h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 評価システムセクション */
.evaluation-section {
    background: white;
}

.evaluation-intro {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.evaluation-summary {
    margin-bottom: 30px;
}

.evaluation-summary h3 {
    font-size: 16px;
    color: #1976d2;
    margin: 0 0 10px 0;
}

.evaluation-summary p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.8;
}

.evaluation-items h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.evaluation-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 20px;
    margin: 0;
}

.evaluation-list dt {
    font-weight: bold;
    color: #1976d2;
    font-size: 14px;
    padding: 8px 12px;
    background: #f0f0f0;
    border-radius: 3px;
}

.evaluation-list dd {
    font-size: 14px;
    color: #555;
    margin: 0;
    padding: 8px 0;
    line-height: 1.6;
}

/* レース一覧セクション */
.race-list-section {
    background: #f9f9f9;
    padding: 30px;
}

.date-section {
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.date-section h2 {
    background: #f9f9f9;
    color: #333;
    padding: 12px 20px;
    margin: 0;
    border-left: 4px solid #1976d2;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background 0.2s ease;
}

.date-section h2:hover {
    background: #f0f0f0;
}

.date-section h2::after {
    content: '▼';
    position: absolute;
    right: 20px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.date-section.collapsed h2::after {
    transform: rotate(-90deg);
}

.date-section-content {
    max-height: 5000px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.date-section.collapsed .date-section-content {
    max-height: 0;
}

/* 当日レースのハイライト */
.date-section.today {
    border: 2px solid #1976d2;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

.date-section.today h2 {
    background: linear-gradient(to right, #e3f2fd, #f9f9f9);
    border-left-width: 6px;
    font-weight: bold;
}

.date-section.today h2::before {
    content: '📌 ';
    margin-right: 8px;
}

.race-summary {
    color: #555;
    font-size: 13px;
    margin: 0 0 15px 0;
    padding: 0 20px;
}

.race-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 30px;
    border: 1px solid #333;
}

.race-table thead {
    background: #333;
    color: white;
}

.race-table th {
    padding: 10px 8px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #555;
}

.race-table tbody th {
    border: 1px solid #ddd;
    background: #f0f0f0;
    font-weight: bold;
}

.race-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.race-table tbody tr:hover {
    background: #e3f2fd;
}

.race-table tbody tr:hover th {
    background: #d1e7fd;
}

.race-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.race-table a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.race-table a:hover {
    color: #1565c0;
    text-decoration: underline;
}

.race-table .no-race {
    color: #999;
    font-size: 12px;
}

/* === レースナビゲーション === */
.race-navigation {
    background: #333;
    padding: 10px 20px;
    margin: 0;
    border-bottom: 3px solid #1976d2;
}

.race-navigation-header {
    margin-bottom: 6px;
}

.race-navigation-label {
    color: white;
    font-size: 13px;
    font-weight: 500;
}

/* 競馬場ごとのブロック */
.race-navigation-venue {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    gap: 10px;
}

.race-navigation-venue:last-child {
    margin-bottom: 0;
}

.venue-label {
    display: inline-block;
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 8px;
    background: #1976d2;
    border-radius: 3px;
    min-width: 48px;
    text-align: center;
    flex-shrink: 0;
}

.race-navigation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
}

.race-nav-link {
    display: inline-block;
    padding: 4px 10px;
    background: #555;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s ease;
    min-width: 36px;
    text-align: center;
    border: 1px solid #666;
}

.race-nav-link:hover {
    background: #1976d2;
    border-color: #1976d2;
}

.race-nav-link.current {
    background: #1976d2;
    color: white;
    font-weight: bold;
    border-color: #1976d2;
    cursor: default;
}

.race-nav-link.disabled {
    background: #444;
    color: #888;
    border-color: #555;
    cursor: default;
    opacity: 0.5;
}

/* モバイル用: 折りたたみ式の馬カード */
@media (max-width: 768px) {
    .header h1 {
        font-size: 20px;
    }

    .header-subtitle,
    .header-summary {
        font-size: 12px;
    }

    section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .evaluation-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .evaluation-list dt {
        margin-bottom: 0px;
        font-size: 13px;
    }

    .evaluation-list dd {
        font-size: 13px;
        padding: 8px 12px;
    }

    .date-section h2 {
        font-size: 16px;
        padding: 10px 15px;
    }

    .race-summary {
        font-size: 12px;
        padding: 0 15px;
    }

    .race-table {
        font-size: 12px;
    }

    .race-table th,
    .race-table td {
        padding: 8px 5px;
    }

    .race-table a {
        display: block;
        word-break: break-word;
    }

    /* 結果サマリーをモバイルで見やすく */
    .result-summary-inline {
        font-size: 11px !important;
        line-height: 1.4 !important;
        margin-top: 6px !important;
    }

    /* モバイル: テーブルをカードレイアウトに */
    .race-table {
        display: block;
        border: none;
    }

    .race-table thead {
        display: none;
    }

    .race-table tbody {
        display: block;
    }

    .race-table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 12px;
        background: white !important;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 0;
        overflow: hidden;
    }

    .race-table tbody tr:hover {
        background: white !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }

    .race-table tbody th {
        display: none;
    }

    .race-table tbody td {
        display: block;
        padding: 12px;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        text-align: left;
    }

    .race-table tbody td:last-child {
        border-bottom: none;
    }

    .race-table tbody td::before {
        content: attr(data-race) 'R - ' attr(data-venue);
        display: block;
        font-size: 11px;
        color: #666;
        font-weight: bold;
        margin-bottom: 6px;
        padding: 3px 8px;
        background: #f0f0f0;
        border-radius: 3px;
        display: inline-block;
    }

    .race-table tbody td.no-race {
        display: block;
        padding: 12px;
        background: #f9f9f9;
        border: 1px solid #e0e0e0;
        color: #999;
        text-align: center;
        font-size: 12px;
    }

    .race-table tbody td.no-race::before {
        content: attr(data-race) 'R - ' attr(data-venue);
        display: block;
        font-size: 11px;
        color: #999;
        font-weight: bold;
        margin-bottom: 6px;
        padding: 3px 8px;
        background: #e8e8e8;
        border-radius: 3px;
        display: inline-block;
    }

    .race-table tbody td.no-race::after {
        content: 'レースなし';
        display: block;
        margin-top: 8px;
        color: #bbb;
        font-size: 11px;
    }

    .race-table a {
        font-size: 13px;
        font-weight: 500;
    }

    /* 日付セクションのモバイル調整 */
    .date-section h2 {
        font-size: 15px;
        padding: 12px 15px;
    }

    .date-section h2::after {
        right: 15px;
        font-size: 12px;
    }

    /* レースナビゲーション - モバイル */
    .race-navigation {
        padding: 8px 15px;
    }

    .race-navigation-venue {
        gap: 8px;
        margin-bottom: 5px;
    }

    .venue-label {
        font-size: 12px;
        padding: 3px 6px;
        min-width: 44px;
    }

    .race-nav-link {
        padding: 3px 8px;
        font-size: 11px;
        min-width: 34px;
    }

    /* 予想テーブルをカードレイアウトに変更 */
    .prediction-table-wrapper {
        padding: 15px;
        overflow-x: visible;
    }

    .prediction-table {
        display: block;
        border: none;
    }

    .prediction-table thead {
        display: none; /* ヘッダーを非表示 */
    }

    .prediction-table tbody {
        display: block;
    }

    .prediction-table tbody tr.horse-card-row {
        display: block;
        margin-bottom: 15px;
        border: 2px solid #ddd;
        border-radius: 8px;
        background: white !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    .prediction-table tbody tr.horse-card-row:hover {
        background: white !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    /* 基本情報エリア（常に表示、矢印用の列を含む） */
    .prediction-table tbody tr.horse-card-row .horse-basic-info {
        display: grid;
        grid-template-columns: 50px 50px 1fr 60px auto;
        gap: 8px;
        padding: 12px;
        align-items: center;
        cursor: pointer;
        background: #fafafa;
        border-bottom: 1px solid #ddd;
    }

    /* 結果がない場合のレイアウト（着順・人気列なし、矢印用の列を含む） */
    .prediction-table tbody tr.horse-card-row .horse-basic-info.no-result {
        grid-template-columns: 50px 1fr 60px auto;
    }

    /* モバイル用カラムスタイル */
    .prediction-table tbody tr.horse-card-row .mobile-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        min-width: 0; /* グリッドアイテムがコンテンツサイズを超えないようにする */
    }

    /* === 結果ありの場合（4列: 着順・人気, 印・脚質, 馬番・馬名, 偏差値） === */
    /* 1カラム目（着順・人気）を固定幅にする */
    .prediction-table tbody tr.horse-card-row .horse-basic-info:not(.no-result) > .mobile-col:nth-child(1) {
        width: 50px;
    }

    /* 2カラム目（印・脚質）を固定幅にする */
    .prediction-table tbody tr.horse-card-row .horse-basic-info:not(.no-result) > .mobile-col:nth-child(2) {
        width: 50px;
    }

    /* 3カラム目（馬番.馬名・騎手名）を可変幅にして残りのスペースを取る */
    .prediction-table tbody tr.horse-card-row .horse-basic-info:not(.no-result) > .mobile-col:nth-child(3) {
        min-width: 0;
        overflow: hidden;
    }

    /* 4カラム目（偏差値）を固定幅にする */
    .prediction-table tbody tr.horse-card-row .horse-basic-info:not(.no-result) > .mobile-col:nth-child(4) {
        width: 60px;
    }

    /* === 結果なしの場合（3列: 印・脚質, 馬番・馬名, 偏差値） === */
    /* 1カラム目（印・脚質）を固定幅にする */
    .prediction-table tbody tr.horse-card-row .horse-basic-info.no-result > .mobile-col:nth-child(1) {
        width: 50px;
    }

    /* 2カラム目（馬番.馬名・騎手名）を可変幅にして残りのスペースを取る */
    .prediction-table tbody tr.horse-card-row .horse-basic-info.no-result > .mobile-col:nth-child(2) {
        min-width: 0;
        overflow: hidden;
    }

    /* 3カラム目（偏差値）を固定幅にする */
    .prediction-table tbody tr.horse-card-row .horse-basic-info.no-result > .mobile-col:nth-child(3) {
        width: 60px;
    }

    .prediction-table tbody tr.horse-card-row .horse-basic-info::after {
        content: '▼';
        font-size: 12px;
        color: #666;
        grid-column: 5;
        transition: transform 0.3s ease;
    }

    /* 結果がない場合の矢印位置 */
    .prediction-table tbody tr.horse-card-row .horse-basic-info.no-result::after {
        grid-column: 4;
    }

    .prediction-table tbody tr.horse-card-row.expanded .horse-basic-info::after {
        transform: rotate(180deg);
    }

    /* 詳細情報エリア（折りたたみ） */
    .prediction-table tbody tr.horse-card-row .horse-detail-info {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .prediction-table tbody tr.horse-card-row.expanded .horse-detail-info {
        max-height: 800px; /* 十分な高さ */
    }

    .prediction-table tbody tr.horse-card-row .horse-detail-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px;
        background: white;
    }

    .prediction-table tbody tr.horse-card-row .detail-item {
        display: flex;
        flex-direction: column;
        padding: 8px;
        background: #f9f9f9;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
    }

    .prediction-table tbody tr.horse-card-row .detail-item .label {
        font-size: 11px;
        color: #666;
        margin-bottom: 4px;
        font-weight: 500;
    }

    .prediction-table tbody tr.horse-card-row .detail-item .value {
        font-size: 14px;
        font-weight: bold;
        color: #1976d2;
    }

    /* モバイルカードセルの表示 */
    .prediction-table td.mobile-card-cell {
        display: block;
        padding: 0;
        border: none;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    .header {
        padding: 12px;
    }

    .header h1 {
        font-size: 18px;
    }

    .header-subtitle {
        font-size: 11px;
    }

    section {
        padding: 15px 10px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .intro-content p {
        font-size: 14px;
    }

    .evaluation-intro {
        font-size: 14px;
    }

    .evaluation-summary h3,
    .evaluation-items h3 {
        font-size: 14px;
    }

    .evaluation-summary p {
        font-size: 13px;
    }

    .evaluation-list dt {
        font-size: 12px;
        padding: 6px 10px;
    }

    .evaluation-list dd {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* カードレイアウトは768px以下で既に適用されているため、
       480px以下では微調整のみ */
    .race-table tbody tr {
        gap: 6px;
        margin-bottom: 10px;
        padding: 0;
    }

    .race-table tbody td {
        padding: 10px;
    }

    .race-table tbody td::before {
        content: attr(data-race) 'R - ' attr(data-venue);
        font-size: 10px;
        padding: 2px 6px;
    }

    .race-table a {
        font-size: 12px;
    }

    .race-table tbody td.no-race {
        padding: 10px;
        font-size: 11px;
    }

    .race-table tbody td.no-race::before {
        font-size: 10px;
        padding: 2px 6px;
    }

    .race-table tbody td.no-race::after {
        font-size: 10px;
    }

    .result-summary-inline {
        font-size: 10px !important;
    }

    .date-section h2 {
        font-size: 14px;
        padding: 10px 12px;
    }

    .date-section h2::after {
        right: 12px;
        font-size: 11px;
    }

    .race-navigation {
        padding: 6px 12px;
    }

    .race-navigation-venue {
        gap: 6px;
        margin-bottom: 4px;
    }

    .venue-label {
        font-size: 11px;
        padding: 2px 5px;
        min-width: 40px;
    }

    .race-nav-link {
        padding: 2px 6px;
        font-size: 10px;
        min-width: 30px;
    }
}
