:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #f7f9fc;
  --surface-2: #fbfcfe;
  --sidebar: #101827;
  --sidebar-soft: #182235;
  --text: #172033;
  --muted: #7b8799;
  --muted-2: #a4afbf;
  --line: #e8edf3;
  --orange: #ef7c35;
  --orange-deep: #d86120;
  --orange-soft: #fff0e7;
  --blue: #5266df;
  --blue-soft: #edf0ff;
  --green: #3aaf7b;
  --green-soft: #eaf8f1;
  --yellow: #d89d32;
  --yellow-soft: #fff8e9;
  --red: #de6670;
  --shadow: 0 10px 30px rgba(28, 42, 70, .07);
  --radius: 14px;
  --radius-sm: 9px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
button, input { font: inherit; }
button { cursor: pointer; }
#app-shell { min-height: 100vh; display: flex; }

.sidebar { width: 244px; flex: 0 0 244px; background: var(--sidebar); color: #fff; display: flex; flex-direction: column; padding: 26px 14px 16px; min-height: 100vh; }
.brand-lockup { display: flex; align-items: center; gap: 11px; padding: 0 10px 34px; text-decoration: none; color: inherit; border-radius: 12px; }
.brand-lockup:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.brand-copy { display: grid; gap: 2px; min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex: none; border-radius: 12px 12px 12px 4px; background: linear-gradient(158deg, #1d2c47, #0c1626); display: grid; place-items: center; position: relative; box-shadow: 0 6px 16px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.06); transition: transform .34s cubic-bezier(.2,.9,.3,1.4), box-shadow .34s ease; }
.brand-lockup:hover .brand-mark { transform: rotate(-8deg) scale(1.07); box-shadow: 0 9px 22px rgba(239,124,53,.36), inset 0 0 0 1px rgba(255,255,255,.12); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-mark.small { width: 26px; height: 26px; border-radius: 9px 9px 9px 3px; }
.brand-orbit { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-dasharray: 3.5 5; opacity: .6; transform-box: fill-box; transform-origin: center; animation: brand-spin 16s linear infinite; }
.brand-star { fill: var(--orange); transform-box: fill-box; transform-origin: center; animation: brand-pulse 3.8s ease-in-out infinite; }
@keyframes brand-spin { to { transform: rotate(360deg); } }
@keyframes brand-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: -.35px; display: block; }
.brand-name span { color: #ff9860; }
.brand-subtitle { font-size: 9px; color: #8592a8; letter-spacing: .16em; text-transform: uppercase; display: block; }
.sidebar-section-label { font-size: 9px; line-height: 1; text-transform: uppercase; letter-spacing: .15em; color: #68768e; font-weight: 700; padding: 0 12px 10px; margin-top: 8px; }
.nav-list { display: grid; gap: 4px; margin-bottom: 28px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; background: transparent; color: #9ba7ba; padding: 10px 12px; border-radius: 9px; text-align: left; font-size: 12px; transition: .18s ease; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: #202c42; color: #fff; box-shadow: inset 3px 0 0 var(--orange); }
.nav-icon { width: 16px; color: #8290a6; font-size: 17px; line-height: 1; text-align: center; }
.nav-item.active .nav-icon { color: #ff9560; }
.nav-count, .nav-new { margin-left: auto; font-size: 9px; border-radius: 20px; padding: 3px 7px; color: #ffb48b; background: rgba(239,124,53,.16); }
.nav-new { color: #91cfff; background: rgba(82,102,223,.22); }
.sidebar-footer { margin-top: auto; }
.data-status { display: flex; align-items: center; gap: 8px; color: #9ba7ba; font-size: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; margin: 0 4px 14px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5ad496; box-shadow: 0 0 0 4px rgba(90,212,150,.1); }
.info-dot { margin-left: auto; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #67758b; color: #8190a5; display: grid; place-items: center; font-size: 9px; }
.profile-row { display: flex; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,.08); padding: 16px 7px 0; }
.avatar, .topbar-avatar { display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 800; background: #6c75c6; }
.avatar { width: 29px; height: 29px; }
.profile-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
.profile-copy strong { font-size: 11px; font-weight: 600; }
.profile-copy span { font-size: 9px; color: #718097; }
.ghost-icon { border: 0; background: transparent; color: #8491a5; padding: 6px; font-size: 12px; }

.main-content { min-width: 0; flex: 1; }
.topbar { height: 72px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: space-between; padding: 0 38px; position: sticky; top: 0; z-index: 10; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 650; }
.crumb-muted { color: var(--muted-2); font-weight: 500; }
.crumb-separator { color: #ced5df; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.top-action { border: 0; background: transparent; color: var(--muted); }
.search-action { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface-muted); border-radius: 7px; padding: 7px 8px 7px 11px; font-size: 11px; min-width: 206px; text-align: left; }
.search-symbol { font-size: 19px; line-height: 1; color: #99a4b4; }
kbd { margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; color: #a1acba; padding: 2px 5px; font-size: 9px; }
.icon-only { font-size: 19px; width: 27px; height: 28px; position: relative; }
.notification-dot { width: 5px; height: 5px; position: absolute; top: 3px; right: 2px; background: var(--orange); border-radius: 50%; }
.topbar-avatar { width: 30px; height: 30px; }
.mobile-menu { display: none; }
.content-wrap { max-width: 1420px; margin: 0 auto; padding: 32px 38px 60px; }

.eyebrow { color: var(--orange-deep); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 800; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { margin: 6px 0 6px; font-size: 28px; letter-spacing: -.8px; line-height: 1.1; }
.page-heading p { color: var(--muted); margin: 0; font-size: 12px; }
.date-chip { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; color: #667389; padding: 9px 12px; font-size: 10px; font-weight: 650; white-space: nowrap; }
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.stat-card { padding: 17px 18px 15px; position: relative; overflow: hidden; }
.stat-card::after { content: ''; width: 65px; height: 65px; border-radius: 50%; position: absolute; right: -27px; top: -27px; background: var(--orange-soft); }
.stat-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; }
.stat-icon { color: var(--orange); font-size: 16px; }
.stat-value { font-size: 24px; letter-spacing: -.6px; font-weight: 750; margin-top: 12px; }
.stat-foot { margin-top: 6px; font-size: 10px; color: var(--muted); }
.up { color: var(--green); font-weight: 700; }
.down { color: var(--red); font-weight: 700; }
.orange-text { color: var(--orange); }

.hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(300px, .86fr); margin-bottom: 18px; }
.hero-card { color: #fff; background: var(--sidebar); min-height: 251px; overflow: hidden; position: relative; padding: 25px 26px; }
.hero-card::before { content: ''; position: absolute; width: 260px; height: 260px; right: -50px; bottom: -142px; border: 1px solid rgba(239,124,53,.27); border-radius: 50%; box-shadow: 0 0 0 26px rgba(239,124,53,.045), 0 0 0 52px rgba(239,124,53,.032), 0 0 0 78px rgba(239,124,53,.02); }
.hero-card::after { content: ''; position: absolute; top: 24px; right: 30%; width: 5px; height: 5px; background: #ff9560; border-radius: 50%; box-shadow: 34px 29px 0 rgba(255,255,255,.5), 76px -12px 0 rgba(255,255,255,.25), 120px 55px 0 rgba(255,255,255,.23); }
.hero-card .eyebrow { color: #ff9c68; }
.hero-card h2 { font-size: 21px; letter-spacing: -.5px; margin: 7px 0 6px; position: relative; z-index: 1; }
.hero-subtitle { color: #a9b6c9; font-size: 11px; margin-bottom: 20px; position: relative; z-index: 1; }
.hero-match { display: flex; gap: 16px; align-items: center; position: relative; z-index: 1; }
.hero-team { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; }
.team-emblem { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; font-size: 12px; font-weight: 850; color: #fff; background: linear-gradient(145deg,#5e74e8,#2e3c98); box-shadow: 0 5px 12px rgba(0,0,0,.2); }
.team-emblem.red { background: linear-gradient(145deg,#e47d76,#9d3039); }
.team-emblem.sky { background: linear-gradient(145deg,#61c4f0,#2f6db2); }
.team-emblem.gold { background: linear-gradient(145deg,#f3bf54,#b7741c); }
.vs-pill { font-size: 10px; color: #75849a; border: 1px solid #364257; border-radius: 50%; width: 23px; height: 23px; display: grid; place-items: center; }
.hero-probability { display: flex; align-items: center; gap: 12px; position: absolute; right: 25px; bottom: 25px; z-index: 1; }
.prob-ring { width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--orange) 0 39%, #2c374a 39% 100%); display: grid; place-items: center; position: relative; }
.prob-ring::after { content: ''; width: 58px; height: 58px; background: var(--sidebar); border-radius: 50%; position: absolute; }
.prob-ring span { position: relative; z-index: 1; font-weight: 800; font-size: 17px; }
.prob-label { display: grid; gap: 4px; font-size: 10px; color: #aeb9cb; }
.prob-label strong { font-size: 12px; color: #fff; }
.hero-note { position: absolute; left: 26px; bottom: 19px; color: #78879b; font-size: 9px; }
.insight-card { padding: 22px 22px 19px; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.section-head h3 { margin: 0; font-size: 14px; letter-spacing: -.2px; }
.section-head p { margin: 4px 0 0; font-size: 10px; color: var(--muted); }
.text-button { border: 0; background: transparent; color: var(--orange-deep); font-size: 10px; font-weight: 750; white-space: nowrap; padding: 2px 0; }
.insight-list { display: grid; gap: 13px; }
.insight-row { display: grid; grid-template-columns: 31px 1fr auto; gap: 10px; align-items: center; }
.insight-symbol { width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 15px; }
.insight-symbol.blue { background: var(--blue-soft); color: var(--blue); }
.insight-symbol.green { background: var(--green-soft); color: var(--green); }
.insight-copy strong { display: block; font-size: 11px; font-weight: 700; }
.insight-copy span { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; }
.impact { font-size: 10px; color: var(--green); font-weight: 750; }

.section-block { margin-top: 26px; }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 13px; }
.section-title-row h2 { font-size: 15px; margin: 0; letter-spacing: -.25px; }
.section-title-row p { color: var(--muted); font-size: 10px; margin: 4px 0 0; }
.match-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.match-card { padding: 16px; transition: transform .18s ease, box-shadow .18s ease; cursor: pointer; }
.match-card:hover { transform: translateY(-2px); box-shadow: 0 13px 27px rgba(28,42,70,.12); }
.match-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; margin-bottom: 16px; }
.league-tag { color: #778397; font-weight: 700; }
.live-tag { color: var(--red); font-weight: 750; }
.match-teams { display: grid; gap: 11px; }
.match-team-line { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 650; }
.match-team-line .team-emblem { width: 24px; height: 24px; border-radius: 7px; font-size: 8px; }
.match-team-line .team-score { margin-left: auto; font-size: 12px; }
.prediction-strip { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 12px; display: flex; align-items: center; gap: 7px; }
.mini-bar { height: 5px; flex: 1; background: #e9edf3; border-radius: 3px; overflow: hidden; display: flex; gap: 1px; }
.mini-bar span:nth-child(1) { background: var(--orange); width: 51%; }
.mini-bar span:nth-child(2) { background: #bdc6d5; width: 25%; }
.mini-bar span:nth-child(3) { background: var(--blue); width: 24%; }
.prediction-caption { color: var(--muted); font-size: 9px; white-space: nowrap; }
.prediction-caption strong { color: var(--text); }
.table-card { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.data-table th { color: #9aa5b4; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; text-align: left; padding: 12px 18px; background: var(--surface-muted); border-bottom: 1px solid var(--line); }
.data-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: #58667b; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: #fcfdff; }
.team-cell { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; }
.team-cell .team-emblem { width: 24px; height: 24px; border-radius: 7px; font-size: 8px; }
.player-subline { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 500; }
.player-table td { vertical-align: middle; }
.player-table td:first-child { min-width: 190px; }
.prob-chip { display: inline-block; padding: 4px 7px; border-radius: 5px; background: var(--orange-soft); color: var(--orange-deep); font-weight: 750; }
.confidence { color: var(--green); font-weight: 750; }

.page-card { padding: 21px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter-button { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 8px 11px; color: #647188; font-size: 10px; }
.filter-button:disabled { opacity: .45; cursor: not-allowed; }
.filter-button.active { background: var(--orange-soft); color: var(--orange-deep); border-color: #ffd2bd; font-weight: 750; }
.directory-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 20px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.large-match-row { display: grid; grid-template-columns: 90px 1.2fr 1fr 120px; align-items: center; gap: 15px; padding: 17px 0; border-top: 1px solid var(--line); }
.large-match-row:first-child { border-top: 0; }
.match-date { color: var(--muted); font-size: 10px; }
.match-date strong { color: var(--text); display: block; font-size: 12px; margin-bottom: 4px; }
.versus-teams { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; }
.versus-teams .team-emblem { width: 28px; height: 28px; border-radius: 8px; font-size: 9px; }
.versus-teams .vs { color: var(--muted-2); font-size: 9px; }
.confidence-bar { display: grid; gap: 6px; }
.confidence-bar-line { height: 6px; background: #eef1f6; border-radius: 3px; overflow: hidden; }
.confidence-bar-line span { display: block; height: 100%; background: linear-gradient(90deg,var(--orange),#f7ad62); border-radius: inherit; }
.confidence-bar small { color: var(--muted); font-size: 9px; }
.row-action { justify-self: end; }

.match-detail-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--sidebar); color: #fff; padding: 25px; margin-bottom: 18px; }
.back-link { color: #a8b4c6; border: 0; background: transparent; font-size: 10px; padding: 0; margin-bottom: 17px; }
.detail-league { color: #ff9860; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.detail-teams { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.detail-team { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 750; }
.detail-team .team-emblem { width: 43px; height: 43px; border-radius: 13px; }
.detail-vs { color: #748199; font-size: 11px; }
.detail-scorebox { text-align: right; }
.detail-scorebox .score-label { color: #a5b1c4; font-size: 10px; }
.detail-scorebox strong { font-size: 30px; letter-spacing: 1px; display: block; margin: 4px 0; }
.detail-scorebox span { color: #ffab7e; font-size: 11px; font-weight: 700; }
.detail-grid { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .7fr); }
.match-carousel { position: relative; overflow: hidden; min-height: 356px; margin-top: 18px; padding: 0; color: #f7fffb; border: 0; background: linear-gradient(145deg,#075d36,#0d7b48 48%,#075b34); box-shadow: 0 15px 35px rgba(5,73,42,.19); }
.match-carousel::before { content: ''; position: absolute; inset: 0; opacity: .45; background: repeating-linear-gradient(90deg,rgba(255,255,255,.065) 0,rgba(255,255,255,.065) 11%,transparent 11%,transparent 22%); }
.pitch-carousel-lines { position: absolute; inset: 24px; border: 2px solid rgba(239,255,245,.62); border-radius: 10px; pointer-events: none; opacity: .72; }
.pitch-carousel-lines::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid rgba(239,255,245,.62); transform: translateX(-1px); }
.pitch-carousel-lines::after { content: ''; position: absolute; left: calc(50% - 56px); top: calc(50% - 56px); width: 108px; height: 108px; border: 2px solid rgba(239,255,245,.62); border-radius: 50%; }
.carousel-viewport { position: relative; z-index: 1; min-height: 356px; padding: 38px 92px 42px; }
.match-slide { display: none; min-height: 276px; animation: carousel-in .28s ease; }
.match-slide.active { display: block; }
@keyframes carousel-in { from { opacity: .25; transform: translateX(9px); } to { opacity: 1; transform: translateX(0); } }
.carousel-kicker { color: #a7f4c5; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.match-slide h2 { margin: 8px 0 16px; text-align: center; font-size: 21px; letter-spacing: -.4px; }
.carousel-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: #fff; background: rgba(2,71,40,.74); font-size: 31px; line-height: 1; display: grid; place-items: center; transition: background .18s ease, transform .18s ease; }
.carousel-arrow:hover { background: rgba(3,51,30,.96); transform: translateY(-50%) scale(1.06); }
.carousel-prev { left: 35px; }
.carousel-next { right: 35px; }
.carousel-source-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(236,255,244,.25); margin-top: 17px; padding-top: 10px; color: #bce6cc; font-size: 9px; }
.carousel-source-link { color: #fff; font-weight: 750; text-decoration: none; white-space: nowrap; }
.carousel-source-link:hover { text-decoration: underline; }
.carousel-kickoff-layout { display: grid; grid-template-columns: .8fr 1fr 1.5fr; gap: 16px; align-items: center; margin: 10px auto 0; max-width: 720px; text-align: center; }
.carousel-time-block, .carousel-official-block { display: grid; gap: 5px; }
.carousel-time-block span, .carousel-official-block span, .carousel-manager-block span { color: #bce6cc; font-size: 10px; }
.carousel-time-block strong { font-size: 22px; }
.carousel-official-block strong { font-size: 14px; }
.carousel-official-block small { color: #bce6cc; font-size: 9px; }
.carousel-manager-block { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-left: 1px solid rgba(236,255,244,.25); padding-left: 16px; }
.carousel-manager-block div { display: grid; gap: 5px; }
.carousel-manager-block strong { font-size: 11px; line-height: 1.35; }
.carousel-probability-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; text-align: center; max-width: 650px; margin: 0 auto; }
.carousel-probability-grid strong { display: block; font-size: 31px; letter-spacing: -1px; }
.carousel-probability-grid span { display: block; color: #bce6cc; font-size: 10px; margin-top: 3px; }
.carousel-segment-bar { display: flex; height: 9px; max-width: 650px; margin: 15px auto 18px; overflow: hidden; gap: 3px; border-radius: 4px; background: rgba(255,255,255,.14); }
.carousel-segment-bar span:nth-child(1) { background: #5cc4ff; }
.carousel-segment-bar span:nth-child(2) { background: #263d63; }
.carousel-segment-bar span:nth-child(3) { background: #fff; }
.carousel-h2h-title { border-top: 1px solid rgba(236,255,244,.25); padding-top: 12px; text-align: center; font-size: 13px; font-weight: 700; }
.carousel-h2h-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; max-width: 600px; margin: 10px auto 0; text-align: center; }
.carousel-h2h-grid div { display: grid; gap: 2px; }
.carousel-h2h-grid strong { font-size: 22px; }
.carousel-h2h-grid span, .carousel-subnote, .carousel-archive-note span { color: #bce6cc; font-size: 9px; }
.carousel-subnote { text-align: center; margin-top: 7px; }
.carousel-archive-note { display: grid; gap: 5px; max-width: 570px; margin: 16px auto 0; padding: 14px 16px; border: 1px solid rgba(236,255,244,.24); border-radius: 10px; text-align: center; }
.carousel-form-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 20px; align-items: center; max-width: 690px; margin: 6px auto 0; text-align: center; }
.carousel-form-team { position: relative; min-height: 147px; display: grid; align-content: center; justify-items: center; gap: 4px; }
.carousel-form-team span { color: #bce6cc; font-size: 11px; }
.carousel-form-team strong { font-size: 29px; }
.carousel-form-team small { color: #bce6cc; font-size: 9px; }
.carousel-form-team.away { text-align: center; }
.carousel-vertical-meter { width: 11px; height: 95px; position: absolute; left: 12px; bottom: 8px; border-radius: 5px; background: rgba(255,255,255,.24); overflow: hidden; display: flex; align-items: flex-end; }
.carousel-vertical-meter i { display: block; width: 100%; background: #28a6ea; border-radius: 5px; }
.carousel-form-team.away .carousel-vertical-meter { left: auto; right: 12px; }
.carousel-form-context { display: grid; gap: 8px; padding: 16px; border-left: 1px solid rgba(236,255,244,.25); border-right: 1px solid rgba(236,255,244,.25); color: #bce6cc; font-size: 10px; }
.carousel-form-context strong { color: #fff; font-size: 13px; }
.carousel-venue-layout { display: grid; grid-template-columns: 62px 1fr 1.4fr; gap: 14px; align-items: center; max-width: 650px; margin: 17px auto 0; }
.carousel-stadium-icon { width: 52px; height: 52px; border: 2px solid #bce6cc; border-radius: 14px; display: grid; place-items: center; font-size: 28px; }
.carousel-venue-layout > div:nth-child(2) { display: grid; gap: 5px; }
.carousel-venue-layout > div:nth-child(2) strong { font-size: 16px; }
.carousel-venue-layout > div:nth-child(2) span { color: #bce6cc; font-size: 11px; }
.carousel-venue-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: center; border-left: 1px solid rgba(236,255,244,.25); padding-left: 14px; }
.carousel-venue-stats div { display: grid; gap: 4px; }
.carousel-venue-stats strong { font-size: 16px; }
.carousel-venue-stats span { color: #bce6cc; font-size: 9px; }
.carousel-goal-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; max-width: 720px; margin: 0 auto; }
.carousel-goal-grid div { padding: 14px 8px; border: 1px solid rgba(236,255,244,.24); border-radius: 9px; text-align: center; }
.carousel-goal-grid span { display: block; color: #bce6cc; font-size: 9px; line-height: 1.3; }
.carousel-goal-grid strong { display: block; margin-top: 7px; font-size: 21px; }
.carousel-score-callout { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; max-width: 720px; margin: 14px auto 0; padding: 12px 14px; border-radius: 9px; background: rgba(0,0,0,.14); }
.carousel-score-callout span, .carousel-score-callout small { color: #bce6cc; font-size: 9px; }
.carousel-score-callout strong { font-size: 20px; }
.carousel-evidence-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; max-width: 700px; margin: 0 auto; }
.carousel-evidence-chip { padding: 12px; border: 1px solid rgba(236,255,244,.24); border-radius: 9px; background: rgba(0,0,0,.1); }
.carousel-evidence-chip .carousel-source-link { display: block; overflow: hidden; text-overflow: ellipsis; }
.carousel-evidence-note { display: grid; gap: 5px; max-width: 700px; margin: 13px auto 0; color: #bce6cc; font-size: 9px; line-height: 1.45; }
.carousel-evidence-note strong { color: #fff; font-size: 10px; }
.carousel-dots { position: absolute; z-index: 2; bottom: 17px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(238,255,245,.35); }
.carousel-dot.active { width: 27px; border-radius: 5px; background: #fff; }
.reference-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.reference-card { padding: 19px; min-height: 190px; }
.reference-wide { grid-column: span 2; }
.match-details-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:16px; }
.match-detail-field { min-height:58px; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--surface-2); display:grid; align-content:center; gap:6px; }
.match-detail-field span { color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
.match-detail-field strong { color:var(--text); font-size:12px; line-height:1.25; }
.reference-kicker { color: var(--orange-deep); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.reference-score { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin-top: 15px; }
.reference-score-label { color: var(--muted); font-size: 10px; }
.reference-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.reference-pills span { background: var(--orange-soft); color: var(--orange-deep); border-radius: 5px; padding: 5px 7px; font-size: 9px; font-weight: 750; }
.reference-note { color: var(--muted); font-size: 9px; line-height: 1.5; margin: 14px 0 0; }
.reference-empty { border: 1px dashed #d7dde6; border-radius: 9px; padding: 18px 12px; display: grid; gap: 6px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.reference-empty strong { color: var(--text); font-size: 11px; }
.intensity-list { display: grid; gap: 14px; margin-top: 16px; }
.intensity-row { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 9px; align-items: center; font-size: 10px; }
.intensity-row span:first-child { color: #65738a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.intensity-row strong { color: var(--muted); font-size: 9px; }
.intensity-track { height: 7px; background: #edf0f5; border-radius: 4px; overflow: hidden; }
.intensity-track span { height: 100%; display: block; border-radius: inherit; background: var(--green); }
.intensity-track .pending { background: #cfd7e4; }
.form-team-block { display: grid; gap: 8px; }
.form-team-block + .form-team-block { border-top: 1px solid var(--line); padding-top: 12px; }
.form-team-block .form-dots { margin: 2px 0; }
.form-match-list { display: grid; gap: 5px; }
.form-match { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: baseline; font-size: 10px; color: var(--muted); }
.form-match .form-opp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-match .form-score { color: var(--text); font-size: 11px; }
.reference-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.reference-insight-row { display: flex; gap: 9px; align-items: flex-start; }
.reference-insight-row .insight-symbol { flex: 0 0 30px; }
.reference-insight-row strong { display: block; font-size: 10px; line-height: 1.35; }
.reference-insight-row span:not(.insight-symbol) { display: block; color: var(--muted); font-size: 9px; line-height: 1.45; margin-top: 4px; }
.share-line { display: flex; gap: 7px; margin-top: 17px; }
.share-line input { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; color: var(--muted); background: var(--surface-muted); font-size: 9px; outline: none; }
.share-line button { white-space: nowrap; }
.probability-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 15px 0 21px; }
.probability-box { border: 1px solid var(--line); border-radius: 9px; padding: 13px; text-align: center; }
.probability-box.highlight { border-color: #ffd2bd; background: var(--orange-soft); }
.probability-box span { display: block; color: var(--muted); font-size: 9px; }
.probability-box strong { display: block; font-size: 21px; margin: 5px 0 1px; }
.probability-box small { font-size: 9px; color: var(--muted); }
.factor-list { display: grid; gap: 10px; }
.factor-row { display: flex; align-items: center; gap: 10px; font-size: 10px; }
.factor-row > span:first-child { width: 114px; color: #67748a; }
.factor-track { flex: 1; height: 6px; background: #edf0f5; border-radius: 3px; overflow: hidden; }
.factor-track span { height: 100%; display: block; border-radius: 3px; }
.factor-track .positive { background: var(--green); }
.factor-track .negative { background: var(--red); }
.factor-value { width: 36px; color: var(--muted); text-align: right; font-size: 9px; }
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.market-box { padding: 11px; border-radius: 9px; background: var(--surface-muted); }
.market-box span { display: block; font-size: 9px; color: var(--muted); }
.market-box strong { display: block; margin-top: 4px; font-size: 14px; }
.mini-chart { display: flex; align-items: flex-end; gap: 7px; height: 96px; margin-top: 10px; padding: 0 4px; }
.mini-chart i { flex: 1; display: block; min-height: 12px; border-radius: 5px 5px 2px 2px; background: #dfe4ec; font-style: normal; }
.mini-chart i.active { background: var(--orange); }
.chart-labels { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 8px; margin-top: 7px; }
.scenario-pill { display: inline-flex; padding: 4px 7px; border-radius: 5px; background: var(--yellow-soft); color: var(--yellow); font-size: 9px; font-weight: 700; }

.metric-card { padding: 20px; }
.metric-value { font-size: 27px; font-weight: 750; letter-spacing: -1px; margin: 7px 0 3px; }
.metric-label { font-size: 10px; color: var(--muted); }
.sparkline { width: 100%; height: 45px; margin-top: 14px; }
.sparkline polyline { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sparkline .area { fill: url(#sparkFill); stroke: none; }
.calibration-chart { height: 220px; display: flex; align-items: flex-end; gap: 13px; padding: 25px 10px 0; border-bottom: 1px solid var(--line); position: relative; }
.calibration-chart::before, .calibration-chart::after { content: ''; position: absolute; left: 0; right: 0; border-top: 1px dashed #e4e8ef; }
.calibration-chart::before { top: 72px; }.calibration-chart::after { top: 145px; }
.cal-bar { flex: 1; display: flex; align-items: flex-end; gap: 4px; height: 100%; position: relative; z-index: 1; }
.cal-bar span { flex: 1; border-radius: 4px 4px 0 0; min-height: 4px; }
.cal-bar .pred { background: #cfd7e4; }.cal-bar .actual { background: var(--orange); }
.axis-labels { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 8px; padding: 8px 5px 0; }
.legend { display: flex; gap: 13px; font-size: 9px; color: var(--muted); margin-top: 12px; }.legend span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 5px; background: #cfd7e4; }.legend span:last-child::before { background: var(--orange); }

.simulator-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 18px; }
.sim-controls { padding: 19px; }
.sim-controls h3 { margin: 0 0 17px; font-size: 14px; }.control-group { padding: 14px 0; border-top: 1px solid var(--line); }.control-group:first-of-type { border-top: 0; padding-top: 0; }
.control-label { display: flex; justify-content: space-between; font-size: 10px; color: #65738a; margin-bottom: 9px; }.control-label strong { color: var(--text); }
input[type=range] { appearance: none; width: 100%; height: 4px; background: #e8edf3; border-radius: 4px; outline: none; accent-color: var(--orange); } input[type=range]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 1px #f5c4aa; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; color: #65738a; font-size: 10px; margin-top: 11px; }.toggle { width: 28px; height: 16px; border: 0; background: #dbe1e9; border-radius: 12px; position: relative; }.toggle::after { content: ''; width: 12px; height: 12px; position: absolute; left: 2px; top: 2px; border-radius: 50%; background: #fff; transition: .2s; }.toggle.active { background: var(--orange); }.toggle.active::after { left: 14px; }
.run-button { width: 100%; border: 0; border-radius: 8px; padding: 11px; color: #fff; background: var(--orange); font-size: 11px; font-weight: 750; box-shadow: 0 8px 16px rgba(239,124,53,.22); margin-top: 17px; }.run-button:hover { background: var(--orange-deep); }
.sim-result { padding: 22px; }.sim-result-header { display: flex; justify-content: space-between; align-items: flex-start; }.sim-result-header h2 { font-size: 17px; margin: 0; }.sim-result-header p { color: var(--muted); font-size: 10px; margin: 5px 0 0; }.sim-status { color: var(--green); font-size: 9px; font-weight: 750; background: var(--green-soft); padding: 6px 8px; border-radius: 6px; }
.outcome-bars { display: grid; gap: 14px; margin: 27px 0; }.outcome-line { display: grid; grid-template-columns: 72px 1fr 42px; gap: 10px; align-items: center; font-size: 10px; }.outcome-line .bar { height: 10px; background: #edf0f5; border-radius: 5px; overflow: hidden; }.outcome-line .bar span { display: block; height: 100%; border-radius: inherit; background: var(--orange); }.outcome-line:nth-child(2) .bar span { background: #aeb8ca; }.outcome-line:nth-child(3) .bar span { background: var(--blue); }.outcome-line strong { text-align: right; font-size: 11px; }
.sim-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.score-list { display: grid; gap: 11px; }.score-item { display: flex; align-items: center; gap: 10px; font-size: 10px; }.score-item > span:first-child { width: 46px; font-weight: 750; }.score-item .score-bar { flex: 1; height: 5px; background: #edf0f5; border-radius: 4px; overflow: hidden; }.score-item .score-bar span { display: block; height: 100%; background: var(--orange); }.score-item > span:last-child { width: 34px; color: var(--muted); text-align: right; }.scenario-readout { display: grid; gap: 9px; }.scenario-readout div { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }.scenario-readout strong { color: var(--text); }

.news-list { display: grid; gap: 0; }.news-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: start; gap: 11px; padding: 15px 0; border-top: 1px solid var(--line); }.news-item:first-child { border-top: 0; padding-top: 0; }.news-icon { width: 30px; height: 30px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border-radius: 8px; font-size: 13px; }.news-copy strong { display: block; font-size: 11px; line-height: 1.35; }.news-copy a { color: var(--text); text-decoration: none; }.news-copy a:hover { color: var(--orange-deep); }.news-copy p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; }.news-meta { text-align: right; color: var(--muted-2); font-size: 9px; white-space: nowrap; }.reliability { display: inline-block; color: var(--green); background: var(--green-soft); padding: 3px 5px; border-radius: 4px; margin-top: 5px; font-size: 8px; font-weight: 750; }
.health-list { display: grid; gap: 10px; }.health-row { display: flex; gap: 9px; align-items: center; font-size: 10px; }.health-row .status-dot { width: 6px; height: 6px; }.health-row span:nth-child(2) { flex: 1; color: #647188; }.health-row time { color: var(--muted-2); font-size: 9px; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }.empty-state .empty-icon { font-size: 33px; color: var(--orange); margin-bottom: 13px; }.empty-state h3 { margin: 0 0 6px; color: var(--text); font-size: 16px; }.empty-state p { margin: 0 auto 18px; max-width: 420px; font-size: 11px; line-height: 1.6; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(16,24,39,.38); display: grid; place-items: start center; padding-top: 115px; }.modal-backdrop[hidden] { display: none; }.search-modal { width: min(560px, calc(100vw - 30px)); border-radius: 13px; background: var(--surface); box-shadow: 0 25px 70px rgba(16,24,39,.25); overflow: hidden; }.modal-search-line { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--line); }.modal-search-line input { flex: 1; border: 0; outline: 0; font-size: 13px; background: transparent; color: var(--text); }.search-results { min-height: 85px; max-height: 320px; overflow: auto; padding: 8px; }.search-result { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; color: var(--text); border: 0; background: transparent; width: 100%; text-align: left; }.search-result:hover { background: var(--surface-muted); }.search-result small { display: block; color: var(--muted); font-size: 9px; margin-top: 2px; }.modal-hint { display: flex; justify-content: flex-end; gap: 15px; border-top: 1px solid var(--line); padding: 10px 17px; color: var(--muted); font-size: 9px; }.toast { position: fixed; z-index: 100; bottom: 22px; right: 24px; background: var(--sidebar); color: #fff; padding: 11px 15px; border-radius: 8px; font-size: 11px; box-shadow: 0 13px 28px rgba(16,24,39,.2); opacity: 0; transform: translateY(12px); transition: .24s; pointer-events: none; }.toast.show { opacity: 1; transform: translateY(0); }

body.dark { --bg: #0d1421; --surface: #131e2e; --surface-muted: #182436; --surface-2: #172334; --text: #e9eef7; --muted: #94a2b7; --muted-2: #6d7c92; --line: #253247; --orange-soft: #35271f; --blue-soft: #202844; --green-soft: #1b332b; --yellow-soft: #352e1f; --shadow: 0 10px 30px rgba(0,0,0,.16); }
body.dark .topbar { background: rgba(13,20,33,.88); } body.dark .data-table tr:hover td { background: #182436; } body.dark .prob-ring::after { background: var(--sidebar); } body.dark .search-action, body.dark .filter-button { background: var(--surface-muted); }

@media (max-width: 1060px) { .sidebar { width: 210px; flex-basis: 210px; }.content-wrap { padding-left: 24px; padding-right: 24px; }.hero-grid, .detail-grid { grid-template-columns: 1fr; }.hero-card { min-height: 250px; }.grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }.match-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 900px) { .match-details-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .carousel-viewport { padding-left: 72px; padding-right: 72px; } .carousel-kickoff-layout { grid-template-columns: 1fr 1fr; } .carousel-manager-block { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(236,255,244,.25); padding: 13px 0 0; } }
@media (max-width: 620px) { .match-carousel { min-height: 465px; } .carousel-viewport { min-height: 465px; padding: 30px 49px 42px; } .carousel-arrow { width: 32px; height: 32px; font-size: 26px; } .carousel-prev { left: 12px; } .carousel-next { right: 12px; } .match-slide h2 { font-size: 19px; } .carousel-probability-grid strong { font-size: 23px; } .carousel-form-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .carousel-form-context { grid-column: 1 / -1; grid-row: 2; border: 0; border-top: 1px solid rgba(236,255,244,.25); } .carousel-venue-layout { grid-template-columns: 48px 1fr; } .carousel-venue-stats { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(236,255,244,.25); padding: 12px 0 0; } .carousel-goal-grid { grid-template-columns: repeat(2,1fr); } .carousel-score-callout { grid-template-columns: 1fr auto; } .carousel-score-callout small { grid-column: 1 / -1; } .carousel-source-row { align-items: flex-start; flex-direction: column; gap: 5px; } }
@media (max-width: 520px) { .match-details-grid { grid-template-columns:1fr; } .carousel-kickoff-layout { grid-template-columns: 1fr; gap: 11px; } .carousel-manager-block { grid-column: auto; } .carousel-evidence-grid { grid-template-columns: 1fr; } .carousel-time-block strong { font-size: 19px; } }
@media (max-width: 760px) { .sidebar { position: fixed; z-index: 30; left: -250px; top: 0; bottom: 0; transition: left .22s ease; }.sidebar.open { left: 0; box-shadow: 20px 0 60px rgba(16,24,39,.2); }.topbar { padding: 0 18px; }.mobile-menu { display: block; margin-right: 8px; }.breadcrumbs { flex: 1; }.search-action { min-width: 0; width: 34px; padding: 7px; justify-content: center; }.search-action span:not(.search-symbol), .search-action kbd { display: none; }.topbar-actions { gap: 6px; }.content-wrap { padding: 24px 16px 48px; }.page-heading { align-items: flex-start; flex-direction: column; gap: 13px; }.page-heading h1 { font-size: 25px; }.grid-4, .grid-3, .grid-2, .match-grid, .simulator-layout, .sim-bottom-grid, .reference-grid { grid-template-columns: 1fr; }.reference-wide { grid-column: auto; }.reference-insights { grid-template-columns: 1fr; }.hero-probability { position: relative; right: auto; bottom: auto; margin-top: 20px; }.hero-note { display: none; }.hero-card { min-height: 0; padding-bottom: 22px; }.large-match-row { grid-template-columns: 1fr; gap: 10px; }.row-action { justify-self: start; }.versus-teams { order: -1; }.confidence-bar { max-width: 260px; }.detail-hero { align-items: flex-start; flex-direction: column; }.detail-scorebox { text-align: left; }.detail-teams { flex-wrap: wrap; gap: 11px; }.data-table { min-width: 650px; }.table-card { overflow-x: auto; }.search-modal { margin: 0 15px; } }
@media (max-width: 430px) { .stat-card { padding: 14px; }.stat-value { font-size: 21px; }.hero-match { gap: 9px; }.hero-team { font-size: 10px; }.detail-team { font-size: 13px; }.detail-team .team-emblem { width: 35px; height: 35px; }.page-card, .card-pad { padding: 16px; } }

/* Watchlist, filters, and fixture picker */
.star-button { border: 0; background: transparent; color: #c3ccd9; font-size: 15px; line-height: 1; padding: 2px 4px; transition: color .15s ease, transform .15s ease; }
.star-button:hover { color: var(--yellow); transform: scale(1.18); }
.star-button.active { color: var(--yellow); }
.match-detail-hero .star-button { color: #93a1b8; }
.match-detail-hero .star-button:hover { color: #ffd34e; }
.match-detail-hero .star-button.active { color: #ffd34e; }
.watchlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 12px; }
.watch-card { padding: 14px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.watch-card:hover { transform: translateY(-2px); box-shadow: 0 13px 27px rgba(28,42,70,.12); }
.watch-top { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; }
.watch-top .team-emblem { width: 22px; height: 22px; border-radius: 7px; font-size: 8px; }
.watch-top .vs-pill { width: 18px; height: 18px; font-size: 8px; flex: 0 0 auto; }
.watch-lean { margin-top: 10px; font-size: 10px; color: var(--muted); }
.watch-lean strong { color: var(--orange-deep); }
.watch-meta { margin-top: 5px; font-size: 9px; color: var(--muted); }
.competition-select { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 8px 11px; color: #647188; font-size: 10px; max-width: 250px; }
.competition-select:focus { outline: 1px solid var(--orange); }
.row-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
body.dark .competition-select { background: var(--surface-muted); color: var(--text); }

/* Advanced markets, simulator presets, and team centre */
.advanced-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.advanced-panel { border: 1px solid var(--line); border-radius: 12px; padding: 15px; background: var(--surface-2); }
.advanced-wide { grid-column: span 2; }
.dc-grid, .ht-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.dc-grid div, .ht-grid div { padding: 10px 6px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.dc-grid strong, .ht-grid strong { display: block; font-size: 17px; }
.dc-grid span, .ht-grid span { display: block; color: var(--muted); font-size: 8px; margin-top: 3px; line-height: 1.35; }
.ah-list, .htft-list { display: grid; gap: 9px; }
.ah-list div, .htft-row { display: grid; grid-template-columns: 108px 1fr 42px; gap: 9px; align-items: center; font-size: 10px; }
.htft-row { grid-template-columns: 92px 1fr 42px; }
.ah-list div span, .htft-row span { color: #647188; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-list strong, .htft-row strong { text-align: right; font-size: 10px; }
.advanced-note { display: block; color: var(--muted); font-size: 8px; line-height: 1.5; margin-top: 10px; }
.uncertainty-readout { display: grid; gap: 9px; }
.uncertainty-readout div { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--muted); }
.uncertainty-readout strong { color: var(--text); text-align: right; }
.preset-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.preset-button { flex: 1 1 auto; font-size: 9px; padding: 7px 9px; text-align: left; }
.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.goal-dist { display: grid; gap: 8px; }
.goal-dist-row { display: grid; grid-template-columns: 26px 1fr 40px; gap: 8px; align-items: center; font-size: 10px; }
.goal-dist-row span { color: #647188; font-weight: 750; }
.goal-dist-row strong { text-align: right; font-size: 10px; }
.player-proj-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.player-proj-box { border: 1px solid var(--line); border-radius: 9px; padding: 10px 6px; text-align: center; background: var(--surface-2); }
.player-proj-box span { display: block; color: var(--muted); font-size: 8px; white-space: nowrap; }
.player-proj-box strong { display: block; font-size: 17px; margin-top: 4px; }
.player-fantasy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 24px; border-top: 1px solid var(--line); margin-top: 15px; padding-top: 14px; }
.form-dots { display: flex; gap: 6px; }.form-dot { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 800; font-style: normal; color: #fff; }.form-dot.w { background: var(--green); }.form-dot.d { background: var(--muted-2); }.form-dot.l { background: #d64545; }
.result-list { display: grid; gap: 0; }.result-row { display: grid; grid-template-columns: 52px 1fr 1fr auto 26px; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 10px; }.result-row:first-child { border-top: 0; padding-top: 0; }.result-date { color: var(--muted-2); font-size: 9px; }.result-comp { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.result-opp { color: var(--text); }.result-score { font-weight: 750; text-align: right; }.result-badge { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; }.result-badge.w { background: var(--green); }.result-badge.d { background: var(--muted-2); }.result-badge.l { background: #d64545; }
.profile-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }.profile-stat { background: var(--surface-muted); border-radius: 9px; padding: 12px 13px; }.profile-stat span { display: block; font-size: 9px; color: var(--muted); }.profile-stat strong { display: block; font-size: 17px; margin-top: 6px; }.profile-stat small { font-size: 8px; color: var(--muted-2); }
.style-list { display: grid; gap: 9px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 13px; }
.h2h-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: center; }.h2h-box { background: var(--surface-muted); border-radius: 9px; padding: 13px 8px; }.h2h-box strong { display: block; font-size: 19px; }.h2h-box span { font-size: 9px; color: var(--muted); }
.top-player-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 10px; }.top-player-row:first-child { border-top: 0; padding-top: 0; }.top-player-rank { width: 20px; color: var(--muted-2); font-size: 9px; }.top-player-pts { margin-left: auto; font-weight: 750; }
.live-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 4px 8px; border-radius: 20px; white-space: nowrap; }.live-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: live-pulse 1.6s infinite; }@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (max-width: 900px) { .player-proj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .profile-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .result-row { grid-template-columns: 48px 1fr auto 26px; } .result-comp { display: none; } }
@media (max-width: 760px) { .advanced-grid, .team-grid { grid-template-columns: 1fr; } .advanced-wide { grid-column: auto; } .player-fantasy-grid { grid-template-columns: 1fr; } }
.aspect-list { display: grid; gap: 8px; }
.aspect-head { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 10px; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); }
.aspect-head span:nth-child(2) { text-align: center; }
.aspect-head span:last-child { text-align: right; }
.aspect-row { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 10px; align-items: stretch; border-top: 1px solid var(--line); padding-top: 8px; }
.aspect-row:first-of-type { border-top: 0; padding-top: 0; }
.aspect-label { font-size: 9px; font-weight: 750; color: var(--muted); text-align: center; align-self: center; }
.aspect-side { background: var(--surface-muted); border-radius: 9px; padding: 9px 11px; min-width: 0; }
.aspect-side strong { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aspect-side small { display: block; font-size: 8px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aspect-side.edge { background: var(--green-soft); }
.aspect-side.edge strong { color: var(--green); }
.aspect-side.empty strong { color: var(--muted-2); font-weight: 600; }
@media (max-width: 760px) { .aspect-head { display: none; } .aspect-row { grid-template-columns: 1fr; } .aspect-label { text-align: left; } }

/* Live score chip. The dot pulses so an in-play match is readable at a glance; it is the only
   animation here, and it stops entirely under prefers-reduced-motion. */
.live-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #fee2e2; color: #991b1b; font-size: 11px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #dc2626; animation: live-pulse 1.6s ease-in-out infinite; }
.live-badge-lg { font-size: 13px; padding: 5px 12px; }
.live-badge-text { font-variant-numeric: tabular-nums; }
.live-score { font-size: 15px; font-variant-numeric: tabular-nums; color: #991b1b; }
.live-chip-quiet { background: #e2e8f0; color: #475569; }
.live-chip-quiet i { background: #94a3b8; animation: none; }
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .live-badge i { animation: none; } }

/* Live news flash and club news rows. Headlines stay plain text links so a publisher can never
   inject markup into the page, and every row keeps its own timestamp and byline. */
/* ---- Daily intelligence dashboard ------------------------------------------------------------------ */
.home-section { margin-top: 26px; scroll-margin-top: 74px; }
.home-section:first-of-type { margin-top: 18px; }
.home-hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; align-items: stretch; }
.home-hero-main { background: linear-gradient(140deg, var(--sidebar) 0%, #1b2740 58%, #26314d 100%); color: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.home-hero-main h1 { margin: 8px 0 0; font-size: 30px; line-height: 1.13; letter-spacing: -.02em; }
.home-hero-main .eyebrow { color: #ffb27a; }
.home-hero-sub { margin: 12px 0 0; color: #b6c2d6; font-size: 12px; line-height: 1.62; max-width: 62ch; }
.home-hero-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.home-chip { font-size: 9.5px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #c8d3e6; }
.home-chip strong { color: #fff; }
.home-hero-feature { margin-top: 18px; padding: 13px 15px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); cursor: pointer; display: grid; gap: 4px; transition: border-color .18s ease, transform .18s ease; }
.home-hero-feature:hover { border-color: var(--orange); transform: translateY(-1px); }
.home-hero-feature strong { font-size: 13px; }
.home-hero-feature span { font-size: 10px; color: #a9b6cc; }
.home-hero-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.home-view-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.home-watchlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.home-filter-row { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; max-width: 62%; }
.home-today-grid, .home-live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 13px; }
.home-today-card, .home-live-card { padding: 15px 16px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.home-today-card:hover, .home-live-card:hover, .home-prediction:hover, .home-watch-row:hover, .home-mover-row:hover, .home-intel-card:hover { transform: translateY(-2px); border-color: var(--orange); }
.ht-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 11px 0; font-size: 11.5px; font-weight: 650; }
.ht-teams .vs-pill { font-size: 8.5px; }
.ht-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; font-size: 9.5px; color: var(--muted); }
.home-prediction-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 15px; }
.home-prediction { padding: 18px 19px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hp-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.hp-when { font-size: 10px; color: var(--muted); }
.hp-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 15px 0 13px; }
.hp-team { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.hp-team small { color: var(--muted); font-size: 9px; font-weight: 400; }
.hp-away { text-align: right; align-items: flex-end; }
.hp-score { text-align: center; }
.hp-score strong { display: block; font-size: 22px; letter-spacing: -.02em; }
.hp-score small { font-size: 8.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.hp-bars { display: grid; gap: 7px; }
.hp-bar { display: grid; grid-template-columns: 46px 1fr 40px; gap: 9px; align-items: center; font-size: 9.5px; }
.hp-bar-label { color: var(--muted); }
.hp-track { height: 7px; border-radius: 999px; background: var(--surface-muted); overflow: hidden; }
.hp-track span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--orange), var(--orange-deep)); transition: width .4s ease; }
.hp-bar-value { text-align: right; font-weight: 700; }
.hp-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.hp-meta span { display: block; font-size: 8.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.hp-meta strong { font-size: 12px; }
.hp-explain { margin: 13px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted); }
.hp-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.home-watch-rows, .home-mover-rows { display: grid; gap: 11px; }
.home-watch-row { display: grid; grid-template-columns: 46px 1fr 96px; gap: 15px; align-items: center; padding: 15px 17px; cursor: pointer; transition: transform .18s ease, border-color .18s ease; }
.hw-rank { font-size: 19px; font-weight: 800; color: var(--orange); }
.hw-title { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650; }
.hw-when { font-size: 9.5px; color: var(--muted); margin-top: 3px; }
.hw-reasons { margin: 9px 0 0; padding-left: 15px; display: grid; gap: 3px; }
.hw-reasons li { font-size: 10px; color: var(--muted); line-height: 1.5; }
.hw-reasons strong { color: var(--text); font-weight: 650; }
.hw-score { text-align: right; display: grid; gap: 2px; justify-items: end; }
.hw-score span { font-size: 8.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hw-score strong { font-size: 21px; }
.hw-score small { font-size: 8.5px; color: var(--muted-2); }
.home-mover-row { display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr; gap: 15px; align-items: center; padding: 14px 16px; cursor: pointer; }
.hm-fixture strong { display: block; font-size: 12px; }
.hm-fixture span { font-size: 9.5px; color: var(--muted); }
.hm-change { display: grid; gap: 5px; }
.hm-change > span { font-size: 8.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hm-change strong { font-size: 12px; }
.hm-change em { font-style: normal; font-size: 9.5px; font-weight: 700; }
.hm-change em.up { color: var(--green); }
.hm-change em.down { color: var(--red); }
.hm-track { position: relative; height: 7px; border-radius: 999px; background: var(--surface-muted); overflow: hidden; }
.hm-track .hm-from { position: absolute; inset: 0 auto 0 0; background: var(--muted-2); opacity: .55; }
.hm-track .hm-to { position: absolute; inset: 0 auto 0 0; background: var(--orange); }
.hm-track .hm-to.up { background: var(--green); }
.hm-track .hm-to.down { background: var(--red); }
.hm-cause { font-size: 10px; color: var(--muted); line-height: 1.55; }
.hf-row { display: grid; grid-template-columns: 1.5fr 1.6fr 70px; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); cursor: pointer; }
.hf-row:first-of-type { border-top: 0; }
.hf-name { display: flex; align-items: center; gap: 9px; font-size: 11.5px; }
.hf-name strong { display: block; }
.hf-name small { font-size: 9px; color: var(--muted); }
.hf-mid { display: grid; gap: 5px; }
.hf-stats, .hf-note { font-size: 9.5px; color: var(--muted); }
.hf-rating { text-align: right; }
.hf-rating strong { display: block; font-size: 15px; }
.hf-rating small { font-size: 8.5px; color: var(--muted); }
.home-intel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 13px; }
.home-intel-card { padding: 16px 17px; cursor: pointer; transition: transform .18s ease, border-color .18s ease; }
.hi-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hi-top strong { font-size: 17px; }
.hi-tag { font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 7px; border-radius: 999px; }
.hi-tag.recorded { background: var(--green-soft); color: var(--green); }
.hi-tag.model { background: var(--blue-soft); color: var(--blue); }
.home-intel-card h3 { margin: 11px 0 0; font-size: 11.5px; }
.home-intel-card p { margin: 5px 0 0; font-size: 10.5px; line-height: 1.55; color: var(--muted); }
.home-intel-card small { display: block; margin-top: 8px; font-size: 9px; color: var(--muted-2); }
.home-empty { display: grid; gap: 6px; padding: 22px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface-2); }
.home-empty strong { font-size: 12px; }
.home-empty span { font-size: 10.5px; color: var(--muted); line-height: 1.6; max-width: 78ch; }
.home-skeleton { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 13px; }
.skeleton-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 11px; }
.skeleton-line { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--surface-muted) 25%, #eef2f8 50%, var(--surface-muted) 75%); background-size: 400% 100%; animation: skeleton-shimmer 1.4s ease-in-out infinite; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w35 { width: 35%; }
.skeleton-line.w80 { width: 80%; }
@keyframes skeleton-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton-line { animation: none; } .home-today-card, .home-prediction, .home-watch-row, .home-mover-row, .home-intel-card, .home-hero-feature { transition: none; } }
@media (max-width: 1080px) { .home-hero { grid-template-columns: 1fr; } .home-filter-row { max-width: 100%; justify-content: flex-start; } }
@media (max-width: 900px) { .home-watch-row, .home-mover-row { grid-template-columns: 1fr; } .hw-score { justify-items: start; text-align: left; } .hf-row { grid-template-columns: 1fr; } .hf-rating { text-align: left; } }

.site-footer { margin: 34px 0 12px; padding: 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.site-footer-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.site-footer-group h4 { margin: 0 0 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.site-footer-group a { display: block; font-size: 11px; color: var(--text); text-decoration: none; padding: 3px 0; }
.site-footer-group a:hover { color: var(--orange-deep); }
.site-footer-note { font-size: 10px; color: var(--muted); line-height: 1.65; max-width: 90ch; }

/* The marker that a forecast has published team news applied to it, with the count in the tooltip. */
.news-chip { font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); white-space: nowrap; }
.flash-card { position: relative; overflow: hidden; }
.flash-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, var(--orange), var(--orange-deep)); }
.flash-list { display: grid; gap: 9px; }
.flash-row { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.flash-row:hover { border-color: var(--orange); }
.flash-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-top: 5px; }
.flash-title { font-size: 11.5px; font-weight: 650; line-height: 1.45; color: var(--text); text-decoration: none; display: block; }
.flash-title:hover { color: var(--orange-deep); }
.flash-meta { display: flex; gap: 6px; align-items: center; margin-top: 5px; font-size: 9px; color: var(--muted); }
.flash-time { font-size: 9px; color: var(--muted); white-space: nowrap; }
.flash-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.flash-source-pill { font-size: 9px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.flash-source-pill.failed { border-color: var(--yellow); background: var(--yellow-soft); color: var(--yellow); }
.flash-source-pill.none { border-style: dashed; }
@media (max-width: 760px) { .flash-row { grid-template-columns: auto 1fr; } .flash-time { grid-column: 2; } }

/* ---- Match Center ----------------------------------------------------------------------------
   The fixture page: a header that states the sourced facts, a prediction panel and its inputs, a
   recorded comparison, live state, and the prediction record. Everything here is presentational —
   the page renders the same whether a value is sourced or absent, because an absent value is shown
   as absent with the source that would have carried it. */
.mc-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mc-layout { display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mc-layout .filter-button { text-transform: none; letter-spacing: 0; }
.mc-hero { align-items: flex-start; gap: 26px; }
.mc-head-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mc-head-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 10px; color: #9fadc2; }
.mc-head-facts span { display: flex; flex-direction: column; gap: 2px; }
.mc-head-facts b { color: #7c8aa0; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.mc-head-note { font-size: 9px; color: #7c8aa0; margin-top: 14px; line-height: 1.6; }
.mc-scorebox { min-width: 190px; }
.mc-status { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.1); color: #d7dfec; }
.mc-status i { width: 6px; height: 6px; border-radius: 50%; background: #ff5a5a; animation: mc-pulse 1.6s ease-in-out infinite; }
.mc-status.live { background: rgba(255,90,90,.18); color: #ff9a9a; }
.mc-status.finished { background: rgba(255,255,255,.14); color: #e6ebf3; }
.mc-status.scheduled { background: rgba(96,180,255,.16); color: #a9d4ff; }
.mc-status.window, .mc-status.unknown { background: rgba(255,196,84,.16); color: #ffd79a; }
@keyframes mc-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.mc-top-grid { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); margin-top: 18px; }
.mc-panel .mc-pbar-stack { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--surface-muted); margin: 16px 0 18px; }
.mc-pbar-stack i { display: block; height: 100%; }
.mc-pbar-stack i.home, .mc-pbar i.home { background: var(--orange); }
.mc-pbar-stack i.draw, .mc-pbar i.draw { background: var(--muted-2); }
.mc-pbar-stack i.away, .mc-pbar i.away { background: #4d8dff; }
.mc-pbars { display: grid; gap: 8px; }
.mc-pbar-row { display: grid; grid-template-columns: 120px 1fr 46px; gap: 10px; align-items: center; font-size: 10px; }
.mc-pbar-label { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-pbar { height: 7px; border-radius: 999px; background: var(--surface-muted); overflow: hidden; }
.mc-pbar i { display: block; height: 100%; }
.mc-pbar-row strong { text-align: right; }
.mc-pred-grid { margin-top: 18px; }
.mc-pred-grid .market-box small { display: block; margin-top: 4px; font-size: 8px; color: var(--muted); }
.mc-why-label { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.mc-why-label small { font-size: 8px; color: var(--muted-2); line-height: 1.45; }
.mc-favour { font-size: 8px; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: var(--surface-muted); color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-favour.home { background: var(--orange-soft); color: #d1591f; }
.mc-favour.away { background: #e8f0ff; color: #2f6fd0; }
.mc-favour.neutral { background: var(--surface-muted); color: var(--muted-2); }
.mc-favour.unknown { border: 1px dashed var(--line); background: transparent; }
.mc-omissions, .mc-matchup { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 13px; display: grid; gap: 5px; }
.mc-omissions strong, .mc-matchup strong { font-size: 10px; }
.mc-omissions span, .mc-matchup span { font-size: 9px; color: var(--muted); line-height: 1.6; }
.mc-gap { padding: 18px 14px; }
.mc-gap strong { display: block; font-size: 11px; }
.mc-gap span { display: block; margin-top: 5px; font-size: 9px; line-height: 1.6; color: var(--muted); }
.mc-gap-inline { font-size: 9px; color: var(--muted-2); }
.mc-form-col { min-width: 0; }
.mc-col-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mc-col-head strong { font-size: 12px; }
.mc-col-head small { font-size: 8px; color: var(--muted); }
.mc-form-summary { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 9px; color: var(--muted); margin-bottom: 10px; }
.mc-form-summary b { color: var(--text); }
.mc-form-row { display: grid; grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1.1fr); }
.mc-form-row small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-form-row .form-dot { width: 17px; height: 17px; font-size: 8px; border-radius: 4px; margin-right: 6px; display: inline-grid; vertical-align: middle; }
.mc-split-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mc-split-head strong { font-size: 10px; }
.mc-split-head small { font-size: 8px; color: var(--muted); }
/* ---- Team intelligence -----------------------------------------------------------------------
   The club page: crest, ratings, charts, position-grouped squad and a generated read of the same
   recorded figures. Presentational only — a figure with no source prints as "not published" and the
   layout has to hold up either way. */
.team-head { display: flex; align-items: center; gap: 13px; margin-top: 14px; }
.team-crest { width: 56px; height: 56px; object-fit: contain; background: rgba(255,255,255,.08); border-radius: 12px; padding: 6px; flex: none; }
.team-crest-fallback { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; font-weight: 800; flex: none; }
.team-name { font-size: 21px; margin: 0; color: #fff; }
.team-head-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 9px; color: #9fadc2; margin-top: 5px; }
.team-form-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.team-form-line .form-dot { width: 20px; height: 20px; font-size: 9px; }
.mc-trend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mc-trend { background: var(--surface-muted); border-radius: 9px; padding: 11px 12px; min-width: 0; }
.mc-trend .mc-split-head { margin: 0 0 8px; padding-bottom: 6px; }
.mc-chart { width: 100%; height: 58px; display: block; }
.mc-chart-axis { stroke: var(--line); stroke-width: .6; }
.mc-chart rect.positive { fill: var(--green); }
.mc-chart rect.negative { fill: #d64545; }
.mc-chart rect.neutral { fill: var(--orange); }
.mc-chart-line { fill: none; stroke: var(--orange); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mc-chart-line.positive { stroke: var(--green); }
.mc-chart-dot { fill: var(--orange); }
.mc-chart-empty { font-size: 9px; color: var(--muted); display: grid; place-items: center; height: 58px; text-align: center; }
.mc-rating-list { display: grid; gap: 12px; }
.mc-rating-row { display: grid; grid-template-columns: 150px 1fr 100px; gap: 10px; align-items: center; }
.mc-rating-row strong { text-align: right; font-size: 11px; }
.mc-rating-row small { grid-column: 2 / -1; font-size: 8px; color: var(--muted); }
.mc-squad-group { margin-bottom: 16px; }
.mc-squad-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; gap: 9px; align-items: center; width: 100%; text-align: left; background: transparent; border: 0; border-top: 1px solid var(--line); padding: 8px 4px; cursor: pointer; font: inherit; color: inherit; }
.mc-squad-row:hover { background: var(--surface-muted); border-radius: 7px; }
.mc-squad-no { font-size: 10px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.mc-squad-name strong { display: block; font-size: 11px; }
.mc-squad-name small { display: block; font-size: 8px; color: var(--muted); margin-top: 2px; }
.mc-squad-note { font-size: 8px; color: var(--yellow); }
.mc-squad-link { font-size: 8px; color: var(--orange); white-space: nowrap; }
.mc-insight-list { display: grid; gap: 9px; }
.mc-insight-list p { margin: 0; font-size: 11px; line-height: 1.65; color: var(--text); }
.mc-coverage { margin-top: 18px; }
.mc-cover-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.mc-cover-item { display: flex; gap: 8px; align-items: flex-start; background: var(--surface-muted); border-radius: 9px; padding: 10px 11px; min-width: 0; }
.mc-cover-item .status-dot { margin-top: 4px; flex: none; }
.mc-cover-item strong { display: block; font-size: 9px; }
.mc-cover-item small { display: block; font-size: 8px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-cover-item.missing { border: 1px dashed var(--line); background: transparent; }
.mc-live-card { border-left: 3px solid #ff5a5a; }
.mc-live-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 18px; }
.mc-live-strip > div { background: var(--surface-muted); border-radius: 9px; padding: 12px; }
.mc-live-strip span { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mc-live-strip strong { display: block; font-size: 20px; margin-top: 4px; }
.mc-live-strip small { display: block; margin-top: 5px; font-size: 8px; color: var(--muted); }
.mc-prob-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 9px; align-items: center; font-size: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.mc-prob-row:first-of-type { border-top: 0; }
.mc-move { font-size: 8px; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: var(--surface-muted); color: var(--muted); white-space: nowrap; }
.mc-move.up { background: var(--green-soft); color: var(--green); }
.mc-move.down { background: #fdecec; color: #d64545; }
.mc-steps { display: grid; gap: 10px; }
.mc-step { background: var(--surface-muted); border-radius: 9px; padding: 11px 13px; }
.mc-step-label { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.mc-step strong { display: block; font-size: 14px; margin: 4px 0 2px; }
.mc-step small { font-size: 8px; color: var(--muted); }
.mc-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.mc-post-grid .market-box small { display: block; margin-top: 4px; font-size: 8px; color: var(--muted); }
@media (max-width: 1080px) { .mc-top-grid, .mc-head-facts, .mc-trend-grid { grid-template-columns: 1fr; } .mc-hero { flex-direction: column; } .mc-scorebox { min-width: 0; text-align: left; } }
@media (max-width: 900px) { .mc-rating-row { grid-template-columns: 120px 1fr 80px; } .mc-squad-row { grid-template-columns: 28px minmax(0,1fr) auto; } .mc-squad-link { display: none; } }
@media (max-width: 900px) { .mc-post-grid, .mc-live-strip, .mc-cover-grid { grid-template-columns: 1fr; } .mc-form-row { grid-template-columns: minmax(0,1.4fr) auto; } .mc-form-row small { grid-column: 1 / -1; } }
@media (max-width: 760px) { .mc-pbar-row { grid-template-columns: 92px 1fr 40px; } }
@media (prefers-reduced-motion: reduce) { .mc-status i { animation: none; } }

/* =================================================================================================
   SOCOSTARS — brand surface and interaction layer

   Everything below is presentation only: it never decides what a number means. Two rules hold:

   1. Motion is an acknowledgement, never information. A control that animates still shows its state
      in text or in a stable attribute (aria-pressed, aria-label), so nothing is conveyed by movement
      alone, and every animation here is disabled under prefers-reduced-motion.
   2. Nothing here hides content. The reveal layer adds a class to elements that already exist and
      force-reveals everything on a timer, so a missing observer can never blank a section.
   ================================================================================================= */

/* Sidebar: anchors styled as nav items, the live pulse, and the shortcut affordance. */
.nav-link { text-decoration: none; }
.live-pulse { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 0 0 rgba(255,90,90,.6); animation: soco-live-pulse 2.2s ease-out infinite; }
@keyframes soco-live-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,90,.55); } 70% { box-shadow: 0 0 0 7px rgba(255,90,90,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,90,0); } }
.shortcut-hint { display: flex; align-items: center; gap: 7px; margin: 0 4px 14px; padding: 9px 12px; border: 1px dashed rgba(255,255,255,.12); border-radius: 9px; background: transparent; color: #8593a8; font-size: 10px; text-align: left; transition: border-color .2s ease, color .2s ease; }
.shortcut-hint:hover { border-color: rgba(239,124,53,.55); color: #ffb98d; }
.shortcut-hint kbd { margin: 0; background: rgba(255,255,255,.08); border-color: transparent; color: #cbd5e4; }

/* Shortcut panel — same dialog shell as search, so it inherits focus and Escape handling. */
.shortcut-modal { padding: 4px 0 0; }
.shortcut-head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.shortcut-list { padding: 10px 12px 14px; display: grid; gap: 2px; }
.shortcut-row { display: flex; align-items: center; gap: 7px; padding: 8px 6px; border-radius: 8px; font-size: 11px; color: var(--text); }
.shortcut-row span { flex: 1; }
.shortcut-row kbd { margin: 0; font-size: 10px; padding: 3px 7px; }
.shortcut-list .shortcut-row:hover { background: var(--surface-muted); }

.site-footer-brand { font-size: 10px; color: var(--muted); margin: 0; }
.site-footer-brand a { color: var(--orange-deep); text-decoration: none; }
.site-footer-brand a:hover { text-decoration: underline; }

.noscript-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 28px; }
.noscript-card h2 { margin: 0 0 8px; font-size: 19px; }
.noscript-card ul { padding-left: 20px; }
.noscript-card li { margin: 4px 0; }

/* ---- Interaction layer ------------------------------------------------------------------------ */

/* Cards lift on hover, and a warm spotlight follows the pointer. The glow is painted as a
   background-image rather than a pseudo-element so it cannot collide with the decorative
   ::after some cards already own. */
.card { transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .22s ease; }
.card.is-lit { background-image: radial-gradient(260px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(239,124,53,.13), rgba(239,124,53,0) 68%); }
.card:hover { transform: translateY(-2px); border-color: #e0e7f0; box-shadow: 0 14px 34px rgba(28,42,70,.1); }
body.dark .card:hover { border-color: #2c3b54; }
.interactive-row { transition: transform .18s ease, background-color .18s ease; }
.interactive-row:hover { transform: translateX(2px); }

/* The star burst: an acknowledgement that the click registered as a star, not a status signal. */
#burst-layer { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.burst-star { position: fixed; font-size: 13px; line-height: 1; color: var(--orange); will-change: transform, opacity; animation: soco-burst .72s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes soco-burst { 0% { transform: translate(-50%, -50%) scale(.5) rotate(0deg); opacity: 0; } 18% { opacity: 1; } 100% { transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(1.15) rotate(var(--br)); opacity: 0; } }

/* Reveal-on-scroll. Elements start fully visible and are only dimmed once the observer is live. */
.reveal { opacity: 0; transform: translateY(9px); }
.reveal.reveal-in { opacity: 1; transform: none; transition: opacity .46s ease, transform .46s cubic-bezier(.2,.7,.3,1); }

.star-button { transition: transform .2s cubic-bezier(.2,.9,.3,1.5), color .2s ease; }
.star-button:hover { transform: scale(1.18); }
.star-button:active { transform: scale(.9); }
button.active, .nav-item:active { transform: scale(.985); }

@media (prefers-reduced-motion: reduce) {
  .brand-orbit, .brand-star, .live-pulse, .burst-star, .notification-dot { animation: none !important; }
  .card, .card:hover, .interactive-row, .interactive-row:hover, .star-button, .star-button:hover { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .brand-lockup { padding-bottom: 24px; }
  .shortcut-hint { display: none; }
}
