:root {
  color-scheme: dark;
  /* Primitive → semantic → compatibility/component tokens. */
  --neutral-950: #080f1a;
  --neutral-900: #0d1826;
  --neutral-850: #152437;
  --neutral-800: #1a2b40;
  --neutral-750: #20334a;
  --mint-500: #7be0b4;
  --mint-400: #4ccf98;
  --blue-400: #82b7f7;
  --amber-400: #f2bf68;
  --red-400: #f28a93;
  --orange-400: #d8a0f2;
  --white-100: #f2f5f7;
  --surface-canvas: var(--neutral-950);
  --surface-navigation: #0d1826;
  --surface-container-low: #111e2d;
  --surface-container: var(--neutral-850);
  --surface-container-high: var(--neutral-800);
  --surface-container-highest: var(--neutral-750);
  --surface-selected: #18352f;
  --surface-overlay: #091321;
  --text-primary: var(--white-100);
  --text-secondary: #b6c2ce;
  --text-muted: #8d9baa;
  --text-disabled: #617080;
  --text-on-brand: #071a13;
  --brand-primary: var(--mint-500);
  --brand-strong: var(--mint-400);
  --brand-container: #173a31;
  --status-live: #79e6b2;
  --status-success: #73d7a8;
  --status-warning: var(--amber-400);
  --status-info: var(--blue-400);
  --status-error: var(--red-400);
  --status-loss: var(--red-400);
  --status-draw: #b8a6e8;
  --status-finished: #a9b7c5;
  --status-postponed: var(--orange-400);
  --status-suspended: var(--amber-400);
  --chart-brand: var(--mint-500);
  --chart-comparison: var(--blue-400);
  --chart-highlight: var(--amber-400);
  --chart-negative: var(--red-400);
  --chart-neutral: #b8a6e8;
  --chart-pitch: #2e6b59;
  --border-subtle: #223449;
  --border-default: #30475e;
  --border-strong: #4a637d;
  --focus-primary: #9fc7ff;
  --category-news: #f4b860;
  --category-matches: #6ee7b7;
  --category-analysis: #8ab4ff;
  --category-ai: #00F0FF;
  --category-profile: #67d9f5;
  --surface-translucent: color-mix(in srgb, var(--surface-container) 76%, transparent);
  --surface-subtle: color-mix(in srgb, var(--text-primary) 4%, transparent);
  --surface-control: color-mix(in srgb, var(--surface-canvas) 72%, transparent);
  --brand-border-soft: color-mix(in srgb, var(--brand-primary) 25%, transparent);
  --brand-border-strong: color-mix(in srgb, var(--brand-primary) 45%, transparent);
  --brand-glow: color-mix(in srgb, var(--brand-primary) 18%, transparent);
  --info-border-soft: color-mix(in srgb, var(--status-info) 25%, transparent);
  --error-border-soft: color-mix(in srgb, var(--status-error) 35%, transparent);
  --error-surface-soft: color-mix(in srgb, var(--status-error) 12%, var(--surface-container));
  --surface-dark: color-mix(in srgb, var(--surface-canvas) 88%, black);
  --surface-dark-soft: color-mix(in srgb, var(--surface-canvas) 76%, transparent);
  --surface-white-soft: color-mix(in srgb, white 4%, transparent);
  --surface-warning-soft: color-mix(in srgb, var(--status-warning) 7%, transparent);
  --surface-info-soft: color-mix(in srgb, var(--status-info) 7%, transparent);
  --text-on-surface: color-mix(in srgb, var(--text-primary) 92%, transparent);
  --shadow-color: rgba(0, 0, 0, .22);
  --shadow-color-strong: rgba(0, 0, 0, .42);
  --brand-surface-strong: color-mix(in srgb, var(--brand-primary) 12%, var(--surface-container));
  --surface-nav-mobile: color-mix(in srgb, var(--surface-canvas) 94%, transparent);
  --surface-hover: color-mix(in srgb, var(--text-primary) 5%, transparent);
  --surface-hover-brand: color-mix(in srgb, var(--brand-primary) 8%, transparent);
  --surface-brand-soft: color-mix(in srgb, var(--brand-primary) 4%, transparent);
  --surface-brand-medium: color-mix(in srgb, var(--brand-primary) 10%, transparent);
  --surface-info-medium: color-mix(in srgb, var(--status-info) 6%, transparent);
  --surface-warning-medium: color-mix(in srgb, var(--status-warning) 6%, transparent);
  --surface-success-medium: color-mix(in srgb, var(--status-success) 6%, transparent);
  --surface-user-message: color-mix(in srgb, var(--brand-container) 72%, transparent);
  --border-brand: color-mix(in srgb, var(--brand-primary) 28%, transparent);
  --border-brand-strong: color-mix(in srgb, var(--brand-primary) 36%, transparent);
  --border-info: color-mix(in srgb, var(--status-info) 25%, transparent);
  --border-success: color-mix(in srgb, var(--status-success) 42%, transparent);
  --border-warning: color-mix(in srgb, var(--status-warning) 42%, transparent);
  --border-error: color-mix(in srgb, var(--status-error) 42%, transparent);
  --surface-error-soft: color-mix(in srgb, var(--status-error) 7%, transparent);
  --border-brand-subtle: color-mix(in srgb, var(--brand-primary) 12%, transparent);
  --border-text-subtle: color-mix(in srgb, var(--text-secondary) 12%, transparent);
  --status-info-glow: color-mix(in srgb, var(--status-info) 70%, transparent);
  --shadow-brand: color-mix(in srgb, var(--brand-primary) 12%, transparent);
  --shadow-brand-soft: color-mix(in srgb, var(--brand-primary) 9%, transparent);
  --shadow-soft: 0 16px 44px rgba(0, 0, 0, .22);
  --shadow-float: 0 24px 70px rgba(0, 0, 0, .3);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --content-max: 1240px;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --duration-fast: 140ms;
  --duration-standard: 220ms;
  --ease-standard: cubic-bezier(.2, .7, .2, 1);
  --z-navigation: 1000;
  --z-overlay: 1100;
  --z-modal: 1200;
  --type-display: clamp(2.25rem, 6vw, 4.25rem);
  --type-title: clamp(1.5rem, 3vw, 2.125rem);
  --type-body: 0.875rem;
  --type-meta: 0.6875rem;
  /* Existing names remain as compatibility aliases during the UI migration. */
  --color-bg: var(--surface-canvas);
  --color-surface: var(--surface-container);
  --color-surface-raised: var(--surface-container-high);
  --color-surface-high: var(--surface-container-highest);
  --color-border: var(--border-subtle);
  --color-text-muted: var(--text-muted);
  --color-text: var(--text-primary);
  --color-action: var(--brand-primary);
  --color-action-soft: var(--brand-container);
  --color-success: var(--status-success);
  --color-warning: var(--status-warning);
  --color-danger: var(--status-error);
  --color-info: var(--status-info);
  --bg: var(--surface-canvas);
  --surface: var(--surface-container);
  --surface-2: var(--surface-container-high);
  --surface-3: var(--surface-container-highest);
  --line: var(--border-subtle);
  --muted: var(--text-muted);
  --text: var(--text-primary);
  --accent: var(--brand-primary);
  --accent-soft: var(--brand-container);
  --danger: var(--status-error);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: radial-gradient(circle at 10% 0, var(--surface-container-high) 0, var(--color-bg) 34rem), var(--color-bg); color: var(--color-text); }
