:root {
  color-scheme: dark;
  --bg: #06070a;
  --bg-card: #0d0f17;
  --ink: #f2f1f5;
  --muted: #9499ab;
  --line: #1c2030;
  --line-highlight: #2c324a;
  --accent: #00f0ff;
  --accent-glow: rgba(0, 240, 255, 0.45);
  --crimson: #ff3366;
  --crimson-glow: rgba(255, 51, 102, 0.45);
  --violet: #8b5cf6;
  --red: #ff6680;
  --blue: #58a6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: 
    radial-gradient(ellipse 75% 45% at 85% 0%, rgba(220, 20, 60, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 5% 45%, rgba(139, 92, 246, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 90% 45% at 50% 100%, rgba(255, 30, 60, 0.07) 0%, transparent 65%),
    var(--bg);
  color: var(--ink);
  font: 14px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

button, input, select {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Widescreen Fullscreen Topbar */
.topbar {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 10, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-inner {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 48px);
  box-sizing: border-box;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.8));
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 17px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.5px;
  color: #ffffff;
}
.brand-wordmark>span {
  font-size: 8px;
  letter-spacing: 2.8px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.next-event-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 9px;
  border: 1px solid rgba(255, 51, 102, 0.25);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(35, 18, 30, 0.8), rgba(15, 20, 32, 0.8));
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.next-event-link:hover {
  border-color: rgba(0, 240, 255, 0.5);
  background: linear-gradient(120deg, rgba(45, 22, 38, 0.9), rgba(18, 25, 42, 0.9));
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}
.next-event-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 51, 102, 0.16);
  color: #ff668a;
  font-size: 16px;
}
.next-event-label {
  display: block;
  font: 700 8px/1.2 system-ui;
  letter-spacing: 1.5px;
  color: #d19bb0;
}
.next-event-link strong {
  display: block;
  font: 650 12px/1.2 system-ui;
  color: #f1f5f9;
}

/* Widescreen Fullscreen Container */
main {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 48px);
  box-sizing: border-box;
}

/* Hero Section with Multidimensional Octagon Wireframe */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 250px;
  padding: 30px 0;
  gap: 32px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  flex: 1.2;
}
.eyebrow {
  font: 700 9px monospace;
  letter-spacing: 2px;
  color: #ff668a;
  text-shadow: 0 0 12px rgba(255, 51, 102, 0.4);
  margin-bottom: 10px;
}
h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 0;
  font-weight: 850;
  color: #ffffff;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
}
h1 span {
  background: linear-gradient(110deg, #ff4d6d 0%, #ff1a40 50%, #b854d4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 51, 102, 0.45));
}
.hero p {
  color: #a0a6b8;
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0 0;
  max-width: 580px;
}

/* Multidimensional Octagon Wireframe Scene */
.octagon-scene {
  position: absolute;
  inset: -60px -20px -80px 22%;
  pointer-events: none;
  z-index: 1;
  perspective: 1200px;
  opacity: 0.55;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 85%, transparent);
}
.octagon-plane {
  position: absolute;
  width: 380px;
  height: 380px;
  left: 36%;
  top: 30px;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.65), rgba(139, 92, 246, 0.35), rgba(0, 240, 255, 0.7));
  transform: rotateX(54deg) rotateY(-20deg) rotateZ(20deg);
  will-change: transform;
}
.octagon-plane:after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #08090f;
  clip-path: inherit;
}
.plane-two {
  transform: translate3d(-60px, 30px, -90px) rotateX(54deg) rotateY(-20deg) rotateZ(20deg);
  opacity: 0.75;
}
.plane-three {
  transform: translate3d(-120px, 60px, -180px) rotateX(54deg) rotateY(-20deg) rotateZ(20deg);
  opacity: 0.5;
}
.plane-four {
  transform: translate3d(-180px, 90px, -270px) rotateX(54deg) rotateY(-20deg) rotateZ(20deg);
  opacity: 0.3;
}
.octagon-wireframe {
  position: absolute;
  width: 380px;
  height: 380px;
  left: 36%;
  top: 30px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.25);
  transform: translate3d(-30px, 15px, -40px) rotateX(54deg) rotateY(-20deg) rotateZ(20deg);
}

