/* ═══════════════════════════════════════════════════════════════
   PROYECTO KRONOS · TEMA OSCURO "NIGHT ARENA" (v2)
   Paleta: canvas #0D1017 · superficies #141A24/#1E2636
   Acento: lima #00AE42 · destacados ámbar #F5B301 · rojo solo alertas
   ═══════════════════════════════════════════════════════════════ */

:root {
  --k-bg: #0D1017;
  --k-bg-deep: #090C11;
  --k-card: #141A24;
  --k-card-2: #11161F;
  --k-card-3: #1A2130;
  --k-line: #2A3448;
  --k-line-soft: #202A3B;
  --k-text: #E8EDF6;
  --k-muted: #9AA6BA;
  --k-dim: #7E8BA3;
  --k-lime: #00AE42;
  --k-lime-dim: #008C35;
  --k-lime-soft: rgba(0, 174, 66, 0.12);
  --k-gold: #F5B301;
  --k-red: #EF4444;
  --k-red-tm: #FE1515;
  --k-blue: #60A5FA;
  --k-emerald: #00AE42;
  --k-radius: 14px;
  --k-radius-sm: 10px;
  --k-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; color-scheme: dark; }

body {
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(0, 174, 66, 0.055), transparent 60%),
    radial-gradient(760px 420px at 6% 0%, rgba(96, 165, 250, 0.05), transparent 55%),
    var(--k-bg);
  color: var(--k-text);
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--k-lime); color: #0D1017; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  user-select: none;
}

:focus-visible {
  outline: 2px solid var(--k-lime);
  outline-offset: 2px;
}

/* Scrollbars discretos */
* { scrollbar-width: thin; scrollbar-color: #2A3448 transparent; }
*::-webkit-scrollbar { height: 6px; width: 8px; }
*::-webkit-scrollbar-thumb { background: #2A3448; border-radius: 999px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ═══════════════ HEADER ═══════════════ */
.k-topbar {
  background: rgba(13, 16, 23, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--k-line);
  border-top: 2px solid var(--k-red-tm);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.k-topbar.scrolled {
  background: rgba(11, 14, 20, 0.96);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.95);
}

.k-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.k-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  text-decoration: none;
}
.k-brand-mark {
  width: 38px; height: 38px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(0, 174, 66, 0.16));
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.k-brand-mark svg { width: 100%; height: 100%; display: block; }
.k-brand:hover .k-brand-mark { transform: rotate(-6deg) scale(1.04); }

.k-brand-text { display: flex; flex-direction: column; line-height: 1; }
.k-brand-word {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--k-text);
}
.k-brand-sub {
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--k-lime);
  opacity: 0.85;
}

/* Navegación */
.k-nav { align-items: center; gap: 4px; }
.k-nav .nav-link {
  padding: 8px 13px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--k-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.k-nav .nav-link:hover { color: var(--k-text); background: rgba(255, 255, 255, 0.045); }
.k-nav .nav-link.text-primary,
.k-nav .nav-link.is-active {
  color: var(--k-lime) !important;
  background: var(--k-lime-soft);
  border-color: rgba(0, 174, 66, 0.28);
}
/* app.js añade border-b-2 para marcar activo: aquí se neutraliza */
.k-nav .nav-link.border-b-2 { border-bottom-width: 1px !important; }

/* Buscador */
.k-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 260px;
  max-width: 380px;
  height: 40px;
  padding: 0 10px 0 12px;
  background: var(--k-card-2);
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.k-search:focus-within {
  border-color: rgba(0, 174, 66, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 174, 66, 0.12);
  background: #0F141C;
}
.k-search-icon { font-size: 19px; color: var(--k-dim); }
.k-search-input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
  color: var(--k-text) !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.k-search-input::placeholder { color: #6B7790; }
.k-search-input::-webkit-search-cancel-button { filter: invert(0.7); }
.k-search-kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--k-dim);
  border: 1px solid var(--k-line);
  border-radius: 5px;
  padding: 2px 5px;
  background: #0D1219;
}
.k-search-mobile {
  display: flex;
  margin: 0 20px 10px;
  max-width: none;
}

