/* ═══════════════════════════════════════════
   籃泥 Laney — CSS v1.0
   Editorial Dark & Hot Orange Basketball Theme
   ═══════════════════════════════════════════ */

:root {
  /* Colors - Deep Indigo Night-Court Theme */
  --bg: #0b0f19;
  --bg2: #111827;
  --surface: #1b253b;
  --border: #2e3c5a;
  --accent: #FFB300; /* Basketball Championship Gold */
  --accent-rgb: 255, 179, 0;
  --accent-glow: rgba(255, 179, 0, 0.2);
  --accent2: #00E5FF; /* Electric Cyan */
  --accent2-rgb: 0, 229, 255;
  --accent3: #00E676; /* Live Green */
  --text: #ffffff;
  --text2: #e2e8f0;
  --text3: #94a3b8;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --radius: 12px;
  --radius-sm: 8px;
  --container-width: 1200px;
}

/* ═══════════ BASE & GLOBAL ═══════════ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; padding-top: 100px; }
li { list-style: none; }
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }

/* ═══════════ LAYOUT UTILS ═══════════ */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; width: 100%; }
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg2); }

.section-header { margin-bottom: 60px; max-width: 600px; }
.section-kicker { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--accent); letter-spacing: 2px; font-weight: 700; display: block; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text2); line-height: 1.5; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 14px; transition: all .3s cubic-bezier(0.25, 0.46, 0.45, 0.94); border: 1px solid transparent; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 15px var(--accent-glow); }
.btn-accent:hover { background: #ff7043; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4); }
.btn-outline { border-color: var(--border); color: var(--text); background: rgba(255,255,255,.02); }
.btn-outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); transform: translateY(-2px); }

/* ═══════════ TICKER ═══════════ */
.ticker { background: #000; border-bottom: 1px solid var(--border); height: 36px; display: flex; align-items: center; overflow: hidden; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; }
.ticker-track { display: flex; white-space: nowrap; animation: ticker-scroll 35s linear infinite; padding-left: 100%; }
.ticker-item { padding: 0 24px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.ticker-sep { color: var(--accent); font-weight: bold; }
.ticker-live { color: var(--accent3); font-weight: bold; display: inline-flex; align-items: center; gap: 6px; }
.ticker-live::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--accent3); border-radius: 50%; animation: pulse 1s infinite alternate; }

@keyframes ticker-scroll { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }
@keyframes pulse { 0% { opacity: 0.3; } 100% { opacity: 1; } }