body::before { position: fixed; inset: 0; z-index: -1; pointer-events: none; content: ""; opacity: .2; background-image: linear-gradient(color-mix(in srgb, var(--brand-primary) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand-primary) 5%, transparent) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.profile-avatar-preview { display: block; width: 72px; height: 72px; margin-top: .65rem; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; background: var(--surface-3); }
a { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--focus-primary); outline-offset: 3px; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; opacity: .52; }
.topbar { position: sticky; top: 0; z-index: var(--z-navigation); display: flex; align-items: center; gap: 28px; min-height: 74px; padding: 14px clamp(20px, 5vw, 76px); border-bottom: 1px solid var(--border-default); background: var(--surface-navigation); backdrop-filter: blur(18px); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 17px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.logo span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--brand-border-strong); border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link, .mobile-nav button, .category { border: 0; background: transparent; color: var(--muted); }
.nav-link { padding: 9px 11px; border-radius: 8px; font-size: 12px; }
.nav-link:hover, .nav-link.active { background: var(--surface-selected); color: var(--text); }
.nav-link.active { box-shadow: inset 0 -2px var(--accent); font-weight: 800; }
.nav-link:focus-visible, .mobile-nav button:focus-visible, .category:focus-visible { outline-offset: 2px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--brand-border-soft); border-radius: 999px; background: var(--accent-soft); color: var(--brand-strong); font-size: 11px; white-space: nowrap; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.status-pill[data-status="offline"] { color: var(--danger); border-color: var(--error-border-soft); background: var(--error-surface-soft); }
.status-pill[data-status="offline"] i { background: var(--danger); box-shadow: 0 0 12px var(--danger); }
.page-shell { width: min(1240px, 100%); margin: 0 auto; padding: 38px clamp(20px, 5vw, 76px) 100px; }
.app-view[hidden] { display: none; }
.hero { display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: 28px; min-height: 300px; padding: clamp(26px, 5vw, 58px); border: 1px solid var(--border-default); border-radius: var(--radius-xl); background: linear-gradient(135deg, color-mix(in srgb, var(--surface-container-high) 86%, var(--brand-container)), var(--surface-container-low)); box-shadow: var(--shadow-soft); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0 0 16px; font-size: var(--type-display); line-height: .98; letter-spacing: -.06em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero > div:first-child > p:not(.eyebrow), .page-title > p:not(.eyebrow) { max-width: 640px; color: var(--muted); line-height: 1.65; }
.hero-ball { display: grid; width: 190px; height: 190px; place-items: center; justify-self: center; border: 1px solid var(--brand-border-soft); border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--brand-glow), var(--surface-dark-soft)); font-size: 76px; filter: drop-shadow(0 20px 30px var(--shadow-color)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.primary, .secondary { min-height: 44px; padding: 11px 15px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 800; transition: transform var(--duration-fast) var(--ease-standard), filter var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard); }
.primary { border: 1px solid var(--color-action); background: var(--color-action); color: var(--text-on-brand); }
.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.secondary { border: 1px solid var(--line); background: var(--surface-control); color: var(--text); }
.secondary:hover { border-color: var(--brand-border-strong); transform: translateY(-1px); }
.wide { width: 100%; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 42px 0 18px; }
.section-heading.spaced { margin-top: 48px; }
.section-heading h2, .page-title h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.filters { display: flex; gap: 8px; }
.filters select, .profile-grid select, .auth-card input { padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--surface); color: var(--text); font-size: 12px; }
.filters select:focus, .profile-grid select:focus, .auth-card input:focus { border-color: var(--accent); }
.personal-note, .feedback { min-height: 18px; margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.loading, .muted { color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-card, .data-panel, .panel-card, .news-card, .match-card, .chat-sidebar { border: 1px solid var(--line); border-radius: 16px; background: var(--surface-translucent); }
.metric-card { display: grid; gap: 7px; padding: 17px; }
.metric-card > span, .news-card > span { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.metric-card strong { font-size: 17px; }
.detail-list, .standing-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.detail-list li, .standing-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.detail-list li:last-child, .standing-row:last-child { border-bottom: 0; }
.detail-list strong, .standing-row span { color: var(--text); }
.detail-list span { color: var(--muted); text-align: right; }
.standing-row b { min-width: 38px; color: var(--accent); text-align: right; }
.split-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.metric-card small, .news-card small { color: var(--muted); font-size: 11px; }
.data-panel { margin-top: 12px; padding: 17px; }
.data-panel h3 { margin-bottom: 10px; font-size: 16px; }
.data-panel ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.data-panel li { display: flex; justify-content: space-between; gap: 12px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.data-panel li strong { color: var(--text); text-align: right; }
.empty-state { display: grid; gap: 7px; padding: 20px; border: 1px dashed var(--border-default); border-radius: 14px; background: var(--surface-subtle); color: var(--muted); line-height: 1.5; font-size: 12px; }
.empty-state strong { color: var(--text); }
.empty-state.full { grid-column: 1 / -1; min-height: 170px; place-content: center; text-align: center; }
.text-button { border: 0; background: transparent; color: var(--accent); font-size: 12px; font-weight: 800; }
.page-title { margin: 8px 0 30px; }
.page-title h1 { margin-bottom: 10px; }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.category { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; }
.category:hover, .category.active { border-color: var(--brand-border-strong); background: var(--accent-soft); color: var(--accent); }
.match-filter-tabs, .fixture-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.match-filter-tabs[hidden], .fixture-modes[hidden] { display: none; }
.fixture-analyst[hidden], #fixture-quick-summary[hidden] { display: none; }
.suggestion-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggestion-chip { padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 11px; }
.suggestion-chip:hover { border-color: var(--accent); color: var(--accent); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.news-card { display: flex; flex-direction: column; gap: 9px; padding: 18px; min-height: 190px; }
.news-card footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.news-card footer small { display: grid; gap: 3px; min-width: 0; color: var(--text-muted); font-size: 10px; }
.news-card footer small strong { overflow-wrap: anywhere; color: var(--text-secondary); }
.news-card footer a, .source-missing { flex: 0 0 auto; color: var(--text-muted); font-size: 10px; font-weight: 800; text-decoration: none; }
.news-card footer a:hover { color: var(--brand-strong); text-decoration: underline; }
.news-category { color: var(--text-muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news-read { display: inline-block; margin-top: 8px; color: var(--brand-strong); font-size: 11px; font-weight: 800; }
.news-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 17px;
  line-height: 1.25;
}
.news-card p { flex: 1; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.news-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.news-card a { color: var(--accent); font-size: 11px; font-weight: 800; text-decoration: none; }
.news-card a:hover { text-decoration: underline; }
.news-detail { margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.profile-tools { margin-top: 1rem; }
.profile-tools form { display: grid; gap: .75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.stat-value { color: var(--accent); font-size: 2.5rem; font-weight: 800; margin: .25rem 0; }
.explore-tabs { display: flex; gap: .5rem; margin: 1rem 0; }
.explore-tabs .active { border-color: var(--accent); color: var(--accent); }
.explore-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; align-items: end; }
.data-preview { overflow: auto; max-height: 28rem; padding: 1rem; border-radius: 1rem; background: var(--surface-white-soft); color: var(--text); white-space: pre-wrap; }
.explore-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; }
.explore-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .88rem; }
.explore-table th, .explore-table td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.explore-table th { color: var(--muted); font-weight: 600; background: var(--surface-subtle); }
.explore-table tbody tr:last-child td { border-bottom: 0; }
.explore-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .75rem; }
.metric-card { padding: .9rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface-subtle); }
.metric-card span { display: block; color: var(--muted); font-size: .78rem; margin-bottom: .35rem; }
.metric-card strong { color: var(--text); font-size: 1.1rem; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.panel-card { padding: 22px; }
.panel-card h2 { margin-bottom: 20px; font-size: 20px; }
.panel-card fieldset { display: grid; gap: 4px; margin: 0 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-dark-soft); }
.panel-card legend { padding: 0 7px; color: var(--text); font-size: 13px; font-weight: 800; }
.panel-card fieldset > .muted { margin: 0 0 5px; font-size: 11px; line-height: 1.5; }
.panel-card fieldset label { display: flex; min-height: 44px; align-items: center; gap: 10px; margin: 0; border-bottom: 1px solid var(--line); }
.panel-card fieldset label:last-of-type { border-bottom: 0; }
.panel-card fieldset input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.panel-card fieldset select { margin-left: auto; }
.feedback[data-state="success"] { color: var(--color-success); }
.feedback[data-state="error"] { color: var(--danger); }
.feedback[data-state="loading"] { color: var(--color-warning); }
.panel-card label:not(.pref-chip-checkbox):not(.toggle-switch-label):not(.checkbox-pill):not(.form-group label):not(.form-group > label) { display: grid; gap: 7px; margin: 16px 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.panel-card label[hidden] { display: none; }
.panel-card input:not([type="checkbox"]):not([type="radio"]), .history-search { width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--surface); color: var(--text); }
.panel-card input:focus, .history-search:focus { border-color: var(--accent); }
.follow-form { display: grid; gap: 9px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-dark-soft); }
.follow-form label { margin: 0; }
.follow-form input, .follow-form select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 12px; }
.follow-form .secondary { width: max-content; }
.follow-form .feedback { margin: 0; }
.timeline-chart { display: flex; align-items: end; gap: 12px; min-height: 180px; overflow-x: auto; padding: 18px 8px 0; border-bottom: 1px solid var(--line); }
.timeline-point { display: grid; flex: 0 0 90px; gap: 5px; min-height: 150px; align-content: end; text-align: center; }
.timeline-point strong { color: var(--text); font-size: 11px; }
.timeline-point small { min-height: 28px; color: var(--muted); font-size: 9px; }
.timeline-bars { display: flex; align-items: end; justify-content: center; gap: 5px; height: 100px; }
.timeline-bars i { display: block; width: 16px; min-height: 8px; border-radius: 4px 4px 0 0; }
.goal-bar, .goal-key { background: var(--accent); }
.assist-bar, .assist-key { background: var(--color-warning); }
.chart-legend { display: flex; gap: 14px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.tag { padding: 5px 8px; border: 1px solid var(--brand-border-soft); border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 10px; }
.follow-list { display: grid; gap: 8px; margin-top: 18px; }
.follow-chip { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px 8px 12px; border: 1px solid var(--brand-border-soft); border-radius: 10px; background: var(--accent-soft); color: var(--text-on-surface); font-size: 11px; text-align: left; }
.follow-chip strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.follow-chip small { padding: 3px 7px; border-radius: 999px; background: var(--surface-white-soft); color: var(--muted); }
.follow-chip button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-white-soft); color: var(--muted); line-height: 1; }
.notification-preferences fieldset { display: grid; gap: 10px; margin: 14px 0; padding: 14px; border: 1px solid var(--border); border-radius: 10px; }
.notification-preferences fieldset label { display: flex; align-items: center; gap: 9px; min-height: 32px; }
.notification-preferences input[type="checkbox"] { width: 20px; height: 20px; }
.notification-preferences .disabled-option { color: var(--text-disabled); }
.notification-preferences .disabled-option small { color: var(--text-muted); font-size: 10px; font-weight: 400; }
.follow-chip button:hover { background: color-mix(in srgb, var(--status-error) 20%, transparent); color: var(--danger); }
.match-center { display: grid; gap: 12px; }
.match-card { padding: 18px; }
.ai-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; min-height: calc(100vh - 180px); }
.chat-sidebar { align-self: start; padding: 20px; }
.chat-sidebar h2 { margin-bottom: 10px; font-size: 20px; }
.chat-sidebar > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.55; }
.chat-sidebar .primary { margin: 14px 0; }
.history-search { margin-bottom: 10px; font-size: 11px; }
.conversation-list { display: grid; gap: 6px; }
.conversation-item { display: grid; gap: 4px; width: 100%; padding: 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--text); text-align: left; }
.conversation-item:hover, .conversation-item.active { border-color: var(--brand-border-soft); background: var(--accent-soft); }
.conversation-item small { color: var(--muted); font-size: 10px; }
.chat-panel { display: flex; flex-direction: column; min-width: 0; min-height: 600px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-translucent); }
.chat-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chat-panel h2 { margin: 0; font-size: 21px; }
.messages { flex: 1; min-height: 280px; overflow-y: auto; padding: 25px 4px; }
.message { display: flex; gap: 10px; max-width: 760px; margin-bottom: 22px; }
.user-message { margin-left: auto; flex-direction: row-reverse; }
.avatar { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 800; }
.message > div:last-child { min-width: 0; }
.message b { display: block; margin: 3px 0 7px; color: var(--muted); font-size: 11px; }
.user-message > div:last-child { text-align: right; }
.message-bubble { padding: 13px 15px; border: 1px solid var(--line); border-radius: 4px 15px 15px; background: var(--surface-2); color: var(--text-on-surface); line-height: 1.65; overflow-wrap: anywhere; }
.user-message .message-bubble { border-color: var(--brand-border-soft); border-radius: 15px 4px 15px 15px; background: var(--brand-surface-strong); text-align: left; }
.message-bubble p { margin: 0 0 9px; font-size: 13px; }
.message-bubble p:last-child { margin-bottom: 0; }
.message-bubble h4 { margin: 0 0 8px; }
.typing { color: var(--accent); letter-spacing: 3px; }
.analysis-source { color: var(--muted); font-size: 10px; }
.error-message { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--error-border-soft); border-radius: 9px; background: var(--error-surface-soft); color: var(--danger); font-size: 12px; }
.error-message[hidden], .auth-overlay[hidden] { display: none; }
#retry-button { border: 1px solid var(--error-border-soft); border-radius: 7px; background: transparent; color: var(--danger); font-size: 11px; }
.composer { padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.composer textarea { display: block; width: 100%; max-height: 150px; min-height: 48px; padding: 5px 0; resize: vertical; border: 0; outline: 0; background: transparent; color: var(--text); line-height: 1.5; }
.composer textarea::placeholder { color: var(--text-muted); }
.composer > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.composer > div button[type="submit"] { flex: 0 0 auto; min-width: 88px; white-space: nowrap; }
.auth-overlay { position: fixed; inset: 0; z-index: var(--z-overlay); display: grid; place-items: center; padding: 20px; background: var(--surface-overlay); backdrop-filter: blur(8px); }
.auth-card { width: min(420px, 100%); padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 24px 80px var(--shadow-color-strong); }
.auth-card h2 { margin-bottom: 18px; }
.auth-card label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--muted); font-size: 12px; font-weight: 700; }
.mobile-nav { display: none; }
@media (max-width: 900px) { .topbar { gap: 14px; padding-inline: 20px; } .desktop-nav { overflow-x: auto; } .nav-link { white-space: nowrap; } .page-shell { padding-inline: 20px; } .news-grid, .metric-grid { grid-template-columns: repeat(2, 1fr); } .ai-layout { grid-template-columns: 1fr; } .chat-sidebar { display: none; } }
@media (max-width: 620px) {
  .topbar { min-height: 64px; padding-inline: 14px; }
  .logo { font-size: 15px; }
  .desktop-nav { display: none; }
  .status-pill { margin-left: auto; }
  .page-shell { padding: 24px 14px 88px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 28px 20px; }
  .hero-ball { width: 120px; height: 120px; font-size: 48px; }
  .metric-grid, .news-grid, .profile-grid, .explore-form, .split-panels, .match-columns { grid-template-columns: minmax(0, 1fr); }
  .section-heading { align-items: stretch; flex-direction: column; }
  .filters, .news-filters, .match-filters { width: 100%; flex-wrap: wrap; }
  .filters select { min-width: 0; flex: 1 1 100%; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .page-title h1, .section-heading h2 { overflow-wrap: anywhere; }
  .panel-card, .data-panel, .news-detail { padding: 16px; }
  .follow-row, .admin-row { align-items: flex-start; flex-direction: column; }
  .mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 6; display: grid; grid-template-columns: repeat(6, 1fr); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface-nav-mobile); backdrop-filter: blur(18px); }
  .mobile-nav button { display: grid; gap: 3px; justify-items: center; padding: 5px 2px; font-size: 10px; }
  .mobile-nav button.active { color: var(--accent); }
  .chat-panel { min-height: calc(100dvh - 130px); padding: 14px; }
  .chat-panel > header { align-items: flex-start; gap: 10px; }
  .chat-panel > header .secondary { padding: 8px; font-size: 10px; }
  .composer { position: sticky; bottom: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); }
  .composer textarea { min-height: 72px; max-height: 35dvh; resize: vertical; }
  .message-bubble, .agenda-summary { overflow-wrap: anywhere; }
}
.news-card-open { display: block; width: 100%; padding: 0; border: 0; color: inherit; text-align: left; background: transparent; cursor: pointer; }
.news-card-open:hover h3 { color: var(--brand-strong); }
.news-detail { margin-top: 1.5rem; padding: 2rem; border: 1px solid var(--border-brand-subtle); border-radius: 1.25rem; background: var(--surface-subtle); }
.news-detail h2 { max-width: 48rem; }
.inline-button { display: inline-flex; margin-top: 1rem; text-decoration: none; }
.follow-row { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--border-text-subtle); }
.follow-row span { color: var(--muted); }
.news-question { margin-top: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--surface-brand-soft); }
.news-question label { display: block; margin-bottom: .5rem; font-weight: 700; }
.inline-form { display: flex; gap: .6rem; }
.inline-form input { min-width: 0; flex: 1; }
@media (max-width: 600px) { .inline-form { flex-direction: column; } .inline-form button { width: 100%; } }
/* Son kalite turu: ortak durumlar, klavye erişimi ve dar ekran güvenliği. */
:where(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--focus-primary); outline-offset: 3px; }
button, .nav-link, .category, .conversation-item, .follow-chip { min-height: 44px; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; opacity: .58; }
.feedback[role="status"], [aria-live="polite"] { overflow-wrap: anywhere; }
.feedback[data-state="success"] { color: var(--status-success); }
.feedback[data-state="error"] { color: var(--status-error); }
.loading { color: var(--text-secondary); }
.empty-state { display: grid; gap: 6px; min-width: 0; padding: 22px; border: 1px dashed var(--border-default); border-radius: var(--radius-md); color: var(--text-secondary); }
.empty-state strong { color: var(--text-primary); }
.match-status { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 8px; font-weight: 800; letter-spacing: .06em; }
.status-live { color: var(--status-live); }
.status-halftime, .status-upcoming, .status-pending { color: var(--status-warning); }
.status-finished { color: var(--status-finished); }
.status-error, .status-cancelled, .status-suspended { color: var(--status-error); }
.status-postponed { color: var(--status-postponed); }
.analysis-findings { border-left-color: var(--status-success); background: color-mix(in srgb, var(--status-success) 6%, transparent); }
.analysis-findings strong { color: var(--status-success); }
.analysis-interpretation { border-left-color: var(--status-info); }
.notification-preferences fieldset legend { padding-inline: 6px; color: var(--text-primary); font-weight: 700; }
@media (max-width: 620px) {
  .page-shell { overflow-x: clip; }
  .chat-panel { border-radius: var(--radius-md); }
  .messages { padding-inline: 0; }
  .message { max-width: 100%; }
  .message-bubble { padding: 12px; }
  .follow-chip { grid-template-columns: minmax(0, 1fr) auto auto; }
}
/* Faz 10A WP-03/WP-04 — beş görevli navigasyon ve Futistik akışı */
.desktop-nav { justify-content: center; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.nav-link > span { color: var(--text-muted); font-size: 14px; }
.nav-link.active > span { color: var(--brand-primary); }
.nav-icon { width: 17px; height: 17px; flex: 0 0 17px; color: var(--text-muted); transition: color 160ms ease, transform 160ms ease, filter 160ms ease; }
.nav-link:hover .nav-icon { color: #00F0FF; filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.4)); transform: translateY(-1px); }
.nav-link.active .nav-icon { color: #00F0FF; filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6)); }
.mobile-nav button .nav-icon { width: 20px; height: 20px; margin-bottom: 2px; color: var(--text-muted); transition: color 160ms ease, filter 160ms ease; }
.mobile-nav button.active .nav-icon, .mobile-nav button[aria-current="page"] .nav-icon { color: #00F0FF; filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6)); }
.suggestion-icon svg { width: 20px; height: 20px; color: #00F0FF; filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.4)); }
.btn-icon { width: 16px; height: 16px; flex: 0 0 16px; vertical-align: middle; margin-inline: 2px; }
.history-search-icon { width: 16px; height: 16px; flex: 0 0 16px; vertical-align: middle; }
.pin-icon { width: 12px; height: 12px; vertical-align: middle; }
.menu-icon { width: 16px; height: 16px; vertical-align: middle; }
.badge-icon { width: 14px; height: 14px; flex: 0 0 14px; vertical-align: middle; margin-right: 4px; color: #00F0FF; }
.welcome-title-icon { width: 24px; height: 24px; vertical-align: middle; color: #00F0FF; filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5)); }
.trophy-badge-icon { width: 13px; height: 13px; vertical-align: middle; margin-right: 3px; color: #FFB800; }
.source-icon { width: 13px; height: 13px; vertical-align: middle; margin-right: 3px; color: var(--text-muted); }
.disclaimer-icon svg { width: 22px; height: 22px; color: var(--status-warning, #FFB800); }
.avatar svg { width: 20px; height: 20px; color: #00F0FF; filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.4)); }
.conversation-kind-icon { width: 16px; height: 16px; flex: 0 0 16px; color: #00F0FF; margin-right: 6px; vertical-align: middle; }
.autocomplete-icon-svg svg { width: 16px; height: 16px; color: #00F0FF; vertical-align: middle; }
.home-hero { min-height: 310px; background: linear-gradient(125deg, color-mix(in srgb, var(--surface-container-high) 82%, var(--brand-container)), color-mix(in srgb, var(--surface-container-low) 94%, var(--status-info))); }
.home-hero h1 { font-size: clamp(38px, 6vw, 68px); }
.hero-mark { display: grid; width: 180px; height: 180px; place-content: center; justify-items: center; justify-self: center; border: 1px solid var(--brand-border-soft); border-radius: 50%; color: var(--brand-strong); background: radial-gradient(circle, var(--surface-brand-medium), transparent 68%); box-shadow: 0 0 60px var(--shadow-brand-soft); }
.hero-mark span { font-size: 54px; font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.hero-mark small { margin-top: 7px; color: var(--text-muted); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.home-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.home-toolbar .personal-note { margin: 0; }
.home-onboarding { grid-template-columns: 1fr auto; align-items: center; margin-top: 18px; }
.home-onboarding strong, .home-onboarding span { grid-column: 1; }
.home-onboarding button { grid-column: 2; grid-row: 1 / 3; }
.home-section .section-heading { margin-top: 44px; }
.home-match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-match-grid > .empty-state { grid-column: 1 / -1; }
.home-match-card { display: grid; gap: 10px; width: 100%; min-height: 150px; padding: 18px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); color: var(--text-primary); text-align: left; background: linear-gradient(145deg, var(--surface-container), var(--surface-container-low)); box-shadow: var(--shadow-soft); }
button.home-match-card:hover { border-color: var(--border-brand); background: var(--surface-selected); }
.home-match-card small { color: var(--text-muted); }
.home-match-card .match-status { justify-self: start; }
.home-match-card h3 { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 10px; margin: auto 0 0; font-size: 14px; }
.home-match-card h3 span:last-child { text-align: right; }
.home-match-card h3 strong { color: var(--brand-strong); font-size: 18px; white-space: nowrap; }
.home-news-grid { margin-top: 14px; }
.analysis-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mobile-nav button { min-height: 44px; border-radius: 10px; }
.mobile-nav button.active { color: var(--text-primary); background: var(--surface-selected); box-shadow: inset 0 2px var(--brand-primary); }
.mobile-nav button.active::first-line { color: var(--brand-primary); }
@media (max-width: 620px) {
  .home-hero { padding: 26px 20px; }
  .hero-mark { width: 100px; height: 100px; }
  .hero-mark span { font-size: 34px; }
  .home-toolbar { align-items: stretch; flex-direction: column; }
  .home-onboarding { grid-template-columns: 1fr; }
  .home-onboarding button { grid-column: 1; grid-row: auto; width: 100%; }
  .home-match-grid, .analysis-links { grid-template-columns: minmax(0, 1fr); }
  .home-match-card { min-height: 138px; }
  .mobile-nav button { padding: 6px 2px; }
}
.discover-panel { margin-top: 1.5rem; }
.discover-panel .grow { flex: 1 1 18rem; }
.discover-result { display: grid; gap: 1rem; margin-top: 1rem; }
.discover-answer, .discover-sources { border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; background: var(--surface); }
.discover-answer > span, .discover-sources small, .admin-row small { display: block; color: var(--muted); font-size: .82rem; margin-top: .25rem; }
.discover-sources ol { display: grid; gap: .7rem; padding-left: 0; list-style: none; }
.discover-sources li { display: flex; gap: .7rem; align-items: flex-start; }
.source-number { display: grid; place-items: center; min-width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--status-info); color: var(--text-on-brand); font-weight: 700; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.admin-form { display: grid; gap: .7rem; }
.admin-list { display: grid; gap: .5rem; margin-top: 1rem; }
.admin-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem; border-radius: .7rem; background: var(--surface-subtle); }
.admin-row > div { min-width: 0; }
.admin-row strong { display: block; overflow-wrap: anywhere; }
@media (max-width: 760px) { .admin-grid { grid-template-columns: 1fr; } }

/* Faz 10A — bileşenler yalnızca semantik tokenları tüketir. */
body { background: radial-gradient(900px 500px at 8% -8%, color-mix(in srgb, var(--brand-container) 72%, transparent), transparent 65%), radial-gradient(700px 500px at 100% 12%, color-mix(in srgb, var(--status-info) 20%, transparent), transparent 68%), var(--surface-canvas); color: var(--text-primary); }
body::before { opacity: .13; background-size: 56px 56px; }
.topbar { min-height: 78px; padding-inline: max(20px, calc((100vw - var(--content-max)) / 2)); background: var(--surface-navigation); border-color: var(--border-subtle); }
.logo { letter-spacing: -.02em; }
.logo span { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(145deg, color-mix(in srgb, var(--brand-primary) 22%, transparent), color-mix(in srgb, var(--brand-primary) 4%, transparent)); box-shadow: 0 0 26px var(--shadow-brand); }
.desktop-nav { gap: 3px; }
.nav-link { min-height: 40px; color: var(--text-secondary); border: 1px solid transparent; }
.nav-link:hover { color: var(--text-primary); background: var(--surface-hover); }
.nav-link.active { color: var(--brand-strong); background: var(--surface-selected); border-color: var(--brand-border-soft); box-shadow: inset 0 -2px var(--brand-primary); }
.status-pill { border-color: color-mix(in srgb, var(--status-info) 24%, transparent); background: color-mix(in srgb, var(--status-info) 8%, transparent); color: var(--status-info); }
.status-pill i { background: var(--status-info); box-shadow: 0 0 12px var(--status-info-glow); }
.status-pill[data-status="offline"] { color: var(--status-error); }
.page-shell { width: min(var(--content-max), 100%); padding-top: 46px; }
.hero { position: relative; isolation: isolate; min-height: 360px; overflow: hidden; border-color: var(--border-brand-subtle); border-radius: var(--radius-xl); background: linear-gradient(125deg, color-mix(in srgb, var(--brand-container) 82%, transparent), color-mix(in srgb, var(--surface-container-low) 88%, var(--status-info)) 58%, color-mix(in srgb, var(--surface-container-high) 78%, var(--status-info))); box-shadow: var(--shadow-float); }
.hero::after { position: absolute; right: -80px; bottom: -150px; z-index: -1; width: 450px; height: 450px; content: ""; border: 1px solid var(--brand-border-soft); border-radius: 50%; box-shadow: 0 0 0 34px var(--surface-brand-soft), 0 0 0 68px color-mix(in srgb, var(--brand-primary) 2%, transparent); }
.hero h1 { max-width: 720px; font-size: clamp(42px, 7vw, 78px); }
.hero h1 em { color: var(--brand-strong); text-shadow: 0 0 34px var(--shadow-brand); }
.hero-ball { position: relative; z-index: 1; border-color: var(--brand-border-strong); background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--brand-strong) 28%, transparent), color-mix(in srgb, var(--surface-canvas) 12%, transparent) 65%); box-shadow: 0 0 70px var(--shadow-brand), inset 0 0 30px var(--surface-white-soft); }
.primary, .secondary { min-height: 44px; border-radius: 11px; }
.primary { border-color: var(--brand-primary); box-shadow: 0 8px 20px var(--shadow-brand); }
.primary:disabled, .secondary:disabled, button:disabled { cursor: not-allowed; opacity: .48; transform: none; filter: none; }
.secondary:hover { background: var(--surface-hover); }
.text-button { min-height: 40px; padding: 8px 4px; border-radius: 8px; }
.text-button:hover { background: var(--surface-hover-brand); }
.section-heading { margin-top: 52px; }
.eyebrow { color: var(--brand-strong); }
.page-title { margin-bottom: 34px; }
.page-title h1, .section-heading h2 { color: var(--text-primary); }
.panel-card, .data-panel, .metric-card, .news-card, .match-card, .chat-sidebar, .chat-panel { background: linear-gradient(145deg, color-mix(in srgb, var(--surface-container) 90%, transparent), color-mix(in srgb, var(--surface-container-low) 90%, transparent)); border-color: var(--border-subtle); box-shadow: var(--shadow-soft); }
.panel-card:hover, .news-card:hover, .match-card:hover { border-color: var(--border-info); }
.metric-card, .news-card, .match-card { border-radius: var(--radius-md); }
.metric-card > span, .news-card > span { color: var(--text-muted); }
.metric-card strong, .detail-list strong, .standing-row span { color: var(--text-primary); }
.metric-card strong { font-variant-numeric: tabular-nums; }
.empty-state { border-color: var(--border-default); background: color-mix(in srgb, var(--surface-container) 48%, transparent); }
.empty-state strong { color: var(--text-primary); }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-filters { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; width: 100%; min-width: 0; }
.category-chips-bar { display: flex; align-items: center; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scroll-snap-type: x mandatory; padding-bottom: 4px; flex: 1; min-width: 0; }
.category-chips-bar::-webkit-scrollbar { height: 4px; }
.category-chips-bar::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 999px; }
.category-chips-bar .category { flex-shrink: 0; scroll-snap-align: start; min-height: 38px; padding: 6px 14px; font-size: 13px; font-weight: 600; border-radius: 999px; border: 1px solid var(--border-subtle); background: var(--surface-container-low); transition: all 0.2s ease; }
.category-chips-bar .category:hover { border-color: var(--brand-border-soft); background: var(--surface-hover); color: var(--text-primary); }
.category-chips-bar .category.active { color: var(--brand-strong); background: var(--surface-selected); border-color: var(--brand-primary); box-shadow: 0 0 12px var(--shadow-brand); }
.news-filter-control { position: relative; flex: 0 0 auto; }
.news-filter-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.news-filter-toggle[aria-expanded="true"] { border-color: var(--brand-primary); color: var(--brand-strong); background: var(--surface-selected); }
.filter-count { display: inline-grid; min-width: 18px; min-height: 18px; place-items: center; padding-inline: 4px; border-radius: 999px; background: var(--brand-primary); color: var(--text-on-brand); font-size: 10px; font-weight: 900; }
.news-filter-popover { position: absolute; top: calc(100% + 10px); right: 0; z-index: 50; width: min(380px, calc(100vw - 28px)); }
.news-filter-popover[hidden] { display: none; }
.news-filter-popover .news-filter-options { display: grid; gap: 14px; margin: 0; padding: 18px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: linear-gradient(145deg, var(--surface-container-high), var(--surface-container)); box-shadow: var(--shadow-float); backdrop-filter: blur(12px); max-height: 480px; overflow-y: auto; }
.filter-popover-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.filter-popover-header strong { font-size: 14px; color: var(--text-primary); }
.compact-clear { font-size: 11px; color: var(--text-muted); padding: 2px 6px; min-height: 28px; }
.compact-clear:hover { color: var(--status-error); }
.filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.filter-field { display: grid; gap: 5px; }
.filter-field label { color: var(--text-secondary); font-size: 11px; font-weight: 700; }
.filter-field select, .filter-field input { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--surface-container-low); color: var(--text-primary); font-size: 12px; }
.filter-field select:focus, .filter-field input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 15%, transparent); }
.news-date-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.news-card { min-height: 224px; padding: 20px; }
.news-card h3 { font-size: 18px; letter-spacing: -.02em; }
.news-card-open:hover h3 { color: var(--brand-strong); }
.news-card > small { margin-top: auto; }

/* Analiz Merkezi (Explore View) Stadyum Analitiği Tasarımı */
.explore-hero-search { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--border-brand-subtle); border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--surface-container-high) 95%, transparent), color-mix(in srgb, var(--surface-container) 95%, var(--brand-primary) 5%)); box-shadow: var(--shadow-float); }
.explore-type-chips { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.explore-type-chips::-webkit-scrollbar { display: none; }
.explore-type-chips .category { min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--border-subtle); background: var(--surface-container-low); transition: all 0.2s ease; }
.explore-type-chips .category.active { color: var(--brand-strong); background: var(--surface-selected); border-color: var(--brand-primary); box-shadow: 0 0 12px var(--shadow-brand); }
.explore-form-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Canlı Otomatik Tamamlama Açılır Menüsü */
.explore-input-wrap { position: relative; z-index: 10; flex: 1 1 280px; min-width: 240px; }
.explore-autocomplete-dropdown[hidden] { display: none !important; }
.explore-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-brand-subtle);
  background: color-mix(in srgb, var(--surface-container-high) 98%, var(--surface-canvas) 2%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.autocomplete-item:hover, .autocomplete-item:focus-visible {
  background: color-mix(in srgb, var(--surface-selected) 80%, transparent);
  border-color: var(--brand-border-soft);
  transform: translateX(2px);
}
.autocomplete-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; }
.autocomplete-emoji { font-size: 18px; }
.autocomplete-info { flex: 1 1 auto; min-width: 0; }
.autocomplete-info strong { display: block; font-size: 13px; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.autocomplete-info small { display: block; font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.explore-input-wrap input { width: 100%; min-height: 44px; padding-inline: 16px; font-size: 14px; font-weight: 500; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); background: var(--surface-canvas); color: var(--text-primary); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.explore-input-wrap input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 15%, transparent); }
.explore-select-wrap { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.explore-select-wrap select { min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); background: var(--surface-container-low); color: var(--text-primary); font-size: 13px; font-weight: 600; }
.explore-submit-btn { min-height: 44px; padding-inline: 20px; font-size: 14px; font-weight: 700; border-radius: var(--radius-sm); flex-shrink: 0; }
.featured-analytics-section { margin-top: 26px; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 14px; }
.featured-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: linear-gradient(145deg, var(--surface-container), var(--surface-container-low)); transition: all 0.2s ease; text-align: left; cursor: pointer; width: 100%; }
.featured-card:hover { border-color: var(--brand-primary); transform: translateY(-2px); box-shadow: var(--shadow-float); background: var(--surface-container-high); }
.featured-card strong { display: block; color: var(--text-primary); font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured-card small { display: block; color: var(--text-muted); font-size: 11px; margin-top: 2px; }
.featured-logo-wrap { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-width: 36px; border-radius: 50%; background: var(--surface-canvas); border: 1px solid var(--border-subtle); overflow: hidden; flex-shrink: 0; }
.featured-logo-wrap img { width: 80%; height: 80%; object-fit: contain; }
.featured-avatar { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-width: 36px; border-radius: 50%; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-primary) 30%, transparent), color-mix(in srgb, var(--status-info) 30%, transparent)); border: 1px solid var(--brand-border-soft); color: var(--brand-strong); font-size: 12px; font-weight: 900; letter-spacing: 0.05em; flex-shrink: 0; }
.featured-photo-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-width: 38px; border-radius: 50%; background: var(--surface-canvas); border: 1px solid var(--brand-border-soft); overflow: hidden; flex-shrink: 0; box-shadow: 0 0 10px var(--shadow-brand); }
.featured-photo-wrap img { display: block; flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.featured-photo-wrap .featured-avatar { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; }
.featured-photo-wrap [hidden] { display: none !important; }
.discover-panel { margin-top: 28px; padding: 24px; border: 1px solid var(--border-brand-subtle); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--surface-container-low), var(--surface-container-high)); }

