:root {
  color-scheme: dark;
  --bg: #05090a;
  --surface: #101819;
  --surface2: #151f20;
  --border: rgba(255,255,255,.09);
  --accent: #16d46b;
  --accent2: #68f5a1;
  --text: #f7fbfb;
  --muted: #899894;
  --green: #16d46b;
  --red: #f87171;
  --yellow: #d7ff74;
  --win: #22c55e;
  --draw: #94a3b8;
  --loss: #ef4444;
  --max-w: 430px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0 auto;
  max-width: var(--max-w);
  min-height: 100vh;
  padding-bottom: 84px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

button, input, select { font: inherit; }
button { cursor: pointer; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 14px;
  background:
    radial-gradient(circle at 18% 0%, rgba(22,212,107,.15), transparent 34%),
    rgba(5,9,10,.98);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.logo {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: #f7fbfb;
}

.logo::first-letter { color: #16d46b; }
.logo span { color: #f7fbfb; }
.header-right { display: flex; align-items: center; gap: 8px; }

.season-badge, .premium-pill, .account-top-btn {
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.season-badge {
  color: var(--accent);
  background: var(--surface2);
  border: 1px solid var(--border);
  font-family: "DM Mono", monospace;
}

.premium-pill {
  color: #16d46b;
  border: 1px solid rgba(22,212,107,.34);
  background: rgba(22,212,107,.12);
}
.access-toggle {
  min-width: 42px;
}
body.is-free .access-toggle {
  color: rgba(247,251,251,.56);
  border-color: rgba(255,255,255,.11);
  background: rgba(255,255,255,.04);
}
body.is-pro .access-toggle {
  color: #16d46b;
  border-color: rgba(22,212,107,.42);
  background: rgba(22,212,107,.12);
}
.account-top-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.045);
  color: #f7fbfb;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0;
}
.account-top-btn.active {
  border-color: rgba(232,132,58,.5);
  background: rgba(232,132,58,.14);
}

.lang-toggle {
  border: 1px solid rgba(22,212,107,.28);
  border-radius: 4px;
  background: rgba(22,212,107,.08);
  color: #16d46b;
  padding: 4px 7px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 28px;
  padding: 0 20px 0;
  background: rgba(5,9,10,.98);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: rgba(247,251,251,.58);
  padding: 10px 0 11px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.tab.active { color: #16d46b; border-bottom-color: #16d46b; }

.page { display: none; }
.page.active { display: block; }
body.home-shell {
  background: #05090a;
}
body.home-shell #page-home > .home-date,
body.home-shell #page-home > .breaking-row {
  display: none;
}
body.home-shell main {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(0,208,106,.14), transparent 32%),
    linear-gradient(180deg, #05090a 0%, #071011 45%, #050707 100%);
}

.news-box {
  margin: 10px 12px 0;
  padding: 10px 12px;
  background: rgba(232,132,58,.07);
  border: 1px solid rgba(232,132,58,.18);
  border-radius: 6px;
}

.news-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.news-item + .news-item { margin-top: 7px; }
.news-item strong { color: var(--text); }
.n-dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 4px; background: var(--accent); flex: 0 0 auto; }
.n-dot.red { background: var(--red); }
.n-dot.purple { background: var(--accent2); }

.home-date {
  margin: 14px 20px 10px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.breaking-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 12px;
  scrollbar-width: none;
}
.breaking-row::-webkit-scrollbar { display: none; }
.breaking-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(240,234,216,.07);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
}
.breaking-pill::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.breaking-pill.red::before { background: var(--red); }
.breaking-pill.purple::before { background: var(--accent2); }
.breaking-pill.orange::before { background: var(--accent); }

.xg-home {
  padding: 12px 14px 16px;
}
.xg-home-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px;
}
.xg-brand {
  color: #f7fbfb;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.xg-brand span { color: #16d46b; }
.xg-home-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.xg-home-actions button {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #f7fbfb;
  font-size: 25px;
  line-height: 1;
}
.xg-home-actions i {
  position: absolute;
  top: 1px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16d46b;
}
.xg-home-tabs {
  display: flex;
  gap: 28px;
  align-items: center;
  overflow-x: auto;
  margin: 0 -2px 18px;
  padding-bottom: 3px;
  scrollbar-width: none;
}
.xg-home-tabs::-webkit-scrollbar { display: none; }
.xg-home-tabs button {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: rgba(247,251,251,.62);
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
}
.xg-home-tabs button.active {
  color: #16d46b;
}
.xg-home-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: #16d46b;
  box-shadow: 0 0 12px rgba(22,212,107,.7);
}
.xg-hero-card {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(9,15,17,.15), rgba(5,9,10,.94)),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.1), transparent 38%),
    #101517;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.xg-hero-team {
  position: absolute;
  bottom: 40px;
  width: 30%;
  height: 140px;
  opacity: .88;
}
.xg-hero-team.left { left: -6px; }
.xg-hero-team.right { right: -6px; transform: scaleX(-1); }
.xg-hero-team img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.55));
}
.xg-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding: 22px 92px 54px;
  text-align: center;
}
.xg-hero-content > span {
  border: 1px solid rgba(22,212,107,.18);
  border-radius: 999px;
  background: rgba(22,212,107,.08);
  color: #16d46b;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 900;
}
.xg-flags {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 13px 0 2px;
}
.xg-flags b {
  display: grid;
  gap: 3px;
  color: #f7fbfb;
  font-size: 26px;
  justify-items: center;
}
.xg-flags small {
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 8px;
  font-weight: 900;
}
.xg-hero-content h2 {
  margin: 0 0 13px;
  color: #f7fbfb;
  font-size: 15px;
  line-height: 1.1;
}
.xg-prob {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 16px;
}
.xg-prob strong {
  color: #1d63ff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  line-height: 1;
}
.xg-prob strong:nth-child(2) { color: rgba(247,251,251,.52); }
.xg-prob strong:nth-child(3) { color: #ff3144; }
.xg-prob small {
  display: block;
  margin-top: 5px;
  color: rgba(247,251,251,.52);
  font-size: 10px;
  font-weight: 500;
}
.xg-hero-foot {
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f7fbfb;
  font-size: 12px;
  font-weight: 800;
}
.xg-hero-foot button {
  border: 0;
  background: transparent;
  color: #16d46b;
  font-size: 12px;
  font-weight: 900;
}
.xg-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 13px 0 24px;
}
.xg-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247,251,251,.28);
}
.xg-dots i.active {
  width: 18px;
  border-radius: 999px;
  background: #16d46b;
}
.xg-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
}
.xg-section-head strong {
  color: #f7fbfb;
  font-size: 19px;
  font-weight: 900;
}
.xg-section-head button {
  border: 0;
  background: transparent;
  color: #16d46b;
  font-size: 13px;
  font-weight: 800;
}
.xg-news-list {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.xg-news-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  min-height: 172px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  color: #f7fbfb;
  padding: 8px;
  text-decoration: none;
}
.xg-news-img {
  overflow: hidden;
  border-radius: 9px;
  background: #11191a;
}
.xg-news-img img {
  width: 100%;
  height: 100%;
  min-height: 156px;
  object-fit: cover;
  display: block;
}
.xg-news-body {
  min-width: 0;
  padding: 5px 2px 2px 0;
}
.xg-news-tag {
  display: inline-block;
  border-radius: 4px;
  background: rgba(22,212,107,.18);
  color: #16d46b;
  padding: 4px 6px;
  font-size: 9px;
  font-weight: 900;
}
.xg-news-tag.red { background: rgba(239,49,68,.22); color: #ff3144; }
.xg-news-tag.green { background: rgba(22,212,107,.18); color: #16d46b; }
.xg-news-tag.purple { background: rgba(132,91,255,.24); color: #a68bff; }
.xg-news-tag.yellow { background: rgba(245,179,66,.24); color: #f5b342; }
.xg-news-tag.blue { background: rgba(72,135,255,.24); color: #75a6ff; }
.xg-news-card h3 {
  margin: 9px 0 4px;
  color: #f7fbfb;
  font-size: 16px;
  line-height: 1.28;
}
.xg-news-card p {
  margin: 0 0 10px;
  color: rgba(247,251,251,.78);
  font-size: 12px;
  line-height: 1.35;
}
.xg-insight {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  padding: 9px;
}
.xg-insight strong {
  display: block;
  color: #16d46b;
  font-size: 11px;
  margin-bottom: 4px;
}
.xg-insight span {
  color: rgba(247,251,251,.84);
  font-size: 11px;
  line-height: 1.3;
}
.xg-news-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
  color: rgba(247,251,251,.62);
  font-size: 12px;
}
.xg-news-meta span:last-child { margin-left: auto; }
.xg-fixture-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
}
.xg-fixture-row {
  display: grid;
  grid-template-columns: 58px 1fr 28px 1fr 24px;
  gap: 8px;
  align-items: center;
  width: 100%;
  border: 0;
  background: rgba(255,255,255,.045);
  color: #f7fbfb;
  padding: 13px 12px;
  text-align: left;
}
.xg-fixture-row span,
.xg-fixture-row em {
  color: rgba(247,251,251,.78);
  font-style: normal;
  font-size: 12px;
}
.xg-fixture-row strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xg-fixture-row i {
  color: #f7fbfb;
  font-style: normal;
  text-align: right;
}

.feature-pick {
  margin: 0 12px 12px;
  overflow: hidden;
  border: 1px solid rgba(232,132,58,.18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(232,132,58,.09), var(--surface));
}
.feature-label {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 0;
  color: var(--green);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.feature-label span { color: var(--muted); }
.feature-pick h2 { margin: 14px 16px 6px; font-size: 19px; line-height: 1.25; }
.feature-pick p { margin: 0 16px 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.feature-meta {
  display: flex;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding: 11px 16px;
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 800;
}
.home-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 12px 18px; }
.home-stat-strip div { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); padding: 13px 8px; text-align: center; }
.home-stat-strip strong { color: var(--accent); font-family: "Bebas Neue", sans-serif; font-size: 34px; }
.home-stat-strip span { display: block; color: var(--muted); font-size: 10px; line-height: 1.35; text-transform: uppercase; }
.api-news-block { margin-bottom: 4px; }
.api-news-card {
  margin: 0 12px 12px;
  border: 1px solid rgba(192,132,252,.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(192,132,252,.08), var(--surface));
  overflow: hidden;
}
.api-news-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 0;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.api-news-top span {
  border: 1px solid rgba(108,224,139,.3);
  border-radius: 4px;
  color: var(--green);
  padding: 2px 6px;
}
.api-score-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px 14px 10px;
}
.api-score-row strong { display: block; font-size: 15px; line-height: 1.15; }
.api-score-row small { color: var(--muted); font-size: 10px; }
.api-score-row b {
  color: var(--accent);
  font-family: "Bebas Neue", sans-serif;
  font-size: 38px;
  line-height: 1;
}
.api-score-row .right { text-align: right; }
.api-news-card h2 { margin: 0 14px 5px; color: var(--text); font-size: 16px; line-height: 1.25; }
.api-news-card > p { margin: 0 14px 12px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.api-event-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.api-event-list li {
  display: grid;
  grid-template-columns: 42px 62px 1fr;
  align-items: center;
  gap: 8px;
  background: rgba(240,234,216,.025);
  padding: 9px 14px;
}
.api-event-list span,
.api-event-list strong {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 800;
}
.api-event-list span { color: var(--accent); }
.api-event-list strong { color: var(--green); text-transform: uppercase; }
.api-event-list p { margin: 0; color: var(--text); font-size: 11px; line-height: 1.3; }
.api-news-note { padding: 12px 14px 14px; }
.api-news-note span {
  color: var(--accent2);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.api-news-note p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.feed-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 20px 8px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.feed-section-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.feed-card { margin: 0 12px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); padding: 13px 14px; }
.feed-card span { float: right; border-radius: 4px; background: rgba(232,132,58,.12); color: var(--accent); padding: 3px 7px; font-family: "DM Mono", monospace; font-size: 10px; font-weight: 800; }
.feed-card strong { display: block; font-size: 14px; }
.feed-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.feed-card.fantasy span { color: var(--accent2); background: rgba(192,132,252,.16); }

.page-kicker { margin: 18px 20px 2px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.page-title { margin: 0 20px; font-family: "Bebas Neue", sans-serif; font-size: 36px; line-height: 1; letter-spacing: .03em; }
.page-sub { margin: 5px 20px 16px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.edge-filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 0 12px 12px; scrollbar-width: none; }
.edge-filter-row::-webkit-scrollbar { display: none; }
.edge-filter { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--muted); padding: 9px 12px; font-size: 12px; font-weight: 800; }
.edge-filter.active { background: var(--accent); border-color: var(--accent); color: #1a1915; }
.edge-builder { margin: 0 12px 14px; border: 1px solid rgba(192,132,252,.2); border-radius: 8px; background: rgba(192,132,252,.08); padding: 14px; }
.edge-builder-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.edge-builder-head strong { color: var(--accent2); }
.edge-builder-head span { color: var(--accent); font-family: "Bebas Neue", sans-serif; font-size: 26px; }
.builder-leg { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; padding: 9px 0; border-top: 1px solid rgba(240,234,216,.07); }
.builder-leg span { color: var(--muted); font-family: "DM Mono", monospace; }
.builder-leg strong { font-size: 12px; }
.builder-leg small { color: var(--muted); font-size: 10px; }
.edge-list { display: flex; flex-direction: column; gap: 8px; padding: 0 12px 4px; }
.edge-card { display: grid; grid-template-columns: 1fr auto; gap: 12px; width: 100%; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); padding: 14px; text-align: left; }
.edge-card.strong { border-color: rgba(74,222,128,.18); }
.edge-card.lean { border-color: rgba(251,191,36,.16); }
.edge-match { color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; margin-bottom: 4px; }
.edge-card strong { display: block; font-size: 16px; line-height: 1.2; }
.edge-card p { margin: 4px 0 10px; color: var(--muted); font-size: 11px; }
.edge-tag { border-radius: 3px; padding: 4px 8px; font-family: "DM Mono", monospace; font-size: 10px; font-weight: 800; }
.edge-tag.strong { color: var(--green); background: rgba(74,222,128,.12); }
.edge-tag.lean { color: var(--yellow); background: rgba(251,191,36,.12); }
.edge-confidence { text-align: right; }
.edge-confidence strong { color: var(--green); font-family: "Bebas Neue", sans-serif; font-size: 42px; }
.edge-card.lean .edge-confidence strong { color: var(--yellow); }
.edge-confidence span { display: block; color: var(--muted); font-size: 9px; letter-spacing: .08em; }

.account-page { padding: 0 0 16px; }
.account-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  margin: 14px 12px 12px;
}
.account-hero .page-title { margin-bottom: 3px; }
.account-status {
  min-width: 112px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px 10px;
  text-align: right;
}
.account-status.active { border-color: rgba(192,132,252,.45); background: rgba(192,132,252,.1); }
.account-status span {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.account-status.active span { color: var(--accent2); }
.account-status strong { display: block; margin-top: 5px; color: var(--text); font-size: 13px; line-height: 1.15; }
.account-status small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.2; }
.account-message {
  margin: 0 12px 12px;
  border: 1px solid rgba(108,224,139,.25);
  border-radius: 8px;
  background: rgba(108,224,139,.08);
  color: var(--green);
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.account-card {
  margin: 0 12px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}
.account-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.account-card-head span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(232,132,58,.16);
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 900;
}
.account-card-head strong { font-size: 17px; }
.account-card p,
.account-card small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.account-card input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #151410;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}
.signup-grid {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}
.google-btn,
.pay-btn,
.secondary-btn,
.creator-btn,
.account-actions button,
.promo-row button,
.generated-codes button {
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  font-weight: 900;
}
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 12px;
  background: #f7f4ea;
  color: #1a1915;
  padding: 12px;
}
.google-btn span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-weight: 900;
}
.pro-plan { border-color: rgba(192,132,252,.32); background: linear-gradient(145deg, rgba(192,132,252,.12), var(--surface)); }
.price-row { display: flex; align-items: baseline; gap: 7px; margin: 4px 0 12px; }
.price-row strong { color: var(--accent); font-family: "Bebas Neue", sans-serif; font-size: 48px; line-height: 1; }
.price-row span { color: var(--muted); font-weight: 800; }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.plan-grid div {
  border: 1px solid rgba(240,234,216,.06);
  border-radius: 6px;
  background: rgba(240,234,216,.03);
  color: var(--text);
  padding: 9px;
  font-size: 11px;
  font-weight: 800;
}
.pay-btn,
.creator-btn {
  width: 100%;
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1915;
  padding: 12px;
}
.promo-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 10px 0; }
.promo-row button,
.secondary-btn {
  background: rgba(232,132,58,.12);
  border-color: rgba(232,132,58,.28);
  color: var(--accent);
  padding: 0 12px;
}
.secondary-btn { width: 100%; min-height: 40px; }
.generated-codes { display: flex; gap: 7px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.generated-codes::-webkit-scrollbar { display: none; }
.generated-codes button {
  flex: 0 0 auto;
  background: rgba(192,132,252,.12);
  color: var(--accent2);
  padding: 8px 10px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
}
.creator-card { border-color: rgba(108,224,139,.22); }
.creator-card input { margin: 4px 0 10px; }
.creator-btn { background: var(--green); border-color: var(--green); }
.account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px;
}
.account-actions button { background: var(--surface); padding: 11px 8px; font-size: 12px; }
.account-actions button:last-child { border-color: rgba(192,132,252,.35); color: var(--accent2); }

