/*
Theme Name: ScoreToto
Theme URI: https://scoretoto.com
Author: ScoreToto
Description: Mackolik/Sofascore tarzı modern spor bülten, canlı skor ve haber teması. Koyu arkaplan, kırmızı accent.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scoretoto
*/

/* ============== RESET + BASE ============== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
    background: var(--st-bg);
    color: var(--st-text);
    line-height: 1.5;
    font-size: 14px;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:root {
    --st-red: #E50914;
    --st-red-dark: #b00710;
    --st-red-soft: rgba(229, 9, 20, 0.12);
    --st-bg: #0a0a0a;
    --st-bg-2: #141414;
    --st-card: #1a1a1a;
    --st-card-hover: #242424;
    --st-border: #2a2a2a;
    --st-text: #ffffff;
    --st-text-muted: #9a9a9a;
    --st-text-dim: #6a6a6a;
    --st-green: #00c853;
    --st-yellow: #ffd600;
    --st-live: #ff3b30;
    --st-radius: 8px;
    --st-radius-sm: 4px;
    --st-header-h: 84px;
    --st-submenu-h: 46px;
    --st-container: 1280px;
}

/* ============== LAYOUT ============== */
.st-container {
    max-width: var(--st-container);
    margin: 0 auto;
    padding: 0 16px;
}
.st-page {
    padding-top: 24px;
    padding-bottom: 48px;
}
.st-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}
@media (max-width: 960px) {
    .st-grid { grid-template-columns: 1fr; }
}

.st-grid-3 {
    display: grid;
    grid-template-columns: 240px 1fr 320px;
    gap: 20px;
}
@media (max-width: 1100px) {
    .st-grid-3 { grid-template-columns: 1fr 320px; }
    .st-grid-3 > .st-left-col { display: none; }
}
@media (max-width: 960px) {
    .st-grid-3 { grid-template-columns: 1fr; }
}

/* ============== LEFT SIDEBAR (Flashscore-style) ============== */
.st-left-col { display: flex; flex-direction: column; gap: 12px; }
.st-side-block {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    overflow: hidden;
}
.st-side-title {
    margin: 0;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--st-text-muted);
    text-transform: uppercase;
    background: var(--st-bg-2);
    border-bottom: 1px solid var(--st-border);
}
.st-league-list, .st-country-list, .st-league-sub {
    list-style: none;
    margin: 0;
    padding: 0;
}
.st-league-list li a,
.st-country-list > li > details > summary,
.st-league-sub li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--st-text);
    cursor: pointer;
    border-bottom: 1px solid rgba(42,42,42,0.5);
}
.st-league-list li a:hover,
.st-country-list > li > details > summary:hover,
.st-league-sub li a:hover {
    background: var(--st-card-hover);
    color: var(--st-red);
}
.st-league-list li:last-child a,
.st-country-list > li:last-child,
.st-league-sub li:last-child a { border-bottom: none; }
.st-league-list .flag,
.st-country-list .flag {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
.st-league-list .name,
.st-country-list .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-country-list .count {
    font-size: 11px;
    color: var(--st-text-dim);
    background: var(--st-bg-2);
    padding: 1px 6px;
    border-radius: 8px;
    min-width: 20px;
    text-align: center;
}
.st-country-list > li > details > summary {
    list-style: none;
    position: relative;
}
.st-country-list > li > details > summary::-webkit-details-marker { display: none; }
.st-country-list > li > details > summary::before {
    content: '▸';
    font-size: 10px;
    color: var(--st-text-dim);
    margin-right: 2px;
    transition: transform 0.15s;
}
.st-country-list > li > details[open] > summary::before { transform: rotate(90deg); display: inline-block; }
.st-league-sub { background: var(--st-bg-2); padding: 4px 0; }
.st-league-sub li a {
    padding: 6px 12px 6px 42px;
    font-size: 12px;
    color: var(--st-text-muted);
    border-bottom: none;
}

/* ============== HEADER ============== */
.st-header {
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    border-bottom: 1px solid var(--st-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}
.st-header-inner {
    height: var(--st-header-h);
    display: flex;
    align-items: center;
    gap: 24px;
}
.st-logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.st-logo-img {
    height: 64px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}
.st-footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    margin-bottom: 12px;
}
.st-logo-score { color: var(--st-red); }
.st-logo-toto { color: #fff; }
.st-logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--st-red);
    border-radius: 50%;
    margin-left: 4px;
    animation: st-pulse 1.8s infinite;
}
@keyframes st-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.st-nav {
    display: flex;
    gap: 2px;
    flex: 1;
}
.st-nav a {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--st-text-muted);
    border-radius: var(--st-radius-sm);
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.st-nav a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.st-nav a.active, .st-nav .current-menu-item > a {
    color: #fff;
    background: var(--st-red-soft);
    border-bottom: 2px solid var(--st-red);
    border-radius: var(--st-radius-sm) var(--st-radius-sm) 0 0;
}
.st-nav a .st-live-dot {
    width: 6px;
    height: 6px;
    background: var(--st-live);
    border-radius: 50%;
    animation: st-pulse 1.2s infinite;
}

