@font-face {
  font-family: 'Jersey 10';
  src: url('./assets/fonts/Jersey10-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b1114;
  --panel: #111a1e;
  --panel-raised: #172328;
  --line: #2b3b40;
  --text: #f4f7f3;
  --muted: #829397;
  --lime: #c8f169;
  --red: #fb7468;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse at 50% -20%, #26372d 0, transparent 44%), linear-gradient(90deg, transparent 49.9%, #ffffff05 50%, transparent 50.1%);
  font-family: Arial, Helvetica, sans-serif;
}
.shell { max-width: 1220px; margin: 0 auto; padding: 28px 36px 44px; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 24px; border-bottom: 1px solid #ffffff14; }
.topbar-tools { display: flex; align-items: center; gap: 18px; }
.logout-form { margin: 0; }
.logout-button { padding: 8px 10px; border: 1px solid #344534; border-radius: 4px; color: var(--lime); background: #c8f1690a; cursor: pointer; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.logout-button:hover { background: #c8f16918; }
.api-quota { display: grid; gap: 3px; padding-left: 12px; border-left: 1px solid #ffffff18; color: #a5b3b2; font-size: 9px; line-height: 1.25; white-space: nowrap; }
.quota-label { color: #768888; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.quota-values { color: #c8d2ca; font-variant-numeric: tabular-nums; }
.quota-note { color: var(--lime); font-size: 8px; }
.api-quota[data-state="paused"] .quota-note, .api-quota[data-state="unavailable"] .quota-values { color: var(--red); }
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; max-width: 100%; }
.brand-mark { width: 80px; height: 80px; flex: 0 0 80px; overflow: hidden; border-radius: 14px; }
/* Keep the supplied original unchanged; crop only its phone screenshot margins. */
.brand-logo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.status { display: flex; align-items: center; gap: 9px; color: #a5b3b2; font-size: 11px; letter-spacing: 1.4px; }
.dot { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 10px #c8f16988; }
.slash { color: #465457; }
.language-switch { display: flex; align-items: center; gap: 6px; color: #58686b; font-size: 11px; letter-spacing: 1px; }
.language-switch button { padding: 5px 4px; border: 0; border-radius: 3px; color: #829397; background: transparent; cursor: pointer; font: inherit; font-weight: 700; letter-spacing: inherit; }
.language-switch button:hover, .language-switch button:focus-visible { color: var(--text); outline: none; }
.language-switch button[aria-pressed="true"] { color: var(--lime); background: #c8f16912; }
.access-mode-button { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid #344534; border-radius: 4px; color: var(--lime); background: #c8f1690a; font-size: 9px; font-weight: 700; letter-spacing: .7px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.access-mode-button:hover { border-color: #c8f16970; background: #c8f16918; }
.access-mode-button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.hero { display: flex; justify-content: space-between; align-items: flex-end; padding: 54px 0 36px; }
.eyebrow { margin-bottom: 12px; color: var(--lime); font-family: 'Jersey 10', 'Arial Narrow', 'Franklin Gothic Medium', Arial, sans-serif; font-size: 15px; font-weight: 400; letter-spacing: 2.4px; text-shadow: 0 1px 12px #000b; text-transform: uppercase; }
.hero > div:first-child { min-width: 0; flex: 1 1 auto; }
.hero h1 { width: 100%; max-width: 1160px; margin: 0; font-family: 'Jersey 10', 'Arial Narrow', 'Franklin Gothic Medium', Arial, sans-serif; font-size: clamp(52px, 6.5vw, 82px); font-weight: 400; line-height: .88; letter-spacing: .1px; overflow-wrap: anywhere; text-shadow: 0 2px 22px #000b; }
.hero h1 span { color: var(--lime); }
.hero p { margin: 16px 0 0; color: #9ba9aa; font-size: 14px; }
.season { color: #819092; font-size: 12px; letter-spacing: 1.4px; text-align: right; }
.season strong { display: block; margin-top: 6px; color: #f0f4ef; font-size: 23px; letter-spacing: 1px; }

.match-card { position: relative; overflow: hidden; padding: 28px 32px 30px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg, var(--panel-raised), var(--panel) 55%); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.card-title { font: 700 19px 'Arial Narrow', 'Franklin Gothic Medium', Arial, sans-serif; letter-spacing: 1.3px; text-transform: uppercase; }
.card-hint { color: #859597; font-size: 11px; }
.teams { display: grid; grid-template-columns: 1fr 50px 1fr; gap: 18px; align-items: end; }
.league-field { grid-column: 1 / -1; min-width: 0; }
.league-control { position: relative; }
.league-field input { width: 100%; height: 51px; padding: 0 15px; outline: none; border: 1px solid #304147; border-radius: 6px; color: var(--text); background: #0c1417; font-size: 15px; font-weight: 600; transition: .2s; }
.league-field input::placeholder { color: #607174; }
.league-field input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px #c8f16915; }
.league-options { position: absolute; z-index: 5; top: calc(100% + 5px); right: 0; left: 0; max-height: 260px; overflow-y: auto; border: 1px solid #3a4d3d; border-radius: 6px; background: #111a1e; box-shadow: 0 14px 30px #0008; }
.league-option { display: flex; width: 100%; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 0; border-bottom: 1px solid #ffffff12; color: var(--text); background: transparent; cursor: pointer; text-align: left; }
.league-option:last-child { border-bottom: 0; }
.league-option:hover, .league-option:focus { outline: 0; background: #c8f16912; }
.league-option small { color: var(--muted); white-space: nowrap; }
.league-status { display: block; min-height: 15px; margin-top: 7px; color: #829397; font-size: 10px; }
.field-label { display: flex; gap: 8px; align-items: center; margin-bottom: 9px; color: #96a5a6; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.field-label i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; }
.team-field.away .field-label i { background: var(--red); }
.team-field input { width: 100%; height: 51px; padding: 0 15px; outline: none; border: 1px solid #304147; border-radius: 6px; color: var(--text); background: #0c1417; font-size: 15px; font-weight: 600; transition: .2s; }
.team-field input::placeholder, .entry-row input::placeholder { color: #607174; }
.team-field input:focus, .entry-row input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px #c8f16915; }
.versus { padding-bottom: 17px; color: #607174; font-size: 14px; letter-spacing: 2px; text-align: center; }

#match-details[hidden], .analysis[hidden] { display: none !important; }
.entry-intro { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 32px 0 12px; }
.entry-intro p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.entry-notice { margin-bottom: 12px; padding: 12px 14px; border: 1px solid #344138; border-radius: 5px; color: #aab5a9; background: #c8f16908; font-size: 11px; line-height: 1.6; }
.sample-label { padding: 6px 9px; border: 1px solid #344534; border-radius: 3px; color: #a8b8a2; background: #c8f1690a; font-size: 10px; letter-spacing: 1.1px; white-space: nowrap; }
.sample-label.partial-coverage { max-width: min(560px, 48vw); white-space: normal; line-height: 1.5; }
.sample-label.stale-ranking { border-color: #d5a44780; color: #f2d28c; white-space: normal; line-height: 1.5; }
.sample-label.ranking-error { border-color: #e06b6b80; color: #ffb6ae; white-space: normal; line-height: 1.5; }
.sample-label.ranking-empty { white-space: normal; line-height: 1.5; }
.data-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.entry-card, .results-card { min-width: 0; padding: 17px; border: 1px solid #26363a; border-radius: 8px; background: var(--panel); }
.entry-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.entry-kicker { color: var(--lime); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.away-kicker { color: #fb938a; }
.entry-card h2 { margin: 5px 0 0; font-size: 14px; line-height: 1.4; }
.team-chip { display: block; max-width: 150px; overflow: hidden; padding: 6px 9px; border: 1px solid #344534; border-radius: 4px; color: var(--lime); background: #c8f1690a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.away-chip { border-color: #4a3635; color: #fb9c93; background: #fb74680c; }
.entry-columns, .entry-row { display: grid; grid-template-columns: 20px minmax(90px, 1fr) minmax(90px, 1.2fr) minmax(52px, .65fr) minmax(52px, .65fr) minmax(62px, .75fr); gap: 5px; align-items: center; }
.entry-columns { margin-bottom: 6px; color: #718184; font-size: 8px; letter-spacing: .5px; }
.entry-columns span { text-align: center; }
.entry-row { margin-top: 7px; }
.match-number { color: #718184; font-size: 10px; text-align: center; }
.entry-row input { width: 100%; min-width: 0; height: 34px; padding: 0 7px; outline: none; border: 1px solid #304147; border-radius: 4px; color: var(--text); background: #0c1417; font: 11px Arial, Helvetica, sans-serif; }
.entry-row input[type=number] { padding: 0 2px; text-align: center; }
.entry-row input::-webkit-calendar-picker-indicator { filter: invert(.75); }
.match-outcome { color: #7f9092; font-size: 8px; font-weight: 700; line-height: 1.2; text-align: center; }
.result-w { color: var(--lime) !important; }
.result-d { color: #c3cbc5 !important; }
.result-l { color: #fb938a !important; }

.action-row { display: flex; align-items: center; gap: 15px; margin-top: 23px; }
.analyze { display: flex; height: 48px; align-items: center; gap: 11px; padding: 0 24px; border: 0; border-radius: 5px; color: #10160d; background: var(--lime); cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: 1.1px; transition: transform .15s, background .15s; }
.analyze:hover { background: #d8ff83; transform: translateY(-1px); }
.analyze > span[aria-hidden="true"] { font-size: 18px; }
.analyze:disabled { opacity: .7; cursor: wait; transform: none; }
.loading span { animation: pulse .8s infinite alternate; }
@keyframes pulse { to { opacity: .2; } }
.action-note { color: #768689; font-size: 11px; }
.error { display: none; margin-left: auto; color: #ff9389; font-size: 12px; }
.error.show { display: block; }

.analysis { margin-top: 34px; animation: rise .4s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.section-head h2 { margin: 0; font: 700 20px 'Arial Narrow', 'Franklin Gothic Medium', Arial, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.section-head h2 span { color: var(--lime); }
.metrics { display: grid; grid-template-columns: minmax(0, 360px); gap: 10px; }
.metric { min-height: 99px; padding: 17px 18px; border: 1px solid #26363a; border-radius: 7px; background: var(--panel); }
.score-card { border-color: #3a4d3d; background: linear-gradient(115deg, #25332d, #182321); }
.index-card { min-height: 122px; border-color: #46513b; background: linear-gradient(115deg, #303727, #1b241d); }
.metric-label { color: #aab8aa; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; overflow-wrap: anywhere; }
.metric-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.score-number { color: var(--lime); font: 800 28px 'Arial Narrow', 'Franklin Gothic Medium', Arial, sans-serif; overflow-wrap: anywhere; }
.away-score { color: #e5b276; }
.score-pending { padding: 4px 6px; border: 1px solid #ffffff16; border-radius: 3px; color: #929f98; font-size: 8px; letter-spacing: .7px; white-space: nowrap; }
.metric-sub { margin-top: 3px; color: #97ac8c; font-size: 10px; }
.used-matches { display: grid; gap: 12px; margin-top: 15px; }
.results-card h3 { margin: 0 0 13px; font-size: 13px; letter-spacing: .5px; }
.results-card h3 span { color: var(--lime); }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 11px; }
th { padding: 9px; border-bottom: 1px solid #2a393d; color: #7f9092; font-size: 9px; font-weight: 600; letter-spacing: .8px; text-align: left; }
td { padding: 10px 9px; border-bottom: 1px solid #ffffff0a; color: #c4cfca; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.score-cell, .weighted-cell { color: #f0f4ef; font-weight: 700; }
.disclaimer { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 13px 15px; border: 1px solid #344138; border-radius: 5px; color: #abb7a8; background: #c8f16908; font-size: 11px; }
.info-icon { display: grid; width: 16px; height: 16px; flex: none; place-items: center; border: 1px solid var(--lime); border-radius: 50%; color: var(--lime); font-weight: bold; }
.context-section { margin-top: 24px; }
.context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.context-card { min-width: 0; padding: 17px; border: 1px solid #26363a; border-radius: 7px; background: var(--panel); }
.context-card h3 { margin-bottom: 10px; }
.context-list { display: grid; gap: 8px; }
.absence-item { display: grid; gap: 5px; padding: 11px 12px; border-left: 2px solid var(--lime); background: #ffffff06; color: #aab8b1; font-size: 11px; }
.absence-item strong { color: var(--text); font-size: 12px; }
.context-empty { margin: 0; color: #89999a; font-size: 11px; line-height: 1.5; }
footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 46px; padding-top: 16px; border-top: 1px solid #ffffff12; color: #59696c; font-size: 10px; letter-spacing: .5px; }
.footer-right { color: #657572; }

.scanner-section { margin-top: 38px; }
.scanner-heading { align-items: flex-start; }
.scanner-heading p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.top-ranking { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.top-match { min-width: 0; padding: 16px; border: 1px solid #344138; border-radius: 7px; background: linear-gradient(135deg, #1a2524, #11191c); }
.top-match-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.top-match-head h3 { margin: 0; color: var(--text); font-size: 14px; line-height: 1.4; }
.top-match-head time { flex: none; color: #a0afaa; font-size: 10px; }
.top-league { margin: 8px 0 13px; color: #91a09e; font-size: 10px; }
.top-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.top-metric { display: grid; gap: 6px; padding: 10px; border: 1px solid #ffffff0e; border-radius: 4px; background: #0d1517a8; }
.top-metric span { color: #93a19d; font-size: 8px; letter-spacing: .8px; }
.top-metric strong { color: var(--lime); font-size: 17px; }
.top-metric.away strong { color: #e5b276; }
.top-metric.index { border-color: #46513b; background: #c8f1690b; }
.top-match-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 13px; }
.freshness { color: #99aa9b; font-size: 9px; line-height: 1.5; }
.top-analyze { height: 36px; flex: none; padding: 0 13px; font-size: 9px; letter-spacing: .5px; }
.scanner-empty { margin: 0; padding: 14px; border: 1px solid #26363a; border-radius: 6px; background: var(--panel); }

.team-rankings-section { margin-top: 38px; }
.team-ranking-toolbar { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.team-ranking-toolbar > label { color: #aab8aa; font-size: 9px; letter-spacing: .8px; }
.team-ranking-toolbar > select { max-width: min(100%, 290px); min-height: 36px; padding: 0 10px; border: 1px solid #344534; border-radius: 4px; color: var(--text); background: #0c1417; font: inherit; font-size: 10px; }
.team-ranking-scope { margin: 9px 0 13px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.team-rankings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.team-ranking-panel { min-width: 0; padding: 16px; border: 1px solid #344138; border-radius: 7px; background: linear-gradient(135deg, #1a2524, #11191c); }
.team-ranking-panel h3 { margin: 0 0 12px; color: var(--lime); font-size: 13px; letter-spacing: .5px; }
.team-ranking-list { display: grid; gap: 7px; }
.team-ranking-row { width: 100%; appearance: none; text-align: left; cursor: pointer; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #ffffff0b; border-radius: 4px; color: inherit; background: #0d1517a8; font: inherit; }
.team-ranking-row:hover, .team-ranking-row:focus-visible { border-color: #c8f1698a; background: #17201e; outline: none; }
.team-ranking-row:focus-visible { box-shadow: 0 0 0 2px #c8f16942; }
.team-ranking-row:disabled { opacity: .6; cursor: progress; }
.team-ranking-position { color: #93a19d; font-size: 10px; }
.team-ranking-name { min-width: 0; display: grid; gap: 3px; }
.team-ranking-name strong { overflow: hidden; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.team-ranking-name small { overflow: hidden; color: #89999a; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.team-ranking-score { color: var(--lime); font-size: 13px; font-weight: 700; white-space: nowrap; }
.team-ranking-fixture-detail { margin: 12px 0 14px; padding: 14px 16px; border: 1px solid #c8f16955; border-radius: 6px; background: #0b1416e8; color: var(--text); }
.team-ranking-fixture-detail p { margin: 8px 0 0; color: #abb9b2; font-size: 11px; line-height: 1.5; }
.team-ranking-fixture-heading { color: var(--lime); font-size: 12px; }
.team-ranking-fixture-detail .primary-button { margin-top: 12px; }

.save-selection-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.save-selection-controls [role="status"] { color: var(--muted); font-size: 11px; }
.my-selections-page { margin-top: 34px; }
.my-selections-page > .section-head h1 { margin: 0; font: 400 clamp(30px, 4vw, 44px) 'Jersey 10', 'Arial Narrow', Arial, sans-serif; letter-spacing: 1px; }
.my-selections-page > .section-head p { color: var(--muted); font-size: 12px; }
.my-selections-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.my-selection-card { min-width: 0; padding: 16px; border: 1px solid #344138; border-radius: 7px; background: linear-gradient(135deg, #1a2524, #11191c); }
.my-selection-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.my-selection-heading h2 { min-width: 0; margin: 0; color: var(--text); font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.my-selection-heading time { flex: none; color: #a0afaa; font-size: 10px; }
.my-selection-meta { margin: 10px 0 14px; color: #91a09e; font-size: 11px; line-height: 1.5; }
.my-selection-controls { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; }
.my-selection-controls label { display: grid; gap: 6px; color: #aab8aa; font-size: 10px; letter-spacing: .5px; }
.my-selection-controls select { min-width: 120px; min-height: 40px; padding: 0 10px; border: 1px solid #344534; border-radius: 4px; color: var(--text); background: #0c1417; font: inherit; }
.my-selection-controls .secondary-button { min-height: 40px; padding: 0 13px; }
@media (max-width: 700px) {
  .team-ranking-toolbar { width: 100%; justify-content: flex-start; }
  .team-ranking-toolbar > select { flex: 1 1 100%; max-width: 100%; }
  .my-selections-list { grid-template-columns: 1fr; }
  .my-selection-heading { display: grid; }
  .my-selection-controls { align-items: stretch; }
  .my-selection-controls label, .my-selection-controls select, .my-selection-controls .secondary-button { width: 100%; }
  .save-selection-controls > button { width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; }
  .topbar-tools { flex: 1 1 100%; max-width: 100%; }
  .data-entry { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: minmax(0, 360px); }
  .context-grid { grid-template-columns: 1fr; }
  .top-ranking { grid-template-columns: 1fr; }
  .team-rankings-grid { grid-template-columns: 1fr; }
  .entry-card { padding: 15px; }
  .entry-columns, .entry-row { grid-template-columns: 20px minmax(110px, 1fr) minmax(110px, 1.4fr) minmax(62px, .7fr) minmax(62px, .7fr) minmax(68px, .75fr); }
}
@media (max-width: 700px) {
  .shell { padding: 19px 17px 30px; }
  .topbar { padding-bottom: 16px; }
  .topbar-tools { gap: 10px; }
  .api-quota { padding-left: 8px; font-size: 8px; }
  .status { gap: 6px; font-size: 9px; letter-spacing: .8px; }
  .hero { padding: 39px 0 26px; }
  .season { display: none; }
  .match-card { padding: 21px 17px; }
  .card-head { margin-bottom: 19px; }
  .card-hint { max-width: 130px; text-align: right; }
  .teams { grid-template-columns: 1fr 28px 1fr; gap: 8px; }
  .team-field input { height: 47px; padding: 0 9px; font-size: 13px; }
  .league-field input { height: 47px; padding: 0 9px; font-size: 13px; }
  .versus { font-size: 10px; }
  .metrics { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .metric { min-height: 91px; padding: 14px 13px; }
  .score-number { font-size: 24px; }
  .action-row { flex-wrap: wrap; }
  .action-note { font-size: 10px; }
  .error { width: 100%; margin-left: 0; }
  footer { flex-wrap: wrap; margin-top: 34px; }
}
@media (max-width: 500px) {
  .topbar-tools { align-items: flex-end; flex-direction: column; gap: 5px; }
  .api-quota { padding-left: 0; border-left: 0; text-align: right; }
  .hero h1 { font-size: 40px; }
  .entry-intro { align-items: flex-start; flex-direction: column; }
  .entry-columns, .entry-row { grid-template-columns: 16px minmax(74px, 1fr) minmax(74px, 1fr) 38px 38px 52px; gap: 3px; }
  .entry-columns { font-size: 7px; letter-spacing: 0; }
  .entry-row input { height: 32px; padding: 0 3px; font-size: 10px; }
  .entry-row input[type=date] { font-size: 9px; }
  .entry-card { padding: 10px; }
  .entry-card h2 { font-size: 13px; }
  .team-chip { max-width: 90px; }
  .entry-notice { font-size: 10px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .sample-label { white-space: normal; }
  .top-match-head { flex-direction: column; }
  .top-match-footer { align-items: flex-start; flex-direction: column; }
}

/* Polished DESANT surface: atmospheric stadium lighting stays behind content. */
body {
  overflow-x: clip;
  background: #080d0f;
}
body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: 1;
  background:
    linear-gradient(180deg, #07101766 0%, #07101799 36%, #080d0fcc 76%, #080d0f 100%),
    linear-gradient(90deg, #080d0f88 0%, #080d0f20 28%, #080d0f20 72%, #080d0f88 100%),
    url('./assets/stadium-night.jpg') center 34% / cover no-repeat;
}
.shell { position: relative; z-index: 1; max-width: 1320px; padding-right: clamp(18px, 4vw, 52px); padding-left: clamp(18px, 4vw, 52px); }
.topbar { gap: 20px; border-color: #d4ead51c; }
.topbar-tools { flex-wrap: wrap; justify-content: flex-end; }
.hero { padding-top: clamp(42px, 6vw, 72px); }
.hero h1 { text-wrap: balance; }
.hero p { max-width: 620px; line-height: 1.65; }
.match-card, .metric, .results-card, .context-card, .top-match, .team-ranking-panel {
  border-color: #bbd4c31f;
  box-shadow: 0 18px 48px #00000026, inset 0 1px #ffffff05;
}
.match-card { background: linear-gradient(135deg, #192522f2, #10191bf2 64%); backdrop-filter: blur(10px); }
.results-card, .team-ranking-panel, .top-match { background: linear-gradient(145deg, #17211ff2, #101719f5 74%); }
.scanner-section, .team-rankings-section { margin-top: clamp(30px, 4vw, 48px); }
.section-head { margin-bottom: 18px; }
.section-head h2 { line-height: 1.2; text-wrap: balance; }
.top-ranking { gap: 15px; }
.top-match { padding: clamp(15px, 2vw, 21px); border-radius: 10px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.top-match:hover { transform: translateY(-2px); border-color: #c8f16955; box-shadow: 0 22px 44px #0004, 0 0 24px #c8f16908; }
.top-match-head h3 { overflow-wrap: anywhere; font-size: clamp(14px, 1.5vw, 17px); }
.top-match-head time { padding: 5px 7px; border: 1px solid #ffffff12; border-radius: 4px; background: #080e10a8; font-variant-numeric: tabular-nums; }
.top-league { min-width: 0; line-height: 1.55; }
.top-metric { min-width: 0; padding: 11px; border-radius: 6px; }
.top-metric span { line-height: 1.35; }
.top-metric.index strong { font-size: 21px; }
.top-analyze { min-height: 40px; border-radius: 6px; }
.team-rankings-grid { gap: 16px; }
.team-ranking-panel { padding: clamp(14px, 2vw, 20px); border-radius: 10px; }
.team-ranking-panel h3 { padding-bottom: 11px; border-bottom: 1px solid #ffffff12; }
.team-ranking-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; padding: 10px 11px; border-radius: 6px; transition: border-color .16s ease, background .16s ease; }
.team-ranking-row:hover { border-color: #c8f1692e; background: #c8f16908; }
.team-ranking-position { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #ffffff16; border-radius: 50%; font-variant-numeric: tabular-nums; }
.team-ranking-row:first-child .team-ranking-position { border-color: #c8f16958; color: var(--lime); background: #c8f1690d; }
.team-ranking-name strong { font-size: 12px; }
.team-ranking-name small { white-space: normal; line-height: 1.35; }
.brand-copy { display: grid; max-width: 380px; min-width: 0; gap: 8px; }
.brand-platform { color: #f1f6eb; font-family: 'Jersey 10', 'Arial Narrow', 'Franklin Gothic Medium', Arial, sans-serif; font-size: 30px; font-weight: 400; letter-spacing: 1.55px; line-height: 1; text-shadow: 0 1px 8px #000c; text-transform: uppercase; overflow-wrap: anywhere; }
.brand-slogan { color: #efffb9; font-family: 'Jersey 10', 'Arial Narrow', 'Franklin Gothic Medium', Arial, sans-serif; font-size: 22px; font-weight: 400; letter-spacing: .8px; line-height: 1.12; text-shadow: 0 1px 5px #020706, 0 0 13px #c8f16970; text-transform: uppercase; overflow-wrap: anywhere; }
.team-ranking-score { min-width: 55px; padding: 7px 8px; border: 1px solid #c8f1692a; border-radius: 5px; background: #c8f1690a; text-align: center; font-variant-numeric: tabular-nums; }
.country-flag, .language-flag { display: inline-block; width: 18px; height: 13.5px; flex: 0 0 auto; object-fit: cover; border-radius: 2px; vertical-align: middle; box-shadow: 0 0 0 1px #ffffff24; }
.language-switch button { display: inline-flex; align-items: center; gap: 5px; }
.league-meta, .league-option-label { display: inline-flex; min-width: 0; align-items: center; gap: 7px; }
.league-meta > span:last-child, .league-option-label > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.league-option-label { text-align: left; }
.league-option-label .country-flag { font-size: 16px; }
.team-ranking-meta .league-meta { align-items: flex-start; }
.team-ranking-meta .country-flag { margin-top: 1px; }
.team-rankings-section .team-ranking-scope { padding: 10px 12px; border-left: 2px solid #c8f16963; border-radius: 0 5px 5px 0; background: #c8f16907; }
.analyze:focus-visible, .logout-button:focus-visible, .language-switch button:focus-visible, .league-option:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .topbar { align-items: flex-start; }
  .topbar-tools { max-width: 68%; gap: 9px 12px; }
  .status { flex-wrap: wrap; justify-content: flex-end; }
  .api-quota { white-space: normal; }
  .top-ranking { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body::before {
    background-image:
      linear-gradient(180deg, #07101770 0%, #071017ad 42%, #080d0f 100%),
      linear-gradient(90deg, #080d0f7a 0%, #080d0f30 50%, #080d0f7a 100%),
      url('./assets/stadium-night.jpg');
    background-position: center top, center top, center 20%;
    background-size: auto, auto, auto 72vh;
  }
  .shell { padding: 16px 14px 28px; }
  .topbar { align-items: center; flex-wrap: wrap; gap: 10px; }
  .brand { width: 100%; justify-content: center; gap: 12px; }
  .brand-copy { text-align: left; }
  .brand-mark { width: 64px; height: 64px; flex-basis: 64px; border-radius: 11px; }
  .brand-copy { max-width: 290px; gap: 7px; }
  .brand-platform { font-size: 24px; letter-spacing: 1.25px; }
  .brand-slogan { max-width: 280px; width: 100%; font-size: 18px; letter-spacing: .55px; line-height: 1.15; text-wrap: balance; }
  .topbar-tools { width: 100%; max-width: 100%; justify-content: center; gap: 5px 8px; }
  .status { font-size: 8px; }
  .language-flag { width: 16px; height: 12px; }
  .api-quota { font-size: 8px; text-align: right; }
  .logout-button { min-height: 34px; }
  .hero { padding: 34px 0 23px; }
  .eyebrow { margin-bottom: 9px; font-size: 13px; letter-spacing: 1.8px; }
  .hero h1 { max-width: 100%; font-size: clamp(32px, 9vw, 48px); line-height: .92; letter-spacing: 0; text-wrap: balance; }
  .hero p { font-size: 12px; }
  .match-card { padding: 18px 14px; }
  .teams { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .versus { display: none; }
  .team-field input, .league-field input { height: 48px; font-size: 14px; }
  .card-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .card-hint { max-width: none; text-align: left; }
  .section-head h2 { font-size: 17px; letter-spacing: .8px; }
  .top-match-head { gap: 8px; }
  .top-match-head time { white-space: normal; }
  .top-metrics { gap: 5px; }
  .top-metric { padding: 8px 6px; }
  .top-metric span { font-size: 7px; letter-spacing: .35px; }
  .top-metric strong, .top-metric.index strong { font-size: 16px; }
  .top-match-footer { align-items: stretch; }
  .top-analyze { justify-content: center; min-height: 42px; }
  .team-rankings-grid { grid-template-columns: minmax(0, 1fr); }
  .team-ranking-panel { padding: 13px; }
  .team-ranking-row { grid-template-columns: 27px minmax(0, 1fr) auto; gap: 8px; padding: 9px 8px; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* MATCH FILTER is scoped to its new page; the approved Stadium Edition remains intact. */
.match-filter-page[hidden], .live-score-page[hidden], #dashboard-page[hidden] { display: none !important; }
.site-nav { display: flex; gap: 8px; margin: 0 0 24px; padding: 8px; border: 1px solid #c8f16920; border-radius: 8px; background: #091012cf; backdrop-filter: blur(8px); }
.site-nav a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 5px; color: #aebbb5; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: #101719; background: var(--lime); }
.match-filter-page { padding-bottom: 40px; }
.match-filter-heading { align-items: flex-start; }
.match-filter-heading h1 { color: #f5f7ed; font-family: 'Jersey 10', sans-serif; font-size: clamp(34px, 5vw, 54px); letter-spacing: .04em; }
.demo-badge { display: inline-flex; width: fit-content; align-items: center; padding: 5px 8px; border: 1px solid #c8f16955; border-radius: 4px; color: var(--lime); background: #c8f1690d; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.demo-notice { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 20px; padding: 12px 14px; border: 1px solid #c8f16940; border-radius: 6px; color: #e5ebdf; background: #111916df; font-size: 12px; }
.demo-notice strong { color: var(--lime); }
.match-data-stale { margin: -12px 0 16px; padding: 9px 12px; border: 1px solid #e9b84b66; border-radius: 5px; color: #ffe6a6; background: #211b0ce8; font-size: 11px; }
.match-data-stale[hidden] { display: none !important; }
.match-filter-controls { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(190px, .6fr); gap: 14px; margin-bottom: 25px; }
.match-filter-control { min-width: 0; padding: 15px; border: 1px solid #ffffff17; border-radius: 8px; background: #0c1415ed; }
.filter-label { display: block; margin-bottom: 10px; color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.date-mode-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.date-mode-buttons button, .text-button { min-height: 38px; padding: 0 12px; border: 1px solid #ffffff24; border-radius: 5px; color: #dfe7dd; background: #17201f; cursor: pointer; }
.date-mode-buttons button[aria-pressed="true"] { border-color: var(--lime); color: #101719; background: var(--lime); }
.date-picker-label { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: #cbd4cd; font-size: 12px; }
.date-picker-label[hidden] { display: none; }
.timezone-control select, .team-search-control input { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #ffffff24; border-radius: 5px; color: #f0f3ed; background: #111a1b; }
.league-selector { grid-column: 1 / -1; }
.league-checkbox-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.league-check { display: flex; min-width: 0; min-height: 42px; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid #ffffff24; border-radius: 5px; color: #f0f4ef; background: #182220; font-size: 11px; cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.league-check:hover, .league-check:focus-within { border-color: #c8f1698a; background: #202c27; }
.league-check span { min-width: 0; overflow-wrap: anywhere; }
.league-check input { width: 17px; height: 17px; flex: 0 0 17px; margin: 0; accent-color: var(--lime); cursor: pointer; }
.league-check .country-flag { width: 18px; height: 13.5px; }
.league-selector .text-button { margin-top: 12px; }
.team-search-control { grid-column: 1 / -1; }
.match-filter-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.match-filter-results-head h2 { color: #f4f6ee; font-family: 'Jersey 10', sans-serif; font-size: clamp(24px, 3vw, 32px); letter-spacing: .04em; }
.match-filter-count { color: var(--lime); font-size: 12px; font-variant-numeric: tabular-nums; }
.match-filter-status { min-height: 1.4em; color: #bac5bd; font-size: 11px; }
.live-score-unavailable { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #f2c15c55; border-left: 3px solid #f2c15c; border-radius: 6px; color: #f3d899; background: #f2c15c0b; font-size: 13px; line-height: 1.6; }
.match-filter-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.match-filter-card { display: grid; min-width: 0; gap: 13px; padding: clamp(14px, 2vw, 20px); border: 1px solid #ffffff19; border-radius: 8px; background: linear-gradient(145deg, #17211ff2, #101719f5 74%); box-shadow: 0 14px 34px #0004; }
.match-filter-kickoff { color: var(--lime); font-size: 12px; font-variant-numeric: tabular-nums; }
.match-filter-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 9px; }
.match-filter-teams strong { color: #f3f5ed; font-size: clamp(13px, 1.4vw, 17px); overflow-wrap: anywhere; }
.match-filter-teams strong:last-child { text-align: right; }
.match-filter-vs { color: #9aa79e; font-size: 9px; font-weight: 800; }
.match-filter-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #aebbb3; font-size: 11px; }
.match-filter-analyze { min-height: 42px; border: 1px solid #c8f16975; border-radius: 5px; color: #101719; background: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .1em; cursor: pointer; }
.match-filter-analyze:hover { box-shadow: 0 0 18px #c8f16935; }
@media (max-width: 760px) { .league-checkbox-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .match-filter-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .site-nav { margin-bottom: 17px; } .site-nav a { flex: 1; justify-content: center; padding: 0 7px; font-size: 9px; } .match-filter-controls { grid-template-columns: 1fr; } .league-selector, .team-search-control { grid-column: auto; } .league-checkbox-list { grid-template-columns: 1fr; } .match-filter-heading { flex-direction: column; } .match-filter-heading .demo-badge { align-self: flex-start; } .match-filter-teams { gap: 5px; } .match-filter-teams strong { font-size: 13px; } }

/* LIVE SCORE is an isolated DEMO module using the same Stadium Edition surfaces. */
.live-score-page { padding-bottom: 40px; }
.live-score-unavailable { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #f2c15c55; border-left: 3px solid #f2c15c; border-radius: 6px; color: #f3d899; background: #f2c15c0b; font-size: 13px; line-height: 1.6; }
.live-score-heading { align-items: flex-start; }
.live-score-heading h1 { color: #f5f7ed; font-family: 'Jersey 10', sans-serif; font-size: clamp(34px, 5vw, 54px); letter-spacing: .04em; }
.live-score-controls { display: grid; grid-template-columns: minmax(170px, .65fr) minmax(220px, .9fr) minmax(0, 1.45fr); gap: 14px; margin: 0 0 25px; }
.live-score-manual-refresh { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.live-score-manual-refresh input { min-width: 150px; min-height: 40px; padding: 8px 10px; border: 1px solid #ffffff24; border-radius: 5px; color: #f3f5ed; background: #101719; color-scheme: dark; }
.live-score-manual-refresh button { min-height: 40px; }
.live-score-control { min-width: 0; padding: 15px; border: 1px solid #ffffff17; border-radius: 8px; background: #0c1415ed; }
.live-score-status-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.live-score-status-filters button { min-height: 38px; padding: 0 13px; border: 1px solid #ffffff24; border-radius: 5px; color: #dfe7dd; background: #17201f; font-size: 10px; font-weight: 800; letter-spacing: .06em; cursor: pointer; }
.live-score-status-filters button[aria-pressed="true"] { border-color: var(--lime); color: #101719; background: var(--lime); }
.live-score-leagues { border: 1px solid #ffffff17; }
.live-score-leagues .text-button { margin-top: 11px; }
.live-score-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; }
.live-score-card { display: grid; min-width: 0; gap: 12px; padding: clamp(14px, 2vw, 19px); border: 1px solid #ffffff1c; border-radius: 8px; background: linear-gradient(145deg, #17211ff2, #101719f5 74%); box-shadow: 0 14px 34px #0004; }
.live-score-meta, .live-score-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #aebbb3; font-size: 11px; }
.live-score-meta .country-flag { width: 18px; height: 13.5px; }
.live-score-status { margin-left: auto; padding: 5px 9px; border: 1px solid #c8f16940; border-radius: 999px; color: var(--lime); background: #c8f1690b; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.live-score-status.status-live { border-color: #f04452; color: #fff; background: #f04452; box-shadow: 0 0 16px #f0445250; }
.live-score-status.status-ht { border-color: #f2c15c70; color: #f2c15c; background: #f2c15c12; }
.live-score-status.status-ft { color: #c3cdc4; border-color: #ffffff2b; }
.live-score-teams { display: grid; grid-template-columns: minmax(0, 1fr) minmax(74px, auto) minmax(0, 1fr); align-items: center; gap: 12px; }
.live-score-teams strong { min-width: 0; color: #f3f5ed; font-size: clamp(14px, 1.7vw, 19px); overflow-wrap: anywhere; }
.live-score-teams strong:last-child { text-align: right; }
.live-score-score { color: var(--lime); font-family: 'Jersey 10', sans-serif; font-size: clamp(26px, 3vw, 36px); line-height: .9; text-align: center; white-space: nowrap; }
.live-score-detail { justify-content: space-between; }
.live-score-detail > span { color: #f3c86c; font-weight: 800; font-variant-numeric: tabular-nums; }
.live-score-detail time { font-size: 10px; }
@media (max-width: 760px) { .live-score-controls { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .live-score-heading { flex-direction: column; } .live-score-heading .demo-badge { align-self: flex-start; } .live-score-teams { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 7px; } .live-score-teams strong { font-size: 13px; } .live-score-score { font-size: 28px; } .live-score-status-filters button { flex: 1; padding: 0 8px; } .live-score-unavailable { padding: 12px; font-size: 12px; } }

/* NEXT MATCH: presentation only; fixture selection and timezone formatting are unchanged. */
.team-ranking-fixture-detail[data-state="ready"] {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: clamp(14px, 2.4vw, 22px); border-color: #c8f16966; border-radius: 12px;
  background: linear-gradient(125deg, #132220f0, #0b1416ed);
}
.team-ranking-fixture-detail[hidden] { display: none; }
.next-match-info { flex: 1; min-width: 0; }
.next-match-info .team-ranking-fixture-heading { display: block; color: var(--text); font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.team-ranking-fixture-detail .next-match-label { margin-top: 11px; color: #C8F169; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }
.team-ranking-fixture-detail .next-match-league { margin-top: 4px; color: #aebcb6; }
.next-match-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 11px; margin: 13px 0; }
.next-match-side { display: grid; gap: 4px; min-width: 0; }
.next-match-side strong { color: var(--text); font-size: clamp(16px, 2vw, 22px); line-height: 1.3; overflow-wrap: anywhere; }
.next-match-role { color: #aebcb6; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.next-match-versus { color: #7e9189; font-size: 12px; }
.next-match-kickoff { display: block; color: #C8F169; font-size: clamp(20.4px, 2.635vw, 30.6px); font-weight: 900; line-height: 1.2; text-transform: uppercase; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.team-ranking-fixture-detail .next-match-status { margin-top: 8px; font-size: 10px; }
.team-ranking-fixture-detail .next-match-analyze {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 50px; padding: 15px 21px; margin-top: 0; border: 1px solid #C8F169; border-radius: 8px;
  background: #C8F169; color: #101810; font: inherit; font-size: 11px; font-weight: 900;
  letter-spacing: .5px; cursor: pointer;
}
.team-ranking-fixture-detail .next-match-analyze:hover { background: #d8ff85; }
.team-ranking-fixture-detail .next-match-analyze:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 700px) {
  .team-ranking-fixture-detail[data-state="ready"] { flex-direction: column; align-items: stretch; gap: 16px; }
  .team-ranking-fixture-detail .next-match-analyze { width: 100%; min-height: 50px; }
  .next-match-teams { gap: 8px; }
}

/* Informational notices remain below every route's modules. */
.app-disclaimers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.app-disclaimer { min-width: 0; padding: 18px 20px; border: 1px solid #c8f16926; border-radius: 8px; background: #0b1416c7; }
.app-disclaimer h2 { margin: 0 0 10px; color: #C8F169; font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: .65px; overflow-wrap: anywhere; }
.app-disclaimer p { margin: 0; color: #aab8b1; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.form-index-interpretation { min-width: 0; padding: 16px; border: 1px solid #c8f16935; border-radius: 7px; background: #111b16; }
.form-index-interpretation h3 { margin: 0 0 9px; color: #C8F169; font-size: 13px; line-height: 1.5; letter-spacing: .5px; overflow-wrap: anywhere; }
.form-index-interpretation p { margin: 0; color: #d0dcd3; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.form-index-interpretation .interpretation-note { margin-top: 10px; color: #aab8b1; font-size: 11px; }
.social-follow { margin-top: 24px; padding: 20px 0; border-top: 1px solid #ffffff12; }
.social-follow h2 { margin: 0 0 14px; color: #C8F169; font-size: 12px; line-height: 1.5; letter-spacing: 1px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 12px; border: 1px solid #c8f16935; border-radius: 8px; background: #111b16; }
.social-link img { display: block; width: 24px; height: 24px; object-fit: contain; }
.social-link--kick img { width: 48px; }
.social-link:hover { border-color: #C8F169; }
.social-link:focus-visible { outline: 3px solid #C8F169; outline-offset: 4px; }
.social-follow[hidden], .form-index-interpretation[hidden] { display: none; }
.metrics.form-index-summary { grid-template-columns: minmax(220px, .85fr) minmax(0, 1.4fr); gap: 18px; align-items: stretch; }
.form-index-summary .index-card { min-width: 0; border-color: #C8F16970; background: linear-gradient(135deg, #18241b, #0c1510); box-shadow: 0 0 22px #c8f16912, inset 0 0 18px #c8f16908; }
.form-index-summary .score-number { color: #C8F169; text-shadow: 0 0 16px #c8f16935; }
.form-index-summary .form-index-interpretation { border-color: #C8F16960; background: linear-gradient(135deg, #142017, #0c1510); box-shadow: 0 0 22px #c8f16912; }
@media (max-width: 700px) {
  .metrics.form-index-summary { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 700px) {
  .app-disclaimers { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
  .app-disclaimer { padding: 16px; }
}
