:root {
  --ink: #080907;
  --ink-2: #0e100e;
  --panel: #151713;
  --panel-2: #1b1e19;
  --line: rgba(231, 210, 157, .19);
  --line-strong: rgba(231, 210, 157, .36);
  --gold: #c9a45c;
  --gold-pale: #e5d09d;
  --ivory: #f2efe6;
  --muted: #8c8e84;
  --green: #7ecb8e;
  --red: #ef786d;
  --scheduled: #d7ae5e;
  --finished: #b77b78;
  --serif: "Bodoni MT", "Didot", Georgia, serif;
  --sans: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
* { scrollbar-width: thin; scrollbar-color: #665632 #11130f; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #11130f; }
*::-webkit-scrollbar-thumb { background: #665632; border: 2px solid #11130f; border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: var(--gold); }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--sans); font-size: 14px; min-height: 100vh; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.match-card,.pick-card,.table-row,.ako-leg { width: 100%; color: inherit; font: inherit; text-align: left; appearance: none; }
.table-row { border-top: 0; border-right: 0; }

.noise { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .028; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 242px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 27px 18px 20px; border-right: 1px solid var(--line); background: #0b0c0a; display: flex; flex-direction: column; z-index: 20; }
.brand { min-height: 69px; display: flex; align-items: center; color: var(--ivory); text-decoration: none; padding: 0 5px 22px; border-bottom: 1px solid var(--line); overflow: hidden; }
.brand-logo { display: block; width: 100%; height: 47px; object-fit: contain; object-position: left center; }
.nav { padding-top: 24px; display: grid; gap: 6px; }
.nav-item { width: 100%; border: 0; background: transparent; color: #94978d; text-align: left; padding: 12px 13px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; gap: 13px; letter-spacing: .03em; transition: .2s ease; }
.nav-item span { color: #686b63; font-size: 19px; width: 20px; text-align: center; }
.nav-item:hover { color: var(--ivory); background: rgba(255,255,255,.025); transform: translateX(2px); }
.nav-item.active { color: var(--gold-pale); background: linear-gradient(90deg, rgba(201,164,92,.14), transparent); box-shadow: inset 2px 0 var(--gold); }
.nav-item.active span { color: var(--gold); }
.sidebar-bottom { margin-top: auto; display: grid; gap: 8px; }
.system-tile { margin-bottom: 8px; border: 1px solid var(--line); padding: 14px; background: #0e100d; }
.status-row { display: flex; gap: 9px; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.pulse { width: 7px; height: 7px; background: var(--muted); border-radius: 50%; box-shadow: 0 0 0 4px rgba(126,203,142,.08); }
.pulse.online { background: var(--green); animation: pulse 2s infinite; }
.system-meta { margin: 9px 0 0 16px; color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; }

.workspace { min-width: 0; }
.topbar { height: 94px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 38px; position: sticky; top: 0; z-index: 15; background: rgba(8,9,7,.92); backdrop-filter: blur(18px); }
.eyebrow { display: block; font-size: 9px; letter-spacing: .24em; color: var(--gold); font-weight: 700; margin-bottom: 7px; }
.topbar h1 { font: 400 25px var(--serif); margin: 0; letter-spacing: .02em; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.live-clock { text-align: right; line-height: 1.05; padding-right: 16px; border-right: 1px solid var(--line); margin-right: 4px; }
.live-clock span { font-variant-numeric: tabular-nums; font-size: 15px; letter-spacing: .1em; }
.live-clock small { display: block; color: var(--muted); font-size: 7px; letter-spacing: .22em; margin-top: 5px; }
.icon-button, .primary-button, .ghost-button, .text-button { border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: .2s ease; }
.icon-button { width: 39px; height: 39px; background: var(--panel); border: 1px solid var(--line); font-size: 19px; }
.icon-button:hover { border-color: var(--gold); color: var(--gold); transform: rotate(30deg); }
.primary-button { min-height: 40px; padding: 0 17px; gap: 9px; background: var(--gold); color: #11120f; font-weight: 700; letter-spacing: .025em; }
.primary-button:hover { background: var(--gold-pale); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(201,164,92,.15); }
.primary-button:disabled { opacity: .55; cursor: wait; }
.primary-button span { font-size: 8px; }
.ghost-button { min-height: 40px; padding: 0 16px; color: var(--gold-pale); background: transparent; border: 1px solid var(--line-strong); }
.ghost-button:hover { border-color: var(--gold); background: rgba(201,164,92,.06); }
.text-button { background: transparent; color: var(--muted); }
.text-button:hover { color: var(--gold-pale); }

.content { max-width: 1550px; margin: 0 auto; padding: 28px 38px 80px; }
.view { display: none; animation: reveal .45s ease both; }
.view.active { display: block; }
.hero-panel { min-height: 344px; border: 1px solid var(--line); position: relative; overflow: hidden; padding: 43px 46px; display: flex; align-items: flex-end; justify-content: space-between; background: linear-gradient(90deg, rgba(8,9,7,.98) 0%, rgba(8,9,7,.86) 38%, rgba(8,9,7,.12) 100%), url('/assets/aurum-stadium.png') center/cover; }
.hero-panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(8,9,7,.72)), repeating-linear-gradient(90deg, transparent 0 95px, rgba(226,201,139,.025) 96px); }
.hero-content, .hero-signal { position: relative; z-index: 1; }
.hero-content { max-width: 580px; }
.mode-pill { width: fit-content; border: 1px solid var(--line-strong); padding: 6px 9px; font-size: 8px; letter-spacing: .18em; color: var(--gold-pale); margin-bottom: 23px; }
.mode-pill.live { border-color: rgba(126,203,142,.45); color: var(--green); }
.hero-panel h2 { font: 400 clamp(36px, 4vw, 61px)/.98 var(--serif); margin: 0 0 18px; letter-spacing: -.02em; }
.hero-panel h2 em, .learning-intro h2 em { color: var(--gold); font-weight: 400; }
.hero-panel p { color: #a5a79d; max-width: 520px; font-size: 13px; line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; margin-top: 25px; }
.hero-signal { min-width: 165px; padding: 17px 18px; border-left: 1px solid var(--gold); background: rgba(8,9,7,.76); backdrop-filter: blur(8px); }
.hero-signal span { display: block; color: var(--gold); font-size: 8px; letter-spacing: .18em; }
.hero-signal strong { display: block; font: 400 27px var(--serif); margin: 8px 0 5px; }
.hero-signal small { color: var(--muted); font-size: 9px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: 0; }
.stat-card { min-height: 130px; padding: 23px 25px; position: relative; border-right: 1px solid var(--line); background: var(--panel); }
.stat-card:last-child { border: 0; }
.stat-card.accent { background: linear-gradient(135deg, #17160f, #10120f); }
.stat-index { position: absolute; right: 18px; top: 16px; font: italic 13px var(--serif); color: #474941; }
.stat-card small { display: block; color: var(--muted); font-size: 8px; letter-spacing: .18em; }
.stat-card strong { display: block; margin-top: 8px; font: 400 39px var(--serif); font-variant-numeric: tabular-nums; }
.stat-card em { font-style: normal; color: #62655d; font-size: 9px; }
.stat-card.accent strong { color: var(--gold-pale); }
.split-heading { margin: 45px 0 16px; display: flex; align-items: end; justify-content: space-between; }
.split-heading h3, .toolbar h3 { font: 400 22px var(--serif); margin: 0; }
.match-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.match-card { min-height: 174px; border: 1px solid var(--line); border-left-width: 4px; background: var(--panel); padding: 18px 19px; cursor: pointer; position: relative; overflow: hidden; transition: .25s ease; }
.match-card.status-live { border-left-color: var(--green); background: linear-gradient(110deg, rgba(63,121,78,.15), var(--panel) 34%); }
.match-card.status-scheduled { border-left-color: var(--scheduled); background: linear-gradient(110deg, rgba(201,164,92,.12), var(--panel) 34%); }
.match-card.status-finished { border-left-color: var(--finished); background: linear-gradient(110deg, rgba(142,80,78,.12), #121411 34%); }
.match-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, rgba(201,164,92,.12), transparent 38%); opacity: 0; transition: .25s; }
.match-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.match-card:focus-visible,.pick-card:focus-visible,.table-row:focus-visible,.ako-leg:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.match-card:hover::before { opacity: 1; }
.match-meta { display: flex; justify-content: space-between; gap: 12px; color: #a3a69b; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.live-badge { color: var(--green); display: flex; gap: 6px; align-items: center; }
.live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.status-badge { width: fit-content; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; letter-spacing: .09em; }
.status-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255,255,255,.04); }
.status-badge.live { color: var(--green); }.status-badge.scheduled { color: var(--scheduled); }.status-badge.finished { color: var(--finished); }
.fixture { display: grid; grid-template-columns: 1fr auto; gap: 8px 15px; align-items: center; margin-top: 20px; position: relative; }
.team { font-size: 13px; font-weight: 600; color: #f0eee7; display: flex; align-items: center; gap: 10px; }
.team-logo { width: 25px; height: 25px; object-fit: contain; flex: 0 0 25px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.team-logo.large { width: 42px; height: 42px; flex-basis: 42px; }
.team-logo-placeholder { width: 25px; height: 25px; flex: 0 0 25px; border: 1px solid var(--line-strong); border-radius: 50%; display: inline-grid; place-items: center; color: var(--gold-pale); font-size: 8px; background: #0d0f0c; }
.team-logo-placeholder.large { width: 42px; height: 42px; flex-basis: 42px; font-size: 11px; }
.score { grid-row: 1 / span 2; grid-column: 2; font: 400 25px var(--serif); color: var(--gold-pale); }
.match-foot { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 11px; color: #6f7169; font-size: 9px; position: relative; }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.pick-grid.expanded { grid-template-columns: repeat(3, minmax(280px,1fr)); }
.pick-card { border: 1px solid var(--line); background: linear-gradient(145deg, var(--panel), #0e100e); min-height: 215px; padding: 20px; position: relative; transition: .25s ease; overflow: hidden; }
.pick-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pick-card.unverified { border-top-color: rgba(201,164,92,.22); background: linear-gradient(145deg, #141612, #0d0f0c); }
.pick-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.market-tag { color: var(--gold); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.edge-badge { padding: 5px 7px; color: var(--green); background: rgba(126,203,142,.08); font-size: 9px; }
.edge-badge.pending { color: #b9a77d; background: rgba(201,164,92,.075); border: 1px solid rgba(201,164,92,.13); }
.pick-card h4 { font: 400 19px var(--serif); margin: 13px 0 5px; }
.pick-card .teams { color: var(--muted); font-size: 10px; }
.probability-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-top: 22px; }
.probability-row strong { font: 400 30px var(--serif); }
.probability-row small { display: block; color: #696c63; font-size: 8px; letter-spacing: .1em; }
.meter { height: 3px; background: #282a25; margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, #79602f, var(--gold-pale)); }
.odd-box { text-align: right; }
.odd-box strong { color: var(--gold-pale); }
.bookmaker { color: var(--muted); font-size: 9px; margin-top: 4px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.search-field { height: 43px; max-width: 430px; flex: 1; border: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.search-field span { color: var(--gold); font-size: 18px; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ivory); background: transparent; }
.search-field input::placeholder { color: #5f625a; }
.search-field button { width: 28px; height: 28px; flex: 0 0 28px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; }
.search-field button:hover,.search-field button:focus-visible { color: var(--gold-pale); outline: 1px solid var(--gold); }
.segmented { border: 1px solid var(--line); padding: 3px; display: flex; }
.segmented button, .market-filter button { border: 0; color: var(--muted); background: transparent; padding: 8px 12px; cursor: pointer; }
.segmented button.active, .market-filter button.active { background: rgba(201,164,92,.12); color: var(--gold-pale); }
.segmented b { font-size: 9px; font-weight: 500; opacity: .7; margin-left: 4px; }
.status-legend { display: flex; align-items: center; gap: 18px; padding: 12px 15px; margin: -9px 0 14px; border: 1px solid var(--line); background: #10120f; font-size: 8px; letter-spacing: .12em; }
.status-legend .legend-live { color: var(--green); }.status-legend .legend-scheduled { color: var(--scheduled); }.status-legend .legend-finished { color: var(--finished); }
.status-legend em { margin-left: auto; color: #777a70; font-style: normal; letter-spacing: .04em; }
.table-panel { border: 1px solid var(--line-strong); background: var(--panel); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.table-head, .table-row { display: grid; grid-template-columns: 130px minmax(250px,1.5fr) minmax(130px,1fr) minmax(170px,1fr) 100px; gap: 18px; align-items: center; padding: 0 19px; }
.table-head { height: 47px; border-bottom: 1px solid var(--line); color: #65685f; font-size: 8px; letter-spacing: .15em; }
.table-row { min-height: 84px; border-bottom: 1px solid rgba(231,210,157,.13); border-left: 4px solid transparent; cursor: pointer; transition: .18s; }
.table-row.status-live { border-left-color: var(--green); background: rgba(72,129,83,.075); }
.table-row.status-scheduled { border-left-color: var(--scheduled); background: rgba(201,164,92,.045); }
.table-row.status-finished { border-left-color: var(--finished); background: rgba(132,75,72,.045); opacity: .86; }
.table-row:last-child { border: 0; }
.table-row:hover { background: rgba(201,164,92,.035); }
.time-cell strong, .time-cell small { display: block; }
.time-cell strong { color: var(--gold-pale); font-size: 12px; }
.time-cell small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.fixture-cell strong, .fixture-cell small { display: flex; align-items: center; gap: 9px; }
.fixture-cell strong { font-weight: 650; color: var(--ivory); display: flex; align-items: center; gap: 9px; }
.fixture-cell small { color: var(--muted); margin-top: 7px; }
.muted-cell { color: var(--muted); font-size: 11px; }
.muted-cell.awaiting-odds { color: #c3b68f; }.muted-cell small { display: block; margin-top: 5px; color: #6f7169; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.competition-cell { min-width: 0; }
.competition-cell span { display: block; width: fit-content; max-width: 100%; padding: 3px 6px; margin-bottom: 6px; border: 1px solid rgba(201,164,92,.28); color: var(--gold); font-size: 7px; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.competition-cell strong { display: block; color: #b8b9b1; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.confidence { color: var(--gold-pale); font: 400 20px var(--serif); }
.confidence.provisional { color: #777970; }
.picks-scope-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 18px 0 12px; }.picks-scope-toolbar > span { color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.insight-banner { border: 1px solid var(--line); background: linear-gradient(90deg, #18170f, var(--panel)); padding: 18px 21px; display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.insight-banner span { border: 1px solid var(--gold); color: var(--gold); padding: 7px; font-size: 8px; letter-spacing: .14em; }
.insight-banner p { margin: 0; color: #94968e; font-size: 11px; }
.market-filter { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 18px; }

.ako-layout { display: grid; grid-template-columns: minmax(330px, 410px) minmax(0, 1fr); gap: 20px; align-items: start; }
.ako-builder { position: sticky; top: 122px; border: 1px solid var(--line); background: radial-gradient(circle at 100% 0, rgba(201,164,92,.14), transparent 42%), var(--panel); padding: 32px; }
.ako-builder h2 { margin: 25px 0 17px; font: 400 39px/1.04 var(--serif); }
.ako-builder h2 em { color: var(--gold); font-weight: 400; }
.ako-builder > p { color: var(--muted); line-height: 1.7; font-size: 11px; }
#akoForm { margin-top: 27px; }
.ako-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ako-fields label { min-width: 0; display: block; }
.ako-fields label > span { display: block; margin-bottom: 7px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.ako-fields input { width: 100%; height: 51px; border: 1px solid var(--line-strong); border-radius: 0; outline: 0; background: #0d0f0c; color: var(--gold-pale); padding: 0 13px; font: 400 23px var(--serif); font-variant-numeric: tabular-nums; }
.ako-fields input:hover { border-color: rgba(201,164,92,.58); }
.ako-fields input:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,164,92,.12); }
.ako-fields input[aria-invalid="true"] { border-color: var(--red); }
.ako-fields small { display: block; min-height: 30px; margin-top: 6px; color: #696c63; font-size: 8px; line-height: 1.45; }
.ako-pool { margin: 17px 0 0; padding: 14px; border: 1px solid var(--line); background: rgba(8,9,7,.48); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.ako-pool span { color: var(--muted); font-size: 8px; letter-spacing: .12em; }.ako-pool strong { color: var(--gold-pale); font: 400 18px var(--serif); }.ako-pool small { grid-column: 1/-1; color: #65675f; font-size: 8px; }
.ako-pool-funnel { grid-column: 1/-1; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(229,208,157,.09); display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 7px; }.ako-pool-funnel span { display: grid; gap: 2px; color: #73756d; font-size: 7px; letter-spacing: .07em; text-align: center; }.ako-pool-funnel b { color: var(--ivory); font: 400 15px var(--serif); }.ako-pool-funnel i { color: #50472f; font-style: normal; }
.form-error { min-height: 34px; margin: 9px 0 5px; color: var(--red); font-size: 10px; line-height: 1.45; }
.ako-submit { width: 100%; min-height: 46px; }
.ako-rule { margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); display: grid; gap: 5px; }
.ako-rule strong { color: var(--ivory); font-size: 10px; }.ako-rule span { color: var(--muted); font-size: 9px; line-height: 1.5; }
.ako-result { min-height: 560px; border: 1px solid var(--line-strong); background: linear-gradient(145deg, #12140f, #0d0f0c); }
.ako-empty { min-height: 558px; padding: 40px; display: grid; place-content: center; justify-items: center; text-align: center; }
.ako-empty > span { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold); font: 400 30px var(--serif); }
.ako-empty h3 { margin: 20px 0 7px; font: 400 25px var(--serif); }.ako-empty p { max-width: 390px; margin: 0; color: var(--muted); line-height: 1.6; }
.ako-empty.error > span { color: var(--red); border-color: rgba(239,120,109,.38); }
.ako-result-head { min-height: 80px; padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ako-result-head h3 { margin: 0; font: 400 25px var(--serif); }.ako-result-head > span { color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.ako-summary { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.ako-summary > div { min-height: 96px; padding: 19px; border-right: 1px solid var(--line); }
.ako-summary > div:last-child { border-right: 0; }.ako-summary .accent { background: rgba(201,164,92,.08); }
.ako-summary small { display: block; color: var(--muted); font-size: 7px; letter-spacing: .13em; }.ako-summary strong { display: block; margin-top: 8px; color: var(--ivory); font: 400 27px var(--serif); }.ako-summary .accent strong { color: var(--gold-pale); }
.ako-warning { margin: 14px 18px 0; padding: 13px 15px; border: 1px solid rgba(215,174,94,.3); background: rgba(215,174,94,.055); display: grid; gap: 4px; }
.ako-warning strong { color: var(--scheduled); font-size: 9px; }.ako-warning span { color: var(--muted); font-size: 9px; line-height: 1.45; }
.ako-legs { padding: 12px; display: grid; gap: 7px; }
.ako-leg { min-height: 92px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: rgba(21,23,19,.84); display: grid; grid-template-columns: 46px minmax(200px,1.2fr) minmax(180px,1fr) 80px; gap: 14px; align-items: center; padding: 12px 15px; cursor: pointer; transition: .2s; }
.ako-leg:hover { border-color: var(--line-strong); background: rgba(201,164,92,.045); transform: translateX(2px); }
.ako-leg-index { color: #55584f; font: italic 17px var(--serif); }
.ako-leg-fixture,.ako-leg-market { min-width: 0; display: grid; gap: 4px; }
.ako-leg-fixture span,.ako-leg-market span { color: var(--gold); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ako-leg-fixture strong,.ako-leg-market strong { color: var(--ivory); font-size: 11px; overflow-wrap: anywhere; }.ako-leg-fixture small,.ako-leg-market small { color: var(--muted); font-size: 8px; }
.ako-leg-odd { text-align: right; }.ako-leg-odd small { display: block; color: var(--muted); font-size: 8px; }.ako-leg-odd strong { display: block; margin-top: 4px; color: var(--gold-pale); font: 400 24px var(--serif); }
.ako-disclaimer { padding: 5px 18px 20px; color: #696c63; font-size: 8px; line-height: 1.5; }
.ako-loading { min-height: 558px; display: grid; place-content: center; justify-items: center; text-align: center; }
.ako-loading i { width: 34px; height: 34px; border: 2px solid #393c34; border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }.ako-loading strong { margin-top: 16px; color: var(--gold-pale); }.ako-loading span { margin-top: 6px; color: var(--muted); font-size: 9px; }
.learning-layout { display: grid; grid-template-columns: 360px 1fr; gap: 30px; }
.learning-intro { border: 1px solid var(--line); background: radial-gradient(circle at 100% 100%, rgba(201,164,92,.13), transparent 45%), var(--panel); padding: 36px; min-height: 500px; }
.learning-intro h2 { font: 400 42px/1.05 var(--serif); margin: 35px 0 22px; }
.learning-intro p { color: var(--muted); line-height: 1.75; }
.formula { margin-top: 38px; padding: 14px; border: 1px solid var(--line); font: 18px var(--serif); color: var(--gold-pale); }
.learning-markets { border: 1px solid var(--line); background: var(--panel); }
.learning-row { padding: 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 90px 90px; gap: 25px; align-items: center; }
.learning-row:last-child { border: 0; }
.learning-row h4 { margin: 0 0 5px; font-weight: 400; }
.learning-row p { margin: 0; color: var(--muted); font-size: 10px; }
.calibration-track { height: 5px; background: #272923; margin-top: 13px; position: relative; }
.calibration-track::after { content: ''; position: absolute; left: 50%; top: -3px; height: 11px; width: 1px; background: #66695f; }
.calibration-track i { display: block; position: absolute; top: 0; height: 100%; background: var(--gold); }
.learning-number small { display: block; color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.learning-number strong { display: block; font: 400 21px var(--serif); margin-top: 5px; }
.history-hero { min-height: 220px; margin-bottom: 20px; padding: 34px 38px; border: 1px solid var(--line); background: radial-gradient(circle at 85% 20%, rgba(201,164,92,.13), transparent 32%), linear-gradient(120deg, #151713, #0c0e0b); display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; position: relative; overflow: hidden; }
.history-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 118px, rgba(229,208,157,.018) 119px); }
.history-hero > * { position: relative; z-index: 1; }
.history-hero h2 { margin: 0; font: 400 clamp(31px,3vw,47px)/1.02 var(--serif); }
.history-hero h2 em { color: var(--gold); font-weight: 400; }
.history-hero p { max-width: 630px; margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.history-ledger { min-width: 320px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: rgba(8,9,7,.7); }
.history-ledger span { min-height: 92px; padding: 18px 20px; display: grid; align-content: center; border-right: 1px solid var(--line); }
.history-ledger span:last-child { border-right: 0; }
.history-ledger small { color: var(--muted); font-size: 7px; letter-spacing: .17em; }
.history-ledger strong { margin-top: 5px; color: var(--gold-pale); font: 400 31px var(--serif); font-variant-numeric: tabular-nums; }
.history-command-bar { min-height: 58px; margin-bottom: 10px; border: 1px solid var(--line); background: #10120f; display: flex; align-items: stretch; justify-content: space-between; gap: 16px; }
.history-kind-tabs { display: flex; align-items: stretch; }
.history-kind-tabs button { min-width: 184px; padding: 0 20px; border: 0; border-right: 1px solid var(--line); border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; letter-spacing: .055em; }
.history-kind-tabs button:hover { color: var(--ivory); background: rgba(255,255,255,.018); }
.history-kind-tabs button.active { color: var(--gold-pale); border-bottom-color: var(--gold); background: linear-gradient(180deg, transparent, rgba(201,164,92,.08)); }
.history-kind-tabs b { display: inline-grid; min-width: 20px; height: 20px; margin-left: 8px; padding: 0 6px; place-items: center; border-radius: 20px; background: rgba(201,164,92,.12); color: var(--gold); font-size: 8px; }
.history-export-actions { padding: 8px; display: flex; gap: 8px; }
.history-export-actions .ghost-button,.history-export-actions .primary-button { min-height: 40px; font-size: 10px; }
.history-filters { margin-bottom: 10px; padding: 13px 14px; border: 1px solid var(--line); background: var(--panel); display: grid; grid-template-columns: minmax(230px,1.45fr) repeat(4,minmax(135px,.72fr)); gap: 10px; align-items: end; }
.history-filters label { min-width: 0; display: grid; gap: 7px; position: relative; }
.history-filters label > span { color: var(--muted); font-size: 7px; font-weight: 700; letter-spacing: .17em; }
.history-filters input,.history-filters select { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 0; outline: 0; background: #0d0f0c; color: var(--ivory); padding: 0 12px; font: 10px var(--sans); }
.history-filters input { padding-right: 12px; color-scheme: dark; }
.history-filters .history-search-field input { padding-right: 40px; }
.history-filters input::placeholder { color: #5f625a; }
.history-filters input:hover,.history-filters select:hover { border-color: var(--line-strong); }
.history-filters input:focus-visible,.history-filters select:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,164,92,.1); }
.history-filters select:disabled { opacity: .46; cursor: not-allowed; }
.history-filters select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%); background-position: calc(100% - 16px) 17px,calc(100% - 11px) 17px; background-size: 5px 5px,5px 5px; background-repeat: no-repeat; }
.history-search-field button { position: absolute; right: 5px; bottom: 5px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; }
.history-search-field button:hover { color: var(--gold-pale); }
.history-reset { height: 42px; padding: 0 12px; white-space: nowrap; justify-self: start; }
.history-results-meta { min-height: 35px; padding: 9px 2px; color: var(--muted); font-size: 9px; letter-spacing: .08em; display: flex; align-items: center; justify-content: space-between; }
.history-results-meta b { color: var(--gold-pale); font-weight: 600; }
.history-list { border: 1px solid var(--line); background: var(--panel); }
.history-list-head { min-height: 34px; padding: 0 18px; display: grid; grid-template-columns: minmax(230px,1.45fr) minmax(135px,.8fr) 100px 110px 130px; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); background: #10120f; color: #74776e; font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }
.history-row { display: grid; grid-template-columns: minmax(230px,1.45fr) minmax(135px,.8fr) 100px 110px 130px; gap: 16px; align-items: center; min-height: 76px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.history-row.history-won { box-shadow: inset 3px 0 rgba(126,203,142,.7); background: linear-gradient(90deg, rgba(126,203,142,.045), transparent 28%); }
.history-row.history-lost { box-shadow: inset 3px 0 rgba(199,92,82,.62); background: linear-gradient(90deg, rgba(199,92,82,.04), transparent 28%); }
.history-row.history-pending { box-shadow: inset 3px 0 rgba(201,164,92,.45); }
.history-row:last-child { border: 0; }
.history-row small { color: var(--muted); display: block; margin-top: 4px; }
.history-match { min-width: 0; }
.history-team-line { display: grid; grid-template-columns: 27px minmax(0,1fr) 27px; align-items: center; gap: 8px; }
.history-team-line strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-team-line .team-logo,.history-team-line .team-logo-placeholder { width: 27px; height: 27px; }
.history-match strong { display: block; font-weight: 600; color: var(--ivory); }
.history-match em { display: inline-block; margin-right: 6px; color: var(--gold); font-size: 7px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.history-kickoff { color: #b6b3aa !important; }
.history-pagination { margin: 14px auto 0; display: flex; align-items: center; justify-content: center; gap: 12px; }
.history-pagination span { min-width: 110px; text-align: center; color: var(--muted); font-size: 9px; letter-spacing: .09em; }
.history-pagination .ghost-button { min-width: 126px; }
.history-pagination .ghost-button:disabled { opacity: .35; cursor: not-allowed; }
.history-empty { min-height: 260px; padding: 35px; text-align: center; display: grid; place-items: center; color: var(--muted); }
.history-empty span { display: block; color: var(--gold); font: 400 42px var(--serif); }
.history-empty h3 { margin: 8px 0 5px; color: var(--ivory); font: 400 22px var(--serif); }
.history-empty p { margin: 0; font-size: 10px; }
.coupon-history-list { display: grid; gap: 10px; background: transparent; border: 0; }
.coupon-history-card { border: 1px solid var(--line); background: linear-gradient(130deg,#161813,#0e100d); }
.coupon-history-card > header { min-height: 82px; padding: 16px 19px; display: grid; grid-template-columns: minmax(160px,1fr) repeat(3,minmax(105px,.38fr)); align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.coupon-history-title small,.coupon-history-metric small { display: block; color: var(--muted); font-size: 7px; letter-spacing: .14em; }
.coupon-history-title strong { display: block; margin-top: 6px; font: 400 19px var(--serif); }
.coupon-history-title em { color: var(--gold); font-style: normal; }
.coupon-history-metric { text-align: right; }
.coupon-history-metric strong { display: block; margin-top: 4px; color: var(--gold-pale); font: 400 22px var(--serif); font-variant-numeric: tabular-nums; }
.coupon-history-legs { display: grid; }
.coupon-history-leg { min-height: 62px; padding: 10px 19px; display: grid; grid-template-columns: 34px minmax(220px,1.3fr) minmax(170px,1fr) 78px; gap: 14px; align-items: center; border-bottom: 1px solid rgba(231,210,157,.1); }
.coupon-fixture { display: grid; grid-template-columns: 25px minmax(0,1fr) 25px; gap: 7px; align-items: center; }
.coupon-fixture .team-logo,.coupon-fixture .team-logo-placeholder { width: 25px; height: 25px; }
.coupon-fixture > div { min-width: 0; }
.coupon-history-leg:last-child { border-bottom: 0; }
.coupon-history-leg > b { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); font-size: 8px; }
.coupon-history-leg strong { display: block; font-size: 11px; }
.coupon-history-leg small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.coupon-history-leg .leg-market { color: #c8c6be; }
.coupon-history-leg .leg-odd { text-align: right; color: var(--gold-pale); font: 400 20px var(--serif); }
.coupon-warning { padding: 10px 18px; border-top: 1px solid rgba(201,164,92,.18); color: var(--gold-pale); background: rgba(201,164,92,.04); font-size: 9px; }
.settle-actions { display: flex; gap: 5px; }
.settle-actions button { border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; padding: 6px 8px; }
.settle-actions .won:hover { color: var(--green); border-color: var(--green); }
.settle-actions .lost:hover { color: var(--red); border-color: var(--red); }
.result.won { color: var(--green); }.result.lost { color: var(--red); }.result.pending { color: var(--gold); letter-spacing: .08em; font-size: 9px; }
.result small { max-width: 190px; line-height: 1.35; letter-spacing: 0; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.setting-card { border: 1px solid var(--line); background: var(--panel); padding: 27px; min-height: 180px; display: flex; gap: 19px; }
.setting-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold); font-size: 19px; }
.setting-card small { color: var(--gold); font-size: 8px; letter-spacing: .16em; }
.setting-card h3 { font: 400 23px var(--serif); margin: 9px 0; }
.setting-card p { color: var(--muted); line-height: 1.65; margin: 0; font-size: 11px; }
.setting-card.danger { border-color: rgba(239,120,109,.2); }
.setting-card.danger .setting-icon { color: var(--red); }

.modal-open { overflow: hidden; }
.match-modal { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.match-modal.open { visibility: visible; }
.match-modal-backdrop { position: absolute; inset: 0; background: rgba(2,3,2,.82); opacity: 0; transition: .25s ease; backdrop-filter: blur(9px); }
.match-modal.open .match-modal-backdrop { opacity: 1; }
.match-modal-panel { position: absolute; left: 50%; top: 50%; width: min(1080px, calc(100vw - 54px)); height: min(850px, calc(100vh - 42px)); min-height: 0; overflow: hidden; background: radial-gradient(circle at 50% -15%, rgba(201,164,92,.13), transparent 38%), #0d0f0c; border: 1px solid rgba(229,208,157,.42); box-shadow: 0 35px 120px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.9); transform: translate(-50%,-47%) scale(.965); opacity: 0; transition: .3s cubic-bezier(.2,.8,.2,1); }
.match-modal.open .match-modal-panel { transform: translate(-50%,-50%) scale(1); opacity: 1; }
.match-modal-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(229,208,157,.018) 120px); }
#drawerContent { height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.match-modal-close { position: absolute; right: 18px; top: 16px; z-index: 5; width: 37px; height: 37px; border: 1px solid var(--line); background: rgba(8,9,7,.75); color: var(--muted); font-size: 24px; cursor: pointer; transition: .2s; }
.match-modal-close:hover { border-color: var(--gold); color: var(--gold-pale); transform: rotate(90deg); }
.match-modal-header { min-height: 204px; padding: 25px 68px 22px; border-bottom: 1px solid var(--line); position: relative; display: grid; align-content: center; }
.drawer-competition { color: var(--gold); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.modal-fixture { display: grid; grid-template-columns: minmax(0,1fr) 150px minmax(0,1fr); gap: 28px; align-items: center; margin-top: 19px; }
.modal-team { min-width: 0; display: flex; align-items: center; gap: 16px; }
.modal-team.away { justify-content: flex-end; text-align: right; }
.modal-team strong { font: 400 clamp(21px,2.4vw,32px)/1.05 var(--serif); overflow-wrap: anywhere; }
.modal-score { text-align: center; display: grid; justify-items: center; }
.modal-score b { font: 400 39px var(--serif); color: var(--gold-pale); margin: 10px 0 4px; }
.modal-score small { color: var(--muted); font-size: 9px; }
.modal-score .status-badge { font-size: 9px; }
.match-tabs { height: 58px; padding: 0 28px; display: flex; justify-content: center; gap: 3px; border-bottom: 1px solid var(--line); background: rgba(12,14,11,.92); }
.match-tabs button { min-width: 145px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; transition: .2s; }
.match-tabs button:hover { color: var(--ivory); background: rgba(255,255,255,.02); }
.match-tabs button.active { color: var(--gold-pale); border-bottom-color: var(--gold); background: linear-gradient(180deg, transparent, rgba(201,164,92,.07)); }
.match-tabs b { margin-left: 8px; min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 10px; background: rgba(201,164,92,.12); color: var(--gold); font-size: 8px; }
.match-tab-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 31px 42px 52px; position: relative; scrollbar-width: thin; scrollbar-color: var(--gold) #11130f; }
.match-tab-content:focus-visible { outline: 1px solid rgba(201,164,92,.55); outline-offset: -2px; }
.match-tab-content::-webkit-scrollbar { width: 10px; }.match-tab-content::-webkit-scrollbar-track { background: #11130f; }.match-tab-content::-webkit-scrollbar-thumb { background: #665632; border: 2px solid #11130f; border-radius: 8px; }.match-tab-content::-webkit-scrollbar-thumb:hover { background: var(--gold); }
.modal-analysis-lead h3, .tab-toolbar h3 { font: 400 29px var(--serif); margin: 0; }
.modal-analysis-lead p { margin: 8px 0 0; color: var(--muted); }
.modal-actions { display: flex; gap: 9px; margin-top: 18px; }
.tab-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.data-note { color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.live-data-note { color: var(--green); font-size: 9px; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.live-data-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.stats-scoreboard { border: 1px solid var(--line); background: linear-gradient(90deg, rgba(126,203,142,.055), #12140f 32%, #12140f 68%, rgba(201,164,92,.055)); padding: 17px 22px; display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; }
.stats-scoreboard span { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.stats-scoreboard span:last-child { justify-content: flex-end; text-align: right; }
.stats-scoreboard strong { text-align: center; font: 400 25px var(--serif); color: var(--gold-pale); }
.match-stats-list { display: grid; gap: 12px; margin-top: 13px; }
.stats-group { border: 1px solid var(--line); background: rgba(14,16,12,.76); }
.stats-group > header { height: 39px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(201,164,92,.1), transparent 65%); }
.stats-group > header span { color: var(--gold-pale); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.stats-group > header b { min-width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(201,164,92,.25); border-radius: 50%; color: var(--gold); font-size: 8px; }
.match-stat-row { min-height: 64px; padding: 12px 20px 11px; border-bottom: 1px solid rgba(231,210,157,.09); }
.match-stat-row:last-child { border-bottom: 0; }
.match-stat-row:nth-child(odd) { background: rgba(255,255,255,.012); }
.stat-values { display: grid; grid-template-columns: minmax(75px,1fr) minmax(180px,1.45fr) minmax(75px,1fr); align-items: center; gap: 14px; }
.stat-values span { text-align: center; color: #b4b3ac; font-size: 10px; font-weight: 600; letter-spacing: .015em; }
.stat-values strong { font: 400 18px var(--serif); color: #d8d6cf; }
.stat-values strong:last-child { text-align: right; }
.match-stat-row.home-leads .stat-values strong:first-child,.match-stat-row.away-leads .stat-values strong:last-child { color: var(--gold-pale); }
.stat-comparison { height: 3px; margin-top: 9px; display: flex; gap: 3px; background: #252820; overflow: hidden; }
.stat-comparison i { height: 100%; transition: width .35s ease; }.stat-comparison .home { margin-left: auto; background: linear-gradient(90deg, #7aa884, var(--green)); }.stat-comparison .away { background: linear-gradient(90deg, var(--gold), #725d31); }
.modal-picks-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.modal-pick { border: 1px solid var(--line); border-top: 2px solid rgba(201,164,92,.42); background: linear-gradient(145deg, #171914, #10120f); padding: 17px; }
.modal-pick.insufficient { border-top-color: #5d6059; background: linear-gradient(145deg, #141613, #0f110e); }
.modal-pick-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-pick-heading > span { color: var(--gold); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.modal-pick-heading b { color: var(--green); font-size: 7px; letter-spacing: .1em; }
.modal-pick.insufficient .modal-pick-heading > span { color: #9a9c94; }.modal-pick.insufficient .modal-pick-heading b { color: #8c8e84; }
.modal-pick h4 { font: 400 20px var(--serif); margin: 10px 0 15px; }
.modal-pick > div { display: flex; justify-content: space-between; align-items: end; }
.modal-pick > div > strong { font: 400 26px var(--serif); }
.modal-pick em { color: var(--gold-pale); font: 400 22px var(--serif); font-style: normal; text-align: right; }
.modal-pick em small { display: block; color: var(--muted); font: 8px var(--sans); margin-top: 3px; }
.modal-pick p { color: var(--muted); font-size: 9px; line-height: 1.5; border-top: 1px solid var(--line); margin: 14px 0 0; padding-top: 11px; }
.h2h-list { display: grid; gap: 8px; }
.h2h-card { min-height: 74px; display: grid; grid-template-columns: 120px minmax(170px,1fr) 86px minmax(170px,1fr); align-items: center; gap: 15px; border: 1px solid var(--line); border-left: 4px solid var(--muted); padding: 11px 18px 11px 14px; background: linear-gradient(90deg, rgba(255,255,255,.025), #11130f); transition: .2s; }
.h2h-card:hover { transform: translateX(3px); border-color: var(--line-strong); }
.h2h-card.home-win { border-left-color: var(--green); background: linear-gradient(90deg, rgba(126,203,142,.08), #11130f 35%); }
.h2h-card.away-win { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(201,164,92,.08), #11130f 35%); }
.h2h-card.draw { border-left-color: #8f96a1; background: linear-gradient(90deg, rgba(143,150,161,.07), #11130f 35%); }
.h2h-meta span { display: block; color: var(--ivory); font-size: 10px; }.h2h-meta small { display: block; color: var(--muted); font-size: 8px; margin-top: 4px; line-height: 1.3; }
.h2h-team { min-width: 0; display: flex; align-items: center; gap: 11px; }
.h2h-team.away { justify-content: flex-end; text-align: right; }
.h2h-team strong { font-weight: 600; overflow-wrap: anywhere; }
.h2h-score { min-width: 74px; padding: 8px; text-align: center; border: 1px solid var(--line-strong); background: #090a08; font: 400 24px var(--serif); color: var(--gold-pale); }
.h2h-score i { color: #62655d; font-style: normal; margin: 0 5px; }
.odds-table { width: 100%; border-collapse: collapse; }
.odds-table th, .odds-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; font-size: 10px; }
.odds-table th { color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.odds-table td:last-child { color: var(--gold-pale); font-weight: 700; }
.analysis-report { border: 1px solid rgba(201,164,92,.35); border-left: 3px solid var(--gold); background: linear-gradient(135deg, rgba(201,164,92,.11), #12140f); padding: 18px; margin-top: 20px; }
.analysis-report.featured { padding: 25px 27px; }
.analysis-report header { display: flex; justify-content: space-between; gap: 12px; color: var(--gold-pale); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.analysis-report p { color: #d4d2ca; line-height: 1.65; }
.analysis-report ul { color: var(--muted); padding-left: 18px; font-size: 10px; line-height: 1.6; }
.analysis-progress { border: 1px solid var(--line-strong); background: #11130f; padding: 18px; margin-top: 20px; display: grid; grid-template-columns: 25px 1fr; gap: 13px; align-items: center; }
.analysis-progress i { width: 23px; height: 23px; border: 2px solid #393c34; border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
.analysis-progress strong { display: block; color: var(--gold-pale); }.analysis-progress small { display: block; color: var(--muted); margin-top: 5px; }
.empty { min-height: 180px; display: grid; place-items: center; color: var(--muted); border: 1px dashed var(--line); }
.empty.compact { min-height: 230px; text-align: center; padding: 24px; }
.skeleton { min-height: 210px; background: linear-gradient(90deg, var(--panel) 25%, #1a1c18 50%, var(--panel) 75%); background-size: 300% 100%; animation: shimmer 1.6s infinite; }.skeleton.wide { min-height: 156px; grid-column: 1/-1; }
.toast-stack { position: fixed; right: 25px; bottom: 25px; z-index: 120; display: grid; gap: 8px; }
.toast { min-width: 280px; max-width: 390px; padding: 13px 16px; background: #1b1d18; border: 1px solid var(--line-strong); border-left: 2px solid var(--gold); box-shadow: 0 15px 50px rgba(0,0,0,.4); animation: slideIn .25s ease; }
.toast.error { border-left-color: var(--red); }

@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
@keyframes slideIn { from { transform: translateX(15px); opacity: 0; } }
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(126,203,142,0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 82px minmax(0,1fr); }
  .sidebar { padding-inline: 12px; }.brand { justify-content: center; padding-inline: 0; }.brand-logo { width: 58px; height: 46px; object-fit: cover; object-position: left center; }.nav-item:not(.active)::after,.nav-item { font-size: 0; }.nav-item { justify-content: center; }.nav-item span { font-size: 20px; }.system-tile { display: none; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }.stat-card:nth-child(2) { border-right: 0; }.stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .match-strip,.pick-grid,.pick-grid.expanded { grid-template-columns: repeat(2,1fr); }.learning-layout { grid-template-columns: 1fr; }
  .history-hero { align-items: stretch; flex-direction: column; }.history-ledger { min-width: 0; width: 100%; }.history-filters { grid-template-columns: repeat(2,minmax(190px,1fr)); }.history-search-field { grid-column: 1/-1; }.history-reset { justify-self: stretch; }.coupon-history-card > header { grid-template-columns: 1fr repeat(3,110px); }
  .ako-layout { grid-template-columns: 340px minmax(0,1fr); }.ako-summary { grid-template-columns: repeat(2,1fr); }.ako-summary > div:nth-child(2) { border-right: 0; }.ako-summary > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.ako-leg { grid-template-columns: 36px minmax(150px,1fr) minmax(145px,1fr) 70px; }
  .table-head,.table-row { grid-template-columns: 110px minmax(220px,1.5fr) 1fr 90px; }.table-head span:nth-child(4),.table-row > :nth-child(4) { display: none; }
  .match-modal-panel { width: calc(100vw - 34px); }.match-modal-header { padding-inline: 45px; }.h2h-card { grid-template-columns: 95px minmax(130px,1fr) 72px minmax(130px,1fr); }
}
@media (max-width: 720px) {
  .app-shell { display: block; }.sidebar { position: fixed; inset: auto 0 0; width: 100%; height: 64px; padding: 5px 7px; flex-direction: row; border-right: 0; border-top: 1px solid var(--line); z-index: 60; }.brand,.sidebar-bottom,.nav-item span { display: none; }.nav { padding: 0; width: 100%; display: flex; justify-content: space-around; }.nav-item { display: block; font-size: 9px; text-align: center; padding: 9px 6px; width: auto; }.nav-item.active { box-shadow: inset 0 2px var(--gold); }
  .topbar { height: 75px; padding: 0 17px; }.top-actions .live-clock,.top-actions .primary-button { display: none; }.content { padding: 17px 14px 90px; }.hero-panel { min-height: 470px; padding: 30px 24px; align-items: end; }.hero-panel h2 { font-size: 39px; }.hero-signal { display: none; }.stat-grid { grid-template-columns: 1fr 1fr; }.stat-card { padding: 18px 16px; min-height: 110px; }.match-strip,.pick-grid,.pick-grid.expanded,.settings-grid { grid-template-columns: 1fr; }.toolbar { align-items: stretch; flex-direction: column; }.table-head { display: none; }.table-row { grid-template-columns: 85px 1fr 55px; gap: 10px; padding: 13px; }.table-row > :nth-child(3),.table-row > :nth-child(4) { display: none; }.learning-intro { padding: 26px; }.learning-row { grid-template-columns: 1fr 70px; }.learning-row > :last-child { display:none; }.history-list-head { display: none; }.history-row { grid-template-columns: 1fr 92px; gap: 12px; }.history-row > :nth-child(2),.history-row > :nth-child(3),.history-row > :nth-child(4) { display: none; }
  .history-hero { min-height: 0; padding: 27px 22px; }.history-hero h2 { font-size: 34px; }.history-ledger strong { font-size: 26px; }.history-command-bar { display: grid; }.history-kind-tabs button { min-width: 0; flex: 1; padding-inline: 12px; }.history-export-actions { border-top: 1px solid var(--line); }.history-export-actions > * { flex: 1; }.history-filters { grid-template-columns: 1fr; }.history-search-field { grid-column: auto; }.history-reset { grid-column: auto; justify-self: stretch; }.history-pagination { display: grid; grid-template-columns: 1fr 1fr; }.history-pagination span { grid-column: 1/-1; grid-row: 1; }.coupon-history-card > header { grid-template-columns: 1fr 1fr; }.coupon-history-title { grid-column: 1/-1; }.coupon-history-card > header .coupon-history-metric:nth-of-type(3) { display: none; }.coupon-history-leg { grid-template-columns: 28px minmax(0,1fr) 55px; }.coupon-history-leg .leg-market { grid-column: 2/-1; padding-top: 8px; border-top: 1px solid var(--line); }.coupon-history-leg .leg-odd { grid-column: 3; grid-row: 1; }
  .status-legend { overflow-x: auto; white-space: nowrap; }.status-legend em { display:none; }.segmented { overflow-x: auto; }
  .picks-scope-toolbar { align-items: stretch; flex-direction: column; }.picks-scope-toolbar > span { padding-left: 2px; }
  .ako-layout { grid-template-columns: 1fr; }.ako-builder { position: static; padding: 26px 22px; }.ako-result { min-height: 420px; }.ako-empty,.ako-loading { min-height: 418px; }.ako-leg { grid-template-columns: 32px 1fr 62px; gap: 10px; }.ako-leg-market { grid-column: 2/-1; padding-top: 9px; border-top: 1px solid var(--line); }.ako-leg-odd { grid-column: 3; grid-row: 1; }.ako-summary strong { font-size: 23px; }
  .match-modal-panel { width: 100vw; height: 100dvh; border: 0; }.match-modal-header { min-height: 190px; padding: 28px 25px 18px; }.modal-fixture { grid-template-columns: 1fr 78px 1fr; gap: 10px; }.modal-team { display: grid; justify-items: start; gap: 9px; }.modal-team.away { justify-items: end; }.modal-team strong { font-size: 19px; }.modal-score b { font-size: 27px; }.modal-score small { display: none; }.match-tabs { height: 53px; padding: 0 8px; justify-content: stretch; overflow-x: auto; }.match-tabs button { min-width: 105px; flex: 1; font-size: 8px; }.match-tab-content { padding: 23px 15px 40px; }.modal-picks-grid { grid-template-columns: 1fr; }.h2h-card { grid-template-columns: 1fr 62px 1fr; padding: 12px; gap: 8px; }.h2h-meta { grid-column: 1/-1; display: flex; justify-content: space-between; }.h2h-team { display: grid; justify-items: start; gap: 7px; }.h2h-team.away { justify-items: end; }.h2h-score { min-width: 58px; padding: 7px 4px; }.stats-scoreboard { grid-template-columns: 1fr 65px 1fr; padding-inline: 12px; }.stats-scoreboard span { font-size: 10px; }.match-stat-row { padding-inline: 13px; }.stat-values { grid-template-columns: minmax(55px,1fr) minmax(125px,1.4fr) minmax(55px,1fr); gap: 7px; }.stat-values strong { font-size: 16px; }.tab-toolbar { align-items: start; }.tab-toolbar > span { text-align: right; }.modal-actions { flex-direction: column; align-items: stretch; }.match-modal-close { right: 8px; top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Accessibility override intentionally wins over decorative component motion. */
  *, *::before, *::after { scroll-behavior: auto; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  * { scrollbar-color: auto; }
}