/* ═══════════ NAV ═══════════ */
.nav { background: rgba(10,10,12,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: 64px; position: fixed; top: 36px; left: 0; width: 100%; z-index: 999; display: flex; align-items: center; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { height: 28px; width: auto; object-fit: contain; }
.nav-name { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.nav-name em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); margin-left: 2px; }

.nav-links { display: flex; gap: 8px; }
.nav-link { font-size: 13px; font-weight: 500; color: var(--text2); padding: 8px 16px; border-radius: 20px; transition: all .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: inline-flex; align-items: center; font-size: 11px; font-family: var(--font-mono); color: var(--text3); border: 1px solid var(--border); border-radius: 30px; padding: 6px 12px; }
.lang-opt { transition: color .2s; }
.lang-opt[data-active="true"] { color: var(--text); font-weight: bold; }
.lang-sep { margin: 0 4px; }

.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 20px; height: 14px; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ═══════════ MOBILE DRAWER ═══════════ */
.drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.6); z-index: 1001; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(4px); }
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; width: 280px; height: 100%; background: var(--bg); border-left: 1px solid var(--border); z-index: 1002; transform: translate3d(100%, 0, 0); transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.94); padding: 24px; display: flex; flex-direction: column; }
.drawer.is-open { transform: translate3d(0, 0, 0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.drawer-close { font-size: 20px; color: var(--text2); }
.drawer-links { display: flex; flex-direction: column; gap: 12px; }
.drawer-link { font-size: 15px; font-weight: 500; color: var(--text2); padding: 12px 16px; border-radius: var(--radius-sm); transition: all .2s; }
.drawer-link:hover { color: var(--text); background: var(--surface); }
.drawer-divider { height: 1px; background: var(--border); margin: 16px 0; }

/* ═══════════ HERO SECTION ═══════════ */
.hero { min-height: calc(100vh - 100px); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 80px 0; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.1s ease-out; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(10,10,12,0.4) 0%, rgba(10,10,12,0.95) 80%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 24px; display: flex; flex-direction: column; align-items: center; }

.hero-kicker { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--accent); letter-spacing: 3px; font-weight: 700; margin-bottom: 24px; display: inline-flex; align-items: center; gap: 8px; }
.hero-title { font-size: clamp(38px, 7vw, 76px); font-weight: 900; letter-spacing: -2px; line-height: 1.05; margin-bottom: 24px; }
.hero-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--text); text-transform: none; letter-spacing: -1px; }
.hero-bold { color: var(--text); }
.hero-sub { font-size: 18px; color: var(--text2); display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.hero-flags { font-size: 20px; }

/* Countdown */
.countdown { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }
.cd-block { display: flex; flex-direction: column; align-items: center; min-width: 70px; }
.cd-num { font-family: var(--font-mono); font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--text); }
.cd-label { font-size: 10px; text-transform: uppercase; color: var(--text3); font-weight: 600; letter-spacing: 1px; margin-top: 4px; }
.cd-colon { font-family: var(--font-mono); font-size: 24px; color: var(--text3); padding-bottom: 16px; }

.hero-cta { display: flex; gap: 16px; margin-bottom: 60px; }

/* Hero Stats */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid rgba(255,255,255,.05); padding-top: 40px; width: 100%; max-width: 680px; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-mono); font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.stat-label { font-size: 11px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.hero-scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--accent) 0%, transparent 100%); animation: scroll-bounce 1.5s infinite; }

@keyframes scroll-bounce { 0% { transform: translateY(0); height: 0; opacity: 0; } 50% { transform: translateY(0); height: 40px; opacity: 1; } 100% { transform: translateY(15px); height: 0; opacity: 0; } }

/* ═══════════ LIVE GRID & SCOREBOARD ═══════════ */
.live-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }

/* Player Box */
.player-col { display: flex; flex-direction: column; }
.player-tabs { display: flex; gap: 6px; background: rgba(0,0,0,.3); padding: 4px; border-radius: 30px; border: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; white-space: nowrap; }
.player-tab { font-size: 12px; font-weight: 600; color: var(--text2); padding: 8px 18px; border-radius: 20px; transition: all .2s; }
.player-tab:hover { color: var(--text); }
.player-tab.active { background: var(--accent); color: #fff; }
.player-tab-commentary { margin-left: auto; }

.player-wrapper { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: 0 12px 36px rgba(0,0,0,.3); }
.player-placeholder { width: 100%; aspect-ratio: auto; height: 480px; position: relative; display: flex; flex-direction: column; }
.player-idle { position: absolute; top:0; left:0; width:100%; height:100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; z-index: 1; }
.player-idle-icon { font-size: 40px; margin-bottom: 16px; animation: bounce 1s infinite alternate; }
.player-idle p { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.player-idle-sub { font-size: 12px; color: var(--text3); }

.player-iframe { width: 100%; height: 100%; border: none; position: absolute; top:0; left:0; }

.player-apps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.player-apps-label { font-size: 12px; color: var(--text3); font-weight: 600; margin-right: 8px; }
.app-chip { font-size: 11px; font-weight: 600; background: var(--bg2); border: 1px solid var(--border); color: var(--text2); padding: 6px 14px; border-radius: 20px; transition: all .2s; }
.app-chip:hover { border-color: var(--text3); color: var(--text); }

/* Text Commentary Box */
.text-commentary-box { width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--bg2); z-index: 2; position: absolute; top:0; left:0; }
.commentary-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.commentary-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.commentary-title::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; animation: pulse 1s infinite alternate; }
.commentary-btn { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }

