:root {
  --bg: #070b09;
  --panel: #0d1310;
  --panel-2: #121a16;
  --line: rgba(225, 239, 231, 0.1);
  --muted: #8c9992;
  --text: #f3f7f4;
  --lime: #d6ff52;
  --green: #63d99b;
  --orange: #f2a76f;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Noto Sans SC", sans-serif; }
button, a { font: inherit; }
button { cursor: pointer; }
.noise { position: fixed; inset: 0; opacity: .07; pointer-events: none; z-index: 5; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); }

.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; background: rgba(7,11,9,.9); backdrop-filter: blur(22px); }
.brand { color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .08em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--lime); color: #07100d; border-radius: 50%; font: 700 12px var(--mono); }
.brand small { display: block; color: var(--muted); font: 12px var(--mono); margin-top: 2px; letter-spacing: .14em; }
nav { display: flex; gap: 34px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: .2s; }
nav a:hover, nav a.active { color: var(--text); }
.live-pill { font: 12px var(--mono); color: var(--text); border: 1px solid var(--line); border-radius: 30px; padding: 10px 14px; }
.live-pill i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); margin-right: 6px; }
.live-pill span { color: var(--muted); margin-left: 6px; }

main { overflow: hidden; }
.hero { min-height: 540px; padding: 120px 9vw 88px; position: relative; background: radial-gradient(circle at 78% 35%, rgba(89,174,124,.13), transparent 30%), linear-gradient(130deg, transparent 48%, rgba(214,255,82,.025)); }
.hero::after { content: ""; position: absolute; width: 440px; height: 440px; border: 1px solid rgba(214,255,82,.09); border-radius: 50%; right: 7vw; top: 40px; box-shadow: inset 0 0 100px rgba(214,255,82,.02), 0 0 0 80px rgba(214,255,82,.008); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--lime); font: 13px var(--mono); letter-spacing: .12em; }
.eyebrow b { color: var(--bg); background: var(--lime); padding: 3px 6px; }
h1 { font-size: clamp(50px, 7vw, 94px); line-height: 1.05; letter-spacing: -.07em; margin: 28px 0; position: relative; z-index: 1; }
h1 em { font-style: normal; color: var(--lime); }
.hero > p { color: var(--muted); max-width: 620px; line-height: 1.8; font-size: 18px; }
.hero-stats { display: flex; gap: 60px; margin-top: 55px; }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font: 500 23px var(--mono); }
.hero-stats span { font-size: 13px; color: var(--muted); }

