/* ========================================
   PINE TAR PRESS — CSS
   Seattle Mariners Fan Hub
   Dark & Bold Sports Theme
   ======================================== */

/* --- CSS Variables --- */
:root {
    --navy: #0C2340;
    --navy-deep: #081A2E;
    --navy-dark: #060F1A;
    --teal: #005C5C;
    --teal-bright: #00878A;
    --teal-glow: #00B8BD;
    --silver: #C4CED4;
    --silver-light: #E0E5E8;
    --silver-muted: #8A9AA3;
    --white: #F5F7F8;
    --card-bg: rgba(12, 35, 64, 0.6);
    --card-border: rgba(0, 92, 92, 0.25);
    --card-hover: rgba(0, 92, 92, 0.15);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --glow: 0 0 20px rgba(0, 184, 189, 0.3);
    --glow-strong: 0 0 40px rgba(0, 184, 189, 0.4);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font-body);
    background: var(--navy-dark);
    color: var(--silver);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--teal-bright);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--teal-glow);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   NAVIGATION (full top menu)
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 15, 26, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 92, 92, 0.2);
    transition: background 0.3s ease;
}

.nav.scrolled {
    background: rgba(6, 15, 26, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav-logo--accent {
    color: var(--teal-bright);
}

.nav-logo:hover {
    color: var(--teal-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    color: var(--silver-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    padding: 6px 12px;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--teal-bright);
    transform: scaleX(0);
    transition: transform var(--transition);
    box-shadow: var(--glow);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link--cta {
    background: var(--teal);
    color: var(--white) !important;
    padding: 7px 18px;
    border-radius: 3px;
    letter-spacing: 1px;
    margin-left: 6px;
    transition: all var(--transition);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--teal-bright);
    box-shadow: var(--glow);
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--silver);
    transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    background: rgba(6, 15, 26, 0.98);
    border-top: 1px solid var(--card-border);
}

.nav-mobile.open {
    display: flex;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
}

/* ========================================
   SCOREBOARD TICKER BAR
   ======================================== */
.ticker-bar {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(8, 26, 46, 0.95);
    border-bottom: 1px solid rgba(0, 92, 92, 0.2);
    height: 36px;
    display: flex;
    align-items: center;
}

.ticker-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 92, 92, 0.12);
    border: none;
    color: var(--silver-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 2;
}

.ticker-arrow:hover {
    background: rgba(0, 92, 92, 0.3);
    color: var(--teal-glow);
}

.ticker-arrow:active {
    background: rgba(0, 92, 92, 0.45);
}

.ticker-track {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    height: 36px;
}

.ticker-track::-webkit-scrollbar {
    display: none;
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 0;
    height: 36px;
    padding: 0 24px;
    width: max-content;
    min-width: 100%;
}

.ticker-inner::-webkit-scrollbar {
    display: none;
}

.ticker-loading {
    font-size: 11px;
    color: var(--silver-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 12px;
}

.ticker-game {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-right: 1px solid rgba(0, 92, 92, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
    height: 100%;
    transition: background 0.2s ease;
    cursor: default;
}

.ticker-game:hover {
    background: rgba(0, 92, 92, 0.08);
}

.ticker-game:last-child {
    border-right: none;
}

.ticker-game.ticker-highlight {
    background: rgba(0, 92, 92, 0.1);
}

.ticker-teams {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
}

.ticker-team {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--silver-light);
    letter-spacing: 0.5px;
}

.ticker-team.sea {
    color: var(--teal-glow);
}

.ticker-score {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--white);
    letter-spacing: 1px;
    min-width: 24px;
    text-align: right;
}

.ticker-status {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 2px;
}

.ticker-status.live {
    color: #FF4444;
    border: 1px solid rgba(255, 68, 68, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

.ticker-status.final {
    color: var(--silver-muted);
}

.ticker-status.scheduled {
    color: var(--teal-bright);
}

/* ========================================
   BRAND BANNER
   ======================================== */
.brand-banner {
    position: relative;
    padding-top: 92px; /* nav + ticker */
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, #0A2E3E 70%, var(--navy-dark) 100%);
}

.brand-banner-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(0, 92, 92, 0.04) 0px,
            rgba(0, 92, 92, 0.04) 1px,
            transparent 1px,
            transparent 80px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(0, 92, 92, 0.04) 0px,
            rgba(0, 92, 92, 0.04) 1px,
            transparent 1px,
            transparent 80px
        );
    animation: patternShift 20s linear infinite;
}

@keyframes patternShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.brand-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(0, 92, 92, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.brand-banner-content {
    position: relative;
    z-index: 2;
    padding: 28px 20px 24px;
}

.brand-banner-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--teal-bright);
    text-transform: uppercase;
    border: 1px solid var(--teal);
    padding: 4px 16px;
    margin-bottom: 12px;
}

.brand-banner-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 8vw, 72px);
    line-height: 0.95;
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 6px;
}

.brand-banner-title--accent {
    color: var(--teal-bright);
    text-shadow: 0 0 60px rgba(0, 184, 189, 0.3);
}

.brand-banner-tagline {
    font-family: var(--font-body);
    font-size: clamp(11px, 1.4vw, 15px);
    font-weight: 300;
    color: var(--silver);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ========================================
   TOP STORIES
   ======================================== */
.top-stories-section {
    padding: 24px 0 48px;
    background: linear-gradient(180deg, rgba(12, 35, 64, 0.4) 0%, var(--navy-dark) 100%);
}

.top-stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 200px;
}

.top-stories-grid.loaded {
    grid-template-columns: 1.4fr 2.8fr 2fr;
    gap: 20px;
}

.ts-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--silver-muted);
    grid-column: 1 / -1;
}

/* X/Twitter feed (left column) */
.ts-xfeed {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 800px;
}

.ts-xfeed__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(0, 92, 92, 0.2), rgba(12, 35, 64, 0.6));
    border-bottom: 1px solid var(--card-border);
    flex-shrink: 0;
}

.ts-xfeed__header-icon {
    width: 20px;
    height: 20px;
    color: var(--teal-bright);
    flex-shrink: 0;
}

.ts-xfeed__header-title {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 1.5px;
    color: var(--white);
}

.ts-xfeed__scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) var(--navy-deep);
}

.ts-xfeed__scroll::-webkit-scrollbar {
    width: 5px;
}

.ts-xfeed__scroll::-webkit-scrollbar-track {
    background: var(--navy-deep);
}

.ts-xfeed__scroll::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 3px;
}

.ts-xfeed__post {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.ts-xfeed__post:hover {
    background: rgba(0, 92, 92, 0.1);
}

.ts-xfeed__post-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ts-xfeed__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    text-transform: uppercase;
}

.ts-xfeed__author {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
}

.ts-xfeed__handle {
    font-size: 11px;
    color: var(--silver-muted);
    font-weight: 400;
}

.ts-xfeed__text {
    font-size: 13px;
    color: var(--silver);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ts-xfeed__time {
    font-size: 10px;
    color: var(--silver-muted);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.ts-xfeed__post-img {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: cover;
    border-radius: 6px;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ts-xfeed__loading {
    padding: 30px 16px;
    text-align: center;
    color: var(--silver-muted);
    font-size: 12px;
}

.ts-xfeed__empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--silver-muted);
    font-size: 12px;
    line-height: 1.5;
}

.ts-xfeed__follow-list {
    padding: 10px 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.ts-xfeed__follow-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--silver-muted);
    margin-bottom: 6px;
}

.ts-xfeed__follow-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ts-xfeed__follow-link {
    font-size: 10px;
    color: var(--teal-bright);
    text-decoration: none;
    padding: 2px 6px;
    border: 1px solid rgba(0, 184, 189, 0.2);
    border-radius: 3px;
    transition: all 0.2s ease;
}

.ts-xfeed__follow-link:hover {
    background: rgba(0, 92, 92, 0.2);
    border-color: var(--teal-bright);
}

