/* ==========================================================================
   Livescore Pulse — main.css
   Scoreboard-first aesthetic: data-dense, monospace scores, pulse animations.
   Breakpoints: 480 | 768 | 1100
   Prefix: lsp-
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    --lsp-blue:        #0066cc;
    --lsp-blue-dark:   #0052a3;
    --lsp-orange:      #ff6b00;
    --lsp-live:        #e11d48;
    --lsp-live-dark:   #be123c;
    --lsp-text:        #111827;
    --lsp-muted:       #6b7280;
    --lsp-bg:          #ffffff;
    --lsp-surface:     #f3f4f6;
    --lsp-surface-2:   #e9ecef;
    --lsp-border:      #e5e7eb;
    --lsp-font-mono:   'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    --lsp-radius:      6px;
    --lsp-radius-lg:   10px;
    --lsp-shadow-sm:   0 1px 3px rgba(0,0,0,.08);
    --lsp-shadow:      0 2px 8px rgba(0,0,0,.10);
    --lsp-ticker-h:    36px;
    --lsp-header-h:    56px;
    --lsp-transition:  160ms ease;
}

[data-theme="dark"] {
    --lsp-text:      #f9fafb;
    --lsp-muted:     #9ca3af;
    --lsp-bg:        #0f172a;
    --lsp-surface:   #1e293b;
    --lsp-surface-2: #273349;
    --lsp-border:    #334155;
    --lsp-shadow-sm: 0 1px 3px rgba(0,0,0,.30);
    --lsp-shadow:    0 2px 8px rgba(0,0,0,.40);
}

/* --------------------------------------------------------------------------
   Reset / Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--lsp-bg);
    color: var(--lsp-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--lsp-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 .75rem; }
button { cursor: pointer; border: none; background: none; padding: 0; font: inherit; }

.lsp-score {
    font-family: var(--lsp-font-mono);
    font-weight: 700;
    letter-spacing: -.01em;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.lsp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --------------------------------------------------------------------------
   Pulse animation (live dot)
   -------------------------------------------------------------------------- */
@keyframes lsp-pulse {
    0%   { opacity: 1; transform: scale(1); }
    50%  { opacity: .5; transform: scale(1.4); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes lsp-pulse-ring {
    0%   { transform: scale(.8); opacity: .8; }
    100% { transform: scale(2); opacity: 0; }
}

.lsp-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lsp-live);
    position: relative;
    animation: lsp-pulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

.lsp-live-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--lsp-live);
    animation: lsp-pulse-ring 1.4s ease-out infinite;
}

/* --------------------------------------------------------------------------
   Live Ticker Bar
   -------------------------------------------------------------------------- */
.lsp-ticker-bar {
    height: var(--lsp-ticker-h);
    background: var(--lsp-blue);
    color: #fff;
    overflow: hidden;
    position: relative;
    z-index: 300;
}

.lsp-ticker-inner {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
    gap: 6px;
}

.lsp-ticker-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    flex-shrink: 0;
    padding-right: 8px;
    border-right: 1px solid rgba(255,255,255,.3);
}

.lsp-ticker-arrow {
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 3px;
    flex-shrink: 0;
    opacity: .8;
    transition: opacity var(--lsp-transition);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lsp-ticker-arrow:hover { opacity: 1; background: rgba(255,255,255,.15); }

.lsp-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.lsp-ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    will-change: transform;
}

.lsp-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,.2);
    font-size: 12px;
    height: var(--lsp-ticker-h);
}

.lsp-ticker-league {
    font-size: 10px;
    font-weight: 700;
    background: rgba(255,255,255,.2);
    border-radius: 3px;
    padding: 1px 5px;
    letter-spacing: .05em;
}