/* Model Intro Box in Hero */
.model-intro {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 440px;
  padding: 18px 20px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(17, 18, 28, 0.92), rgba(10, 12, 19, 0.92));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.model-intro .eyebrow {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  margin-bottom: 6px;
}
.hero .model-intro p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  color: #b0b6c8;
}
.model-selection {
  display: block;
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 10px;
  margin: 10px 0;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.08), transparent);
}
.model-kicker {
  display: block;
  font: 700 8px/1.3 system-ui;
  letter-spacing: 1.5px;
  color: #94a3b8;
}
.model-intro .active-model {
  display: block;
  font-size: 17px;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
  margin: 3px 0;
  font-weight: 750;
}
.model-intro .model-estimator {
  display: block;
  font: 10px/1.4 monospace;
  color: #8b92aa;
}
.glow-blue {
  color: #60a5fa;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.4);
}
.glow-rose {
  color: #ff668a;
  text-shadow: 0 0 10px rgba(255, 102, 138, 0.4);
}
.model-inputs.compact-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  margin-top: 8px;
}
.model-inputs.compact-inputs > span {
  color: #9aa1b6;
  font-size: 10px;
  line-height: 1.4;
}
.model-inputs.compact-inputs > span:before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 6px 2px 0;
  box-shadow: 0 0 4px var(--accent);
}

/* Sync Strip */
.sync-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #0a0d15;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 6px;
}
.sync-strip .notice {
  font-size: 11px;
  color: #b0bad0;
  overflow-wrap: anywhere;
}
.sync-strip .notice.warning, .sync-strip .odds-sync.warning {
  color: #fbbf24;
}
.sync-strip .odds-sync {
  font: 11px/1.4 system-ui;
  color: var(--muted);
  flex-shrink: 0;
}

/* Metrics Overview Strip */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  gap: 0;
}
.metrics > div {
  border-right: 1px solid var(--line);
  padding: 0 20px;
}
.metrics > div:first-child {
  padding-left: 0;
}
.metrics > div:last-child {
  border: 0;
}
.metric-label {
  font: 700 9px monospace;
  letter-spacing: 0.8px;
  color: #8b92a8;
  display: block;
}
.metrics strong {
  display: block;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -1px;
  margin: 4px 0 0;
  color: #ffffff;
}
.metrics .date-metric {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-top: 8px;
}
.metrics small {
  font-size: 10px;
  color: #798298;
  display: block;
  margin-top: 3px;
}

/* Tabs Navigation */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  margin-top: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #8e95aa;
  font-size: 12px;
  font-weight: 650;
  padding: 14px 0;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.tab:hover {
  color: #ffffff;
}
.tab.active {
  border-color: var(--accent);
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
}
.tab span {
  font-size: 9px;
  padding: 2px 6px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent);
  border-radius: 4px;
  margin-left: 4px;
}

/* Section Headings */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 16px;
  gap: 14px;
}
.section-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 3px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0;
  font-weight: 700;
  color: #ffffff;
}
#event-filter {
  font: 11px system-ui;
  background: #0d101a;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 12px;
  max-width: 290px;
  border-radius: 6px;
}

/* Fight Cards & Grid */
.fight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.card-section {
  margin-bottom: 24px;
}
.card-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 6px;
}
.card-section-heading:after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(255, 51, 102, 0.35), var(--line));
}
.card-section-heading h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.card-section[aria-label="Main card"] h4 {
  color: #ff668a;
  text-shadow: 0 0 12px rgba(255, 51, 102, 0.35);
}
.card-section[aria-label="Undercard / Prelims"] h4,
.card-section[aria-label="Early prelims"] h4 {
  color: #93c5fd;
}
.card-section-heading > span {
  font: 10px monospace;
  color: var(--muted);
}
.section-note {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 12px;
}
.event-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 10px;
}
.event-heading h3 {
  font-size: 15px;
  margin: 0;
  color: #ffffff;
}
.tag {
  display: inline-block;
  background: #141824;
  color: #94a3b8;
  padding: 3px 7px;
  font: 9px monospace;
  border-radius: 4px;
}

/* Individual Fight Card */
.fight-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fight-card:hover {
  border-color: var(--line-highlight);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}
.fight-card.is-main-event {
  border: 2px solid #ffd700;
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% -10%, rgba(255, 215, 0, 0.12) 0%, rgba(14, 17, 26, 0.98) 75%),
              linear-gradient(135deg, rgba(28, 22, 10, 0.95), rgba(11, 14, 22, 0.98));
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.28), 0 10px 32px rgba(0, 0, 0, 0.7);
  position: relative;
}
.fight-card.is-main-event:hover {
  border-color: #ffe57f;
  box-shadow: 0 0 36px rgba(255, 215, 0, 0.4), 0 12px 36px rgba(0, 0, 0, 0.8);
}
.main-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%);
  color: #080a10;
  font: 850 9px monospace;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.55);
}
.fight-top-tag-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.fight-card.womens-fight {
  background: linear-gradient(135deg, rgba(32, 22, 42, 0.9), rgba(15, 17, 26, 0.9));
  border-color: rgba(139, 92, 246, 0.25);
}
.womens-fight .fight-top > span:first-child {
  color: #c4b5fd;
}
.fight-card.has-model-edge {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.model-edge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(45, 30, 15, 0.85);
  border-left: 3px solid #f59e0b;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 5px;
}
.model-edge > strong {
  font: 700 9px monospace;
  letter-spacing: 1px;
  color: #fbbf24;
}
.model-edge > span {
  font-size: 11px;
  color: #fef3c7;
}
.model-edge > small {
  font-size: 9px;
  color: #d1d5db;
}