/* Featured story (center column) */
.ts-featured {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0;
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.ts-featured__img-link {
    display: block;
    width: 100%;
    overflow: hidden;
}

.ts-featured__img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ts-featured:hover .ts-featured__img {
    transform: scale(1.03);
}

.ts-featured__body {
    padding: 28px 36px 36px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ts-featured:hover {
    border-color: var(--teal-bright);
    box-shadow: var(--glow);
}

.ts-featured__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--teal-bright), var(--teal));
    box-shadow: var(--glow);
}

.ts-featured__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--navy-dark);
    background: var(--teal-bright);
    padding: 4px 12px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.ts-featured__source {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;
}

.ts-featured__date {
    display: block;
    font-size: 13px;
    color: var(--silver-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ts-featured__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.ts-featured__title a {
    color: var(--white);
    transition: color var(--transition);
}

.ts-featured__title a:hover {
    color: var(--teal-glow);
}

.ts-featured__desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--silver);
    max-width: 700px;
    margin-bottom: 24px;
}

.ts-featured__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--teal-bright);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition);
}

.ts-featured__link:hover {
    color: var(--teal-glow);
    text-shadow: var(--glow);
}

/* Sidebar stories (right column) */
.ts-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 620px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) var(--navy-deep);
}

.ts-sidebar::-webkit-scrollbar {
    width: 5px;
}

.ts-sidebar::-webkit-scrollbar-track {
    background: var(--navy-deep);
}

.ts-sidebar::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 3px;
}

.ts-sidebar-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0;
    transition: all var(--transition);
    overflow: hidden;
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
}

.ts-sidebar-card__img-link {
    flex-shrink: 0;
    width: 140px;
    overflow: hidden;
}

.ts-sidebar-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ts-sidebar-card:hover .ts-sidebar-card__img {
    transform: scale(1.05);
}

.ts-sidebar-card__body {
    padding: 16px 20px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.ts-sidebar-card:hover {
    border-color: var(--teal);
    box-shadow: 0 0 15px rgba(0, 184, 189, 0.12);
    transform: translateY(-2px);
}

.ts-sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.ts-sidebar-card:hover::before {
    opacity: 1;
}

.ts-sidebar-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ts-sidebar-card__date {
    font-size: 11px;
    color: var(--silver-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ts-sidebar-card__source {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
}

.ts-sidebar-card__source--espn { color: #FC0; border: 1px solid rgba(255, 204, 0, 0.4); }
.ts-sidebar-card__source--mlb { color: #E4002B; border: 1px solid rgba(228, 0, 43, 0.4); }
.ts-sidebar-card__source--lookout { color: #4CAF50; border: 1px solid rgba(76, 175, 80, 0.4); }
.ts-sidebar-card__source--rumors { color: #FF9800; border: 1px solid rgba(255, 152, 0, 0.4); }
.ts-sidebar-card__source--ptp { color: var(--teal-bright); border: 1px solid var(--teal); background: rgba(0, 92, 92, 0.12); }
.ts-sidebar-card__source--substack { color: var(--teal-bright); border: 1px solid var(--card-border); }

.ts-sidebar-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.ts-sidebar-card__title a {
    color: var(--white);
    transition: color var(--transition);
}

.ts-sidebar-card__title a:hover {
    color: var(--teal-glow);
}

.ts-sidebar-card__excerpt {
    font-size: 13px;
    color: var(--silver-muted);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Compact sidebar card — title + source only */
.ts-sidebar-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: background 0.2s ease;
}

.ts-sidebar-compact:hover {
    background: rgba(0, 92, 92, 0.1);
}

.ts-sidebar-compact__source {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
    flex-shrink: 0;
    white-space: nowrap;
}

.ts-sidebar-compact__title {
    font-family: var(--font-display);
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    color: var(--silver);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.ts-sidebar-compact:hover .ts-sidebar-compact__title {
    color: var(--teal-glow);
}

/* --- Section Shared --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--teal-bright);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    color: var(--white);
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--silver-muted);
    font-weight: 300;
}

/* ========================================
   COVERAGE / ARTICLES
   ======================================== */
.coverage-section {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
}

.article-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--teal-bright);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition);
}

.article-link:hover {
    color: var(--teal-glow);
    text-shadow: var(--glow);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0;
    position: relative;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-card__img-link {
    display: block;
    width: 100%;
    overflow: hidden;
}

.article-card__img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-card__img {
    transform: scale(1.03);
}

.article-card__body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card:hover {
    border-color: var(--teal-bright);
    box-shadow: var(--glow);
    transform: translateY(-3px);
}

.article-card__date {
    font-size: 12px;
    color: var(--silver-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.article-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    flex-grow: 0;
}

.article-card__title a {
    color: var(--white);
    transition: color var(--transition);
}

.article-card__title a:hover {
    color: var(--teal-glow);
}

.article-card__desc {
    font-size: 14px;
    color: var(--silver-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.article-card .article-link {
    font-size: 12px;
    margin-top: auto;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

.article-card:hover::before {
    opacity: 1;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-dark) 50%, var(--navy-deep) 100%);
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.stats-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stats-tab {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--silver-muted);
    background: transparent;
    border: 1px solid var(--card-border);
    padding: 10px 28px;
    cursor: pointer;
    transition: all var(--transition);
}

.stats-tab:hover {
    color: var(--white);
    border-color: var(--teal);
}

.stats-tab.active {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal);
    box-shadow: var(--glow);
}

.stats-panels {
    position: relative;
    min-height: 300px;
}

.stats-panel {
    display: none;
}

.stats-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--silver-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--card-border);
    border-top-color: var(--teal-bright);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s linear infinite;
}

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

/* Scoreboard cards */
.scoreboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 20px;
    transition: all var(--transition);
    cursor: pointer;
}

.game-card:hover {
    border-color: var(--teal);
    box-shadow: 0 0 15px rgba(0, 184, 189, 0.15);
    transform: translateY(-2px);
}

.game-card__click-hint {
    font-size: 11px;
    color: var(--teal-bright);
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.game-card:hover .game-card__click-hint {
    opacity: 1;
}

.game-card__date {
    font-size: 11px;
    color: var(--silver-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.game-card__matchup {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.game-card__detail {
    font-size: 13px;
    color: var(--silver-muted);
}

.game-card__score {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--teal-glow);
    letter-spacing: 2px;
    margin-top: 8px;
}

.game-card__status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    margin-top: 8px;
}

.game-card__status--scheduled {
    color: var(--teal-bright);
    border: 1px solid var(--teal);
}

.game-card__status--live {
    color: #FF4444;
    border: 1px solid #FF4444;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.game-card__status--final {
    color: var(--silver-muted);
    border: 1px solid rgba(196, 206, 212, 0.3);
}

/* ========================================
   GAME DETAIL MODAL
   ======================================== */
.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 12, 24, 0.92);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.game-modal-overlay.visible {
    opacity: 1;
}

.game-modal {
    background: var(--navy);
    border: 1px solid var(--card-border);
    max-width: 900px;
    width: 100%;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    position: relative;
}

.game-modal-overlay.visible .game-modal {
    transform: translateY(0);
}

.game-modal__header {
    background: rgba(0, 92, 92, 0.15);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-modal__matchup {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    letter-spacing: 2px;
}

.game-modal__date {
    font-size: 12px;
    color: var(--silver-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.game-modal__close {
    background: none;
    border: 1px solid rgba(196, 206, 212, 0.2);
    color: var(--silver-light);
    font-size: 18px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.game-modal__close:hover {
    border-color: var(--teal);
    color: var(--teal-glow);
}

.game-modal__status-bar {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--card-border);
    font-size: 13px;
}

.game-modal__score-big {
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--teal-glow);
    letter-spacing: 3px;
}

.game-modal__status-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
}

.game-modal__status-badge.final {
    color: var(--silver-muted);
    border: 1px solid rgba(196, 206, 212, 0.3);
}

.game-modal__status-badge.live {
    color: #FF4444;
    border: 1px solid #FF4444;
    animation: pulse 1.5s ease-in-out infinite;
}

.game-modal__status-badge.scheduled {
    color: var(--teal-bright);
    border: 1px solid var(--teal);
}

.game-modal__decisions {
    font-size: 13px;
    color: var(--silver-muted);
}

.game-modal__decisions strong {
    color: var(--silver-light);
}

.game-modal__body {
    padding: 24px;
}

.game-modal__section {
    margin-bottom: 28px;
}

.game-modal__section-title {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--teal-glow);
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 92, 92, 0.2);
}

/* Linescore in modal */
.game-modal .lg-linescore-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.game-modal .lg-linescore {
    width: 100%;
    min-width: 500px;
}

/* Box score tables */
.gm-box-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 8px;
}

.gm-box-table thead th {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--teal-bright);
    text-align: center;
    padding: 6px 8px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 92, 92, 0.3);
    white-space: nowrap;
}

.gm-box-table thead th:first-child {
    text-align: left;
}

.gm-box-table tbody td {
    padding: 5px 8px;
    text-align: center;
    color: var(--silver-light);
    border-bottom: 1px solid rgba(196, 206, 212, 0.06);
    white-space: nowrap;
}

.gm-box-table tbody td:first-child {
    text-align: left;
    color: var(--white);
    font-weight: 500;
}

.gm-box-table tbody tr:hover td {
    background: rgba(0, 92, 92, 0.08);
}

.gm-box-team-label {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--silver-light);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    margin-top: 16px;
}

