/* static/css/ufc.css — UFC tab + /trust MMA section */
.slate-row.tier-bet { border-left: 3px solid var(--bet-green, #56d9a7); }
.slate-row.tier-defer { border-left: 3px solid var(--muted, #7a8795); }
.slate-row { cursor: pointer; }
.slate-row:hover { background: var(--bg-2, #1a1e24); }

.ufc-drilldown-row > td,
.drilldown-row > td {
  background: var(--bg-2, #1a1e24);
  padding: 16px;
}
.ufc-drilldown,
.drilldown-content {
  min-height: 60px;
  color: var(--text, #e4e8ed);
}

.alpha-banner {
  background: #2a2410;
  border-left: 3px solid #d9a756;
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 0.9em;
}
.variance-disclaimer {
  font-style: italic;
  color: var(--muted, #7a8795);
  margin: 8px 0 16px;
}
.hero-numbers {
  display: flex;
  gap: 24px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .label {
  font-size: 0.85em;
  color: var(--muted, #7a8795);
}
.hero-stat .value {
  font-size: 1.8em;
  font-weight: 600;
}

.upgrade-badge {
  font-size: 0.7em;
  background: var(--accent, #56d9a7);
  color: #0d1116;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
}
.pick-card {
  padding: 10px 14px;
  margin: 6px 0;
  background: var(--bg-2, #1a1e24);
  border-left: 3px solid var(--muted, #7a8795);
}
.pick-card.tier-bet { border-left-color: var(--bet-green, #56d9a7); }
.pick-card .matchup { font-weight: 600; }
.pick-card .prediction {
  color: var(--accent, #56d9a7);
  font-size: 0.9em;
  margin-top: 4px;
}
.pick-card.hit { border-left-color: var(--bet-green, #56d9a7); }
.pick-card.miss { border-left-color: var(--danger, #d96c6c); opacity: 0.75; }

.ufc-header { margin: 12px 0; }
.ufc-subtitle { color: var(--muted, #7a8795); font-size: 0.9em; }

.ufc-filters {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

@media (max-width: 768px) {
  #ufc-slate-table { font-size: 0.85em; }
}

/* ==== Task 11 drilldown ==== */
.drilldown-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .drilldown-grid { grid-template-columns: 1fr; }
}
.drilldown-fighters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fighter-card {
  padding: 12px 14px;
  background: var(--bg-1, #14181e);
  border-left: 3px solid var(--muted, #7a8795);
  border-radius: 4px;
}
.fighter-card.favored { border-left-color: var(--accent, #56d9a7); }
.fighter-card .name { font-size: 1.05em; margin-bottom: 8px; }
.fighter-card .side {
  color: var(--muted, #7a8795);
  font-size: 0.85em;
  font-weight: normal;
}
.fighter-card .stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  padding: 2px 0;
}
.fighter-card .stat-row .label { color: var(--muted, #7a8795); }
.drilldown-edge-panel {
  padding: 12px 14px;
  background: var(--bg-1, #14181e);
  border-radius: 4px;
}
.drilldown-edge-panel .edge-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.9em;
}
.drilldown-edge-panel .edge-row .label {
  color: var(--muted, #7a8795);
}
.drilldown-edge-panel .edge-val { font-weight: 600; }
.drilldown-edge-panel .tier-bet {
  color: var(--bet-green, #56d9a7);
  font-weight: 600;
}
.drilldown-edge-panel .tier-defer {
  color: var(--muted, #7a8795);
}
.drilldown-disclaimer {
  font-style: italic;
  font-size: 0.85em;
  color: var(--muted, #7a8795);
  margin-top: 10px;
}
.drilldown-empty {
  color: var(--muted, #7a8795);
  font-style: italic;
  padding: 20px;
  text-align: center;
}

/* ==== Task 13: mobile + a11y ==== */
.skip-nav {
  position: absolute;
  left: -9999px;
}
.skip-nav:focus {
  left: 10px;
  top: 10px;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  z-index: 100;
  border-radius: 3px;
}

.trust-section h2,
.trust-section h3 { scroll-margin-top: 80px; }

.slate-row:focus {
  outline: 2px solid var(--accent, #56d9a7);
  outline-offset: -2px;
}

@media (max-width: 768px) {
  /* Collapse UFC slate table into cards */
  #ufc-slate-table thead { display: none; }
  #ufc-slate-table, #ufc-slate-table tbody,
  #ufc-slate-table tr, #ufc-slate-table td { display: block; width: 100%; }
  #ufc-slate-table tr {
    border-bottom: 1px solid var(--border, #2a3038);
    padding: 10px 0;
    margin-bottom: 8px;
  }
  #ufc-slate-table td {
    padding: 3px 10px;
    border: none;
  }
  #ufc-slate-table td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--muted, #7a8795);
  }

  /* Hero numbers stack vertically */
  .hero-numbers { flex-direction: column; gap: 12px; }

  /* Drilldown grid collapses */
  .drilldown-grid { grid-template-columns: 1fr !important; }
  .drilldown-fighters { grid-template-columns: 1fr; }

  /* Permalink body narrower */
  .permalink-body main { padding: 0 12px !important; }
}
