/* ── Sportytrader Parser v4.0 ── */

.st-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 900px;
    margin: 0 auto;
}

/* ── Табы ── */
.st-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.st-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.st-tab:hover {
    background: #e2e8f0;
    color: #334155;
    text-decoration: none;
}

.st-tab.active {
    background: #2563eb;
    color: #fff;
}

/* ── Таблица ── */
.st-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.st-table thead tr {
    background: #1e293b;
}

.st-table thead th {
    padding: 12px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.st-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.1s;
}

.st-table tbody tr:last-child {
    border-bottom: none;
}

.st-table tbody tr:hover {
    background: #f8fafc;
}

.st-table td {
    padding: 12px 14px;
    font-size: 14px;
    vertical-align: middle;
}

/* ── Лига ── */
.st-league-name {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.st-league-empty {
    font-size: 16px;
    opacity: .5;
}

/* ── Матч ── */
.st-match-link {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.st-match-link:hover {
    text-decoration: underline;
}

.st-match-name {
    font-weight: 600;
    color: #1e293b;
}

.st-date {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

/* ── Прогноз ── */
.st-pred-text {
    font-size: 13px;
    color: #475569;
}

.st-pred-empty {
    color: #cbd5e1;
}

/* ── Коэффициент ── */
.st-odd-badge {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    font-weight: 700;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 5px;
}

/* ── Кнопка "→" ── */
.st-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
}

.st-more-btn:hover {
    background: #1d4ed8;
    text-decoration: none;
    color: #fff;
}

/* ── Загрузка ── */
.st-loading-cell {
    text-align: center;
    padding: 40px !important;
    color: #94a3b8;
    font-size: 15px;
}

.st-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: st-spin .7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes st-spin {
    to { transform: rotate(360deg); }
}

/* ── Подвал ── */
.st-footer {
    margin-top: 10px;
    font-size: 11px;
    color: #94a3b8;
}

.st-footer a {
    color: #94a3b8;
}