.lsp-ticker-teams {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lsp-ticker-score {
    font-size: 13px;
    padding: 0 4px;
    color: #fff;
}

.lsp-ticker-sep { margin: 0 1px; }

.lsp-ticker-minute {
    font-size: 10px;
    color: #fbbf24;
    font-weight: 600;
}

.lsp-ticker-cta {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    padding: 0 8px;
    opacity: .9;
    white-space: nowrap;
    border-left: 1px solid rgba(255,255,255,.3);
    margin-left: 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.lsp-ticker-cta:hover { opacity: 1; text-decoration: none; }

/* --------------------------------------------------------------------------
   Site Header
   -------------------------------------------------------------------------- */
.lsp-site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--lsp-bg);
    border-bottom: 2px solid var(--lsp-blue);
    height: var(--lsp-header-h);
}

.lsp-header-inner {
    display: flex;
    align-items: center;
    height: var(--lsp-header-h);
    gap: 16px;
}

/* Logo */
.lsp-site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.lsp-logo-text {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
}

.lsp-logo-text__live { color: var(--lsp-blue); }
.lsp-logo-text__pulse { color: var(--lsp-live); }

/* Primary nav */
.lsp-primary-nav { flex: 1; }

.lsp-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lsp-nav-list li a {
    display: block;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lsp-text);
    border-radius: var(--lsp-radius);
    transition: background var(--lsp-transition), color var(--lsp-transition);
    white-space: nowrap;
}

.lsp-nav-list li a:hover,
.lsp-nav-list li.current-menu-item > a {
    background: var(--lsp-surface);
    color: var(--lsp-blue);
    text-decoration: none;
}

.lsp-nav-list li.lsp-nav-live > a {
    color: var(--lsp-live);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Header actions */
.lsp-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.lsp-theme-toggle,
.lsp-search-toggle,
.lsp-mobile-menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--lsp-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lsp-text);
    transition: background var(--lsp-transition);
    min-width: 44px;
    min-height: 44px;
}
.lsp-theme-toggle:hover,
.lsp-search-toggle:hover,
.lsp-mobile-menu-toggle:hover { background: var(--lsp-surface); }

.lsp-theme-toggle__icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: conic-gradient(var(--lsp-text) 50%, var(--lsp-surface) 50%);
    display: block;
}

.lsp-hamburger,
.lsp-hamburger::before,
.lsp-hamburger::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--lsp-text);
    border-radius: 2px;
    transition: transform var(--lsp-transition);
}
.lsp-hamburger { position: relative; }
.lsp-hamburger::before { content: ''; position: absolute; top: -5px; left: 0; }
.lsp-hamburger::after  { content: ''; position: absolute; top: 5px;  left: 0; }

.lsp-mobile-menu-toggle { display: none; }

/* Search bar */
.lsp-search-bar {
    padding: 8px 0;
    border-top: 1px solid var(--lsp-border);
    background: var(--lsp-surface);
}

/* Mobile menu */
.lsp-mobile-menu {
    background: var(--lsp-bg);
    border-top: 1px solid var(--lsp-border);
    padding: 12px 0;
}

.lsp-mobile-nav-list li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lsp-text);
    border-bottom: 1px solid var(--lsp-border);
}

/* --------------------------------------------------------------------------
   Match Grid (tabbed)
   -------------------------------------------------------------------------- */
.lsp-match-grid {
    background: var(--lsp-surface);
    padding: 20px 0 24px;
    border-bottom: 1px solid var(--lsp-border);
}

.lsp-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--lsp-border);
    padding-bottom: 0;
}

.lsp-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--lsp-muted);
    border-radius: var(--lsp-radius) var(--lsp-radius) 0 0;
    border: 1px solid transparent;
    border-bottom: none;
    transition: background var(--lsp-transition), color var(--lsp-transition);
    position: relative;
    bottom: -2px;
    min-height: 44px;
}

.lsp-tab:hover { color: var(--lsp-text); background: var(--lsp-surface-2); }

.lsp-tab--active {
    color: var(--lsp-blue);
    background: var(--lsp-bg);
    border-color: var(--lsp-border);
    border-bottom-color: var(--lsp-bg);
}

.lsp-tab-icon--live::before    { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lsp-live); margin-right: 2px; }
.lsp-tab-icon--today::before   { content: '📅'; font-size: 13px; }
.lsp-tab-icon--upcoming::before{ content: '⏰'; font-size: 13px; }
.lsp-tab-icon--finished::before{ content: '✅'; font-size: 13px; }