/* Oyuncu Karşılaştırma Paneli Stilleri */
.player-compare-section { position: relative; z-index: 10; margin-top: 28px; padding: 24px; border: 1px solid var(--border-brand-subtle); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--surface-container-low), var(--surface-container-high)); box-shadow: var(--shadow-float); }
.compare-presets-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.compare-presets-bar .preset-label { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.compare-preset-chip { padding: 6px 12px; font-size: 12px; }
.compare-form-row { position: relative; z-index: 20; display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.compare-input-group { position: relative; z-index: 30; flex: 1 1 200px; min-width: 180px; display: grid; gap: 6px; }
.compare-input-group label { font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.compare-input-group input { width: 100%; min-height: 44px; padding-inline: 14px; font-size: 14px; font-weight: 600; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); background: var(--surface-canvas); color: var(--text-primary); }
.compare-vs-badge { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-primary) 30%, transparent), color-mix(in srgb, var(--status-warning) 20%, transparent)); border: 1px solid var(--brand-border-soft); color: var(--brand-strong); font-size: 13px; font-weight: 900; box-shadow: 0 0 12px var(--shadow-brand); }
.compare-submit-btn { min-height: 44px; padding-inline: 24px; font-size: 14px; font-weight: 700; border-radius: var(--radius-sm); flex-shrink: 0; }