.fight-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 700 9px system-ui;
  letter-spacing: 0.8px;
  color: #8b92a8;
  margin-bottom: 14px;
}
.fight-countdown {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 8px 10px;
  margin-bottom: 14px;
  background: #111420;
  border: 1px solid #1e2436;
  border-radius: 5px;
}
.countdown-label {
  font: 700 8px system-ui;
  letter-spacing: 0.6px;
  color: #94a3b8;
  align-self: center;
}
.fight-countdown strong {
  color: var(--accent);
  font: 600 13px monospace;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fight-countdown time {
  font-size: 9px;
  color: #e2e8f0;
  grid-column: 1/-1;
}
.fight-countdown small {
  font-size: 8px;
  color: #64748b;
  grid-column: 1/-1;
}

.fighters-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 10px 0 14px;
}
.fighter-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.fighter-cell.blue-cell {
  flex-direction: row-reverse;
  text-align: right;
}
.fighter-cell.red-cell .fighter-details {
  min-width: 0;
}
.fighter-cell.blue-cell .fighter-details {
  min-width: 0;
  text-align: right;
}
.fighter-avatar-wrap {
  flex-shrink: 0;
}
.fighter-avatar-frame {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, rgba(35, 42, 65, 0.95), rgba(10, 12, 20, 0.98));
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fighter-avatar-frame:hover {
  transform: scale(1.08);
}
.fighter-avatar-frame.red-frame {
  border: 2px solid rgba(255, 51, 102, 0.75);
  box-shadow: 0 0 14px rgba(255, 51, 102, 0.35);
}
.fighter-avatar-frame.blue-frame {
  border: 2px solid rgba(0, 240, 255, 0.75);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
}
.fighter-avatar-frame.neutral-frame {
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
.fight-card.is-main-event .fighter-avatar-frame.red-frame {
  border-color: #ff4d6d;
  box-shadow: 0 0 16px rgba(255, 77, 109, 0.45);
}
.fight-card.is-main-event .fighter-avatar-frame.blue-frame {
  border-color: #00d4ff;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.45);
}
.fighter-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.fighter-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 15px/1 monospace;
  letter-spacing: 0.5px;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}
.fighter-name {
  font-size: 19px;
  letter-spacing: -0.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}
.corner {
  font: 700 8px system-ui;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 4px;
}
.corner.blue {
  color: var(--blue);
}
.versus {
  color: #64748b;
  font: 11px monospace;
  text-align: center;
  flex-shrink: 0;
}

