:root {
  --bg: #07100d;
  --panel: rgba(12, 26, 20, 0.9);
  --panel-strong: #102119;
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(137, 255, 177, 0.18);
  --text: #eef8f0;
  --muted: #8bb19a;
  --green: #51f28f;
  --green-2: #1aa65b;
  --gold: #f4c44e;
  --red: #ef6a5b;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(81, 242, 143, 0.13), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(244, 196, 78, 0.1), transparent 28%),
    linear-gradient(180deg, #08130f 0%, var(--bg) 48%, #050908 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.field-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  color: rgba(127, 255, 170, 0.075);
  pointer-events: none;
}

.field-bg svg {
  width: 100%;
  height: 100%;
}

.lights {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.lights i {
  position: absolute;
  bottom: -20px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(81, 242, 143, 0.9);
  opacity: 0;
  animation: floatUp linear infinite;
}

.lights i.gold {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(244, 196, 78, 0.8);
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  12% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), -108vh, 0);
  }
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #06130b;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(81, 242, 143, 0.28);
}

.brand strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.trophy {
  font-size: 17px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: #ffd700;
  font-size: 12px;
  letter-spacing: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover {
  background: var(--panel-soft);
  color: var(--text);
}

.workbench {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(16, 33, 25, 0.94), rgba(7, 16, 13, 0.9)),
    url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1600&q=70") center/cover;
  background-blend-mode: multiply;
  box-shadow: var(--shadow);
}

.headline {
  display: grid;
  gap: 10px;
  max-width: 780px;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.98;
  font-weight: 900;
}

.hero-underline {
  display: block;
  width: 50%;
  height: 3px;
  margin: 4px auto 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffd700, #ff8c00, transparent);
}

.subtitle-main,
.subtitle-sub {
  margin: 0;
  line-height: 1.8;
}

.subtitle-main {
  color: #10b981;
  font-size: 18px;
  font-weight: 600;
}

.subtitle-sub {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 26px;
  padding: 0 12px;
  border: 1px solid rgba(244, 196, 78, 0.34);
  border-radius: 8px;
  background: rgba(244, 196, 78, 0.08);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

code {
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--gold);
}

.selector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.match-label {
  margin: 28px 0 16px;
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

.team-side {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 14, 11, 0.72);
}

.side-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.flag-frame {
  display: grid;
  place-items: center;
  width: 116px;
  height: 78px;
  margin: 18px auto;
}

.flag-frame img,
.score-flag img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.flag-frame span,
.score-flag span {
  font-size: 56px;
  line-height: 1;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.3));
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #07120d;
  color: var(--text);
  font-weight: 800;
}

select:focus {
  border-color: rgba(81, 242, 143, 0.75);
  box-shadow: 0 0 0 3px rgba(81, 242, 143, 0.12);
}

.versus {
  color: transparent;
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 900;
  text-align: center;
  -webkit-text-stroke: 1.5px var(--gold);
}

.stage-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.stage-tabs button {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.stage-tabs button:hover {
  color: var(--text);
  border-color: rgba(81, 242, 143, 0.45);
}

.stage-tabs button.active {
  background: var(--green);
  border-color: var(--green);
  color: #06130b;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.action-stack {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.primary {
  min-width: 190px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #ef9237);
  color: #201406;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 3px;
  box-shadow: 0 16px 34px rgba(244, 196, 78, 0.22);
}

.button-note {
  color: #9ca3af;
  font-size: 12px;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(244, 196, 78, 0.3);
}

.primary:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.engine {
  min-height: 0;
  display: none;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-size: 12px;
}

.loading,
.error {
  display: none;
  margin: 22px auto 0;
  text-align: center;
}

.loading.show,
.error.show {
  display: block;
}

.loading span {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(81, 242, 143, 0.22);
  border-top-color: var(--green);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

.loading p {
  margin: 10px 0 0;
  color: var(--green);
  font-size: 13px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error {
  max-width: 560px;
  padding: 12px 16px;
  border: 1px solid rgba(239, 106, 91, 0.42);
  border-radius: 8px;
  background: rgba(239, 106, 91, 0.1);
  color: var(--red);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 14px;
}

.section-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.section-title span {
  color: var(--green);
  font-size: 26px;
  font-weight: 900;
}

.section-title h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 3px;
}

.section-title h2 small {
  color: #6b7280;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 700;
}

.daily-board {
  margin-top: 28px;
}

.board-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(244, 196, 78, 0.28);
  border-radius: 8px;
  background: rgba(244, 196, 78, 0.08);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.board-meta strong {
  color: var(--gold);
  font-size: 18px;
}

.board-meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.pick-list {
  display: grid;
  gap: 12px;
}

.pick-card {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 33, 25, 0.96), rgba(7, 16, 13, 0.92)),
    var(--panel);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.pick-head span {
  color: var(--gold);
  letter-spacing: 1.8px;
}

.pick-head small {
  color: var(--muted);
  font-size: 12px;
}

.pick-match {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--text);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.25;
}