.gm-box-team-label:first-of-type {
    margin-top: 0;
}

.gm-loading {
    text-align: center;
    padding: 40px;
    color: var(--silver-muted);
    font-size: 14px;
}

.gm-loading .loading-spinner {
    margin: 0 auto 16px;
}

.gm-play-by-play {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) transparent;
}

.gm-play-by-play::-webkit-scrollbar {
    width: 4px;
}

.gm-play-by-play::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 2px;
}

.gm-play-item {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(196, 206, 212, 0.06);
    font-size: 13px;
    color: var(--silver-light);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.gm-play-item:last-child {
    border-bottom: none;
}

.gm-play-inning {
    font-size: 11px;
    color: var(--teal-bright);
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 52px;
}

.gm-play-event {
    font-weight: 600;
    color: var(--white);
}

.gm-play-item.play-hr {
    background: rgba(0, 184, 189, 0.08);
    border-left: 3px solid var(--teal-glow);
}

.gm-play-item.play-strikeout {
    border-left: 3px solid #FF4444;
}

.gm-scheduled-info {
    text-align: center;
    padding: 40px;
    color: var(--silver-muted);
}

.gm-scheduled-info .gm-time {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--teal-glow);
    letter-spacing: 2px;
    margin: 16px 0 8px;
}

.gm-scheduled-info .gm-pitchers {
    font-size: 14px;
    color: var(--silver-light);
    margin-top: 12px;
}

@media (max-width: 768px) {
    .game-modal-overlay {
        padding: 20px 10px;
    }
    .game-modal__matchup {
        font-size: 22px;
    }
    .game-modal__score-big {
        font-size: 30px;
    }
    .gm-box-table {
        font-size: 11px;
    }
    .gm-box-table thead th,
    .gm-box-table tbody td {
        padding: 4px 5px;
    }
}

/* Player Stats */
.player-stats-section {
    margin-bottom: 40px;
}

.player-stats-section h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--teal);
    display: inline-block;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}

.stats-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.stats-table th {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-bright);
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--card-border);
    white-space: nowrap;
}

.stats-table td {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--silver-light);
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 92, 92, 0.1);
    white-space: nowrap;
}

.stats-table tr:hover td {
    background: var(--card-hover);
}

.stats-table .player-name {
    font-weight: 700;
    color: var(--white);
    min-width: 140px;
}

.stats-table .stat-highlight {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--teal-glow);
    letter-spacing: 1px;
}

/* Standings */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 700px;
    margin: 0 auto;
}

.standings-table th {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-bright);
    text-align: left;
    padding: 14px 20px;
    border-bottom: 2px solid var(--teal);
}

.standings-table td {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--silver-light);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 92, 92, 0.1);
}

.standings-table tr.mariners-row {
    background: rgba(0, 92, 92, 0.15);
    border-left: 3px solid var(--teal-bright);
}

.standings-table tr.mariners-row td {
    color: var(--white);
    font-weight: 700;
}

.standings-table tr:hover td {
    background: var(--card-hover);
}

.standings-table .team-name {
    font-weight: 700;
    min-width: 160px;
}

.standings-table .team-name.mariners {
    color: var(--teal-glow);
}

.stats-fallback {
    text-align: center;
    padding: 40px 20px;
    color: var(--silver-muted);
    font-size: 15px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 2px;
}

.stats-fallback strong {
    color: var(--teal-bright);
}

/* ========================================
   NEWS SECTION
   ======================================== */
.news {
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-filter {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--silver-muted);
    background: transparent;
    border: 1px solid var(--card-border);
    padding: 8px 20px;
    cursor: pointer;
    transition: all var(--transition);
}

.news-filter:hover {
    color: var(--white);
    border-color: var(--teal);
}

.news-filter.active {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal);
}

.news-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--silver-muted);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 24px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--teal);
    box-shadow: 0 0 15px rgba(0, 184, 189, 0.12);
    transform: translateY(-2px);
}

.news-card.hidden {
    display: none;
}

.news-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.news-card__source {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
}

.news-card__source--espn { color: #FC0; border: 1px solid rgba(255, 204, 0, 0.4); }
.news-card__source--mlb { color: #E4002B; border: 1px solid rgba(228, 0, 43, 0.4); }
.news-card__source--lookout { color: #4CAF50; border: 1px solid rgba(76, 175, 80, 0.4); }
.news-card__source--rumors { color: #FF9800; border: 1px solid rgba(255, 152, 0, 0.4); }

.news-card__date {
    font-size: 12px;
    color: var(--silver-muted);
}

.news-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.news-card__title a {
    color: var(--white);
    transition: color var(--transition);
}

.news-card__title a:hover {
    color: var(--teal-glow);
}

.news-card__excerpt {
    font-size: 14px;
    color: var(--silver-muted);
    line-height: 1.6;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-fallback {
    text-align: center;
    padding: 40px;
    color: var(--silver-muted);
}

.fallback-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.fallback-link {
    padding: 10px 20px;
    border: 1px solid var(--card-border);
    color: var(--teal-bright);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition);
}

.fallback-link:hover {
    border-color: var(--teal);
    box-shadow: var(--glow);
}

/* ========================================
   SUBSCRIBE SECTION
   ======================================== */
.subscribe {
    background: linear-gradient(160deg, var(--navy-dark) 0%, #0A2E3E 50%, var(--navy-dark) 100%);
    position: relative;
    overflow: hidden;
}

.subscribe-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -45deg,
            rgba(0, 92, 92, 0.05) 0px,
            rgba(0, 92, 92, 0.05) 1px,
            transparent 1px,
            transparent 40px
        );
}

.subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.subscribe-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.subscribe-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    color: var(--white);
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 20px;
}

.subscribe-pitch {
    font-size: 18px;
    color: var(--silver);
    line-height: 1.7;
    margin-bottom: 40px;
}

.subscribe-perks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.perk {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.perk-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.perk-text strong {
    display: block;
    color: var(--white);
    font-size: 15px;
    margin-bottom: 2px;
}

.perk-text span {
    font-size: 14px;
    color: var(--silver-muted);
}

.subscribe-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 36px;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-block;
    text-align: center;
}

.btn--primary {
    background: var(--teal);
    color: var(--white);
    border: 2px solid var(--teal);
}

.btn--primary:hover {
    background: var(--teal-bright);
    border-color: var(--teal-bright);
    box-shadow: var(--glow-strong);
    transform: translateY(-2px);
    color: var(--white);
}

.btn--accent {
    background: transparent;
    color: var(--teal-bright);
    border: 2px solid var(--teal);
}

.btn--accent:hover {
    background: rgba(0, 92, 92, 0.2);
    border-color: var(--teal-bright);
    box-shadow: var(--glow);
    transform: translateY(-2px);
    color: var(--teal-glow);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--navy-dark);
    border-top: 1px solid var(--card-border);
    padding: 48px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.footer-credit {
    font-size: 14px;
    color: var(--silver-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--silver-muted);
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--teal-glow);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(0, 92, 92, 0.15);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--silver-muted);
    margin-bottom: 6px;
}

