.ot-page {
    gap: 16px;
}

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

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

.ot-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 34%),
        linear-gradient(180deg, #142029 0%, #0f171e 100%);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.ot-hero-copy {
    display: grid;
    gap: 8px;
}

.ot-hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #22c55e;
    color: #052e16;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ot-hero h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1;
}

.ot-hero p {
    margin: 0;
    max-width: 860px;
    color: rgba(237, 245, 255, 0.78);
}

.ot-hero-badge {
    display: grid;
    align-content: center;
    gap: 4px;
    min-width: 220px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 12, 18, 0.44);
    text-align: right;
}

.ot-hero-badge-label,
.ot-toolbar-label,
.ot-sheet-title {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ot-hero-badge strong {
    font-size: 28px;
    line-height: 1;
}

.ot-hero-badge small,
.ot-sheet-note {
    color: #8ad7ca;
    font-size: 12px;
}

.ot-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

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

.ot-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ot-select {
    min-height: 32px;
    padding: 0 34px 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(12, 18, 24, 0.78);
    color: #edf5ff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    appearance: none;
    cursor: pointer;
}

.ot-select-wrap::after {
    content: "";
    position: absolute;
    right: 12px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid rgba(237, 245, 255, 0.82);
    border-bottom: 1.5px solid rgba(237, 245, 255, 0.82);
    transform: rotate(45deg) translateY(-2px);
    pointer-events: none;
}

.ot-chip {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(12, 18, 24, 0.54);
    color: var(--text-secondary);
    font: inherit;
    font-size: 12px;
    cursor: default;
}

.ot-chip.is-active {
    border-color: rgba(94, 234, 212, 0.28);
    background: rgba(15, 118, 110, 0.22);
    color: #dffcf7;
}

.ot-sheet-shell {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 13, 18, 0.72);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.ot-sheet-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.ot-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
}

.ot-filter-field,
.ot-odds-filter {
    display: grid;
    gap: 5px;
    position: relative;
}

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

.ot-filter-select,
.ot-odds-input-wrap input {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(12, 18, 24, 0.82);
    color: #edf5ff;
    font: inherit;
    font-size: 11px;
}

.ot-filter-select {
    min-width: 162px;
}

.ot-dropdown-field {
    min-width: 220px;
}

.ot-dropdown-trigger {
    min-height: 32px;
    padding: 0 36px 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(12, 18, 24, 0.82);
    color: #edf5ff;
    font: inherit;
    font-size: 11px;
    text-align: left;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ot-dropdown-trigger::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid rgba(237, 245, 255, 0.82);
    border-bottom: 1.5px solid rgba(237, 245, 255, 0.82);
    transform: translateY(-60%) rotate(45deg);
}

.ot-dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 20;
    width: 260px;
    max-height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #0f171e;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.ot-dropdown-search-wrap {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ot-dropdown-search {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    background: rgba(12, 18, 24, 0.92);
    color: #edf5ff;
    font: inherit;
    font-size: 11px;
}

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

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

.ot-dropdown-option:hover,
.ot-dropdown-option.is-selected {
    background: rgba(45, 212, 191, 0.12);
}

.ot-odds-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ot-odds-input-wrap {
    display: grid;
    gap: 3px;
}

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

.ot-odds-input-wrap input {
    width: 66px;
    text-align: center;
}

.ot-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ot-filter-submit,
.ot-filter-reset {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.ot-filter-submit {
    border: 1px solid rgba(94, 234, 212, 0.22);
    background: rgba(15, 118, 110, 0.24);
    color: #dffcf7;
    cursor: pointer;
}

.ot-filter-reset {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 18, 24, 0.82);
    color: #edf5ff;
}

.ot-sheet-wrap {
    overflow: auto;
}

.ot-sheet-table {
    width: 100%;
    min-width: 1230px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 11px;
}

.ot-col-date {
    width: 48px;
}

.ot-col-time {
    width: 46px;
}

.ot-col-league {
    width: 128px;
}

.ot-col-match {
    width: 176px;
}

.ot-col-score-narrow {
    width: 48px;
}

.ot-col-odd-narrow {
    width: 40px;
}

.ot-col-work {
    width: 260px;
}

.ot-sheet-group th,
.ot-sheet-head th {
    position: sticky;
    z-index: 2;
}

.ot-sheet-group th {
    top: 0;
    padding: 9px 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #1e2c37 0%, #16212a 100%);
    color: #d7f9f1;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
}

