.score-font { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.ss-predictions-app {
    display: grid;
    gap: 18px;
}

.ss-predictions-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: min(var(--bb-shell-width), calc(100vw - 32px));
    max-width: 100%;
    min-width: 0;
}

.ss-predictions-main {
    flex: 1 1 auto;
    min-width: 0;
}

.ss-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 13px;
}

.ss-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.ss-breadcrumb a:hover {
    color: var(--primary);
}

.ss-seo-hero {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.ss-seo-hero h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.04;
}

.ss-seo-hero p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Predictions Toolbar (same layout behavior as livescore) */
#predToolbar {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 10px 8px 8px;
    border-radius: 14px;
    background: linear-gradient(180deg, #212e39 0%, #18222c 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
#predToolbar .tabs {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 0;
    border-radius: 10px;
    background: #24323d;
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
}
#predToolbar .tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
    color: rgba(237, 245, 255, 0.78);
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    transition: background .16s ease, color .16s ease;
}
#predToolbar .tab-btn:last-child { border-right: 0; }
#predToolbar .tab-btn:hover:not(.active) { background: rgba(255, 255, 255, 0.06); color: #fff; }
#predToolbar .tab-btn.active, #predToolbar .tab-btn.active:hover {
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    color: #06281f;
}
#predToolbar .tab-btn i { margin-right: 5px; font-size: 10px; }
#predToolbar .tab-btn[data-tab="odds"] {
    position: relative;
    background: linear-gradient(180deg, #f8df7a 0%, #e2b93b 100%);
    color: #151515;
    text-shadow: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 24px rgba(226, 185, 59, 0.22);
}
#predToolbar .tab-btn[data-tab="odds"] i {
    color: #151515;
}
#predToolbar .tab-btn[data-tab="odds"]:hover {
    background: linear-gradient(180deg, #fbe58d 0%, #e6be44 100%);
    color: #111;
}
#predToolbar .tab-btn[data-tab="odds"].active,
#predToolbar .tab-btn[data-tab="odds"].active:hover {
    background: linear-gradient(180deg, #ffe78d 0%, #e0b12f 100%);
    color: #101010;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 12px 28px rgba(224, 177, 47, 0.30);
}
#predToolbar .tab-btn[data-tab="odds"].active i,
#predToolbar .tab-btn[data-tab="odds"]:hover i {
    color: #101010;
}
[data-theme="light"] #predToolbar .tab-btn[data-tab="odds"],
[data-theme="light"] #predToolbar .tab-btn[data-tab="odds"]:hover,
[data-theme="light"] #predToolbar .tab-btn[data-tab="odds"].active,
[data-theme="light"] #predToolbar .tab-btn[data-tab="odds"].active:hover {
    color: #111;
}

[data-theme="light"] #predToolbar {
  background: linear-gradient(180deg, #f5f8fb 0%, #eaf0f6 100%);
  border-color: rgba(17, 24, 39, 0.10);
  margin-bottom: 25px;
}
[data-theme="light"] #predToolbar .tabs {
    background: rgba(17, 24, 39, 0.06);
    border-color: rgba(17, 24, 39, 0.10);
}
[data-theme="light"] #predToolbar .tab-btn {
    color: #334155;
    border-right-color: rgba(17, 24, 39, 0.10);
}
[data-theme="light"] #predToolbar .tab-btn:hover:not(.active) {
    background: rgba(17, 24, 39, 0.06);
    color: #0f172a;
}
[data-theme="light"] #predToolbar .tab-btn.active, [data-theme="light"] #predToolbar .tab-btn.active:hover { color: #053b2d; }

#roundNav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 0 0 14px;
    margin-left: 32px;
}

.ss-round-nav {
    text-align: center;
}

.date-navigation,
.ss-nav-date-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.ss-round-nav .date-navigation {
    margin-left: 0;
}

.ss-nav-date {
    display: flex;
    justify-content: flex-end;
    min-width: 320px;
    margin-left: auto;
    white-space: nowrap;
}

.date-btn,
.ss-date-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
}

.date-btn:disabled,
.ss-date-btn:disabled {
    opacity: .35;
    cursor: default;
}

.date-input,
.ss-date-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.date-label,
.ss-date-label,
.round-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.date-label,
.ss-date-label {
    cursor: pointer;
}

.date-label i,
.ss-date-label i {
    color: var(--primary);
    font-size: 11px;
}

.date-display {
    margin-top: 6px;
    text-align: right;
    color: var(--text-secondary);
    font-size: 12px;
}

.league-insights-shell {
    margin: 22px 0 18px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(14,24,30,0.96), rgba(10,17,22,0.94));
    box-shadow: 0 18px 48px rgba(0,0,0,0.28);
    overflow: hidden;
}

.league-insights-hero {
    padding: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background:
        radial-gradient(circle at top right, rgba(244,197,66,0.12), transparent 28%),
        radial-gradient(circle at top left, rgba(52,211,153,0.10), transparent 24%);
}

.league-insights-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(111,224,212,0.10);
    color: #7ceee1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.league-insights-hero-grid,
.league-insights-grid--main,
.league-insights-grid--2 {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 16px;
}

.league-insights-copy h2 {
    margin: 14px 0 10px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.04;
}

.league-insights-copy p,
.league-insights-section-head p,
.league-insights-card--tone p,
.league-insights-row span,
.league-insights-mini-row span,
.league-insights-stat span {
    color: var(--text-secondary);
}

.league-insights-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.72;
}

.league-insights-stat-grid,
.league-insights-grid--4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.league-insights-stat,
.league-insights-card {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    padding: 16px;
}

.league-insights-stat small,
.league-insights-card--tone small {
    display: block;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

.league-insights-stat strong,
.league-insights-card--tone strong {
    display: block;
    margin-top: 8px;
    font-size: 26px;
}

.league-insights-stat span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
}

.league-insights-side {
    display: grid;
    gap: 12px;
}