.footer-disclaimer {
    font-size: 11px !important;
    color: rgba(138, 154, 163, 0.6) !important;
    line-height: 1.6;
}

/* ========================================
   LIVE GAME TRACKER
   ======================================== */

/* Nav live dot */
.nav-link--live {
    position: relative;
}

.nav-link .live-dot,
.nav-link--live .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #FF4444;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(255, 68, 68, 0); }
}

/* ================================================================
   PINE TAR PRESS — LIVE GAME TRACKER (NEW)
   MLB Gameday-inspired 3-panel layout with StatCast analytics
   All classes use lg- prefix. Requires CSS vars from style.css.
   ================================================================ */

/* ---------------------------------------------------------------
   SECTION WRAPPER
--------------------------------------------------------------- */
.live-game-section {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-deep) 50%, var(--navy-dark) 100%);
    position: relative;
}

.live-game-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.live-game-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ---------------------------------------------------------------
   LOADING STATE
--------------------------------------------------------------- */
.lg-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--silver-muted);
}

/* ---------------------------------------------------------------
   UTILITY ANIMATIONS
--------------------------------------------------------------- */
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes scoreboardGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes pitchIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes playIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 184, 189, 0.3), 0 0 0 1px rgba(0, 184, 189, 0.2); }
    50% { box-shadow: 0 0 20px rgba(0, 184, 189, 0.6), 0 0 0 1px rgba(0, 184, 189, 0.5); }
}

@keyframes hrFlash {
    0%, 100% { background: rgba(229, 193, 0, 0.06); }
    50% { background: rgba(229, 193, 0, 0.14); }
}

/* ---------------------------------------------------------------
   TOP-LEVEL LIVE WRAPPER
--------------------------------------------------------------- */
.lg-live-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: pitchIn 0.4s ease both;
}

/* ---------------------------------------------------------------
   LIVE BADGE BAR
--------------------------------------------------------------- */
.lg-live-badge-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0 12px;
}

.lg-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #FF4444;
    padding: 5px 12px;
    border: 1px solid rgba(255, 68, 68, 0.4);
    background: rgba(255, 68, 68, 0.08);
}

.lg-live-badge .dot {
    width: 7px; height: 7px;
    background: #FF4444;
    border-radius: 50%;
    animation: livePulse 1.4s ease-in-out infinite;
}

.lg-updated {
    font-size: 11px;
    color: var(--silver-muted);
    letter-spacing: 0.5px;
}

/* ---------------------------------------------------------------
   SCOREBOARD HEADER (full-width above 3-panel grid)
--------------------------------------------------------------- */
.lg-scoreboard {
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.95) 0%, rgba(8, 26, 46, 0.98) 100%);
    border: 1px solid var(--card-border);
    border-bottom: none;
    padding: 20px 24px 16px;
    position: relative;
    overflow: hidden;
}

.lg-scoreboard::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #FF4444, var(--teal-bright), #FF4444);
    animation: scoreboardGlow 3s ease-in-out infinite;
}

.lg-scoreboard::after {
    content: '';
    position: absolute;
    top: 3px; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% -20%, rgba(0, 92, 92, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.lg-score-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.lg-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.lg-team-abbr {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--silver-light);
    letter-spacing: 2px;
}

.lg-team-name {
    font-size: 10px;
    color: var(--silver-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1px;
}

.lg-runs {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 64px);
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
    margin-top: 2px;
}

.lg-inning-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 110px;
}

.lg-inning-state {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--teal-glow);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------
   LINESCORE TABLE
--------------------------------------------------------------- */
.lg-linescore-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lg-linescore-wrapper::-webkit-scrollbar { height: 3px; }
.lg-linescore-wrapper::-webkit-scrollbar-track { background: transparent; }
.lg-linescore-wrapper::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

.lg-linescore {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.lg-linescore th,
.lg-linescore td {
    padding: 5px 9px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 13px;
    white-space: nowrap;
}

.lg-linescore th {
    color: var(--silver-muted);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--card-border);
}

.lg-linescore td {
    color: var(--silver-light);
    border-bottom: 1px solid rgba(0, 92, 92, 0.08);
}

.lg-linescore .lg-ls-team {
    text-align: left;
    font-weight: 700;
    color: var(--white);
    min-width: 42px;
    font-size: 13px;
    letter-spacing: 1px;
}

.lg-linescore .lg-ls-rhe-header {
    font-weight: 800;
    color: var(--silver);
    border-left: 1px solid rgba(0, 92, 92, 0.25);
}

.lg-linescore .lg-ls-rhe {
    border-left: 1px solid rgba(0, 92, 92, 0.15);
}

.lg-linescore .lg-ls-total {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--teal-glow);
    letter-spacing: 1px;
}

.lg-linescore .lg-ls-current {
    background: rgba(0, 184, 189, 0.1);
    position: relative;
}

.lg-linescore .lg-ls-current::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--teal-bright);
}

/* ---------------------------------------------------------------
   3-PANEL GRID
--------------------------------------------------------------- */
.lg-three-panel {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    grid-template-rows: auto;
    border: 1px solid var(--card-border);
    border-top: none;
    min-height: 560px;
    position: relative;
}

/* Panel dividers */
.lg-three-panel > .lg-panel {
    border-right: 1px solid var(--card-border);
}

.lg-three-panel > .lg-panel:last-child {
    border-right: none;
}

.lg-panel {
    background: rgba(6, 15, 26, 0.5);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.lg-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(12, 35, 64, 0.6);
    border-bottom: 1px solid var(--card-border);
    flex-shrink: 0;
}

.lg-panel-title {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal-bright);
}

.lg-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    min-height: 0;
}

.lg-panel-body::-webkit-scrollbar { width: 3px; }
.lg-panel-body::-webkit-scrollbar-track { background: rgba(0, 92, 92, 0.05); }
.lg-panel-body::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* ---------------------------------------------------------------
   LEFT PANEL — PLAY-BY-PLAY
--------------------------------------------------------------- */
.lg-pbp-panel .lg-panel-body {
    padding: 10px 0;
}

.lg-play-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(0, 92, 92, 0.1);
    transition: background var(--transition);
    animation: playIn 0.3s ease both;
}

.lg-play-item:first-child {
    background: rgba(0, 92, 92, 0.06);
    border-left: 2px solid var(--teal-bright);
}

.lg-play-item:hover {
    background: rgba(0, 92, 92, 0.08);
}

.lg-play-item.play-hr {
    background: rgba(229, 193, 0, 0.06);
    border-left: 2px solid #E5C100;
    animation: hrFlash 2.5s ease-in-out 3;
}

.lg-play-item.play-strikeout {
    border-left: 2px solid rgba(255, 68, 68, 0.5);
}

.lg-play-item.play-walk {
    border-left: 2px solid rgba(80, 221, 80, 0.5);
}

.lg-play-item.play-single {
    border-left: 2px solid rgba(0, 135, 138, 0.5);
}

.lg-play-item.play-double {
    border-left: 2px solid rgba(0, 184, 189, 0.5);
}

.lg-play-item.play-triple {
    border-left: 2px solid rgba(0, 215, 220, 0.5);
}

.lg-play-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.lg-play-inning-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--silver-muted);
    background: rgba(196, 206, 212, 0.07);
    padding: 2px 5px;
    border-radius: 1px;
    white-space: nowrap;
}

.lg-event-pill {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
    white-space: nowrap;
}