.pro-lock-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin: 0 12px 12px;
  border: 1px solid rgba(192,132,252,.38);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(192,132,252,.16), rgba(232,132,58,.08));
  padding: 14px;
}
.lock-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: rgba(192,132,252,.2);
  color: var(--accent2);
  font-size: 23px;
}
.pro-lock-card span {
  display: block;
  color: var(--accent2);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.pro-lock-card strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
  line-height: 1.15;
}
.pro-lock-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.pro-lock-card button {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid rgba(232,132,58,.55);
  border-radius: 7px;
  background: var(--accent);
  color: #1a1915;
  padding: 10px 12px;
  font-weight: 900;
}
body.is-pro .pro-lock-card,
body.is-pro .locked-teasers { display: none; }
.locked-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 12px 12px;
}
.locked-teasers div {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 11px 8px;
  text-align: center;
}
.locked-teasers strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  line-height: 1.15;
}
.locked-teasers span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.2;
}
body.is-free .pro-locked-content { display: none; }
.pro-locked-content { position: relative; }
.free-picks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 12px 12px;
}
.free-pick-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 13px 14px;
}
.free-pick-card span {
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 800;
}
.free-pick-card strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}
.free-pick-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.fantasy-hero, .fantasy-card, .fantasy-row { width: calc(100% - 24px); margin: 0 12px 10px; border: 1px solid rgba(74,222,128,.22); border-radius: 8px; background: linear-gradient(145deg, rgba(74,222,128,.1), var(--surface)); color: var(--text); text-align: left; padding: 15px; }
.fantasy-hero { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.fantasy-hero span, .fantasy-card span { color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.fantasy-hero strong { grid-column: 1; font-size: 24px; }
.fantasy-hero p { grid-column: 1; margin: 0; color: var(--muted); font-size: 12px; }
.fantasy-hero div { grid-row: 1 / span 3; grid-column: 2; text-align: right; align-self: center; }
.fantasy-hero b { color: var(--green); font-family: "Bebas Neue", sans-serif; font-size: 48px; line-height: 1; }
.fantasy-hero small { display: block; color: var(--muted); }
.fantasy-card.diff { border-color: rgba(192,132,252,.25); background: rgba(192,132,252,.08); }
.fantasy-card strong { display: block; margin-top: 4px; font-size: 18px; }
.fantasy-card em { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-style: normal; }
.fantasy-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 12px 2px;
}
.fantasy-mini-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 12px;
  text-align: left;
}
.fantasy-mini-card span {
  display: block;
  color: var(--accent2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}
.fantasy-mini-card strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.15;
}
.fantasy-mini-card em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  font-style: normal;
}
.fantasy-position-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 12px 10px;
  scrollbar-width: none;
}
.fantasy-position-tabs::-webkit-scrollbar { display: none; }
.fantasy-pos {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
}
.fantasy-pos.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #1a1915;
}
.fantasy-list { padding-bottom: 4px; }
.fantasy-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; border-color: var(--border); background: var(--surface); padding: 12px 14px; }
.fantasy-row strong { font-size: 14px; }
.fantasy-row span { color: var(--muted); font-size: 11px; }
.fantasy-row b { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--accent); font-family: "Bebas Neue", sans-serif; font-size: 32px; }