/* Performance Snapshot - Fighters' Core Metrics (Exact user specification) */
.stats-comparison-details {
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}
.stats-comparison-details summary {
  cursor: pointer;
  font: 700 11px monospace;
  letter-spacing: 0.8px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: color 0.2s;
  user-select: none;
}
.stats-comparison-details summary:hover {
  color: #ffffff;
}
.performance-snapshot-card {
  background: linear-gradient(180deg, #121422 0%, #0d0f1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 16px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.snapshot-header {
  text-align: center;
  margin-bottom: 12px;
  width: 100%;
}
.snapshot-subtitle {
  display: block;
  font: 800 10px monospace;
  letter-spacing: 2.4px;
  color: #ff668a;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.snapshot-title {
  font-size: 19px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.3px;
}
.radar-chart-container {
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.radar-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
.radar-grid-ring {
  fill: none;
  stroke: rgba(90, 120, 160, 0.22);
  stroke-width: 1.2;
}
.radar-spoke {
  stroke: rgba(90, 120, 160, 0.28);
  stroke-width: 1.2;
}
.radar-poly.red-poly {
  fill: rgba(255, 77, 109, 0.18);
  stroke: #ff4d6d;
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.radar-poly.blue-poly {
  fill: rgba(0, 212, 255, 0.18);
  stroke: #00d4ff;
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.radar-dot.red-dot {
  fill: #ff4d6d;
}
.radar-dot.blue-dot {
  fill: #00d4ff;
}
.radar-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  fill: #c8d6e5;
  user-select: none;
}
.snapshot-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}
.legend-fighter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #e2e8f0;
}
.legend-fighter.legend-red .legend-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 8px rgba(255, 77, 109, 0.7);
}
.legend-fighter.legend-blue .legend-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.7);
}
.metrics-breakdown-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}
@media (max-width: 480px) {
  .metrics-breakdown-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.metric-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.metric-pill .m-name {
  color: #94a3b8;
  font: 600 10px monospace;
  text-transform: uppercase;
}
.metric-pill .m-val.red {
  color: #ff4d6d;
  font-weight: 700;
}
.metric-pill .m-val.blue {
  color: #00d4ff;
  font-weight: 700;
}
.profile-header-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.db-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.db-core-details {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}
.db-core-details summary {
  cursor: pointer;
  font: 700 10px monospace;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 8px;
}

.probabilities {
  display: flex;
  justify-content: space-between;
  font-size: 19px;
  font-weight: 700;
  margin: 14px 0 6px;
  font-variant-numeric: tabular-nums;
}
.probability-bar {
  height: 6px;
  background: var(--blue);
  display: flex;
  overflow: hidden;
  border-radius: 3px;
}
.probability-bar span {
  height: 100%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 102, 128, 0.4);
}
.pick {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #151825;
  border-left: 3px solid var(--accent);
  padding: 9px 12px;
  font-size: 13px;
  margin-top: 14px;
  border-radius: 4px;
}
.pick strong {
  font-weight: 700;
  color: #ffffff;
}
.pick-label {
  font: 700 8px system-ui;
  letter-spacing: 0.8px;
  display: block;
  color: var(--accent);
  margin-bottom: 2px;
}
.pick-conf {
  font-weight: 700;
  color: var(--accent);
  font-family: monospace;
}

/* Method of Victory Strip */
.method-strip {
  margin: 12px 0 10px;
  padding: 10px 12px;
  background: #090c14;
  border: 1px solid #1a1e2e;
  border-radius: 6px;
}
.method-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font: 700 8px monospace;
  letter-spacing: 0.8px;
  color: #8b92a8;
}
.method-tag {
  color: var(--accent);
  font-weight: 750;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}
.method-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.method-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.method-name {
  font: 600 7px monospace;
  letter-spacing: 0.5px;
  color: #79829c;
}
.method-bar-bg {
  height: 4px;
  background: #141828;
  border-radius: 2px;
  overflow: hidden;
}
.method-bar-fill {
  height: 100%;
  border-radius: 2px;
}
.fill-dec {
  background: linear-gradient(90deg, #38bdf8, #00f0ff);
  box-shadow: 0 0 6px rgba(0, 240, 255, 0.35);
}
.fill-ko {
  background: linear-gradient(90deg, #f43f5e, #ff6470);
  box-shadow: 0 0 6px rgba(244, 63, 94, 0.35);
}
.fill-sub {
  background: linear-gradient(90deg, #a855f7, #c084fc);
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.35);
}
.method-item strong {
  font-size: 10px;
  font-family: monospace;
  color: #e2e8f0;
}

/* Tale of the Tape */
.tape-box {
  margin: 10px 0 8px;
  padding: 10px 12px;
  background: #090c14;
  border: 1px solid #1a1e2e;
  border-radius: 6px;
}
.tape-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 700 8px monospace;
  letter-spacing: 0.8px;
  color: #79829c;
  margin-bottom: 6px;
}
.tape-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tape-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 10px;
}
.tape-val {
  font-family: monospace;
  font-weight: 600;
  color: #f1f5f9;
}
.tape-val.right {
  text-align: right;
}
.tape-label {
  font: 600 7px monospace;
  letter-spacing: 0.5px;
  color: #64748b;
  text-align: center;
  padding: 0 6px;
}
.cipher-pill {
  font: 700 7px/1 monospace;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 240, 255, 0.3);
  text-transform: uppercase;
}
.cipher-badge {
  font: 700 8px/1 monospace;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
  margin-right: 4px;
}

/* Ensemble Model Breakdown Drawer */
.ensemble-details {
  margin-top: 8px;
}
.ensemble-details summary {
  font-size: 10px;
  font-weight: 600;
  color: #a5b4fc;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ensemble-details summary:hover {
  color: #c7d2fe;
}
.ensemble-breakdown {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #080a10;
  border: 1px solid #161a28;
  border-radius: 5px;
  padding: 8px;
}
.ensemble-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  border-bottom: 1px solid #121522;
}
.ensemble-row:last-child {
  border-bottom: none;
}
.ensemble-col-name strong {
  font-size: 10px;
  color: #e2e8f0;
  display: block;
}
.ensemble-col-name small {
  font-size: 8px;
  color: #79829c;
  font-family: monospace;
}
.ensemble-col-probs {
  display: flex;
  gap: 8px;
  font: 600 10px monospace;
}
.red-bar-prob {
  color: var(--red);
}
.blue-bar-prob {
  color: var(--blue);
}