.lg-event-pill.event-hr { background: rgba(229, 193, 0, 0.2); color: #E5C100; border: 1px solid rgba(229, 193, 0, 0.3); }
.lg-event-pill.event-k  { background: rgba(255, 68, 68, 0.15); color: #FF5555; border: 1px solid rgba(255, 68, 68, 0.25); }
.lg-event-pill.event-bb { background: rgba(80, 221, 80, 0.15); color: #50DD50; border: 1px solid rgba(80, 221, 80, 0.25); }
.lg-event-pill.event-1b { background: rgba(0, 135, 138, 0.15); color: #00B8BD; border: 1px solid rgba(0, 135, 138, 0.25); }
.lg-event-pill.event-2b { background: rgba(0, 184, 189, 0.18); color: #20D8DC; border: 1px solid rgba(0, 184, 189, 0.3); }
.lg-event-pill.event-3b { background: rgba(0, 215, 220, 0.2); color: #40E8EC; border: 1px solid rgba(0, 215, 220, 0.3); }
.lg-event-pill.event-out { background: rgba(196, 206, 212, 0.1); color: var(--silver-muted); border: 1px solid rgba(196, 206, 212, 0.15); }
.lg-event-pill.event-other { background: rgba(196, 206, 212, 0.08); color: var(--silver-muted); border: 1px solid rgba(196, 206, 212, 0.12); }

.lg-play-desc {
    font-size: 12px;
    color: var(--silver);
    line-height: 1.45;
}

.lg-play-hit-data {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.lg-play-stat {
    font-size: 10px;
    color: var(--teal-glow);
    background: rgba(0, 184, 189, 0.08);
    padding: 1px 5px;
    border-radius: 1px;
    white-space: nowrap;
}

.lg-play-stat span {
    color: var(--silver-muted);
    margin-right: 2px;
}

/* ---------------------------------------------------------------
   CENTER PANEL — AT-BAT / STRIKE ZONE / ANALYTICS
--------------------------------------------------------------- */
.lg-center-panel .lg-panel-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
    overflow-y: auto;
}

/* Matchup header block */
.lg-matchup-block {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: start;
}

.lg-matchup-side {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lg-matchup-side--right {
    text-align: right;
}

.lg-matchup-role {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver-muted);
}

.lg-matchup-name {
    font-family: var(--font-display);
    font-size: clamp(16px, 2.2vw, 22px);
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.1;
}

.lg-matchup-hand {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--teal-bright);
    text-transform: uppercase;
}

.lg-matchup-stats {
    font-size: 11px;
    color: var(--silver-muted);
    margin-top: 2px;
}

.lg-matchup-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
}

.lg-matchup-vs-text {
    font-size: 11px;
    font-weight: 300;
    color: var(--silver-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Count + Bases row */
.lg-count-bases-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* Count display */
.lg-count {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.lg-count-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.lg-count-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver-muted);
    width: 14px;
    text-align: center;
}

.lg-count-dots {
    display: flex;
    gap: 5px;
}

.lg-count-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(196, 206, 212, 0.25);
    background: transparent;
    transition: all 0.25s ease;
}

.lg-count-dot.ball-active {
    background: #E5C100;
    border-color: #E5C100;
    box-shadow: 0 0 8px rgba(229, 193, 0, 0.5);
}

.lg-count-dot.strike-active {
    background: #FF4444;
    border-color: #FF4444;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.5);
}

.lg-count-dot.out-active {
    background: var(--silver);
    border-color: var(--silver);
    box-shadow: 0 0 6px rgba(196, 206, 212, 0.35);
}

/* Base diamond */
.lg-bases {
    position: relative;
    width: 82px; height: 82px;
    flex-shrink: 0;
}

.lg-base {
    position: absolute;
    width: 22px; height: 22px;
    transform: rotate(45deg);
    border: 2px solid rgba(196, 206, 212, 0.25);
    background: transparent;
    transition: all 0.3s ease;
}

.lg-base--1b { top: 29px; right: 2px; }
.lg-base--2b { top: 2px; left: 29px; }
.lg-base--3b { top: 29px; left: 2px; }

.lg-base.occupied {
    background: var(--teal-bright);
    border-color: var(--teal-glow);
    box-shadow: 0 0 14px rgba(0, 184, 189, 0.55);
}

.lg-base-home {
    position: absolute;
    bottom: 2px;
    left: 50%; transform: translateX(-50%);
    width: 13px; height: 13px;
    background: var(--silver-muted);
    clip-path: polygon(50% 100%, 0% 35%, 15% 0%, 85% 0%, 100% 35%);
    opacity: 0.4;
}

/* Strike zone SVG area */
.lg-zone-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.lg-zone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.lg-zone-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver-muted);
}

.lg-zone-legend {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lg-zone-legend-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    color: var(--silver-muted);
    letter-spacing: 0.5px;
}

.lg-zone-legend-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lg-zone-svg {
    width: 280px;
    max-width: 100%;
    height: 330px;
    background: rgba(6, 15, 26, 0.7);
    border: 1px solid rgba(0, 92, 92, 0.2);
    border-radius: 2px;
    display: block;
}

/* Hit result card */
.lg-hit-result {
    background: rgba(0, 184, 189, 0.06);
    border: 1px solid rgba(0, 184, 189, 0.25);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: pitchIn 0.4s ease both;
}

.lg-hit-result-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-bright);
}

.lg-hit-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.lg-hit-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(6, 15, 26, 0.5);
    padding: 8px 4px;
    border: 1px solid rgba(0, 92, 92, 0.15);
}

.lg-hit-stat-val {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1;
}

.lg-hit-stat-lbl {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--silver-muted);
    text-align: center;
}

.lg-hit-stat-unit {
    font-size: 10px;
    color: var(--silver-muted);
    font-family: var(--font-body);
}

/* Pitch type distribution */
.lg-pitch-dist {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lg-pitch-dist-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver-muted);
}

.lg-pitch-dist-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lg-pitch-dist-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lg-pitch-dist-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--silver-muted);
    min-width: 70px;
    letter-spacing: 0.5px;
}

.lg-pitch-dist-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(196, 206, 212, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.lg-pitch-dist-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.lg-pitch-dist-count {
    font-size: 10px;
    color: var(--silver-muted);
    min-width: 28px;
    text-align: right;
}

/* Splits context */
.lg-splits-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lg-split-chip {
    font-size: 10px;
    color: var(--silver-muted);
    background: rgba(12, 35, 64, 0.7);
    border: 1px solid var(--card-border);
    padding: 3px 8px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.lg-split-chip strong {
    color: var(--silver-light);
    font-weight: 600;
}

/* ---------------------------------------------------------------
   RIGHT PANEL — BOX SCORE
--------------------------------------------------------------- */
.lg-bs-tabs {
    display: flex;
    border-bottom: 1px solid var(--card-border);
    flex-shrink: 0;
}

.lg-bs-tab {
    flex: 1;
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    font-family: var(--font-body);
}

.lg-bs-tab:hover {
    color: var(--silver-light);
    background: rgba(0, 92, 92, 0.06);
}

.lg-bs-tab.active {
    color: var(--teal-glow);
    border-bottom-color: var(--teal-glow);
    background: rgba(0, 184, 189, 0.05);
}

.lg-bs-pane {
    display: none;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.lg-bs-pane.active {
    display: block;
}

.lg-bs-pane::-webkit-scrollbar { width: 3px; }
.lg-bs-pane::-webkit-scrollbar-track { background: rgba(0, 92, 92, 0.05); }
.lg-bs-pane::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

.lg-bs-team-header {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-bright);
    padding: 8px 10px 4px;
    background: rgba(12, 35, 64, 0.5);
    border-bottom: 1px solid rgba(0, 92, 92, 0.12);
    position: sticky;
    top: 0;
    z-index: 2;
}

.lg-bs-table {
    width: 100%;
    border-collapse: collapse;
}

.lg-bs-table th,
.lg-bs-table td {
    padding: 5px 7px;
    text-align: right;
    font-family: var(--font-body);
    font-size: 11px;
    white-space: nowrap;
}

.lg-bs-table th {
    color: var(--silver-muted);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 9px;
    text-transform: uppercase;
    background: rgba(6, 15, 26, 0.7);
    border-bottom: 1px solid rgba(0, 92, 92, 0.15);
    position: sticky;
    top: 30px;
    z-index: 1;
}

.lg-bs-table th:first-child,
.lg-bs-table td:first-child {
    text-align: left;
    min-width: 80px;
    padding-left: 10px;
}

.lg-bs-table td {
    color: var(--silver-light);
    border-bottom: 1px solid rgba(0, 92, 92, 0.07);
}

.lg-bs-table tbody tr:nth-child(even) td {
    background: rgba(12, 35, 64, 0.3);
}

.lg-bs-table tbody tr:hover td {
    background: rgba(0, 92, 92, 0.1);
}

.lg-bs-player-name {
    font-size: 12px;
    color: var(--white);
    font-weight: 500;
}

.lg-bs-pos {
    font-size: 10px;
    color: var(--silver-muted);
    margin-left: 3px;
}

.lg-bs-table .lg-bs-highlight td {
    color: var(--teal-glow);
}

.lg-bs-table .lg-bs-pitcher-current td {
    color: var(--teal-bright);
    background: rgba(0, 92, 92, 0.1) !important;
}

.lg-bs-table .lg-bs-pitcher-current td:first-child::before {
    content: '▶ ';
    font-size: 7px;
    color: var(--teal-glow);
}

/* ---------------------------------------------------------------
   PITCH SEQUENCE STRIP (bottom)
--------------------------------------------------------------- */
.lg-pitch-sequence {
    border: 1px solid var(--card-border);
    border-top: none;
    background: rgba(6, 15, 26, 0.6);
    overflow: hidden;
}

.lg-pitch-seq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    background: rgba(12, 35, 64, 0.5);
    border-bottom: 1px solid rgba(0, 92, 92, 0.15);
}

.lg-pitch-seq-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal-bright);
}