.st-search {
    position: relative;
    display: flex;
    align-items: center;
}
.st-search input {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    color: #fff;
    padding: 8px 14px 8px 36px;
    border-radius: 20px;
    width: 220px;
    font-size: 13px;
    outline: none;
    transition: all 0.15s;
}
.st-search input:focus { border-color: var(--st-red); background: var(--st-bg-2); }
.st-search svg {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.st-auth {
    display: flex;
    gap: 8px;
}
.st-btn {
    padding: 8px 16px;
    border-radius: var(--st-radius-sm);
    font-weight: 600;
    font-size: 13px;
    border: none;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.st-btn-ghost {
    background: transparent;
    color: var(--st-text-muted);
}
.st-btn-ghost:hover { color: #fff; }
.st-btn-primary {
    background: var(--st-red);
    color: #fff;
}
.st-btn-primary:hover { background: var(--st-red-dark); }

/* Mobile menu */
.st-mobile-toggle {
    display: none;
    background: transparent;
    color: #fff;
    border: none;
    padding: 8px;
}
@media (max-width: 960px) {
    .st-logo-img { height: 52px; }
}
@media (max-width: 860px) {
    .st-nav { display: none; }
    .st-search input { width: 140px; }
    .st-mobile-toggle { display: block; }
    :root { --st-header-h: 72px; }
    .st-logo-img { height: 48px; }
}
@media (max-width: 520px) {
    .st-search { display: none; }
    .st-auth .st-btn-ghost { display: none; }
}

/* ============== SUBMENU (SPORTS BAR) ============== */
.st-submenu {
    background: var(--st-bg-2);
    border-bottom: 1px solid var(--st-border);
    overflow-x: auto;
    scrollbar-width: none;
}
.st-submenu::-webkit-scrollbar { display: none; }
.st-submenu-inner {
    display: flex;
    gap: 4px;
    height: var(--st-submenu-h);
    align-items: center;
    white-space: nowrap;
}
.st-submenu a {
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--st-text-muted);
    border-radius: 16px;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.st-submenu a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.st-submenu a.active {
    color: #fff;
    background: var(--st-red);
}

/* ============== DATE STRIP ============== */
.st-datestrip {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.st-datestrip::-webkit-scrollbar { display: none; }
.st-date-pill {
    min-width: 72px;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 10px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}
.st-date-pill:hover { background: var(--st-card-hover); }
.st-date-pill.active {
    background: var(--st-red);
    border-color: var(--st-red);
}
.st-date-pill .d { font-size: 11px; color: var(--st-text-muted); text-transform: uppercase; }
.st-date-pill.active .d { color: rgba(255,255,255,0.8); }
.st-date-pill .n { font-size: 18px; font-weight: 700; color: #fff; margin-top: 2px; }

/* ============== SECTIONS ============== */
.st-section {
    margin-bottom: 24px;
}
.st-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 2px;
}
.st-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.st-section-title .bar {
    width: 3px;
    height: 16px;
    background: var(--st-red);
    border-radius: 2px;
}
.st-section-link {
    font-size: 12px;
    color: var(--st-text-muted);
    font-weight: 600;
}
.st-section-link:hover { color: var(--st-red); }

/* ============== MATCH CARDS ============== */
.st-league-block {
    background: var(--st-card);
    border-radius: var(--st-radius);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--st-border);
}
.st-league-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--st-bg-2);
    border-bottom: 1px solid var(--st-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
}
.st-league-head img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.st-match {
    display: grid;
    grid-template-columns: 60px 1fr 80px;
    gap: 12px;
    padding: 12px 14px;
    align-items: center;
    border-bottom: 1px solid var(--st-border);
    transition: background 0.15s;
    cursor: pointer;
}
.st-match:last-child { border-bottom: none; }
.st-match:hover { background: var(--st-card-hover); }
.st-match-time {
    font-size: 12px;
    color: var(--st-text-muted);
    text-align: center;
}
.st-match-time.live {
    color: var(--st-live);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.st-match-time.live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--st-live);
    animation: st-pulse 1.2s infinite;
}
.st-match-time.finished { color: var(--st-text-dim); }
.st-match-teams {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.st-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.st-team-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}
.st-team-name { flex: 1; font-weight: 500; }
.st-match-score {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}
.st-match-score .score-row { min-height: 18px; }
.st-match.live .st-match-score { color: var(--st-live); }

/* ============== NEWS ============== */
.st-news-hero {
    position: relative;
    border-radius: var(--st-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--st-card);
    margin-bottom: 12px;
}
.st-news-hero img { width: 100%; height: 100%; object-fit: cover; }
.st-news-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0,0,0,0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.st-news-hero .cat {
    display: inline-block;
    background: var(--st-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 10px;
}
.st-news-hero h2 {
    color: #fff;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.st-news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (max-width: 600px) {
    .st-news-list { grid-template-columns: 1fr; }
}
.st-news-card {
    background: var(--st-card);
    border-radius: var(--st-radius);
    overflow: hidden;
    border: 1px solid var(--st-border);
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
}
.st-news-card:hover { background: var(--st-card-hover); transform: translateY(-2px); }
.st-news-card .thumb {
    aspect-ratio: 16/9;
    background: var(--st-bg-2);
    overflow: hidden;
}
.st-news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-news-card .body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.st-news-card .cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--st-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.st-news-card h3 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}
.st-news-card .meta {
    margin-top: auto;
    font-size: 11px;
    color: var(--st-text-dim);
}

.st-news-row {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--st-border);
}
.st-news-row:last-child { border-bottom: none; }
.st-news-row .thumb {
    width: 80px;
    aspect-ratio: 1;
    background: var(--st-bg-2);
    border-radius: var(--st-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.st-news-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-news-row h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}
.st-news-row .meta { font-size: 11px; color: var(--st-text-dim); }

/* ============== SIDEBAR ============== */
.st-aside-block {
    background: var(--st-card);
    border-radius: var(--st-radius);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--st-border);
}
.st-aside-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--st-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.st-aside-title .bar {
    width: 3px;
    height: 14px;
    background: var(--st-red);
    border-radius: 2px;
}