/* Sportsbook Odds Panel */
.odds-panel {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.odds-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 700 8px system-ui;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.odds-state {
  color: var(--blue);
  font-size: 8px;
}
.odds-state.is-stale {
  color: #fbbf24;
}
.odds-book {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 11px;
}
.odds-prices {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.odds-prices strong:last-child {
  text-align: right;
}
.odds-fighters {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.odds-meta, .forecast-meta {
  font-size: 9px;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.5;
}
.low-history {
  font-size: 10px;
  color: #fbbf24;
  margin-top: 8px;
}

/* Matchup Lab */
.lab {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 10px;
}
form {
  display: grid;
  grid-template-columns: 1fr 30px 1fr auto;
  align-items: end;
  gap: 14px;
}
label {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}
input {
  display: block;
  margin-top: 6px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #090c14;
  border-radius: 6px;
  color: var(--ink);
}
.primary {
  border: 0;
  padding: 11px 18px;
  background: var(--accent);
  color: #06070a;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.6);
}
.primary:disabled {
  opacity: 0.5;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}
.profile {
  background: #090c14;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
}
.profile h3 {
  margin: 0 0 6px;
  font-size: 15px;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #161a29;
  padding: 7px 0;
  font-size: 11px;
}
.stat-row span {
  color: #8b92a8;
}

/* Prediction Record */
.result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 14px 18px;
  margin: 8px 0;
  border-radius: 8px;
  gap: 12px;
}
.result h3 {
  font-size: 14px;
  margin: 0;
  color: #ffffff;
}
.result p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 0;
}
.badge {
  font: 700 9px monospace;
  padding: 5px 9px;
  background: #141b2a;
  color: #60a5fa;
  border-radius: 4px;
  white-space: nowrap;
}
.badge.miss {
  background: #2a141a;
  color: #ff668a;
}

/* Model Info Grid */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
}
.info-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #ffffff;
}
.info-box p, .info-box li {
  font-size: 11px;
  color: #9aa1b6;
  line-height: 1.7;
}
.info-box ol {
  padding-left: 16px;
}

/* Single-Line Modern Bottom GUI */
.bottom-gui {
  margin: 44px 0 0;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.6), rgba(6, 7, 10, 0.95));
}
.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bottom-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Studio & Glowing Name */
.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 800 10px monospace;
  letter-spacing: 1.4px;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 9px;
  border-radius: 5px;
}
.studio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3366;
  box-shadow: 0 0 8px #ff3366;
  animation: studioPulse 2s infinite ease-in-out;
}
@keyframes studioPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
.gui-sep {
  color: #475569;
  font-weight: 700;
}
.creator-credit {
  font-size: 12px;
  color: #94a3b8;
}

/* Glowing Evan Bartkowski Slowly Changing Colors */
.glowing-name {
  display: inline-block;
  font-weight: 750;
  animation: glowCycle 8s infinite ease-in-out;
  letter-spacing: 0.3px;
}
@keyframes glowCycle {
  0%, 100% {
    color: #00f0ff;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.8), 0 0 20px rgba(0, 240, 255, 0.4);
  }
  25% {
    color: #a78bfa;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.8), 0 0 20px rgba(167, 139, 250, 0.4);
  }
  50% {
    color: #ff3366;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.8), 0 0 20px rgba(255, 51, 102, 0.4);
  }
  75% {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.8), 0 0 20px rgba(251, 191, 36, 0.4);
  }
}

/* Other Creations Pills */
.projects-kicker {
  font: 700 9px monospace;
  letter-spacing: 1.2px;
  color: #79829c;
}
.gui-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pill-star {
  color: #fbbf24;
  font-size: 10px;
}
.pill-heart {
  color: #ff3366;
  font-size: 10px;
}
.arrow-glyph {
  font-size: 11px;
  opacity: 0.7;
}
.gui-pill:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