.lg-pitch-seq-count {
    font-size: 10px;
    color: var(--silver-muted);
    letter-spacing: 0.5px;
}

.lg-pitch-seq-scroll {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lg-pitch-seq-scroll::-webkit-scrollbar { height: 3px; }
.lg-pitch-seq-scroll::-webkit-scrollbar-track { background: transparent; }
.lg-pitch-seq-scroll::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

.lg-pitch-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    min-width: 100px;
    background: linear-gradient(160deg, rgba(12, 35, 64, 0.85), rgba(6, 15, 26, 0.9));
    border: 1px solid rgba(0, 92, 92, 0.2);
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    cursor: default;
    animation: pitchIn 0.3s ease both;
}

.lg-pitch-card:hover {
    border-color: rgba(0, 184, 189, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.lg-pitch-card.pitch-latest {
    border-color: rgba(0, 184, 189, 0.5);
    animation: glowPulse 2s ease-in-out 3;
}

.lg-pitch-card.pitch-latest::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal-glow), transparent);
}

.lg-pitch-card-num {
    font-size: 10px;
    font-weight: 700;
    color: var(--silver-muted);
    letter-spacing: 0.5px;
}

.lg-pitch-card-type {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 2px;
    align-self: flex-start;
    text-transform: uppercase;
}

.lg-pitch-card-type.fastball { background: rgba(255, 87, 51, 0.2); color: #FF5733; border: 1px solid rgba(255, 87, 51, 0.3); }
.lg-pitch-card-type.breaking { background: rgba(100, 100, 255, 0.2); color: #8888FF; border: 1px solid rgba(100, 100, 255, 0.3); }
.lg-pitch-card-type.offspeed { background: rgba(50, 221, 50, 0.2); color: #50DD50; border: 1px solid rgba(50, 221, 50, 0.3); }
.lg-pitch-card-type.other    { background: rgba(196, 206, 212, 0.12); color: var(--silver); border: 1px solid rgba(196, 206, 212, 0.2); }

.lg-pitch-card-speed {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1;
    margin: 2px 0;
}

.lg-pitch-card-speed-unit {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--silver-muted);
    margin-left: 2px;
    font-weight: 400;
}

.lg-pitch-card-spin {
    font-size: 10px;
    color: var(--silver-muted);
    letter-spacing: 0.3px;
}

.lg-pitch-card-result {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 2px;
    align-self: flex-start;
    margin-top: 2px;
}

.lg-pitch-card-result.result-ball   { color: #E5C100; background: rgba(229, 193, 0, 0.1); }
.lg-pitch-card-result.result-strike { color: #FF4444; background: rgba(255, 68, 68, 0.1); }
.lg-pitch-card-result.result-foul   { color: #FF8844; background: rgba(255, 136, 68, 0.1); }
.lg-pitch-card-result.result-inplay { color: var(--teal-glow); background: rgba(0, 184, 189, 0.1); }
.lg-pitch-card-result.result-other  { color: var(--silver-muted); background: rgba(196, 206, 212, 0.08); }

.lg-pitch-card-detail {
    font-size: 9px;
    color: rgba(138, 154, 163, 0.7);
    letter-spacing: 0.3px;
    margin-top: 1px;
}

/* No pitch data */
.lg-no-pitchdata {
    text-align: center;
    padding: 24px 16px;
    color: var(--silver-muted);
    font-size: 13px;
    font-style: italic;
    background: rgba(6, 15, 26, 0.4);
    border: 1px dashed rgba(0, 92, 92, 0.2);
}

/* ---------------------------------------------------------------
   FINAL GAME VIEW
--------------------------------------------------------------- */
.lg-final-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lg-final-header {
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.95), rgba(8, 26, 46, 0.98));
    border: 1px solid var(--card-border);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.lg-final-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-bright), var(--teal));
}

.lg-final-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--silver-muted);
    text-align: center;
    margin-bottom: 14px;
}

.lg-final-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.lg-final-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}

.lg-final-team.winner .lg-final-team-abbr {
    color: var(--teal-glow);
}

.lg-final-team.winner .lg-final-team-runs {
    color: var(--teal-glow);
}

.lg-final-team-abbr {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--silver);
    letter-spacing: 2px;
}

.lg-final-team-runs {
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 60px);
    color: var(--silver-light);
    letter-spacing: 2px;
    line-height: 1;
}

.lg-final-dash {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--silver-muted);
    line-height: 1;
    margin-top: 8px;
}

.lg-final-detail {
    text-align: center;
    font-size: 13px;
    color: var(--silver-muted);
    margin-top: 12px;
}

.lg-final-detail strong {
    color: var(--silver);
    font-weight: 700;
}

/* Final box score (3-panel layout reused) */
.lg-final-wrapper .lg-three-panel {
    border: 1px solid var(--card-border);
    border-top: none;
}

/* ---------------------------------------------------------------
   PREVIEW & NO-GAME STATES
--------------------------------------------------------------- */
.lg-next-game {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lg-next-game::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-bright), var(--teal));
}

.lg-next-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal-bright);
    margin-bottom: 18px;
}

.lg-next-matchup {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.lg-next-date {
    font-size: 15px;
    color: var(--silver);
    margin-bottom: 6px;
}

.lg-next-time {
    font-size: 18px;
    font-weight: 600;
    color: var(--teal-glow);
}

.lg-next-pitcher {
    font-size: 14px;
    color: var(--silver-muted);
    margin-top: 14px;
}

/* Error state */
.lg-error {
    padding: 32px;
    text-align: center;
    color: var(--silver-muted);
    font-size: 14px;
    border: 1px dashed rgba(255, 68, 68, 0.2);
    background: rgba(255, 68, 68, 0.03);
}

.lg-error strong {
    color: var(--silver);
}

/* ---------------------------------------------------------------
   GAME MODAL LINESCORE OVERRIDE
--------------------------------------------------------------- */
.game-modal .lg-linescore-wrapper { margin-top: 12px; }
.game-modal .lg-linescore { min-width: 360px; }

/* ---------------------------------------------------------------
   RESPONSIVE — TABLET (< 1200px)
--------------------------------------------------------------- */
@media (max-width: 1199px) {
    .lg-three-panel {
        grid-template-columns: 240px 1fr 260px;
    }
}

@media (max-width: 960px) {
    .lg-three-panel {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: unset;
    }

    .lg-three-panel > .lg-panel {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
    }

    .lg-three-panel > .lg-panel:last-child {
        border-bottom: none;
    }

    /* Reorder: center first on mobile */
    .lg-center-panel { order: 1; }
    .lg-pbp-panel    { order: 2; }
    .lg-bs-panel     { order: 3; }

    .lg-panel-body { max-height: 400px; }

    .lg-zone-svg {
        width: 220px;
        height: 260px;
    }

    .lg-matchup-block {
        grid-template-columns: 1fr auto 1fr;
    }
}

@media (max-width: 600px) {
    .lg-scoreboard { padding: 14px 16px 12px; }
    .lg-score-main { gap: 12px; }
    .lg-runs { font-size: 44px; }

    .lg-panel-body { padding: 10px; max-height: 340px; }

    .lg-hit-stats-grid { grid-template-columns: repeat(2, 1fr); }

    .lg-pitch-card { min-width: 84px; padding: 8px 9px; }
    .lg-pitch-card-speed { font-size: 22px; }

    .lg-final-score-row { gap: 14px; }
    .lg-final-team-runs { font-size: 44px; }
}


@keyframes scoreboardGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}