.wc-band { margin: 0 12px 12px; overflow: hidden; border: 1px solid rgba(212,175,55,.4); border-radius: 10px; background: linear-gradient(180deg, #102441 0, #181914 145px); }
.wc-band.wc-full { margin-top: 12px; }
.wc-kicker { padding: 16px 16px 0; color: #d4af37; font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .12em; }
.wc-band h2 { margin: 6px 16px 2px; font-family: "Bebas Neue", sans-serif; font-size: 31px; letter-spacing: .04em; }
.wc-band p { margin: 0 16px 12px; color: #a8b3c7; font-size: 11px; }
.wc-stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 10px 12px; }
.wc-stat-strip div { border-radius: 6px; background: rgba(212,175,55,.08); padding: 10px 3px; text-align: center; }
.wc-stat-strip strong { color: #d4af37; font-family: "Bebas Neue", sans-serif; font-size: 25px; }
.wc-stat-strip span { display: block; color: #7d8375; font-size: 8px; }
.wc-filter-row { display: flex; gap: 6px; overflow-x: auto; padding: 0 10px 10px; scrollbar-width: none; }
.wc-filter { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); color: var(--muted); padding: 6px 10px; font-size: 10px; font-weight: 800; }
.wc-filter.active { color: #1a1915; background: #d4af37; border-color: #d4af37; }
.wc-list { display: flex; flex-direction: column; gap: 8px; padding: 0 10px 10px; }
.wc-card { width: 100%; border: 1px solid rgba(240,234,216,.08); border-radius: 8px; background: rgba(34,33,24,.92); color: var(--text); padding: 11px 12px; text-align: left; }
.wc-card-top, .wc-odds { display: flex; justify-content: space-between; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; }
.wc-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin: 12px 0; font-size: 13px; font-weight: 800; }
.wc-teams span:last-child { text-align: right; }
.wc-teams b { color: var(--muted); font-size: 10px; }
.wc-pick { color: var(--green); font-size: 11px; font-weight: 800; }
.wc-odds { justify-content: flex-end; gap: 16px; }
.wc-odds span:last-child { color: var(--green); }
.wc-note { padding: 0 12px 14px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.wc-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.wc-team-grid div { border-radius: 8px; background: var(--surface2); padding: 14px; }
.wc-team-grid strong, .wc-team-grid span, .wc-team-grid small { display: block; }
.wc-team-grid span { margin-top: 8px; color: var(--accent); font-family: "DM Mono", monospace; font-size: 11px; }
.wc-team-grid small { margin-top: 7px; color: var(--muted); }
.wc-section-title { margin: 16px 0 8px; color: var(--accent); font-family: "DM Mono", monospace; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wc-player-columns, .wc-history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wc-player-list, .wc-history-list, .wc-h2h-list div { border: 1px solid rgba(240,234,216,.08); border-radius: 8px; background: var(--surface2); padding: 12px; }
.wc-player-list > strong, .wc-history-list > strong { display: block; margin-bottom: 9px; color: var(--text); font-size: 13px; }
.wc-player-row { padding: 8px 0; border-top: 1px solid rgba(240,234,216,.06); }
.wc-player-row span { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 12px; font-weight: 800; line-height: 1.25; }
.wc-player-row em { border-radius: 3px; background: rgba(34,197,94,.14); color: var(--green); padding: 2px 4px; font-family: "DM Mono", monospace; font-size: 8px; font-style: normal; }
.wc-player-row small, .wc-history-list small, .wc-h2h-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.wc-history-list div { padding: 8px 0; border-top: 1px solid rgba(240,234,216,.06); }
.wc-history-list span, .wc-h2h-list span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; }
.wc-h2h-list { display: flex; flex-direction: column; gap: 8px; }
.wc-h2h-list strong { display: block; margin-top: 5px; color: var(--text); font-size: 12px; line-height: 1.3; }
.wc-date-label {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 8px 0 2px;
  border-left: 3px solid #d4af37;
  background: #141a21;
  color: #f1e8c5;
  padding: 8px 10px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 800;
}
.wc-card { padding: 0; overflow: hidden; background: #171c22; }
.wc-card-main { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: center; padding: 12px; }
.wc-kickoff strong { display: block; color: #f4d35e; font-family: "DM Mono", monospace; font-size: 11px; line-height: 1.25; }
.wc-kickoff span { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.wc-match-teams { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 8px; align-items: stretch; min-width: 0; }
.wc-team-chip {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 7px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 8px;
  text-align: left;
}
.wc-team-chip.away { text-align: left; grid-template-columns: 24px minmax(0, 1fr); }
.wc-team-chip.away .wc-flag, .wc-team-chip.away span, .wc-team-chip.away small { grid-column: auto; }
.wc-team-chip span { overflow: visible; white-space: normal; font-size: 12px; font-weight: 900; line-height: 1.18; overflow-wrap: anywhere; }
.wc-team-chip small { grid-column: 2; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; }
.wc-flag {
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  object-fit: contain;
  padding: 2px;
  background: rgba(247,251,251,.96);
  box-shadow: 0 5px 14px rgba(0,0,0,.26);
}
.wc-match-teams b { color: var(--muted); font-size: 10px; }
.wc-match-meta { grid-column: 2; color: var(--muted); font-size: 10px; line-height: 1.35; }
.wc-match-meta span, .wc-match-meta small { display: block; }
.wc-standings-block {
  margin: 6px 0 4px;
  border-top: 1px solid rgba(240,234,216,.08);
  padding-top: 12px;
}
.wc-standings-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
}
.wc-standings-head strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}
.wc-standings-head span {
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.wc-standings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.wc-table-card {
  border: 1px solid rgba(240,234,216,.08);
  border-radius: 8px;
  background: #171c22;
  overflow: hidden;
}
.wc-table-card h3 {
  margin: 0;
  border-bottom: 1px solid rgba(240,234,216,.07);
  color: #f4d35e;
  padding: 9px 10px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.wc-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px 30px 32px;
  gap: 6px;
  align-items: center;
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(240,234,216,.05);
  background: transparent;
  color: var(--text);
  padding: 7px 8px;
  text-align: left;
}
.wc-table-row span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.wc-table-row span .wc-flag {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  padding: 1.5px;
}
.wc-table-row span em {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-style: normal;
}
.wc-table-row b {
  color: var(--text);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-align: right;
}
.wc-table-header {
  background: rgba(255,255,255,.03);
  color: var(--muted);
  pointer-events: none;
}
.wc-table-header span, .wc-table-header b {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.wc-open-match-btn {
  grid-column: 1 / -1;
  grid-row: auto;
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 6px;
  background: rgba(212,175,55,.12);
  color: #f4d35e;
  padding: 9px 10px;
  font-size: 10px;
  font-weight: 900;
}
.wc-sheet-title .wc-flag { vertical-align: middle; margin: 0 4px; }
.wc-match-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.wc-match-summary button {
  border: 1px solid rgba(240,234,216,.08);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(232,132,58,.16), rgba(255,255,255,.04));
  color: var(--text);
  padding: 14px;
  text-align: left;
}
.wc-match-summary button:nth-child(2) { background: linear-gradient(135deg, rgba(96,165,250,.16), rgba(255,255,255,.04)); }
.wc-match-summary strong, .wc-match-summary span, .wc-match-summary small { display: block; }
.wc-match-summary strong { margin-top: 8px; font-size: 16px; }
.wc-match-summary span { margin-top: 7px; color: var(--accent); font-family: "DM Mono", monospace; font-size: 10px; }
.wc-match-summary small { margin-top: 7px; color: var(--muted); font-size: 11px; }
.wc-prediction-panel { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.wc-prediction-panel > div {
  border-radius: 8px;
  background: var(--surface2);
  padding: 12px;
  text-align: left;
}
.wc-prediction-panel .wc-pred-main { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.22); }
.wc-prediction-panel span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.wc-prediction-panel strong { display: block; margin-top: 6px; color: var(--green); font-family: "Bebas Neue", sans-serif; font-size: 31px; line-height: .95; overflow-wrap: anywhere; }
.wc-prediction-panel small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.wc-list-team-title {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0 0 9px;
  text-align: left;
}
.wc-player-row {
  display: block;
  width: 100%;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  text-align: left;
}
.wc-detail-head .wc-flag { width: 54px; height: 54px; margin-bottom: 10px; padding: 4px; }
.wc-roster-list { max-height: none; }
.wc-roster-list .wc-list-team-title small { margin-left: auto; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.wc-roster-list .wc-player-row span i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 20px;
  border-radius: 4px;
  background: rgba(212,175,55,.14);
  color: #f4d35e;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-style: normal;
}
.wc-roster-list .wc-player-row span i.wc-pos-gk { background: rgba(96,165,250,.18); color: #60a5fa; }
.wc-roster-list .wc-player-row span i.wc-pos-df { background: rgba(34,197,94,.18); color: #4ade80; }
.wc-roster-list .wc-player-row span i.wc-pos-mf { background: rgba(245,158,11,.2); color: #fbbf24; }
.wc-roster-list .wc-player-row span i.wc-pos-fw { background: rgba(239,68,68,.18); color: #f87171; }
.wc-profile-note {
  margin-top: 12px;
  border-radius: 7px;
  background: var(--surface2);
  color: var(--muted);
  padding: 11px 12px;
  font-size: 11px;
  line-height: 1.4;
}
.wc-result-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 9px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(240,234,216,.06);
}
.wc-result-row > b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  line-height: 1;
}
.wc-result-row > b.w { background: rgba(34,197,94,.2); color: #4ade80; }
.wc-result-row > b.d { background: rgba(245,158,11,.2); color: #fbbf24; }
.wc-result-row > b.l { background: rgba(239,68,68,.18); color: #f87171; }
.wc-result-row span { color: var(--text); font-size: 12px; font-weight: 900; line-height: 1.15; }
.wc-result-row span strong { color: #fff; font-family: "Bebas Neue", sans-serif; font-size: 25px; line-height: 1; }
.wc-result-row span em { display: block; margin-top: 3px; color: var(--text); font-style: normal; }
.wc-result-row small { grid-column: 2; margin-top: -4px; color: var(--muted); font-size: 10px; }

.inline-pro-gate {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 14px 0;
  border: 1px solid rgba(192,132,252,.32);
  border-radius: 9px;
  background: rgba(192,132,252,.1);
  padding: 13px;
}
.inline-pro-gate .lock-icon.small {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 20px;
  flex: 0 0 auto;
}
.inline-pro-gate span {
  color: var(--accent2);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.inline-pro-gate strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}
.inline-pro-gate p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.free-sheet-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
.free-sheet-summary div {
  border-radius: 8px;
  background: var(--surface2);
  padding: 13px 10px;
  text-align: center;
}
.free-sheet-summary span {
  display: block;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}
.free-sheet-summary strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.date-label {
  margin: 14px 12px 8px;
  padding: 9px 12px;
  color: var(--text);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(232,132,58,.24);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(232,132,58,.18), rgba(192,132,252,.08));
  box-shadow: inset 3px 0 0 var(--accent);
}

.fx-card, .p-card, .player-card, .prediction-card {
  margin: 0 12px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.fx-card {
  position: relative;
  overflow: hidden;
  padding: 12px 14px;
}

.fx-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--border);
}

.fx-card.big::before { background: var(--accent); }
.fx-row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.fx-time { color: var(--muted); font-family: "DM Mono", monospace; font-size: 11px; }
.fx-tv { color: var(--muted); background: var(--surface2); border-radius: 2px; padding: 2px 6px; font-size: 10px; }
.fx-teams { display: flex; align-items: center; gap: 8px; }
.fx-team {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.fx-team.right { justify-content: flex-end; text-align: right; }
.team-link {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}
.team-link:focus-visible, .table-row:focus-visible, .team-player-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.fx-name { font-size: 13px; font-weight: 800; line-height: 1.2; }
.fx-vs { color: var(--muted); font-family: "Bebas Neue", sans-serif; font-size: 15px; flex: 0 0 auto; }
.badge-frame {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(240,234,216,.55);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff 0, #f5f1df 54%, #d8cfb8 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.team-badge {
  display: block;
  width: 28px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.34));
}
.fixture-badge { width: 28px; height: 31px; }

.xg-bar-row { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.xg-lbl { min-width: 28px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; }
.xg-lbl.right { text-align: right; }
.xg-track { flex: 1; display: flex; height: 5px; overflow: hidden; border-radius: 3px; background: var(--surface2); }
.xg-fill-h { height: 100%; background: var(--accent); }
.xg-fill-a { height: 100%; background: var(--accent2); }

.fx-odds { display: flex; gap: 5px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.odds-pill { flex: 1; min-width: 0; text-align: center; background: var(--surface2); border-radius: 3px; padding: 4px; }
.odds-lbl { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.odds-val { display: block; margin-top: 1px; color: var(--text); font-family: "DM Mono", monospace; font-size: 11px; font-weight: 600; }

.section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
}
.section-hdr.tight { padding-top: 10px; }
.s-title { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.s-sub { color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; }

.control-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 12px 10px;
}

.control-panel input, .control-panel select, .search-wrap input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  color: var(--text);
  background: var(--surface);
  padding: 0 12px;
  font-size: 12px;
}
.control-panel input:focus, .control-panel select:focus, .search-wrap input:focus { border-color: var(--accent); }
.control-panel input::placeholder, .search-wrap input::placeholder { color: var(--muted); }

.prediction-card { padding: 14px; background: linear-gradient(145deg, rgba(232,132,58,.12), var(--surface)); }
.prediction-head { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.mini-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.prediction-card h1 { margin: 3px 0 2px; font-size: 28px; line-height: 1; }
.prediction-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.score-badge {
  min-width: 66px;
  text-align: center;
  border-radius: 6px;
  padding: 8px 10px;
  color: #19120c;
  background: var(--accent);
  font: 800 22px/1 "DM Mono", monospace;
}

.verdict {
  margin-top: 10px;
  border-radius: 6px;
  border: 1px solid rgba(192,132,252,.28);
  background: rgba(192,132,252,.11);
  color: var(--text);
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 700;
}

.pred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.pred-item, .reason-grid div {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface2);
  padding: 10px;
}
.pred-label, .reason-grid span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pred-pct {
  margin-top: 3px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}
.pred-pct.high { color: var(--green); }
.pred-pct.med { color: var(--yellow); }

.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.reason-grid strong { display: block; margin-top: 3px; font-family: "DM Mono", monospace; font-size: 12px; color: var(--text); }
.method-detail { margin-top: 8px; }
.method-detail summary { cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 800; }
.method-note { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.pick-heading { margin: 2px 20px 8px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

.player-list, .match-list { display: flex; flex-direction: column; gap: 8px; padding: 0 12px 10px; }
.compact-list { max-height: 236px; overflow: auto; }
.player-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: calc(100% - 24px);
  margin: 0;
  color: var(--text);
  text-align: left;
  padding: 11px 12px;
}
.player-list .player-card, .match-list .player-card { width: 100%; }
.player-card.is-active { border-color: rgba(232,132,58,.75); background: rgba(232,132,58,.12); }
.team-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.player-card strong { font-size: 13px; }
.player-meta { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.score { color: var(--accent); font-family: "DM Mono", monospace; font-size: 15px; font-weight: 800; text-align: right; }
.pick-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.pick-tag {
  border-radius: 3px;
  padding: 3px 6px;
  background: var(--surface2);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}
.pick-tag.orange { color: var(--accent); background: rgba(232,132,58,.14); }
.pick-tag.purple { color: var(--accent2); background: rgba(192,132,252,.14); }
.pick-tag.green { color: var(--green); background: rgba(74,222,128,.12); }
.pick-tag.yellow { color: var(--yellow); background: rgba(251,191,36,.12); }
.pick-rank {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #19120c;
  background: var(--accent);
  font-family: "DM Mono", monospace;
  font-weight: 800;
}

.search-wrap { margin: 12px 12px 0; }
.search-wrap input { min-height: 44px; font-size: 14px; }
.metric-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 14px 12px 0;
  scrollbar-width: none;
}
.metric-tabs::-webkit-scrollbar { display: none; }
.metric-tab {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.metric-tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #1a1915;
}
.filter-row { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 0; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.f-btn {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
}
.f-btn.active { background: var(--accent); border-color: var(--accent); color: #1a1915; }

.leader-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  padding: 12px 14px;
  text-align: left;
}
.leader-row.top { border-color: rgba(232,132,58,.45); }
.leader-rank { display: grid; place-items: center; color: var(--muted); font-family: "Bebas Neue", sans-serif; font-size: 25px; }
.rank-star { color: var(--accent); font-size: 36px; line-height: 1; }
.rank-num { color: var(--muted); }
.leader-main strong { display: block; font-size: 17px; line-height: 1.05; }
.leader-main span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.leader-stat { min-width: 64px; text-align: right; }
.leader-stat strong {
  display: block;
  color: var(--accent);
  font-family: "Bebas Neue", sans-serif;
  font-size: 38px;
  line-height: .9;
}
.leader-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.xg-player-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}
.xg-player-card.highlight { border-color: var(--accent); }
.xg-player-top { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
.xg-player-name { font-size: 18px; font-weight: 800; }
.xg-player-team { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--muted); font-size: 13px; }
.pos-badge {
  border-radius: 3px;
  padding: 2px 7px;
  background: rgba(232,132,58,.12);
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}
.xg-big { color: var(--accent); font-family: "Bebas Neue", sans-serif; font-size: 42px; line-height: .95; text-align: right; }
.xg-label { color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; text-align: right; }
.xg-stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 14px; }
.xg-stat { border-radius: 4px; background: var(--surface2); padding: 8px 4px; text-align: center; }
.xg-stat strong { display: block; color: var(--text); font-family: "Bebas Neue", sans-serif; font-size: 22px; line-height: 1; }
.diff-pos { color: var(--green) !important; }
.diff-neg { color: var(--red) !important; }
.xg-stat span { color: var(--muted); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.mini-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; align-items: end; height: 34px; margin-top: 12px; }
.mini-bar { min-height: 7px; border-radius: 2px 2px 0 0; background: #94a3b8; }
.mini-bar.hot { background: #5ac867; }

.table-wrap { margin: 0 12px; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.table-head, .table-row {
  display: grid;
  grid-template-columns: 28px 1fr 28px 34px 42px 40px 36px;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
}
.table-head { background: var(--surface2); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.table-row {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  text-align: left;
}
.table-row:hover { background: rgba(232,132,58,.06); }
.t-pos, .t-num { color: var(--muted); font-family: "DM Mono", monospace; font-size: 11px; text-align: center; }
.t-club { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 700; }
.t-club span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-badge-frame { width: 28px; height: 28px; }
.table-badge { width: 22px; height: 25px; }
.t-pts { color: var(--accent2); font-family: "Bebas Neue", sans-serif; font-size: 18px; text-align: right; }
.t-points {
  color: var(--accent);
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  text-align: center;
}

.empty, .error { margin: 0 12px 10px; border: 1px dashed var(--border); border-radius: 6px; padding: 14px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.error { color: var(--red); }

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 80;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: min(100%, var(--max-w));
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(5,9,10,.96);
  backdrop-filter: blur(16px);
}
.nav-btn {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 5px;
  font: inherit;
}
.nav-btn.active { color: #16d46b; }
.nav-icon { display: block; font-size: 19px; line-height: 1; }
.nav-lbl { display: block; margin-top: 4px; font-size: 8px; font-weight: 800; letter-spacing: .02em; text-transform: none; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,.82);
}
.overlay.open { display: flex; }
.sheet {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  max-height: 92vh;
  overflow-y: auto;
  padding: 18px 20px 42px;
  border-top: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  background: var(--bg);
}
.sheet-handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 2px;
  background: var(--border);
}
.sheet-close {
  position: absolute;
  top: 12px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}
.sheet-title {
  text-align: center;
  margin: 0 36px 4px;
  font-size: 20px;
}
.sheet-sub {
  margin-bottom: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.match-xg {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px;
  margin-bottom: 12px;
}
.match-xg-side.right { text-align: right; }
.xg-team-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.xg-num-big { color: var(--accent); font-family: "Bebas Neue", sans-serif; font-size: 48px; line-height: .95; }
.match-xg-side.right .xg-num-big { color: var(--accent2); }
.xg-total { color: var(--text); font-family: "Bebas Neue", sans-serif; font-size: 28px; text-align: center; }
.xg-total span { display: block; color: var(--muted); font-family: "Plus Jakarta Sans", sans-serif; font-size: 11px; }
.sheet .xg-track { height: 8px; margin-bottom: 16px; }
.ai-box {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(192,132,252,.34);
  border-radius: 8px;
  background: rgba(192,132,252,.11);
}
.ai-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(192,132,252,.22);
  color: var(--accent2);
  font-size: 22px;
}
.ai-title { color: var(--accent2); font-size: 16px; font-weight: 800; }
.ai-sub { color: var(--muted); font-size: 11px; }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-metric {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface2);
  padding: 13px 12px;
}
.sheet-metric-label { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.sheet-metric-value { margin-top: 4px; color: var(--yellow); font-family: "Bebas Neue", sans-serif; font-size: 38px; line-height: 1; }
.sheet-metric-sub { color: var(--muted); font-size: 11px; }
.sheet-verdict, .best-pick {
  margin-top: 12px;
  border-radius: 8px;
  padding: 12px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.player-detail-sheet { padding-top: 2px; }
.player-detail-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}
.player-detail-head h1 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  line-height: .95;
  letter-spacing: .02em;
}
.detail-badge-frame {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-width: 2px;
}
.detail-badge { width: 52px; height: 58px; }
.player-detail-head p { margin: 8px 0 4px; color: var(--muted); font-size: 15px; }
.player-detail-head p span {
  display: inline-block;
  border-radius: 3px;
  background: rgba(192,132,252,.2);
  color: var(--accent2);
  padding: 2px 7px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
}
.player-detail-head em { color: var(--muted); font-size: 12px; line-height: 1.35; }
.detail-pos {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: var(--surface2);
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 18px;
  font-weight: 800;
}
.team-pos { width: auto; min-width: 58px; padding: 0 10px; font-size: 15px; }
.detail-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.detail-big-card, .detail-stat-grid div, .detail-pred-card {
  border-radius: 7px;
  background: var(--surface2);
  padding: 13px 10px;
  text-align: center;
}
.detail-big-card span, .detail-stat-grid span, .detail-pred-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.detail-big-card strong {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-family: "Bebas Neue", sans-serif;
  font-size: 42px;
  line-height: .9;
}
.detail-big-card.white strong { color: var(--text); }
.detail-big-card small, .detail-pred-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.detail-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.detail-stat-grid div { padding: 13px 8px; }
.detail-stat-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  line-height: 1;
}
.detail-category-row, .detail-period-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.detail-category-row::-webkit-scrollbar, .detail-period-row::-webkit-scrollbar { display: none; }
.detail-cat, .detail-period {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface2);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}
.detail-cat {
  display: grid;
  grid-template-columns: auto;
  gap: 2px;
  min-width: 66px;
  text-align: center;
}
.detail-cat span { display: block; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.detail-cat.active {
  border-color: var(--cat);
  color: var(--cat);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cat) 50%, transparent);
}
.detail-period.active { background: var(--accent); border-color: var(--accent); color: #1a1915; }
.detail-chart-card {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 13px 12px 10px;
}
.detail-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.detail-chart-head strong { font-size: 13px; }
.detail-chart-head span { color: var(--cat); font-family: "DM Mono", monospace; font-size: 11px; font-weight: 800; }
.detail-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--bar-count, 10), minmax(26px, 1fr));
  gap: 6px;
  min-width: calc(var(--bar-count, 10) * 32px);
  min-height: 178px;
  padding-top: 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.detail-chart-card { overflow-x: auto; }
.avg-line {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--avg-pos);
  border-top: 1px dashed rgba(240,234,216,.26);
  z-index: 1;
}
.avg-line span {
  position: absolute;
  right: 0;
  top: -10px;
  color: var(--muted);
  background: var(--surface);
  padding-left: 5px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}
.detail-bar-col {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 18px 1fr 14px 8px;
  align-items: end;
  justify-items: center;
  min-width: 0;
}
.bar-value { color: var(--cat); font-family: "DM Mono", monospace; font-size: 11px; font-weight: 800; }
.detail-bar {
  width: 25px;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--cat);
  box-shadow: 0 0 14px color-mix(in srgb, var(--cat) 30%, transparent);
}
.detail-bar-col small { color: var(--muted); font-family: "DM Mono", monospace; font-size: 8px; }
.detail-bar-col i { width: 5px; height: 5px; border-radius: 50%; }
.detail-bar-col i.win { background: var(--win); }
.detail-bar-col i.draw { background: var(--draw); }
.detail-bar-col i.loss { background: var(--loss); }
.chart-total {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  border-radius: 6px;
  background: var(--surface2);
  padding: 10px 12px;
}
.chart-total strong {
  color: var(--cat);
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  line-height: 1;
}
.chart-total span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.detail-section-title {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.detail-form-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.detail-form {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 5px;
  background: #2d312e;
  color: #b8c2da;
  font-family: "DM Mono", monospace;
  font-size: 20px;
  font-weight: 800;
}
.detail-form.w { background: rgba(34,197,94,.18); color: var(--green); }
.detail-form.l { background: rgba(239,68,68,.16); color: var(--red); }
.detail-ai { margin: 0 0 12px; }
.detail-pred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-pred-card { position: relative; overflow: hidden; text-align: left; }
.detail-pred-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--green);
}
.detail-pred-card.yellow::after { background: var(--yellow); }
.detail-pred-card strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-family: "Bebas Neue", sans-serif;
  font-size: 44px;
  line-height: .9;
}
.detail-pred-card.yellow strong { color: var(--yellow); }
.wc-detail .detail-pred-card strong { font-size: 27px; line-height: 1; overflow-wrap: anywhere; }
.data-note {
  margin-top: 14px;
  border-radius: 6px;
  background: var(--surface2);
  color: var(--muted);
  padding: 12px;
  font-size: 12px;
  line-height: 1.45;
}
.data-note span { color: var(--accent2); font-family: "DM Mono", monospace; }
.team-player-link {
  width: 100%;
  border: 0;
  text-align: left;
  color: inherit;
}
.verdict-badge {
  display: inline-block;
  margin-right: 10px;
  border: 1px solid var(--yellow);
  border-radius: 4px;
  color: var(--yellow);
  padding: 5px 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.kp-title { margin: 18px 0 8px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.kp-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  border-radius: 6px;
  background: var(--surface2);
  padding: 10px;
}
.side-tag {
  border-radius: 3px;
  padding: 4px 8px;
  background: rgba(232,132,58,.16);
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}
.side-tag.away { background: rgba(192,132,252,.16); color: var(--accent2); }
.best-pick {
  border: 1px solid rgba(74,222,128,.28);
  background: rgba(74,222,128,.09);
}
.best-pick strong { display: block; margin-top: 6px; color: var(--green); font-size: 22px; }

/* Unified green app theme */
body {
  background:
    radial-gradient(circle at 18% 0%, rgba(22,212,107,.12), transparent 28%),
    linear-gradient(180deg, #05090a 0%, #071011 48%, #050707 100%);
}
.news-box,
.feature-pick,
.api-news-card,
.feed-card,
.edge-card,
.account-card,
.fantasy-mini-card,
.fantasy-row,
.fx-card,
.p-card,
.player-card,
.prediction-card,
.match-card,
.leader-row,
.xg-player-card,
.table-row,
.detail-big-card,
.detail-stat-grid div,
.detail-pred-card,
.sheet-metric,
.wc-card,
.wc-player-list,
.wc-history-list,
.wc-h2h-list div,
.wc-table-card,
.wc-prediction-panel > div,
.wc-match-summary button {
  border-color: rgba(255,255,255,.09);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.feature-pick,
.api-news-card,
.prediction-card,
.fantasy-card.diff,
.edge-builder,
.pro-plan,
.pro-lock-card,
.inline-pro-gate,
.wc-band {
  border-color: rgba(22,212,107,.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(22,212,107,.11), transparent 45%),
    linear-gradient(145deg, rgba(22,212,107,.07), rgba(255,255,255,.025));
}
.feature-meta,
.home-stat-strip strong,
.api-score-row b,
.api-event-list span,
.api-news-note span,
.feed-card span,
.free-pick-card span,
.edge-builder-head span,
.price-row strong,
.free-pick-card span,
.fantasy-mini-card span,
.fantasy-row b,
.wc-kicker,
.wc-stat-strip strong,
.wc-team-grid span,
.wc-section-title,
.wc-date-label,
.wc-kickoff strong,
.wc-table-card h3,
.wc-standings-head span,
.wc-match-summary span,
.s-title,
.pick-heading,
.score,
.xg-big,
.t-pts,
.xg-num-big,
.data-note span,
.side-tag,
.rank-star,
.metric-tab.active,
.f-btn.active {
  color: var(--accent);
}
.api-news-note span,
.edge-builder-head strong,
.account-status.active span,
.generated-codes button,
.account-actions button:last-child,
.lock-icon,
.pro-lock-card span,
.fantasy-mini-card span,
.inline-pro-gate span,
.ai-title,
.match-xg-side.right .xg-num-big,
.pick-tag.purple {
  color: var(--accent2);
}
.edge-filter.active,
.pay-btn,
.creator-btn,
.pro-lock-card button,
.fantasy-pos.active,
.metric-tab.active,
.f-btn.active,
.detail-period.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #04100b;
}
.premium-pill,
body.is-pro .access-toggle,
.account-status.active,
.account-message,
.creator-card,
.best-pick,
.wc-prediction-panel .wc-pred-main,
.fantasy-hero,
.wc-player-row em,
.edge-tag.strong {
  border-color: rgba(22,212,107,.28);
  background: rgba(22,212,107,.10);
  color: var(--accent);
}
.season-badge,
.account-card-head span,
.promo-row button,
.secondary-btn,
.free-pick-card,
.pick-tag.orange,
.side-tag {
  border-color: rgba(22,212,107,.22);
  background: rgba(22,212,107,.10);
  color: var(--accent);
}
.pro-lock-card,
.inline-pro-gate,
.pro-plan,
.fantasy-card.diff {
  border-color: rgba(104,245,161,.22);
  background: rgba(104,245,161,.08);
}
.locked-teasers div,
.control-panel input,
.control-panel select,
.search-wrap input,
.metric-tab,
.f-btn,
.edge-filter,
.fantasy-pos,
.wc-filter,
.wc-team-chip,
.wc-open-match-btn {
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.045);
}
.wc-filter.active,
.wc-open-match-btn {
  border-color: rgba(22,212,107,.36);
  background: rgba(22,212,107,.12);
  color: var(--accent);
}
.wc-band h2,
.page-title,
.sheet-title,
.prediction-card h1,
.edge-card strong,
.fantasy-card strong,
.fantasy-mini-card strong,
.wc-prediction-panel strong,
.detail-pred-card strong,
.sheet-metric-value {
  color: var(--text);
}
.wc-stat-strip div {
  background: rgba(22,212,107,.08);
}
.wc-date-label {
  border-left-color: var(--accent);
  background: #071011;
}
.wc-card,
.wc-table-card {
  background: #0b1213;
}
.wc-table-card h3 {
  border-bottom-color: rgba(22,212,107,.14);
}
.wc-match-summary button:nth-child(2) {
  background: linear-gradient(145deg, rgba(104,245,161,.08), rgba(255,255,255,.025));
}
.player-card.is-active,
.xg-player-card.highlight,
.leader-row.top {
  border-color: rgba(22,212,107,.55);
  background: rgba(22,212,107,.10);
}
.table-row:hover {
  background: rgba(22,212,107,.06);
}
.xg-fill-h,
.xg-fill-a {
  background: var(--accent);
}
.detail-cat.active {
  border-color: var(--cat);
  color: var(--cat);
}

/* World Cup special tournament theme */
#page-worldcup {
  background:
    radial-gradient(ellipse 130% 62% at 50% -18%, rgba(60,172,59,.30) 0 12%, rgba(42,57,141,.30) 12% 20%, rgba(230,29,37,.26) 20% 28%, rgba(209,212,209,.14) 28% 35%, rgba(71,74,74,.24) 35% 43%, transparent 43%),
    radial-gradient(ellipse 118% 54% at 50% 112%, rgba(42,57,141,.24) 0 12%, rgba(60,172,59,.22) 12% 20%, rgba(230,29,37,.20) 20% 28%, transparent 28%),
    linear-gradient(180deg, #061010 0%, #081315 48%, #05090a 100%);
  padding-top: 1px;
}
#page-worldcup .wc-band {
  border-color: rgba(209,212,209,.22);
  position: relative;
  background:
    linear-gradient(180deg, rgba(6,16,16,.50), rgba(8,18,22,.88)),
    radial-gradient(circle at 50% 0%, rgba(230,29,37,.62) 0 18%, rgba(42,57,141,.56) 18% 32%, rgba(60,172,59,.48) 32% 46%, rgba(209,212,209,.10) 46% 56%, transparent 56%),
    radial-gradient(circle at 8% 86%, rgba(60,172,59,.36) 0 20%, rgba(42,57,141,.32) 20% 34%, rgba(230,29,37,.28) 34% 48%, transparent 48%),
    radial-gradient(circle at 104% 84%, rgba(42,57,141,.36) 0 20%, rgba(230,29,37,.28) 20% 34%, rgba(60,172,59,.24) 34% 48%, transparent 48%),
    #0b1112;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
#page-worldcup .wc-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 42% at 50% 102%, transparent 0 28%, rgba(60,172,59,.26) 29% 38%, rgba(42,57,141,.24) 38% 47%, rgba(230,29,37,.20) 47% 56%, transparent 57%);
  opacity: .75;
  filter: saturate(1.25);
}
#page-worldcup .wc-band > * {
  position: relative;
  z-index: 1;
}
#page-worldcup .wc-kicker,
#page-worldcup .wc-stat-strip strong,
#page-worldcup .wc-section-title,
#page-worldcup .wc-kickoff strong,
#page-worldcup .wc-standings-head span {
  color: #3CAC3B;
}
#page-worldcup .wc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 18px 16px 0;
  padding: 7px 10px;
  border: 1px solid rgba(209,212,209,.24);
  border-radius: 999px;
  background: rgba(5,9,10,.54);
  color: #f7fbfb;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .13em;
  text-shadow: 0 0 16px rgba(60,172,59,.38);
}
#page-worldcup .wc-band h2 {
  color: #f7fbfb;
  text-shadow: 0 0 18px rgba(42,57,141,.34);
}
#page-worldcup .wc-host-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 10px;
  font-size: 36px;
  line-height: .95;
}
#page-worldcup .wc-host-title span {
  font-weight: 950;
}
#page-worldcup .wc-host-title em {
  color: rgba(209,212,209,.64);
  font-style: normal;
  font-size: 24px;
}
#page-worldcup .host-canada {
  color: #E61D25;
  text-shadow:
    0 1px #f7fbfb,
    0 0 14px rgba(230,29,37,.56);
}
#page-worldcup .host-mexico {
  color: #3CAC3B;
  text-shadow:
    1px 1px #E61D25,
    0 0 14px rgba(60,172,59,.48);
}
#page-worldcup .host-usa {
  color: #2A398D;
  text-shadow:
    1px 1px #f7fbfb,
    2px 2px #E61D25,
    0 0 14px rgba(42,57,141,.55);
}
#page-worldcup .wc-stat-strip div {
  background: rgba(209,212,209,.08);
  border: 1px solid rgba(209,212,209,.16);
}
#page-worldcup .wc-filter {
  border-color: rgba(209,212,209,.18);
  background: rgba(71,74,74,.32);
  color: #D1D4D1;
}
#page-worldcup .wc-filter.active {
  border-color: #D1D4D1;
  background: #3CAC3B;
  color: #07100b;
}
#page-worldcup .wc-date-label {
  border-left-color: #E61D25;
  background:
    linear-gradient(90deg, rgba(230,29,37,.26), rgba(42,57,141,.18)),
    #081216;
  color: #D1D4D1;
}
#page-worldcup .wc-card,
#page-worldcup .wc-table-card,
#page-worldcup .wc-player-list,
#page-worldcup .wc-history-list,
#page-worldcup .wc-h2h-list div {
  border-color: rgba(209,212,209,.14);
  background:
    linear-gradient(145deg, rgba(42,57,141,.18), rgba(71,74,74,.22)),
    #081216;
}
#page-worldcup .wc-card:nth-of-type(3n) {
  background:
    linear-gradient(145deg, rgba(230,29,37,.16), rgba(71,74,74,.22)),
    #081216;
}
#page-worldcup .wc-team-chip {
  background: rgba(209,212,209,.08);
  border: 1px solid rgba(209,212,209,.08);
}
#page-worldcup .wc-open-match-btn {
  border-color: rgba(60,172,59,.62);
  background: rgba(60,172,59,.16);
  color: #D1D4D1;
}
#page-worldcup .wc-table-card h3 {
  color: #2A398D;
  border-bottom-color: rgba(42,57,141,.34);
}
#page-worldcup .wc-table-row:nth-child(odd) {
  background: rgba(255,255,255,.025);
}
#page-worldcup .wc-prediction-panel .wc-pred-main,
#page-worldcup .wc-match-summary button:first-child {
  border-color: rgba(230,29,37,.32);
  background: linear-gradient(135deg, rgba(230,29,37,.20), rgba(71,74,74,.16));
}
#page-worldcup .wc-match-summary button:nth-child(2) {
  border-color: rgba(42,57,141,.34);
  background: linear-gradient(135deg, rgba(42,57,141,.24), rgba(71,74,74,.16));
}
#page-worldcup .wc-prediction-panel strong,
#page-worldcup .wc-match-summary span,
#page-worldcup .wc-table-row b {
  color: #3CAC3B;
}
#page-worldcup .wc-prediction-panel strong {
  overflow-wrap: normal;
  word-break: normal;
}
#page-worldcup .wc-prediction-panel > div:last-child strong {
  font-size: 25px;
}

