:root {
    --navy: #0f2237;
    --blue: #0088ff;
    --green: #00c988;
    --green-bg: #e6f9f3;
    --green-text: #007a52;
    --bg: #f4f6f9;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --border-light: #edf2f7;
    --text: #1e293b;
    --muted: #64748b;
    --pill-bg: #f1f5f9;
    --pill-hover: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.4;
    min-height: 100vh;
}

a {
	text-decoration: none;
	color: var(--text);
}

.main-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 16px;
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 16px;
    }

    .metric-card {
        padding: 10px 12px;
    }

    .metric-info h4 {
        font-size: 0.68rem;
    }

    .metric-info p {
        font-size: 1.15rem;
    }

    .metric-info span {
        font-size: 0.68rem;
    }
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
}

.metric-info h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-info p {
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 4px;
}

.metric-info span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
}

/* Controls */
.controls-panel {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 240px;
}

.search-box input {
    width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
}

.search-box input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.15);
}

.filter-groups {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.star-filter-btn {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.star-filter-btn.active {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #b45309;
}

.btn-group {
    display: inline-flex;
    background: var(--pill-bg);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid var(--border-light);
}

.btn-group-item {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.btn-group-item.active {
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow);
}

.event-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 14px;
    margin-top: 12px;
    border-top: 1px solid var(--border-light);
}

.event-tab {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.event-tab.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.view-title {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.count-badge {
    background: #e2e8f0;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Cards View */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.match-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.match-card-header {
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.match-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.matchup-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 3px 9px;
    border-radius: 6px;
    transition: all 0.18s ease;
    line-height: 1.3;
}

.matchup-link:hover {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 136, 255, 0.25);
}

.matchup-link .matchup-arrow {
    display: inline-block;
    transition: transform 0.18s ease;
}

.matchup-link:hover .matchup-arrow {
    transform: translateX(2px);
}

.match-bullet {
    color: #cbd5e1;
}

.match-date {
    color: #64748b;
    font-size: 0.75rem;
}

.match-status-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.status-badge {
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.status-badge.live {
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    animation: live-pulse 1.8s infinite ease-in-out;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.97); }
}

.event-name-tag {
    color: var(--navy);
    font-weight: 600;
}

.badge-weight, .badge-card-type {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
}

.star-icon {
    color: #cbd5e1;
    font-size: 1.15rem;
    cursor: pointer;
    user-select: none;
}

.star-icon.starred {
    color: #f59e0b;
}

.match-card-body {
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.match-card-body.no-odds {
    grid-template-columns: 1fr;
}

@media (max-width: 768px) {
    .match-card-body {
        grid-template-columns: 1fr;
    }
}

.fighters-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fighter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.15s ease;
}

.fighter-row:hover .fighter-avatar {
    border-color: #93c5fd;
}

.fighter-row:hover .fighter-name {
    color: var(--blue);
}

.fighter-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #475569;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fighter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.fighter-avatar-link {
    display: flex;
    text-decoration: none;
    overflow: hidden;
    border-radius: 50%;
}

.fighter-avatar-link:hover,
a.fighter-avatar:hover {
    transform: scale(1.08);
    border-color: var(--blue) !important;
    box-shadow: 0 2px 8px rgba(0, 136, 255, 0.25);
}

.fighter-name-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.fighter-name-wrap a,
.fighter-name-link {
    text-decoration: none;
    color: inherit;
}

.fighter-name {
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.15s ease;
}

.fighter-name-wrap a:hover .fighter-name,
.fighter-name-link:hover .fighter-name {
    color: var(--blue);
}

.fav-indicator {
    background: var(--green-bg);
    color: var(--green-text);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
}

/* Implied Win Probability Bar */
.prob-bar-container {
    margin-top: 6px;
}

.prob-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 3px;
}

.prob-bar-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
}

.prob-bar-fill-1 {
    background: #3b82f6;
    height: 100%;
}

.prob-bar-fill-2 {
    background: #ef4444;
    height: 100%;
}

/* Side-by-Side Odds Columns */
.odds-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
}