/* Standings mini */
.st-standings {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.st-standings th, .st-standings td {
    padding: 6px 4px;
    text-align: center;
    color: var(--st-text-muted);
}
.st-standings th {
    font-size: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--st-border);
    font-weight: 600;
}
.st-standings td.team { text-align: left; color: #fff; font-weight: 500; }
.st-standings tr:hover td { background: rgba(255,255,255,0.02); }
.st-standings .pos {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    background: var(--st-bg-2);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}
.st-standings tr.cl .pos { background: var(--st-green); }
.st-standings tr.rel .pos { background: var(--st-red); }

/* ============== FOOTER ============== */
.st-footer {
    background: #050505;
    border-top: 1px solid var(--st-border);
    padding: 32px 0 16px;
    margin-top: 48px;
    color: var(--st-text-muted);
    font-size: 13px;
}
.st-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .st-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .st-footer-grid { grid-template-columns: 1fr; }
}
.st-footer h5 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.st-footer ul { list-style: none; padding: 0; margin: 0; }
.st-footer li { margin-bottom: 6px; }
.st-footer a:hover { color: var(--st-red); }
.st-footer-bottom {
    border-top: 1px solid var(--st-border);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--st-text-dim);
}

/* ============== SINGLE POST ============== */
.st-post-header { margin-bottom: 20px; }
.st-post-category {
    display: inline-block;
    background: var(--st-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.st-post-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px 0;
    color: #fff;
}
.st-post-meta {
    color: var(--st-text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}
.st-post-thumb {
    aspect-ratio: 16/9;
    border-radius: var(--st-radius);
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--st-card);
}
.st-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-post-content {
    font-size: 16px;
    line-height: 1.7;
    color: #d0d0d0;
}
.st-post-content p { margin: 0 0 16px 0; }
.st-post-content h2, .st-post-content h3 { color: #fff; margin-top: 24px; }
.st-post-content a { color: var(--st-red); }
.st-post-content a:hover { text-decoration: underline; }
.st-post-content img { border-radius: var(--st-radius); margin: 16px 0; }
.st-post-content blockquote {
    border-left: 3px solid var(--st-red);
    padding: 4px 16px;
    margin: 16px 0;
    color: var(--st-text-muted);
    font-style: italic;
}

/* ============== PAGINATION ============== */
.st-pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin: 32px 0;
    flex-wrap: wrap;
}
.st-pagination a, .st-pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-muted);
}
.st-pagination a:hover { background: var(--st-card-hover); color: #fff; }
.st-pagination .current { background: var(--st-red); color: #fff; border-color: var(--st-red); }

/* ============== UTILITIES ============== */
.st-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--st-text-muted);
}
.st-empty-icon { font-size: 32px; margin-bottom: 8px; opacity: 0.4; }

