.ot-page {
    display: grid;
    gap: 10px;
    --ot-sticky-top: 72px;
    --ot-filter-height: 0px;
}

.ot-page .ss-predictions-layout {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
}

.ot-page .ss-right-rail {
    display: none;
}

.ot-intro {
    display: grid;
    gap: 3px;
    margin-bottom: 0;
    padding: 4px 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ot-intro-kicker,
.ot-results-kicker {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ot-intro h1,
.ot-results-copy h2 {
    margin: 0;
    line-height: 1.1;
}

.ot-intro h1 {
    font-size: clamp(18px, 2.2vw, 22px);
}

.ot-results-copy h2 {
    font-size: 16px;
}

.ot-intro p,
.ot-results-copy p,
.ot-active-filters,
.ot-empty-state p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
}

.ot-filters-shell {
    padding: 9px 10px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(18, 30, 50, 0.90), rgba(12, 21, 36, 0.88));
    backdrop-filter: blur(8px);
    overflow: visible;
    position: sticky;
    top: var(--ot-sticky-top);
    z-index: 55;
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.28);
}

.ot-filters-shell::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    border-radius: 7px 7px 0 0;
    background: linear-gradient(90deg, #22d3ee 0%, #60a5fa 35%, #34d399 70%, #f59e0b 100%);
    opacity: .9;
    pointer-events: none;
}

.ot-filter-form,
.ot-results-shell {
    display: grid;
    gap: 8px;
}

.ot-results-shell {
    position: relative;
    z-index: 1;
}

.ot-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 7px;
}

.ot-filter-top {
    display: contents;
}

.ot-filter-bottom {
    display: contents;
}

.ot-field,
.ot-filter-field,
.ot-fieldset,
.ot-odds-input-wrap {
    display: grid;
    gap: 4px;
}

.ot-field-search {
    flex: 1 1 180px;
    min-width: 140px;
}

.ot-fieldset {
    margin: 0;
    min-width: 0;
    padding: 10px 12px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.ot-fieldset legend {
    padding: 0;
}

.ot-filter-note {
    display: block;
    margin-left: 0;
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.ot-text-input,
.ot-dropdown-trigger,
.ot-dropdown-search,
.ot-odds-input-wrap input {
    width: 100%;
    min-height: 30px;
    padding: 0 6px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.68));
    color: var(--text-primary);
    font: inherit;
    font-size: 12px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ot-text-input:hover,
.ot-dropdown-trigger:hover,
.ot-dropdown-search:hover,
.ot-odds-input-wrap input:hover {
    border-color: rgba(96, 165, 250, 0.55);
}

.ot-text-input:focus-visible,
.ot-dropdown-trigger:focus-visible,
.ot-dropdown-search:focus-visible,
.ot-odds-input-wrap input:focus-visible,
.ot-submit-button:focus-visible,
.ot-reset-link:focus-visible,
.ot-dropdown-option:focus-visible {
    outline: none;
    border-color: rgba(46, 204, 113, 0.45);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.ot-dropdown-field {
    position: relative;
    min-width: 0;
    flex: 0 0 110px;
}

.ot-multi-field {
    position: relative;
    min-width: 0;
    max-width: 40%;
    flex: 0 0 110px;
}

.ot-htft-field {
    max-width: 72px;
    flex-basis: 72px;
}

.ot-dropdown-trigger {
    position: relative;
    padding-right: 26px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ot-htft-field .ot-dropdown-trigger {
    min-height: 30px;
    padding-left: 7px;
    padding-right: 20px;
    font-size: 11px;
}

.ot-htft-field .ot-dropdown-trigger::after {
    right: 7px;
}

.ot-multi-label.is-placeholder {
    color: var(--text-secondary);
}

.ot-multi-trigger.is-active {
    border-color: rgba(34, 197, 94, 0.52);
    background: rgba(34, 197, 94, 0.16);
    color: #ecfdf5;
}

.ot-multi-trigger.is-active::after {
    opacity: .95;
}

.ot-dropdown-trigger::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-60%) rotate(45deg);
    opacity: .7;
}

.ot-dropdown-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 120;
    width: min(320px, calc(100vw - 24px));
    max-height: 320px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    background: var(--bg-secondary);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.ot-dropdown-search-wrap {
    padding: 6px;
    border-bottom: 1px solid var(--border-color);
}

.ot-dropdown-options {
    display: grid;
    max-height: 260px;
    overflow: auto;
}

.ot-dropdown-option {
    min-height: 31px;
    padding: 0 9px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.ot-dropdown-option:hover,
.ot-dropdown-option.is-selected {
    background: rgba(83, 111, 118, 0.12);
}

.ot-multi-panel {
    width: min(232px, calc(100vw - 24px));
    padding: 7px;
    max-height: none;
    overflow: visible;
}

.ot-multi-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.ot-provider-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ot-multi-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 7px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.ot-multi-option:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.ot-multi-option.is-checked {
    border-color: rgba(34, 197, 94, 0.9);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.30), rgba(22, 163, 74, 0.22));
    color: #f0fdf4;
    box-shadow: inset 0 0 0 1px rgba(134, 239, 172, 0.22);
}