/* World Cup special picks page */
#page-picks {
  background:
    radial-gradient(circle at 12% 0%, rgba(60,172,59,.22), transparent 25%),
    radial-gradient(circle at 86% 12%, rgba(230,29,37,.20), transparent 24%),
    radial-gradient(circle at 52% 104%, rgba(42,57,141,.24), transparent 32%),
    linear-gradient(180deg, #061010 0%, #081315 52%, #05090a 100%);
}
#page-picks .page-kicker {
  color: #3CAC3B;
  font-weight: 900;
}
#page-picks .page-title {
  color: #f7fbfb;
  text-shadow: 0 0 22px rgba(60,172,59,.20);
}
#page-picks .edge-filter.active,
#page-picks .edge-tag.strong {
  background: #3CAC3B;
  color: #061010;
}
#page-picks .edge-filter {
  border-color: rgba(209,212,209,.18);
  background: rgba(71,74,74,.28);
}
#page-picks .edge-builder,
#page-picks .edge-card,
#page-picks .free-pick-card,
#page-picks .player-card {
  border-color: rgba(209,212,209,.15);
  background:
    linear-gradient(135deg, rgba(42,57,141,.16), rgba(60,172,59,.10)),
    #081216;
}
#page-picks .wc-edge-builder {
  border-color: rgba(230,29,37,.28);
  box-shadow: 0 18px 42px rgba(0,0,0,.30);
}
#page-picks .edge-confidence strong,
#page-picks .s-title,
#page-picks .builder-leg span {
  color: #3CAC3B;
}

@media (max-width: 560px) {
  .wc-player-columns, .wc-history-grid, .wc-team-grid, .detail-pred-grid { grid-template-columns: 1fr; }
  .wc-card-main { grid-template-columns: 1fr; }
  .wc-match-meta, .wc-open-match-btn { grid-column: auto; grid-row: auto; }
  .wc-open-match-btn { width: 100%; }
  .wc-prediction-panel { grid-template-columns: 1fr 1fr; }
  .wc-match-summary { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .control-panel { grid-template-columns: 1fr; }
  .pred-grid, .reason-grid { gap: 6px; }
  .pred-item, .reason-grid div { padding: 9px 7px; }
  .wc-detail .detail-pred-card strong { font-size: 24px; }
  .wc-match-teams { grid-template-columns: 1fr; }
  .wc-match-teams b { text-align: center; }
  .wc-team-chip.away { text-align: left; grid-template-columns: 24px minmax(0, 1fr); }
  .wc-team-chip.away .wc-flag, .wc-team-chip.away span, .wc-team-chip.away small { grid-column: auto; }
  .wc-prediction-panel { grid-template-columns: 1fr; }
}
