* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --brand-green: #149c04;
  --brand-graphite: #1c1c24;
  --brand-rose: #dcbcc4;
  --green: #7dfa5b;
  --green-text: #a4fc90;
  --halo: #7dfa5b29;
  --bg: #0d0e12;
  --side: #121319;
  --panel: var(--brand-graphite);
  --panel-raised: #20232c;
  --input: #111218;
  --line: #353743;
  --text: #f4f5f7;
  --muted: #afb3c1;
  --warn: #eed1db;
  --danger: #ffb4c0;
  --radius: 17px;
}
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 "Segoe UI", system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: clamp(2rem,3vw,3rem); line-height: 1.1; letter-spacing: -.048em; }
h2 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.025em; }
h3 { font-size: 1.06rem; line-height: 1.3; }
small, .small, .subtext { font-size: .875rem; }
.muted, .subtext { color: var(--muted); }
.green { color: var(--green-text); }
.warn { color: var(--warn); }
.danger { color: var(--danger); }
hr { border: 0; border-top: 1px solid var(--line); }

.shell { display: grid; grid-template-columns: 237px minmax(0,1fr); min-height: 100vh; }
.shell > main { min-width: 0; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 25px 15px 16px; background: var(--side); border-right: 1px solid var(--line); overflow: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 4px; margin-bottom: 32px; }
.brand img { flex: none; width: 46px; height: 46px; border: 1px solid #44643b; border-radius: 12px; object-fit: cover; background: #030403; }
.brand strong, .owner strong { display: block; font-size: .96rem; line-height: 1.3; }
.brand small, .owner small { color: var(--muted); display: block; font-size: .82rem; }
.nav-label { margin-bottom: 7px; padding: 0 11px; color: var(--muted); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .10em; }
.nav-label.separated { margin-top: 24px; }
nav a { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 8px 10px; margin: 3px 0; border: 1px solid transparent; border-radius: 9px; color: #d6d8e4; font-size: .93rem; }
nav a:hover { background: var(--panel-raised); color: var(--text); }
nav a[aria-current] { color: var(--green-text); background: #17291b; border-color: #406f36; box-shadow: inset 2px 0 var(--green); }
.nav-count { margin-left: auto; color: #172215; background: var(--green); padding: 0 6px; border-radius: 999px; min-width: 22px; text-align: center; font-size: .76rem; font-weight: 700; }
.nav-icon { position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; color: inherit; }
.nav-icon::before, .nav-icon::after { content: ""; }
.icon-grid::before { width: 6px; height: 6px; background: currentColor; border-radius: 1px; transform: translate(-4px,-4px); box-shadow: 8px 0 currentColor, 0 8px currentColor, 8px 8px currentColor; }
.icon-chart::before { width: 13px; height: 13px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; position: absolute; }
.icon-chart::after { width: 2px; height: 3px; background: currentColor; transform: translate(-3px,2px); box-shadow: 4px -2px currentColor, 4px 0 currentColor, 8px -5px currentColor, 8px -3px currentColor, 8px -1px currentColor; }
.icon-ticket::before { width: 15px; height: 10px; border: 1.5px solid currentColor; border-radius: 4px; }
.icon-ticket::after { position: absolute; left: 11px; height: 8px; border-left: 1px dashed currentColor; }
.icon-clock::before { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; }
.icon-clock::after { position: absolute; width: 5px; height: 5px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: translate(2px,-1px); }
.icon-trophy::before { width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 0 0 6px 6px; transform: translateY(-3px); }
.icon-trophy::after { position: absolute; bottom: 2px; width: 7px; height: 6px; background: linear-gradient(currentColor,currentColor) center top/1.5px 100% no-repeat; border-bottom: 1.5px solid currentColor; }
.icon-data::before { width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-data::after { position: absolute; width: 7px; height: 1.5px; background: currentColor; box-shadow: 0 3px currentColor; transform: translateY(-2px); }
.icon-payment::before { width: 15px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-payment::after { position: absolute; width: 13px; height: 1.5px; background: currentColor; transform: translateY(-1px); }
.icon-calendar::before { width: 14px; height: 13px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-calendar::after { position: absolute; width: 12px; height: 1.5px; background: currentColor; transform: translateY(-2px); }
.icon-menu::before { width: 14px; height: 1.5px; background: currentColor; box-shadow: 0 -4px currentColor, 0 4px currentColor; }
.sidebar-bottom { margin-top: auto; padding: 15px 5px 0; border-top: 1px solid var(--line); }
.owner { display: flex; align-items: center; gap: 9px; min-width: 0; }
.owner strong { overflow-wrap: anywhere; }
.initial { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #253829; color: var(--green-text); font-weight: 700; }
.signout { color: var(--muted); display: block; width: fit-content; margin-top: 12px; font-size: .86rem; }
.signout:hover { color: var(--brand-rose); }
.mobile-scrim, .menu-toggle { display: none; }

.top { display: flex; justify-content: space-between; align-items: center; min-height: 63px; gap: 12px; padding: 0 clamp(20px,4vw,53px); border-bottom: 1px solid var(--line); background: #111218; }
.top-title, .top-meta { display: flex; align-items: center; gap: 13px; min-width: 0; }
.top-title { font-size: .93rem; font-weight: 600; }
.top-meta { justify-content: flex-end; color: var(--muted); font-size: .87rem; }
.view { max-width: 1580px; margin: auto; padding: clamp(22px,3.2vw,45px) clamp(20px,4vw,53px) 55px; display: grid; gap: 19px; }
.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 13px; }
.page-head p { margin-top: 7px; color: var(--muted); max-width: 66ch; }
.card { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.card h3+p, .card p+p { margin-top: 7px; }
.card-head { margin-bottom: 12px; }
.card-title { display: flex; align-items: center; gap: 10px; }
.field-icon { display: inline-grid; place-items: center; flex: none; width: 39px; height: 39px; border: 1px solid #42613c; border-radius: 11px; color: var(--green-text); background: #1e2f21; }

.dashboard-feature, .dashboard-bottom { display: grid; grid-template-columns: minmax(0,2fr) minmax(238px,1fr); gap: 14px; align-items: stretch; }
.hero { position: relative; display: grid; align-items: center; isolation: isolate; min-height: 251px; overflow: hidden; padding: clamp(20px,3.2vw,43px); border: 1px solid #61a250; border-radius: 22px; background: radial-gradient(ellipse at right center,color-mix(in srgb,var(--brand-green) 22%,transparent),transparent 65%),linear-gradient(116deg,#1e3426 0%,#17271f 44%,#12171c 83%); box-shadow: 0 0 29px #70f24d13, inset 0 1px #8df77129; }
.hero-copy { position: relative; z-index: 1; max-width: 380px; }
.hero h2 { font-size: clamp(2.18rem,4vw,3.9rem); line-height: 1.03; letter-spacing: -.065em; }
.hero p { margin-top: 11px; color: #d5dccf; max-width: 34ch; }
.hero .primary { margin-top: 20px; }
.hero-art { position: absolute; inset: 0 0 0 53%; overflow: hidden; opacity: .8; mask-image: linear-gradient(90deg,transparent,#000 38%); z-index: 0; }
.pitch { position: absolute; inset: 14% 1% 13% 6%; border: 1px solid #8bec686c; border-radius: 8px; background: repeating-linear-gradient(90deg,#68df4611 0 12%,transparent 12% 24%),radial-gradient(ellipse at center,#80fa532b,transparent 68%); transform: rotate(-13deg) scale(1.07); }
.pitch::before { content: ""; position: absolute; inset: 0 50% 0 auto; border-left: 1px solid #8bec686c; }
.pitch::after { content: ""; position: absolute; inset: 30% 37%; border: 1px solid #8bec686c; border-radius: 50%; }
.pitch .box { position: absolute; top: 24%; width: 16%; height: 52%; border: 1px solid #8bec686c; }
.pitch .left { left: -1px; }
.pitch .right { right: -1px; }
.tactics i { position: absolute; z-index: 1; width: 10px; height: 10px; border: 1px solid #ceffbe; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px #7dfa5b26,0 0 20px #7dfa5b7a; }
.tactics i:nth-child(1) { top: 33%; left: 24%; }
.tactics i:nth-child(2) { top: 62%; left: 46%; }
.tactics i:nth-child(3) { top: 34%; left: 66%; }
.tactics i:nth-child(4) { top: 64%; left: 84%; background: var(--brand-rose); border-color: #ffe3eb; box-shadow: 0 0 0 5px #dcbcc423; }
.report-card { display: flex; flex-direction: column; gap: 18px; }
.report-readout { display: grid; gap: 3px; }
.report-readout strong { font-size: 1.2rem; }
.report-readout span { font-size: .89rem; }
.report-card > .button { align-self: start; margin-top: auto; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.metric { display: grid; gap: 5px; }
.metric-label { display: flex; align-items: center; gap: 8px; color: #e4e5ec; font-size: .9rem; font-weight: 600; }
.metric-label .nav-icon { color: var(--green-text); }
.metric > strong { font-size: clamp(1.5rem,2.5vw,2.12rem); letter-spacing: -.04em; font-weight: 680; line-height: 1.1; }
.module-stack { align-self: start; }
.module { display: grid; grid-template-columns: 39px minmax(0,1fr); align-items: center; gap: 11px; min-height: 64px; padding: 8px 4px; border-top: 1px solid var(--line); }
.module:hover { color: var(--green-text); }
.module small { color: var(--muted); display: block; }
.layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(255px,1fr); gap: 14px; align-items: start; }

.btns, .toolbar, .between { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.between { justify-content: space-between; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 14px; border: 1px solid #545765; border-radius: 9px; background: #252832; color: var(--text); font-size: .91rem; font-weight: 650; line-height: 1.15; text-align: center; }
.button:hover { background: #2d343f; border-color: #747886; }
.button.primary { background: var(--green); border-color: var(--green); color: #14230f; box-shadow: 0 2px 17px var(--halo); }
.button.primary:hover { background: #a4ff8c; border-color: #a4ff8c; box-shadow: 0 3px 21px #7dfa5b44; }
.button.ghost { background: transparent; }
.button.ghost:hover { background: #27302d; border-color: #6d8567; }
.button:disabled { opacity: .52; cursor: not-allowed; }
.compact { min-height: 35px; padding: 6px 10px; font-size: .84rem; }
.status, .pill { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 8px; border: 1px solid #4d6550; border-radius: 7px; background: #203024; color: var(--green-text); font-size: .77rem; font-weight: 650; }
.status.demo, .pill.watch { background: #36282f; border-color: #755260; color: var(--warn); }
.pill.reject { background: #35252d; border-color: #784b58; color: var(--danger); }
.notice { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; border: 1px solid #557352; border-radius: 11px; padding: 11px 14px; color: #dcf0d8; background: #202d22; }
.notice strong { display: block; font-size: .91rem; }
.notice span { display: block; font-size: .86rem; }
.notice.demo { border-color: #654958; border-left: 3px solid var(--brand-rose); background: #282029; color: var(--warn); }
.notice.demo .button { color: #f3dde3; border-color: #755863; }

.analysis-workspace { display: grid; grid-template-columns: minmax(248px,.76fr) minmax(0,2fr); gap: 15px; align-items: start; }
.analysis-detail { display: grid; gap: 12px; min-width: 0; }
.analysis-day { --analysis-accent: #b9f784; --analysis-surface: #171b21; }
.analysis-day .page-head { margin-bottom: 16px; }
.analysis-day .notice { margin-bottom: 16px; }
.analysis-views { border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.analysis-views .tabs { gap: 5px; margin: 0; }
.analysis-views .button { border: 0; border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0; min-height: 44px; }
.analysis-views .button[aria-pressed="true"] { color: var(--analysis-accent); background: #202b23; border-bottom-color: var(--analysis-accent); }
.analysis-controls { display: grid; gap: 10px; margin-bottom: 16px; align-items: start; }
.analysis-controls > .tabs { width: min(100%, 400px); margin-top: 0; display: flex; flex-wrap: wrap; }
.analysis-controls > .tabs .button { flex: 1; }
.analysis-controls > .button { justify-self: start; }
.analysis-scope { display: grid; gap: 10px; align-items: end; }
.analysis-controls .field { margin: 0; }
.analysis-controls select { min-width: 0; }
.analysis-scope { grid-template-columns: repeat(auto-fit,minmax(min(100%,178px),1fr)); }
.analysis-scope .field:first-child { grid-column: span 2; }
.ranking-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 16px; }
.ranking-controls .field { flex: 1 1 238px; max-width: 440px; margin: 0; }
.ranking-popular { display: flex; flex-wrap: wrap; gap: 6px; }
.ranking-popular button[aria-pressed="true"] { color: var(--analysis-accent); border-color: #63845a; background: #233321; }
.ranked-row { align-items: center; }
.ranking-more { padding: 14px 20px; border-top: 1px solid var(--line); }
.fixture-country + .fixture-country { margin-top: 7px; }
.fixture-country { border-radius: 8px; border: 1px solid var(--line); background: #14171d; }
.fixture-country > summary, .fixture-league > summary { display: flex; align-items: center; gap: 8px; padding: 9px 10px; cursor: pointer; list-style: none; }
.fixture-country > summary { font-size: .91rem; font-weight: 650; }
.fixture-league > summary { font-size: .84rem; }
.fixture-country > summary::before, .fixture-league > summary::before { content: "›"; color: var(--green-text); font-size: 1em; }
.fixture-country[open] > summary::before, .fixture-league[open] > summary::before { transform: rotate(90deg); }
.fixture-country > summary::-webkit-details-marker, .fixture-league > summary::-webkit-details-marker { display: none; }
.fixture-country summary small, .fixture-league summary small { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.fixture-league { border-top: 1px solid var(--line); padding-inline: 5px; }
.fixture-league .fixture-list { gap: 3px; padding: 0 4px 7px; }
.fixture-league .fixture { min-height: 38px; padding: 5px 7px; }
.fixture-time small { display: block; font-size: .68rem; color: var(--muted); }
.match-market-group { padding: 5px 0; border-top: 1px solid var(--line); }
.match-market-group summary { padding: 7px 1px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.match-market-group summary small { margin-left: 5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.market-highlight { background: #222f24; padding-inline: 5px; }
.corner-context { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 8px; }
.corner-context > div { padding: 9px 11px; background: #13171c; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.corner-context h3 { font-size: .92rem; overflow-wrap: anywhere; }
.corner-context dl { margin: 6px 0 0; }
.corner-context dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 5px 10px; }
.corner-context dt { color: var(--muted); font-size: .79rem; overflow-wrap: anywhere; }
.corner-context dd { margin: 0; font-size: .82rem; font-variant-numeric: tabular-nums; text-align: right; }
.corner-context dd small { font-size: .72rem; white-space: nowrap; color: var(--muted); }
.corner-audit { margin-top: 8px; border-collapse: collapse; font-size: .84rem; }
.corner-audit th, .corner-audit td { padding: 5px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.shortlist-layout { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(224px, 1fr); gap: 16px; align-items: start; }
.analysis-day .shortlist-board, .analysis-day .shortlist-evidence { background: var(--analysis-surface); }
.analysis-day .shortlist-board { padding: 0; }
.shortlist-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; padding: 18px 20px; }
.shortlist-head p { margin-top: 3px; }
.shortlist-count { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.shortlist-row, .shortlist-result { border-top: 1px solid var(--line); padding: 17px 20px; }
.shortlist-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 11px 20px; align-items: start; }
.shortlist-copy { min-width: 0; overflow-wrap: anywhere; }
.shortlist-meta, .shortlist-form, .shortlist-limited { color: var(--muted); font-size: .82rem; }
.shortlist-copy h3 { font-size: 1.08rem; margin: 4px 0 2px; }
.shortlist-match { color: #d3d8df; font-size: .9rem; }
.shortlist-form { margin-top: 6px; }
.shortlist-limited { display: block; margin-top: 3px; color: var(--warn); }
.shortlist-numbers, .price-metrics { display: grid; gap: 6px 18px; font-variant-numeric: tabular-nums; }
.shortlist-numbers { width: 138px; max-width: 100%; }
.price-metrics { grid-template-columns: 1fr 1fr; }
.price-metrics-single { grid-template-columns: 1fr; }
.shortlist-numbers .chance-caption, .price-metrics > div > span:not(.chance-meter,.chance-status) { display: block; color: var(--muted); font-size: .78rem; }
.shortlist-numbers strong, .price-metrics strong { display: block; font-size: 1.3rem; line-height: 1.2; margin-top: 3px; }
.shortlist-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; }
.shortlist-actions .primary { color: #141e11; background: var(--analysis-accent); }
.shortlist-actions .primary:hover { background: #d1ffb1; }
.shortlist-more > summary { padding: 15px 20px; border-top: 1px solid var(--line); cursor: pointer; color: var(--analysis-accent); }
.shortlist-empty { border-top: 1px solid var(--line); padding: 22px 20px; }
.shortlist-empty p, .shortlist-evidence p + p { margin-top: 7px; color: var(--muted); }
.shortlist-empty .button, .shortlist-evidence .button { margin-top: 14px; }
.shortlist-hit { display: block; margin-top: 13px; color: var(--analysis-accent); font-size: 2.5rem; font-variant-numeric: tabular-nums; letter-spacing: -.055em; line-height: 1.15; }
.shortlist-evidence h2 + p { margin-top: 8px; }
.shortlist-result { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.result-score { display: flex; align-items: center; gap: 10px; }
.price-link { white-space: nowrap; }
.price-check { display: grid; gap: 13px; }
.price-match { margin-bottom: -10px; }
.price-check .field { margin: 0; }
.sport-odds { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.sport-odds strong { color: var(--text); }
.shortlist-numbers > .sport-odds { margin-top: 0; }
.shortlist-numbers > .sport-odds strong { display: inline; font-size: .85rem; }
.sport-odds-offer { display: inline-flex; flex-direction: column; align-items: start; margin: 5px 6px 0 0; }
.price-metrics { padding: 11px 0; }
.chance-meter {
  display: block;
  position: relative;
  isolation: isolate;
  width: min(100%, 138px);
  height: 7px;
  margin: 8px 0 3px;
  border-radius: 6px;
  background: #353944;
}
.chance-fill {
  display: block;
  position: relative;
  width: var(--chance-fill, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, hsl(var(--chance-hue, 4) 88% 67%), hsl(var(--chance-hue, 4) 82% 48%));
}
.chance-meter.is-hot {
  margin-top: 13px;
  background: #2c3c35;
  box-shadow: 0 0 8px #38ed6252;
}
.chance-meter.is-hot .chance-fill {
  background: linear-gradient(180deg, #b4fc85, #4fde55 47%, #269c50);
  box-shadow: 0 0 10px #55ed6091, inset 0 0 2px #e3ffb0;
}
.chance-fire {
  position: absolute;
  inset: auto 0 1px;
  display: block;
  width: 100%;
  height: 26px;
  filter: drop-shadow(0 0 3px #54fa4a99);
  pointer-events: none;
}
.chance-status, .prediction-result {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 650;
  font-size: .75rem;
  line-height: 1.25;
}
.chance-top { color: #b4f9a3; background: #233727; border-color: #3f6542; }
.chance-high { color: #d1eab6; background: #303628; border-color: #4b5b3b; }
.chance-medium { color: #f3dfa3; background: #363026; border-color: #5f5238; }
.chance-risky { color: #ffc99b; background: #3b2b25; border-color: #684738; }
.chance-very-risky { color: #ffc0c8; background: #39272e; border-color: #69424d; }
.market-statuses { display: flex; flex-wrap: wrap; gap: 5px; }
.shortlist-numbers .chance-status, .price-metrics .chance-status { margin-top: 6px; }
.prediction-result > span { flex: none; font-weight: 800; }
.result-hit, .result-miss { color: var(--muted); }
.result-hit > span { color: #a7c7ad; }
.result-hit.result-highlight { color: #d0ffbd; background: #2d4a30; border-color: #6a9b5f; animation: hit-glow 2.8s ease-in-out infinite; }
.result-hit.result-highlight > span { color: #b6ff9f; }
.result-miss.result-highlight { color: #ffc3cd; background: #3a2830; border-color: #73404e; }
.result-push, .result-awaiting-stats { color: #ffe2a7; background: #363023; border-color: #63533a; }
.result-pending, .result-void { color: var(--muted); }
@keyframes hit-glow {
  0%,100% { box-shadow: 0 0 2px #69eb6352; }
  50% { box-shadow: 0 0 10px #69eb6373; }
}
@media (prefers-reduced-motion: reduce) { .result-hit { animation: none; } }
.match-final-score { white-space: nowrap; color: var(--green-text); font-variant-numeric: tabular-nums; font-size: clamp(1.55rem,4vw,2.3rem); }
.match-review { margin: 4px 0 14px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #1c2229; }
.match-review > p { margin-top: 8px; }
.settlement-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 13px; margin-block: 8px; color: var(--muted); font-size: .85rem; }
.settlement-strength { display: inline-flex; gap: 5px; align-items: baseline; padding: 2px 7px; border: 1px solid var(--line); border-radius: 5px; }
.settlement-strength strong { color: var(--text); white-space: nowrap; }
.settlement-strength.has-hits { color: #c5ebc0; background: #26392a; border-color: #4f704e; }
.settlement-strength.has-hits strong { color: #c6ffb2; }
.results-overview {
  display: grid;
  grid-template-columns: minmax(190px,1fr) minmax(210px,1fr);
  gap: 15px 24px;
  padding: 20px;
  background: linear-gradient(120deg,#203125,#1b2026 70%);
}
.results-lead p { color: var(--muted); font-size: .88rem; }
.results-rate { display: block; line-height: 1.1; font-size: clamp(2.5rem,5vw,4rem); color: var(--green-text); margin: 6px 0; font-variant-numeric: tabular-nums; }
.results-counts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-self: start; gap: 7px; margin: 0; }
.results-counts > div { min-width: 0; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; }
.results-counts dt { color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
.results-counts dd { margin: 1px 0 0; font-weight: 700; }
.results-counts .count-hit dd { color: #bdffa7; }
.results-counts .count-miss dd { color: #ffc3cd; }
.results-method { grid-column: 1/-1; color: var(--muted); font-size: .83rem; }
.results-method.is-compact { margin: 4px 0 10px; }
.match-review .results-method { margin: 0; }
.results-method summary { color: #c8e8c3; cursor: pointer; }
.results-method p { margin: 7px 0; }
.chance-legend { display: flex; flex-wrap: wrap; gap: 5px 12px; padding: 0; list-style: none; }
.chance-legend li { display: flex; align-items: center; gap: 5px; }
.prediction-match { padding: 14px 20px; border-top: 1px solid var(--line); }
.prediction-match header { flex-wrap: wrap; gap: 6px; }
.result-match-events > summary { width: fit-content; cursor: pointer; color: #cee7ce; font-size: .83rem; }
.result-match-events[open] > summary { margin-bottom: 9px; }
.settlement-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: .875rem; font-variant-numeric: tabular-nums; }
.settlement-table th, .settlement-table td { padding: 9px 8px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.settlement-table thead th { color: var(--muted); font-size: .76rem; font-weight: 600; }
.settlement-table thead th:nth-child(1) { width: 44%; }
.settlement-table thead th:nth-child(2) { width: 21%; }
.settlement-table tbody th { font-weight: 620; }
.settlement-table .settlement-band th { padding-block: 7px; background: #22262e; color: #d6dbc8; font-size: .77rem; }
.settlement-table .settled-hit > * { background: #21362a; }
.settlement-table .settled-hit > th { box-shadow: inset 3px 0 #86e774; }
.settlement-table .settled-miss > * { background: #2a222a; }
.settlement-table .settled-miss > th { box-shadow: inset 3px 0 #ad7486; }
.settlement-table .chance-meter { height: 4px; width: min(94%,98px); margin-block: 4px 0; }
.settlement-table .chance-meter.is-hot { margin-top: 9px; }
.settlement-table .chance-fire { height: 19px; }
@media (max-width: 620px) {
  .results-overview { grid-template-columns: 1fr; }
  .results-overview, .prediction-match { padding-inline: 13px; }
}
@media (max-width: 445px) {
  .settlement-table { font-size: .8rem; }
  .settlement-table th, .settlement-table td { padding-inline: 5px; }
  .settlement-table .prediction-result { font-size: .71rem; padding-inline: 5px; }
}
.price-output:empty { display: none; }
.price-output { padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.price-output[data-result="above"] { background: #1b2a22; border-color: #456a45; }
.price-output[data-result="below"] { background: #2a2229; border-color: #66515c; }
.analysis-day .fixture-groups { max-height: 32rem; overflow: auto; margin-top: 12px; padding: 2px 4px; }
@media (max-width: 900px) {
  .shortlist-layout { grid-template-columns: 1fr; }
  .analysis-day .fixture-groups { max-height: 17rem; }
}
@media (max-width: 520px) {
  .analysis-scope .field:first-child { grid-column: auto; }
  .ranking-controls .field { max-width: none; }
  .shortlist-row { grid-template-columns: 1fr; gap: 10px; }
  .shortlist-head, .shortlist-row, .shortlist-result, .shortlist-empty { padding-inline: 14px; }
  .analysis-views .button { padding-inline: 8px; }
}
.report-time { color: var(--muted); font-size: .86rem; padding-inline: 2px; }
.tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin-top: 12px; }
.tabs .button { padding-inline: 5px; }
.tabs button[aria-pressed=true] { color: var(--green-text); background: #243724; border-color: #639359; }
.analysis-filters { display: grid; gap: 9px; margin: 14px 0; }
.filters { margin-top: 13px; }
.fixture-group + .fixture-group { margin-top: 13px; }
.fixture-date { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 3px 8px; margin: 0 0 6px; color: var(--text); font-size: .86rem; }
.fixture-date span { color: var(--muted); font-size: .80rem; }
.fixture-list { display: grid; gap: 6px; }
.fixture { display: grid; grid-template-columns: 47px minmax(0,1fr); align-items: center; text-align: left; gap: 9px; min-width: 0; width: 100%; min-height: 53px; border: 1px solid var(--line); border-radius: 9px; background: #13151b; color: var(--text); padding: 8px 9px; }
.fixture[aria-current], .fixture:hover { border-color: #67a257; background: #212d24; }
.fixture-copy { min-width: 0; }
.fixture-copy strong { display: block; font-size: .91rem; overflow-wrap: anywhere; line-height: 1.25; }
.fixture-copy .subtext { display: block; font-size: .79rem; line-height: 1.4; margin-top: 2px; }
.fixture-time { color: var(--brand-rose); font: 650 .86rem/1.25 "Segoe UI",system-ui,sans-serif; font-variant-numeric: tabular-nums; }
.fixture .time { display: block; color: var(--brand-rose); font-size: .88rem; }
.empty { display: grid; justify-items: center; gap: 10px; padding: 23px 13px; text-align: center; color: var(--muted); border: 1px dashed #535864; border-radius: 11px; font-size: .90rem; }
.empty strong { color: var(--text); }
.match-heading { padding-bottom: 13px; }
.match-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--brand-rose); font-size: .85rem; }
.match-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: clamp(1.15rem,2vw,1.7rem); }
.match-teams > span { display: inline-flex; align-items: center; gap: 7px; overflow-wrap: anywhere; }
.match-team-name small { display: block; color: var(--muted); font-size: .70rem; font-weight: 500; letter-spacing: 0; }
.match-teams > small { color: var(--muted); }
.team-mark { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; background: #30323e; color: #ead5df; border: 1px solid #62545e; border-radius: 9px; font-size: .76rem; font-weight: 700; }
.match-readout, .profile-tones { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 14px; }
.match-readout > div, .profile-tones > div { padding: 9px 10px; border-radius: 9px; background: var(--input); border: 1px solid var(--line); }
.match-readout small, .profile-tones small { display: block; color: var(--muted); }
.match-readout strong { font-size: 1.35rem; }
.match-readout .form-status { font-size: .96rem; }
.market-toolbar { padding: 10px 0; }
.filter-check { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--muted); }
.market-row { display: grid; grid-template-columns: minmax(100px,1.4fr) minmax(83px,.9fr) minmax(98px,1fr) minmax(105px,auto); align-items: center; gap: 10px; min-width: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.market-row:last-child { border-bottom: 0; }
.market-row.headers { color: var(--muted); font-size: .79rem; padding: 7px 0; }
.market-row strong { font-size: .93rem; }
.market-name { min-width: 0; overflow-wrap: anywhere; }
.market-chance, .market-review { min-width: 0; }
.market-chance { font-variant-numeric: tabular-nums; }
.market-chance small { display: block; color: var(--muted); font-size: .78rem; }
.market-action { display: flex; align-items: center; justify-content: end; gap: 3px; }
.watch-action { gap: 4px; padding-inline: 6px; white-space: normal; min-width: 0; text-align: center; color: #dbe5c5; background: #242c26; font-size: .74rem; border-color: #5e7355; }
.watch-action span { color: #f1cf83; font-size: .9rem; }
.watch-action.is-watched { color: #fbdfa3; background: #3a3122; border-color: #897248; }
.nav-icon.icon-watch { font-size: 1.19rem; line-height: 1; }
.mobile-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.profile { display: grid; gap: 6px; min-width: 0; }
.profile-tones { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 3px 0 0; }
.profile details { padding: 7px 0; border-bottom: 1px solid var(--line); }
.profile summary { cursor: pointer; font-size: .88rem; }
.profile summary span:last-child { float: right; }
.profile ul { list-style: none; margin: 5px 0 0; padding: 0; }
.profile li, .context-detail { display: flex; gap: 6px 12px; justify-content: space-between; padding: 4px 0; font-size: .85rem; }
.profile li strong { flex: none; }
.context-detail { flex-wrap: wrap; }
.context-detail span { color: var(--brand-rose); }
.absences { margin-top: 15px; }
.absences ul { margin: 6px 0 0; padding-left: 20px; }

form { display: grid; gap: 13px; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
label.field { display: grid; gap: 5px; color: #e0e1eb; font-size: .88rem; min-width: 0; }
input, select, textarea { min-height: 42px; width: 100%; max-width: 100%; padding: 9px 10px; color: var(--text); background: var(--input); border: 1px solid #555766; border-radius: 8px; font-size: 1rem; }
select { appearance: none; padding-right: 37px; background: linear-gradient(45deg,transparent 50%,var(--muted) 50%) right 17px center/5px 5px no-repeat,linear-gradient(135deg,var(--muted) 50%,transparent 50%) right 12px center/5px 5px no-repeat,var(--input); }
input[type=checkbox] { flex: none; width: 18px; height: 18px; min-height: 0; accent-color: var(--green); }
textarea { min-height: 92px; }
textarea.short { min-height: 74px; }
.toolbar select,.toolbar input { width: auto; max-width: 100%; }
.competition { display: flex; align-items: center; gap: 9px; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.comp-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 18px; }
.competition span { display: block; }
.list { display: grid; gap: 8px; }
.record { padding: 11px 0; border-bottom: 1px solid var(--line); }
.ticket { margin-top: 10px; }
.ticket ul { margin: 8px 0 0; padding-left: 19px; }
dialog { width: min(640px,calc(100vw - 30px)); max-height: 88dvh; overflow: auto; color: var(--text); background: var(--panel); border: 1px solid #719368; border-radius: 17px; padding: 21px; box-shadow: 0 14px 70px #000a; }
dialog::backdrop { background: #080912be; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.toast { position: fixed; z-index: 12; right: 18px; bottom: 18px; max-width: min(430px,calc(100vw - 36px)); padding: 12px 15px; border: 1px solid #719368; border-radius: 9px; background: #25362a; color: var(--text); box-shadow: 0 12px 24px #0008; }

.login { display: grid; min-height: 100vh; place-items: center; padding: 22px; background: radial-gradient(ellipse at 42% 19%,#2c513489,transparent 52%),radial-gradient(ellipse at 78% 100%,#352731,transparent 50%),var(--bg); }
.login-card { width: min(440px,100%); padding: clamp(24px,4vw,36px); background: #181a21; border: 1px solid #64905b; border-radius: 21px; text-align: center; box-shadow: 0 0 27px #7dfa5b17; }
.login-card img { width: 104px; max-width: 48%; aspect-ratio: 1; border: 1px solid #547c46; border-radius: 22px; margin-bottom: 8px; }
.login-card h1 { font-size: clamp(1.8rem,5vw,2.55rem); }
.login-card p { color: var(--muted); margin: 10px 0 18px; }

[hidden] { display: none !important; }
.sales-toolbar, .sales-selects, .sales-toolbar-actions, .sales-today-head, .sales-today-summary, .sales-export { display: flex; flex-wrap: wrap; gap: 12px; }
.sales-toolbar { justify-content: space-between; align-items: end; border-color: #3b5140; }
.sales-today-head, .sales-export { justify-content: space-between; align-items: start; }
.sales-today { border-color: #436047; }
.sales-week-layout { display: grid; grid-template-columns: minmax(144px,.7fr) minmax(0,2fr); gap: 18px; align-items: center; }
.sales-week-values { display: grid; gap: 13px; }
.sales-week-values div { display: grid; gap: 3px; }
.sales-week-values strong, .sales-registration-total { font-size: clamp(1.25rem,2.4vw,1.85rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.sales-week-currency { margin: 0; }
.sales-today-head h2 { margin-bottom: 3px; }
.sales-today-summary { gap: 16px 34px; align-items: end; margin: 19px 0 8px; font-variant-numeric: tabular-nums; }
.sales-today-summary strong { font-size: clamp(1.4rem,3vw,2.3rem); line-height: 1.25; }
.sales-today-summary .field { margin: 0 0 0 auto; }
.sales-today-head + div > p { margin-top: 8px; }
.sales-toolbar-actions { align-items: center; justify-content: flex-end; }
.sales-selects .field { margin: 0; }
.sales-toolbar input, .sales-toolbar select { color-scheme: dark; }
.sales-toolbar-actions #sales-status { max-width: 47ch; }
.sales-report { display: grid; gap: 14px; min-width: 0; }
.sales-metrics, .sales-charts, .sales-ranks { display: grid; gap: 14px; }
.sales-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
.sales-charts, .sales-ranks { grid-template-columns: repeat(2,minmax(0,1fr)); }
.sales-metric { display: grid; gap: 6px; align-content: start; }
.sales-metric strong { font-size: clamp(1.2rem,2.5vw,2.1rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sales-metric small, .sales-rank small, .sales-table td small { color: var(--muted); }
.sales-delta.up { color: #a9ef7c; }
.sales-delta.down { color: #ffb19e; }
.sales-chart canvas { display: block; width: 100%; height: 207px; cursor: crosshair; border-radius: 6px; }
.sales-chart canvas:focus-visible { outline: 1px solid #8dce78; outline-offset: 3px; }
.sales-chart-info { display: block; min-height: 1.4em; margin-top: 5px; font-variant-numeric: tabular-nums; }
.sales-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: .72rem; }
.sales-legend span { display: inline-flex; gap: 5px; align-items: center; }
.sales-legend span::before { content: ''; width: 15px; border-top: 2px solid #a6ed75; }
.sales-legend span + span::before { border-color: #91a498; border-top-style: dashed; }
.sales-rank { display: grid; padding-left: 0; margin: 8px 0 0; list-style: none; }
.sales-rank li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sales-rank li:last-child { border-bottom: 0; }
.sales-rank li span, .sales-table .amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sales-rank small, .sales-table td small { display: block; }
.sales-table-wrap { overflow-x: auto; }
.sales-table { width: 100%; min-width: 655px; border-collapse: collapse; text-align: left; }
.sales-table :is(td,th) { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sales-table th { color: var(--muted); font-size: .79rem; }
.sales-table :is(.amount,th:last-child) { text-align: right; }
.sales-table .pill { display: table; margin-top: 4px; }
.sales-country { color: var(--text); font-weight: 600; }
.sales-transactions > :is(p,button), .sales-connect p { margin-top: 12px; }
.sales-export { align-items: center; }
.sales-export p { margin-top: 5px; }
.learning-progress { width: 100%; height: 13px; margin-bottom: 7px; accent-color: var(--accent); }
.learning-table { min-width: 480px; }
.learning-interpretation { white-space: pre-wrap; }
@media(max-width: 1090px) {
  .sales-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 640px) {
  .sales-charts, .sales-ranks { grid-template-columns: minmax(0,1fr); }
  .sales-week-layout { grid-template-columns: 1fr; }
  .sales-week-values { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .sales-toolbar-actions { justify-content: flex-start; }
  .sales-chart canvas { height: 174px; }
}

@media(max-width: 1260px) {
  .analysis-workspace { grid-template-columns: minmax(219px,.74fr) minmax(0,2fr); }
  .analysis-workspace .card { padding: 15px; }
  .market-row { gap: 6px; grid-template-columns: minmax(100px,1.4fr) minmax(72px,.9fr) minmax(84px,1fr) 103px; }
  .market-row.headers { font-size: .72rem; }
}
@media(max-width: 1050px) {
  .shell { grid-template-columns: 203px minmax(0,1fr); }
  .dashboard-feature, .dashboard-bottom { grid-template-columns: minmax(0,1.45fr) minmax(192px,1fr); }
  .analysis-workspace, .layout { grid-template-columns: 1fr; }
  .fixture-picker .analysis-filters { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 780px) {
  .shell { display: block; }
  .sidebar { position: fixed; z-index: 8; inset: 0 auto 0 0; width: min(263px,88vw); height: auto; visibility: hidden; transform: translateX(-100%); }
  .sidebar.open { visibility: visible; transform: translateX(0); }
  .mobile-scrim { display: block; position: fixed; inset: 0; z-index: 7; border: 0; background: #06070bc2; }
  .top .menu-toggle { display: inline-flex; min-height: 37px; padding-inline: 8px; }
  .top { min-height: 56px; }
  .top-title, .top-meta { gap: 8px; }
  .dashboard-feature, .dashboard-bottom { grid-template-columns: 1fr; }
  .hero { min-height: 204px; }
  .report-card { gap: 10px; }
  .metrics { gap: 7px; }
  .metric { padding: 12px; }
}
@media(max-width: 590px) {
  .top, .view { padding-inline: 12px; }
  .view { padding-top: 21px; gap: 13px; }
  .top-meta > #today-label { display: none; }
  .card { padding: 14px; }
  .hero-art { left: 45%; opacity: .46; }
  .metric-label { align-items: flex-start; font-size: .81rem; line-height: 1.28; }
  .metric-label .nav-icon { display: none; }
  .metric .subtext { font-size: .75rem; line-height: 1.25; }
  .fixture-picker .analysis-filters, .fields, .comp-grid, .profile-grid { grid-template-columns: 1fr; }
  .market-row.headers { display: none; }
  .market-row { grid-template-columns: minmax(0,.84fr) minmax(0,1fr) minmax(83px,auto); gap: 6px 8px; padding-block: 10px; }
  .market-name { grid-column: 1/-1; }
  .market-action { align-self: center; }
  .mobile-label { position: static; display: block; width: auto; height: auto; margin: 0 0 2px; clip-path: none; white-space: normal; color: var(--muted); font-size: .71rem; line-height: 1.25; }
  .match-readout { grid-template-columns: 1fr 1fr; }
  .match-readout > div:last-child { grid-column: 1/-1; }
  .field-icon { width: 34px; height: 34px; }
}

.schedule-calendar { padding: 14px 17px; background: #1b1e25; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.calendar-heading h2 { font-size: 1.03rem; text-transform: capitalize; }
.calendar-navigation { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; }
.calendar-arrow { width: 36px; min-height: 43px; padding: 0; font-size: 1.45rem; }
.calendar-track {
  display: flex; position: relative; overflow-x: auto; overscroll-behavior-inline: contain; gap: 6px;
  scrollbar-width: thin; scrollbar-color: #555b67 transparent; padding: 3px 2px 5px;
}
.calendar-day {
  flex: 1 0 67px; max-width: 84px; display: grid; justify-items: center; gap: 1px; min-height: 52px;
  padding: 6px 4px; border: 1px solid #393e4a; border-radius: 8px; background: #232731; color: var(--text);
  font: inherit; font-size: .86rem; line-height: 1.25; font-variant-numeric: tabular-nums;
}
.calendar-day span { color: var(--muted); text-transform: capitalize; font-size: .74rem; }
.calendar-day:hover { background: #303640; }
.calendar-day.calendar-today { border-color: #648564; }
.calendar-day[aria-pressed="true"] { border-color: #8ac878; background: #273b2c; color: #d5ffc6; }
.calendar-day[aria-pressed="true"] span { color: #c2dabc; }
.schedule-workspace { display: grid; gap: 14px; align-items: start; }
.schedule-workspace.has-detail { grid-template-columns: minmax(245px,.83fr) minmax(0,1.75fr); }
.schedule-list { min-width: 0; padding: 0; }
.schedule-toolbar { padding: 12px 15px; border-bottom: 1px solid var(--line); }
.schedule-toolbar .field { margin: 0; max-width: 410px; }
.schedule-toolbar .field > span { font-size: .82rem; }
.schedule-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px; }
.schedule-tools .field { flex: 1 1 min(100%,245px); }
.schedule-leagues { min-width: 0; }
.schedule-league + .schedule-league { border-top: 1px solid var(--line); }
.schedule-league > summary {
  list-style: none; display: grid; grid-template-columns: 24px minmax(0,1fr) auto 15px; align-items: center;
  gap: 11px; padding: 9px 15px; min-height: 57px; cursor: pointer;
}
.schedule-league > summary::-webkit-details-marker { display: none; }
.schedule-league > summary:hover, .schedule-league[open] > summary { background: #252b32; }
.schedule-league-name { display: grid; gap: 1px; overflow-wrap: anywhere; line-height: 1.2; }
.schedule-league-name small { color: var(--muted); font-size: .73rem; }
.schedule-league-name strong { color: var(--text); font-size: .94rem; }
.schedule-total { min-width: 24px; text-align: center; padding-inline: 4px; border-radius: 5px; color: var(--muted); background: #2e333c; font-size: .74rem; }
.schedule-chevron { color: #c5d0c6; text-align: center; font-size: 1.2rem; line-height: 1; }
.schedule-league[open] .schedule-chevron { transform: rotate(90deg); }
.schedule-matches { background: #16191f; }
.schedule-match {
  display: grid; grid-template-columns: 60px minmax(0,1fr) 12px; gap: 11px; align-items: center;
  min-height: 63px; width: 100%; color: var(--text); background: transparent; border: 0; border-top: 1px solid #2b303a;
  text-align: left; padding: 8px 15px;
}
.schedule-match:hover, .schedule-match[aria-current] { background: #25322a; }
.schedule-match:focus-visible, .schedule-league > summary:focus-visible { outline-offset: -3px; }
.schedule-kickoff { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .82rem; line-height: 1.2; }
.schedule-kickoff small { display: block; margin-top: 3px; font-size: .65rem; overflow-wrap: anywhere; }
.schedule-teams { display: grid; gap: 2px; font-size: .9rem; }
.schedule-teams > span { display: flex; justify-content: space-between; align-items: baseline; gap: 7px; overflow-wrap: anywhere; }
.schedule-teams strong { color: var(--green-text); }
.schedule-link { color: var(--muted); }
.schedule-detail { min-width: 0; }
.schedule-detail-controls { margin-bottom: 8px; }
.league-flag { height: 16px; width: 24px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px #ffffff38; color: #ffda6e; background: #284889; font-size: 12px; line-height: 1; }
.flag-eng { background: linear-gradient(90deg,transparent 43%,#c51d34 43% 57%,transparent 57%),linear-gradient(#fff 38%,#c51d34 38% 62%,#fff 62%); }
.flag-de { background: linear-gradient(#171717 33%,#db2029 33% 66%,#ffce00 66%); }
.flag-fr { background: linear-gradient(90deg,#21468b 33%,#fff 33% 66%,#ed2939 66%); }
.flag-it { background: linear-gradient(90deg,#009246 33%,#fff 33% 66%,#ce2b37 66%); }
.flag-es { background: linear-gradient(#ee2438 25%,#ffcd23 25% 75%,#ee2438 75%); }
.flag-pl { background: linear-gradient(#fff 50%,#dc143c 50%); }
.flag-ro { background: linear-gradient(90deg,#12408b 33%,#f6d014 33% 66%,#d62730 66%); }
.flag-nl { background: linear-gradient(#ae1c28 33%,#fff 33% 66%,#21468b 66%); }
.flag-be { background: linear-gradient(90deg,#171717 33%,#fadd40 33% 66%,#ef3340 66%); }
.flag-cz { background: linear-gradient(#fff 50%,#d7141a 50%); }
.flag-cz::after { content: ""; position: absolute; inset: 0; clip-path: polygon(0 0,48% 50%,0 100%); background: #11457e; }
.flag-se { background: linear-gradient(90deg,transparent 30%,#ffcd27 30% 42%,transparent 42%),linear-gradient(#096aa1 40%,#ffcd27 40% 59%,#096aa1 59%); }
.flag-pt { background: radial-gradient(circle at 40% 50%,#ffd51f 0 15%,transparent 16%),linear-gradient(90deg,#07673c 40%,#da202b 40%); }
.flag-gr { background: repeating-linear-gradient(#2d70be 0 11.11%,#fff 11.11% 22.22%); }
.flag-gr::after { content: ""; position: absolute; inset: 0 auto auto 0; width: 45%; height: 55%; background: linear-gradient(90deg,transparent 41%,#fff 41% 59%,transparent 59%),linear-gradient(#2d70be 42%,#fff 42% 58%,#2d70be 58%); }
.flag-hu { background: linear-gradient(#dc3349 33%,#fff 33% 66%,#46864d 66%); }
.flag-at { background: linear-gradient(#ec213e 33%,#fff 33% 66%,#ec213e 66%); }
.flag-no { background: linear-gradient(90deg,transparent 31%,#164376 31% 39%,transparent 39%),linear-gradient(transparent 44%,#164376 44% 56%,transparent 56%),linear-gradient(90deg,transparent 26%,#fff 26% 44%,transparent 44%),linear-gradient(#be2139 36%,#fff 36% 64%,#be2139 64%); }
.flag-international { background: #2c3944; color: #d1dfed; }

.premium-results { border-color: #5f5239; background: linear-gradient(128deg,#2a281f 0%,#1c2027 58%); }
.premium-heading { margin-bottom: 14px; }
.premium-heading h2 { color: #f7dfaa; }
.premium-heading p, .premium-product > p { margin-top: 4px; color: var(--muted); font-size: .87rem; }
.premium-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.premium-product { display: flex; flex-direction: column; align-items: start; gap: 7px; padding: 12px; border: 1px solid #4b4540; border-radius: 10px; background: #21232a; min-width: 0; }
.premium-product > p { margin: 0; }
.premium-win { display: grid; width: 100%; gap: 2px; padding: 8px; border: 1px solid #537658; border-radius: 7px; background: #263a2b; color: #d3f6c9; overflow-wrap: anywhere; }
.premium-win small, .premium-win > span { font-size: .76rem; }
.premium-balance { color: var(--muted); font-size: .77rem; }
.premium-history { width: 100%; font-size: .77rem; }
.premium-history summary { cursor: pointer; color: #e7d4ad; }
.premium-history ul { margin: 6px 0 0; padding: 0; list-style: none; }
.premium-history li { display: flex; align-items: start; justify-content: space-between; gap: 6px; border-top: 1px solid var(--line); padding: 5px 0; overflow-wrap: anywhere; }
.premium-history li small { display: block; color: var(--muted); font-size: .72rem; }
.premium-won { color: #b6eea8; }
.premium-lost { color: #f5b2bd; }
.premium-refund { color: #f0d6a0; }
.premium-offer { margin-top: auto; white-space: normal; text-align: start; border-color: #766545; color: #fae3b3; background: #3a3226; }
.premium-offer:hover { border-color: #ba9f62; background: #4b3d29; }

.premium-filter-bar { margin: 12px 0 15px; }
.premium-filter-button {
  width: min(100%,590px); display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 11px;
  text-align: left; padding: 10px 12px; border: 1px solid #9b7b41; border-radius: 11px;
  background: linear-gradient(117deg,#3c3021,#262522 68%); color: #ffe5ae;
}
.premium-filter-button:hover { border-color: #e9bd68; }
.premium-filter-button.is-active { border-color: #80b76e; background: linear-gradient(117deg,#2b422b,#212b25 68%); color: #d1ffc0; }
.premium-filter-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #f7ca6b24; }
.is-active .premium-filter-mark { background: #a2f08025; }
.premium-padlock { position: relative; display: block; width: 14px; height: 11px; margin-top: 6px; border: 1.5px solid currentColor; border-radius: 3px; }
.premium-padlock::before { content: ""; position: absolute; inset: -7px 2px auto; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; }
.premium-filter-copy { display: grid; gap: 1px; }
.premium-filter-copy small { color: #dfcda8; font-size: .76rem; line-height: 1.2; }
.is-active .premium-filter-copy small { color: #c3dbbc; }
.premium-filter-label { padding: 4px 7px; border-radius: 5px; border: 1px solid #927541; white-space: nowrap; font-size: .72rem; font-weight: 680; }
.is-active .premium-filter-label { border-color: #6e9662; }
.premium-gate-copy { margin-bottom: 12px; color: var(--muted); }

.lucky-card {
  min-width: 0; padding: 0; overflow: hidden;
  border: 1px solid #315644; border-radius: 18px;
  background: linear-gradient(150deg,#11151c 0%,#090d12 58%,#0a1410);
  box-shadow: 0 16px 36px #02040480, 0 0 27px #38a85d14;
}
.lucky-hero {
  display: grid; place-items: center; min-width: 0; padding: 3px 12px 5px;
  overflow: hidden; position: relative; isolation: isolate;
  background: radial-gradient(ellipse at 50% 60%,#1d713e63,transparent 57%), #05070c;
  border-bottom: 1px solid #284434;
}
.lucky-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 17% 29%,#d0f0e150 0 1px,transparent 2px),
    radial-gradient(circle at 80% 22%,#a5eeb754 0 1px,transparent 2px),
    radial-gradient(circle at 27% 75%,#b9dfc446 0 1px,transparent 2px),
    radial-gradient(circle at 88% 67%,#bddbeb3b 0 1px,transparent 2px),
    radial-gradient(ellipse 46% 73% at 50% 66%,transparent 62%,#70e9961b 63%,transparent 64%),
    radial-gradient(ellipse 55% 90% at 50% 68%,transparent 70%,#70e99610 71%,transparent 72%);
}
.lucky-hero :is(h1,h2) { width: min(100%,clamp(166px,17vw,216px)); min-width: 0; margin: 0 auto; }
.lucky-artwork { display: block; width: 100%; max-width: 100%; height: auto; margin-inline: auto; filter: drop-shadow(0 6px 10px #07150b80); }
.lucky-content { padding: 12px clamp(13px,3vw,25px) 0; }
.lucky-controls { padding-bottom: 13px; }
.lucky-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; max-width: 390px; margin-inline: auto; padding: 4px; border: 1px solid #374a42; border-radius: 13px; background: #141c1c; }
.lucky-day {
  min-height: 34px; padding: 4px 8px; border: 1px solid transparent; border-radius: 9px;
  background: transparent; color: var(--muted); font-size: .85rem; font-weight: 650;
}
.lucky-day:hover { background: #28382e; color: var(--text); }
.lucky-day[aria-pressed="true"] { border-color: #59976c; background: linear-gradient(138deg,#224634,#294232); color: #d1ffdc; }
.lucky-date { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-bottom: 7px; }
.lucky-date h2 { font-size: 1rem; }
.lucky-date > span, .lucky-note { color: var(--muted); font-size: .79rem; }
.lucky-note { margin-bottom: 8px; }
.lucky-count { margin-top: 6px; }
.lucky-card .empty { margin-bottom: 10px; }
.lucky-picks { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lucky-pick { display: grid; grid-template-columns: 24px minmax(0,1fr) minmax(68px,auto) auto; gap: 6px 11px; align-items: center; min-height: 49px; padding: 6px 10px; border: 1px solid #35423f; border-radius: 9px; background: #141b1e8c; }
.lucky-position { color: var(--muted); font-size: .77rem; font-variant-numeric: tabular-nums; }
.lucky-event { display: grid; gap: 3px; justify-items: start; padding: 2px 0; color: var(--text); border: 0; background: none; text-align: start; }
button.lucky-event:hover strong { color: var(--green-text); text-decoration: underline; }
.lucky-event strong { overflow-wrap: anywhere; line-height: 1.23; }
.lucky-event small { color: var(--muted); font-size: .75rem; }
.lucky-time { white-space: nowrap; }
.lucky-chance { display: grid; justify-items: end; line-height: 1.25; color: var(--green-text); font-variant-numeric: tabular-nums; }
.lucky-chance small { color: var(--muted); font-size: .69rem; }
.lucky-result { padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: .75rem; }
.lucky-hit { border-color: #568357; color: #c8f9b5; background: #263828; }
.lucky-miss { border-color: #935863; color: #ffbbc7; background: #3c2930; }
.lucky-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-top: 10px; padding: 12px clamp(13px,3vw,25px); border-top: 1px solid #395a47; background: linear-gradient(110deg,#101913,#14261d 65%,#163422); }
.lucky-cta p { color: var(--muted); font-size: .82rem; }
.lucky-cta p.lucky-cta-count { margin-top: 1px; color: #e6f4ec; font-size: .91rem; }
.lucky-cta-count strong { color: #94f6af; font-size: 1.16em; font-variant-numeric: tabular-nums; }
.lucky-subscribe.button.primary { border-color: #86e8a8; background: linear-gradient(125deg,#7bf7a6,#50ce79); color: #0c2315; box-shadow: 0 5px 15px #45cf7733; white-space: normal; text-align: center; }
.lucky-subscribe.button.primary:hover { background: linear-gradient(125deg,#b3ffca,#6ce196); }
.public-lucky { max-width: 800px; margin-inline: auto; padding: 18px clamp(12px,3vw,28px) 32px; }
.public-lucky-brand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.public-lucky-brand .brand { margin: 0; padding: 0; }
.public-lucky .lucky-content { padding-bottom: 14px; }
.analyzer-intro { display: grid; gap: 7px; margin: 20px 0 16px; }
.analyzer-intro p { color: var(--muted); }
.public-analyzer-tabs { margin-bottom: 14px; max-width: 100%; }
.public-analyzer-date-tabs { margin-bottom: 12px; grid-template-columns: repeat(auto-fit,minmax(65px,1fr)); }
.public-analyzer-card { padding: clamp(13px, 3vw, 24px); margin-bottom: 12px; }
.public-analyzer-card > h2 { margin-bottom: 12px; }
.public-analyzer-card > .button { margin-top: 12px; }
.public-fixture-league + .public-fixture-league { margin-top: 14px; }
.public-fixture-league h3 { font-size: .93rem; color: var(--muted); margin-bottom: 5px; }
.public-fixtures { list-style: none; margin: 0; padding: 0; }
.public-fixture { display: grid; grid-template-columns: 3rem minmax(0,1fr) auto; gap: 7px; padding: 8px 0; border-top: 1px solid var(--line); align-items: center; }
.public-fixture-time, .public-fixture-status { font-size: .75rem; color: var(--muted); }
.public-fixture-score { color: var(--green-text); }
.public-lucky .lucky-day { display: grid; place-items: center; min-height: 34px; margin: 0; padding: 4px; }
.public-lucky .lucky-day[aria-current="page"] { border-color: #59976c; background: #224634; color: #d1ffdc; box-shadow: none; }
.public-lucky .lucky-pick { grid-template-columns: minmax(0,1fr) auto; }
.public-lucky .lucky-result { grid-column: 1/-1; justify-self: start; }
.lucky-account-gate { display: grid; justify-items: center; gap: 10px; padding: clamp(18px,5vw,34px) 14px; text-align: center; border: 1px solid #3b6349; border-radius: 12px; background: #14251b; }
.lucky-account-gate p { color: var(--muted); }
.lucky-account-gate .button { margin-top: 4px; }
.lucky-archive-day { margin: 6px 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; }
.lucky-archive-day summary { cursor: pointer; }
.lucky-archive-day .lucky-picks { margin-top: 9px; }
.subscription-card { max-width: 670px; }
.subscription-price { margin-top: 6px; color: var(--muted); }
.subscription-price strong { color: var(--green-text); font-size: 1.55rem; }
.customer-mode .sidebar .separated,
.customer-mode .sidebar nav[aria-label="Zarządzanie"],
.customer-mode .sidebar [data-nav]:not([data-nav="analysis"]):not([data-nav="watchlist"]),
.customer-mode .owner small { display: none; }
.schedule-free-hint { padding: 8px 12px; margin-bottom: 8px; border-radius: 8px; background: #15281e; color: #d2fadf; font-size: .85rem; }
.schedule-country { margin-bottom: 7px; border: 1px solid var(--line); border-radius: 9px; background: #15191c; }
.schedule-country > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px; cursor: pointer; }
.schedule-country > summary::after { content: "›"; margin-inline-start: auto; color: var(--muted); }
.schedule-country[open] > summary::after { transform: rotate(90deg); }
.schedule-country-leagues { padding: 0 5px 5px; }
.schedule-country-leagues .schedule-league > summary { grid-template-columns: minmax(0, 1fr) auto auto; }
.schedule-country.schedule-unlocked, .schedule-league.schedule-unlocked, .schedule-match.schedule-unlocked { border: 1px solid #67b17c; background: #1b3024; }
.schedule-match.schedule-unlocked { border-radius: 7px; }
.schedule-sample { max-width: 82px; color: #adf2bb; font-size: .72rem; font-weight: 650; line-height: 1.25; }
.subscription-benefits { display: grid; gap: 8px; padding: 0; margin: 14px 0; list-style: none; }
.subscription-benefits li { padding: 10px 12px; border: 1px solid #485b4d; border-radius: 8px; background: #1c2922; }
.subscription-benefits p { color: var(--muted); font-size: .86rem; }
.subscription-active { margin-bottom: 8px; color: var(--green-text); }

.match-chance-sort { gap: 7px; white-space: normal; }
.match-chance-sort[aria-pressed="true"] { color: var(--green-text); border-color: #628956; background: #233321; }
.match-chance-sort[aria-haspopup] { color: #ead2a0; border-color: #78643e; }
.match-chance-sort small { font-size: .72rem; }
.watchlist-section h2 { margin-bottom: 7px; }
.watchlist-row {
  display: grid; grid-template-columns: minmax(0,1.5fr) minmax(94px,.65fr) minmax(0,1fr);
  gap: 10px; align-items: center; padding-block: 12px; border-top: 1px solid var(--line);
}
.watchlist-copy { min-width: 0; overflow-wrap: anywhere; }
.watchlist-copy p { color: var(--muted); font-size: .8rem; }
.watchlist-copy h3 { margin-block: 3px; }
.watchlist-outcome { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.watchlist-outcome strong { font-variant-numeric: tabular-nums; }
.watchlist-actions { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 5px; }
.watch-remove { color: #f3bec4; }

@media(max-width:1150px) {
  .schedule-workspace.has-detail { grid-template-columns: minmax(0,1fr); }
  .has-detail .schedule-list { display: none; }
}
@media(max-width:650px) {
  .premium-grid { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:590px) {
  .schedule-calendar { padding-inline: 10px; }
  .calendar-navigation { gap: 4px; }
  .calendar-arrow { width: 28px; }
  .calendar-day { flex-basis: 59px; }
  .schedule-league > summary, .schedule-match { padding-inline: 11px; }
  .lucky-pick { grid-template-columns: 26px minmax(0,1fr) 61px; gap: 5px 8px; }
  .lucky-event strong { font-size: .87rem; }
  .lucky-result { grid-column: 2/-1; justify-self: start; }
  .watchlist-row { grid-template-columns: minmax(0,1fr) minmax(85px,auto); }
  .watchlist-actions { grid-column: 1/-1; justify-content: start; }
}
@media(max-width:390px) {
  .premium-filter-button { grid-template-columns: 32px minmax(0,1fr); gap: 5px 10px; }
  .premium-filter-label { grid-column: 2; justify-self: start; }
}