/* Social Link Buttons */
.gui-social {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font: 600 11px system-ui;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  transition: all 0.2s ease;
}
.gui-social svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.gui-social:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.gui-social.email:hover { border-color: #ff668a; color: #ff668a; }
.gui-social.linkedin:hover { border-color: #60a5fa; color: #60a5fa; }
.gui-social.github:hover { border-color: #c4b5fd; color: #c4b5fd; }

.bottom-disclaimer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  font-size: 10px;
  color: #64748b;
}
.footer-brand {
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

/* Responsive & Mobile High Density Layout */
@media (max-width: 1080px) {
  .bottom-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  main {
    padding: 0 12px;
  }
  .topbar-inner {
    padding: 0 12px;
    height: 60px;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .brand-wordmark {
    font-size: 14px;
  }
  .brand-wordmark > span {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .next-event-link {
    padding: 4px 8px;
    gap: 6px;
  }
  .next-event-icon {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
  .next-event-link strong {
    font-size: 10px;
  }
  .next-event-label {
    font-size: 7px;
  }

  /* Compact Mobile Hero Section */
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 14px 0 10px;
    gap: 12px;
  }
  .octagon-scene {
    inset: -20px -80px 0 -80px;
    opacity: 0.28;
  }
  .octagon-plane {
    width: 260px;
    height: 260px;
    left: 20%;
  }
  h1 {
    font-size: 27px;
    letter-spacing: -1.2px;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 4px;
  }
  .hero p {
    font-size: 11px;
    margin: 4px 0 0;
    line-height: 1.45;
  }
  .model-intro {
    max-width: none;
    padding: 12px 14px;
    border-radius: 8px;
  }
  .model-intro .active-model {
    font-size: 15px;
    margin: 2px 0;
  }
  .model-inputs.compact-inputs {
    gap: 2px 8px;
    margin-top: 6px;
  }
  .model-inputs.compact-inputs > span {
    font-size: 9px;
  }

  /* Compact Mobile Metrics */
  .metrics {
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
    padding: 10px 0 12px;
  }
  .metrics > div {
    padding: 0 10px;
  }
  .metrics strong {
    font-size: 21px;
    margin: 2px 0 0;
  }
  .metrics .date-metric {
    font-size: 15px;
    margin-top: 4px;
  }
  .metric-label {
    font-size: 8px;
  }
  .metrics small {
    font-size: 9px;
    margin-top: 1px;
  }

  /* Compact Tabs & Filters */
  .tabs {
    gap: 14px;
  }
  .tab {
    padding: 10px 0;
    font-size: 11px;
  }
  .section-heading {
    margin: 14px 0 10px;
    flex-wrap: wrap;
    gap: 8px;
  }
  #event-filter {
    max-width: 100%;
    width: 100%;
    padding: 6px 10px;
    font-size: 10px;
  }
  h2 {
    font-size: 17px;
  }

  /* High Density Fight Cards (Minimal Mobile Scroll!) */
  .fight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .fight-card {
    padding: 12px 14px;
    border-radius: 8px;
  }
  .fight-top {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .fight-countdown {
    padding: 6px 8px;
    margin-bottom: 10px;
  }
  .fight-countdown strong {
    font-size: 12px;
  }
  .fighter-name {
    font-size: 16px;
    line-height: 1.2;
  }
  .probabilities {
    font-size: 16px;
    margin: 10px 0 4px;
  }
  .probability-bar {
    height: 5px;
  }
  .pick {
    padding: 7px 10px;
    font-size: 11px;
    margin-top: 10px;
  }
  .method-strip {
    margin: 8px 0 6px;
    padding: 7px 9px;
  }
  .tape-box {
    margin: 8px 0 6px;
    padding: 7px 9px;
  }
  .tape-row {
    font-size: 9px;
  }
  .odds-panel {
    margin-top: 8px;
    padding-top: 8px;
  }
  .odds-prices {
    font-size: 17px;
    margin-top: 4px;
  }

  /* Compact Matchup Lab */
  .lab {
    padding: 14px;
  }
  form {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  form .versus {
    padding: 0;
  }
  input {
    font-size: 14px;
    padding: 8px 10px;
  }
  .comparison, .model-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Mobile Bottom GUI */
  .bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .bottom-item {
    justify-content: center;
    flex-wrap: wrap;
  }
  .bottom-disclaimer {
    text-align: center;
    justify-content: center;
    font-size: 9px;
  }
}

﻿
/* ==========================================================================
   MMA CIPHER FUTURISTIC AI ANALYTICS, SCORECARD & VISUALIZATION STYLES
   ========================================================================== */

/* User Scorecard (Beat the AI) */
.user-scorecard {
  background: linear-gradient(135deg, rgba(13, 16, 26, 0.95), rgba(20, 10, 24, 0.9));
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.scorecard-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--accent);
}
.scorecard-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite ease-in-out;
}
.scorecard-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.scorecard-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sc-label {
  font-size: 9.5px;
  letter-spacing: 0.8px;
  color: var(--muted);
  font-weight: 700;
}
.scorecard-metrics strong {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.streak-glow {
  color: #ffb800 !important;
  text-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}

/* Upcoming Controls & Filter Pills */
.upcoming-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-pills {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.filter-pill {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-pill:hover {
  color: #fff;
}
.filter-pill.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.pill-upset.active {
  background: rgba(255, 51, 102, 0.25);
  color: #ff6680;
  border: 1px solid rgba(255, 51, 102, 0.4);
}
.pill-fav.active {
  background: rgba(255, 184, 0, 0.2);
  color: #ffb800;
  border: 1px solid rgba(255, 184, 0, 0.4);
}
.pill-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 5px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
}

/* Fighter Card Interactions & Upset Badge */
.fight-card.is-upset-card {
  border-color: rgba(255, 51, 102, 0.45);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.12);
}
.upset-radar-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(255, 51, 102, 0.2), rgba(255, 51, 102, 0.05));
  border: 1px solid rgba(255, 51, 102, 0.4);
  border-radius: 6px;
  padding: 6px 10px;
  margin: 8px 0;
  font-size: 11px;
  color: #ff6680;
}
.upset-radar-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.radar-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3366;
  box-shadow: 0 0 8px #ff3366;
  animation: pulse 1.5s infinite;
}
.upset-radar-banner small {
  color: var(--muted);
  font-size: 10px;
}

/* Favorite Fighter Star */
.fav-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.25);
  font-size: 15px;
  padding: 0 4px;
  line-height: 1;
  transition: all 0.2s ease;
  vertical-align: middle;
}
.fav-btn:hover {
  color: #ffb800;
  transform: scale(1.15);
}
.fav-btn.is-fav {
  color: #ffb800;
  text-shadow: 0 0 8px rgba(255, 184, 0, 0.6);
}