/* Acciones */
.k-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.k-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--k-card);
  border: 1px solid var(--k-line);
}
.k-status-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--k-lime);
  box-shadow: 0 0 0 3px rgba(0, 174, 66, 0.16);
  animation: k-pulse 2.2s infinite;
  flex: none;
}
.k-status-dot.err { background: var(--k-red); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16); }
.k-status-dot.off { background: #64748B; box-shadow: none; animation: none; }
.k-status-dot.wait { background: var(--k-gold); box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.16); }
.k-status-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--k-muted);
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.k-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--k-radius-sm);
  border: 1px solid var(--k-line);
  background: var(--k-card);
  color: var(--k-muted);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}
.k-icon-btn .material-symbols-outlined { font-size: 18px; }
.k-icon-btn:hover { color: var(--k-lime); border-color: rgba(0, 174, 66, 0.4); background: #18202C; }
.k-icon-btn:active { transform: scale(0.95); }
.k-icon-btn.spinning .material-symbols-outlined { animation: rotate 0.9s linear infinite; }

.k-ghost-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: var(--k-radius-sm);
  border: 1px solid var(--k-line);
  background: transparent;
  color: var(--k-muted);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.k-ghost-btn:hover { color: var(--k-text); border-color: var(--k-line); background: rgba(255, 255, 255, 0.04); }

.k-bell-wrap { position: relative; display: inline-flex; }
.k-alert-dot {
  position: absolute; top: 7px; right: 7px;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--k-red);
  box-shadow: 0 0 0 2px var(--k-card);
}
.k-alert-dot.hidden { display: none; }

.k-cta {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--k-radius-sm);
  border: 1px solid rgba(0, 174, 66, 0.5);
  background: var(--k-lime);
  color: #0D1017;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(0, 174, 66, 0.55);
  transition: background 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
}
.k-cta:hover { background: #AFD62B; box-shadow: 0 8px 22px -8px rgba(0, 174, 66, 0.7); }
.k-cta:active { transform: scale(0.97); }

/* ═══════════════ LAYOUT ═══════════════ */
.k-main {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 20px 56px;
}

/* ═══════════════ BANNER ═══════════════ */
.k-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 30px 34px;
  margin-bottom: 18px;
  border: 1px solid var(--k-line);
  border-radius: 20px;
  background:
    linear-gradient(122deg, #18202C 0%, #121822 46%, #0E131B 100%);
  overflow: hidden;
  box-shadow: var(--k-shadow);
}
.k-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 220px at 88% 0%, rgba(0, 174, 66, 0.16), transparent 65%),
    radial-gradient(420px 200px at 0% 100%, rgba(96, 165, 250, 0.09), transparent 70%);
  pointer-events: none;
}
.k-hero::after {
  content: "";
  position: absolute; top: 0; left: 34px; right: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 174, 66, 0.45), transparent);
}
.k-hero-glow { position: absolute; inset: 0; pointer-events: none; }
.k-hero-body { position: relative; z-index: 1; min-width: 0; }

.k-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--k-lime);
}
.k-eyebrow-dot {
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--k-lime);
  box-shadow: 0 0 0 3px rgba(0, 174, 66, 0.16);
}

/* Co-brand: Team México */
.k-hero-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.k-sponsor {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 11px;
  border: 1px solid var(--k-line);
  border-radius: 10px;
  background: rgba(13, 18, 25, 0.62);
  backdrop-filter: blur(6px);
}
.k-sponsor-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--k-dim);
  white-space: nowrap;
}
.k-sponsor-logo { height: 17px; width: auto; display: block; }

.k-hero-title {
  margin: 10px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--k-text);
}
.k-hero-title::after {
  content: ".";
  color: var(--k-lime);
}
.k-hero-sub {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--k-muted);
}
.k-hero-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.k-hero-chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--k-line);
  background: rgba(13, 18, 25, 0.6);
  color: #C6D0E0;
  font-size: 11.5px;
  font-weight: 600;
}
.k-hero-chip .material-symbols-outlined { font-size: 14px; color: var(--k-lime); }

