/* Green theme: background, card surfaces, and readable pitch-white text. */
:root {
  --cream: #0c281e;
  --paper: #173d2c;
  --line: #30533e;
  --muted: #a5bca9;
  --shadow: 0 16px 50px rgba(0, 12, 6, .2);
}
body {
  color: #f0f5e9;
  background-color: #0c281e;
  background-image: linear-gradient(180deg, rgba(5,24,15,.18), rgba(5,24,15,.4)), repeating-linear-gradient(90deg, #123622 0, #123622 110px, #163d27 110px, #163d27 220px);
  background-attachment: fixed;
}
/* A quiet, full-size pitch sits behind the interface. SVG keeps every line
   crisp while allowing the markings to scale with the available space. */
.main-content { position: relative; isolation: isolate; }
.main-content::before {
  content: '';
  position: fixed;
  inset: 100px 28px 26px 282px;
  z-index: -1;
  pointer-events: none;
  opacity: .13;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 660' fill='none' stroke='%23f3f6ea' stroke-width='2'%3E%3Crect x='20' y='20' width='960' height='620' rx='2'/%3E%3Cpath d='M500 20v620M20 180h150v300H20M980 180H830v300h150M20 260h60v140H20M980 260h-60v140h60'/%3E%3Ccircle cx='500' cy='330' r='88'/%3E%3Ccircle cx='500' cy='330' r='3' fill='%23f3f6ea'/%3E%3Ccircle cx='120' cy='330' r='3' fill='%23f3f6ea'/%3E%3Ccircle cx='880' cy='330' r='3' fill='%23f3f6ea'/%3E%3Cpath d='M170 263a88 88 0 0 1 0 134M830 263a88 88 0 0 0 0 134M20 34a14 14 0 0 0 14-14M966 20a14 14 0 0 0 14 14M20 626a14 14 0 0 1 14 14M966 640a14 14 0 0 1 14-14'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
@media (max-width:1050px) { .main-content::before { left: 240px; } }
@media (max-width:700px) {
  body { background-size: auto, 140px 100%; }
  .main-content::before { inset: 85px 12px 85px; opacity: .1; }
}
.topbar { background: rgba(12,40,30,.9); }
.breadcrumb strong,.mobile-menu { color: #f0f5e9; }
.heading-dot,.panel-heading .text-button,.mobile-nav button.active,.mobile-nav button.active span { color: var(--green-3); }
.primary-button { background: var(--green-3); color: #102b1c; }
.primary-button:hover { background: #e6fa80; }
.ghost-button,.outline-button { color: #c9dfb9; border-color: #496b49; background: #234a32; }
.subheading,.stat-label,.panel-copy { color: #adbfad; }
.positive,.neutral,.list-rating,.player-row>b,.confidence.high { color: #b9df91; }
.stat-card strong span { color: #afc4ae; }
.insight-panel { background: #284b2b; border-color: #496b39; }
.insight-panel .eyebrow,.insight-tag { color: #cae891; }
.insight-body p { color: #c4d6b8; }
.match-list-row,.player-row,.duel-list>button,.quick-action,.timeline>div,.observation,.focus-card { border-color: #30533e; }
.player-row.selected { background: #295335; }
.progress-line { background: #30533e; }
.observation p,.focus-card p,.list-opponent small,.player-row span:nth-child(2) small,.duel-list button span:nth-child(2) small,.quick-action small,.timeline small { color: #adc3ad; }
.filter-pills button { color: #c0d1bd; }
.filter-pills button.active { background: #d7f04b; color: #102b1c; }
.mobile-nav { background: rgba(12,40,30,.96); }
.mobile-nav button { color: #afc3ac; }