/* User Pick Buttons on Fight Card */
.user-pick-container {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 9px 12px;
  margin: 10px 0 6px;
}
.user-pick-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 7px;
}
.user-pick-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pick-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.pick-btn:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
.pick-btn.selected-red {
  background: rgba(255, 51, 102, 0.2);
  border-color: #ff3366;
  color: #ff6680;
  box-shadow: 0 0 12px rgba(255, 51, 102, 0.3);
}
.pick-btn.selected-blue {
  background: rgba(0, 240, 255, 0.2);
  border-color: #00f0ff;
  color: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}
.pick-status-icon {
  font-size: 13px;
}

/* Community vs AI Consensus Bar */
.community-vs-ai {
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}
.cvsa-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  font-weight: 600;
}
.cvsa-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.cvsa-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff3366, #00f0ff);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* "Why the AI Chose This Fighter" (Explanation Engine) */
.prediction-explanation {
  background: rgba(10, 14, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  margin: 10px 0 6px;
  overflow: hidden;
}
.prediction-explanation summary {
  padding: 9px 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  user-select: none;
}
.prediction-explanation summary:hover {
  background: rgba(255, 255, 255, 0.05);
}
.explanation-body {
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
}
.explanation-summary-text {
  color: #cbd5e1;
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 500;
}
.factors-group {
  margin-bottom: 8px;
}
.factors-heading {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 5px;
  text-transform: uppercase;
}
.factors-heading.risk {
  color: #ff6680;
}
.factor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  margin-bottom: 4px;
  font-size: 10.5px;
}
.factor-item .badge-impact {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 800;
}
.badge-impact.high {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent);
}
.badge-impact.risk {
  background: rgba(255, 51, 102, 0.15);
  color: #ff6680;
}