.k-hero-side { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.k-hero-dial { width: 168px; height: 168px; opacity: 0.95; }
.k-hero-cta {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--k-radius-sm);
  border: 1px solid rgba(0, 174, 66, 0.5);
  background: var(--k-lime);
  color: #0D1017;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.1s ease;
}
.k-hero-cta .material-symbols-outlined { font-size: 17px; }
.k-hero-cta:hover { background: #AFD62B; }
.k-hero-cta:active { transform: scale(0.97); }

/* ═══════════════ PANEL / CONTROLES ═══════════════ */
.k-panel {
  background: var(--k-card);
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  padding: 16px;
  box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.9);
}
.k-panel-flat { padding: 8px; }

.k-sportbar-wrap {
  position: relative;
  margin: -2px -2px 14px;
}
.k-sportbar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.k-sportbar::-webkit-scrollbar { height: 0; }
.k-sportbar > button {
  flex: none;
  white-space: nowrap;
  scroll-snap-align: start;
  border-radius: 999px !important;
  height: 36px;
  padding: 0 14px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  border-width: 1px !important;
}
.k-sportbar > button.bg-primary {
  box-shadow: 0 6px 18px -10px rgba(0, 174, 66, 0.8);
}

.pill-skeleton {
  flex: none;
  width: 96px; height: 36px;
  border-radius: 999px;
  background: var(--k-card-3);
  animation: k-shimmer 1.4s infinite;
}

.k-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 170px auto;
  gap: 12px;
  align-items: end;
}
.k-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.k-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--k-dim);
}
.k-select-wrap { position: relative; }
.k-select,
.k-input {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 12px;
  background: #0F141C !important;
  border: 1px solid var(--k-line) !important;
  border-radius: var(--k-radius-sm);
  color: var(--k-text) !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.k-input { padding-right: 12px; }
.k-select:hover, .k-input:hover { border-color: #3A4761 !important; }
.k-select:focus, .k-input:focus {
  outline: 0;
  border-color: rgba(0, 174, 66, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(0, 174, 66, 0.12) !important;
}
.k-select option { background: #131A24; color: var(--k-text); }
.k-select-sm { height: 34px; width: auto; font-size: 12px; }
.k-select-caret {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 18px; color: var(--k-dim); pointer-events: none;
}
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.75); cursor: pointer; }

.k-predict {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--k-radius-sm);
  border: 1px solid rgba(0, 174, 66, 0.55);
  background: var(--k-lime);
  color: #0D1017;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 22px -12px rgba(0, 174, 66, 0.8);
  transition: background 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
}
.k-predict .material-symbols-outlined { font-size: 18px; }
.k-predict:hover { background: #AFD62B; box-shadow: 0 10px 26px -12px rgba(0, 174, 66, 0.95); }
.k-predict:active { transform: scale(0.98); }
.k-predict:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.k-predict.spinning .material-symbols-outlined { animation: rotate 0.9s linear infinite; }

.k-quickbar {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--k-line-soft);
}
.k-quickbar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--k-dim);
  margin-right: 2px;
}
.k-quickbar-hint {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--k-dim);
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-chip {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--k-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.quick-chip:hover { color: var(--k-text); background: rgba(255, 255, 255, 0.05); }
.quick-chip.on {
  color: var(--k-lime);
  background: var(--k-lime-soft);
  border-color: rgba(0, 174, 66, 0.28);
  font-weight: 600;
}

/* ═══════════════ CHIPS / PILLS (app.js) ═══════════════ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--k-line);
  background: #121822;
  color: var(--k-muted);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}
.pill .material-symbols-outlined { font-size: 15px; }
.pill:hover { color: var(--k-text); border-color: #3A4761; transform: translateY(-1px); }
.pill:active { transform: scale(0.97); }
.pill.active {
  background: var(--k-lime);
  border-color: rgba(0, 174, 66, 0.6);
  color: #0D1017;
  box-shadow: 0 6px 18px -10px rgba(0, 174, 66, 0.85);
}

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--k-line);
  background: #121822;
  color: var(--k-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.chip:hover { color: var(--k-text); border-color: #3A4761; }
.chip:active { transform: scale(0.96); }
.chip.on {
  background: var(--k-lime-soft);
  border-color: rgba(0, 174, 66, 0.35);
  color: var(--k-lime);
  font-weight: 600;
}

.tier-filter-bar { margin-bottom: 12px; }

/* ═══════════════ BLOQUES / TÍTULOS ═══════════════ */
.k-block { margin-bottom: 34px; }
.k-block-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.k-block-title-wrap { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.k-block-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--k-text);
  margin: 0;
}
.k-block-title-lg { font-size: 28px; margin-top: 6px; }
.k-block-title::before {
  content: "";
  display: inline-block;
  width: 4px; height: 17px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--k-lime);
  vertical-align: -2px;
}
.k-block-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #9CC41B;
}
.k-block-hint, .k-block-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--k-dim);
}
.k-block-meta { margin-left: auto; }