/* ========================================
   SUBSCRIBER CHAT
   ======================================== */
.chat-section {
    background: linear-gradient(180deg, var(--navy-dark) 0%, rgba(12, 35, 64, 0.95) 100%);
}

.chat-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Gate (sign-up form) */
.chat-gate {
    text-align: center;
    padding: 48px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
}

.chat-gate__icon {
    color: var(--teal-bright);
    margin-bottom: 16px;
}

.chat-gate__title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 8px;
}

.chat-gate__desc {
    color: var(--silver-muted);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.chat-gate__form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 520px;
    margin: 0 auto;
}

.chat-gate__input {
    flex: 1;
    min-width: 160px;
    padding: 12px 16px;
    background: var(--navy-deep);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-gate__input::placeholder {
    color: var(--silver-muted);
}

.chat-gate__input:focus {
    border-color: var(--teal-bright);
}

.chat-gate__btn {
    padding: 12px 28px;
    font-size: 14px;
    white-space: nowrap;
}

.chat-gate__error {
    color: #E94F37;
    font-size: 13px;
    margin-top: 12px;
    min-height: 18px;
}

/* Chat Room */
.chat-room {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 540px;
}

.chat-room__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(0, 92, 92, 0.25), rgba(12, 35, 64, 0.7));
    border-bottom: 1px solid var(--card-border);
    flex-shrink: 0;
}

.chat-room__status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-room__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #44BBA4;
    box-shadow: 0 0 6px rgba(68, 187, 164, 0.6);
    animation: chatPulse 2s ease-in-out infinite;
}

@keyframes chatPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chat-room__label {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 1.5px;
    color: var(--white);
}

.chat-room__online {
    font-size: 12px;
    color: var(--silver-muted);
}

.chat-room__messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) var(--navy-deep);
}

.chat-room__messages::-webkit-scrollbar {
    width: 5px;
}

.chat-room__messages::-webkit-scrollbar-track {
    background: var(--navy-deep);
}

.chat-room__messages::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 3px;
}

.chat-room__welcome {
    text-align: center;
    padding: 16px;
    color: var(--silver-muted);
    font-size: 13px;
    font-style: italic;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 8px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 6px 0;
}

.chat-msg__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--white);
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.chat-msg__body {
    flex: 1;
    min-width: 0;
}

.chat-msg__header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}

.chat-msg__name {
    font-weight: 600;
    font-size: 13px;
    color: var(--teal-bright);
}

.chat-msg__time {
    font-size: 11px;
    color: var(--silver-muted);
}

.chat-msg__text {
    font-size: 14px;
    color: var(--silver);
    line-height: 1.45;
    word-break: break-word;
}

/* Input bar */
.chat-room__input-bar {
    display: flex;
    gap: 0;
    padding: 12px 16px;
    background: var(--navy-deep);
    border-top: 1px solid var(--card-border);
    flex-shrink: 0;
}

.chat-room__input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-room__input::placeholder {
    color: var(--silver-muted);
}

.chat-room__input:focus {
    border-color: var(--teal-bright);
}

.chat-room__send {
    padding: 10px 16px;
    background: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 0 6px 6px 0;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.chat-room__send:hover {
    background: var(--teal-bright);
}

.chat-room__send:active {
    transform: scale(0.95);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    html {
        scroll-padding-top: 100px;
    }
}

@media (max-width: 1100px) {
    .top-stories-grid.loaded {
        grid-template-columns: 1fr 2fr;
    }
    .ts-sidebar {
        display: none;
    }
}


/* ========================================
   AUTH SYSTEM — New styles added below existing CSS
   ======================================== */

/* --- CSS Variables (premium gold) --- */
:root {
    --gold: #D4A843;
    --gold-bright: #F0C45A;
    --gold-muted: rgba(212, 168, 67, 0.3);
}

/* ========================================
   NAV ACCOUNT AREA
   ======================================== */
.nav-account {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
}

.nav-account__logged-out,
.nav-account__logged-in {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link--signin {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    color: var(--silver-muted) !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 12px;
    transition: color var(--transition);
}

.nav-link--signin:hover {
    color: var(--white) !important;
}

.nav-link--premium-cta {
    background: linear-gradient(135deg, var(--gold), #B8902E) !important;
    color: var(--navy-dark) !important;
    font-weight: 700 !important;
}

.nav-link--premium-cta:hover {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold)) !important;
    box-shadow: 0 0 20px rgba(212, 168, 67, 0.4) !important;
    color: var(--navy-dark) !important;
}

/* Avatar circle in nav */
.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    user-select: none;
}

.nav-avatar:hover {
    border-color: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.nav-avatar:focus {
    outline: 2px solid var(--teal-bright);
    outline-offset: 2px;
}

.nav-avatar--premium {
    border-color: var(--gold-muted);
}

.nav-avatar--premium:hover {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 168, 67, 0.4);
}

.nav-avatar__initials {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.nav-avatar__star {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: var(--navy-dark);
    line-height: 1;
    box-shadow: 0 0 6px rgba(212, 168, 67, 0.6);
}

/* ========================================
   ACCOUNT DROPDOWN
   ======================================== */
.account-dropdown {
    position: absolute;
    top: 56px;
    right: 24px;
    width: 260px;
    background: rgba(8, 26, 46, 0.98);
    border: 1px solid rgba(0, 92, 92, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    animation: dropdownIn 0.18s ease;
    backdrop-filter: blur(12px);
}

@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.account-dropdown__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 92, 92, 0.2);
}

.account-dropdown__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.account-dropdown__info {
    flex: 1;
    min-width: 0;
}