.ot-sheet-group th:last-child {
    border-right: 0;
}

.ot-sheet-head th {
    top: 37px;
    padding: 8px 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #10171e;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.ot-sheet-head th:last-child {
    border-right: 0;
}

.ot-sheet-table td {
    padding: 7px 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #edf5ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ot-sheet-table td:last-child {
    border-right: 0;
}

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

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

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

.ot-cell-league {
    color: #97d8cc;
}

.ot-cell-match {
    font-weight: 600;
}

.ot-cell-score,
.ot-cell-odd {
    font-family: Bahnschrift, "Bank Gothic Medium", "Eurostile", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    text-align: center;
}

.ot-sheet-head th:nth-child(5),
.ot-sheet-head th:nth-child(6),
.ot-sheet-head th:nth-child(7),
.ot-sheet-head th:nth-child(8),
.ot-sheet-head th:nth-child(9),
.ot-sheet-head th:nth-child(10),
.ot-sheet-head th:nth-child(11) {
    text-align: center;
}

.ot-col-tight {
    width: 48px;
}

.ot-col-odd-tight {
    width: 40px;
}

.ot-cell-score-strong {
    color: #f7fafc;
}

.ot-cell-odd {
    font-size: 9px;
    letter-spacing: .02em;
}

.ot-cell-odd.is-hit {
    background: rgba(34, 197, 94, 0.18) !important;
    color: #dffcf7;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.18);
}

.ot-sheet-table td:first-child,
.ot-sheet-table td:nth-child(2),
.ot-sheet-table td:nth-child(3) {
    font-size: 10px;
}

.ot-sheet-table td:first-child,
.ot-sheet-table td:nth-child(2) {
    text-align: center;
}

.ot-cell-league {
    font-size: 10px;
    text-align: center;
}

.ot-col-work-head,
.ot-cell-work {
    background: rgba(255, 255, 255, 0.01);
}

.ot-empty-state {
    padding: 20px 14px !important;
    color: var(--text-secondary) !important;
    text-align: center;
}

.ot-cell-over {
    color: #9ff7cf;
}

.ot-cell-under {
    color: #ffd48e;
}

[data-theme="light"] .ot-hero {
    border-color: rgba(17, 24, 39, 0.08);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 34%),
        linear-gradient(180deg, #f6fbfc 0%, #edf4f6 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
}

[data-theme="light"] .ot-hero p,
[data-theme="light"] .ot-toolbar-label,
[data-theme="light"] .ot-sheet-title {
    color: #52606d;
}

[data-theme="light"] .ot-hero-badge,
[data-theme="light"] .ot-toolbar,
[data-theme="light"] .ot-sheet-shell {
    border-color: rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .ot-chip {
    border-color: rgba(17, 24, 39, 0.10);
    background: #f4f7fa;
    color: #5a6571;
}

[data-theme="light"] .ot-chip.is-active {
    border-color: rgba(15, 118, 110, 0.18);
    background: rgba(16, 185, 129, 0.12);
    color: #0f766e;
}

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

[data-theme="light"] .ot-sheet-group th {
    background: linear-gradient(180deg, #dae8ee 0%, #ccdde6 100%);
    color: #18343a;
    border-right-color: rgba(17, 24, 39, 0.08);
    border-bottom-color: rgba(17, 24, 39, 0.08);
}

[data-theme="light"] .ot-sheet-head th {
    background: #eef4f7;
    color: #5a6571;
    border-right-color: rgba(17, 24, 39, 0.08);
    border-bottom-color: rgba(17, 24, 39, 0.08);
}

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

[data-theme="light"] .ot-sheet-table tbody tr:nth-child(odd) td {
    background: rgba(15, 23, 42, 0.03);
}

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

[data-theme="light"] .ot-sheet-table tbody tr:hover td {
    background: rgba(45, 212, 191, 0.10);
}

[data-theme="light"] .ot-cell-league {
    color: #0f766e;
}

[data-theme="light"] .ot-cell-over {
    color: #047857;
}

[data-theme="light"] .ot-cell-under {
    color: #b45309;
}

[data-theme="light"] .ot-filter-reset {
    border-color: rgba(17, 24, 39, 0.10);
    background: #f4f7fa;
    color: #334155;
}

@media (max-width: 991px) {
    .ot-hero {
        display: grid;
    }

    .ot-hero-badge {
        min-width: 0;
        text-align: left;
    }

    .ot-sheet-table {
        min-width: 980px;
    }
}