.spotlight, .schedule, .model-section { padding: 80px 5vw; }
.spotlight { background: #090e0b; border-top: 1px solid var(--line); }
.section-head { max-width: 1180px; margin: 0 auto 28px; display: flex; align-items: end; justify-content: space-between; }
.kicker { color: var(--lime); font: 12px var(--mono); letter-spacing: .15em; }
h2 { font-size: 38px; margin: 7px 0 0; letter-spacing: -.04em; }
.ghost-button { color: var(--text); background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 9px; padding: 12px 17px; font-size: 13px; }
.ghost-button:hover { border-color: var(--lime); color: var(--lime); }

.prediction-card { max-width: 1180px; margin: auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, rgba(255,255,255,.025), transparent), var(--panel); box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.match-meta { min-height: 52px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); color: var(--muted); font: 12px var(--mono); text-transform: uppercase; }
.match-meta span:nth-child(2) { text-align: center; }
.match-meta span:last-child { text-align: right; }
.stage { color: var(--lime); }
.countdown b { color: var(--text); margin-left: 8px; }
.teams { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: center; padding: 42px 7%; }
.team { display: flex; align-items: center; gap: 22px; }
.team-right { justify-content: flex-end; text-align: right; }
.flag { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 24px; font-size: 51px; background: rgba(255,255,255,.035); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0,0,0,.24); }
.team small, .versus span, .versus small { color: var(--muted); font: 12px var(--mono); letter-spacing: .12em; }
.team h3 { font-size: 32px; margin: 5px 0 2px; }
.team p { margin: 0; color: var(--muted); font-size: 12px; }
.versus { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.versus strong { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--lime); border: 1px solid var(--line); font: 500 15px var(--mono); }
.probability { padding: 0 7% 40px; }
.prob-labels { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-bottom: 10px; }
.prob-labels span { display: flex; flex-direction: column; }
.prob-labels .draw { text-align: center; }
.prob-labels span:last-child { text-align: right; }
.prob-labels b { font: 500 25px var(--mono); }
.prob-labels small { color: var(--muted); font-size: 12px; }
.prob-bar { display: flex; height: 8px; gap: 3px; overflow: hidden; border-radius: 8px; }
.prob-bar i { display: block; transition: width .4s ease; }
#homeBar { width: 48%; background: var(--lime); } #drawBar { width: 27%; background: #53635b; } #awayBar { width: 25%; background: var(--orange); }
.insights { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; border-top: 1px solid var(--line); }
.insights > div { padding: 24px; border-right: 1px solid var(--line); }
.insights > div:last-child { border: 0; }
.insight-main { display: flex; align-items: center; gap: 14px; }
.insight-icon { color: var(--lime); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(201,255,61,.08); }
.insight-main span, .metric > span { color: var(--muted); font-size: 12px; }
.insight-main strong { display: block; margin: 5px 0; font-size: 15px; }
.insight-main p { color: var(--muted); margin: 0; font-size: 12px; line-height: 1.7; }
.confidence { margin-left: auto; text-align: center; }
.confidence small { display: block; color: var(--muted); font-size: 12px; }
.confidence b { display: block; color: var(--lime); margin-top: 3px; }
.metric > div { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 8px; margin-top: 18px; }
.metric b { font: 500 13px var(--mono); }
.metric b:last-child { text-align: right; }
.metric i { height: 3px; background: var(--orange); display: flex; justify-content: flex-start; }
.metric i em { display: block; height: 3px; width: 60%; background: var(--lime); transition: width .4s; }
.focus-actions { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); background: rgba(255,255,255,.012); }
.focus-actions span { color: var(--muted); font-size: 13px; }
.focus-actions button { border: 0; border-radius: 8px; padding: 12px 16px; background: var(--lime); color: var(--bg); font-weight: 700; font-size: 13px; }
.focus-actions button b { margin-left: 14px; }