/* ============== MOBILE DRAWER ============== */
.st-drawer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 200;
    display: none;
}
.st-drawer.open { display: block; }
.st-drawer-panel {
    background: var(--st-bg-2);
    width: 280px;
    height: 100%;
    padding: 20px;
    border-right: 1px solid var(--st-border);
}
.st-drawer-panel a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid var(--st-border);
    font-weight: 600;
    color: #fff;
}

/* ============== LIVE TICKER (Sofascore-style) ============== */
.st-live-ticker {
    background: linear-gradient(90deg, #1a0606 0%, #0a0a0a 100%);
    border-bottom: 1px solid rgba(229,9,20,0.3);
    display: flex;
    align-items: center;
    height: 44px;
    overflow: hidden;
    position: sticky;
    top: var(--st-header-h);
    z-index: 40;
}
.st-live-ticker-label {
    background: var(--st-red);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.st-live-ticker-label .dot {
    width: 8px; height: 8px; background: #fff; border-radius: 50%;
    animation: st-pulse 1.5s infinite;
}
@keyframes st-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.st-live-ticker-track {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 14px;
    overflow-x: auto;
    scrollbar-width: none;
}
.st-live-ticker-track::-webkit-scrollbar { display: none; }
.st-live-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    white-space: nowrap;
    color: #eee;
    text-decoration: none;
    border-right: 1px solid var(--st-border);
    padding-right: 24px;
}
.st-live-ticker-item:last-child { border-right: none; }
.st-live-ticker-item .min {
    color: var(--st-red);
    font-weight: 700;
    font-size: 11px;
    min-width: 36px;
}
.st-live-ticker-item .s {
    background: rgba(255,255,255,0.08);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    color: #fff;
}
.st-live-ticker-item:hover { color: var(--st-red); }

/* ============== MATCH DETAIL HERO ============== */
.st-match-hero {
    background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    border-bottom: 1px solid var(--st-border);
    padding: 24px 0 32px;
    margin: 0 -16px 20px;
}
.st-match-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.st-match-breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--st-text-muted);
    margin-bottom: 24px;
}
.st-match-breadcrumb a { color: var(--st-text-muted); text-decoration: none; }
.st-match-breadcrumb a:hover { color: var(--st-red); }
.st-match-scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}
.st-ms-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}
.st-ms-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.st-ms-logo.placeholder {
    background: var(--st-card);
    border-radius: 50%;
    border: 1px solid var(--st-border);
}
.st-ms-name {
    font-weight: 700;
    font-size: 20px;
    color: #fff;
}
.st-ms-score {
    text-align: center;
    min-width: 180px;
}
.st-ms-status {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--st-card);
    color: var(--st-text-muted);
}
.st-ms-status.live {
    background: var(--st-red);
    color: #fff;
    animation: st-pulse-bg 2s infinite;
}
@keyframes st-pulse-bg {
    0%,100% { box-shadow: 0 0 0 0 rgba(229,9,20,0.6); }
    50% { box-shadow: 0 0 0 8px rgba(229,9,20,0); }
}
.st-ms-status.finished { background: #333; color: #fff; }
.st-ms-numbers {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
.st-ms-numbers .sep { color: var(--st-text-dim); font-size: 40px; }
.st-ms-venue {
    font-size: 12px;
    color: var(--st-text-muted);
    margin-top: 10px;
}
@media (max-width: 640px) {
    .st-ms-logo { width: 56px; height: 56px; }
    .st-ms-name { font-size: 14px; }
    .st-ms-numbers { font-size: 40px; }
    .st-match-scoreboard { gap: 12px; }
}

/* ============== MATCH PANELS ============== */
.st-panel {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 20px;
    margin-bottom: 20px;
}
.st-panel-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.st-panel-title .bar {
    width: 3px;
    height: 16px;
    background: var(--st-red);
    border-radius: 2px;
}

/* Events list */
.st-events {
    list-style: none;
    padding: 0;
    margin: 0;
}
.st-event {
    display: grid;
    grid-template-columns: 40px 24px 1fr;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--st-border);
    font-size: 13px;
    gap: 10px;
}
.st-event:last-child { border-bottom: none; }
.st-event .min { color: var(--st-red); font-weight: 700; }
.st-event .icon { text-align: center; font-size: 16px; }
.st-event .text { color: #eee; }
.st-event.right .text { text-align: right; }

/* Stats rows */
.st-stats-list { display: flex; flex-direction: column; gap: 14px; }
.st-stat-row {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    position: relative;
}
.st-stat-row .h, .st-stat-row .a { color: #fff; font-weight: 700; text-align: center; }
.st-stat-row .lbl { color: var(--st-text-muted); text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.st-stat-row .bar-wrap {
    grid-column: 1 / -1;
    height: 4px;
    background: #2a2a2a;
    border-radius: 2px;
    display: flex;
    overflow: hidden;
    margin-top: 4px;
}
.st-stat-row .bar-h { background: var(--st-red); height: 100%; }
.st-stat-row .bar-a { background: #4a90e2; height: 100%; }

/* Lineups */
.st-lineups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.st-lineup-head {
    font-weight: 700;
    color: #fff;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--st-border);
    font-size: 14px;
}
.st-lineup-row {
    display: grid;
    grid-template-columns: 30px 1fr 40px;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.st-lineup-row .num { color: var(--st-red); font-weight: 700; text-align: center; }
.st-lineup-row .name { color: #fff; }
.st-lineup-row .pos { color: var(--st-text-muted); font-size: 11px; text-align: right; }
@media (max-width: 640px) { .st-lineups { grid-template-columns: 1fr; } }

/* Sidebar: same day matches */
.st-sidebar-match {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--st-border);
    font-size: 12px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}
.st-sidebar-match:hover { background: rgba(255,255,255,0.02); }
.st-sidebar-match .t { color: var(--st-text-muted); font-size: 11px; }
.st-sidebar-match .teams { color: #eee; line-height: 1.3; }
.st-sidebar-match .teams strong { display: inline; color: #fff; font-weight: 600; }
.st-sidebar-match .s { color: var(--st-red); font-weight: 700; font-size: 12px; }

/* Live grid (homepage live section) */
.st-live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 8px;
}
.st-live-grid .st-match {
    background: rgba(229,9,20,0.05);
    border: 1px solid rgba(229,9,20,0.15);
}

/* Post panel (single.php) */
.st-post-header {
    margin-bottom: 20px;
}
.st-post-category {
    display: inline-block;
    background: var(--st-red);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    margin-bottom: 12px;
}
.st-post-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 12px;
}
.st-post-meta {
    font-size: 13px;
    color: var(--st-text-muted);
}
.st-post-thumb {
    margin: 16px 0 20px;
    border-radius: var(--st-radius);
    overflow: hidden;
}
.st-post-thumb img { width: 100%; height: auto; display: block; }
.st-post-content {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
}
.st-post-content p { margin-bottom: 16px; }
.st-post-content h2, .st-post-content h3 { color: #fff; margin: 24px 0 12px; }

/* ============== SCORER ROW ============== */
.st-scorer-row {
    display: grid;
    grid-template-columns: 24px 36px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--st-border);
    font-size: 13px;
}
.st-scorer-row:last-child { border-bottom: none; }
.st-scorer-row .pos { text-align: center; color: var(--st-text-dim); font-weight: 700; }
.st-scorer-row .ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--st-bg-2); }
.st-scorer-row .ph.placeholder { background: #2a2a2a; }
.st-scorer-row .info .n { font-weight: 600; color: #fff; }
.st-scorer-row .info .t { color: var(--st-text-muted); font-size: 11px; }
.st-scorer-row .g { color: var(--st-red); font-size: 16px; font-weight: 800; min-width: 24px; text-align: right; }

/* ============== LEAGUE / ARCHIVE HERO ============== */
.st-league-hero, .st-archive-hero {
    background: linear-gradient(135deg, #1a0606 0%, #0a0a0a 100%);
    border-bottom: 1px solid var(--st-border);
    padding: 28px 0;
    margin: 0 -16px 20px;
    text-align: center;
}
.st-league-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.st-league-hero h1, .st-archive-hero h1 {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin: 0;
}
.st-league-hero p, .st-archive-hero p {
    color: var(--st-text-muted);
    margin: 6px 0 0;
    font-size: 14px;
}

/* ============== TABS ============== */
.st-tabs {
    display: flex;
    gap: 2px;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 4px;
    margin-bottom: 16px;
    overflow-x: auto;
}
.st-tabs a {
    padding: 8px 18px;
    color: var(--st-text-muted);
    font-weight: 600;
    font-size: 14px;
    border-radius: calc(var(--st-radius) - 2px);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}
.st-tabs a:hover { color: #fff; }
.st-tabs a.active { background: var(--st-red); color: #fff; }

/* ============== STANDINGS FULL ============== */
.st-standings.full { width: 100%; font-size: 13px; }
.st-standings.full thead th {
    color: var(--st-text-muted);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 8px;
    border-bottom: 1px solid var(--st-border);
    text-align: center;
}
.st-standings.full tbody td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--st-border);
    text-align: center;
}
.st-standings.full tbody td.team { text-align: left; }
.st-standings.full tbody td.team img { width: 20px; height: 20px; vertical-align: middle; margin-right: 8px; }
.st-standings.full tbody tr.cl td:first-child .pos {
    background: var(--st-red);
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}
.st-standings.full tbody tr.rel td:first-child .pos {
    background: #8a2a2a;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}

.st-legend {
    display: flex;
    gap: 20px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--st-text-muted);
}
.st-legend .d { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.st-legend .d.cl { background: var(--st-red); }
.st-legend .d.rel { background: #8a2a2a; }

/* ============== ARCHIVE GRID ============== */
.st-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.st-archive-grid .st-news-card .body { padding: 14px; }
.st-archive-grid .st-news-card .excerpt {
    color: var(--st-text-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 8px 0 10px;
}

.st-scorer-list { display: flex; flex-direction: column; background: var(--st-card); border: 1px solid var(--st-border); border-radius: var(--st-radius); padding: 10px 16px; }

/* ============== MATCH ROW V2 (star + link + TV) ============== */
.st-match {
    display: block !important;
    position: relative;
    padding: 0 0 0 32px !important;
    grid-template-columns: none !important;
}
.st-match .st-match-link {
    display: grid;
    grid-template-columns: 58px 1fr 60px auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px 10px 4px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s;
    border-bottom: 1px solid var(--st-border);
}
.st-match:last-child .st-match-link { border-bottom: none; }
.st-match:hover { background: transparent; }
.st-match:hover .st-match-link { background: var(--st-card-hover); }
.st-fav {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    color: var(--st-text-dim);
    cursor: pointer;
    border-radius: 4px;
    z-index: 2;
    transition: all 0.12s;
}
.st-fav:hover { color: var(--st-yellow); background: rgba(255,214,0,0.08); }
.st-fav.on { color: var(--st-yellow); fill: var(--st-yellow); }
.st-fav.on svg { fill: currentColor; }
.st-team-logo.placeholder {
    display: inline-block;
    background: #333;
    border-radius: 50%;
    width: 18px;
    height: 18px;
}
.st-match-tv {
    display: inline-flex;
    align-items: center;
    color: var(--st-text-muted);
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.04);
    margin-left: 6px;
}
.st-match-tv:hover { color: var(--st-red); }

/* ============== MATCH DETAIL TABS ============== */
.st-match-tabs {
    display: flex;
    gap: 4px;
    padding: 0 20px;
    border-top: 1px solid var(--st-border);
    margin-top: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.st-match-tabs a {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.12s;
}
.st-match-tabs a:hover { color: var(--st-text); }
.st-match-tabs a.active {
    color: var(--st-red);
    border-bottom-color: var(--st-red);
}

/* ============== MATCH INFO GRID ============== */
.st-info-grid { display: flex; flex-direction: column; }
.st-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--st-border);
    font-size: 13px;
}
.st-info-row:last-child { border-bottom: none; }
.st-info-row .lbl { color: var(--st-text-muted); }
.st-info-row .val { color: var(--st-text); font-weight: 500; }

.st-tv-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.st-tv-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--st-bg-2);
    border: 1px solid var(--st-border);
    border-radius: 4px;
    font-size: 12px;
    color: var(--st-text);
}

/* ============== TEAM HERO ============== */
.st-team-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.st-team-hero-inner {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px 20px;
}
.st-team-hero-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 10px;
    flex-shrink: 0;
}
.st-team-hero-logo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.st-team-hero-body h1 { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.st-team-hero-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--st-text-muted); font-size: 13px; margin-bottom: 10px; }
.st-team-hero-meta span:not(:last-child)::after { content: '·'; margin-left: 14px; color: var(--st-text-dim); }
.st-team-form { display: flex; align-items: center; gap: 6px; }
.st-team-form .lbl { font-size: 12px; color: var(--st-text-muted); margin-right: 4px; }
.st-team-form .pill, .st-team-match .form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}
.st-team-form .pill.w, .st-team-match .form.w { background: var(--st-green); }
.st-team-form .pill.d, .st-team-match .form.d { background: #888; }
.st-team-form .pill.l, .st-team-match .form.l { background: var(--st-red); }

.st-team-matches { display: flex; flex-direction: column; }
.st-team-match {
    display: grid;
    grid-template-columns: 120px 1fr 40px 56px 30px;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--st-border);
    font-size: 13px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s;
}
.st-team-match:hover { background: var(--st-card-hover); }
.st-team-match:last-child { border-bottom: none; }
.st-team-match .date { color: var(--st-text-muted); font-size: 12px; }
.st-team-match .opp { font-weight: 600; color: #fff; }
.st-team-match .ha {
    font-size: 10px; color: var(--st-text-dim);
    background: var(--st-bg-2); padding: 2px 6px; border-radius: 3px;
    text-align: center;
}
.st-team-match .score { text-align: center; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

.st-info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-info-table td { padding: 8px 0; border-bottom: 1px solid var(--st-border); }
.st-info-table td:first-child { color: var(--st-text-muted); }
.st-info-table td:last-child { text-align: right; color: #fff; font-weight: 500; }
.st-info-table tr:last-child td { border-bottom: none; }

/* ============== SEARCH BUTTON (header) ============== */
.st-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--st-bg-2);
    border: 1px solid var(--st-border);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--st-text-muted);
    cursor: pointer;
    font-size: 13px;
    min-width: 240px;
    transition: all 0.12s;
}
.st-search:hover { border-color: var(--st-red); color: var(--st-text); }
.st-search svg { width: 16px; height: 16px; flex-shrink: 0; }
.st-search-placeholder { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-search-kbd {
    font-family: inherit;
    font-size: 11px;
    padding: 2px 6px;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 3px;
    color: var(--st-text-dim);
}
@media (max-width: 768px) {
    .st-search { min-width: 0; padding: 8px; }
    .st-search-placeholder, .st-search-kbd { display: none; }
}

/* ============== SEARCH MODAL ============== */
.st-search-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}
.st-search-modal.open { display: block; }
.st-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}
.st-search-panel {
    position: relative;
    max-width: 640px;
    margin: 80px auto 0;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    animation: stSearchIn 0.18s ease-out;
}
@keyframes stSearchIn {
    from { transform: translateY(-10px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.st-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--st-border);
}
.st-search-form svg { color: var(--st-text-muted); flex-shrink: 0; }
.st-search-form input {
    flex: 1;
    background: none;
    border: none;
    color: var(--st-text);
    font-size: 16px;
    outline: none;
    font-family: inherit;
}
.st-search-close {
    background: var(--st-bg-2);
    border: 1px solid var(--st-border);
    color: var(--st-text-muted);
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
}
.st-search-close:hover { color: var(--st-text); }
.st-search-filters {
    display: flex;
    gap: 6px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--st-border);
    overflow-x: auto;
}
.st-search-filters button {
    padding: 6px 12px;
    border: 1px solid var(--st-border);
    background: var(--st-bg-2);
    color: var(--st-text-muted);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.12s;
}
.st-search-filters button.active {
    background: var(--st-red);
    color: #fff;
    border-color: var(--st-red);
}
.st-search-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}
.st-search-section { padding: 8px 18px 16px; }
.st-search-section h4 {
    margin: 4px 0 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--st-text-muted);
    font-weight: 700;
}
.st-search-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-search-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--st-bg-2);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    font-size: 12px;
    color: var(--st-text);
    transition: all 0.12s;
}
.st-search-chip:hover { background: var(--st-red-soft); border-color: var(--st-red); color: var(--st-red); }
.st-search-list { display: flex; flex-direction: column; }
.st-search-row {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 8px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--st-text);
}
.st-search-row:hover { background: var(--st-bg-2); }
.st-search-row .icon { font-size: 16px; text-align: center; }
.st-search-row .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-search-row .type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--st-text-dim);
    background: var(--st-bg-2);
    padding: 2px 6px;
    border-radius: 3px;
}
.st-search-footer {
    display: flex;
    gap: 16px;
    padding: 10px 18px;
    border-top: 1px solid var(--st-border);
    font-size: 11px;
    color: var(--st-text-dim);
}
.st-search-footer kbd {
    display: inline-block;
    padding: 1px 5px;
    background: var(--st-bg-2);
    border: 1px solid var(--st-border);
    border-radius: 3px;
    font-family: inherit;
    font-size: 10px;
    margin-right: 4px;
}
@media (max-width: 640px) {
    .st-search-panel { margin: 0; max-height: 100vh; border-radius: 0; height: 100vh; }
}