.account-dropdown__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-dropdown__email {
    font-size: 11px;
    color: var(--silver-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.account-dropdown__tier {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.account-dropdown__tier.free {
    color: var(--silver-muted);
    border: 1px solid rgba(138, 154, 163, 0.3);
}

.account-dropdown__tier.premium {
    color: var(--gold);
    border: 1px solid var(--gold-muted);
    background: rgba(212, 168, 67, 0.08);
}

.account-dropdown__actions {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-dropdown__btn {
    width: 100%;
    padding: 10px 14px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.18s ease;
    border-radius: 2px;
}

.account-dropdown__btn--upgrade {
    color: var(--gold);
    border: 1px solid var(--gold-muted);
    background: rgba(212, 168, 67, 0.06);
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
}

.account-dropdown__btn--upgrade:hover {
    background: rgba(212, 168, 67, 0.15);
    border-color: var(--gold);
}

.account-dropdown__btn--manage {
    color: var(--teal-bright);
    border: 1px solid rgba(0, 135, 138, 0.3);
    background: rgba(0, 92, 92, 0.06);
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
}

.account-dropdown__btn--manage:hover {
    background: rgba(0, 92, 92, 0.2);
    border-color: var(--teal-bright);
}

.account-dropdown__btn--signout {
    color: var(--silver-muted);
}

.account-dropdown__btn--signout:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   AUTH MODAL
   ======================================== */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 12, 24, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlayIn 0.2s ease;
}

@keyframes overlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-modal {
    background: var(--navy);
    border: 1px solid rgba(0, 92, 92, 0.3);
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: 1px solid rgba(196, 206, 212, 0.15);
    color: var(--silver-muted);
    font-size: 20px;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

.auth-modal__close:hover {
    border-color: var(--teal);
    color: var(--teal-glow);
}

.auth-modal__header {
    padding: 28px 28px 0;
    text-align: center;
}

.auth-modal__logo {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--white);
}

.auth-modal__logo span {
    color: var(--teal-bright);
}

.auth-modal__tabs {
    display: flex;
    border-bottom: 1px solid rgba(0, 92, 92, 0.2);
    margin: 20px 0 0;
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--silver-muted);
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.auth-tab:hover {
    color: var(--white);
}

.auth-tab.active {
    color: var(--teal-bright);
    border-bottom-color: var(--teal-bright);
}

.auth-form {
    padding: 24px 28px 28px;
}

.auth-form__group {
    margin-bottom: 16px;
}

.auth-form__label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--silver-muted);
    margin-bottom: 6px;
}

.auth-form__input {
    width: 100%;
    background: rgba(6, 15, 26, 0.8);
    border: 1px solid rgba(0, 92, 92, 0.3);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 11px 14px;
    transition: border-color 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.auth-form__input:focus {
    border-color: var(--teal-bright);
    box-shadow: 0 0 0 2px rgba(0, 135, 138, 0.15);
}

.auth-form__input::placeholder {
    color: rgba(138, 154, 163, 0.4);
}

.auth-form__error {
    font-size: 13px;
    color: #FF6B6B;
    margin-bottom: 12px;
    min-height: 18px;
    line-height: 1.4;
}

.auth-form__submit {
    width: 100%;
    padding: 13px 20px;
    background: var(--teal);
    border: 2px solid var(--teal);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 4px;
}

.auth-form__submit:hover {
    background: var(--teal-bright);
    border-color: var(--teal-bright);
    box-shadow: var(--glow);
}

.auth-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-form__footer {
    text-align: center;
    margin-top: 14px;
}

.auth-form__link {
    font-size: 12px;
    color: var(--silver-muted);
    transition: color 0.2s ease;
}

.auth-form__link:hover {
    color: var(--teal-bright);
}

.auth-form__fine {
    font-size: 12px;
    color: var(--silver-muted);
}

/* ========================================
   PREMIUM ARTICLE BADGES & GATING
   ======================================== */
.article-card--premium {
    position: relative;
}

.article-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-muted);
    background: rgba(212, 168, 67, 0.1);
    padding: 3px 8px;
    margin-bottom: 8px;
}

.article-premium-badge::before {
    content: '★';
    font-size: 9px;
}

/* Teaser overlay on locked articles */
.article-teaser-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(6, 15, 26, 0.7) 40%,
        rgba(6, 15, 26, 0.97) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 24px;
    z-index: 2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-teaser-overlay:hover {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(6, 15, 26, 0.75) 40%,
        rgba(6, 15, 26, 0.98) 100%
    );
}

.article-teaser-content {
    width: 100%;
}

.article-teaser-content__lock {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--gold);
}

.article-teaser-content__title {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--silver);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-teaser-content__btn {
    display: inline-block;
    padding: 7px 16px;
    background: var(--gold);
    color: var(--navy-dark);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.article-teaser-content__btn:hover {
    background: var(--gold-bright);
    transform: translateY(-1px);
}

/* ========================================
   PRICING CARDS (Substack-style redesign)
   ======================================== */

.pricing-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin: 40px auto 32px;
    max-width: 720px;
    flex-wrap: wrap;
}

/* --- Base card --- */
.pricing-card {
    flex: 1;
    min-width: 270px;
    max-width: 340px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 32px 28px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* --- Monthly card --- */
.pricing-card--monthly {
    border: 1.5px solid var(--teal);
}

.pricing-card--monthly:hover {
    transform: translateY(-4px);
    border-color: var(--teal-bright);
    box-shadow: 0 8px 28px rgba(0, 135, 138, 0.18);
}

/* --- Annual card (featured) --- */
.pricing-card--annual {
    border: 2px solid var(--gold);
    background: linear-gradient(160deg, rgba(18, 42, 68, 0.98) 0%, rgba(10, 26, 46, 0.98) 100%);
}

.pricing-card--annual:hover {
    transform: translateY(-4px);
    border-color: var(--gold-bright);
    box-shadow: 0 10px 36px rgba(212, 168, 67, 0.2);
}

/* BEST VALUE badge */
.pricing-card__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy-dark);
    background: var(--gold);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    align-self: flex-start;
}

/* Plan name */
.pricing-card__name {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--silver-muted);
    margin-bottom: 12px;
}

.pricing-card--annual .pricing-card__name {
    color: var(--gold);
}

/* Price block */
.pricing-card__price-block {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
}

.pricing-card__dollar {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--silver-muted);
    align-self: flex-start;
    margin-top: 6px;
}

.pricing-card--annual .pricing-card__dollar {
    color: var(--gold-muted);
}

.pricing-card__amount {
    font-family: var(--font-display);
    font-size: 60px;
    color: var(--white);
    line-height: 1;
    letter-spacing: 1px;
}

.pricing-card--annual .pricing-card__amount {
    color: var(--gold-bright);
}

.pricing-card__period {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--silver-muted);
    margin-left: 3px;
    margin-bottom: 4px;
}

/* Sub-price line under annual */
.pricing-card__sub-price {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--gold-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Feature list — CSS checkmarks via ::before */
.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-card__features li {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--silver);
    line-height: 1.45;
    padding-left: 22px;
    position: relative;
}

.pricing-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    width: 15px;
    height: 15px;
    font-size: 9px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    color: var(--teal-bright);
    background: rgba(0, 135, 138, 0.15);
    border: 1px solid rgba(0, 135, 138, 0.3);
    border-radius: 50%;
}

.pricing-card--annual .pricing-card__features li::before {
    color: var(--gold);
    background: rgba(212, 168, 67, 0.1);
    border-color: rgba(212, 168, 67, 0.3);
}

/* Savings highlight item */
.pricing-card__feature--savings {
    color: var(--gold-muted) !important;
    font-weight: 600;
}

.pricing-card__feature--savings::before {
    content: '★' !important;
    font-size: 8px !important;
    color: var(--gold) !important;
    background: rgba(212, 168, 67, 0.12) !important;
    border-color: rgba(212, 168, 67, 0.35) !important;
}

/* Buttons */
.pricing-card__btn {
    display: block;
    width: 100%;
    padding: 13px 24px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: auto;
}

.pricing-card__btn--teal {
    background: var(--teal);
    color: var(--white);
}

.pricing-card__btn--teal:hover {
    background: var(--teal-bright);
    box-shadow: 0 4px 18px rgba(0, 135, 138, 0.4);
    transform: translateY(-1px);
}

.pricing-card__btn--gold {
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 800;
}

.pricing-card__btn--gold:hover {
    background: var(--gold-bright);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.45);
    transform: translateY(-1px);
}

/* Trust line below cards */
.pricing-trust {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--silver-muted);
    text-align: center;
    margin-top: 8px;
    opacity: 0.7;
}


/* ========================================
   PREMIUM MEMBER SUBSCRIBE VIEW
   ======================================== */
.subscribe-premium-view {
    text-align: center;
}

.premium-member-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-muted);
    background: rgba(212, 168, 67, 0.08);
    padding: 6px 20px;
    margin-bottom: 20px;
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.ptp-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(8, 26, 46, 0.96);
    border: 1px solid var(--teal);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    z-index: 30000;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s ease;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(8px);
}

.ptp-toast.ptp-toast--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ptp-toast.ptp-toast--success {
    border-color: var(--teal-bright);
}

.ptp-toast.ptp-toast--gold {
    border-color: var(--gold);
    color: var(--gold-bright);
}

.ptp-toast.ptp-toast--error {
    border-color: #FF6B6B;
}

/* ========================================
   MOBILE AUTH & ACCOUNT
   ======================================== */
@media (max-width: 900px) {
    .account-dropdown {
        right: 16px;
        width: 240px;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }
}