.commentary-timeline { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.commentary-item { display: flex; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.02); padding-bottom: 12px; }
.commentary-time { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); min-width: 50px; }
.commentary-body { font-size: 13px; color: var(--text2); line-height: 1.5; }
.commentary-body strong { color: var(--text); }
.commentary-goal { background: rgba(255, 87, 34, 0.04); border-left: 3px solid var(--accent); padding-left: 12px; }

/* Scoreboard Panel */
.scores-col { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; height: 100%; min-height: 400px; }
.scores-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.scores-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.live-dot { width: 8px; height: 8px; background: var(--accent3); border-radius: 50%; display: inline-block; animation: pulse 1s infinite alternate; }

.scores-refresh { font-size: 11px; font-weight: 600; color: var(--accent); background: rgba(255, 87, 34, 0.1); padding: 6px 12px; border-radius: 20px; transition: background .2s; }
.scores-refresh:hover { background: rgba(255, 87, 34, 0.18); }

.scores-list { flex: 1; overflow-y: auto; max-height: 480px; }
.scores-loading { padding: 40px; text-align: center; color: var(--text3); font-size: 13px; font-family: var(--font-mono); }
.scores-empty { padding: 48px 24px; text-align: center; color: var(--text3); display: flex; flex-direction: column; align-items: center; }
.scores-empty-icon { font-size: 40px; margin-bottom: 16px; }

/* World Cup Countdown Scoreboard fallback style */
.scores-empty-wc { background: radial-gradient(circle at top, rgba(255, 87, 34, 0.05) 0%, transparent 80%); }
.scores-empty-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.scores-empty-countdown { display: flex; align-items: baseline; gap: 6px; color: var(--accent); margin-bottom: 16px; }
.scores-cd-num { font-family: var(--font-mono); font-size: 38px; font-weight: 700; }
.scores-next-match { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; width: 100%; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.scores-next-label { font-size: 10px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 2px; }
.scores-next-teams { font-size: 14px; font-weight: 600; color: var(--text); }
.scores-next-time { font-size: 12px; color: var(--text3); }
.scores-tz-note { font-size: 10px; color: var(--text3); margin-top: 10px; }

/* Dynamic Score Card */
.score-item { padding: 20px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; transition: background .2s; position: relative; }
.score-item:hover { background: rgba(255,255,255,.01); }
.score-status { font-family: var(--font-mono); font-size: 11px; font-weight: 700; border-radius: 4px; padding: 2px 6px; display: inline-block; width: fit-content; }
.score-status-upcoming { background: rgba(255,255,255,.05); color: var(--text2); }
.score-status-live { background: rgba(0, 230, 118, 0.1); color: var(--accent3); animation: pulse-border 1.5s infinite alternate; }
.score-status-ft { background: rgba(255,255,255,.02); color: var(--text3); }

.score-teams { display: flex; flex-direction: column; gap: 8px; }
.score-team { display: flex; justify-content: space-between; align-items: center; }
.score-team-name { font-size: 15px; font-weight: 600; color: var(--text); }
.score-team-score { font-family: var(--font-mono); font-size: 18px; font-weight: 700; color: var(--text2); }
.score-team-score.is-winner { color: var(--accent); }

.score-venue { font-size: 11px; color: var(--text3); }

/* LIVE ODDS (讓分 & 大小分) */
.score-odds-row { display: flex; gap: 8px; border-top: 1px dashed var(--border); padding-top: 10px; margin-top: 4px; font-size: 11px; font-family: var(--font-mono); }
.score-odds-badge { display: flex; align-items: center; gap: 4px; background: rgba(255, 215, 0, 0.06); border: 1px solid rgba(255, 215, 0, 0.15); color: var(--accent2); padding: 3px 8px; border-radius: 4px; }
.score-odds-badge.ou { background: rgba(255,255,255,.03); border: 1px solid var(--border); color: var(--text2); }
.odds-label { font-size: 9px; color: var(--text3); font-weight: bold; }

/* Favorite team indicators */
.score-fav { border-left: 3px solid var(--accent); }
.fav-star { font-size: 15px; color: var(--text3); margin-left: 6px; }
.fav-star.is-fav { color: var(--accent2); text-shadow: 0 0 4px rgba(255,215,0,0.4); }

.score-cal-btn { position: absolute; right: 20px; top: 20px; font-size: 14px; background: none; opacity: 0.4; transition: opacity .2s; }
.score-cal-btn:hover { opacity: 1; }

.scores-footer { padding: 16px 20px; border-top: 1px solid var(--border); background: rgba(0,0,0,.15); display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text3); }