.lsp-tab-panel { display: none; }
.lsp-tab-panel--active { display: block; }

.lsp-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lsp-no-matches {
    text-align: center;
    padding: 32px;
    color: var(--lsp-muted);
}

/* --------------------------------------------------------------------------
   Match Card (fixture-card)
   -------------------------------------------------------------------------- */
.lsp-match-card {
    background: var(--lsp-bg);
    border: 1px solid var(--lsp-border);
    border-radius: var(--lsp-radius-lg);
    padding: 10px 12px 12px;
    transition: box-shadow var(--lsp-transition), border-color var(--lsp-transition);
}

.lsp-match-card:hover {
    box-shadow: var(--lsp-shadow);
    border-color: var(--lsp-blue);
}

.lsp-match-card--live {
    border-color: var(--lsp-live);
    box-shadow: 0 0 0 1px var(--lsp-live), 0 0 12px rgba(225,29,72,.12);
    animation: lsp-card-live-border 2s ease-in-out infinite;
}

@keyframes lsp-card-live-border {
    0%, 100% { box-shadow: 0 0 0 1px var(--lsp-live), 0 0 12px rgba(225,29,72,.12); }
    50%       { box-shadow: 0 0 0 2px var(--lsp-live), 0 0 20px rgba(225,29,72,.22); }
}

.lsp-match-card__header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    min-height: 22px;
}