.odds-header-row {
    display: flex;
    gap: 8px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.odds-header-row span {
    width: 110px;
}

.odds-data-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.odds-row {
    display: flex;
    gap: 8px;
}

.bet-pill {
    background: var(--pill-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    width: 110px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

.bet-pill:hover {
    background: var(--pill-hover);
}

a.bet-pill {
    cursor: pointer;
}

a.bet-pill:hover {
    background: var(--pill-hover);
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.bet-pill.highlight-favorite {
    border: 2px solid var(--green);
    background: #fff;
}

.bookmaker-badge {
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 10px;
    text-transform: uppercase;
}

.bookmaker-badge.poly { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.bookmaker-badge.dk   { background: #508e35; }
.bookmaker-badge.fd   { background: #1183eb; }
.bookmaker-badge.mgm  { background: #b89758; }

.odd-value {
    font-size: 0.9rem;
    font-weight: 800;
    text-align: right;
}

.highlight-favorite .odd-value {
    color: #047857;
}

/* Table View */
.table-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: var(--shadow);
    display: none;
}

.odd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.odd-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.odd-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
}

.odd-table tr:hover {
    background-color: #f8fafc;
}

.table-fighter-cell {
    font-weight: 700;
    white-space: nowrap;
}

.table-fighter-link {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.15s ease;
}

.table-fighter-link:hover {
    color: var(--blue);
}

.table-odds-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 16px;
    background: var(--pill-bg);
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

a.table-odds-badge {
    cursor: pointer;
}

a.table-odds-badge:hover {
    filter: brightness(0.92);
    transform: scale(1.05);
}

.table-odds-badge.fav {
    border-color: var(--green);
    background: var(--green-bg);
    color: var(--green-text);
}

.no-results {
    text-align: center;
    padding: 48px 20px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px dashed var(--border);
    color: var(--muted);
}

.utc-clock,
.et-clock {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.85);
    color: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    letter-spacing: 0.5px;
    user-select: none;
}

.scroll-to-top {
    position: fixed;
    bottom: 58px;
    right: 16px;
    background: rgba(15, 23, 42, 0.88);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.15s ease, border-color 0.15s ease;
    user-select: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.page-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.page-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy);
}

.winner-indicator {
    background: #059669;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.loser-fighter {
    opacity: 0.7;
}

.method-tag {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 3px;
}

.status-badge.finished {
    color: #475569;
    background: #e2e8f0;
    padding: 2px 7px;
    border-radius: 4px;
}

.closing-odds-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 4px;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 6px;
}

.closing-odds-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.custom-text {
	text-decoration: none;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ///// */
.fighter-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.fighter-hero {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    border-radius: 18px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border, #e2e8f0);
}

.fighter-hero-image {
    width: 180px;
    height: 180px;
    flex: 0 0 180px;
    overflow: hidden;
    border-radius: 16px;
    background: #f1f5f9;
}

.fighter-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fighter-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
    color: #64748b;
}

.fighter-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-bottom: 8px;
}

.fighter-hero h1 {
    margin: 0;
    font-size: 2.5rem;
}

.fighter-nickname {
    margin-top: 8px;
    color: #64748b;
    font-style: italic;
}

.fighter-record {
    margin-top: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

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

.fighter-stat {
    padding: 18px;
    border-radius: 12px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border, #e2e8f0);
}

.fighter-stat span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 5px;
}

.fighter-stat strong {
    font-size: 1rem;
}

.fighter-fights {
    margin-top: 35px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.section-heading h2 {
    margin: 0;
}

.section-heading span {
    padding: 3px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    font-size: 0.75rem;
}

.fighter-fights-list {
    display: grid;
    gap: 15px;
}

.fighter-fight-card {
    padding: 20px;
    border-radius: 14px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border, #e2e8f0);
}

.fighter-fight-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.fighter-fight-meta span {
    color: #64748b;
    font-size: 0.8rem;
}

.fighter-fight-versus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.fighter-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 180px;
}

.fighter-mini img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 10px;
    background: #f1f5f9;
}

.fighter-mini-current {
    opacity: 0.8;
}

.versus {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
}

.fighter-fight-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.empty-state {
    padding: 30px;
    text-align: center;
    color: #64748b;
}

@media (max-width: 700px) {
    .fighter-hero {
        flex-direction: column;
        text-align: center;
    }

    .fighter-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .fighter-fight-versus {
        gap: 10px;
    }

    .fighter-mini {
        min-width: 0;
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Matchup Page Styles (Side-by-Side & Responsive)
   ========================================================================== */
.matchup-back {
    margin-bottom: 16px;
}

.matchup-back a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.matchup-back a:hover {
    color: var(--blue);
}

.matchup-card {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.matchup-card .match-card-body {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
}

.matchup-fighters {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 18px;
}

.matchup-fighter {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.matchup-fighter:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.matchup-fighter .fighter-avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #475569;
    border: 2px solid var(--border);
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.matchup-fighter a:hover .fighter-avatar {
    transform: scale(1.04);
    border-color: var(--blue);
}

.matchup-fighter .fighter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.matchup-fighter .fighter-name-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.matchup-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.matchup-fighter .fighter-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    transition: color 0.15s ease;
}

.matchup-fighter a:hover .fighter-name {
    color: var(--blue);
}

.matchup-nickname {
    font-size: 0.88rem;
    color: var(--muted);
    font-style: italic;
}

.matchup-stats {
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    gap: 6px 14px;
    flex-wrap: wrap;
    margin-top: 4px;
    line-height: 1.4;
}

.matchup-stats span strong {
    color: var(--text);
}

.matchup-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--border);
    font-size: 0.82rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.matchup-method {
    font-size: 0.88rem;
    padding: 10px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
}

.matchup-prob-bar {
    margin-top: 4px;
}

.matchup-prob-bar .prob-bar-track {
    height: 10px;
    border-radius: 5px;
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .matchup-card .match-card-body {
        padding: 18px 16px;
        gap: 16px;
    }

    .matchup-fighters {
        gap: 12px;
    }

    .matchup-fighter {
        padding: 14px 12px;
        gap: 12px;
    }

    .matchup-fighter .fighter-avatar {
        width: 52px;
        height: 52px;
        min-width: 52px;
        font-size: 1.3rem;
    }

    .matchup-fighter .fighter-name {
        font-size: 1.1rem;
    }

    .matchup-stats {
        gap: 4px 10px;
        font-size: 0.78rem;
    }

    .matchup-vs {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
}

/* Mobile Responsive: Keep fighters side-by-side in balanced columns */
@media (max-width: 640px) {
    .matchup-card .match-card-body {
        padding: 14px 8px;
        gap: 14px;
    }

    .matchup-fighters {
        gap: 6px;
    }

    .matchup-fighter {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px 6px;
        gap: 8px;
    }

    .matchup-fighter .fighter-avatar {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.15rem;
    }

    .matchup-fighter .fighter-name-wrap {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .matchup-title-row {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .matchup-fighter .fighter-name {
        font-size: 0.95rem;
        word-break: break-word;
        text-align: center;
    }

    .matchup-nickname {
        font-size: 0.75rem;
    }

    .matchup-fighter .winner-indicator,
    .matchup-fighter .fav-indicator {
        margin-left: 0;
        margin-top: 2px;
    }

    .matchup-stats {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 0.72rem;
        margin-top: 4px;
        width: 100%;
        text-align: center;
    }

    .matchup-vs {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }
}

/* Small Phones */
@media (max-width: 380px) {
    .matchup-fighters {
        gap: 4px;
    }

    .matchup-fighter {
        padding: 10px 4px;
    }

    .matchup-fighter .fighter-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    .matchup-fighter .fighter-name {
        font-size: 0.88rem;
    }

    .matchup-stats {
        font-size: 0.68rem;
    }

    .matchup-vs {
        width: 24px;
        height: 24px;
        font-size: 0.58rem;
    }
}

/* ==========================================================================
   SEO Hub Page Styles (seo.php)
   ========================================================================== */
.seo-hero {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.seo-kicker {
    display: inline-block;
    background: var(--green-bg);
    color: var(--green-text);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.seo-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.25;
}

.seo-hero-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 800px;
}

.seo-search-container {
    margin-bottom: 16px;
}

.seo-search-box {
    width: 100%;
}

.seo-search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--text);
    outline: none;
    transition: all 0.2s ease;
}

.seo-search-input:focus {
    border-color: var(--blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.15);
}

.seo-quick-pills-wrap {
    margin-top: 12px;
}

.seo-quick-pills-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.seo-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.seo-pill {
    background: var(--pill-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.seo-pill:hover,
.seo-pill.active {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 136, 255, 0.25);
}

/* Spotlight Card for specific fighter search (e.g. Arman UFC odds) */
.seo-spotlight {
    border: 2px solid var(--blue);
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 28px;
    box-shadow: 0 4px 14px rgba(0, 136, 255, 0.12);
}

.seo-spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.seo-spotlight-badge {
    background: var(--blue);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
}

.seo-spotlight-query {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
}

.seo-spotlight-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.seo-btn-primary {
    background: var(--blue);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.seo-btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 136, 255, 0.3);
}

.seo-btn-secondary {
    background: #f1f5f9;
    color: var(--navy);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.seo-btn-secondary:hover {
    background: #e2e8f0;
}

/* Sections */
.seo-section {
    margin-bottom: 32px;
}

.seo-section-header {
    margin-bottom: 14px;
}

.seo-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}

.seo-section-subtitle {
    font-size: 0.82rem;
    color: var(--muted);
}

.seo-event-group {
    margin-bottom: 24px;
}

.seo-event-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1.5px solid var(--border);
}

.seo-event-tag {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Fighter A-Z Directory Table */
.seo-directory-table-wrap {
    overflow-x: auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.seo-directory-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.seo-directory-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 14px;
    border-bottom: 2px solid var(--border);
    text-align: left;
    white-space: nowrap;
}

.seo-directory-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.seo-directory-table tr:hover {
    background-color: #f8fafc;
}

.seo-fighter-cell {
    font-weight: 700;
}

.seo-odds-tag {
    font-weight: 800;
    font-size: 0.85rem;
}

.seo-odds-tag.fav {
    color: var(--green-text);
}

.seo-odds-tag.dog {
    color: #dc2626;
}

/* FAQ Section */
.seo-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
}

.seo-faq-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
}

.seo-faq-question {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.seo-faq-answer {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

.seo-faq-answer a {
    color: var(--blue);
    text-decoration: underline;
}

/* Crawl Breadcrumbs */
.seo-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.seo-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.seo-breadcrumbs a:hover {
    color: var(--blue);
    text-decoration: underline;
}

.seo-breadcrumbs span {
    color: var(--text);
    font-weight: 600;
}

.seo-breadcrumbs .sep {
    color: var(--muted);
    font-weight: 400;
    user-select: none;
}

/* Site Footer & SEO Block */
.site-footer {
    margin-top: 40px;
    padding: 28px 24px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.footer-seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.footer-col .footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--muted);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--blue);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    margin-top: 18px;
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-copy {
    font-weight: 600;
}

/* ==========================================================================
   Matchup View - Large Fight Card Styles
   ========================================================================== */

.matchup-card-large {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.matchup-header-large {
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}

.matchup-body-large {
    padding: 28px 26px !important;
    gap: 22px !important;
}

.matchup-fighters-large {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 24px;
}

.matchup-fighter-large {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    min-width: 0;
    transition: all 0.2s ease;
}

.matchup-fighter-large:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.fighter-avatar-large {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    font-size: 2.2rem !important;
    font-weight: 800;
    color: #475569;
    border: 3px solid var(--border) !important;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.matchup-fighter-large a:hover .fighter-avatar-large {
    transform: scale(1.05);
    border-color: var(--blue) !important;
}

.fighter-name-wrap-large {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.fighter-name-large {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.matchup-quick-odds {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0;
}

.big-odds-pill {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.big-odds-pill.fav-odds {
    background: #dbeafe;
    color: var(--blue);
}

.big-prob-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.matchup-stats-large {
    font-size: 0.88rem !important;
    gap: 6px 16px !important;
    margin-top: 4px;
}

.matchup-stats-large span {
    color: #475569;
}

.matchup-stats-large span strong {
    color: var(--navy);
}

.matchup-vs-large {
    width: 52px !important;
    height: 52px !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
}

.matchup-method-large {
    font-size: 0.95rem;
    padding: 12px 20px;
    border-radius: 10px;
}

/* Sportsbook Quick Compare Bar in Matchup */
.matchup-sportsbooks-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.matchup-sportsbooks-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.matchup-sportsbooks-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sportsbook-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.15s ease;
}

.sportsbook-link-pill:hover {
    border-color: #94a3b8;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.sportsbook-link-name {
    font-weight: 700;
}

.sportsbook-line-preview {
    color: var(--blue);
    font-weight: 700;
    font-size: 0.78rem;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .matchup-body-large {
        padding: 14px 10px !important;
        gap: 14px !important;
    }

    .matchup-fighters-large {
        grid-template-columns: 1fr auto 1fr;
        align-items: stretch;
        gap: 8px;
    }

    .matchup-fighter-large {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px 8px;
        gap: 8px;
    }

    .fighter-avatar-large {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        font-size: 1.25rem !important;
    }

    .fighter-name-wrap-large {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .matchup-fighter-large .matchup-title-row {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .fighter-name-large {
        font-size: 1.05rem !important;
        line-height: 1.2;
        word-break: break-word;
        text-align: center;
    }

    .matchup-nickname {
        font-size: 0.75rem;
    }

    .matchup-stats-large {
        flex-direction: column;
        align-items: center;
        gap: 2px !important;
        font-size: 0.72rem !important;
        width: 100%;
        text-align: center;
    }

    .matchup-vs-large {
        display: flex !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 0.7rem !important;
        align-self: center;
    }
}

@media (max-width: 380px) {
    .matchup-fighters-large {
        gap: 4px;
    }

    .matchup-fighter-large {
        padding: 10px 4px;
    }

    .fighter-avatar-large {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        font-size: 1.1rem !important;
    }

    .fighter-name-large {
        font-size: 0.92rem !important;
    }

    .matchup-stats-large {
        font-size: 0.68rem !important;
    }

    .matchup-vs-large {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.6rem !important;
    }
}

/* History Template Container */
.matchup-history-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.history-block {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.history-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.history-block-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.history-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Head-to-Head Styles */
.h2h-empty-box {
    text-align: center;
    padding: 28px 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
}

.h2h-empty-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    background: #e2e8f0;
    color: #334155;
    border-radius: 4px;
    margin-bottom: 8px;
}

.h2h-empty-box p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

.h2h-fights-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.h2h-fight-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}

.h2h-fight-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.h2h-event {
    font-weight: 700;
    color: var(--navy);
}

.h2h-date {
    color: var(--muted);
}

.h2h-link {
    font-size: 0.8rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

.h2h-link:hover {
    text-decoration: underline;
}

.h2h-fight-result {
    display: flex;
    align-items: center;
    gap: 8px;
}

.h2h-winner-pill {
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.h2h-method-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
}

/* History Comparison Grid */
.history-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.history-fighter-column {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.history-col-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #475569;
    border: 2px solid var(--border);
}

.history-col-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-col-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
}

.history-col-record {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.history-opp {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
}

.badge-outcome {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.badge-outcome.win {
    background: #dcfce7;
    color: #15803d;
}

.badge-outcome.loss {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-outcome.draw {
    background: #f1f5f9;
    color: #64748b;
}

.history-item-sub {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.history-empty-item {
    padding: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.history-empty-item a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

/* Odds History Placeholder Box */
.odds-history-placeholder-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
}

.sparkline-demo {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 48px;
    padding: 6px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.spark-bar {
    width: 6px;
    background: linear-gradient(180deg, var(--blue) 0%, #0284c7 100%);
    border-radius: 2px;
}

.odds-history-text h4 {
    margin: 0 0 6px 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--navy);
}

.odds-history-text p {
    margin: 0 0 10px 0;
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.4;
}

.odds-history-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.history-tag {
    font-size: 0.72rem;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 2px 8px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .history-block {
        padding: 14px 10px;
    }

    .history-block-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .history-block-title {
        font-size: 0.95rem;
    }

    .history-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .history-comparison-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .history-fighter-column {
        padding: 10px 8px;
        gap: 8px;
        border-radius: 8px;
    }

    .history-col-header {
        gap: 8px;
        padding-bottom: 8px;
    }

    .history-col-avatar {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
    }

    .history-col-name {
        font-size: 0.82rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .history-col-record {
        font-size: 0.68rem;
    }

    .history-list {
        gap: 6px;
    }

    .history-item {
        padding: 6px 8px;
        gap: 3px;
        border-radius: 6px;
    }

    .history-item-top {
        gap: 4px;
        align-items: flex-start;
    }

    .history-opp {
        font-size: 0.72rem;
        font-weight: 700;
        line-height: 1.2;
        word-break: break-word;
    }

    .badge-outcome {
        font-size: 0.6rem;
        padding: 1px 5px;
        border-radius: 3px;
        flex-shrink: 0;
    }

    .history-item-sub {
        font-size: 0.65rem;
        gap: 2px 4px;
        line-height: 1.2;
    }

    .odds-history-placeholder-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 360px) {
    .history-comparison-grid {
        gap: 5px;
    }

    .history-fighter-column {
        padding: 8px 5px;
    }

    .history-item {
        padding: 5px 6px;
    }

    .history-opp {
        font-size: 0.68rem;
    }

    .history-col-name {
        font-size: 0.75rem;
    }
}