@keyframes pulse-border { 0% { box-shadow: 0 0 0 rgba(0, 230, 118, 0); } 100% { box-shadow: 0 0 8px rgba(0, 230, 118, 0.4); } }
@keyframes bounce { 0% { transform: translateY(0); } 100% { transform: translateY(-8px); } }

/* ═══════════ TIMELINE SCHEDULE ═══════════ */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.timeline-line { position: absolute; left: 120px; top: 0; bottom: 0; width: 1px; background: var(--border); }

.tl-item { display: flex; gap: 48px; margin-bottom: 60px; position: relative; }
.tl-date { width: 90px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; position: relative; z-index: 2; padding-top: 16px; }
.tl-day { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--text); }
.tl-badge { font-family: var(--font-mono); font-size: 8px; font-weight: 700; color: #fff; padding: 2px 6px; border-radius: 4px; margin-top: 6px; letter-spacing: 0.5px; }
.tl-badge-nba { background: var(--accent); }
.tl-badge-plg { background: #00E676; }
.tl-badge-final { background: var(--accent2); color: #000; }

.tl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; flex: 1; transition: transform .3s; position: relative; }
.tl-card::before { content: ''; width: 9px; height: 9px; background: var(--bg); border: 2px solid var(--accent); border-radius: 50%; position: absolute; left: -23px; top: 22px; z-index: 2; }
.tl-card:hover { transform: translateX(5px); border-color: var(--text3); }

.tl-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.tl-venue { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.tl-time-local { font-family: var(--font-mono); font-size: 12px; color: var(--text2); margin-bottom: 12px; }
.tl-meta { font-size: 12px; color: var(--text2); margin-bottom: 12px; font-family: var(--font-mono); }
.tl-desc { font-size: 13px; color: var(--text2); line-height: 1.5; }

.tl-card-final { border-color: var(--accent2); background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.02) 0%, transparent 60%); }
.tl-card-final::before { border-color: var(--accent2); background: var(--accent2); }

/* ═══════════ WATCH SECTION ═══════════ */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 40px; overflow-x: auto; white-space: nowrap; padding-bottom: 8px; }
.filter-tab { font-size: 12px; font-weight: 600; color: var(--text2); border: 1px solid var(--border); padding: 10px 20px; border-radius: 30px; transition: all .2s; }
.filter-tab:hover { border-color: var(--text3); color: var(--text); }
.filter-tab.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.broadcast-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.bc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 20px; transition: transform .3s, border-color .3s; }
.bc-card:hover { transform: translateY(-4px); border-color: var(--text3); }
.bc-card.is-hidden { display: none !important; }

.bc-head { display: flex; align-items: center; gap: 14px; }
.bc-flag { font-size: 32px; }
.bc-country { font-size: 16px; font-weight: 700; }
.bc-lang-tag { font-family: var(--font-mono); font-size: 9px; color: var(--text3); text-transform: uppercase; font-weight: 700; border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; display: inline-block; margin-top: 4px; }