.pick-match em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.68em;
}

.pick-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.pick-outcome {
  display: grid;
  place-items: center;
  min-height: 60px;
  border: 1px solid rgba(81, 242, 143, 0.34);
  border-radius: 8px;
  background: rgba(81, 242, 143, 0.08);
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.pick-scores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pick-scores strong {
  display: grid;
  place-items: center;
  min-height: 60px;
  border: 1px solid rgba(244, 196, 78, 0.32);
  border-radius: 8px;
  background: rgba(244, 196, 78, 0.08);
  color: var(--gold);
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1;
}

.pick-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.pick-bottom > strong {
  color: var(--text);
  font-size: 26px;
}

.odds-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(244, 196, 78, 0.2);
  border-radius: 8px;
  background: rgba(244, 196, 78, 0.06);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.odds-pills span {
  color: var(--gold);
  font-weight: 900;
}

.odds-pills b {
  color: var(--text);
  font-size: 13px;
}

.odds-pills small {
  min-width: 180px;
  flex: 1 1 220px;
  color: var(--muted);
}

.odds-pills.muted b {
  color: var(--muted);
}

.pick-intel {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid rgba(81, 242, 143, 0.28);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.pick-real {
  justify-self: end;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(81, 242, 143, 0.08);
  color: var(--green);
  font-weight: 900;
}

.upset-board {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(244, 196, 78, 0.1), rgba(12, 26, 20, 0.9)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(244, 196, 78, 0.08);
}

.upset-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.upset-head span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(244, 196, 78, 0.4);
  background: rgba(244, 196, 78, 0.12);
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.upset-head h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  letter-spacing: 2px;
}

.upset-list {
  display: grid;
  gap: 14px;
}

.upset-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(81, 242, 143, 0.05), rgba(4, 16, 12, 0.92)),
    rgba(8, 23, 18, 0.9);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.upset-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.upset-card-top span {
  color: var(--gold);
}

.upset-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  font-size: clamp(20px, 4vw, 32px);
  line-height: 1.25;
}

.upset-match strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.upset-match strong:last-child {
  text-align: right;
}