/* Oyuncu Karşılaştırma Sonuç Kartı */
.player-compare-result[hidden] { display: none !important; }
.player-compare-result { margin-top: 24px; padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border-brand-subtle); background: var(--surface-canvas); display: grid; gap: 20px; }
.compare-vs-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--surface-container), var(--surface-container-low)); border: 1px solid var(--border-subtle); }
.compare-player-side { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.compare-player-side.right { flex-direction: row-reverse; text-align: right; }
.compare-player-side.is-winner .featured-photo-wrap, .compare-player-side.is-winner .featured-avatar { border-color: var(--status-success); box-shadow: 0 0 16px color-mix(in srgb, var(--status-success) 40%, transparent); }
.compare-score-badge { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--surface-container-high); color: var(--brand-strong); border: 1px solid var(--border-subtle); }
.compare-center-vs { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; }
.vs-circle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #ff4500, #ff8c00); color: #fff; font-size: 16px; font-weight: 900; box-shadow: 0 0 16px rgba(255, 69, 0, 0.4); }
.winner-badge { font-size: 11px; font-weight: 800; color: #ffd700; text-align: center; white-space: nowrap; }

/* Karşılaştırma İstatistik Çubukları */
.compare-table-container { display: grid; gap: 12px; }
.compare-rows-grid { display: grid; gap: 10px; }
.compare-row-item { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface-container-low); border: 1px solid var(--border-subtle); }
.stat-left-side { display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; }
.stat-right-side { display: flex; align-items: center; gap: 10px; }
.stat-num { font-size: 13px; font-weight: 800; color: var(--text-muted); min-width: 30px; text-align: center; }
.stat-win .stat-num { color: var(--status-success); font-weight: 900; }
.stat-label { font-size: 12px; font-weight: 700; text-align: center; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-bar-outer { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-canvas); overflow: hidden; position: relative; }
.stat-bar-inner { height: 100%; border-radius: 999px; background: var(--text-muted); transition: width 0.4s ease; }
.stat-left-side.stat-win .stat-bar-inner { background: linear-gradient(90deg, #10b981, #34d399); }
.stat-right-side.stat-win .stat-bar-inner { background: linear-gradient(90deg, #10b981, #34d399); }
.stat-left-side .stat-bar-inner { float: right; }
.metric-leader-badge { color: #ffd700; font-size: 9px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.h2h-ai-panel { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--border-brand-subtle); border-radius: var(--radius-md); background: linear-gradient(135deg, color-mix(in srgb, var(--status-info) 8%, var(--surface-container)), var(--surface-container-low)); }
.h2h-ai-panel.is-unavailable { border-color: var(--border-subtle); background: var(--surface-container-low); }
.h2h-ai-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.h2h-ai-heading h3 { margin: 3px 0 0; font-size: 16px; }
.ai-status-badge { flex-shrink: 0; padding: 5px 9px; border: 1px solid var(--border-brand-subtle); border-radius: 999px; color: var(--brand-strong); font-size: 10px; font-weight: 800; }
.h2h-ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h2h-ai-grid article { min-width: 0; padding: 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--surface-canvas) 55%, transparent); }
.h2h-ai-grid h4 { margin: 0 0 7px; color: var(--text-primary); font-size: 12px; }
.h2h-ai-grid ul { display: grid; gap: 6px; margin: 0; padding-left: 16px; color: var(--text-secondary); font-size: 11px; line-height: 1.5; }
.ai-prediction-note { margin: 0; color: var(--text-secondary); font-size: 12px; }
.ai-prediction-note strong { color: var(--brand-strong); }
.ai-provenance { color: var(--text-muted); font-size: 10px; line-height: 1.45; }
.discover-header { margin-bottom: 16px; }
.discover-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.explore-results-grid { display: grid; gap: 18px; margin-top: 20px; }
.category { min-height: 40px; color: var(--text-secondary); }
.category.active { color: var(--brand-strong); background: var(--surface-selected); border-color: var(--border-brand-strong); }
.panel-card label { color: var(--text-secondary); }
.panel-card input, .panel-card select, .history-search, .follow-form input, .follow-form select, .filters select, .auth-card input, .composer { border-color: var(--border-subtle); background: color-mix(in srgb, var(--surface-canvas) 68%, transparent); }
.panel-card input:focus, .panel-card select:focus, .follow-form input:focus, .follow-form select:focus, .filters select:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 10%, transparent); }
.follow-chip { color: var(--text-primary); background: var(--surface-selected); border-color: var(--border-brand); }
.match-card { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: linear-gradient(145deg, var(--surface-container), var(--surface-container-low)); box-shadow: var(--shadow-soft); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.match-card:hover { border-color: var(--view-border); box-shadow: var(--shadow-float); }
.match-card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.match-card-header small { color: var(--text-muted); font-size: 11px; }
.match-card-header .match-status { margin-bottom: 0; }
.match-teams-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0; }
.team-cell { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.home-team-cell { justify-content: flex-start; text-align: left; }
.away-team-cell { justify-content: flex-end; text-align: right; }
.team-name { font-weight: 700; font-size: 14px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-logo-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; min-width: 30px; min-height: 30px; border-radius: 50%; background: var(--surface-container-high); border: 1px solid var(--border-subtle); overflow: hidden; flex-shrink: 0; }
.team-logo { width: 100%; height: 100%; object-fit: contain; }
.team-logo-fallback { font-size: 11px; font-weight: 800; color: var(--text-secondary); text-transform: uppercase; }
.score-display { font-size: 17px; font-weight: 900; color: var(--brand-strong); font-variant-numeric: tabular-nums; padding: 4px 12px; border-radius: 8px; background: color-mix(in srgb, var(--surface-canvas) 80%, transparent); border: 1px solid var(--border-subtle); letter-spacing: 0.04em; white-space: nowrap; }
.match-card-open { width: 100%; margin-top: 4px; }
.match-status { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 4px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.match-status-icon { width: 14px; height: 14px; flex: 0 0 14px; }
.status-live { color: var(--status-live); background: color-mix(in srgb, var(--status-live) 9%, transparent); }
.status-halftime, .status-suspended, .status-pending { color: var(--status-warning); background: color-mix(in srgb, var(--status-warning) 9%, transparent); }
.status-upcoming { color: var(--status-info); background: color-mix(in srgb, var(--status-info) 9%, transparent); }
.status-finished { color: var(--status-finished); background: color-mix(in srgb, var(--status-finished) 8%, transparent); }
.status-postponed { color: var(--status-postponed); background: color-mix(in srgb, var(--status-postponed) 9%, transparent); }
.status-cancelled, .status-error { color: var(--status-error); background: color-mix(in srgb, var(--status-error) 11%, transparent); }
.match-context { margin: 6px 0 0; color: var(--text-secondary); font-size: 11px; line-height: 1.45; }
.match-unavailable { color: var(--text-muted); font-size: 11px; }
.match-events { margin: 8px 0 0; color: var(--text-muted); font-size: 11px; }
.preseason-banner {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 135, 0.25);
  background: linear-gradient(135deg, rgba(8, 24, 42, 0.85), rgba(6, 40, 50, 0.65));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.preseason-banner strong {
  color: #00ff87;
  font-weight: 700;
}
.match-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.match-columns > div > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; }
.match-columns > div > h2::before { width: 7px; height: 7px; content: ""; border-radius: 50%; background: var(--brand-primary); box-shadow: 0 0 14px var(--brand-primary); }
.ai-agenda { position: relative; overflow: hidden; border-color: color-mix(in srgb, var(--status-info) 20%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--status-info) 18%, var(--surface-container)), color-mix(in srgb, var(--surface-container-low) 78%, var(--status-info))); }
.ai-agenda::before { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; content: ""; background: var(--status-info); }
.agenda-summary { color: var(--text-secondary); line-height: 1.7; }
.ai-layout { gap: 20px; }
.chat-sidebar { position: sticky; top: 98px; }
.chat-panel { box-shadow: var(--shadow-soft); }
.message-bubble { background: var(--surface-container-high); }
.user-message .message-bubble { background: var(--surface-user-message); border-color: var(--border-brand); }
.analysis-source { padding-top: 10px; border-top: 1px solid var(--border-text-subtle); }
.analysis-section { margin-top: 10px; padding: 10px 12px; border-left: 2px solid var(--status-info); border-radius: 0 9px 9px 0; background: var(--surface-info-medium); }
.analysis-section strong { display: block; margin-bottom: 4px; color: var(--status-info); font-size: 9px; letter-spacing: .12em; }
.analysis-section p { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }
.analysis-uncertainty { border-left-color: var(--status-warning); background: var(--surface-warning-medium); }
.analysis-uncertainty strong { color: var(--status-warning); }
.error-message { border-color: var(--error-border-soft); background: var(--error-surface-soft); }
.mobile-nav { box-shadow: 0 -12px 30px var(--shadow-color); }
.mobile-nav button { min-height: 44px; border-radius: 10px; }
.mobile-nav button.active { color: var(--brand-strong); background: var(--surface-selected); }
.news-detail { box-shadow: var(--shadow-soft); }
#news-view.news-detail-open > .page-title, #news-view.news-detail-open > .news-filters, #news-view.news-detail-open > #news-list { display: none; }
.inline-button { min-height: 44px; align-items: center; padding-inline: 12px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--focus-primary) !important; outline-offset: 3px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .page-shell { padding-top: 26px; } .hero { border-radius: var(--radius-lg); } .hero::after { right: -180px; } .news-grid { gap: 12px; } .news-card { min-height: 205px; padding: 16px; } .news-card footer { align-items: flex-start; flex-direction: column; gap: 6px; } .match-columns { gap: 26px; } .match-card-open h3 { gap: 7px; font-size: 14px; } .match-card-open h3 strong { min-width: 58px; font-size: 17px; } .category { min-height: 44px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .status-pill i { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-ball, .status-pill i { box-shadow: none; }
  .primary:hover, .secondary:hover { transform: none; }
}

/* Semantic component aliases are defined in the single token layer above. */
.primary { color: var(--text-on-brand); }
.match-status.status-live { color: var(--status-live); background: color-mix(in srgb, var(--status-live) 10%, transparent); }
.match-status.status-postponed { color: var(--status-postponed); background: color-mix(in srgb, var(--status-postponed) 10%, transparent); }
.status-live { color: var(--status-live); background: color-mix(in srgb, var(--status-live) 10%, transparent); }
.status-postponed { color: var(--status-postponed); background: color-mix(in srgb, var(--status-postponed) 10%, transparent); }
.status-success { color: var(--status-success); background: color-mix(in srgb, var(--status-success) 10%, transparent); }

/* Shared controls and feedback states. */
.primary, .secondary, .text-button, .category, .suggestion-chip, .inline-button, #retry-button {
  min-height: 44px;
  border-radius: var(--radius-sm);
}
.panel-card input, .panel-card select, .history-search, .follow-form input, .follow-form select,
.filters select, .auth-card input, textarea, input, select {
  min-height: 44px;
  color: var(--text-primary);
}
.loading, .empty-state, .error-message {
  min-height: 44px;
  align-items: center;
}
.loading { display: flex; gap: var(--space-2); color: var(--text-secondary); }
.loading::before { width: .75rem; height: .75rem; flex: 0 0 auto; content: ""; border: 2px solid var(--border-default); border-top-color: var(--status-info); border-radius: 50%; animation: loading-spin .8s linear infinite; }
.empty-state { border-color: var(--border-default); background: color-mix(in srgb, var(--surface-container) 48%, transparent); color: var(--text-secondary); }
.error-message { border-color: color-mix(in srgb, var(--status-error) 35%, transparent); background: color-mix(in srgb, var(--status-error) 10%, var(--surface-container)); color: var(--status-error); }
@keyframes loading-spin { to { transform: rotate(1turn); } }