.ot-multi-option.is-checked span {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.ot-multi-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

@media (min-width: 992px) {
    .content-area {
        padding-top: 8px;
        max-width: 80%;
    }

    .ot-filter-form {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .ot-field-search {
        flex: 1 1 96px;
        min-width: 92px;
    }

    .ot-dropdown-field {
        flex: 0 0 88px;
    }

    .ot-multi-field {
        flex: 0 0 124px;
        max-width: 124px;
    }

    .ot-odds-strip {
        flex: 0 0 auto;
        min-width: auto;
    }

    .ot-odds-grid {
        grid-template-columns: repeat(5, minmax(0, 46px));
        gap: 3px;
    }

    .ot-filter-actions {
        flex: 0 0 auto;
        margin-left: 0;
        white-space: nowrap;
    }
}

.ot-odds-strip {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    align-items: end;
    flex: 1 1 320px;
    min-width: 260px;
}

.ot-odds-heading {
    display: grid;
    gap: 2px;
    min-width: 108px;
}

.ot-odds-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 52px));
    gap: 4px;
    justify-content: start;
}

.ot-odds-input-wrap span {
    display: none;
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 700;
    text-align: center;
}

.ot-filter-actions {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: fit-content;
    flex: 0 0 auto;
    margin-left: auto;
}

.ot-filter-actions-bottom {
    align-self: end;
}