.bc-list { display: flex; flex-direction: column; gap: 12px; }
.bc-list li { font-size: 13px; color: var(--text2); display: flex; justify-content: space-between; align-items: center; line-height: 1.5; }
.bc-list a { font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.bc-list a:hover { color: var(--accent); }

.bc-badge { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }
.bc-free { background: rgba(0, 230, 118, 0.1); color: var(--accent3); }
.bc-paid { background: rgba(255, 87, 34, 0.1); color: var(--accent); }

/* ═══════════ STANDINGS CARD ═══════════ */
.standings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.standings-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.standings-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.std-icon { font-size: 24px; }
.standings-header h3 { font-size: 15px; font-weight: 700; }

.standings-table { width: 100%; border-collapse: collapse; text-align: left; }
.standings-table th { font-size: 11px; color: var(--text3); font-weight: bold; text-transform: uppercase; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.standings-table td { font-size: 13px; padding: 12px; border-bottom: 1px solid rgba(255,255,255,.01); }
.standings-table tr:last-child td { border-bottom: none; }
.standings-table tr.std-highlight td { font-weight: 600; color: var(--accent); }

/* ═══════════ PLAYER INSTRUCTION CARD ═══════════ */
.player-instruction-box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 460px; margin: 0 auto; padding: 20px; z-index: 2; }
.player-instruction-title { font-size: 18px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.player-instruction-desc { font-size: 13px; color: var(--text2); margin-bottom: 20px; line-height: 1.6; }
.player-instruction-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-bottom: 12px; }


/* ═══════════ HIGHLIGHTS ═══════════ */
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.hl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.hl-card:hover { transform: translateY(-4px); border-color: var(--text3); }

.hl-video { position: relative; padding-top: 56.25%; background: #000; overflow: hidden; }
.hl-video-thumb { position: absolute; top:0; left:0; width:100%; height:100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.hl-video:hover .hl-video-thumb { transform: scale(1.06); }

.play-btn-circle { width: 56px; height: 56px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 2; }
.play-icon { color: #fff; font-size: 16px; margin-left: 3px; }
.hl-video:hover .play-btn-circle { transform: scale(1.12); background: #fff; box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5); }
.hl-video:hover .play-icon { color: var(--accent); }

.hl-info { padding: 18px; }
.hl-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hl-source { font-size: 11px; color: var(--text3); font-family: var(--font-mono); }

/* ═══════════ VOTE ═══════════ */
.vote-wrapper { max-width: 600px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }

/* ═══════════ TOAST NOTIFICATION ═══════════ */
.tiny-toast { position: fixed; bottom: 32px; left: 50%; transform: translate3d(-50%, 20px, 0); opacity: 0; pointer-events: none; background: #fff; color: #000; font-size: 12px; font-weight: 700; font-family: var(--font-mono); padding: 12px 24px; border-radius: 30px; z-index: 10000; box-shadow: 0 10px 25px rgba(0,0,0,.3); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.tiny-toast.show { transform: translate3d(-50%, 0, 0); opacity: 1; pointer-events: auto; }

/* Favorites Banner */
.fav-banner { background: #000; border-bottom: 1px solid var(--border); padding: 12px 0; }
.fav-team-chip { font-size: 11px; font-weight: 600; color: #fff; background: var(--surface); border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; border-left: 2px solid var(--accent); }

/* ═══════════ FOOTER ═══════════ */
.footer { background: #000; border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 32px; width: auto; object-fit: contain; align-self: flex-start; }
.footer-tagline { font-size: 14px; color: var(--text2); }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text3); letter-spacing: 1px; margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: var(--text2); }
.footer-links a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 32px; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-bottom p { font-size: 11px; color: var(--text3); line-height: 1.6; max-width: 600px; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
  .live-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: stretch; gap: 20px; }
  .footer-bottom .developer-info { text-align: left !important; }
}

@media (max-width: 768px) {
  body { padding-top: 80px; }
  .nav { height: 54px; top: 36px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 280px; }
  .hero-cta .btn { width: 100%; }
  .timeline-line { left: 24px; }
  .tl-item { gap: 16px; flex-direction: column; }
  .tl-date { width: auto; align-items: flex-start; padding-left: 48px; padding-top: 0; }
  .tl-card::before { left: -31px; top: -14px; }
  .tl-day { font-size: 16px; }
}

/* ═══════════ MATCHUP ANALYSIS ═══════════ */
.matchup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.matchup-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.matchup-card-header { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 24px; }
.matchup-card-header h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }

/* Player H2H PK */
.player-h2h { display: flex; align-items: stretch; justify-content: space-between; margin-bottom: 32px; background: rgba(0,0,0,0.3); border-radius: var(--radius-sm); border: 1px solid var(--border); overflow: hidden; padding: 0 !important; }
.h2h-player { display: flex; align-items: center; gap: 16px; width: 45%; padding: 20px; transition: background .3s; }
.player-left { flex-direction: row; justify-content: flex-start; }
.player-right { flex-direction: row-reverse; text-align: right; justify-content: flex-start; }

.team-nyk-bg { background: linear-gradient(135deg, rgba(0, 107, 182, 0.25) 0%, rgba(245, 132, 38, 0.1) 100%) !important; border-left: 4px solid #006BB6 !important; }
.team-sas-bg { background: linear-gradient(135deg, rgba(196, 206, 212, 0.1) 0%, rgba(30, 30, 30, 0.6) 100%) !important; border-right: 4px solid #C4CED4 !important; }

.h2h-logo { width: 44px; height: 44px; object-fit: contain; }
.h2h-player-info { display: flex; flex-direction: column; }
.h2h-player-name { font-size: 16px; font-weight: 700; color: var(--text); }
.h2h-player-team { font-size: 12px; color: var(--text3); margin-top: 2px; }
.h2h-vs { font-family: var(--font-serif); font-style: italic; font-size: 24px; color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; width: 10%; background: rgba(0, 0, 0, 0.4); }

/* H2H Stats Table */
.h2h-stats-table { display: flex; flex-direction: column; gap: 16px; }
.h2h-stat-row { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.02); }
.h2h-stat-row:last-child { border-bottom: none; }
.h2h-val { font-family: var(--font-mono); font-size: 15px; font-weight: 700; width: 60px; }
.val-left { color: #F58426; }
.val-right { color: #C4CED4; text-align: right; }
.h2h-label { font-size: 13px; color: var(--text2); text-align: center; flex: 1; }

/* Team Comparison Bars */
.team-comparison { display: flex; flex-direction: column; gap: 24px; }
.team-stat-bar-group { display: flex; flex-direction: column; gap: 8px; }
.bar-label-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.bar-team-val { font-family: var(--font-mono); font-weight: 700; width: 100px; }
.bar-team-val.nyk { color: #F58426; }
.bar-team-val.sas { color: #C4CED4; text-align: right; }
.bar-name { color: var(--text2); text-align: center; flex: 1; font-weight: 600; }

.bar-track { height: 8px; background: var(--bg); border-radius: 4px; display: flex; overflow: hidden; border: 1px solid var(--border); }
.bar-fill { height: 100%; }
.bar-left { background: #006BB6; margin-right: auto; border-radius: 4px 0 0 4px; }
.bar-right { background: #C4CED4; margin-left: auto; border-radius: 0 4px 4px 0; }

/* Standings Table Logos & Cell Layout */
.std-team-logo { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; margin-right: 8px; display: inline-block; }
.standings-table td { white-space: nowrap; }

/* Predictions styling */
.predictions-header { margin-top: 60px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.predictions-header h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.predictions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.pred-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s, border-color .3s; }
.pred-card:hover { transform: translateY(-4px); border-color: var(--text3); }

.pred-user { display: flex; align-items: center; gap: 12px; }
.pred-avatar { font-size: 24px; background: var(--bg2); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.pred-user-info { display: flex; flex-direction: column; }
.pred-user-name { font-size: 14px; font-weight: 700; color: var(--text); }
.pred-user-title { font-size: 11px; color: var(--text3); margin-top: 2px; }
.pred-quote { font-size: 13px; color: var(--text2); line-height: 1.6; font-style: italic; flex: 1; }

.pred-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 4px; text-align: center; }
.pred-badge.nyk { background: rgba(255, 87, 34, 0.08); color: #FF5722; border: 1px solid rgba(255, 87, 34, 0.25); }
.pred-badge.sas { background: rgba(255, 255, 255, 0.05); color: var(--text2); border: 1px solid rgba(255, 255, 255, 0.1); }
.pred-badge.espn { background: rgba(255, 215, 0, 0.08); color: var(--accent2); border: 1px solid rgba(255, 215, 0, 0.25); }

/* News Grid & Cards */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s, border-color .3s; }
.news-card:hover { transform: translateY(-4px); border-color: var(--text3); }
.news-source { font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.news-card h4 { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--text); }
.news-card p { font-size: 12px; color: var(--text2); line-height: 1.6; flex: 1; }
.news-link-btn { font-size: 11px; font-weight: 600; color: var(--accent2); text-decoration: underline; text-underline-offset: 4px; display: inline-block; align-self: flex-start; transition: color .2s; }
.news-link-btn:hover { color: var(--accent); }

/* Outbound Hubs */
.outbound-hubs { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: rgba(0,0,0,0.2); padding: 16px 24px; border-radius: var(--radius); border: 1px solid var(--border); margin-top: 36px; }
.hubs-label { font-size: 13px; font-weight: 600; color: var(--text2); }
.hub-link-chip { font-size: 12px; font-weight: 600; background: var(--bg2); border: 1px solid var(--border); color: var(--text); padding: 8px 16px; border-radius: 20px; transition: all .2s; }
.hub-link-chip:hover { border-color: var(--accent); color: var(--accent); }

/* Responsive styles for matchup analysis */
@media (max-width: 768px) {
  .matchup-grid { grid-template-columns: 1fr; gap: 20px; }
  .matchup-card { padding: 20px; }
  .player-h2h { padding: 12px; gap: 8px; }
  .h2h-avatar-text { width: 48px; height: 48px; font-size: 28px; }
  .h2h-player { width: 45%; }
  .h2h-player-name { font-size: 14px; }
  .h2h-vs { font-size: 18px; }
  .predictions-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .outbound-hubs { padding: 12px; flex-direction: column; align-items: stretch; gap: 8px; }
  .hubs-label { text-align: center; margin-bottom: 4px; }
  .hub-link-chip { text-align: center; }
}

/* ═══════════ CARD VISUAL POP & GRADIENTS ═══════════ */
.matchup-card, .pred-card, .news-card, .bc-card, .standings-card, .star-card, .tl-card, .lineup-col {
  background: linear-gradient(145deg, #1b253b 0%, #101624 100%) !important;
  border: 1px solid #2d3b56 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.matchup-card:hover, .pred-card:hover, .news-card:hover, .bc-card:hover, .standings-card:hover, .star-card:hover, .tl-card:hover, .lineup-col:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 12px 40px rgba(255, 179, 0, 0.15);
}

/* ═══════════ LINEUPS SECTION ═══════════ */
.lineups-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.lineup-col {
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.lineup-col:hover {
  transform: translateY(-2px);
}
.team-nyk-lineup {
  border-left: 4px solid #006BB6 !important;
}
.team-sas-lineup {
  border-left: 4px solid #c4ced4 !important;
}
.lineup-team-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.lineup-team-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.lineup-team-info {
  display: flex;
  flex-direction: column;
}
.lineup-team-info h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.lineup-team-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px;
}
.lineup-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.starters-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.starter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  transition: all 0.2s ease;
}
.starter-row:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  transform: translateX(4px);
}
.starter-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.starter-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.starter-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.starter-pos {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}
.starter-status {
  font-size: 10px;
  font-weight: 700;
  color: var(--text3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.starter-status.status-core {
  color: var(--accent);
  border-color: rgba(255, 179, 0, 0.25);
  background: rgba(255, 179, 0, 0.05);
}
.reserves-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reserve-chip {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 8px 12px;
  flex: 1 1 calc(50% - 8px);
  min-width: 130px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s;
}
.reserve-chip:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
}
.reserve-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
}
.reserve-pos {
  font-size: 10px;
  color: var(--text3);
}

@media (max-width: 768px) {
  .lineups-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lineup-col {
    padding: 20px;
  }
  .reserve-chip {
    flex: 1 1 100%;
  }
  /* RWD for sources bar: stack it or scroll it */
  .player-sources-bar {
    top: 6px;
    left: 6px;
    right: 6px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px;
  }
  .source-chip {
    padding: 4px 10px;
    font-size: 10px;
  }
}

/* ═══════════ PLAYER SOURCES SELECTOR ═══════════ */
.player-sources-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  z-index: 5;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.source-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.source-chip:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.source-chip.active {
  background: var(--accent);
  color: #0b0f19;
}

/* ═══════════ CUSTOM SOURCE PANEL ═══════════ */
.custom-source-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 15, 25, 0.9);
  z-index: 4;
  padding: 24px;
  box-sizing: border-box;
}
.custom-source-inner {
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.custom-source-inner h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.custom-source-inner p {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 20px;
}
.custom-source-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
}
.custom-source-input-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.custom-source-input-row input:focus {
  border-color: var(--accent);
}
.custom-source-examples {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
}
.custom-source-examples span {
  color: var(--text3);
}
.demo-link {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.demo-link:hover {
  border-color: var(--text3);
  color: var(--text);
}

/* ═══════════ SEARCH SOURCES BUTTON ═══════════ */
.btn-find-sources {
  background: var(--accent);
  color: #0b0f19;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--accent);
}
.btn-find-sources:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 179, 0, 0.4);
  border-color: #ffc107;
}

/* ═══════════ PREMIUM SOURCES MODAL ═══════════ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 11, 19, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.modal-card {
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(145deg, #1b253b 0%, #101624 100%) !important;
  border: 1px solid #2d3b56 !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6) !important;
}
.modal-overlay.is-open .modal-card {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}
.modal-close:hover {
  background: var(--accent);
  color: #0b0f19;
  border-color: var(--accent);
  transform: rotate(90deg);
}
.modal-header {
  text-align: center;
  margin-bottom: 28px;
}
.modal-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
  animation: bounce 1.5s infinite alternate;
}
.modal-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.5;
}
.modal-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.modal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-section-title {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.dot-gold {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.dot-blue {
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent2);
}
.modal-section-desc {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.5;
}
.modal-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.modal-link-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modal-link-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 179, 0, 0.04);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(255, 179, 0, 0.15);
}
.official-btn:hover {
  background: rgba(0, 229, 255, 0.04);
  border-color: var(--accent2);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.15);
}
.btn-primary-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.25s;
}
.modal-link-btn:hover .btn-primary-text {
  color: var(--accent);
}
.official-btn:hover .btn-primary-text {
  color: var(--accent2);
}
.btn-sub-text {
  font-size: 10px;
  color: var(--text3);
  margin-top: 2px;
}
.modal-notice {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 11px;
  color: var(--text3);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .modal-card {
    padding: 24px 16px;
  }
  .modal-links-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .modal-link-btn {
    padding: 12px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .btn-sub-text {
    margin-top: 0;
    text-align: right;
  }
  .commentary-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
}

/* ═══════════ COMMENTARY EMPTY STATE ═══════════ */
.commentary-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  height: 100%;
  box-sizing: border-box;
}
.commentary-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: pulse-glow 2s infinite ease-in-out;
}
.commentary-empty-state h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.commentary-empty-state p {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 24px;
}
.commentary-tip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  max-width: 400px;
  font-size: 11px;
  color: var(--text2);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.tip-badge {
  background: var(--accent);
  color: #0b0f19;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}