/* Faz 10A WP-05/WP-07/WP-08 — yeni olay, uzun yanıt ve alan doğrulama durumları. */
.match-events { overflow-wrap: anywhere; }
.match-event-new { display: inline-block; color: var(--status-live); font-weight: 800; animation: event-highlight 1.2s var(--ease-standard) both; }
@keyframes event-highlight {
  0% { background: var(--surface-brand-medium); outline: 3px solid var(--brand-border-soft); outline-offset: 2px; }
  100% { background: transparent; outline-color: transparent; }
}
.message-preview { margin-bottom: 8px !important; }
.message-details { margin-top: 8px; border-top: 1px solid var(--border-text-subtle); }
.message-details summary { min-height: 44px; padding: 12px 0 8px; color: var(--status-info); cursor: pointer; font-size: 11px; font-weight: 800; }
.message-details summary:focus-visible { outline: 3px solid var(--focus-primary); outline-offset: 3px; }
.message-details-content { padding-bottom: 3px; }
.message-details-content ul { margin: 0 0 9px; padding-left: 20px; }
[aria-invalid="true"] { border-color: var(--status-error) !important; box-shadow: 0 0 0 3px var(--error-border-soft) !important; }
.feedback[data-state="error"] { display: block; }
@media (prefers-reduced-motion: reduce) {
  .match-event-new { animation: none; }
}

/* Stadyum Grafit v2: surfaces carry hierarchy; saturation stays reserved for meaning. */
body { background: var(--surface-canvas); }
body::before { display: none; }
body[data-view="news"] { --view-accent: var(--category-news); --view-accent-soft: color-mix(in srgb, var(--view-accent) 14%, transparent); --view-border: color-mix(in srgb, var(--view-accent) 42%, var(--border-subtle)); }
body[data-view="matches"] { --view-accent: var(--category-matches); --view-accent-soft: color-mix(in srgb, var(--view-accent) 14%, transparent); --view-border: color-mix(in srgb, var(--view-accent) 42%, var(--border-subtle)); }
body[data-view="ai"] { --view-accent: var(--category-ai); --view-accent-soft: color-mix(in srgb, var(--view-accent) 14%, transparent); --view-border: color-mix(in srgb, var(--view-accent) 42%, var(--border-subtle)); }
body[data-view="profile"] { --view-accent: var(--category-profile); --view-accent-soft: color-mix(in srgb, var(--view-accent) 14%, transparent); --view-border: color-mix(in srgb, var(--view-accent) 42%, var(--border-subtle)); }
body[data-view="explore"] { --view-accent: var(--category-analysis); --view-accent-soft: color-mix(in srgb, var(--view-accent) 14%, transparent); --view-border: color-mix(in srgb, var(--view-accent) 42%, var(--border-subtle)); }
body[data-view="home"], body:not([data-view]) { --view-accent: var(--brand-primary); --view-accent-soft: var(--brand-container); --view-border: var(--brand-border-strong); }
body[data-view] {
  --backdrop-top: color-mix(in srgb, var(--surface-navigation) 94%, var(--view-accent) 6%);
  --backdrop-mid: color-mix(in srgb, var(--surface-canvas) 96%, var(--view-accent) 4%);
}
body {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, var(--backdrop-top, var(--surface-navigation)) 0, var(--backdrop-mid, var(--surface-canvas)) 26rem, var(--surface-canvas) 72rem);
}
body::before {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .58;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 95px, color-mix(in srgb, var(--focus-primary) 2%, transparent) 96px),
    repeating-linear-gradient(0deg, transparent 0 95px, color-mix(in srgb, var(--focus-primary) 1.6%, transparent) 96px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(to bottom, black 0, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0, black 70%, transparent 100%);
}
.topbar, .mobile-nav { background: var(--surface-navigation); }
.logo span { background: var(--brand-container); }
.logo span { border-color: var(--border-subtle); box-shadow: none; }
.nav-link.active { color: var(--text-primary); background: var(--surface-selected); }
.hero {
  border-color: var(--border-default);
  background: linear-gradient(135deg, var(--surface-container-high), var(--surface-container-low));
  box-shadow: var(--shadow-float);
}
.hero::after { display: none; }
.hero h1 em { text-shadow: none; }
.hero-ball, .hero-mark {
  border-color: var(--border-strong);
  background: var(--surface-container-highest);
  box-shadow: none;
}
.eyebrow { color: var(--text-muted); }
.home-hero .eyebrow { color: var(--brand-primary); }
.panel-card, .data-panel, .match-card, .home-match-card,
.discover-answer, .discover-sources {
  border-color: var(--border-subtle);
  background: var(--surface-container);
  box-shadow: var(--shadow-soft);
}
.metric-card, .news-card { background: var(--surface-container-low); }
.chat-sidebar { background: var(--surface-navigation); }
.chat-panel { background: var(--surface-container); }
.secondary, .category, .suggestion-chip,
.panel-card input, .panel-card select, .history-search,
.follow-form input, .follow-form select, .filters select,
.auth-card input, .composer {
  background: var(--surface-container-low);
}
.status-pill i, .match-columns > div > h2::before { box-shadow: none; }
.primary { box-shadow: 0 6px 16px var(--shadow-brand-soft); }
.panel-card:hover, .news-card:hover, .match-card:hover, .home-match-card:hover {
  border-color: var(--border-strong);
}
.ai-agenda { background: var(--surface-container-high); }