.ot-submit-button,
.ot-reset-link,
.ot-page-link {
    min-height: 32px;
    padding: 0 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    text-decoration: none;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ot-submit-button {
    background: linear-gradient(135deg, #0b3f8a 0%, #1d4ed8 50%, #2563eb 100%);
    border-color: #1d4ed8;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.32);
}

.ot-submit-button:hover {
    background: linear-gradient(135deg, #0a3574 0%, #1e40af 50%, #1d4ed8 100%);
    border-color: #1e40af;
}

.ot-reset-link {
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(148, 163, 184, 0.45);
    color: #e2e8f0;
}

.ot-reset-link:hover {
    background: rgba(148, 163, 184, 0.24);
    border-color: rgba(148, 163, 184, 0.62);
}

.ot-results-head {
    display: flex;
    gap: 8px;
    align-items: end;
    justify-content: space-between;
}

.ot-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    line-height: 1.4;
}

.ot-active-filters strong {
    color: var(--text-primary);
}

.ot-active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.ot-active-filter-chip > span {
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ot-active-filter-chip > strong {
    font-size: 11px;
    font-weight: 700;
}

.ot-table-wrap {
    overflow: visible;
    border: 1px solid var(--border-color);
}

.ot-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 12px;
}

.ot-table th,
.ot-table td {
    padding: 7px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ot-table thead th {
    position: sticky;
    top: calc(var(--ot-sticky-top) + var(--ot-filter-height));
    z-index: 45;
    background: rgba(83, 111, 118, 0.18);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ot-table thead th,
.ot-table tbody > tr:not(.ot-market-detail-row) > td {
    white-space: nowrap;
}

.ot-table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.ot-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
}

.ot-table tbody tr:hover {
    background: rgba(83, 111, 118, 0.12);
}

.ot-market-detail-row td {
    padding: 0;
    text-align: left;
    background: rgba(15, 23, 42, 0.24);
}

.ot-market-stack {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
}

.ot-market-card {
    display: grid;
    gap: 7px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.ot-market-card-label {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ot-market-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ot-market-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
}

.ot-market-chip > span {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
}

.ot-col-date {
    white-space: nowrap;
    line-height: 1.2;
    font-size: 11px;
}

.ot-col-date small {
    display: block;
    color: var(--text-secondary);
    font-size: 9px;
}

.ot-col-league {
    text-align: left;
    min-width: 0;
    max-width: 160px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
}

.ot-col-season,
.ot-col-bookmaker {
    min-width: 92px;
    white-space: nowrap;
}

.ot-col-season {
    font-size: 11px;
    overflow: visible;
    text-overflow: clip;
}

.ot-col-bookmaker {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ot-col-match {
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
}

.ot-col-team {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ot-table th:nth-child(1),
.ot-table td:nth-child(1) {
    width: 92px;
}

.ot-table th:nth-child(2),
.ot-table td:nth-child(2) {
    width: 96px;
}

.ot-table th:nth-child(3),
.ot-table td:nth-child(3) {
    width: 112px;
}

.ot-table th:nth-child(4),
.ot-table td:nth-child(4) {
    width: 128px;
}

.ot-table th:nth-child(6),
.ot-table td:nth-child(6) {
    width: 56px;
}

.ot-table th:nth-child(7),
.ot-table td:nth-child(7),
.ot-table th:nth-child(8),
.ot-table td:nth-child(8),
.ot-table th:nth-child(9),
.ot-table td:nth-child(9),
.ot-table th:nth-child(10),
.ot-table td:nth-child(10),
.ot-table th:nth-child(11),
.ot-table td:nth-child(11) {
    width: 52px;
}

/* Subtle tint for all visible columns */
.ot-table thead th:nth-child(1),
.ot-table thead th:nth-child(2),
.ot-table thead th:nth-child(3),
.ot-table thead th:nth-child(4),
.ot-table thead th:nth-child(5),
.ot-table thead th:nth-child(6),
.ot-table thead th:nth-child(7),
.ot-table thead th:nth-child(8),
.ot-table thead th:nth-child(9),
.ot-table thead th:nth-child(10),
.ot-table thead th:nth-child(11),
.ot-table tbody td:nth-child(1),
.ot-table tbody td:nth-child(2),
.ot-table tbody td:nth-child(3),
.ot-table tbody td:nth-child(4),
.ot-table tbody td:nth-child(5),
.ot-table tbody td:nth-child(6),
.ot-table tbody td:nth-child(7),
.ot-table tbody td:nth-child(8),
.ot-table tbody td:nth-child(9),
.ot-table tbody td:nth-child(10),
.ot-table tbody td:nth-child(11) {
    background: rgba(148, 163, 184, 0.08);
}

/* Odds column color groups */
.ot-table thead th:nth-child(1),
.ot-table tbody td:nth-child(1) {
    background: rgba(56, 189, 248, 0.12);
}

.ot-table thead th:nth-child(2),
.ot-table tbody td:nth-child(2) {
    background: rgba(99, 102, 241, 0.12);
}

.ot-table thead th:nth-child(3),
.ot-table tbody td:nth-child(3) {
    background: rgba(16, 185, 129, 0.12);
}

.ot-table thead th:nth-child(4),
.ot-table tbody td:nth-child(4) {
    background: rgba(250, 204, 21, 0.12);
}

.ot-table thead th:nth-child(5),
.ot-table tbody td:nth-child(5) {
    background: rgba(244, 114, 182, 0.12);
}

.ot-table thead th:nth-child(6),
.ot-table tbody td:nth-child(6) {
    background: rgba(148, 163, 184, 0.18);
}

.ot-table thead th:nth-child(7),
.ot-table thead th:nth-child(8),
.ot-table thead th:nth-child(9),
.ot-table tbody td:nth-child(7),
.ot-table tbody td:nth-child(8),
.ot-table tbody td:nth-child(9) {
    background: rgba(59, 130, 246, 0.14);
}

.ot-table thead th:nth-child(10),
.ot-table thead th:nth-child(11),
.ot-table tbody td:nth-child(10),
.ot-table tbody td:nth-child(11) {
    background: rgba(16, 185, 129, 0.16);
}

.ot-col-team-home {
    justify-self: end;
    text-align: right;
}

.ot-col-team-away {
    justify-self: start;
    text-align: left;
}

.ot-col-result {
    justify-self: center;
    min-width: 34px;
    font-weight: 700;
    color: var(--text-primary);
}

.ot-empty-state {
    padding: 12px 0;
}

.ot-empty-state strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: var(--text-primary);
}

.ot-list-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.ot-list-per {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
}

.ot-list-per select {
    min-height: 30px;
    min-width: 74px;
    padding: 0 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-input);
    color: var(--text-primary);
    font: inherit;
    font-size: 12px;
}

.ot-infinite-status {
    min-height: 18px;
    margin-top: 6px;
    text-align: right;
    color: var(--text-secondary);
    font-size: 11px;
}

.ot-infinite-sentinel {
    width: 100%;
    height: 1px;
}

[data-theme="light"] .ot-table-wrap {
    border-color: rgba(17, 24, 39, 0.10);
}

[data-theme="light"] .ot-filters-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
    border-color: rgba(17, 24, 39, 0.10);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

[data-theme="light"] .ot-intro {
    border-bottom-color: rgba(17, 24, 39, 0.08);
}

[data-theme="light"] .ot-fieldset,
[data-theme="light"] .ot-multi-option,
[data-theme="light"] .ot-active-filter-chip {
    background: #f8fafc;
    border-color: rgba(17, 24, 39, 0.10);
}

[data-theme="light"] .ot-text-input,
[data-theme="light"] .ot-dropdown-trigger,
[data-theme="light"] .ot-dropdown-search,
[data-theme="light"] .ot-odds-input-wrap input {
    background: linear-gradient(180deg, #ffffff, #f9fbff);
    border-color: rgba(17, 24, 39, 0.12);
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .ot-multi-trigger.is-active {
    border-color: rgba(22, 163, 74, 0.36);
    background: rgba(34, 197, 94, 0.12);
    color: #14532d;
}

[data-theme="light"] .ot-dropdown-panel {
    background: #fff;
}

[data-theme="light"] .ot-dropdown-option:hover,
[data-theme="light"] .ot-dropdown-option.is-selected {
    background: rgba(17, 24, 39, 0.06);
}

[data-theme="light"] .ot-multi-option.is-checked {
    border-color: rgba(22, 163, 74, 0.42);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(22, 163, 74, 0.12));
    color: #14532d;
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.12);
}

[data-theme="light"] .ot-submit-button {
    color: #fff;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.24);
}

[data-theme="light"] .ot-reset-link {
    background: #eef2f7;
    border-color: rgba(100, 116, 139, 0.35);
    color: #334155;
}

[data-theme="light"] .ot-table thead th {
    background: #dfe6ec;
}

[data-theme="light"] .ot-table th,
[data-theme="light"] .ot-table td {
    border-bottom-color: rgba(17, 24, 39, 0.06);
}

[data-theme="light"] .ot-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

[data-theme="light"] .ot-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ot-table thead th:nth-child(1),
[data-theme="light"] .ot-table thead th:nth-child(2),
[data-theme="light"] .ot-table thead th:nth-child(3),
[data-theme="light"] .ot-table thead th:nth-child(4),
[data-theme="light"] .ot-table thead th:nth-child(5),
[data-theme="light"] .ot-table thead th:nth-child(6),
[data-theme="light"] .ot-table thead th:nth-child(7),
[data-theme="light"] .ot-table thead th:nth-child(8),
[data-theme="light"] .ot-table thead th:nth-child(9),
[data-theme="light"] .ot-table thead th:nth-child(10),
[data-theme="light"] .ot-table thead th:nth-child(11),
[data-theme="light"] .ot-table tbody td:nth-child(1),
[data-theme="light"] .ot-table tbody td:nth-child(2),
[data-theme="light"] .ot-table tbody td:nth-child(3),
[data-theme="light"] .ot-table tbody td:nth-child(4),
[data-theme="light"] .ot-table tbody td:nth-child(5),
[data-theme="light"] .ot-table tbody td:nth-child(6),
[data-theme="light"] .ot-table tbody td:nth-child(7),
[data-theme="light"] .ot-table tbody td:nth-child(8),
[data-theme="light"] .ot-table tbody td:nth-child(9),
[data-theme="light"] .ot-table tbody td:nth-child(10),
[data-theme="light"] .ot-table tbody td:nth-child(11) {
    background: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .ot-table thead th:nth-child(7),
[data-theme="light"] .ot-table thead th:nth-child(8),
[data-theme="light"] .ot-table thead th:nth-child(9),
[data-theme="light"] .ot-table tbody td:nth-child(7),
[data-theme="light"] .ot-table tbody td:nth-child(8),
[data-theme="light"] .ot-table tbody td:nth-child(9) {
    background: rgba(59, 130, 246, 0.18);
}

[data-theme="light"] .ot-table thead th:nth-child(1),
[data-theme="light"] .ot-table tbody td:nth-child(1) {
    background: rgba(14, 165, 233, 0.16);
}

[data-theme="light"] .ot-table thead th:nth-child(2),
[data-theme="light"] .ot-table tbody td:nth-child(2) {
    background: rgba(79, 70, 229, 0.14);
}

[data-theme="light"] .ot-table thead th:nth-child(3),
[data-theme="light"] .ot-table tbody td:nth-child(3) {
    background: rgba(5, 150, 105, 0.14);
}

[data-theme="light"] .ot-table thead th:nth-child(4),
[data-theme="light"] .ot-table tbody td:nth-child(4) {
    background: rgba(234, 179, 8, 0.16);
}

[data-theme="light"] .ot-table thead th:nth-child(5),
[data-theme="light"] .ot-table tbody td:nth-child(5) {
    background: rgba(236, 72, 153, 0.14);
}

[data-theme="light"] .ot-table thead th:nth-child(6),
[data-theme="light"] .ot-table tbody td:nth-child(6) {
    background: rgba(148, 163, 184, 0.20);
}

[data-theme="light"] .ot-table thead th:nth-child(10),
[data-theme="light"] .ot-table thead th:nth-child(11),
[data-theme="light"] .ot-table tbody td:nth-child(10),
[data-theme="light"] .ot-table tbody td:nth-child(11) {
    background: rgba(16, 185, 129, 0.22);
}

/* Keep sticky header fully opaque and dark by column tone */
.ot-table thead th:nth-child(1) { background: #1f4250; }
.ot-table thead th:nth-child(2) { background: #26386a; }
.ot-table thead th:nth-child(3) { background: #164b3d; }
.ot-table thead th:nth-child(4) { background: #5c4d16; }
.ot-table thead th:nth-child(5) { background: #5b2743; }
.ot-table thead th:nth-child(6) { background: #33414f; }
.ot-table thead th:nth-child(7),
.ot-table thead th:nth-child(8),
.ot-table thead th:nth-child(9) { background: #1c3f67; }
.ot-table thead th:nth-child(10),
.ot-table thead th:nth-child(11) { background: #155142; }

[data-theme="light"] .ot-table thead th {
    color: #ffffff;
    font-weight: 800;
}
[data-theme="light"] .ot-table thead th:nth-child(1) { background: #1f4250; }
[data-theme="light"] .ot-table thead th:nth-child(2) { background: #26386a; }
[data-theme="light"] .ot-table thead th:nth-child(3) { background: #164b3d; }
[data-theme="light"] .ot-table thead th:nth-child(4) { background: #5c4d16; }
[data-theme="light"] .ot-table thead th:nth-child(5) { background: #5b2743; }
[data-theme="light"] .ot-table thead th:nth-child(6) { background: #33414f; }
[data-theme="light"] .ot-table thead th:nth-child(7),
[data-theme="light"] .ot-table thead th:nth-child(8),
[data-theme="light"] .ot-table thead th:nth-child(9) { background: #1c3f67; }
[data-theme="light"] .ot-table thead th:nth-child(10),
[data-theme="light"] .ot-table thead th:nth-child(11) { background: #155142; }

[data-theme="light"] .ot-market-detail-row td {
    background: #eef2f7;
}

[data-theme="light"] .ot-market-card,
[data-theme="light"] .ot-market-chip {
    background: #fff;
    border-color: rgba(17, 24, 39, 0.08);
}

@media (max-width: 991px) {
    .ot-htft-field {
        max-width: none;
    }

    .ot-filter-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ot-field-search,
    .ot-dropdown-field,
    .ot-multi-field,
    .ot-odds-strip,
    .ot-filter-actions {
        flex: initial;
    }

    .ot-filter-top,
    .ot-filter-bottom {
        display: contents;
    }

    .ot-filter-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ot-odds-strip {
        grid-template-columns: 1fr;
    }

    .ot-odds-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ot-filter-form {
        grid-template-columns: 1fr;
    }

    .ot-filters-shell {
        padding: 9px;
    }

    .ot-filter-top {
        grid-template-columns: 1fr;
    }

    .ot-odds-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .ot-multi-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ot-odds-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ot-filter-actions {
        width: 100%;
        justify-content: stretch;
    }

    .ot-submit-button,
    .ot-reset-link {
        flex: 1 1 0;
    }

    .ot-results-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ot-market-stack {
        padding: 9px;
    }

    .ot-market-card {
        padding: 8px 9px;
    }
}

@media (min-width: 992px) {
    .ot-filter-form {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .ot-field-search {
        flex: 1 1 96px;
        min-width: 92px;
    }

    .ot-dropdown-field {
        flex: 0 0 88px;
    }

    .ot-multi-field {
        flex: 0 0 124px;
        max-width: 124px;
    }

    .ot-odds-strip {
        flex: 0 0 auto;
        min-width: 0;
    }

    .ot-odds-grid {
        grid-template-columns: repeat(5, minmax(0, 46px));
        gap: 3px;
    }

    .ot-filter-actions {
        flex: 0 0 auto;
        margin-left: 0;
        white-space: nowrap;
    }
}




