:root {
  --bg: #06100c;
  --surface: #0f1d18;
  --surface-2: #16281f;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eaf3ed;
  --muted: #8ea79a;
  --accent: #ff6a1f;
  --accent-dark: #a8400a;
  --hot: #ffd23f;
  --home: #2f6fe0;
  --away: #e03a3a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Fondo con las líneas de una cancha, muy tenues. */
body.pitch-bg {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 106, 31, 0.09), transparent 55%),
    linear-gradient(180deg, #0a1712 0%, #06100c 60%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 240px;
  max-width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  border-color: transparent;
  color: #1a0800;
  font-weight: 900;
}
.btn-ghost { background: transparent; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.topbar .back {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.topbar .title {
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
}

.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.section-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 2px 8px;
}

/* Filas de opción (formación, estadio, dificultad…). */
.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.option[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--surface-2);
}
.option .name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.option .desc {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}
.option .check {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #1a0800;
}
.option[aria-checked="true"] .check {
  background: var(--accent);
  border-color: var(--accent);
}
.option[aria-checked="true"] .check::after { content: '✓'; font-weight: 900; }

.swatch {
  width: 13px; height: 13px;
  border-radius: 3px;
  flex: none;
}