/* Each workflow gets a distinct accent while the stadium graphite surfaces stay shared. */
body[data-view] .app-view:not(#home-view) .eyebrow,
body[data-view] .app-view:not(#home-view) .text-button,
body[data-view] .app-view:not(#home-view) .stat-value,
body[data-view] .app-view:not(#home-view) .news-read,
body[data-view] .app-view:not(#home-view) .news-card a { color: var(--view-accent); }
body[data-view] .app-view:not(#home-view) .page-title { border-left: 3px solid var(--view-accent); padding-left: 16px; }
body[data-view] .app-view:not(#home-view) .category.active,
body[data-view] .app-view:not(#home-view) .explore-tabs .active { color: var(--view-accent); border-color: var(--view-border); background: var(--view-accent-soft); }
body[data-view] .app-view:not(#home-view) .panel-card:hover,
body[data-view] .app-view:not(#home-view) .news-card:hover,
body[data-view] .app-view:not(#home-view) .match-card:hover { border-color: var(--view-border); }
body[data-view] .app-view:not(#home-view) .primary { border-color: var(--view-accent); background: var(--view-accent); }
body[data-view] .app-view:not(#home-view) .message-details summary { color: var(--view-accent); }
body[data-view] .app-view:not(#home-view) .analysis-section { border-left-color: var(--view-accent); }
body[data-view] .app-view:not(#home-view) .analysis-section strong { color: var(--view-accent); }
body[data-view="news"] .app-view { --view-accent: var(--category-news); }
body[data-view="matches"] .app-view { --view-accent: var(--category-matches); }
body[data-view="ai"] .app-view { --view-accent: var(--category-ai); }
body[data-view="profile"] .app-view { --view-accent: var(--category-profile); }
body[data-view="explore"] .app-view { --view-accent: var(--category-analysis); }
body[data-view] .nav-link.active,
body[data-view] .mobile-nav button.active {
  color: var(--view-accent);
  border-color: var(--view-border);
  background: var(--view-accent-soft);
  box-shadow: inset 0 -2px var(--view-accent);
}
body[data-view] .nav-link.active > span,
body[data-view] .mobile-nav button.active::first-line { color: var(--view-accent); }
body[data-view="matches"] .match-columns > div > h2::before { background: var(--category-matches); }
@media (prefers-reduced-motion: reduce), (prefers-contrast: more) {
  body::before { display: none; }
}

/* AI çalışma alanı: sakin mesaj yüzeyi ve görev odaklı sohbet geçmişi. */
/* AI çalışma alanı: tam ekran ferah düzen, açılır/kapanır sohbet geçmişi ve 2x2 öneri kartları */
/* AI Görünümünde tam ekran, taşmasız ve footersiz ferah düzen */
body[data-view="ai"] {
  height: 100vh;
  overflow: hidden;
}
body[data-view="ai"] .site-footer {
  display: none !important;
}
body[data-view="ai"] main {
  height: calc(100vh - 76px);
  max-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 8px 24px 14px;
}
body[data-view="ai"] #ai-view {
  height: 100%;
  max-height: 100%;
  min-height: 0;
}
.ai-layout {
  position: relative;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 16px;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  align-items: stretch;
  overflow: hidden;
  transition: grid-template-columns 0.3s cubic-bezier(0.16, 1, 0.3, 1), gap 0.3s ease;
}
.ai-layout.sidebar-collapsed {
  grid-template-columns: 0px minmax(0, 1fr);
  gap: 0px;
}
.ai-layout.sidebar-collapsed .chat-sidebar {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-30px);
  padding: 0;
  margin: 0;
  border-width: 0;
  overflow: hidden;
}
.chat-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 14px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-navigation);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.3s ease;
}
.chat-sidebar-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 6px 10px;
}
.sidebar-kicker { color: var(--text-muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.chat-sidebar h2 { margin: 2px 0 0; color: var(--text-primary); font-size: 18px; letter-spacing: -.02em; }
.icon-button { display: inline-grid; width: 36px; height: 36px; min-height: 36px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); font-size: 16px; line-height: 1; cursor: pointer; transition: all 0.2s ease; }
.icon-button:hover { border-color: var(--border-subtle); background: var(--surface-hover); color: var(--text-primary); }
.new-chat-button { justify-content: center; gap: 8px; margin: 0 4px 12px; }
.new-chat-button span, .compact-new-chat span { font-size: 18px; font-weight: 400; line-height: 0; }
.history-search-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 0 4px 10px;
  padding: 0 11px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--surface-container-low);
  color: var(--text-muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.history-search-wrap:focus-within { border-color: #00ff87 !important; box-shadow: 0 0 10px rgba(0, 255, 135, 0.15) !important; }
.history-search, .history-search:focus, .history-search:focus-visible { width: 100%; min-height: 36px; margin: 0; padding: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent; font-size: 12px; }
.conversation-list {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 0 2px;
  scrollbar-width: thin;
}
.conversation-group { margin-bottom: 18px; }
.conversation-group h3 { margin: 0 8px 7px; color: var(--text-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.conversation-group ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.conversation-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 34px; min-width: 0; border: 1px solid transparent; border-radius: var(--radius-sm); }
.conversation-row:hover, .conversation-row.active { border-color: var(--border-subtle); background: var(--surface-container-low); }
.conversation-row.active { border-left-color: var(--view-accent); background: var(--surface-selected); }
.conversation-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; width: 100%; min-width: 0; min-height: 58px; padding: 9px 8px 9px 11px; border: 0; border-radius: inherit; background: transparent; color: var(--text-primary); text-align: left; }
.conversation-item:hover { background: transparent; }
.conversation-title-line { display: flex; min-width: 0; align-items: center; gap: 7px; }
.conversation-title-line strong { min-width: 0; overflow: hidden; color: var(--text-primary); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.conversation-item small { color: var(--text-muted); font-size: 10px; }
.pin-indicator { color: var(--view-accent); font-size: 10px; }
.conversation-menu-button { align-self: center; width: 30px; height: 30px; min-height: 30px; margin-right: 3px; color: var(--text-muted); font-size: 13px; letter-spacing: 1px; }
.conversation-menu { position: absolute; top: 45px; right: 5px; z-index: 8; display: grid; width: 176px; padding: 5px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--surface-container-highest); box-shadow: var(--shadow-float); }
.conversation-menu button { min-height: 38px; padding: 8px 10px; border-radius: 6px; color: var(--text-secondary); font-size: 11px; text-align: left; }
.conversation-menu button:hover { background: var(--surface-hover); color: var(--text-primary); }
.conversation-menu .danger-menu-item { color: var(--status-error); }
.conversation-edit-form { display: grid; grid-template-columns: minmax(0, 1fr) 32px 32px; align-items: center; gap: 2px; padding: 7px 5px 7px 8px; }
.conversation-edit-form input { min-width: 0; width: 100%; min-height: 36px; padding: 6px 8px; border: 1px solid var(--focus-primary); border-radius: 6px; background: var(--surface-container-high); color: var(--text-primary); font-size: 11px; }
.conversation-edit-form .icon-button { width: 30px; height: 30px; min-height: 30px; }
.save-conversation { color: var(--status-success); }
.conversation-feedback { min-height: 18px; margin: 8px 7px 0; font-size: 10px; }
.conversation-feedback[data-state="success"] { color: var(--status-success); }
.conversation-feedback[data-state="error"] { color: var(--status-error); }
.history-empty { display: grid; justify-items: center; gap: 7px; padding: 34px 16px; color: var(--text-muted); text-align: center; }
.history-empty-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--border-subtle); border-radius: 50%; color: var(--view-accent); font-size: 20px; }
.history-empty strong { color: var(--text-secondary); font-size: 12px; }
.history-empty p { margin: 0; font-size: 10px; line-height: 1.45; }
.chat-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 0 24px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface-container-lowest);
  overflow: hidden;
}
.chat-header {
  flex: 0 0 auto;
  min-height: 60px;
  padding: 10px 0 10px !important;
}
.chat-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.history-toggle { display: inline-grid; flex: 0 0 auto; }
.compact-new-chat { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding-inline: 12px; white-space: nowrap; }
.chat-header h2 { font-size: 18px; }
.chat-header .eyebrow { margin-bottom: 3px; color: var(--view-accent); }
.messages {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 10px 4px 10px;
  overflow-y: auto;
}
.chat-welcome {
  width: min(780px, 100%);
  margin: auto;
  padding: 10px 0 16px;
  text-align: center;
}
.welcome-mark {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  place-items: center;
  border: 1px solid var(--border-info);
  border-radius: 14px;
  background: var(--surface-info-soft);
  color: var(--status-info);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.chat-welcome .eyebrow { margin-bottom: 4px; color: var(--view-accent); }
.chat-welcome h3 {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-size: clamp(19px, 2.3vw, 24px);
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.chat-welcome > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 12px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
}
.suggestion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}
.suggestion-chip {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 255, 135, 0.18);
  border-radius: 12px;
  background: rgba(8, 22, 38, 0.7);
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.suggestion-chip:hover {
  border-color: #00ff87;
  background: rgba(0, 255, 135, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 135, 0.12);
}
.suggestion-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 255, 135, 0.12);
  color: #00ff87;
}
.suggestion-icon svg { width: 18px; height: 18px; }
.suggestion-chip strong { grid-column: 2; display: block; color: #ffffff; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.suggestion-chip span:not(.suggestion-icon) { grid-column: 2; display: block; color: #94a3b8; font-size: 11px; line-height: 1.35; }
.composer {
  flex: 0 0 auto;
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 10px 14px 8px;
  border-color: var(--border-default);
  border-radius: 12px;
  background: var(--surface-container-low);
}
.composer textarea { min-height: 48px; max-height: 160px; padding: 2px 0; }
.composer > div { flex-wrap: wrap; }
.composer-hint { color: var(--text-muted); font-size: 10px; }
.composer > div button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 86px; min-height: 38px; }
.history-backdrop { display: none; }
.confirm-dialog { width: min(420px, calc(100% - 28px)); padding: 0; border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--surface-container-high); color: var(--text-primary); box-shadow: var(--shadow-float); }
.confirm-dialog::backdrop { background: color-mix(in srgb, var(--surface-overlay) 76%, transparent); backdrop-filter: blur(4px); }
.confirm-dialog form { display: grid; gap: 12px; padding: 24px; }
.dialog-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--surface-warning-medium); color: var(--status-warning); font-weight: 900; }
.confirm-dialog h2 { margin: 0; font-size: 19px; }
.confirm-dialog p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }
.confirm-dialog p strong { color: var(--text-primary); }
.confirm-dialog form > div { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.danger-button { min-height: 44px; padding: 8px 13px; border: 1px solid color-mix(in srgb, var(--status-error) 50%, transparent); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--status-error) 13%, transparent); color: var(--status-error); font-size: 11px; font-weight: 800; }
.danger-button:hover { background: color-mix(in srgb, var(--status-error) 22%, transparent); }
@media (max-width: 900px) {
  .ai-layout { display: block; min-height: calc(100dvh - 160px); }
  .chat-sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: var(--z-modal); width: min(320px, calc(100vw - 42px)); height: 100dvh; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; transform: translateX(-105%); transition: transform var(--duration-standard) var(--ease-standard); }
  .chat-sidebar.is-open { transform: translateX(0); }
  .history-toggle { display: inline-grid; }
  .history-backdrop { position: fixed; inset: 0; z-index: calc(var(--z-modal) - 1); display: block; border: 0; background: color-mix(in srgb, var(--surface-overlay) 72%, transparent); }
  .history-backdrop[hidden] { display: none; }
  .chat-panel { height: calc(100dvh - 160px); min-height: 600px; }
  body.history-open { overflow: hidden; }
}
@media (max-width: 620px) {
  .chat-panel { height: calc(100dvh - 142px); min-height: calc(100dvh - 142px); padding: 0 14px 12px; border-radius: var(--radius-md); }
  .chat-header { min-height: 72px; padding: 12px 0 !important; }
  .chat-header h2 { font-size: 17px; }
  .chat-header .muted { max-width: 190px; font-size: 10px; }
  .chat-panel > header .compact-new-chat { width: 38px; height: 38px; min-width: 38px; padding: 0; overflow: hidden; font-size: 0; }
  .compact-new-chat span { font-size: 20px; }
  .messages { padding: 18px 0 9px; }
  .chat-welcome { padding: 10px 0 20px; }
  .chat-welcome h3 { font-size: 23px; }
  .suggestion-list { grid-template-columns: 1fr; gap: 7px; margin-top: 18px; }
  .suggestion-chip { min-height: 54px; }
  .composer-hint { display: none; }
  .composer { padding: 10px 11px 8px; }
  .composer textarea { min-height: 46px; }
  .message { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-sidebar { transition: none; }
}

.analysis-view-card { display: grid; gap: 14px; margin-top: 14px; padding: 16px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-container-low); }
.analysis-view-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.analysis-view-card h3, .analysis-view-card h4 { margin: 0; color: var(--text-primary); }
.analysis-view-card h3 { font-size: 18px; }
.analysis-view-card h4 { font-size: 12px; }
.analysis-status { flex: 0 0 auto; padding: 5px 8px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 10px; font-weight: 800; }
.analysis-status-available { border-color: var(--border-success); color: var(--status-success); }
.analysis-status-partial, .analysis-status-stale { border-color: var(--border-warning); color: var(--status-warning); }
.analysis-status-empty, .analysis-status-error { border-color: var(--border-error); color: var(--status-error); }
.analysis-state { margin: 0; padding: 9px 10px; border-left: 3px solid var(--status-warning); background: var(--surface-warning-soft); color: var(--text-secondary); font-size: 11px; }
.analysis-state-error, .analysis-state-empty { border-left-color: var(--status-error); background: var(--surface-error-soft); }
.analysis-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.analysis-metric { min-width: 0; padding: 10px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--surface-container); }
.analysis-metric span, .analysis-metric small { display: block; color: var(--text-muted); font-size: 10px; }
.analysis-metric strong { display: block; margin: 4px 0; overflow-wrap: anywhere; color: var(--text-primary); font-size: 16px; }
.analysis-table-wrap { max-width: 100%; overflow-x: auto; }
.analysis-table-wrap table { width: 100%; min-width: 500px; border-collapse: collapse; font-size: 11px; }
.analysis-table-wrap caption { margin-bottom: 8px; color: var(--text-primary); font-size: 12px; font-weight: 800; text-align: left; }
.analysis-table-wrap th, .analysis-table-wrap td { padding: 8px 7px; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); text-align: left; }
.analysis-table-wrap th { color: var(--text-primary); font-weight: 800; }
.analysis-view-matches ul, .analysis-view-sources ul { display: grid; gap: 7px; margin: 8px 0 0; padding: 0; list-style: none; }
.analysis-view-matches li, .analysis-view-sources li { display: grid; gap: 3px; padding: 7px 0; border-bottom: 1px solid var(--border-subtle); }
.analysis-view-matches li span, .analysis-view-sources li small { color: var(--text-muted); font-size: 10px; }
.analysis-view-matches li strong, .analysis-view-sources li a { overflow-wrap: anywhere; color: var(--text-secondary); font-size: 11px; }
.analysis-view-interpretation {
  margin-top: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 135, 0.25);
  background: rgba(8, 22, 38, 0.75);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.analysis-view-interpretation h4 {
  margin: 0 0 10px;
  color: var(--view-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.analysis-body-content {
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.68;
}
.analysis-body-content p {
  margin: 0 0 12px;
}
.analysis-body-content p:last-child {
  margin-bottom: 0;
}
.analysis-body-content h2, .analysis-body-content h3, .analysis-body-content h4 {
  margin: 14px 0 8px;
  font-weight: 700;
}
.analysis-body-content h2, .analysis-body-content .chat-heading-h2 {
  color: #00ff87;
  font-size: 15px;
  border-bottom: 1px solid rgba(0, 255, 135, 0.2);
  padding-bottom: 4px;
}
.analysis-body-content h3, .analysis-body-content .chat-heading-h3 {
  color: #00f2fe;
  font-size: 14px;
}
.analysis-body-content h4, .analysis-body-content .chat-heading-h4 {
  color: #cbd5e1;
  font-size: 13px;
}
.analysis-body-content ul {
  margin: 8px 0 14px 20px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.analysis-body-content ul li {
  color: #cbd5e1;
  line-height: 1.55;
}
.analysis-body-content strong {
  color: #00f2fe;
  font-weight: 700;
}
@media (max-width: 760px) {
  .analysis-view-card { padding: 13px; }
  .analysis-view-card > header { display: grid; }
  .analysis-status { justify-self: start; }
  .analysis-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.news-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-container);
}
.news-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-media-missing { display: grid; place-items: center; color: var(--text-muted); font-size: 11px; }
.news-media-detail { width: min(100%, 28rem); }
.news-detail-hero { display: grid; grid-template-columns: minmax(12rem, 28rem) minmax(0, 1fr); gap: 1.4rem; align-items: center; margin-top: 1rem; }
.news-detail-hero h2 { margin: .35rem 0 .6rem; }
.news-editorial-badge { display: inline-block; padding: .3rem .5rem; border: 1px solid var(--border-brand-subtle); border-radius: 999px; color: var(--brand-strong); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.news-source-note { margin: 1rem 0; color: var(--text-muted); font-size: 11px; line-height: 1.55; }
.news-editorial-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.news-claim-status { padding: .35rem .55rem; border: 1px solid var(--border-brand-subtle); border-radius: 999px; color: var(--brand-strong); font-size: 10px; font-weight: 800; }
.news-editorial-summary { color: var(--text-secondary); font-size: 15px; line-height: 1.65; }
.news-editorial-section { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border-subtle); }
.news-editorial-section h4 { margin: 0 0 .55rem; color: var(--text-primary); font-size: 13px; }
.news-editorial-section ul { display: grid; gap: .45rem; margin: 0; padding-left: 1.1rem; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }
.news-editorial-body { color: var(--text-secondary); font-size: 13px; line-height: 1.7; }
.news-editorial-body p { margin: 0 0 .8rem; }
.news-uncertainty { color: var(--status-warning); }
.news-question-answer { margin-top: .9rem; }
.news-answer { padding: .9rem; border: 1px solid var(--border-subtle); border-radius: .8rem; background: var(--surface-container); }
.news-answer p { color: var(--text-secondary); line-height: 1.6; }
.news-answer-note { color: var(--status-warning) !important; font-size: 11px; }
.news-answer small { display: block; margin-top: .7rem; overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .news-detail-hero { grid-template-columns: 1fr; gap: .9rem; }
  .news-media-detail { width: 100%; }
}

/* ==========================================================================
   STADYUM ANALİTİĞİ — PROFILE VIEW STYLES
   ========================================================================== */

.profile-hero-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--view-border, rgba(103, 217, 245, 0.3));
  border-radius: var(--radius-lg, 16px);
  background: linear-gradient(135deg, rgba(13, 35, 58, 0.95) 0%, rgba(6, 17, 30, 0.98) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.profile-hero-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 217, 245, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.profile-hero-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 84px;
  height: 84px;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border: 2px solid var(--view-accent, #67d9f5);
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-container, #0d233a);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.avatar-status-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid #080f1a;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.profile-info-main {
  flex: 1;
  min-width: 0;
}

.profile-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.profile-name-row h1 {
  margin: 0;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.user-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1px solid rgba(103, 217, 245, 0.4);
  border-radius: 999px;
  background: rgba(103, 217, 245, 0.12);
  color: #67d9f5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.profile-fav-team-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
}

.profile-fav-team-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.profile-subtitle {
  margin: 0.35rem 0 1rem;
  color: var(--text-muted, #94a3b8);
  font-size: 13px;
}

.profile-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stat-pill {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(13, 35, 58, 0.6);
}

.stat-pill small {
  display: block;
  color: var(--text-muted, #64748b);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.stat-pill strong {
  display: block;
  margin-top: 2px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

/* Main Profile Grid */
.profile-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.profile-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: flex-start;
}

.profile-section-card {
  padding: 1.35rem;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  background: var(--surface-card, rgba(13, 35, 58, 0.6));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  height: auto;
}

/* Profile Edit Form */
.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}

.profile-form-grid .full-width {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  justify-content: flex-start;
  align-items: stretch;
}

.form-group label {
  display: block !important;
  margin: 0 0 2px 0 !important;
  color: var(--text-secondary, #cbd5e1);
  font-size: 12px;
  font-weight: 600;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: 9px;
  background: rgba(8, 15, 26, 0.8);
  color: #ffffff;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--view-accent, #67d9f5);
  box-shadow: 0 0 0 3px rgba(103, 217, 245, 0.15);
  outline: none;
}

.avatar-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.preset-avatars-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.preset-label {
  color: var(--text-muted, #64748b);
  font-size: 11px;
  font-weight: 600;
}

.preset-avatar-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.preset-avatar-btn:hover {
  transform: scale(1.15);
  border-color: var(--view-accent, #67d9f5);
}

.preset-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Follow Hub */
.follow-add-form {
  margin-top: 1rem;
}

.follow-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.follow-type-wrap select {
  min-width: 110px;
  padding: 10px 10px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: 9px;
  background: rgba(8, 15, 26, 0.8);
  color: #ffffff;
  font-size: 12px;
}

.follow-name-wrap {
  position: relative;
  flex: 1;
}

.follow-name-wrap input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: 9px;
  background: rgba(8, 15, 26, 0.8);
  color: #ffffff;
  font-size: 13px;
}

.follow-submit-btn {
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 9px;
}

.quick-follow-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.quick-follow-title {
  color: var(--text-muted, #64748b);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.quick-follow-chips {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-chip {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.quick-chip:hover {
  border-color: var(--view-accent, #67d9f5);
  background: rgba(103, 217, 245, 0.12);
  color: #ffffff;
}

.follow-filter-bar {
  margin-top: 1rem;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  padding-bottom: 0.75rem;
}

.follow-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.follow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(8, 15, 26, 0.6);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.follow-card:hover {
  transform: translateY(-2px);
  border-color: var(--view-accent, #67d9f5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.follow-card-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.follow-card-logo-wrap {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
}

.follow-card-logo-wrap img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.follow-card-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.follow-card-info strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.follow-type-tag {
  display: inline-block;
  color: var(--text-muted, #64748b);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.follow-card-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.follow-action-btn {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--view-accent, #67d9f5);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.follow-remove-btn {
  padding: 4px 8px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.follow-remove-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
}

/* Preferences Layout */
.preferences-form-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.pref-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.toggle-switch-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.toggle-text {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.pref-lang-select select {
  padding: 6px 10px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background: rgba(8, 15, 26, 0.8);
  color: #ffffff;
}
/* Compact Preferences Layout */
.preferences-form-compact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.85rem;
}

.preferences-form-compact .pref-top-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.preferences-form-compact .toggle-switch-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.6rem !important;
  margin: 0 !important;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.preferences-form-compact input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
  accent-color: var(--view-accent, #67d9f5) !important;
  cursor: pointer !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.pref-chips-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem 0.6rem !important;
  margin: 0.25rem 0 !important;
}

.pref-chip-checkbox {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  background: rgba(8, 15, 26, 0.6) !important;
  color: var(--text-secondary, #cbd5e1) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  user-select: none;
}

.pref-chip-checkbox span {
  white-space: nowrap !important;
  color: inherit !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  display: inline-block !important;
}

.pref-chip-checkbox:hover {
  border-color: rgba(103, 217, 245, 0.3) !important;
  background: rgba(103, 217, 245, 0.06) !important;
}

.pref-chip-checkbox:has(input:checked) {
  border-color: rgba(103, 217, 245, 0.5) !important;
  background: rgba(103, 217, 245, 0.14) !important;
  color: #ffffff !important;
}

.pref-action-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.pref-action-row button {
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .pref-chips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.prediction-blocks-wrapper {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.prediction-block h3 {
  margin: 0 0 0.5rem;
  color: var(--text-secondary, #cbd5e1);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .profile-main-grid {
    grid-template-columns: 1fr;
  }
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
  .profile-hero-content {
    flex-direction: column;
    text-align: center;
  }
  .profile-name-row {
    justify-content: center;
  }
  .profile-stats-bar {
    justify-content: center;
  }
  .follow-input-group {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .compare-vs-header { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .compare-center-vs { order: -1; }
  .compare-player-side.right { flex-direction: row; text-align: left; }
  .compare-row-item { grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr); gap: 6px; padding: 8px 6px; }
  .stat-label { white-space: normal; line-height: 1.2; }
  .stat-num { min-width: 0; font-size: 11px; }
  .metric-leader-badge { font-size: 8px; }
  .h2h-ai-grid { grid-template-columns: 1fr; }
  .h2h-ai-heading { align-items: flex-start; }
  .compare-submit-btn { width: 100%; }
}

/* Futistik AI Core — stadium glass HUD */
.chat-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(10, 20, 35, 0.75);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.chat-panel::before {
  position: absolute;
  inset: -20%;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 255, 135, 0.19), transparent 34%),
    radial-gradient(circle at 92% 82%, rgba(0, 242, 254, 0.16), transparent 38%);
  filter: blur(30px);
}
.chat-panel > * { position: relative; z-index: 1; }
.chat-header { align-items: center !important; }
.chat-core-identity { min-width: 0; }
.chat-core-title { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.chat-core-title .eyebrow { margin: 0; color: #00ff87 !important; }
.ai-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff87;
  box-shadow: 0 0 0 4px rgba(0, 255, 135, 0.12), 0 0 14px rgba(0, 255, 135, 0.75);
  animation: ai-live-pulse 1.8s ease-in-out infinite;
}
.ai-live-status { color: #9eb8bb; font-size: 10px; letter-spacing: .01em; }
.chat-header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ai-model-badge {
  padding: 7px 10px;
  border: 1px solid rgba(0, 242, 254, 0.24);
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.08);
  color: #9deaf0;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.chat-welcome { padding-top: 30px; }
.welcome-mark {
  border-color: rgba(0, 255, 135, 0.42);
  background: linear-gradient(145deg, rgba(0, 255, 135, 0.16), rgba(0, 242, 254, 0.13));
  color: #00ff87;
  box-shadow: 0 0 26px rgba(0, 255, 135, 0.14);
}
.chat-welcome h3 { text-wrap: balance; }
.welcome-subtitle { max-width: 520px !important; }
.suggestion-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.suggestion-chip {
  position: relative;
  min-height: 130px;
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(16, 35, 52, 0.86), rgba(11, 23, 38, 0.72));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.suggestion-chip:hover, .suggestion-chip:focus-visible, .suggestion-chip.is-sending {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 135, 0.46);
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.3);
}
.suggestion-icon { color: #00ff87; font-size: 18px; }
.suggestion-chip strong { font-size: 12px; }
.suggestion-chip > span:last-child { line-height: 1.45; }
.message-content { display: grid; gap: 9px; min-width: 0; }
.message-author { display: flex; align-items: center; gap: 7px; }
.message-author b { margin: 0; color: #a8bcc7; }
.message-layer { border-radius: 14px; }
.message-layer-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.message-layer-heading strong { color: #dce8ee; font-size: 11px; letter-spacing: .02em; }
.layer-status { color: #00ff87; font-size: 10px; font-weight: 800; }
.message-layer-commentary { border-color: rgba(0, 242, 254, 0.18); background: linear-gradient(135deg, rgba(0, 242, 254, 0.09), rgba(16, 28, 45, 0.84)); }
.assistant-message .message-layer-commentary { padding: 14px 16px; }
.message-layer-user { border-color: rgba(0, 242, 254, 0.28); background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.1)); }
.user-message .message-content { justify-items: end; }
.user-message .message-author { justify-content: flex-end; }
.message-layer-source {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 7px 14px;
  padding: 8px 2px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  color: #8299a3;
  font-size: 10px;
  line-height: 1.4;
}
.message-layer-source a { color: #8de8e8; }
.message-layer-insight { background: rgba(9, 24, 39, 0.72); }
.message-bubble p { margin: 0 0 10px; line-height: 1.65; color: #e2e8f0; }
.message-bubble p:last-child { margin-bottom: 0; }
.chat-heading-h2, .chat-heading-h3, .chat-heading-h4 { margin: 16px 0 10px; font-weight: 700; letter-spacing: -0.01em; }
.chat-heading-h2 { font-size: 15px; border-bottom: 1px solid rgba(0, 255, 135, 0.25); padding-bottom: 6px; color: #00ff87; }
.chat-heading-h3 { font-size: 14px; color: #00f2fe; }
.chat-heading-h4 { font-size: 13px; color: #cbd5e1; }
.chat-list { margin: 8px 0 14px 20px; padding: 0; display: grid; gap: 6px; }
.chat-list li { line-height: 1.5; color: #cbd5e1; }
.chat-table-wrapper { width: 100%; overflow-x: auto; margin: 14px 0; border-radius: 12px; border: 1px solid rgba(0, 255, 135, 0.22); background: rgba(10, 24, 40, 0.85); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); scrollbar-width: thin; }
.chat-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.chat-table th { padding: 10px 14px; background: rgba(0, 255, 135, 0.1); color: #00ff87; font-weight: 700; border-bottom: 1px solid rgba(0, 255, 135, 0.3); white-space: nowrap; }
.chat-table td { padding: 9px 14px; color: #e2e8f0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.chat-table tr:last-child td { border-bottom: none; }
.chat-table tr:hover td { background: rgba(0, 255, 135, 0.06); }
.chat-table td strong { color: #00f2fe; font-weight: 700; }
.chat-callout { margin: 12px 0; padding: 10px 14px; border-left: 3px solid #00ff87; border-radius: 0 10px 10px 0; background: rgba(0, 255, 135, 0.06); color: #cbd5e1; font-size: 12px; line-height: 1.5; }
.chat-code { padding: 2px 6px; border-radius: 4px; background: rgba(0, 242, 254, 0.12); color: #00f2fe; font-family: monospace; font-size: 11px; }
.chat-code-block { margin: 12px 0; padding: 12px 14px; overflow-x: auto; border: 1px solid rgba(0, 242, 254, 0.2); border-radius: 10px; background: rgba(5, 15, 28, 0.9); color: #d8f7f1; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }
.chat-code-block code { font: inherit; }
.chat-table-cell.align-left { text-align: left; }
.chat-table-cell.align-center { text-align: center; }
.chat-table-cell.align-right { text-align: right; }
.chat-task-item { display: flex; align-items: flex-start; gap: 7px; list-style: none; margin-left: -20px; }
.chat-task-item input { flex: 0 0 auto; margin-top: 4px; accent-color: #00ff87; }
.typing-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; color: #b9d4d7; font-size: 11px; }
.typing-dots { display: inline-flex; gap: 3px; padding-left: 3px; }
.typing-dots i { width: 4px; height: 4px; border-radius: 50%; background: #00ff87; animation: typing-dot 1.1s ease-in-out infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
.typing-progress { height: 3px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }
.typing-progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #00ff87, #00f2fe); box-shadow: 0 0 10px rgba(0, 255, 135, 0.7); animation: typing-progress 1.8s ease-in-out infinite; }
@property --neon-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes neon-rotate {
  0% { --neon-angle: 0deg; }
  100% { --neon-angle: 360deg; }
}

.composer {
  position: relative;
  border-radius: 16px;
  border: 1px solid transparent !important;
  background: rgba(7, 19, 32, 0.88);
  background-clip: padding-box;
  padding: 14px 16px 10px;
}

.composer::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: conic-gradient(from var(--neon-angle, 0deg), #00ff87 0%, #00f2fe 35%, #0d59b7 65%, #00ff87 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: neon-rotate 5s linear infinite;
  opacity: 0.85;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.composer:focus-within::before {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(0, 255, 135, 0.6)) drop-shadow(0 0 16px rgba(0, 242, 254, 0.4));
  animation: neon-rotate 3s linear infinite;
}

.composer textarea {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  max-height: 160px;
  overflow-y: hidden;
  resize: none;
}
.composer-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.composer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; justify-content: flex-end; width: 100%; }
.composer > .composer-toolbar button[type="submit"] { min-width: 88px; min-height: 42px; border-radius: 999px; }
.composer > .composer-toolbar button[type="submit"]:disabled { opacity: .45; box-shadow: none; }
.composer > .composer-toolbar button[type="submit"].is-ready { border-color: #00ff87; background: #00ff87; color: #061b14; box-shadow: 0 0 18px rgba(0, 255, 135, 0.35); }
.new-chat-button { box-shadow: 0 0 18px rgba(0, 255, 135, 0.18); }
.chat-sidebar { background: rgba(10, 20, 35, 0.78); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.conversation-kind { display: inline-grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 7px; background: rgba(0, 242, 254, 0.08); font-size: 12px; }
.conversation-menu-button { opacity: .25; transition: opacity 160ms ease, color 160ms ease, background 160ms ease; }
.conversation-row:hover .conversation-menu-button, .conversation-menu-button:focus-visible { opacity: 1; }
@keyframes ai-live-pulse { 0%, 100% { opacity: .72; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes typing-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes typing-progress { 0% { transform: translateX(-120%); } 100% { transform: translateX(250%); } }
@media (max-width: 767px) {
  .ai-layout { min-height: calc(100dvh - 150px); }
  .chat-panel { height: calc(100dvh - 142px); min-height: calc(100dvh - 142px); }
  .chat-header-actions { gap: 5px; }
  .ai-live-status, .ai-model-badge { display: none; }
  .suggestion-list { grid-template-columns: 1fr; }
  .suggestion-chip { min-height: 86px; }
  /* Flex akışı composer için alan ayırır; sticky katman karşılama çiplerinin üstüne binmez. */
  .composer { position: relative; bottom: auto; z-index: 1; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .composer-toolbar { display: grid; align-items: stretch; }
  .chat-context-strip { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; }
  .chat-context-strip::-webkit-scrollbar { display: none; }
  .composer-meta { justify-content: space-between; min-height: 44px; }
  .composer > .composer-toolbar button[type="submit"] { min-width: 44px; width: 44px; padding-inline: 0; }
  .send-button-label { display: none; }
  .conversation-menu-button { opacity: 1; }
  .message-content { max-width: 100%; }
  .verified-data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .message-layer-source { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-live-dot, .typing-dots i, .typing-progress span { animation: none; }
  .suggestion-chip { transition: none; }
}

/* ==========================================================================
   SİTE FOOTER & YASAL KORUMA (LEGAL DISCLAIMER & KVKK)
   ========================================================================== */
.site-footer {
  margin-top: 50px;
  background: rgba(8, 15, 26, 0.95);
  border-top: 1px solid rgba(0, 240, 255, 0.12);
  padding: 44px 20px 30px;
  color: #8A99AD;
  font-size: 13px;
  line-height: 1.6;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.5fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #F0F6FC;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-logo span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #00F0FF, #7000FF);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 900;
}

.footer-tagline {
  color: #00F0FF;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 12px;
  color: #8A99AD;
  max-width: 320px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #F0F6FC;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.footer-links button {
  background: none;
  border: none;
  color: #8A99AD;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 150ms ease;
}

.footer-links button:hover,
.footer-links button:focus-visible {
  color: #00F0FF;
  text-decoration: underline;
}

.footer-disclaimer-box {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 12px;
  padding: 16px;
}

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

.disclaimer-header h4 {
  font-size: 13px;
  font-weight: 700;
  color: #FBBF24;
  margin: 0;
}

.disclaimer-icon {
  font-size: 14px;
}

.footer-disclaimer-box p {
  margin: 0;
  font-size: 11.5px;
  color: #D1D5DB;
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer-kvkk {
  font-size: 11px;
  color: #6B7280;
  max-width: 800px;
  margin: 0;
}

.footer-copyright {
  font-size: 11.5px;
  color: #9CA3AF;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-desc {
    max-width: 100%;
  }
}

/* ==========================================================================
   FUTİSTİK HERO BANNER DİNAMİK MARK & AVATAR
   ========================================================================== */
.hero-dynamic-mark {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center;
  width: 150px;
  height: 150px;
  min-width: 150px;
  max-width: 150px;
  border-radius: 50% !important;
  background: radial-gradient(circle at 35% 35%, rgba(0, 240, 255, 0.22), rgba(10, 25, 47, 0.92)) !important;
  border: 2px solid rgba(0, 240, 255, 0.45) !important;
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.3), inset 0 0 25px rgba(0, 255, 135, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 auto;
  box-sizing: border-box;
}
.hero-dynamic-mark:hover {
  transform: scale(1.04);
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.5), inset 0 0 35px rgba(0, 255, 135, 0.25) !important;
  border-color: rgba(0, 255, 135, 0.7) !important;
}
.hero-dynamic-mark [hidden],
.hero-avatar-wrap[hidden],
.hero-logo-mark[hidden] {
  display: none !important;
}
.hero-logo-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  text-align: center !important;
  pointer-events: none;
  user-select: none;
}
.hero-logo-mark .hero-logo-letter {
  font-size: 54px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  background: linear-gradient(135deg, #00FF87 0%, #00F0FF 50%, #38BDF8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(0, 255, 135, 0.45));
  margin: 0 !important;
  padding: 0 !important;
}
.hero-logo-mark .hero-logo-text {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  color: #E2E8F0 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hero-avatar-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ==========================================================================
   HABER KARTI ÇOKLU KATEGORİ ROZETLERİ (MAX 3 CHIP)
   ========================================================================== */
.news-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 6px;
}
.news-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(14, 165, 233, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.news-category-badge:first-child {
  background: rgba(0, 255, 135, 0.14);
  color: #00FF87;
  border-color: rgba(0, 255, 135, 0.35);
}
.news-category-badge:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   PROFİL FAVORİ TAKIM LOGOLU AUTOCOMPLETE
   ========================================================================== */
.profile-team-group {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.fav-team-input-wrap {
  position: relative !important;
  width: 100% !important;
  flex: none !important;
  min-width: 0 !important;
}
.fav-team-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  z-index: 100;
  background: #0B192C !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  max-height: 260px;
  overflow-y: auto;
}
.selected-team-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #E2E8F0;
  font-size: 12.5px;
  font-weight: 700;
}
.selected-team-preview-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ==========================================================================
   ZENGİN MAÇ DETAY SAYFASI (MATCH DETAIL UI)
   ========================================================================== */
.fixture-hero-scoreboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(13, 35, 58, 0.85), rgba(6, 17, 30, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}
.fixture-teams-hero-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.fixture-hero-team {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fixture-hero-team.away {
  flex-direction: row-reverse;
  text-align: right;
}
.fixture-hero-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.fixture-hero-name {
  font-size: 20px;
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: -0.02em;
}
.fixture-score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.fixture-score-main {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #00FF87;
  text-shadow: 0 0 18px rgba(0, 255, 135, 0.35);
}
.fixture-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
}
.fixture-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fixture-meta-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94A3B8;
}
.fixture-meta-pill strong {
  color: #E2E8F0;
}

/* Timeline */
.timeline-event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline-event-item {
  display: grid;
  grid-template-columns: 48px auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}
.timeline-event-item:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.3);
}
.timeline-minute {
  font-size: 12px;
  font-weight: 800;
  color: #00FF87;
  text-align: center;
  padding: 2px 6px;
  background: rgba(0, 255, 135, 0.12);
  border-radius: 4px;
}
.timeline-event-icon {
  font-size: 16px;
}
.timeline-event-detail strong {
  color: #F1F5F9;
  font-size: 12.5px;
}
.timeline-event-detail small {
  display: block;
  color: #94A3B8;
  font-size: 11px;
}

/* Match Stats Comparison Bars */
.stats-comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.stat-comparison-row {
  display: grid;
  grid-template-columns: 45px 1fr 140px 1fr 45px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.stat-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.stat-bar-fill-home {
  height: 100%;
  background: linear-gradient(90deg, #0EA5E9, #38BDF8);
  border-radius: 4px;
  float: right;
  transition: width 0.4s ease;
}
.stat-bar-fill-away {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #34D399);
  border-radius: 4px;
  float: left;
  transition: width 0.4s ease;
}
.stat-name-label {
  text-align: center;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
}
.stat-val-home {
  text-align: right;
  font-weight: 800;
  color: #38BDF8;
}
.stat-val-away {
  text-align: left;
  font-weight: 800;
  color: #34D399;
}