/* Consensus HUD */
.consensus-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 6px 10px;
  margin-top: 8px;
  font-size: 10.5px;
}
.consensus-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #e2e8f0;
}
.uncertainty-pill {
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 800;
}
.uncertainty-pill.low {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.uncertainty-pill.moderate {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.uncertainty-pill.elevated {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Share Prediction Card Trigger */
.card-footer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.share-card-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}
.share-card-btn:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(0, 240, 255, 0.08);
}

/* Fighter Database Styles */
.fighter-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#fighter-search {
  min-width: 280px;
  background: rgba(13, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  transition: border-color 0.2s ease;
}
#fighter-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}
#fighter-division {
  background: rgba(13, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
}
.fighter-results-summary {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.fighter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.fighter-db-card {
  background: rgba(13, 16, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fighter-db-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.db-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.db-card-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.db-card-record {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 3px;
}
.db-physical-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px;
  border-radius: 6px;
  font-size: 10px;
  text-align: center;
}
.db-physical-item span {
  display: block;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  margin-bottom: 2px;
}
.db-physical-item strong {
  font-size: 11px;
  color: #fff;
}
.db-stat-gauges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.db-gauge-row {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.db-gauge-label {
  color: var(--muted);
  font-weight: 600;
}
.db-gauge-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.db-gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #8b5cf6);
  border-radius: 2px;
}
.db-gauge-val {
  color: #fff;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.db-bouts-container {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}
.db-bouts-heading {
  font-size: 9.5px;
  letter-spacing: 0.8px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.db-bout-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}
.db-bout-result {
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 9px;
}
.db-bout-result.w {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.db-bout-result.l {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.db-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.db-matchup-btn {
  flex: 1;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
}
.db-matchup-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

/* AI Analytics Panel Styles */
.analytics-time-pills {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pill-scope {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill-scope.active {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0, 240, 255, 0.4);
}
.analytics-card {
  background: rgba(13, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.analytics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.analytics-card.half {
  margin-bottom: 0;
}
.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.chart-header h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.chart-header p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.chart-legend {
  display: flex;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.cyan {
  background: #00f0ff;
  box-shadow: 0 0 6px #00f0ff;
}
.legend-dot.rose {
  background: #ff3366;
  box-shadow: 0 0 6px #ff3366;
}
.chart-container {
  width: 100%;
  height: 280px;
  position: relative;
}
.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(8, 11, 18, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: #fff;
  z-index: 20;
  transform: translate(-50%, -110%);
  display: none;
}
.models-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.leaderboard-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.leaderboard-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.leaderboard-rank {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.leaderboard-stats {
  display: flex;
  gap: 16px;
  font-size: 11px;
}
.leaderboard-stat-col span {
  display: block;
  font-size: 8.5px;
  color: var(--muted);
  font-weight: 700;
}
.leaderboard-stat-col strong {
  color: #fff;
}

/* Calibration Chart */
.calibration-container {
  height: 220px;
  position: relative;
}

/* Confidence Distribution */
.confidence-distribution {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}
.dist-tier-row {
  display: grid;
  grid-template-columns: 80px 1fr 50px;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}
.dist-tier-label {
  color: var(--muted);
  font-weight: 600;
}
.dist-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.dist-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #00f0ff);
  border-radius: 4px;
}
.dist-percent {
  color: #fff;
  font-weight: 800;
  text-align: right;
}

/* Division Accuracy */
.division-accuracy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.div-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.div-stat-top {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
}
.div-stat-name {
  color: #e2e8f0;
  font-weight: 600;
}
.div-stat-val {
  color: var(--accent);
  font-weight: 800;
}
.div-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.div-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff3366, #00f0ff);
  border-radius: 2px;
}

/* Feature Importance Grid */
.feature-importance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.feat-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feat-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #e2e8f0;
  font-weight: 600;
}
.feat-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.feat-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* Radar Comparison in Matchup Lab */
.radar-comparison-card {
  background: rgba(13, 16, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;
}
.radar-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.radar-svg-container {
  width: 100%;
  max-width: 380px;
  height: 280px;
  margin: 0 auto;
}
.division-mismatch-banner {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Share Prediction Card Modal */
.share-modal {
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(10, 12, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 0;
  color: #fff;
  max-width: 680px;
  width: 90vw;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.2);
}
.share-modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.modal-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.modal-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover {
  color: #fff;
}
.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
#share-canvas {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}
.modal-actions button {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.share-status {
  font-size: 11px;
  color: var(--accent);
  min-height: 16px;
  text-align: center;
}

/* Tab Badge */
.tab-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10px;
  margin-left: 4px;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .analytics-row {
    grid-template-columns: 1fr;
  }
  .division-accuracy {
    grid-template-columns: 1fr;
  }
  .fighter-controls {
    flex-direction: column;
    width: 100%;
  }
  #fighter-search, #fighter-division {
    width: 100%;
    min-width: unset;
  }
}
@media (max-width: 600px) {
  .user-scorecard {
    padding: 10px 12px;
  }
  .scorecard-metrics {
    gap: 12px;
  }
  .scorecard-metrics strong {
    font-size: 13px;
  }
  .upcoming-controls {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .filter-pills {
    justify-content: space-between;
  }
  .chart-container {
    height: 220px;
  }
  .fighter-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .fighter-cell.blue-cell {
    flex-direction: column;
    align-items: flex-end;
  }
  .fighter-avatar-frame {
    width: 44px;
    height: 44px;
  }
  .performance-snapshot-card {
    padding: 16px 10px 14px;
  }
}

@media (min-width: 1800px) {
  .fight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .scorecard-dot, .radar-pulse-dot, .brand-logo, .fighter-db-card {
    animation: none !important;
    transition: none !important;
  }
}