/* ============ Hero banner (front-page) ============ */
.st-hero-banner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    margin: 0 auto 20px;
    max-width: 1400px;
    padding: 0 20px;
}
.st-hero-big {
    grid-row: 1 / span 2;
    position: relative;
    display: block;
    border-radius: var(--st-radius);
    overflow: hidden;
    min-height: 380px;
    background: var(--st-card);
}
.st-hero-small {
    position: relative;
    display: block;
    border-radius: var(--st-radius);
    overflow: hidden;
    min-height: 182px;
    background: var(--st-card);
}
.st-hero-big img,
.st-hero-small img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.st-hero-big:hover img,
.st-hero-small:hover img { transform: scale(1.04); }
.st-hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 20px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.92) 100%);
    color: #fff;
}
.st-hero-small .st-hero-overlay { padding: 14px 14px 12px; }
.st-hero-cat {
    display: inline-block;
    background: var(--st-red, #ff3b3b);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.st-hero-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 6px;
    color: #fff;
}
.st-hero-small .st-hero-title { font-size: 15px; line-height: 1.35; margin-bottom: 2px; }
.st-hero-excerpt {
    font-size: 13px;
    color: rgba(255,255,255,.78);
    margin: 0 0 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.st-hero-meta {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    font-weight: 500;
}
@media (max-width: 900px) {
    .st-hero-banner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .st-hero-big { grid-row: auto; min-height: 240px; }
    .st-hero-big .st-hero-title { font-size: 18px; }
}

/* ============ Share bar ============ */
.st-share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 28px 0 8px;
    padding: 14px 0;
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
}
.st-share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-muted);
    margin-right: 4px;
}
.st-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid var(--st-border);
    background: var(--st-card);
    color: var(--st-text);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s ease;
}
.st-share-btn svg { flex-shrink: 0; }
.st-share-btn:hover { transform: translateY(-1px); }
.st-share-btn.tw:hover { background: #000; border-color: #000; color: #fff; }
.st-share-btn.fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.st-share-btn.wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.st-share-btn.tg:hover { background: #26a5e4; border-color: #26a5e4; color: #fff; }
.st-share-btn.copy:hover { background: var(--st-red, #ff3b3b); border-color: var(--st-red, #ff3b3b); color: #fff; }

/* ============ Author bio ============ */
.st-author-bio {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 16px;
    margin: 24px 0;
}
.st-author-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}
.st-author-name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--st-text);
}
.st-author-desc {
    font-size: 13px;
    color: var(--st-text-muted);
    line-height: 1.55;
    margin: 0 0 8px;
}
.st-author-link {
    font-size: 12px;
    color: var(--st-red, #ff3b3b);
    font-weight: 600;
    text-decoration: none;
}
.st-author-link:hover { text-decoration: underline; }

/* ============ Related news block ============ */
.st-related-grid {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--st-border);
}
.st-related-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 16px;
}
.st-related-title .bar {
    display: inline-block;
    width: 4px; height: 18px;
    background: var(--st-red, #ff3b3b);
    border-radius: 2px;
}

/* ============ Search results page ============ */
.st-search-hero {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 20px;
    margin-bottom: 20px;
}
.st-search-hero-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--st-bg, #0f0f10);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 10px 14px;
}
.st-search-hero-form svg { color: var(--st-text-muted); flex-shrink: 0; }
.st-search-hero-form input {
    flex: 1; background: transparent; border: none; outline: none;
    color: var(--st-text); font-size: 15px;
}
.st-search-hero-form button {
    background: var(--st-red, #ff3b3b);
    color: #fff; border: none; padding: 8px 18px;
    border-radius: 6px; font-weight: 700; cursor: pointer;
}
.st-search-hero-meta {
    margin-top: 10px;
    font-size: 13px;
    color: var(--st-text-muted);
}
.st-search-hero-meta strong { color: var(--st-text); }

.st-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.st-search-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--st-text);
    transition: all .15s ease;
}
.st-search-card:hover {
    border-color: var(--st-red, #ff3b3b);
    transform: translateY(-1px);
}
.st-search-card img {
    width: 40px; height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.st-search-card-logo-fb {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--st-bg, #0f0f10);
    border-radius: 8px;
    font-size: 20px;
    flex-shrink: 0;
}
.st-search-card h4 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
}
.st-search-card .meta {
    font-size: 11px;
    color: var(--st-text-muted);
}

.st-search-match-row {
    display: grid;
    grid-template-columns: 100px 1fr 70px 140px;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--st-border);
    text-decoration: none;
    color: var(--st-text);
    font-size: 13px;
    transition: background .15s ease;
}
.st-search-match-row:hover { background: rgba(255,255,255,.02); }
.st-search-match-row:last-child { border-bottom: none; }
.st-search-match-row .date { color: var(--st-text-muted); font-size: 12px; }
.st-search-match-row .score { font-weight: 700; text-align: center; }
.st-search-match-row .league { color: var(--st-text-muted); font-size: 12px; text-align: right; }

.st-search-tag {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 5px 12px;
    background: var(--st-bg, #0f0f10);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    font-size: 12px;
    color: var(--st-text-muted);
    text-decoration: none;
    transition: all .15s ease;
}
.st-search-tag:hover {
    background: var(--st-red, #ff3b3b);
    border-color: var(--st-red, #ff3b3b);
    color: #fff;
}

@media (max-width: 640px) {
    .st-search-match-row {
        grid-template-columns: 1fr auto;
        grid-template-areas: "teams score" "date league";
        row-gap: 4px;
    }
    .st-search-match-row .teams { grid-area: teams; }
    .st-search-match-row .score { grid-area: score; }
    .st-search-match-row .date { grid-area: date; font-size: 11px; }
    .st-search-match-row .league { grid-area: league; text-align: right; font-size: 11px; }
}