.upset-match em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.upset-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.upset-metrics div {
  display: grid;
  min-height: 96px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 14px 18px 16px;
  border: 1px solid rgba(244, 196, 78, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(81, 242, 143, 0.08), rgba(244, 196, 78, 0.04)),
    rgba(81, 242, 143, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.upset-metrics span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.upset-metrics b {
  max-width: 100%;
  color: var(--green);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.12;
  text-align: center;
  overflow-wrap: anywhere;
}

.upset-metrics div:last-child b {
  font-size: clamp(24px, 3vw, 34px);
}

.upset-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.upset-intel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.upset-intel span {
  padding: 7px 9px;
  border: 1px solid rgba(244, 196, 78, 0.2);
  border-radius: 8px;
  background: rgba(244, 196, 78, 0.06);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.live-title {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  color: #ef4444;
  font-size: 14px;
  letter-spacing: 1px;
  animation: pulseLive 1.1s ease-in-out infinite;
}

@keyframes pulseLive {
  0%, 100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.today-strip {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: -2px 0 12px;
  padding: 0 14px;
  border: 1px solid rgba(244, 196, 78, 0.38);
  border-radius: 8px;
  background: rgba(244, 196, 78, 0.09);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.fixture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fixture {
  min-height: 110px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  cursor: default;
}

.fixture-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.fixture-badge,
.fixture-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.fixture-badge {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.fixture-badge.today {
  border-color: rgba(244, 196, 78, 0.7);
  color: #211404;
  background: var(--gold);
}

.fixture-status {
  border: 1px solid rgba(81, 242, 143, 0.28);
  color: var(--green);
  background: rgba(81, 242, 143, 0.08);
}

.fixture-status.done {
  border-color: rgba(244, 196, 78, 0.34);
  color: var(--gold);
  background: rgba(244, 196, 78, 0.08);
}

.fixture:hover {
  border-color: var(--line);
}

.fixture small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.fixture strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.fixture em {
  color: var(--gold);
  font-style: normal;
}

.fixture-real {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(81, 242, 143, 0.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.finished-note {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 196, 78, 0.45);
  border-radius: 8px;
  background: rgba(244, 196, 78, 0.09);
  color: var(--gold);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.8;
}

.finished-note.show {
  display: block;
}

.result {
  display: none;
  margin-top: 28px;
}

.result.show {
  display: block;
  animation: enter 0.38s ease-out both;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.score-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), rgba(8, 18, 14, 0.9));
  box-shadow: var(--shadow);
}

.score-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 4vw, 38px);
  text-align: center;
}

.score-teams > div {
  min-width: 0;
}

.score-flag {
  display: grid;
  place-items: center;
  width: 84px;
  height: 58px;
  margin: 0 auto 10px;
}

.score-teams strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.score {
  color: var(--text);
  font-size: clamp(56px, 11vw, 104px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 52px rgba(81, 242, 143, 0.3);
  white-space: nowrap;
}

.confidence {
  width: fit-content;
  margin: 18px auto 0;
  padding: 6px 14px;
  border: 1px solid rgba(244, 196, 78, 0.7);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.prob-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
}

.prob-labels span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.prob-bar {
  display: flex;
  height: 18px;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.prob-bar span {
  width: 0;
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.prob-bar .home {
  background: linear-gradient(90deg, var(--green-2), var(--green));
}

.prob-bar .draw {
  background: #4c5c52;
}

.prob-bar .away {
  background: linear-gradient(90deg, var(--gold), #ef9237);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.panel,
.stats-grid {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.panel {
  padding: 22px;
}

.panel h3 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
}

.panel h3:not(:first-child) {
  margin-top: 24px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 10px;
  border: 1px solid rgba(81, 242, 143, 0.24);
  border-radius: 8px;
  background: rgba(81, 242, 143, 0.08);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.players {
  display: grid;
  gap: 10px;
}

.player {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.player strong {
  display: block;
  margin-bottom: 4px;
}

.player span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.analysis p {
  margin: 0;
  color: #cddfd2;
  font-size: 15px;
  line-height: 2;
}

.oracle {
  display: none;
  margin-top: 26px;
}

.oracle.show {
  display: block;
  animation: enter 0.38s ease-out both;
}

.oracle .section-title span {
  color: var(--gold);
  font-size: 22px;
}

.oracle .section-title h2 {
  overflow-wrap: anywhere;
}

.oracle-simple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.oracle-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid rgba(244, 196, 78, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(244, 196, 78, 0.1), rgba(12, 26, 20, 0.92)),
    var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.oracle-kicker {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(244, 196, 78, 0.36);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(244, 196, 78, 0.08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.oracle-score {
  display: block;
  margin-top: 18px;
  color: var(--gold);
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  text-shadow: 0 0 32px rgba(244, 196, 78, 0.25);
}

.oracle-card h3 {
  margin: 16px 0 10px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.oracle-card p {
  margin: 0;
  color: #d7dfd8;
  font-size: 14px;
  line-height: 1.9;
}

.folk-bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.folk-bar {
  display: grid;
  gap: 6px;
}

.folk-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.folk-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.folk-track span {
  display: block;
  height: 100%;
  width: var(--value, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-2), var(--green));
}

.oracle-wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.oracle-wide small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.stats-grid {
  min-height: 92px;
  padding: 18px;
}

.empty {
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1.5px;
}

.stats-section {
  margin-top: 18px;
}

.stats-section h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
}

.stat-row,
.live-row {
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.stat-row + .stat-row,
.live-row + .live-row {
  margin-top: 8px;
}

.match-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 900;
}

.match-title span,
.live-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.score-line {
  color: var(--muted);
  font-size: 13px;
}

.score-line strong {
  color: var(--text);
}

.hit-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hit-line span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.hit-line .ok {
  border-color: rgba(81, 242, 143, 0.4);
  color: var(--green);
}

.hit-line .miss {
  border-color: rgba(239, 106, 91, 0.38);
  color: var(--red);
}

.live-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.live-scoreline {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.live-team {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.live-team b {
  font-size: 20px;
  line-height: 1;
}

.live-score {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(244, 196, 78, 0.34);
  border-radius: 8px;
  background: rgba(244, 196, 78, 0.08);
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
}

.live-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
}

.live-row .live-score {
  color: var(--gold);
}

@media (max-width: 840px) {
  .topbar,
  .nav {
    align-items: flex-start;
  }

  .topbar {
    flex-direction: column;
  }

  .selector,
  .score-teams,
  .result-grid,
  .oracle-simple,
  .fixture-grid,
  .stat-cards {
    grid-template-columns: 1fr;
  }

  .pick-row,
  .pick-bottom,
  .upset-metrics,
  .upset-match {
    grid-template-columns: 1fr;
  }

  .pick-real {
    justify-self: start;
  }

  .upset-match strong:last-child {
    text-align: left;
  }

  .versus {
    line-height: 1;
  }

  .fixture-grid {
    gap: 10px;
  }

  .live-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 20px, 1120px);
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .workbench {
    padding: 18px;
  }

  .team-side {
    padding: 16px;
  }

  .prob-labels {
    flex-direction: column;
  }

  .brand small {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .subtitle-main {
    font-size: 14px;
  }

  .subtitle-sub {
    font-size: 12px;
  }

  .hero-underline {
    width: 70%;
  }

  .pick-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pick-scores {
    gap: 8px;
  }

  .pick-scores strong {
    min-height: 52px;
  }
}

.footer-slogan {
  margin-top: 0;
  padding: 40px 16px;
  background: linear-gradient(135deg, #064e3b, #1a1a2e);
  color: #ffd700;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}

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