.league-insights-side-card h3,
.league-insights-card h4 {
    margin: 0 0 12px;
    font-size: 15px;
}

.league-insights-mini-list,
.league-insights-stack,
.league-insights-map {
    display: grid;
    gap: 10px;
}

.league-insights-mini-row,
.league-insights-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.league-insights-mini-row strong,
.league-insights-row strong {
    display: block;
    font-size: 14px;
}

.league-insights-mini-row span,
.league-insights-row span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.5;
}

.league-insights-pill,
.league-insights-confidence {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.league-insights-pill.is-safe { background: rgba(134,217,104,0.16); color: #baf39f; }
.league-insights-pill.is-seo { background: rgba(244,197,66,0.16); color: #ffe084; }
.league-insights-pill.is-live { background: rgba(111,224,212,0.16); color: #9efbf0; }
.league-insights-confidence.is-hot { background: rgba(134,217,104,0.18); color: #c8ffb0; }
.league-insights-confidence.is-warm { background: rgba(244,197,66,0.18); color: #ffe59a; }

.league-insights-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    scrollbar-width: none;
}

.league-insights-tabs::-webkit-scrollbar { display: none; }

.league-insights-tab {
    border: 0;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.league-insights-tab:hover:not(.active) {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
}

.league-insights-tab.active {
    background: linear-gradient(180deg, #f8df7a 0%, #e2b93b 100%);
    color: #151515;
    box-shadow: 0 10px 24px rgba(226,185,59,0.22);
}

.league-insights-panel {
    display: none;
    padding: 18px;
}

.league-insights-panel.active { display: block; }

.league-insights-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.league-insights-section-head h3 {
    margin: 0;
    font-size: 24px;
}

.league-insights-section-head p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.65;
}

.league-insights-note {
    color: #7ceee1;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.league-insights-grid {
    display: grid;
    gap: 14px;
}

.league-insights-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.league-insights-card--tone strong {
    font-size: 22px;
}

.league-insights-card--tone p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.65;
}

.league-insights-table {
    width: 100%;
    border-collapse: collapse;
}

.league-insights-table th,
.league-insights-table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
    font-size: 13px;
}

.league-insights-table th {
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.league-insights-pos {
    width: 34px;
    text-align: center;
    font-weight: 800;
    color: #f4c542;
}

.league-insights-map-row {
    display: grid;
    grid-template-columns: 16px 124px 1fr auto;
    gap: 12px;
    align-items: center;
}

.league-insights-map-row i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dot, #7ceee1);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
}

.league-insights-map-row span {
    font-size: 13px;
}

.league-insights-map-row small {
    color: var(--text-secondary);
    font-size: 12px;
}

.league-insights-bar {
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.league-insights-bar b {
    display: block;
    width: var(--fill, 50%);
    height: 100%;
    border-radius: inherit;
    background: var(--bar, #7ceee1);
}

@media (max-width: 980px) {
    .league-insights-hero-grid,
    .league-insights-grid--main,
    .league-insights-grid--2,
    .league-insights-grid--4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .league-insights-hero,
    .league-insights-panel {
        padding: 16px;
    }

    .league-insights-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .league-insights-map-row {
        grid-template-columns: 16px 1fr;
    }

    .league-insights-map-row .league-insights-bar,
    .league-insights-map-row small {
        grid-column: 2;
    }

    .league-insights-table th:nth-child(4),
    .league-insights-table td:nth-child(4) {
        display: none;
    }
}

[data-theme="light"] .date-label,
[data-theme="light"] .ss-date-label,
[data-theme="light"] .round-display {
    background: rgba(17, 24, 39, 0.04);
    border-color: rgba(17, 24, 39, 0.10);
    color: #334155;
}

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

@media (max-width: 991px) {
    .nav-menu { background: #223138; }
    [data-theme="light"] .nav-menu { background: #dbe4e8; }
    #predToolbar {
        padding: 0;
        border-radius: 12px;
    }
    #predToolbar .tab-btn {
        height: 30px;
        min-width: 0;
        padding: 0 8px;
        font-size: 10px;
    }
}

.tab-content { display: none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.tab-content.active { display: block; min-height: clamp(760px, 72vh, 1160px); }

.tab-content > .loading { min-height: clamp(620px, 64vh, 900px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 768px) { .tab-content.active { min-height: auto; } .tab-content > .loading { min-height: 56vh; } }

.pred-header { display: grid; padding: 10px; background: rgba(83, 111, 118, 0.25); font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; border-radius: 6px 6px 0 0; }
[data-theme="light"] .pred-header { background: rgba(83, 111, 118, 0.15); color: #333; }
.pred-header > div { text-align: center; }

/* Score Tab */
.score-header { grid-template-columns: 70px 1fr 58px 1fr auto; }
.score-header.scheduled { grid-template-columns: 70px 1fr 58px 1fr; }
.score-header.league-scheduled { grid-template-columns: 70px 1fr 58px 1fr; }
.score-header div:nth-child(3) {
    text-align: center;
    white-space: nowrap;
    font-size: 10px;
    letter-spacing: 0;
}
.score-row { display: grid; grid-template-columns: 70px 1fr 58px 1fr; align-items: center; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.score-row.scheduled { grid-template-columns: 70px 1fr 58px 1fr; }
.score-row.finished { grid-template-columns: 70px 1fr 58px 1fr auto; }
.score-row.finished .prediction-result { text-align: center; }
.score-row.finished .prediction-result .pred-box { display: inline-block; min-width: 50px; padding: 4px 8px; background: var(--gradient); border-radius: 4px; font-weight: 700; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 12px; text-align: center; }
.score-row.finished .prediction-result .pred-box.hit { background: #27ae60; }
.score-row.mixed { grid-template-columns: 70px 1fr 58px 1fr auto; }
.score-row.mixed .prediction-result { text-align: center; white-space: nowrap; }
.score-row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.score-row:nth-child(even) { background: rgba(255,255,255,0.01); }
[data-theme="light"] .score-row:nth-child(odd) { background: rgba(0,0,0,0.06); }
[data-theme="light"] .score-row:nth-child(even) { background: #fff; }
.score-row:hover { background: rgba(83, 111, 118, 0.15); }
.score-row .time { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.9); text-align: center; line-height: 1.3; }
.score-row .home { text-align: right; padding-right: 5px; font-size: 13px; }
.score-row .away { text-align: left; padding-left: 5px; font-size: 13px; }
.score-row .pred { text-align: center; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.score-row.finished .pred { flex-direction: column; gap: 2px; }
.score-row .pred span { font-weight: 700; color: #ffffff; text-align: center; font-family: Bahnschrift, "Bank Gothic Medium", "Eurostile", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 18px; line-height: 1; }
.score-row .total { text-align: center; padding: 4px 8px; background: rgba(83,111,118,0.4); border-radius: 4px; font-weight: 700; color: #fff; }
[data-theme="light"] .score-row .total { background: rgba(83,111,118,0.2); color: #333; }
.score-row .time .scheduled,
.over-row .time .scheduled,
.htft-row .time .scheduled,
.corner-row .time .scheduled { color: var(--primary-light); }
.score-row .time .live-badge,
.over-row .time .live-badge,
.htft-row .time .live-badge,
.corner-row .time .live-badge { color: #a61c5a; font-weight: 700; }
.score-row .time .ht-badge,
.over-row .time .ht-badge,
.htft-row .time .ht-badge,
.corner-row .time .ht-badge { color: #a61c5a; font-weight: 700; }
.score-row .time .ft-badge,
.over-row .time .ft-badge,
.htft-row .time .ft-badge,
.corner-row .time .ft-badge { color: rgba(255,255,255,0.78); font-weight: 700; }
[data-theme="light"] .score-row .time { color: #31464c; }
[data-theme="light"] .over-row .time,
[data-theme="light"] .htft-row .time,
[data-theme="light"] .corner-row .time { color: #31464c; }
[data-theme="light"] .score-row .time .scheduled,
[data-theme="light"] .over-row .time .scheduled,
[data-theme="light"] .htft-row .time .scheduled,
[data-theme="light"] .corner-row .time .scheduled { color: #31464c; }
[data-theme="light"] .score-row .time .live-badge,
[data-theme="light"] .over-row .time .live-badge,
[data-theme="light"] .htft-row .time .live-badge,
[data-theme="light"] .corner-row .time .live-badge,
[data-theme="light"] .score-row .time .ht-badge,
[data-theme="light"] .over-row .time .ht-badge,
[data-theme="light"] .htft-row .time .ht-badge,
[data-theme="light"] .corner-row .time .ht-badge { color: #a61c5a; }
[data-theme="light"] .score-row .time .ft-badge,
[data-theme="light"] .over-row .time .ft-badge,
[data-theme="light"] .htft-row .time .ft-badge,
[data-theme="light"] .corner-row .time .ft-badge { color: #5b6773; }
.minute-blink { animation: minutePulse 1s ease-in-out infinite; }
@keyframes minutePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.pred-live-stack { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pred-live-stack.live .finished-result { color: #a61c5a; }
.pred-live-stack.halftime .finished-result { color: #a61c5a; }
.pred-live-stack.finished .finished-result { color: #dc3545; }
[data-theme="light"] .pred-live-stack.live .finished-result,
[data-theme="light"] .pred-live-stack.halftime .finished-result { color: #a61c5a; }
[data-theme="light"] .pred-live-stack.finished .finished-result { color: #dc3545; }
.pred-live-stack .live-ht-line { font-size: 10px; color: var(--text-secondary); line-height: 1.1; }
.score-row .pred.pred-finished-stack,
.htft-row .pred.pred-finished-stack,
.over-row .pred.pred-finished-stack,
.corner-row .pred.pred-finished-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    white-space: normal;
}
.score-row .pred.pred-finished-stack .live-ht-line,
.htft-row .pred.pred-finished-stack .live-ht-line,
.over-row .pred.pred-finished-stack .live-ht-line,
.corner-row .pred.pred-finished-stack .live-ht-line {
    display: block;
    width: 100%;
    font-size: 10px;
    line-height: 1.1;
    color: var(--text-secondary);
    text-align: center;
}
.score-row .pred.pred-finished-stack .finished-result,
.htft-row .pred.pred-finished-stack .finished-result,
.over-row .pred.pred-finished-stack .finished-result,
.corner-row .pred.pred-finished-stack .finished-result {
    display: block;
    width: 100%;
    text-align: center;
}

.score-row.finished .pred.pred-score-stack {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    align-content: center;
    gap: 2px;
    white-space: normal;
}

.score-row.finished .pred.pred-score-stack .finished-result {
    grid-row: 1;
}

.score-row.finished .pred.pred-score-stack .live-ht-line {
    grid-row: 2;
    display: block;
    width: 100%;
    margin-top: 2px;
    text-align: center;
}

/* Over/Under Tab */
.over-header { grid-template-columns: 70px 1fr 58px 1fr 65px 65px 65px; }
.over-header.scheduled { grid-template-columns: 70px 1fr 58px 1fr 65px 65px 65px; }
.over-header.league-scheduled { grid-template-columns: 70px 1fr 58px 1fr 65px 65px 65px; }
.over-row.scheduled { grid-template-columns: 70px 1fr 58px 1fr 65px 65px 65px; }
.over-row { display: grid; grid-template-columns: 70px 1fr 58px 1fr 65px 65px 65px; align-items: center; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.over-row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.over-row:nth-child(even) { background: rgba(255,255,255,0.01); }
[data-theme="light"] .over-row:nth-child(odd) { background: rgba(0,0,0,0.06); }
[data-theme="light"] .over-row:nth-child(even) { background: #fff; }
.over-row:hover { background: rgba(83, 111, 118, 0.15); }
.over-row .time { font-size: 11px; font-weight: 600; color: var(--primary-light); text-align: center; line-height: 1.3; }
.over-row .home { text-align: right; padding-right: 5px; font-size: 13px; display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.over-row .away { text-align: left; padding-left: 5px; font-size: 13px; display: flex; align-items: center; gap: 4px; }
.over-row .pred { text-align: center; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.over-row .pred span { min-width: 24px; padding: 4px 6px; font-weight: 700; color: #ffffff; text-align: center; font-family: Bahnschrift, "Bank Gothic Medium", "Eurostile", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 18px; line-height: 1; }
.over-row .prob { text-align: center; }
.ou-badge { display: inline-block; padding: 4px 6px; border-radius: 4px; font-weight: 700; font-size: 10px; background: var(--gradient); color: #fff; }
.ou-thr { display: none; }
.ou-row2 { display: contents; }
.corner-row2 { display: contents; }
.htft-row2 {
    display: grid;
    grid-column: 5 / 7;
    grid-template-columns: 72px 132px;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.ou-badge.ou-over { background: #FFD700; color: #000; }
.ou-badge.ou-under { background: #4169E1; color: #fff; }
.prob-high { background: #28a745; color: #fff; }
.prob-med { background: #ffc107; color: #000; }
.prob-low { background: #dc3545; color: #fff; }

/* HT/FT Tab */
.htft-header { grid-template-columns: 70px 1fr 58px 1fr 72px 132px; }
.htft-header.league-scheduled { grid-template-columns: 70px 1fr 58px 1fr 180px; }
.htft-header.scheduled { grid-template-columns: 70px 1fr 58px 1fr 180px; }
.htft-row { display: grid; grid-template-columns: 70px 1fr 58px 1fr 72px 132px; align-items: center; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.htft-row.league-scheduled { grid-template-columns: 70px 1fr 58px 1fr 180px; }
.htft-row.scheduled { grid-template-columns: 70px 1fr 58px 1fr 180px; }
.htft-row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.htft-row:nth-child(even) { background: rgba(255,255,255,0.01); }
[data-theme="light"] .htft-row:nth-child(odd) { background: rgba(0,0,0,0.06); }
[data-theme="light"] .htft-row:nth-child(even) { background: #fff; }
.htft-row:hover { background: rgba(83, 111, 118, 0.15); }
.htft-row .time { font-size: 11px; font-weight: 600; color: var(--primary-light); text-align: center; line-height: 1.3; }
.htft-row .home { text-align: right; padding-right: 5px; font-size: 13px; display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.htft-row .away { text-align: left; padding-left: 5px; font-size: 13px; display: flex; align-items: center; gap: 4px; }
.htft-row .pred { text-align: center; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.htft-row .pred span { min-width: 24px; padding: 4px 6px; font-weight: 700; color: #ffffff; text-align: center; font-family: Bahnschrift, "Bank Gothic Medium", "Eurostile", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 18px; line-height: 1; }
.htft-row .result-box { text-align: center; min-width: 0; }
.htft-row .result-box span { display: inline-block; padding: 3px 6px; background: rgba(255,255,255,0.15); border-radius: 4px; font-weight: 600; font-size: 11px; color: #fff; }
[data-theme="light"] .htft-row .result-box span { background: rgba(83,111,118,0.2); color: #333; }
.htft-row .pred-box { text-align: center; }
.htft-row .pred-box span { display: inline-block; padding: 3px 6px; border-radius: 4px; font-weight: 600; font-size: 11px; color: #fff; }
.htft-row .pred-box .hit-yes { background: #28a745; }
.htft-row .pred-box .hit-no { background: #dc3545; }
.htft-row .pred-box .no-result { background: var(--gradient); }
.htft-top3 { display: flex; gap: 5px; justify-content: flex-start; min-width: 0; }
.htft-top3 .htft-item { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 3px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; background: var(--gradient); color: #fff; white-space: nowrap; min-width: auto; text-align: center; line-height: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.htft-top3 .htft-item .pct { color: rgba(255,255,255,0.6); font-weight: 400; }
.htft-top3 .htft-item.htft-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
    gap: 2px;
    width: 60px;
    min-width: 60px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent url('/uploads/ui/ht-ft.png?v=2') center/100% 100% no-repeat;
    color: #fff;
    font-size: 10px;
}
.htft-top3 .htft-item.htft-item-badge .htft-code { font-weight: 700; line-height: 1; margin-left: 0; }
.htft-top3 .htft-item.htft-item-badge .pct { color: rgba(255,255,255,0.95); font-size: 10px; line-height: 1; padding-left: 6px; }
[data-theme="light"] .htft-top3 .htft-item .pct { color: rgba(255,255,255,0.8); }
.htft-top3 .htft-item.hit-yes { background: #28a745; }
.htft-top3 .htft-item.hit-no { background: #dc3545; }
.htft-top3 .htft-item.hit-yes.htft-item-elite {
    position: relative;
    background: linear-gradient(135deg, #fff2a8 0%, #e0b127 48%, #c89210 100%);
    color: #2f250b;
    border: 1px solid rgba(255, 239, 164, 0.62);
    box-shadow: 0 0 0 1px rgba(140, 98, 9, 0.16), 0 6px 14px rgba(216, 162, 30, 0.30);
    background-size: 180% 180%;
    animation: htftEliteGlow 2.2s ease-in-out infinite;
}
.htft-top3 .htft-item.hit-yes.htft-item-elite::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 18%, rgba(255,255,255,0.28) 50%, transparent 82%);
    opacity: 0;
    animation: htftEliteShine 2.2s ease-in-out infinite;
    pointer-events: none;
}
[data-theme="light"] .htft-top3 .htft-item.hit-yes.htft-item-elite {
    color: #3a2c09;
    box-shadow: 0 0 0 1px rgba(161, 116, 13, 0.16), 0 5px 12px rgba(216, 162, 30, 0.22);
}
@keyframes htftEliteGlow {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 0 1px rgba(140, 98, 9, 0.16), 0 6px 14px rgba(216, 162, 30, 0.24); background-position: 0% 50%; }
    50% { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(140, 98, 9, 0.22), 0 8px 18px rgba(216, 162, 30, 0.38); background-position: 100% 50%; }
}
@keyframes htftEliteShine {
    0%, 35%, 100% { opacity: 0; transform: translateX(-55%); }
    45%, 65% { opacity: 1; transform: translateX(55%); }
}

.league-title-mini { padding: 8px 12px; background: linear-gradient(90deg, #9ca3af 0%, #e5e7eb 100%); font-weight: 600; font-size: 13px; color: #1f2937; border-left: 3px solid var(--primary); margin-top: 10px; }
[data-theme="light"] .league-title-mini { background: linear-gradient(90deg, #9ca3af 0%, #e5e7eb 100%); color: #1f2937; }
.league-flag-wrap { display: inline-flex; align-items: center; vertical-align: middle; }
.league-logo-img { width: 18px; height: 18px; object-fit: fill; vertical-align: middle; border-radius: 3px; margin: 0 4px 0 6px; background: rgba(255,255,255,0.08); padding: 1px; }
[data-theme="light"] .league-logo-img { background: rgba(0,0,0,0.06); }

/* Team logos */
.score-row .home, .score-row .away { display: flex; align-items: center; gap: 4px; }
.score-row .home { justify-content: flex-end; }
.score-row .away { justify-content: flex-start; }
.over-row .teams, .htft-row .teams { display: flex; align-items: center; gap: 4px; }
.team-logo { flex-shrink: 0; border-radius: 2px; width: 20px; height: 25px; object-fit: fill; }
.score-row .home, .score-row .away,
.over-row .home, .over-row .away,
.htft-row .home, .htft-row .away,
.corner-row .home, .corner-row .away { overflow: visible; text-overflow: clip; white-space: normal; min-width: 0; }
.score-row, .over-row, .htft-row, .corner-row { overflow: hidden; min-width: 0; }

/* Hit badges for finished matches */
.hit-badges { display: flex; gap: 3px; flex-wrap: wrap; }
.hit-badge { padding: 2px 5px; border-radius: 3px; font-size: 9px; font-weight: 600; }
.hit-badges-right { display: flex; gap: 4px; justify-content: flex-end; align-items: center; }
.hit-box { padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; text-align: center; cursor: default; white-space: nowrap; }
.hit-box.mr-box { min-width: 24px; }
.hit-box.htft-box { min-width: 36px; }
.hit-box .ov { color: rgba(255,255,255,0.6); font-weight: 600; }
.hit-box .un { color: #fff; font-weight: 700; }
[data-theme="light"] .hit-box .ov { color: #fff; }
[data-theme="light"] .hit-box .un { color: #333; }
.hit-box.ou-box { min-width: 50px; }
.ov { color: rgba(255,255,255,0.6); font-weight: 600; }
.un { color: #fff; font-weight: 700; }
.ou-label { color: rgba(255,255,255,0.5); }
.ou-num { color: #fff; font-weight: 700; }
[data-theme="light"] .ov { color: #fff; }
[data-theme="light"] .un { color: #333; }
[data-theme="light"] .ou-label { color: #888; }
[data-theme="light"] .ou-num { color: #333; }
.hit-sep { color: var(--text-secondary); font-size: 12px; }
.hit-yes { background: #28a745; color: #fff; }
.hit-no { background: #dc3545; color: #fff; }
.no-pred { color: var(--text-secondary); font-size: 11px; }

/* Corner Tab */
.corner-header { grid-template-columns: 70px 1fr 58px 1fr 70px 70px 70px; }
.corner-header.scheduled { grid-template-columns: 70px 1fr 58px 1fr 70px 70px 70px; }
.corner-row { display: grid; grid-template-columns: 70px 1fr 58px 1fr 70px 70px 70px; align-items: center; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.corner-row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.corner-row:nth-child(even) { background: rgba(255,255,255,0.01); }
[data-theme="light"] .corner-row:nth-child(odd) { background: rgba(0,0,0,0.06); }
[data-theme="light"] .corner-row:nth-child(even) { background: #fff; }
.corner-row:hover { background: rgba(83, 111, 118, 0.15); }
.corner-row .time { font-size: 11px; font-weight: 600; color: var(--primary-light); text-align: center; line-height: 1.3; }
.corner-row .home { text-align: right; padding-right: 5px; font-size: 13px; display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.corner-row .away { text-align: left; padding-left: 5px; font-size: 13px; display: flex; align-items: center; gap: 4px; }
.corner-row .pred { text-align: center; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.corner-row .pred span { min-width: 24px; padding: 4px 6px; font-weight: 700; color: #ffffff; text-align: center; font-family: Bahnschrift, "Bank Gothic Medium", "Eurostile", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 18px; line-height: 1; }
.score-row .pred span,
.over-row .pred span,
.htft-row .pred span,
.corner-row .pred span { color: #ffffff; }
[data-theme="light"] .score-row .pred span,
[data-theme="light"] .over-row .pred span,
[data-theme="light"] .htft-row .pred span,
[data-theme="light"] .corner-row .pred span { color: #000000; }
.corner-row .corner-placeholder { }
.corner-row .corner-box { text-align: center; }
.corner-row .corner-box span { display: inline-block; min-width: 40px; padding: 4px 8px; background: rgba(83,111,118,0.4); border-radius: 4px; font-weight: 600; color: #fff; font-size: 12px; }
[data-theme="light"] .corner-row .corner-box span { background: rgba(83,111,118,0.2); color: #333; }
.corner-row .corner-total span { background: var(--gradient); }
.corner-row .corner-hit span { background: #28a745; color: #fff; }
.corner-row .corner-miss span { background: #dc3545; color: #fff; }
.finished-result { text-align: center; font-weight: 700; font-size: 18px; color: #dc3545; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
[data-theme="light"] .finished-result { color: #dc3545; }
.score-row.finished, .over-row.finished, .htft-row.finished { background: rgba(40, 167, 69, 0.05); }
.score-row.finished:nth-child(odd), .over-row.finished:nth-child(odd), .htft-row.finished:nth-child(odd) { background: rgba(40, 167, 69, 0.08); }
.desktop-dash-gap { display: inline; }
@media (max-width: 991px) { .desktop-dash-gap { display: none; } }
.round-display { color: var(--text-primary); }

/* Odds tab */
.odds-note {
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(83, 111, 118, 0.18);
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 8px;
}
[data-theme="light"] .odds-note { background: rgba(83, 111, 118, 0.12); color: #455a64; }
.odds-header {
    grid-template-columns: 5% 20% 5% 20% 21% 5% 5% 5% 6% 8%;
    align-items: center;
}
.odds-row {
    display: grid;
    grid-template-columns: 5% 20% 5% 20% 21% 5% 5% 5% 6% 8%;
    align-items: center;
    gap: 0;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.odds-row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.odds-row:nth-child(even) { background: rgba(255,255,255,0.01); }
[data-theme="light"] .odds-row:nth-child(odd) { background: rgba(0,0,0,0.06); }
[data-theme="light"] .odds-row:nth-child(even) { background: #fff; }
.odds-row:hover {
    background: rgba(83, 111, 118, 0.15);
}
.odds-time {
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    color: var(--primary-light);
    font-weight: 600;
}
.odds-time .odds-status {
    display: inline-block;
    margin-top: 2px;
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}
.odds-team-home, .odds-team-away {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    font-size: 13px;
    min-width: 0;
}
.odds-team-home { justify-content: flex-end; padding-right: 6px; }
.odds-team-away { justify-content: flex-start; padding-left: 6px; }
.odds-team-home span, .odds-team-away span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}
.odds-team-logo {
    width: 18px;
    height: 18px;
    object-fit: fill;
    flex: 0 0 auto;
}
.odds-vs { color: var(--text-secondary); font-size: 11px; text-align: center; font-weight: 600; }
.odds-gap { min-height: 1px; }
.odds-val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3px 5px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    background: rgba(83,111,118,0.35);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    min-width: 56px;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
[data-theme="light"] .odds-val { background: rgba(83,111,118,0.2); color: #333; }
.odds-row:hover .odds-val {
    background: rgba(83,111,118,0.48);
    transform: translateY(-1px);
}
.odds-action { text-align: right; }
.odds-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 4px;
    background: #27ae60;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}
.odds-link--image {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 6px;
    overflow: hidden;
}
.odds-link-image {
    display: block;
    width: 70px;
    height: 20px;
    border-radius: 6px;
}
.odds-link:hover {
    opacity: 0.96;
    transform: translateY(-1px);
    background: #219150;
}
.odds-link--image:hover {
    background: transparent;
}
.odds-link--image:hover .odds-link-image {
    filter: brightness(1.03);
}
.odds-muted { color: var(--text-secondary); font-size: 11px; text-align: center; }

.odds-fake { background: rgba(83,111,118,0.32); }
.odds-fake-text {
    display: inline-block;
    filter: blur(2px);
    -webkit-filter: blur(2px);
    opacity: 0.76;
    user-select: none;
    pointer-events: none;
    letter-spacing: 0.8px;
}

@media (max-width: 1200px) {
    .ss-predictions-layout {
        display: block;
        width: 100%;
    }

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

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 991px) {
    .content-area { padding: 8px; padding-top: 8px; overflow-x: hidden; }
    .tab-content { overflow-x: hidden; }
    .tabs-container { margin-bottom: 8px; }
    .tabs { gap: 5px; }
    .tab-btn { padding: 6px 10px; font-size: 12px; }
    .tab-btn i { display: none; }
    .pred-header { padding: 5px 4px; font-size: 9px; }
    .league-title-mini { padding: 5px 6px; font-size: 12px; }
    #roundNav { margin-bottom: 10px; }
    .ss-round-nav .date-navigation { justify-content: center; }
    .date-navigation,
    .ss-nav-date {
        width: 100%;
    }
    .date-navigation,
    .ss-nav-date-controls { gap: 4px; width: 100%; justify-content: flex-end; }
    .date-btn,
    .ss-date-btn { width: 28px; height: 28px; font-size: 9px; }
    .date-label,
    .ss-date-label,
    .round-display { min-height: 30px; padding: 0 8px; font-size: 10px; }
    .date-display { font-size: 12px; }
    .team-logo { width: 20px; height: 25px; object-fit: fill; }
    .score-row .team-logo,
    .score-row .team-logo--pred,
    .over-row .team-logo,
    .over-row .team-logo--pred,
    .htft-row .team-logo,
    .htft-row .team-logo--pred,
    .corner-row .team-logo,
    .corner-row .team-logo--pred,
    .odds-row .team-logo,
    .odds-row .team-logo--pred,
    .odds-row .odds-team-logo { display: none !important; }
.finished-result { font-size: 18px; }

    /* ====== Score Tab - 12-col grid, prediction altina ====== */
    .score-header, .score-header.scheduled, .score-header.league-scheduled {
        grid-template-columns: repeat(12, 1fr);
    }
    .score-header > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .score-header > :nth-child(2) { grid-column: 3 / 7; grid-row: 1; }
    .score-header > :nth-child(3) {
        grid-row: 1;
        white-space: nowrap;
        font-size: 8px;
        letter-spacing: 0;
    }
    .score-header > :nth-child(4) { grid-column: 10 / 13; grid-row: 1; }
    .score-header > :nth-child(5) { display: none; }
    .score-row, .score-row.scheduled, .score-row.mixed, .score-row.finished {
        display: grid; grid-template-columns: repeat(12, 1fr);
        padding: 6px 4px 4px; align-items: center;
    }
    .score-row .time { grid-row: 1; font-size: 9px; text-align: center; }
    .score-row .home { grid-column: 3 / 7; grid-row: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-right: 15px; }
    .score-row .pred { grid-column: 6 / 9; grid-row: 1; }
    .score-row .pred:not(.pred-finished-stack) { gap: 0 !important; font-size: 0; letter-spacing: 0; }
    .score-row .pred span { min-width: 16px;  font-size: 18px; color: #ffffff; }
    .score-row .pred:not(.pred-finished-stack) span { min-width: 0; }
    .score-row .pred:not(.pred-finished-stack) span:first-child::after { content: "-"; display: inline-block; margin: 0 -1px 0 0; }
    .score-row .pred:not(.pred-finished-stack) span + span { margin-left: -6px; }
    [data-theme="light"] .score-row .pred span { color: #000000; }
    .score-row .away { grid-column: 8 / 13; grid-row: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-left: 15px; }
    .score-row.finished .prediction-result { grid-column: 2 / 13; grid-row: 2; text-align: center; padding-top: 4px; }
    .score-row.finished .prediction-result .pred-box { min-width: 36px; padding: 2px 6px; font-size: 12px; word-spacing: -0.5em; letter-spacing: 0; }
    .score-row .finished-result { word-spacing: -0.5em; letter-spacing: 0; }

    /* ====== Over/Under Tab - 2 satir: ust mac bilgisi, alt O/U degerleri ====== */
    .over-header > div:nth-child(n+5) { display: none; }
    .over-header, .over-header.scheduled, .over-header.league-scheduled {
        grid-template-columns: repeat(12, 1fr);
    }
    .over-header > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .over-header > :nth-child(2) { grid-column: 3 / 7; grid-row: 1; }
    .over-header > :nth-child(3) { grid-column: 7 / 9; grid-row: 1; }
    .over-header > :nth-child(4) { grid-column: 9 / 13; grid-row: 1; }
    .over-row, .over-row.scheduled, .over-row.finished {
        display: grid; grid-template-columns: repeat(12, 1fr);
        padding: 6px 4px 4px; align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .over-row .time { grid-column: 1 / 3; grid-row: 1; font-size: 9px; text-align: center; }
    .over-row .home { grid-column: 3 / 7; grid-row: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-right: 3px; }
    .over-row .pred { grid-column: 7 / 9; grid-row: 1; }
    .over-row .pred span { min-width: 16px;  font-size: 16px; color: #ffffff; }
    [data-theme="light"] .over-row .pred span { color: #000000; }
    .over-row .away { grid-column: 9 / 13; grid-row: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-left: 3px; }
    .ou-row2 { display: flex; justify-content: center; gap: 6px; grid-column: 3 / 13; grid-row: 2; padding-top: 4px; }
    .ou-badge { padding: 3px 8px; font-size: 9px; }
    .ou-thr { display: inline; font-weight: 700; }

    /* ====== HT/FT Tab - 12-col grid, degerler altina ====== */
    .htft-header > div:nth-child(n+5) { display: none; }
    .htft-header, .htft-header.scheduled, .htft-header.league-scheduled {
        grid-template-columns: repeat(12, 1fr);
    }
    .htft-header > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .htft-header > :nth-child(2) { grid-column: 3 / 7; grid-row: 1; }
    .htft-header > :nth-child(3) { grid-column: 7 / 9; grid-row: 1; }
    .htft-header > :nth-child(4) { grid-column: 9 / 13; grid-row: 1; }
    .htft-row, .htft-row.scheduled, .htft-row.league-scheduled, .htft-row.finished {
        display: grid; grid-template-columns: repeat(12, 1fr);
        padding: 6px 4px 4px; align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .htft-row .time { grid-column: 1 / 3; grid-row: 1; font-size: 9px; text-align: center; }
    .htft-row .home { grid-column: 3 / 7; grid-row: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-right: 3px; }
    .htft-row .pred { grid-column: 7 / 9; grid-row: 1; }
    .htft-row .pred span { min-width: 16px;  font-size: 16px; color: #ffffff; }
    [data-theme="light"] .htft-row .pred span { color: #000000; }
    .htft-row .away { grid-column: 9 / 13; grid-row: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-left: 3px; }
    .htft-row2 { display: flex; justify-content: center; gap: 6px; grid-column: 3 / 13; grid-row: 2; padding-top: 4px; }
    .htft-top3 .htft-item:not(.htft-item-badge) { padding: 3px 6px; font-size: 12px; min-width: auto; }

    /* ====== Corner Tab - 2 satir: ust mac bilgisi, alt corner degerleri ====== */
    .corner-header > div:nth-child(n+5) { display: none; }
    .corner-header, .corner-header.scheduled {
        grid-template-columns: repeat(12, 1fr);
    }
    .corner-header > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .corner-header > :nth-child(2) { grid-column: 3 / 7; grid-row: 1; }
    .corner-header > :nth-child(3) { grid-column: 7 / 9; grid-row: 1; }
    .corner-header > :nth-child(4) { grid-column: 9 / 13; grid-row: 1; }
    .corner-row {
        display: grid; grid-template-columns: repeat(12, 1fr);
        padding: 6px 4px 4px; align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .corner-row .time { grid-column: 1 / 3; grid-row: 1; font-size: 9px; text-align: center; }
    .corner-row .home { grid-column: 3 / 7; grid-row: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-right: 3px; }
    .corner-row .pred { grid-column: 7 / 9; grid-row: 1; }
    .corner-row .pred span { min-width: 16px;  font-size: 16px; color: #ffffff; }
    [data-theme="light"] .corner-row .pred span { color: #000000; }
    .corner-row .away { grid-column: 9 / 13; grid-row: 1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-left: 3px; }
    .corner-row2 { display: flex; justify-content: center; gap: 6px; grid-column: 3 / 13; grid-row: 2; padding-top: 4px; }
    .corner-row .corner-box span { min-width: 30px; padding: 3px 8px; font-size: 11px; }

    /* Hit badges & Stats */
    .hit-box { padding: 2px 4px; font-size: 12px; }
    .stat-box { padding: 8px 8px; min-width: 55px; }
    .stat-box .stat-value { font-size: 16px; }
    .stat-box .stat-label { font-size: 9px; }
}

/* Odds tab: 1500px altinda mobile-grid gorunumu */
@media (max-width: 1499px) {
    .odds-header { display: none; }
    .odds-row {
        grid-template-columns: repeat(12, 1fr);
        gap: 5px;
        padding: 7px 8px;
    }
    .odds-time { grid-column: 1 / 3; grid-row: 1; font-size: 9px; }
    .odds-team-home { grid-column: 3 / 7; grid-row: 1; font-size: 11px; justify-content: flex-end; }
    .odds-vs { grid-column: 7 / 8; grid-row: 1; }
    .odds-team-away { grid-column: 8 / 13; grid-row: 1; font-size: 11px; justify-content: flex-start; }
    .odds-val.odd-1 { grid-column: 3 / 5; grid-row: 2; }
    .odds-val.odd-x { grid-column: 5 / 7; grid-row: 2; }
    .odds-val.odd-2 { grid-column: 7 / 9; grid-row: 2; }
    .odds-val.odd-ou { grid-column: 9 / 11; grid-row: 2; }
    .odds-action { grid-column: 11 / 13; grid-row: 2; text-align: right; }
    .odds-link { font-size: 12px; padding: 4px 7px; }
}

@media (max-width: 480px) {
    .content-area { padding: 5px; }
    .team-logo { width: 20px; height: 25px; object-fit: fill; }
.tabs { gap: 4px; }
    .tab-btn { padding: 5px 8px; font-size: 9px; }
    .league-title-mini { font-size: 9px; }

    .score-row .home, .score-row .away,
    .over-row .home, .over-row .away,
    .htft-row .home, .htft-row .away,
    .corner-row .home, .corner-row .away { font-size: 11px; }

    .score-row .home { padding-right: 15px; }
    .score-row .away { padding-left: 15px; }

    .score-row .time, .over-row .time, .htft-row .time, .corner-row .time { font-size: 8px; }

    .ou-badge { font-size: 8px; }
    .htft-top3 .htft-item:not(.htft-item-badge) { font-size: 9px; }
    .htft-top3 .htft-item:not(.htft-item-badge) .pct { font-size: 7px; }
    .corner-row .corner-box span { font-size: 12px; }
}

/* Stats Container - Professional Design */
.stats-inline { margin-top: 12px; }
.stats-container {
    margin-top: 24px;
    padding: 20px; 
    background: linear-gradient(135deg, rgba(83,111,118,0.2) 0%, rgba(83,111,118,0.1) 100%);
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}
[data-theme="light"] .stats-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.stats-title { 
    font-size: 15px; 
    font-weight: 700; 
    color: var(--primary-light); 
    margin-bottom: 16px; 
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.stats-title::before { content: "📊"; }
[data-theme="light"] .stats-title { color: #2c3e50; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.stat-box {
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
[data-theme="light"] .stat-box { 
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
[data-theme="light"] .stat-box:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.stat-box .stat-icon {
    font-size: 18px;
    margin-bottom: 8px;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
}
.stat-box .stat-label { 
    font-size: 11px; 
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
[data-theme="light"] .stat-box .stat-label { color: #666; }
.stat-box .stat-value { 
    font-size: 28px; 
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-box .stat-value.good { color: #00c853; }
.stat-box .stat-value.medium { color: #ff9800; }
.stat-box .stat-value.bad { color: #ff5252; }
[data-theme="light"] .stat-box .stat-value.good { color: #2e7d32; }
[data-theme="light"] .stat-box .stat-value.medium { color: #e65100; }
[data-theme="light"] .stat-box .stat-value.bad { color: #c62828; }
.stat-box .stat-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin: 10px 0 6px;
    overflow: hidden;
}
[data-theme="light"] .stat-box .stat-bar { background: rgba(0,0,0,0.1); }
.stat-box .stat-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}
.stat-box .stat-bar-fill.good { background: linear-gradient(90deg, #00c853, #69f0ae); }
.stat-box .stat-bar-fill.medium { background: linear-gradient(90deg, #ff9800, #ffcc02); }
.stat-box .stat-bar-fill.bad { background: linear-gradient(90deg, #ff5252, #ff8a80); }
.stat-box .stat-count { 
    font-size: 11px; 
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
[data-theme="light"] .stat-box .stat-count { color: #888; }

/* Team Link */
.team-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px dotted transparent;
}
.team-link:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
}
[data-theme="light"] .team-link:hover {
    color: #3d5259;
    border-bottom-color: #3d5259;
}

.ss-mode-indicator,
.ss-seo-copy,
.seo-copy { margin: 16px 0 10px; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-card); min-height: 176px; contain: layout paint; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
[data-theme="light"] .ss-mode-indicator,
[data-theme="light"] .ss-seo-copy,
[data-theme="light"] .seo-copy { background: #fff; }
.ss-mode-indicator h3,
.ss-seo-copy h2,
.seo-copy h2 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; font-family: inherit; }
.ss-mode-indicator p,
.ss-seo-copy p,
.seo-copy p { margin: 0 0 8px; font-size: 13px; line-height: 1.7; color: var(--text-secondary); font-family: inherit; }
.ss-seo-copy p:last-child,
.seo-copy p:last-child { margin-bottom: 0; }
@media (max-width: 768px) { .ss-mode-indicator, .ss-seo-copy, .seo-copy { min-height: 220px; } }

.stats-container--hidden { display: none; }

.team-logo--pred { width: 20px; height: 25px; object-fit: fill; }

.team-logo--pred.is-hidden { display: none; }

.pred-header-center { text-align: center; }

.league-logo-img--hide-on-error.is-hidden { display: none; }

.pred-result-subline { font-size: 10px; color: var(--text-secondary); }

.htft-code-label { margin-left: 2px; }

.htft-pct-label { margin-left: 6px; margin-right: 4px; }
