.thespread-odds-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.thespread-odds-header {
    padding: 15px 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}
.thespread-odds-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}
.thespread-odds-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.thespread-search-wrapper {
    position: relative;
    display: inline-block;
}
.thespread-search,
.thespread-date-filter {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
    max-width: 350px;
}
.thespread-search:focus,
.thespread-date-filter:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 1px #4a90e2;
}
.thespread-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #999;
    line-height: 1;
    display: none;
}
.thespread-no-games {
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
}
.thespread-error {
    padding: 15px 20px;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    font-size: 14px;
    margin: 10px 0;
}

.thespread-odds-table-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.thespread-odds-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}
.thespread-odds-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}
.thespread-odds-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.thespread-odds-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}
.thespread-away-row { background: #fafafa; }
.thespread-home-row { background: #fff; }
.thespread-away-row:hover, .thespread-home-row:hover { background: #f5f5f5; }
.thespread-date-cell { border-right: 1px solid #e0e0e0; text-align: center; vertical-align: middle; }
.thespread-date { font-weight: 600; color: #333; margin-bottom: 4px; }
.thespread-time { font-size: 12px; color: #666; }
.thespread-team-cell { font-weight: 500; }
.thespread-team-name { display: inline-block; }
.thespread-spread-cell, .thespread-moneyline-cell, .thespread-total-cell { white-space: nowrap; vertical-align: top; line-height: 1.3; }
.thespread-date-col { width: 100px; }
.thespread-matchup-col { width: 200px; }
.thespread-spread-col, .thespread-moneyline-col, .thespread-total-col { width: 150px; }
.thespread-odds-no-games, .thespread-odds-error { padding: 40px 20px; text-align: center; background: #f8f9fa; border-radius: 8px; color: #666; font-size: 16px; }

.thespread-league-section {
    margin-bottom: 20px;
}
.thespread-league-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d2327;
    margin: 15px 0 10px;
    padding: 0;
}
.thespread-tournament-section {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}
.thespread-tournament-section[open] {
    margin-bottom: 0;
}
.thespread-tournament-title {
    display: block;
    padding: 8px 15px;
    background: #f0f4f8;
    cursor: pointer;
    list-style: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
    border-bottom: 1px solid #e0e0e0;
}
.thespread-tournament-section[open] > .thespread-tournament-title {
    border-bottom: 1px solid #e0e0e0;
}
.thespread-tournament-title::-webkit-details-marker {
    display: none;
}
.thespread-tournament-title::marker {
    display: none;
    content: "";
}
summary.thespread-tournament-title::before {
    content: "\25BC";
    display: inline;
    margin-right: 8px;
    font-size: 10px;
    color: #1e3a5f;
}
details.thespread-tournament-section:not([open]) > summary.thespread-tournament-title::before {
    content: "\25B6";
}
.thespread-tournament-title:hover {
    background: #e8f0fe;
}
.thespread-entry-count {
    font-size: 12px;
    font-weight: 400;
    color: #666;
}
.thespread-tournament-content {
    padding: 0;
}

.thespread-futures-grid {
    display: grid;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}
.thespread-futures-columns-1 { grid-template-columns: 1fr; }
.thespread-futures-columns-2 { grid-template-columns: 1fr 1fr; }
.thespread-futures-columns-3 { grid-template-columns: 1fr 1fr 1fr; }
.thespread-futures-column {
    min-width: 0;
    border-right: 1px solid #e2e8f0;
}
.thespread-futures-column:last-child {
    border-right: none;
}
.thespread-futures-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: auto !important;
}
.thespread-futures-table thead th {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    background: #f8f9fa;
    border-bottom: 2px solid #e2e8f0;
}
.thespread-futures-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 13px;
    color: #333;
}
.thespread-futures-table tbody tr:hover,
.thespread-futures-row:hover {
    background: #f7fbff;
}
.thespread-competitor-col { width: auto; }
.thespread-odds-col { width: 100px; text-align: right; }
.thespread-competitor-cell {
    font-weight: 500;
    color: #333;
}
.thespread-competitor-name {
    font-weight: 500;
    color: #333;
}
.thespread-odds-cell {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    color: #333;
}

.thespread-market-section {
    margin-bottom: 8px;
}
.thespread-market-header-row {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #1e3a5f;
    background: #e8f0fe;
    padding: 8px 12px;
    border-bottom: 1px solid #b0c4de;
}
.thespread-market-header-row td,
.thespread-market-header-row th,
.thespread-market-header-cell {
    padding: 8px 12px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #1e3a5f;
    background: #e8f0fe;
    border-bottom: 1px solid #b0c4de;
}

.thespread-mobile-cards { display: none; }
.thespread-game-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-bottom: 15px; overflow: hidden; }
.thespread-game-card-header { background: #f8f9fa; padding: 12px 15px; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid #e0e0e0; }
.thespread-game-date-mobile { font-weight: 600; color: #333; font-size: 14px; }
.thespread-game-time-mobile { font-size: 13px; color: #666; }
.thespread-game-card-body { padding: 0; }
.thespread-team-row-mobile { padding: 15px; border-bottom: 1px solid #f0f0f0; }
.thespread-team-row-mobile:last-child { border-bottom: none; }
.thespread-away-team-mobile { background: #fafafa; }
.thespread-home-team-mobile { background: #fff; }
.thespread-team-info-mobile { margin-bottom: 10px; }
.thespread-team-name-mobile { font-weight: 600; font-size: 15px; color: #333; display: block; }
.thespread-odds-grid-mobile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thespread-odd-item-mobile { text-align: center; padding: 8px; background: #f8f9fa; border-radius: 4px; }
.thespread-odd-label-mobile { display: block; font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; font-weight: 600; }
.thespread-odd-value-mobile { display: block; font-size: 13px; font-weight: 600; color: #333; }

.thespread-cta-button { display: inline-block; padding: 6px 12px; background: #d32f2f; color: #fff !important; text-decoration: none !important; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s; border: none; cursor: pointer; white-space: nowrap; }
.thespread-cta-button:hover { background: #b71c1c; color: #fff !important; text-decoration: none !important; }
.thespread-cta-cell { text-align: center; padding-top: 8px; }
.thespread-cta-button-mobile { margin-left: auto; font-size: 10px; padding: 5px 10px; }

.thespread-last-updated { font-size: 12px; color: #666; margin-top: 5px; }
.thespread-last-updated-time { font-weight: 600; color: #333; }

.thespread-odds-preview { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; margin: 20px 0; background: #fff; }
.thespread-preview-header { background: #f8f9fa; padding: 12px 15px; border-bottom: 2px solid #e0e0e0; font-weight: 600; font-size: 16px; color: #333; }
.thespread-preview-content { max-height: 400px; overflow-y: auto; }
.thespread-preview-content .thespread-odds-table { min-width: auto; font-size: 13px; }
.thespread-preview-content .thespread-odds-table th, .thespread-preview-content .thespread-odds-table td { padding: 8px 10px; }
.thespread-preview-table { min-width: 600px !important; }
.thespread-preview-link { display: block; text-align: center; padding: 12px; background: #f8f9fa; border-top: 1px solid #e0e0e0; color: #d32f2f; text-decoration: none; font-weight: 600; transition: background 0.2s; }
.thespread-preview-link:hover { background: #e9ecef; color: #b71c1c; text-decoration: none; }

.thespread-widget-tabs-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.thespread-widget-tabs { display: flex; border-bottom: 2px solid #e0e0e0; margin-bottom: 10px; flex-wrap: wrap; }
.thespread-widget-tab { padding: 8px 12px; cursor: pointer; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 600; color: #666; transition: all 0.2s; user-select: none; margin-bottom: -2px; }
.thespread-widget-tab:hover { color: #333; background: #f8f9fa; }
.thespread-widget-tab.active { border-bottom-color: #d32f2f; color: #d32f2f; }
.thespread-widget-tab-content { display: none; }
.widget .thespread-odds-preview { margin: 0; }
.widget .thespread-preview-header { font-size: 14px; padding: 10px 12px; }
.widget .thespread-preview-content { max-height: 500px; }
.widget .thespread-preview-table { font-size: 12px; }
.widget .thespread-preview-table th, .widget .thespread-preview-table td { padding: 8px; }
.widget .thespread-preview-link { font-size: 13px; padding: 10px; }

.thespread-alt-lines-toggle { cursor: pointer; transition: background 0.2s; }
.thespread-alt-lines-toggle:hover { background: #d9ecff !important; }
.thespread-alt-toggle-icon { display: inline-block; transition: transform 0.3s; margin-right: 8px; color: #0066cc; }
.thespread-alt-lines-content { background: #fffbf0; }
.thespread-alt-lines-content.thespread-away-row, .thespread-alt-lines-content.thespread-home-row, .thespread-alt-lines-content.thespread-draw-row { background: #fff; }
.thespread-alt-lines-content.thespread-away-row:hover, .thespread-alt-lines-content.thespread-home-row:hover, .thespread-alt-lines-content.thespread-draw-row:hover { background: #f5f5f5; }

.thespread-live-indicator { background: #dc3545; color: #fff; padding: 4px 8px; border-radius: 3px; font-weight: 700; font-size: 11px; text-align: center; margin-bottom: 4px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } }
.thespread-live-status { font-size: 11px; color: #666; text-align: center; }

.thespread-draw-row { background: #f0f7ff; }
.thespread-draw-row:hover { background: #e0eeff; }

.thespread-game-props-content {
    padding: 10px;
}
.thespread-gp-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.thespread-gp-tab {
    padding: 8px 14px;
    cursor: pointer;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: transparent;
    transition: all 0.2s;
    margin-bottom: -2px;
}
.thespread-gp-tab:hover {
    color: #333;
    background: #f8f9fa;
}
.thespread-gp-tab.active {
    background: #fff !important;
    border-bottom-color: #0073aa;
    color: #0073aa;
}
.thespread-gp-market-header {
    padding: 8px 15px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #1e3a5f;
    background: #f0f4f8;
    border-bottom: 1px solid #e0e0e0;
}
.thespread-gp-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
.thespread-gp-row:hover {
    background: #f7fbff;
}
.thespread-gp-name {
    color: #333;
    font-weight: 500;
}
.thespread-gp-odds {
    font-weight: 600;
    color: #333;
}
.thespread-gp-cell {
    vertical-align: top;
    padding: 0 !important;
}

.thespread-movement-wrapper { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 4px; transition: background-color 0.3s ease; }
.thespread-movement-wrapper:empty { background-color: transparent !important; padding: 0 !important; }
.thespread-movement-green { background-color: rgba(40, 167, 69, 0.25); animation: movement-flash 1s ease-out; }
.thespread-movement-blue { background-color: rgba(52, 152, 219, 0.25); }
.thespread-movement-yellow { background-color: rgba(255, 193, 7, 0.3); }
.thespread-movement-arrow { font-size: 12px; font-weight: bold; line-height: 1; }
.thespread-arrow-up { color: #28a745; }
.thespread-arrow-down { color: #dc3545; }
@keyframes movement-flash { 0% { background-color: rgba(40, 167, 69, 0.5); } 100% { background-color: rgba(40, 167, 69, 0.25); } }
.thespread-opening-line { display: block; font-size: 10px; color: #888; margin-top: 2px; font-weight: normal; }

.thespread-movement-legend { display: flex; flex-wrap: wrap; gap: 15px; padding: 8px 15px; margin-bottom: 15px; background: #f8f9fa; border-radius: 6px; font-size: 12px; color: #666; align-items: center; }
.thespread-legend-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.thespread-legend-color { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.thespread-legend-green { background-color: rgba(40, 167, 69, 0.4); border: 1px solid rgba(40, 167, 69, 0.6); }
.thespread-legend-blue { background-color: rgba(52, 152, 219, 0.4); border: 1px solid rgba(52, 152, 219, 0.6); }
.thespread-legend-yellow { background-color: rgba(255, 193, 7, 0.4); border: 1px solid rgba(255, 193, 7, 0.6); }

.thespread-toggle-arrow {
    display: inline-block;
    margin-right: 8px;
    font-size: 10px;
    transition: transform 0.2s;
}

@media screen and (max-width: 992px) {
    .thespread-futures-columns-3 { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 767px) {
    .thespread-odds-table-wrapper { display: none; }
    .thespread-mobile-cards { display: block; }
    .thespread-odds-container { margin: 10px; }
    .thespread-odds-header h2 { font-size: 20px; }
    .thespread-search, .thespread-date-filter { width: 100%; min-width: auto; max-width: 100%; }
    .thespread-futures-columns-2, .thespread-futures-columns-3 { grid-template-columns: 1fr; }
    .thespread-futures-column { border-right: none; border-bottom: 1px solid #e2e8f0; }
    .thespread-futures-column:last-child { border-bottom: none; }
    .thespread-moneyline-only .thespread-odds-grid-mobile { grid-template-columns: 1fr; }
    .thespread-widget-tab { font-size: 11px; padding: 6px 8px; }
    .widget .thespread-preview-table { font-size: 11px; }
    .widget .thespread-preview-table th, .widget .thespread-preview-table td { padding: 6px; }
    .thespread-movement-wrapper { padding: 1px 4px; gap: 2px; }
    .thespread-movement-arrow { font-size: 10px; }
    .thespread-opening-line { font-size: 9px; margin-top: 1px; }
    .thespread-movement-legend { gap: 10px; padding: 6px 10px; font-size: 11px; }
    .thespread-legend-color { width: 12px; height: 12px; }
    .thespread-tournament-heading { font-size: 13px; }
    .thespread-league-title { font-size: 16px; }
    .thespread-tournament-content { padding: 0; }
    .thespread-gp-tab { padding: 6px 10px; font-size: 11px; }
    .thespread-alt-lines-mobile { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e0e0e0; }
    .thespread-alt-lines-mobile-toggle { display: flex; align-items: center; justify-content: center; padding: 8px; background: #e6f3ff; border-radius: 4px; cursor: pointer; font-size: 13px; font-weight: 500; color: #0066cc; }
    .thespread-alt-lines-mobile-content { display: none; margin-top: 10px; }
    .thespread-alt-period-mobile { margin-bottom: 10px; border: 1px solid #ffeeba; border-radius: 4px; overflow: hidden; }
    .thespread-alt-period-header-mobile { background: #fff3cd; padding: 8px 12px; font-weight: 600; font-size: 13px; color: #856404; }
    .thespread-alt-period-content-mobile { padding: 10px; }
}
@media screen and (max-width: 480px) {
    .thespread-team-row-mobile { padding: 12px; }
    .thespread-game-card-header { padding: 10px 12px; }
    .thespread-game-date-mobile, .thespread-game-time-mobile { font-size: 13px; }
    .thespread-team-name-mobile { font-size: 14px; }
    .thespread-odds-grid-mobile { gap: 8px; }
    .thespread-odd-item-mobile { padding: 6px; }
    .thespread-odd-label-mobile { font-size: 10px; }
    .thespread-odd-value-mobile { font-size: 12px; }
}
@media print {
    .thespread-odds-filters { display: none; }
    .thespread-odds-table-wrapper { box-shadow: none; display: block !important; }
    .thespread-mobile-cards { display: none; }
}

.thespread-odds-col {
    text-align: right;
}
.thespread-odds-col .thespread-movement-wrapper {
    display: inline-flex;
    width: auto;
}
.thespread-gp-cell .thespread-futures-table td {
    background: transparent;
}

.thespread-odds-col .thespread-movement-wrapper {
    display: inline-flex;
    width: auto;
}
.thespread-gp-cell .thespread-futures-table td,
.thespread-game-props-content .thespread-futures-table td {
    background: transparent !important;
}

.thespread-event-group-header td {
    padding: 10px 15px;
    font-weight: 700;
    font-size: 14px;
    color: #1e3a5f;
    background: #e8f0fe;
    border-bottom: 2px solid #b0c4de;
    border-top: 2px solid #b0c4de;
    cursor: pointer;
}
.thespread-event-group-header td:hover { background: #dce8f8; }

.thespread-game-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.thespread-live-badge { font-size: 12px; font-weight: 700; color: #dc3545; white-space: nowrap; }
.thespread-game-date-mobile { font-weight: 600; color: #333; font-size: 13px; white-space: nowrap; }
.thespread-game-time-mobile { font-size: 13px; color: #666; white-space: nowrap; }
.thespread-cta-button-mobile { margin-left: auto; font-size: 11px; padding: 5px 12px; flex-shrink: 0; }

.thespread-mobile-expand-toggle {
    padding: 8px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
    background: #f0f4f8;
    border-top: 1px solid #e0e0e0;
    cursor: pointer;
}
.thespread-mobile-expand-toggle:hover { background: #e8f0fe; }
.thespread-mobile-expand-toggle .thespread-toggle-arrow {
    font-size: 10px;
    margin-right: 8px;
    color: #1e3a5f;
}
.thespread-alt-period-header-mobile {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
    padding: 8px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.thespread-alt-toggle,
.thespread-gp-toggle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
    padding: 8px 15px;
    cursor: pointer;
    background: #f0f4f8;
    transition: background-color 0.3s;
}
.thespread-alt-toggle:hover,
.thespread-gp-toggle:hover {
    background: #e8f0fe;
}

@media screen and (max-width: 767px) {
    
    .thespread-ticker-wrap {
        flex-direction: column !important;
        border-radius: 6px;
        overflow: hidden;
    }
    .thespread-ticker-label {
        flex-direction: row !important;
        gap: 8px;
        padding: 10px 15px !important;
        font-size: 12px !important;
        justify-content: center;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .thespread-ticker-label small { display: inline; font-size: 9px; }
    .thespread-ticker-content { overflow: hidden; }
    .thespread-ticker-row { white-space: normal !important; overflow: visible !important; }
    .thespread-ticker-item.thespread-ticker-dupe { display: none !important; }
    .thespread-ticker-row:nth-child(2) { display: none !important; }
    
    .thespread-ticker-wrap[data-mobile-mode="scroll"] .thespread-ticker-item.thespread-ticker-dupe { display: flex !important; }

    
    .thespread-ticker-wrap[data-mobile-mode="scroll"] .thespread-ticker-content {
        max-height: 180px;
        overflow: hidden;
    }
    .thespread-ticker-wrap[data-mobile-mode="scroll"] .thespread-ticker-track {
        display: flex !important;
        flex-direction: column !important;
        animation: thespread-ticker-vertical 12s linear infinite !important;
        width: 100% !important;
    }
    .thespread-ticker-wrap[data-mobile-mode="scroll"] .thespread-ticker-track:hover {
        animation-play-state: paused;
    }
    .thespread-ticker-wrap[data-mobile-mode="scroll"] .thespread-ticker-item {
        display: flex !important;
        align-items: center;
        padding: 10px 15px !important;
        font-size: 13px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        min-height: 40px;
    }
    .thespread-ticker-wrap[data-mobile-mode="scroll"] .thespread-ticker-team { font-weight: 600; }
    .thespread-ticker-wrap[data-mobile-mode="scroll"] .thespread-ticker-odds { font-weight: 700; }
    .thespread-ticker-wrap[data-mobile-mode="scroll"] .thespread-ticker-time {
        margin-left: auto;
        font-size: 11px;
        opacity: 0.6;
    }

    
    .thespread-ticker-wrap[data-mobile-mode="stack"] .thespread-ticker-content {
        max-height: 220px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .thespread-ticker-wrap[data-mobile-mode="stack"] .thespread-ticker-track {
        display: flex !important;
        flex-direction: column !important;width: 100% !important;
    }
    .thespread-ticker-wrap[data-mobile-mode="stack"] .thespread-ticker-item {
        display: flex !important;
        align-items: center;
        padding: 10px 15px !important;
        font-size: 13px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    .thespread-ticker-wrap[data-mobile-mode="stack"] .thespread-ticker-team { font-weight: 600; }
    .thespread-ticker-wrap[data-mobile-mode="stack"] .thespread-ticker-odds { font-weight: 700; }
    .thespread-ticker-wrap[data-mobile-mode="stack"] .thespread-ticker-time {
        margin-left: auto;
        font-size: 11px;
        opacity: 0.6;
    }

    
    .thespread-ticker-wrap[data-mobile-mode="compact"] .thespread-ticker-content {
        height: 44px;
        overflow: hidden;
    }
    .thespread-ticker-wrap[data-mobile-mode="compact"] .thespread-ticker-track {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;}
    .thespread-ticker-wrap[data-mobile-mode="compact"] .thespread-ticker-item {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 16px !important;
        font-size: 13px !important;
        border: none !important;
        gap: 8px;
        height: 44px;
        box-sizing: border-box;
        opacity: 0;
        position: absolute;
        width: 100%;
        transition: opacity 0.5s ease;
    }
    .thespread-ticker-wrap[data-mobile-mode="compact"] .thespread-ticker-item.thespread-ticker-active {
        opacity: 1;
        position: relative;
    }
    .thespread-ticker-wrap[data-mobile-mode="compact"] .thespread-ticker-team { font-weight: 600; }
    .thespread-ticker-wrap[data-mobile-mode="compact"] .thespread-ticker-odds { font-weight: 700; }
    .thespread-ticker-wrap[data-mobile-mode="compact"] .thespread-ticker-time {
        font-size: 10px;
        opacity: 0.5;
    }

    
    .thespread-ticker-cta {
        padding: 10px 15px;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.15);
    }
    .thespread-ticker-cta a {
        font-size: 12px;
        padding: 10px 24px;
        display: inline-block;
        border-radius: 4px;
        font-weight: 600;
    }
}
@keyframes thespread-ticker-vertical {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@media screen and (max-width: 767px) {
    .thespread-game-props-content {
        padding: 0;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }
    .thespread-futures-table td {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-size: 13px;
        padding: 6px 10px;
    }
    .thespread-gp-tab {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        padding: 6px 10px;
        font-size: 11px;
    }
}

.thespread-odds-container { contain: layout style; }
.thespread-odds-table-wrapper { will-change: auto; }
.thespread-ticker-track { will-change: transform; }
details.thespread-game-props-market:not([open]) > .thespread-game-props-content,
details.thespread-game-props-market:not([open]) > .thespread-futures-grid {
    content-visibility: auto;
    contain-intrinsic-size: 0 200px;
}
.thespread-odds-container img { loading: lazy; }

.thespread-line-pct {
    font-size: 10px;
    font-weight: 700;
    display: inline-block;
    margin-top: 2px;
    padding: 1px 4px;
    border-radius: 3px;
}
.thespread-line-pct-high { color: #dc3545; background: #fff5f5; }
.thespread-line-pct-low { color: #666; background: transparent; }
.thespread-auto-refresh-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.thespread-auto-refresh-toggle span {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.thespread-refresh-btn {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #f0f0f0;
    color: #999;
    line-height: 1.4;
}
.thespread-refresh-btn:hover {
    border-color: #999;
    color: #333;
}
.thespread-refresh-off.active {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}
.thespread-refresh-on.active {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
}

.thespread-market-header-row td {
    padding: 10px 15px 6px !important;
    font-weight: 700;
    font-size: 13px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid #e0e0e0 !important;
    background: #f8f9fa;
}
.thespread-market-header-row:first-child td {
    padding-top: 6px !important;
}
.thespread-market-section .thespread-market-header-row {
    padding: 8px 15px 6px;
    font-weight: 700;
    font-size: 13px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid #e0e0e0;
    background: #f8f9fa;
    margin-bottom: 0;
}

.thespread-gp-cell td,
.thespread-futures-table td,
.thespread-game-props-content td {
    background-color: transparent !important;
}

.thespread-event-group-header td {
    padding: 10px 15px !important;
    font-weight: 700;
    font-size: 14px;
    color: #1e3a5f;
    background: #e8f0fe !important;
    border-bottom: 2px solid #b0c4de !important;
    border-top: 2px solid #b0c4de !important;
    letter-spacing: 0.02em;
}
.thespread-event-group-header-mobile {
    padding: 10px 15px;
    font-weight: 700;
    font-size: 14px;
    color: #1e3a5f;
    background: #e8f0fe;
    border-bottom: 2px solid #b0c4de;
    border-top: 2px solid #b0c4de;
    margin-top: 10px;
}

.thespread-gp-cell .thespread-competitor-col {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: none;
}
.thespread-gp-cell .thespread-futures-table {
    table-layout: auto !important;
    width: 100% !important;
}
.thespread-gp-cell .thespread-futures-column {
    min-width: 0;
    overflow: visible;
}
.thespread-gp-cell .thespread-odds-col {
    white-space: nowrap;
    width: auto;
    min-width: 70px;
}

.thespread-ticker-wrap {
    overflow: hidden;
    background: #1e3a5f;
    border-radius: 6px;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: stretch;
}
.thespread-ticker-label {
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; line-height: 1.3;
    padding: 4px 14px;
    background: #c0392b;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    white-space: nowrap;
    flex-shrink: 0;
}
.thespread-ticker-content {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}
.thespread-ticker-row {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}
.thespread-ticker-track {
    display: inline-flex;
    animation: thespread-scroll 35s linear infinite;
}
.thespread-ticker-track:hover {
    animation-play-state: paused;
}
.thespread-ticker-row:nth-child(2) .thespread-ticker-track {
    animation-direction: reverse;
}
.thespread-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 18px;
    white-space: nowrap;
    font-size: 12px;
    color: #e0e8f0;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.thespread-ticker-team {
    font-weight: 600;
    color: #fff;
}
.thespread-ticker-odds {
    color: #fff;
    font-weight: 600;
}
.thespread-ticker-time {
    color: #8eb8e0;
    font-size: 10px;
}
.thespread-ticker-et {
    font-size: 8px;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.3px;
    pointer-events: none;
}
.thespread-ticker-up {
    color: #2ecc71;
    font-weight: 700;
}
.thespread-ticker-down {
    color: #e74c3c;
    font-weight: 700;
}
.thespread-ticker-cta {
    display: flex;
    align-items: center;
    padding: 0 16px;
    flex-shrink: 0;
    z-index: 2;
}
.thespread-ticker-cta a {
    display: block;
    background: #27ae60;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}
.thespread-ticker-cta a:hover {
    background: #219a52;
}
.thespread-ticker-empty {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #8eb8e0;
    font-size: 12px;
    font-style: italic;
}
@keyframes thespread-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.thespread-futures-container,
.thespread-props-container {
    max-width: 1200px;
    margin: 0 auto;
}
.thespread-futures-container .thespread-odds-header,
.thespread-props-container .thespread-odds-header {
    padding: 15px 0 10px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 15px;
}
.thespread-futures-container .thespread-odds-header h2,
.thespread-props-container .thespread-odds-header h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1d2327 !important;
    margin: 0 !important;
}
.thespread-futures-container .thespread-search,
.thespread-props-container .thespread-search {
    width: 100%;
    max-width: 350px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}
.thespread-futures-container .thespread-search:focus,
.thespread-props-container .thespread-search:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}
.thespread-tournament-title::before {
    content: "\25BC";
    font-size: 10px;
    margin-right: 8px;
    color: #1e3a5f;
    display: inline;
}
details.thespread-tournament-section:not([open]) > .thespread-tournament-title::before {
    content: "\25B6";
}
.thespread-futures-table tbody tr:hover {
    background: #f7fbff !important;
}
.thespread-competitor-cell,
.thespread-competitor-col-legacy {
    font-weight: 500 !important;
}
.thespread-market-section .thespread-market-header-row th,
.thespread-gp-market-header {
    padding: 8px 15px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #1e3a5f;
    background: #f0f4f8;
    border-bottom: 1px solid #e0e0e0;
    letter-spacing: 0.03em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
details.thespread-game-props-market > summary.thespread-gp-market-header {
    cursor: pointer;
    display: block;
    list-style: none;
}
details.thespread-game-props-market > summary.thespread-gp-market-header::-webkit-details-marker { display: none; }
details.thespread-game-props-market > summary.thespread-gp-market-header::before {
    content: "\25B6";
    font-size: 10px;
    color: #1e3a5f;
    margin-right: 8px;
    display: inline;
}
details.thespread-game-props-market[open] > summary.thespread-gp-market-header::before {
    content: "\25BC";
}
.thespread-gp-market-count {
    font-weight: 400;
    font-size: 11px;
    color: #666;
    margin-left: 2px;
}
.thespread-legend-blue {
    background-color: rgba(0, 119, 182, 0.4);
    border: 1px solid rgba(0, 119, 182, 0.6);
}

.thespread-movement-wrapper:empty {
    background-color: transparent !important;
    padding: 0 !important;
}

/* ========================================
   MORE MARKETS - Unified Tabbed Section
   ======================================== */

.thespread-mm-toggle {
    cursor: pointer;
    padding: 8px 12px;
    background: #f8f9fa;
    font-weight: 600;
    font-size: 13px;
    border-top: 1px solid #e9ecef;
    transition: background-color 0.2s;
}
.thespread-mm-toggle:hover {
    background: #e9ecef;
}

.thespread-mm-cell {
    padding: 0;
    background: #fff;
}

/* Tab Bar */
.thespread-mm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 2px solid #dee2e6;
    background: #f8f9fa;
    padding: 0 8px;
}

.thespread-mm-tab {
    padding: 8px 14px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}
.thespread-mm-tab:hover {
    color: #343a40;
    background: #e9ecef;
}
.thespread-mm-tab-active {
    color: #1a5d1a;
    border-bottom-color: #1a5d1a;
    font-weight: 600;
}

/* Tab Panels */
.thespread-mm-panel {
    padding: 10px 12px;
}

/* Period Alt Lines Table */
.thespread-mm-period-table {
    width: 100%;
    border-collapse: collapse;
}
.thespread-mm-period-table td {
    padding: 6px 10px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}
.thespread-mm-period-table .thespread-team-cell {
    width: 40%;
}

/* Alt Handicaps (AJAX loaded) */
.thespread-alt-handicaps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.thespread-alt-group {
    background: #fafafa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.thespread-alt-group-title {
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    background: #f0f0f0;
    color: #343a40;
    border-bottom: 1px solid #e9ecef;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.thespread-alt-handicap-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.thespread-alt-handicap-table th {
    padding: 6px 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}
.thespread-alt-handicap-table td {
    padding: 5px 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.thespread-alt-handicap-table tr:hover td {
    background: #e8f5e9;
}
.thespread-alt-line-val {
    font-weight: 600;
    text-align: left !important;
    color: #1a5d1a;
}
.thespread-alt-odds-val {
    font-family: 'Roboto Mono', 'Courier New', monospace;
}

/* ========================================
   STICKY ANCHOR NAV - 4+ section threshold
   ======================================== */

.thespread-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 2px solid #1a5d1a;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

.thespread-sticky-nav-inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #1a5d1a #f0f0f0;
    padding: 0 8px;
    gap: 0;
}
.thespread-sticky-nav-inner::-webkit-scrollbar {
    height: 3px;
}
.thespread-sticky-nav-inner::-webkit-scrollbar-thumb {
    background: #1a5d1a;
    border-radius: 3px;
}

.thespread-sticky-nav a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}
.thespread-sticky-nav a:hover,
.thespread-sticky-nav a.active {
    color: #1a5d1a;
    border-bottom-color: #1a5d1a;
}

/* Mobile: sticky nav becomes dropdown */
@media (max-width: 768px) {
    .thespread-sticky-nav-inner {
        flex-wrap: nowrap;
    }
    .thespread-sticky-nav a {
        padding: 8px 10px;
        font-size: 11px;
    }

    /* More Markets tabs scroll on mobile */
    .thespread-mm-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    .thespread-mm-tab {
        padding: 6px 10px;
        font-size: 11px;
    }

    /* Alt handicaps single column on mobile */
    .thespread-alt-handicaps {
        grid-template-columns: 1fr;
    }
}