.lsp-match-card__league {
    font-size: 11px;
    color: var(--lsp-muted);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* League badge */
.lsp-league-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 2px 5px;
    border-radius: 3px;
    background: var(--lsp-blue);
    color: #fff;
    flex-shrink: 0;
}
.lsp-league-badge--pl  { background: #3d0f6b; }
.lsp-league-badge--ll  { background: #c41e3a; }
.lsp-league-badge--ucl { background: #1a3b6e; }
.lsp-league-badge--sa  { background: #1a5276; }
.lsp-league-badge--bl  { background: #c0392b; }
.lsp-league-badge--l1  { background: #1f618d; }
.lsp-league-badge--vl  { background: #145a32; }
.lsp-league-badge--afc { background: #7d6608; }
.lsp-league-badge--lg { font-size: 12px; padding: 3px 8px; }
.lsp-league-badge--sm { font-size: 9px; padding: 1px 4px; }

/* Status badges */
.lsp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.lsp-badge--live {
    background: var(--lsp-live);
    color: #fff;
}

.lsp-badge__minute {
    font-family: var(--lsp-font-mono);
}

.lsp-badge--ft {
    background: var(--lsp-surface-2);
    color: var(--lsp-muted);
}

.lsp-badge--time {
    background: var(--lsp-surface);
    color: var(--lsp-blue);
    font-family: var(--lsp-font-mono);
}

.lsp-badge--today { background: #dbeafe; color: var(--lsp-blue); }
.lsp-badge--upcoming { background: #fef3c7; color: #92400e; }

/* Match card body */
.lsp-match-card__body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}

.lsp-match-card__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.lsp-match-card__team--away { }

.lsp-team-crest {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.lsp-team-crest--placeholder {
    background: var(--lsp-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--lsp-muted);
}

.lsp-team-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--lsp-text);
    text-align: center;
    line-height: 1.2;
    max-width: 80px;
}

/* Score display */
.lsp-match-card__score-wrap { text-align: center; }

.lsp-match-card__score {
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.lsp-score__sep {
    color: var(--lsp-muted);
    font-size: 20px;
    margin: 0 2px;
}

.lsp-match-card__vs {
    font-size: 13px;
    font-weight: 700;
    color: var(--lsp-muted);
    font-family: var(--lsp-font-mono);
}

/* --------------------------------------------------------------------------
   League Sections
   -------------------------------------------------------------------------- */
.lsp-leagues-wrap { background: var(--lsp-bg); }

.lsp-league-section {
    padding: 24px 0;
    border-bottom: 1px solid var(--lsp-border);
}

.lsp-league-section__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.lsp-league-section__title {
    font-size: 18px;
    font-weight: 800;
    flex: 1;
}

.lsp-league-section__link {
    font-size: 12px;
    font-weight: 600;
    color: var(--lsp-blue);
    white-space: nowrap;
}

.lsp-league-section__cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.lsp-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--lsp-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--lsp-border);
}

/* Mini standings table */
.lsp-standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.lsp-standings-table th {
    font-size: 10px;
    font-weight: 700;
    color: var(--lsp-muted);
    text-align: center;
    padding: 4px 3px;
    border-bottom: 1px solid var(--lsp-border);
    letter-spacing: .04em;
}

.lsp-standings-table th.lsp-standings__team { text-align: left; }

.lsp-standings__row td {
    padding: 5px 3px;
    text-align: center;
    border-bottom: 1px solid var(--lsp-surface);
}

.lsp-standings__row td.lsp-standings__team {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    white-space: nowrap;
}

.lsp-standings__pos { font-weight: 700; color: var(--lsp-muted); }

.lsp-standings__row--ucl .lsp-standings__pos {
    color: #1a3b6e;
    font-weight: 800;
}

.lsp-standings__pts-val { font-weight: 800; color: var(--lsp-text); }

.lsp-team-mini-crest {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lsp-surface-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Result list */
.lsp-result-list { display: flex; flex-direction: column; gap: 6px; }

.lsp-result-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px solid var(--lsp-surface);
}

.lsp-result-home { text-align: right; font-weight: 600; }
.lsp-result-away { text-align: left;  font-weight: 600; }

.lsp-result-score {
    font-size: 13px;
    background: var(--lsp-surface-2);
    padding: 2px 8px;
    border-radius: 4px;
    text-align: center;
}

/* Fixture list */
.lsp-fixture-list { display: flex; flex-direction: column; gap: 6px; }

.lsp-fixture-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 5px 0;
    border-bottom: 1px solid var(--lsp-surface);
    font-size: 12px;
}

.lsp-fixture-time {
    font-size: 10px;
    color: var(--lsp-blue);
    font-weight: 700;
    font-family: var(--lsp-font-mono);
}

.lsp-fixture-match {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lsp-fixture-home, .lsp-fixture-away { font-weight: 600; }
.lsp-fixture-vs { color: var(--lsp-muted); font-size: 10px; }

/* --------------------------------------------------------------------------
   Top Scorers Carousel
   -------------------------------------------------------------------------- */
.lsp-top-scorers {
    background: var(--lsp-surface);
    padding: 24px 0;
    border-bottom: 1px solid var(--lsp-border);
}

.lsp-section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.lsp-section-title {
    font-size: 18px;
    font-weight: 800;
}

.lsp-section-sub {
    font-size: 12px;
    color: var(--lsp-muted);
}

.lsp-scorers-track-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.lsp-scorers-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lsp-bg);
    border: 1px solid var(--lsp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: var(--lsp-text);
    transition: background var(--lsp-transition), box-shadow var(--lsp-transition);
    min-width: 44px;
    min-height: 44px;
}
.lsp-scorers-arrow:hover { background: var(--lsp-surface-2); box-shadow: var(--lsp-shadow-sm); }

.lsp-scorers-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
    padding: 4px 0;
}
.lsp-scorers-track::-webkit-scrollbar { display: none; }

.lsp-scorer-card {
    flex-shrink: 0;
    width: 150px;
    background: var(--lsp-bg);
    border: 1px solid var(--lsp-border);
    border-radius: var(--lsp-radius-lg);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    transition: box-shadow var(--lsp-transition), border-color var(--lsp-transition);
}
.lsp-scorer-card:hover { box-shadow: var(--lsp-shadow); border-color: var(--lsp-blue); }

.lsp-scorer-card__rank {
    font-size: 11px;
    font-weight: 800;
    color: var(--lsp-muted);
    align-self: flex-start;
}

.lsp-scorer-card__rank:first-child + .lsp-scorer-card__avatar { margin-top: 0; }

/* Gold/silver/bronze for top 3 */
.lsp-scorer-card:nth-child(1) .lsp-scorer-card__rank { color: #f59e0b; font-size: 14px; }
.lsp-scorer-card:nth-child(2) .lsp-scorer-card__rank { color: #9ca3af; font-size: 13px; }
.lsp-scorer-card:nth-child(3) .lsp-scorer-card__rank { color: #d97706; }

.lsp-scorer-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lsp-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lsp-scorer-card__initials {
    font-size: 14px;
    font-weight: 800;
    color: var(--lsp-blue);
}

.lsp-scorer-card__name {
    font-size: 12px;
    font-weight: 700;
    color: var(--lsp-text);
    line-height: 1.2;
}

.lsp-scorer-card__club {
    font-size: 11px;
    color: var(--lsp-muted);
}

.lsp-scorer-card__goals {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4px;
}

.lsp-scorer-card__goals-num {
    font-size: 24px;
    line-height: 1;
    color: var(--lsp-blue);
}

.lsp-scorer-card__goals-label,
.lsp-scorer-card__apps-label {
    font-size: 10px;
    color: var(--lsp-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.lsp-scorer-card__apps {
    font-size: 11px;
    color: var(--lsp-muted);
}

/* --------------------------------------------------------------------------
   News Grid
   -------------------------------------------------------------------------- */
.lsp-news-grid {
    padding: 24px 0 32px;
    background: var(--lsp-bg);
}

.lsp-section-link {
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
}

.lsp-news-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lsp-news-card {
    display: flex;
    gap: 12px;
    background: var(--lsp-bg);
    border: 1px solid var(--lsp-border);
    border-radius: var(--lsp-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--lsp-transition);
}
.lsp-news-card:hover { box-shadow: var(--lsp-shadow); }

.lsp-news-card__thumb-wrap {
    flex-shrink: 0;
    width: 110px;
}
.lsp-news-card__thumb {
    width: 110px;
    height: 100%;
    object-fit: cover;
}

.lsp-news-card__body {
    padding: 10px 12px 10px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.lsp-news-card__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--lsp-live);
    color: #fff;
    align-self: flex-start;
}

.lsp-news-card__tag--breaking    { background: var(--lsp-live); }
.lsp-news-card__tag--chuyen-nhuong { background: #7c3aed; }
.lsp-news-card__tag--phan-tich   { background: var(--lsp-blue); }
.lsp-news-card__tag--v-league    { background: #059669; }
.lsp-news-card__tag--champions-league { background: #1a3b6e; }
.lsp-news-card__tag--tin-tuc     { background: var(--lsp-muted); }

.lsp-news-card__title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lsp-text);
}
.lsp-news-card__title a { color: inherit; }
.lsp-news-card__title a:hover { color: var(--lsp-blue); text-decoration: none; }

.lsp-news-card__excerpt {
    font-size: 12px;
    color: var(--lsp-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.lsp-news-card__time {
    font-size: 11px;
    color: var(--lsp-muted);
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.lsp-breadcrumbs {
    padding: 10px 0;
    background: var(--lsp-surface);
    border-bottom: 1px solid var(--lsp-border);
}

.lsp-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.lsp-breadcrumbs__link { color: var(--lsp-blue); }
.lsp-breadcrumbs__sep  { color: var(--lsp-muted); }
.lsp-breadcrumbs__item--current span { color: var(--lsp-muted); }

/* --------------------------------------------------------------------------
   Blog / Archive / Single post lists
   -------------------------------------------------------------------------- */
.lsp-main--blog,
.lsp-main--archive { padding: 24px 0 40px; }

.lsp-main--single { padding: 24px 0 40px; }

.lsp-post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.lsp-post-card {
    display: flex;
    gap: 16px;
    background: var(--lsp-bg);
    border: 1px solid var(--lsp-border);
    border-radius: var(--lsp-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--lsp-transition);
}
.lsp-post-card:hover { box-shadow: var(--lsp-shadow); }

.lsp-post-card__thumb-wrap { flex-shrink: 0; width: 180px; }
.lsp-post-card__thumb { width: 180px; height: 120px; object-fit: cover; }

.lsp-post-card__body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.lsp-post-card__cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--lsp-live);
}

.lsp-post-card__title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.lsp-post-card__title a { color: var(--lsp-text); }
.lsp-post-card__title a:hover { color: var(--lsp-blue); text-decoration: none; }

.lsp-post-card__excerpt { font-size: 13px; color: var(--lsp-muted); margin: 0; }

.lsp-post-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--lsp-muted);
    margin-top: auto;
}

.lsp-post-card__readmore { font-weight: 600; color: var(--lsp-blue); }

/* Archive header */
.lsp-archive-header { margin: 16px 0 20px; }
.lsp-archive-title  { font-size: 22px; font-weight: 800; }
.lsp-archive-desc   { font-size: 14px; color: var(--lsp-muted); margin-top: 6px; }

/* Pagination */
.lsp-pagination { margin-top: 24px; }
.lsp-pagination .nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.lsp-pagination .page-numbers {
    display: flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid var(--lsp-border); border-radius: var(--lsp-radius);
    font-size: 13px; font-weight: 600; color: var(--lsp-text);
    transition: background var(--lsp-transition);
}
.lsp-pagination .page-numbers:hover { background: var(--lsp-surface); text-decoration: none; }
.lsp-pagination .page-numbers.current { background: var(--lsp-blue); color: #fff; border-color: var(--lsp-blue); }

/* No results */
.lsp-no-results { padding: 40px 0; text-align: center; }
.lsp-no-results h2 { font-size: 18px; margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */
.lsp-post-single { }
.lsp-post-cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--lsp-live); display: inline-block; margin-bottom: 8px; }
.lsp-post-title { font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.lsp-post-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lsp-muted); margin-bottom: 16px; }
.lsp-post-meta__sep { color: var(--lsp-border); }
.lsp-post-featured-img { margin-bottom: 20px; border-radius: var(--lsp-radius-lg); overflow: hidden; }
.lsp-post-featured-img img { width: 100%; }
.lsp-post-featured-img figcaption { font-size: 12px; color: var(--lsp-muted); padding: 6px 0; }

.lsp-post-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lsp-text);
}
.lsp-post-content h2 { font-size: 20px; font-weight: 800; margin: 24px 0 12px; }
.lsp-post-content h3 { font-size: 17px; font-weight: 700; margin: 20px 0 10px; }
.lsp-post-content p { margin-bottom: 14px; }
.lsp-post-content ul, .lsp-post-content ol { padding-left: 20px; margin-bottom: 14px; }
.lsp-post-content li { list-style: disc; margin-bottom: 4px; }
.lsp-post-content table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 16px; }
.lsp-post-content th, .lsp-post-content td { border: 1px solid var(--lsp-border); padding: 7px 10px; text-align: left; }
.lsp-post-content th { background: var(--lsp-surface); font-weight: 700; }
.lsp-post-content img { border-radius: var(--lsp-radius); margin: 8px 0; }

.lsp-post-footer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--lsp-border); }
.lsp-post-tags { font-size: 13px; color: var(--lsp-muted); margin-bottom: 16px; }
.lsp-post-tags a { display: inline-block; background: var(--lsp-surface); padding: 2px 8px; border-radius: 3px; margin: 2px; color: var(--lsp-text); font-size: 12px; }

.lsp-post-nav { display: flex; justify-content: space-between; gap: 12px; }
.lsp-post-nav__prev, .lsp-post-nav__next { font-size: 13px; font-weight: 600; color: var(--lsp-blue); }

/* --------------------------------------------------------------------------
   Page / 404
   -------------------------------------------------------------------------- */
.lsp-main--page { padding: 24px 0 40px; }
.lsp-page-title { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.lsp-page-featured-img { margin-bottom: 20px; border-radius: var(--lsp-radius-lg); overflow: hidden; }

.lsp-main--404 { padding: 60px 0; }
.lsp-404-wrap { text-align: center; max-width: 480px; margin: 0 auto; }
.lsp-404-score { font-size: 80px; line-height: 1; color: var(--lsp-blue); opacity: .15; margin-bottom: 12px; }
.lsp-404-ball { color: var(--lsp-live); }
.lsp-404-title { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.lsp-404-desc { color: var(--lsp-muted); margin-bottom: 24px; }
.lsp-404-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* --------------------------------------------------------------------------
   Search form
   -------------------------------------------------------------------------- */
.lsp-search-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    width: 100%;
}

.lsp-search-form__input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--lsp-border);
    border-right: none;
    border-radius: var(--lsp-radius) 0 0 var(--lsp-radius);
    font-size: 13px;
    background: var(--lsp-bg);
    color: var(--lsp-text);
    outline: none;
    transition: border-color var(--lsp-transition);
}
.lsp-search-form__input:focus { border-color: var(--lsp-blue); }

.lsp-search-form__btn {
    height: 40px;
    width: 44px;
    background: var(--lsp-blue);
    color: #fff;
    border-radius: 0 var(--lsp-radius) var(--lsp-radius) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--lsp-transition);
    min-width: 44px;
    border: 1px solid var(--lsp-blue);
}
.lsp-search-form__btn:hover { background: var(--lsp-blue-dark); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.lsp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--lsp-radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--lsp-transition), opacity var(--lsp-transition);
    text-decoration: none;
    min-height: 44px;
}
.lsp-btn--primary { background: var(--lsp-blue); color: #fff; }
.lsp-btn--primary:hover { background: var(--lsp-blue-dark); text-decoration: none; color: #fff; }
.lsp-btn--tg { background: #229ED9; color: #fff; }
.lsp-btn--tg:hover { background: #1a8ab8; text-decoration: none; color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.lsp-footer {
    background: var(--lsp-surface);
    border-top: 2px solid var(--lsp-blue);
    margin-top: 0;
}

/* EEAT trust row */
.lsp-footer-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.lsp-trust-badge {
    padding: 10px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px;
}
.lsp-trust-badge strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}
.lsp-trust-badge span {
    font-size: 11px;
    color: rgba(255,255,255,.55);
}

/* Editorial commitment */
.lsp-footer-editorial {
    padding: 16px 20px;
    margin: 16px 0 0;
    background: rgba(255,255,255,.03);
    border-left: 3px solid var(--lsp-accent, #22c55e);
    border-radius: 6px;
}
.lsp-footer-editorial p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.65);
}
.lsp-footer-editorial strong { color: #fff; }
.lsp-footer-editorial a { color: var(--lsp-accent, #22c55e); text-decoration: underline; }

.lsp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 24px;
    padding: 32px 0;
}

.lsp-footer-col__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lsp-muted);
    margin-bottom: 12px;
}

.lsp-footer-logo { display: inline-block; margin-bottom: 10px; }

.lsp-footer-desc {
    font-size: 13px;
    color: var(--lsp-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.lsp-footer-social { display: flex; gap: 8px; }

.lsp-social-link {
    width: 34px;
    height: 34px;
    border-radius: var(--lsp-radius);
    background: var(--lsp-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--lsp-text);
    transition: background var(--lsp-transition);
    min-width: 44px;
    min-height: 44px;
}
.lsp-social-link:hover { background: var(--lsp-blue); color: #fff; text-decoration: none; }

.lsp-footer-nav li { margin-bottom: 8px; }
.lsp-footer-nav a {
    font-size: 13px;
    color: var(--lsp-muted);
    transition: color var(--lsp-transition);
}
.lsp-footer-nav a:hover { color: var(--lsp-blue); text-decoration: none; }

.lsp-footer-col--cta p { font-size: 13px; color: var(--lsp-muted); margin-bottom: 14px; line-height: 1.5; }

/* Footer bottom */
.lsp-footer-bottom {
    border-top: 1px solid var(--lsp-border);
    background: var(--lsp-bg);
}

.lsp-footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    flex-wrap: wrap;
}

.lsp-footer-copy { font-size: 12px; color: var(--lsp-muted); margin: 0; }
.lsp-footer-copy a { color: var(--lsp-muted); }
.lsp-footer-copy a:hover { color: var(--lsp-blue); }

.lsp-footer-legal-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.lsp-footer-legal-nav a { font-size: 12px; color: var(--lsp-muted); }
.lsp-footer-legal-nav a:hover { color: var(--lsp-blue); }

/* --------------------------------------------------------------------------
   Widget panel (sidebar)
   -------------------------------------------------------------------------- */
.lsp-widget-panel {
    background: var(--lsp-bg);
    border: 1px solid var(--lsp-border);
    border-radius: var(--lsp-radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

.lsp-widget-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--lsp-muted);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--lsp-border);
}

/* --------------------------------------------------------------------------
   Responsive — 1100px
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .lsp-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .lsp-league-section__cols { grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
    .lsp-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }
    .lsp-footer-grid > .lsp-footer-col:nth-child(4),
    .lsp-footer-grid > .lsp-footer-col:nth-child(5) { grid-column: span 1; }
    .lsp-footer-trust { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   Responsive — 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .lsp-primary-nav { display: none; }
    .lsp-mobile-menu-toggle { display: flex; }

    .lsp-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .lsp-league-section__cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lsp-news-cols { grid-template-columns: 1fr; }

    .lsp-scorer-card { width: 130px; }

    .lsp-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .lsp-footer-grid > .lsp-footer-col:first-child { grid-column: 1 / -1; }
    .lsp-footer-trust { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .lsp-post-card { flex-direction: column; }
    .lsp-post-card__thumb-wrap { width: 100%; }
    .lsp-post-card__thumb { width: 100%; height: 180px; }

    .lsp-post-title { font-size: 20px; }

    .lsp-tabs { overflow-x: auto; scrollbar-width: none; gap: 2px; }
    .lsp-tabs::-webkit-scrollbar { display: none; }
    .lsp-tab { white-space: nowrap; font-size: 11px; padding: 6px 10px; }
}

/* --------------------------------------------------------------------------
   Responsive — 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .lsp-cards-grid { grid-template-columns: 1fr; }

    .lsp-match-card__score { font-size: 22px; }

    .lsp-ticker-cta { display: none; }

    .lsp-footer-grid { grid-template-columns: 1fr; }

    .lsp-footer-bottom__inner { flex-direction: column; align-items: flex-start; }

    .lsp-league-section__header { flex-wrap: wrap; }

    .lsp-post-title { font-size: 18px; }

    .lsp-404-score { font-size: 56px; }

    .lsp-section-header { flex-wrap: wrap; }

    .lsp-scorers-arrow { display: none; }
    .lsp-scorers-track-wrap { padding: 0; }
}

/* ========================================================
   Odds embed slot (homepage) — between match-grid and leagues
   ======================================================== */
.lsp-odds-section {
    background: #fff;
    border-top: 1px solid var(--lsp-border, #e5e7eb);
    border-bottom: 1px solid var(--lsp-border, #e5e7eb);
    padding: 20px 0;
    margin: 16px 0;
}
.lsp-odds-section__title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lsp-text, #111827);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.lsp-odds-section__pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff6b00;
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6);
    animation: lsp-odds-pulse 1.6s ease-out infinite;
    flex: 0 0 auto;
}
@keyframes lsp-odds-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}
.lsp-odds-section__body {
    background: var(--lsp-surface, #f3f4f6);
    border: 1px solid var(--lsp-border, #e5e7eb);
    border-radius: 8px;
    padding: 14px;
    overflow-x: auto;
}
.lsp-odds-section__body iframe,
.lsp-odds-section__body table,
.lsp-odds-section__body .lsp-odds-embed {
    max-width: 100%;
}
.lsp-odds-section__body iframe {
    width: 100%;
    border: 0;
    display: block;
}
[data-theme="dark"] .lsp-odds-section { background: var(--lsp-surface, #1f2937); }
[data-theme="dark"] .lsp-odds-section__body { background: rgba(0,0,0,0.25); }
@media (max-width: 640px) {
    .lsp-odds-section { padding: 14px 0; }
    .lsp-odds-section__title { font-size: 0.95rem; }
    .lsp-odds-section__body { padding: 10px; }
}