.schedule { background: var(--bg); }
.filters { display: flex; gap: 4px; background: var(--panel); padding: 4px; border: 1px solid var(--line); border-radius: 10px; }
.filters button { color: var(--muted); border: 0; background: transparent; font-size: 12px; padding: 10px 15px; }
.filters button.active { background: var(--lime); color: var(--bg); border-radius: 7px; }
.match-grid { max-width: 1180px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.match-card { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.018), transparent 45%), var(--panel); padding: 24px; transition: .25s; position: relative; overflow: hidden; }
.match-card::after { content: ""; position: absolute; width: 70px; height: 70px; border-radius: 50%; background: var(--lime); filter: blur(60px); opacity: 0; right: 0; top: 0; transition: .3s; }
.match-card:hover { border-color: rgba(214,255,82,.3); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.24); }
.match-card:hover::after { opacity: .3; }
.match-card .card-meta { display: flex; justify-content: space-between; color: var(--muted); font: 12px var(--mono); }
.match-card .card-teams { display: flex; justify-content: space-between; align-items: center; margin: 25px 0; }
.mini-team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; }
.mini-team b { font-size: 30px; }
.card-teams > span { color: var(--muted); font: 12px var(--mono); }
.card-pick { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.card-pick b { color: var(--lime); font: 500 14px var(--mono); }
.match-card button { width: 100%; border: 0; background: transparent; color: var(--text); font-size: 13px; padding: 16px 0 2px; text-align: left; }
.match-card button span { float: right; color: var(--lime); }
.hidden { display: none; }

.model-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10vw; align-items: center; background: var(--lime); color: var(--bg); }
.model-section .kicker { color: #33751f; }
.model-section h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.05; margin: 16px 0 25px; }
.model-section p { font-size: 15px; line-height: 1.9; max-width: 500px; opacity: .75; }
.model-steps { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(7,16,13,.2); }
.model-steps div { padding: 28px; border-right: 1px solid rgba(7,16,13,.2); border-bottom: 1px solid rgba(7,16,13,.2); }
.model-steps b { display: block; font: 500 12px var(--mono); opacity: .5; }
.model-steps span { display: block; font-weight: 700; margin: 24px 0 4px; }
.model-steps small { font-size: 12px; opacity: .6; }
footer { display: flex; justify-content: space-between; padding: 30px 5vw; color: var(--muted); font: 12px var(--mono); }
footer p { margin: 0; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 80px); background: var(--lime); color: var(--bg); font-size: 12px; font-weight: 700; padding: 11px 18px; opacity: 0; transition: .3s; z-index: 20; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.analysis-overlay { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.78); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: .25s; }
.analysis-overlay.open { opacity: 1; pointer-events: auto; }
.analysis-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(1040px, 96vw); overflow-y: auto; background: #080d0a; border-left: 1px solid var(--line); transform: translateX(100%); transition: .35s ease; }
.analysis-overlay.open .analysis-panel { transform: translateX(0); }
.analysis-topbar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 22px 36px; background: rgba(8,13,10,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.analysis-topbar h2 { font-size: 25px; }
.analysis-topbar button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); color: var(--text); font-size: 25px; }
#analysisContent { padding: 30px 36px 70px; }
.report-hero { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 34px; background: radial-gradient(circle at 50% 120%, rgba(214,255,82,.08), transparent 48%), var(--panel); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 18px; }
.report-team { display: flex; align-items: center; gap: 13px; }
.report-team:last-child { flex-direction: row-reverse; text-align: right; }
.report-team b { font-size: 36px; }
.report-team strong { display: block; font-size: 19px; }
.report-team small, .report-vs small { color: var(--muted); font-size: 12px; }
.report-vs { text-align: center; }
.report-vs strong { display: block; color: var(--lime); font: 500 13px var(--mono); margin-bottom: 4px; }
.report-section { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.report-section h3 { margin: 0; padding: 18px 20px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 16px; letter-spacing: .02em; display: flex; align-items: center; gap: 12px; }
.report-section h3 small { display: block; color: var(--muted); font: 11px var(--mono); letter-spacing: .12em; margin-bottom: 2px; }
.section-icon, .viz-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; display: grid; place-items: center; color: var(--lime); background: rgba(214,255,82,.065); border: 1px solid rgba(214,255,82,.12); }
.section-icon svg, .viz-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.report-body { padding: 20px; color: #d2ddd7; font-size: 14px; line-height: 1.9; }
.report-body p { margin: 0 0 8px; }
.report-body p:last-child { margin-bottom: 0; }
.report-body strong { color: var(--text); }
.report-body ul { margin: 0; padding-left: 18px; }
.report-body li { margin: 4px 0; }
.report-table-wrap { overflow-x: auto; }
.report-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13px; }
.report-table th, .report-table td { text-align: left; padding: 14px 15px; border-bottom: 1px solid var(--line); }
.report-table th { color: var(--muted); font-weight: 500; background: rgba(255,255,255,.025); }
.report-table td:last-child { color: var(--lime); }
.report-table tr:last-child td { border-bottom: 0; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.report-note { padding: 13px 15px; margin-top: 14px; border: 1px solid rgba(242,167,111,.18); border-radius: 9px; background: rgba(242,167,111,.055); color: #deb18e; }
.final-box { background: linear-gradient(135deg, #d6ff52, #bfe843); color: var(--bg); padding: 24px; border-radius: 10px; }
.final-box p { margin: 0 0 9px; }
.final-box strong { color: var(--bg); }
.final-box .one-line { padding-top: 12px; border-top: 1px solid rgba(7,16,13,.2); font-weight: 700; }
body.modal-open { overflow: hidden; }

.visual-overview, .player-visual-section, .formation-section { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 45%), #0b110e; }
.player-visual-section, .formation-section { margin-top: 18px; }
.visual-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.visual-head h3 { margin: 4px 0 0; font-size: 23px; }
.model-status { color: var(--muted); font: 12px var(--mono); }
.model-status i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); margin-right: 6px; }
.visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.viz-card { min-height: 230px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); }
.viz-title { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; font-size: 15px; font-weight: 600; }
.viz-title small { display: block; color: var(--muted); font: 11px var(--mono); margin-top: 3px; font-weight: 400; }
.vertical-chart { height: 150px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; padding-top: 8px; }
.vertical-chart > div { height: 100%; display: grid; grid-template-rows: 22px 1fr 25px; align-items: end; text-align: center; }
.vertical-chart b { font: 500 13px var(--mono); }
.vertical-chart i { height: 100%; max-width: 38px; width: 100%; justify-self: center; display: flex; align-items: end; border-radius: 5px; background: rgba(255,255,255,.04); overflow: hidden; }
.vertical-chart em { display: block; width: 100%; background: linear-gradient(to top, rgba(214,255,82,.35), var(--lime)); border-radius: 5px; min-height: 5px; }
.vertical-chart .neutral em { background: linear-gradient(to top, rgba(140,153,146,.2), #708077); }
.vertical-chart .away em { background: linear-gradient(to top, rgba(242,167,111,.2), var(--orange)); }
.vertical-chart span { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comparison-viz { display: flex; flex-direction: column; }
.compare-row { margin-top: 12px; }
.compare-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.compare-head b { color: var(--text); font: 500 12px var(--mono); }
.compare-head i { color: var(--muted); font-style: normal; margin: 0 3px; }
.compare-track { height: 8px; border-radius: 8px; overflow: hidden; background: var(--orange); }
.compare-track em { display: block; height: 100%; background: var(--lime); border-right: 2px solid var(--panel); }
.xg-display { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; padding: 12px 0 20px; }
.xg-display b { display: block; font: 500 34px var(--mono); letter-spacing: -.05em; }
.xg-display span { color: var(--muted); font-size: 12px; }
.xg-display i { height: 42px; width: 1px; background: var(--line); }
.score-chips { display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; }
.score-chips span { border: 1px solid var(--line); border-radius: 7px; padding: 7px 11px; color: var(--muted); font: 12px var(--mono); }
.score-chips span.active { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.risk-meter { margin-top: 13px; }
.risk-meter > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.risk-meter b { color: var(--text); }
.risk-meter > i { display: block; height: 7px; border-radius: 7px; overflow: hidden; background: rgba(255,255,255,.05); }
.risk-meter em { display: block; height: 100%; border-radius: 7px; background: var(--orange); }
.risk-meter em.medium { background: #e7d26e; }
.risk-meter em.cool { background: #7bb9a0; }
.viz-card, .player-card, .pitch-card, .live-form-card, .tactic-team, .probability-card, .score-option, .conclusion-main, .conclusion-stats div {
  transition: transform .28s ease, border-color .28s ease, background-color .28s ease, box-shadow .28s ease;
}
.viz-card:hover, .player-card:hover, .pitch-card:hover, .live-form-card:hover, .tactic-team:hover, .probability-card:hover, .score-option:hover, .conclusion-stats div:hover {
  transform: translateY(-4px);
  border-color: rgba(214,255,82,.28);
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}
.viz-card:hover .viz-icon, .report-section:hover > h3 .section-icon { color: var(--bg); background: var(--lime); transform: rotate(-5deg) scale(1.06); }
.viz-icon, .section-icon { transition: transform .28s ease, color .28s ease, background-color .28s ease; }
.vertical-chart em { transition: height .38s ease, filter .28s ease, transform .28s ease; transform-origin: bottom; }
.vertical-chart > div:hover em { filter: brightness(1.18) drop-shadow(0 0 7px rgba(214,255,82,.32)); transform: scaleX(1.1); }
.vertical-chart > div:hover b { color: var(--lime); transform: translateY(-2px); }
.vertical-chart b { transition: color .25s ease, transform .25s ease; }
.compare-track em, .risk-meter em, .score-confidence em { transition: width .35s ease, filter .28s ease; }
.compare-row:hover .compare-track em, .risk-meter:hover em, .score-option:hover .score-confidence em { filter: brightness(1.22) drop-shadow(0 0 5px rgba(214,255,82,.32)); }
.xg-display > div { transition: transform .25s ease, color .25s ease; }
.xg-display > div:hover { transform: scale(1.08); color: var(--lime); }
.score-chips span { transition: transform .22s ease, border-color .22s ease, color .22s ease, background-color .22s ease; }
.score-chips span:hover { transform: translateY(-3px); border-color: var(--lime); color: var(--text); }
.player-grid, .pitch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.player-card, .pitch-card { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); overflow: hidden; }
.player-card { padding: 18px; }
.player-head { display: flex; align-items: center; gap: 12px; }
.player-head > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 24px; }
.player-head div { display: flex; flex-direction: column; }
.player-head small { color: var(--muted); font-size: 9px; }
.player-head strong { font-size: 16px; margin: 2px 0; }
.player-head em { color: var(--lime); font-style: normal; font-size: 9px; }
.radar-wrap { position: relative; display: grid; place-items: center; margin-top: 8px; }
.radar-svg { width: 230px; height: 230px; overflow: visible; }
.radar-svg polygon, .radar-svg line { fill: none; stroke: rgba(225,239,231,.12); stroke-width: 1; }
.radar-svg .radar-data { fill: rgba(214,255,82,.14); stroke: var(--lime); stroke-width: 1.7; }
.radar-svg circle { fill: var(--lime); stroke: var(--panel); stroke-width: 1.5; }
.radar-svg .radar-data, .radar-svg circle, .radar-axis-label { transition: transform .35s ease, fill .28s ease, stroke-width .28s ease, filter .28s ease; transform-origin: 90px 90px; }
.player-card:hover .radar-data { transform: scale(1.045); fill: rgba(214,255,82,.22); stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(214,255,82,.22)); }
.player-card:hover .radar-svg circle { transform: scale(1.2); }
.player-card:hover .radar-axis-label { fill: var(--text); }
.radar-axis-label { fill: var(--muted); font: 500 8px "Noto Sans SC", sans-serif; }
.radar-axis-value { fill: var(--text); font: 500 8px var(--mono); }
.player-card p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.pitch-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pitch-head b { color: var(--lime); font: 500 11px var(--mono); }
.pitch { height: 360px; margin: 12px; border: 1px solid rgba(225,239,231,.22); border-radius: 9px; position: relative; overflow: hidden; background: repeating-linear-gradient(90deg, rgba(99,217,155,.04) 0, rgba(99,217,155,.04) 12.5%, rgba(99,217,155,.075) 12.5%, rgba(99,217,155,.075) 25%), #10231a; }
.pitch::before, .pitch::after { content: ""; position: absolute; left: 28%; width: 44%; height: 14%; border: 1px solid rgba(225,239,231,.22); }
.pitch::before { top: -1px; border-top: 0; }
.pitch::after { bottom: -1px; border-bottom: 0; }
.pitch .midline { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(225,239,231,.22); }
.pitch .circle { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; border: 1px solid rgba(225,239,231,.22); border-radius: 50%; transform: translate(-50%,-50%); }
.pitch-player { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; z-index: 1; }
.pitch-player b { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: #eef4ef; color: #0b110e; border: 2px solid rgba(7,11,9,.4); box-shadow: 0 3px 10px rgba(0,0,0,.35); font: 500 8px var(--mono); }
.pitch-player em { margin-top: 3px; max-width: 65px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d9e5de; text-shadow: 0 1px 4px #000; font-style: normal; font-size: 10px; }
.pitch-player.star b { background: var(--lime); box-shadow: 0 0 0 4px rgba(214,255,82,.12), 0 3px 10px rgba(0,0,0,.35); }
.pitch-player.star em { color: var(--lime); font-weight: 700; }
.pitch-player b, .pitch-player em { transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease; }
.pitch-player:hover { z-index: 3; }
.pitch-player:hover b { transform: translateY(-5px) scale(1.18); background: var(--lime); box-shadow: 0 0 0 5px rgba(214,255,82,.12), 0 8px 18px rgba(0,0,0,.38); }
.pitch-player:hover em { transform: translateY(-4px) scale(1.08); color: var(--lime); }
.pitch-card:hover .pitch { box-shadow: inset 0 0 38px rgba(99,217,155,.06); }
.pitch { transition: box-shadow .3s ease; }
.data-loading { min-height: 150px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--muted); }
.data-loading i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--lime); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.source-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; color: var(--muted); font: 10px var(--mono); }
.source-row a { color: var(--muted); text-decoration: none; }
.source-live { color: var(--green); }
.source-live i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 5px; box-shadow: 0 0 8px var(--green); }
.live-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.live-form-card { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); }
.live-form-head { display: flex; align-items: center; gap: 9px; }
.live-form-head > span { font-size: 22px; }
.live-form-head div { display: flex; flex-direction: column; }
.live-form-head strong { font-size: 14px; }
.live-form-head small { color: var(--muted); font-size: 11px; }
.form-dots { display: flex; gap: 5px; margin: 14px 0; min-height: 22px; }
.form-dots i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--muted); font: 500 8px var(--mono); font-style: normal; }
.form-dots i.W { background: rgba(99,217,155,.15); color: var(--green); }
.form-dots i.D { background: rgba(231,210,110,.12); color: #e7d26e; }
.form-dots i.L { background: rgba(242,167,111,.13); color: var(--orange); }
.form-dots i { transition: transform .2s ease, filter .2s ease; }
.form-dots i:hover { transform: translateY(-4px) scale(1.12); filter: brightness(1.2); }
.form-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.form-metrics div { padding: 8px; border-radius: 7px; background: rgba(255,255,255,.025); }
.form-metrics b { display: block; color: var(--text); font: 500 11px var(--mono); }
.form-metrics span { color: var(--muted); font-size: 10px; }
.live-form-card p { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.data-unavailable { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); }
.data-state-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; color: var(--orange); background: rgba(242,167,111,.07); }
.data-state-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.data-unavailable strong { display: block; color: var(--text); font-size: 12px; margin-bottom: 3px; }
.data-unavailable p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.tactic-board { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 12px; align-items: stretch; }
.tactic-team { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); text-align: center; }
.tactic-badge { width: 44px; height: 44px; display: grid; place-items: center; margin: auto; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 25px; }
.tactic-team strong { display: block; margin: 8px 0 3px; font-size: 15px; }
.tactic-team > b { color: var(--lime); font: 500 11px var(--mono); }
.style-chips { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; margin-top: 14px; }
.style-chips i { padding: 5px 8px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-style: normal; font-size: 10px; }
.tactic-center { display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--muted); font-size: 8px; }
.tactic-center > strong { color: var(--text); font-size: 10px; }
.tactic-flow { width: 100%; display: flex; align-items: center; gap: 7px; margin: 9px 0; }
.tactic-flow i { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--lime)); }
.tactic-flow i:last-child { transform: rotate(180deg); }
.tactic-flow b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--lime); border: 1px solid var(--line); font: 500 8px var(--mono); }
.tactic-team:hover .tactic-badge { transform: scale(1.08) rotate(-4deg); }
.tactic-badge { transition: transform .28s ease; }
.tactic-team:hover .style-chips i { border-color: rgba(214,255,82,.25); color: var(--text); }
.style-chips i { transition: border-color .25s ease, color .25s ease, transform .25s ease; }
.style-chips i:hover { transform: translateY(-2px); }
.tactic-flow i { transition: filter .25s ease, transform .25s ease; }
.tactic-board:hover .tactic-flow i { filter: drop-shadow(0 0 4px var(--lime)); }
.edge-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.edge-strip span { padding: 11px; text-align: center; background: var(--panel); color: var(--muted); font-size: 10px; }
.edge-strip b { display: block; margin-top: 3px; color: var(--text); font-size: 10px; }
.probability-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.probability-card { padding: 18px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); text-align: center; }
.probability-card.fav { border-color: rgba(214,255,82,.25); background: rgba(214,255,82,.025); }
.prob-ring { --prob: 50; width: 104px; height: 104px; margin: 0 auto 13px; padding: 7px; border-radius: 50%; background: conic-gradient(var(--lime) calc(var(--prob) * 1%), rgba(255,255,255,.05) 0); }
.prob-ring { transition: transform .35s ease, filter .35s ease; }
.probability-card:hover .prob-ring { transform: rotate(8deg) scale(1.06); filter: drop-shadow(0 0 8px rgba(214,255,82,.18)); }
.probability-card:hover .prob-ring > span { transform: rotate(-8deg); }
.prob-ring > span { transition: transform .35s ease; }
.probability-card:nth-child(2) .prob-ring { background: conic-gradient(#708077 calc(var(--prob) * 1%), rgba(255,255,255,.05) 0); }
.probability-card:nth-child(3) .prob-ring { background: conic-gradient(var(--orange) calc(var(--prob) * 1%), rgba(255,255,255,.05) 0); }
.prob-ring > span { width: 100%; height: 100%; display: grid; place-content: center; border-radius: 50%; background: var(--panel); }
.prob-ring b { display: block; font: 500 20px var(--mono); }
.prob-ring small { color: var(--muted); font-size: 10px; }
.probability-card > strong { font-size: 12px; }
.probability-card > p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.score-visual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.score-option { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.score-option.primary { border-color: rgba(214,255,82,.3); background: rgba(214,255,82,.035); }
.score-option > span { color: var(--muted); font-size: 10px; }
.score-option strong { display: block; margin: 12px 0; font: 500 25px var(--mono); }
.score-option strong i { color: var(--lime); font-style: normal; margin: 0 3px; }
.score-confidence { height: 4px; border-radius: 4px; background: rgba(255,255,255,.05); overflow: hidden; }
.score-confidence em { display: block; height: 100%; border-radius: 4px; background: var(--lime); }
.score-option small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.score-option:hover strong { color: var(--lime); transform: translateX(3px); }
.score-option strong { transition: color .25s ease, transform .25s ease; }
.conclusion-dashboard { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.conclusion-main { padding: 24px; border-radius: 12px; background: linear-gradient(135deg, #d6ff52, #bfe843); color: var(--bg); }
.conclusion-check { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; color: var(--bg); background: rgba(7,11,9,.1); }
.conclusion-check svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.conclusion-main small { display: block; opacity: .65; font-size: 11px; color: #07100d; }
.conclusion-main strong { display: block; margin: 4px 0 8px; font-size: 23px; }
.conclusion-main p { margin: 0; color: #07100d; opacity: .82; font-size: 12px; line-height: 1.7; }
.conclusion-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.conclusion-stats div { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); }
.conclusion-stats span { color: var(--muted); font-size: 10px; }
.conclusion-stats b { display: block; margin: 7px 0 2px; font-size: 13px; }
.conclusion-stats em { color: var(--lime); font-style: normal; font-size: 10px; }
.conclusion-main, .conclusion-main strong { color: #07100d; }
.conclusion-main:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(190,231,67,.15); }
.conclusion-main:hover .conclusion-check { transform: rotate(-8deg) scale(1.08); }
.conclusion-check { transition: transform .28s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 900px) {
  nav, .live-pill { display: none; }
  .hero { padding: 80px 5vw 60px; min-height: auto; }
  .hero::after { width: 280px; height: 280px; right: -140px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .teams { grid-template-columns: 1fr 70px 1fr; padding: 35px 3%; }
  .team { flex-direction: column; gap: 8px; text-align: center; }
  .team-right { flex-direction: column-reverse; }
  .flag { width: 60px; height: 60px; font-size: 36px; }
  .team h3 { font-size: 18px; }
  .insights { grid-template-columns: 1fr 1fr 1fr; }
  .insight-main { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .match-grid { grid-template-columns: 1fr; }
  .model-section { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .visual-grid { grid-template-columns: 1fr; }
  .player-grid, .pitch-grid { grid-template-columns: 1fr; }
  .live-form-grid { grid-template-columns: 1fr; }
  .score-visual-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .spotlight, .schedule, .model-section { padding: 55px 4vw; }
  .match-meta { grid-template-columns: 1fr 1fr; }
  .match-meta span:last-child { display: none; }
  .countdown { text-align: right !important; }
  .teams { grid-template-columns: 1fr 40px 1fr; }
  .versus span, .versus small { display: none; }
  .versus strong { width: 38px; height: 38px; font-size: 11px; }
  .insights { grid-template-columns: 1fr; }
  .insights > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .focus-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .focus-actions button { width: 100%; }
  .metric > div { margin-top: 10px; }
  .model-steps { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 10px; }
  footer span:last-child { display: none; }
  .analysis-panel { width: 100vw; }
  .analysis-topbar, #analysisContent { padding-left: 15px; padding-right: 15px; }
  .analysis-topbar > div { min-width: 0; }
  .analysis-topbar h2 { font-size: 20px; line-height: 1.35; }
  .analysis-topbar button { flex: 0 0 42px; margin-left: 10px; }
  .report-hero { padding: 20px 12px; gap: 8px; }
  .report-team { flex-direction: column; text-align: center; }
  .report-team:last-child { flex-direction: column; text-align: center; }
  .report-team b { font-size: 29px; }
  .visual-overview, .player-visual-section, .formation-section { padding: 14px; }
  .visual-head { align-items: flex-start; }
  .model-status { display: none; }
  .viz-card { min-height: 210px; padding: 15px; }
  .compare-head b { font-size: 9px; }
  .radar-svg { width: 220px; height: 220px; }
  .pitch { height: 320px; }
  .tactic-board { grid-template-columns: 1fr; }
  .tactic-center { padding: 6px 30%; }
  .edge-strip { grid-template-columns: 1fr; }
  .probability-cards { grid-template-columns: 1fr; }
  .probability-card { display: grid; grid-template-columns: 88px 1fr; align-items: center; text-align: left; }
  .prob-ring { width: 76px; height: 76px; margin: 0; grid-row: 1 / 3; }
  .prob-ring b { font-size: 15px; }
  .score-visual-grid { grid-template-columns: 1fr 1fr; }
  .conclusion-dashboard { grid-template-columns: 1fr; }
}