/* ═══════════════ PICKS ═══════════════ */
.k-picks-grid, #picksGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 14px;
}

.pick-card {
  background: var(--k-card) !important;
  border: 1px solid var(--k-line) !important;
  border-radius: var(--k-radius) !important;
  padding: 18px !important;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}
.pick-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%);
}
.pick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 174, 66, 0.33) !important;
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 1), 0 0 0 1px rgba(0, 174, 66, 0.07);
}
.pick-card.tier-top { border-color: rgba(254, 21, 21, 0.45) !important; }
.pick-card.tier-top::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--k-red-tm), transparent);
}
.pick-card.tier-muy { border-color: rgba(0, 174, 66, 0.3) !important; }
.pick-card.tier-muy::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--k-lime), transparent);
}
.pick-card.tier-bueno::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--k-blue), transparent);
}
.pick-card.tier-destacado::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #475569, transparent);
}

/* Títulos de la tarjeta: texto claro, no lima */
.pick-card h3 { color: var(--k-text) !important; letter-spacing: -0.01em; }
.pick-card p { color: var(--k-muted); }
.pick-card p .text-primary { color: var(--k-lime) !important; }
.pick-card .border-t { border-color: var(--k-line-soft) !important; }

.pick-crest { display: flex; flex-direction: column; align-items: center; gap: 7px; margin-bottom: 14px; }
.pick-crest-name {
  font-size: 12px;
  font-weight: 600;
  color: #D6DEEB;
  text-align: center;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prob-big {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #9CC41B;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(156, 196, 27, 0.2);
}

/* Badges de clasificación (app.js usa colores inline claros) */
.pick-card [class*="fef3c7"] {
  background: rgba(254, 21, 21, 0.14) !important;
  border-color: rgba(254, 21, 21, 0.38) !important;
  color: #FF9B9B !important;
}
.pick-card [class*="dcfce7"] {
  background: rgba(0, 174, 66, 0.13) !important;
  border-color: rgba(0, 174, 66, 0.32) !important;
  color: #6FE39A !important;
}

.tier-badge, .inline-flex[class*="rounded border font-label-sm"] {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ═══════════════ ESCUDOS ═══════════════ */
.crest {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #1B2330;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  flex: none;
}
.crest img { width: 100%; height: 100%; object-fit: contain; }
.crest-sm { width: 26px; height: 26px; }
.crest-lg {
  width: 62px; height: 62px;
  background: radial-gradient(circle at 50% 30%, #202A3B, #141A24 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 8px 18px -14px #000;
}
.crest-fallback {
  background: hsl(var(--h, 210) 34% 22%);
  color: hsl(var(--h, 210) 60% 74%);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.02em;
}
.crest-lg.crest-fallback { font-size: 18px; }
.crest--photo { background: #1B2330; }
.crest--photo img { object-fit: cover; border-radius: 999px; }

/* ═══════════════ CARTELERA ═══════════════ */
.match-card {
  position: relative;
  background: #121822;
  border: 1px solid var(--k-line-soft);
  border-radius: 12px;
  padding: 10px 34px 10px 12px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.match-card + .match-card { margin-top: 6px; }
.match-card:hover { border-color: #35435C; background: #151C27; box-shadow: 0 10px 24px -20px #000; }
/* El chevron queda como hijo directo (markup de app.js): se ancla a la derecha */
.match-card > .chevron.material-symbols-outlined {
  position: absolute; right: 10px; top: 14px;
}
.game-row.open { border-color: rgba(0, 174, 66, 0.35); background: #151C27; }

.game-row span.text-primary { color: var(--k-text) !important; }
.game-row .chevron { color: #4A5A76; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease; }
.game-row:hover .chevron { color: var(--k-lime); }
.game-row.open .chevron { transform: rotate(180deg); }

.match-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.match-teams { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.match-team { display: flex; align-items: center; gap: 9px; min-width: 0; }
.match-team .name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--k-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.match-team .name.away { font-weight: 500; color: var(--k-muted); }
.match-meta { display: flex; align-items: center; gap: 8px; flex: none; }
.league-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--k-muted);
  background: #1A2130;
  border: 1px solid var(--k-line-soft);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden; text-overflow: ellipsis;
}
.match-context { margin: 8px 0 0; font-size: 11px; color: var(--k-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.markets-panel {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  background: rgba(13, 18, 25, 0.65) !important;
  border-radius: 10px;
  margin-top: 8px;
}
.markets-panel.open { opacity: 1; }

.market-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.6fr 1.3fr;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-top: 1px solid var(--k-line-soft);
  font-size: 12.5px;
}
.market-row .m-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--k-dim);
}
.market-row .m-pick { font-weight: 600; color: var(--k-text); }
.market-row .m-prob { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--k-lime); font-variant-numeric: tabular-nums; }
.market-row .m-detail { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--k-dim); }
.market-row.strong .m-pick { color: var(--k-lime); }

/* ═══════════════ REGISTRO ═══════════════ */
.k-registro-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 16px;
}
.k-registro-meta { margin: 4px 0 0; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--k-dim); }
.k-registro-note { margin: 6px 0 0; max-width: 62ch; font-size: 11px; color: #6B7790; }
.k-registro-actions { display: flex; align-items: center; gap: 8px; }

.k-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.k-summary > div {
  background: var(--k-card) !important;
  border: 1px solid var(--k-line) !important;
  border-radius: 12px !important;
}

.win-big { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }
.win-big.good { color: var(--k-emerald); }
.win-big.bad { color: var(--k-red); }

.k-filter-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.k-filter-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.k-filter-scroll::-webkit-scrollbar { height: 0; }

.k-table-wrap {
  background: var(--k-card);
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  overflow-x: auto;
  box-shadow: var(--k-shadow);
}

.reg-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.reg-table thead th {
  position: sticky; top: 0; z-index: 1;
  background: #101620;
  text-align: left;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k-dim);
  padding: 10px 14px;
  border-bottom: 1px solid var(--k-line);
}
.reg-table thead th.num, .reg-table td.num { text-align: right; }
.reg-table thead th.center, .reg-table td.center { text-align: center; }
.reg-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--k-line-soft);
  color: var(--k-text);
  vertical-align: middle;
}
.reg-table tbody tr:last-child td { border-bottom: 0; }
.reg-table tbody tr { transition: background 0.15s ease; }
.reg-table tbody tr:hover { background: rgba(0, 174, 66, 0.04); }
.reg-table td.num { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.reg-table td.reg-pick { font-weight: 600; }
.reg-table td.reg-muted { color: var(--k-dim); }

.estado-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.estado-badge::before {
  content: ""; width: 4px; height: 4px; border-radius: 999px;
  background: currentColor; flex: none;
}
.estado-ganado { background: rgba(0, 174, 66, 0.12); color: #5FD98A; border-color: rgba(0, 174, 66, 0.25); }
.estado-perdido { background: rgba(239, 68, 68, 0.12); color: #FCA5A5; border-color: rgba(239, 68, 68, 0.25); }
.estado-pendiente { background: rgba(245, 179, 1, 0.12); color: #FCD34D; border-color: rgba(245, 179, 1, 0.25); }
.estado-anulado { background: rgba(148, 163, 184, 0.12); color: #CBD5E1; border-color: rgba(148, 163, 184, 0.22); }

/* ═══════════════ RESULTADOS DEL DÍA ═══════════════ */
#liveDayResults h2 { color: var(--k-text) !important; font-size: 21px; }
#liveDayResults header > p { color: var(--k-dim) !important; }
#liveDayResults tbody td:nth-child(2) { color: var(--k-text) !important; }
#liveDayResults .bg-surface-container-lowest {
  background: var(--k-card) !important;
  border-color: var(--k-line) !important;
}

/* ═══════════════ SELECTOR DE LIGA / DÍA ═══════════════ */
.dd { position: relative; width: 100%; }
.dd-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #0F141C;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  color: var(--k-text);
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.dd-btn:hover { border-color: #3A4761; }
.dd-caret { transition: transform 0.2s ease; font-size: 19px; color: var(--k-dim); }
.dd.open .dd-caret { transform: rotate(180deg); }
.dd-panel {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0;
  background: #131A24;
  border: 1px solid var(--k-line);
  border-radius: 12px;
  box-shadow: 0 26px 50px -20px rgba(0, 0, 0, 0.95);
  opacity: 0; transform: translateY(-6px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  overflow: hidden;
}
.dd.open .dd-panel { opacity: 1; transform: none; pointer-events: auto; }
.dd-search-wrap {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--k-line-soft);
  color: var(--k-dim);
}
.dd-search-wrap .material-symbols-outlined { font-size: 17px; }
.dd-search { border: 0; outline: 0; width: 100%; font-size: 12.5px; background: transparent; color: var(--k-text); }
.dd-list { max-height: 260px; overflow: auto; padding: 5px; }
.dd-item {
  display: block; width: 100%; text-align: left;
  padding: 7px 9px; border-radius: 8px;
  font-size: 12.5px; color: var(--k-text); background: transparent; border: 0; cursor: pointer;
}
.dd-item:hover { background: rgba(255, 255, 255, 0.05); }
.dd-item.on { background: var(--k-lime-soft); color: var(--k-lime); font-weight: 600; }
.dd-empty { padding: 10px; color: var(--k-dim); font-size: 12px; }

#dayPopBtn { padding: 0 8px; }
.day-pop {
  position: absolute; z-index: 60; margin-top: 6px;
  background: #131A24;
  border: 1px solid var(--k-line);
  border-radius: 12px;
  box-shadow: 0 26px 50px -20px rgba(0, 0, 0, 0.95);
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  min-width: 264px;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.day-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.day-item {
  padding: 7px 8px; border-radius: 8px; border: 1px solid transparent;
  background: #101620;
  font-size: 11px;
  cursor: pointer;
  color: var(--k-muted);
  text-transform: capitalize;
  font-family: 'JetBrains Mono', monospace;
}
.day-item:hover { background: #18202C; color: var(--k-text); }
.day-item.on { background: var(--k-lime); color: #0D1017; font-weight: 700; }

/* ═══════════════ BARRA INFERIOR MÓVIL ═══════════════ */
#bottomNav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: space-around; align-items: stretch;
  background: rgba(13, 16, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--k-line);
  padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
}
#bottomNav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--k-dim);
  background: none; border: 0;
  padding: 6px 10px;
  border-radius: 10px;
  min-width: 58px; min-height: 46px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
#bottomNav button .material-symbols-outlined { font-size: 20px; }
#bottomNav button:hover, #bottomNav button:active { color: var(--k-lime); background: rgba(0, 174, 66, 0.1); }

/* ═══════════════ ESTADOS / UTILIDADES ═══════════════ */
.k-loading { margin-bottom: 26px; }
.k-loading-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.k-loading-text { font-size: 12.5px; color: var(--k-dim); font-family: 'JetBrains Mono', monospace; }

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #243049;
  border-top-color: var(--k-lime);
  animation: rotate 0.8s linear infinite;
  display: inline-block;
}

.skeleton-card {
  height: 186px; border-radius: var(--k-radius);
  background: var(--k-card);
  border: 1px solid var(--k-line-soft);
  position: relative; overflow: hidden;
}
.skeleton-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.045), transparent);
  animation: shimmer 1.4s infinite;
}

.k-error-wrap { margin-bottom: 26px; }
.k-error {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: var(--k-radius);
  padding: 16px 18px;
  animation: fade-in-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.k-error .material-symbols-outlined { color: var(--k-red); font-size: 22px; }
.k-error h3 { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--k-text); }
.k-error p { margin: 5px 0 0; font-size: 12.5px; color: var(--k-muted); }

.k-empty { text-align: center; padding: 56px 20px; }
.k-empty .material-symbols-outlined { font-size: 44px; color: #33415A; display: block; margin-bottom: 12px; }
.k-empty h3 { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 700; color: var(--k-text); }
.k-empty p { margin: 6px 0 0; font-size: 12.5px; color: var(--k-dim); }

.k-audit-body { color: var(--k-muted); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(12px); animation: fade-in-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.animate-fade-in-up { animation: fade-in-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; }

.text-emerald { color: var(--k-emerald); }
.text-crimson { color: var(--k-red); }

.is-filtered-out { display: none !important; }

.k-footer {
  border-top: 1px solid var(--k-line);
  background: #0B0E14;
  margin-top: auto;
}
.k-footer-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.k-footer-brand { display: flex; align-items: center; gap: 10px; }
.k-footer-copy { font-size: 11.5px; color: var(--k-dim); }
.k-footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.k-footer-links a { font-size: 11.5px; color: var(--k-muted); text-decoration: none; transition: color 0.16s ease; }
.k-footer-links a:hover { color: var(--k-lime); }
.k-footer-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--k-dim);
  padding-left: 14px;
  border-left: 1px solid var(--k-line);
}
.k-footer-sponsor {
  display: inline-flex; align-items: center; gap: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--k-line);
}
.k-footer-sponsor img { height: 15px; width: auto; display: block; }

/* ═══════════════ ANIMACIONES ═══════════════ */
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes fade-in-up { to { opacity: 1; transform: translateY(0); } }
@keyframes k-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 174, 66, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(0, 174, 66, 0.04); }
}
@keyframes k-shimmer {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (min-width: 768px) { #bottomNav { display: none; } }
@media (max-width: 767px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .k-topbar-inner { height: 56px; gap: 10px; padding: 0 14px; }
  .k-brand-word { font-size: 14px; }
  .k-brand-mark { width: 32px; height: 32px; }
  .k-cta span:first-child { display: none; }
  .k-cta { padding: 0 11px; }
  .k-main { padding: 14px 12px 40px; }
  .k-hero { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; border-radius: 16px; }
  .k-hero-side { flex-direction: row; justify-content: space-between; }
  .k-hero-dial { width: 88px; height: 88px; order: 2; opacity: 0.7; }
  .k-hero-cta { order: 1; }
  .k-controls { grid-template-columns: 1fr 1fr; }
  .k-field-lg { grid-column: 1 / -1; }
  .k-predict { grid-column: 1 / -1; }
  .k-picks-grid, #picksGrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 9px; }
  .pick-card { padding: 12px !important; border-radius: 13px !important; }
  .pick-crest { flex-direction: row; align-items: center; gap: 9px; margin-bottom: 9px; }
  .crest-lg { width: 42px !important; height: 42px !important; }
  .crest-lg.crest-fallback { font-size: 12px !important; }
  .pick-crest-name { text-align: left; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11px; }
  .pick-card h3 { font-size: 13px !important; }
  .pick-card h3 + p { font-size: 12px !important; }
  .prob-big { font-size: 22px; }
  .market-row { grid-template-columns: 1fr 1fr; gap: 6px; font-size: 11.5px; }
  .market-row .m-detail { grid-column: span 2; }
  .reg-table { font-size: 11px; }
  .reg-table .col-optional { display: none; }
  .reg-table thead th, .reg-table tbody td { padding: 7px 8px; }
  .k-block { margin-bottom: 26px; }
  .k-block-title { font-size: 18px; }
  .day-pop { min-width: 232px; }
  .k-footer-inner { padding: 16px 14px; }
  .k-footer-links { gap: 12px; }
  .k-footer-status { border-left: 0; padding-left: 0; }
  .k-footer-sponsor { border-left: 0; padding-left: 0; }
  .k-sponsor-logo { height: 15px; }
}
@media (max-width: 480px) {
  .match-team .name { font-size: 13px; }
  .league-chip { max-width: 92px; }
  #picksGrid { grid-template-columns: 1fr 1fr; }
  .k-hero-chips { display: none; }
}

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

/* ── Picks IA experimentales (compartidos con la web v1) ── */
.ai-value-section { border-top: 2px solid #8B5CF6; padding-top: 18px; }
.ai-only-mode > section:not(#aiValueSection),
.ai-only-mode > #liveDayResults,
.ai-only-mode > #emptyState { display: none !important; }
.ai-page-hidden { display: none !important; }
.ai-value-badge, .ai-label-value, .ai-label-safe {
  display:inline-flex; align-items:center; border-radius:999px; padding:3px 8px;
  font-family:'JetBrains Mono',monospace; font-size:9px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
}
.ai-value-badge { color:#A78BFA; background:rgba(139,92,246,.12); border:1px solid rgba(139,92,246,.3); }
.ai-value-disclaimer { margin:-5px 0 14px; color:var(--k-dim); font-size:11px; }
.ai-value-card { background:var(--k-card); border:1px solid #59436B; border-radius:var(--k-radius); padding:16px; box-shadow:0 14px 30px -24px #000; }
.ai-value-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:9px; }
.ai-label-value { color:#C4B5FD; background:rgba(124,58,237,.18); border:1px solid rgba(167,139,250,.35); }
.ai-label-safe { color:#6EE7B7; background:rgba(52,211,153,.12); border:1px solid rgba(52,211,153,.3); }
.ai-score { color:#C4B5FD; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:700; }
.ai-value-meta { color:var(--k-dim); font-family:'JetBrains Mono',monospace; font-size:9px; text-transform:uppercase; letter-spacing:.04em; }
.ai-value-card h3 { color:var(--k-text); font-size:15px; line-height:1.3; font-weight:700; margin:8px 0; }
.ai-pick-line { color:var(--k-muted); font-size:13px; margin:0 0 12px; }
.ai-pick-line strong { color:#C4B5FD; }
.ai-numbers { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; border-top:1px solid var(--k-line-soft); padding-top:10px; }
.ai-numbers span { display:flex; flex-direction:column; gap:3px; }
.ai-numbers small { color:var(--k-dim); font-family:'JetBrains Mono',monospace; font-size:8px; }
.ai-numbers b { color:var(--k-text); font-family:'JetBrains Mono',monospace; font-size:13px; }
.ai-numbers span:nth-child(3) b { color:#C4B5FD; }
.ai-explanation,.ai-factors,.ai-risks { font-size:11px; line-height:1.45; margin:10px 0 0; }
.ai-explanation { color:var(--k-muted); }
.ai-factors { color:var(--k-emerald); }
.ai-risks { color:#FCD34D; }
@media (max-width:640px) { .ai-numbers b { font-size:11px; } .ai-value-card { padding:12px; } }
