body[data-page='battle-predictor'] main {
  width: min(1480px, calc(100% - 32px));
  margin-inline: auto;
}

.bp-shell {
  --bp-a: #3f9cff;
  --bp-a-soft: color-mix(in srgb, var(--bp-a) 16%, transparent);
  --bp-b: #ff5f69;
  --bp-b-soft: color-mix(in srgb, var(--bp-b) 16%, transparent);
  display: grid;
  gap: 18px;
  padding-bottom: 30px;
}

.bp-hero,
.bp-selector-panel,
.bp-refresh,
.bp-comparison,
.bp-chart-section,
.bp-weights,
.bp-method,
.bp-faq {
  border: 1px solid var(--panel-border-strong);
}

.bp-hero {
  position: relative;
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 62px);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--panel) 96%, transparent) 0 54%, color-mix(in srgb, var(--panel) 52%, transparent)),
    radial-gradient(circle at 83% 50%, color-mix(in srgb, var(--bp-a) 20%, transparent), transparent 30%),
    radial-gradient(circle at 94% 18%, color-mix(in srgb, var(--bp-b) 17%, transparent), transparent 28%),
    var(--panel);
}

.bp-hero::before,
.bp-hero::after {
  position: absolute;
  content: '';
  pointer-events: none;
}

.bp-hero::before {
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 8%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 40%, #000);
  animation: bp-grid-drift 24s linear infinite alternate;
}

.bp-hero::after {
  width: 400px;
  height: 400px;
  right: -120px;
  border: 1px solid color-mix(in srgb, var(--bp-a) 25%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 55px color-mix(in srgb, var(--bp-b) 4%, transparent), 0 0 0 110px color-mix(in srgb, var(--bp-a) 4%, transparent);
}

.bp-hero-copy { position: relative; z-index: 1; max-width: 760px; }
.bp-hero-copy h1 { margin: 8px 0 14px; font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: .9; }
.bp-hero-copy h1 span { color: var(--primary); }
.bp-hero-copy h1 span b { display: inline; font: inherit; }
.bp-hero-copy > p:not(.eyebrow) { max-width: 68ch; margin: 0; color: var(--muted-strong); font-size: clamp(.95rem, 1.4vw, 1.1rem); }
.bp-hero-copy > * { animation: bp-rise-in 620ms cubic-bezier(.16, .84, .28, 1) both; }
.bp-hero-copy > h1 { animation-delay: 70ms; }
.bp-hero-copy > p:not(.eyebrow) { animation-delay: 135ms; }
.bp-hero-copy > .bp-hero-facts { animation-delay: 205ms; }

.bp-hero-facts { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 24px; }
.bp-hero-facts span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-strong); font-size: .76rem; font-weight: 800; }
.bp-hero-facts i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 13px color-mix(in srgb, var(--primary) 80%, transparent); }

.bp-hero-mark {
  position: relative;
  z-index: 1;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--panel) 68%, transparent);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28), inset 0 0 45px color-mix(in srgb, var(--bp-a) 9%, transparent);
  animation: bp-fade-in 720ms 180ms ease both;
}
.bp-hero-mark::before { position: absolute; inset: 20px; content: ''; border: 1px dashed color-mix(in srgb, var(--bp-b) 35%, transparent); border-radius: inherit; transform-origin: center; will-change: transform; animation: bp-ring-turn 28s linear infinite; }
.bp-hero-mark span { position: relative; z-index: 1; font-family: "Arial Black", sans-serif; font-size: 3.3rem; font-style: italic; letter-spacing: -.12em; text-shadow: -6px 0 var(--bp-a), 6px 0 var(--bp-b); }

.bp-public-tabs { position: relative; z-index: 6; width: fit-content; max-width: 100%; justify-self: end; margin: 0; }

.bp-selector-panel { position: relative; z-index: 5; padding: clamp(22px, 3vw, 34px); }
.bp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.bp-section-heading h2 { margin: 4px 0 0; }
.bp-section-heading > p { max-width: 54ch; margin: 0; color: var(--muted); text-align: right; }

.bp-selectors { display: grid; grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr); align-items: end; gap: 16px; }
.bp-alliance-field { min-width: 0; }
.bp-alliance-field > label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.bp-alliance-field > label span { font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.bp-alliance-field > label small { color: var(--bp-a); font-size: .68rem; font-weight: 850; }
.bp-alliance-field.is-team-b > label small { color: var(--bp-b); }

.bp-combobox { position: relative; }
.bp-combobox input {
  width: 100%;
  height: 58px;
  padding: 0 50px 0 17px;
  border: 1px solid color-mix(in srgb, var(--bp-a) 45%, var(--panel-border));
  border-radius: 13px;
  background: color-mix(in srgb, var(--panel-soft) 76%, transparent);
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  outline: none;
}
.is-team-b .bp-combobox input { border-color: color-mix(in srgb, var(--bp-b) 45%, var(--panel-border)); }
.bp-combobox input:focus { border-color: var(--bp-a); box-shadow: 0 0 0 3px var(--bp-a-soft); }
.is-team-b .bp-combobox input:focus { border-color: var(--bp-b); box-shadow: 0 0 0 3px var(--bp-b-soft); }
.bp-combobox input.is-selected { background: linear-gradient(90deg, var(--bp-a-soft), color-mix(in srgb, var(--panel) 86%, transparent)); }
.is-team-b .bp-combobox input.is-selected { background: linear-gradient(90deg, var(--bp-b-soft), color-mix(in srgb, var(--panel) 86%, transparent)); }
.bp-combobox input.is-confirmed { animation: bp-selection-confirm 520ms cubic-bezier(.2, .8, .2, 1); }

.bp-clear { position: absolute; z-index: 2; top: 50%; right: 12px; width: 32px; height: 32px; padding: 0; translate: 0 -50%; border: 0; border-radius: 50%; background: var(--panel-strong); color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.bp-clear:hover { color: var(--text); }

.bp-search-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 7px);
  left: 0;
  width: 100%;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--panel-border-strong);
  border-radius: 13px;
  background: var(--bg-elev);
  box-shadow: var(--shadow-lg);
  transform-origin: top center;
  animation: bp-dropdown-in 180ms cubic-bezier(.2, .8, .2, 1) both;
}
.bp-search-option { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 0; border-radius: 9px; background: transparent; color: var(--text); text-align: left; cursor: pointer; animation: bp-option-in 220ms calc(var(--bp-option-index, 0) * 24ms) ease both; }
.bp-search-option:hover,
.bp-search-option:focus-visible { background: var(--primary-soft); outline: none; }
.bp-search-option.is-unavailable { opacity: .74; }
.bp-search-option.is-unavailable:hover,
.bp-search-option.is-unavailable:focus-visible { background: color-mix(in srgb, var(--warning) 9%, var(--panel-soft)); }
.bp-search-option.is-unavailable .bp-search-option-mark { color: var(--warning); }
.bp-search-option.is-unavailable .bp-search-option-copy small { color: color-mix(in srgb, var(--warning) 72%, var(--muted)); }
.bp-search-option-mark { width: 43px; height: 43px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--panel-border); border-radius: 10px; background: var(--panel-soft); color: var(--primary); font-size: .69rem; font-weight: 950; }
.bp-search-option-copy { min-width: 0; display: grid; }
.bp-search-option-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-search-option-copy small,
.bp-search-option > small { color: var(--muted); }
.bp-search-option > small { white-space: nowrap; }
.bp-search-state { padding: 17px; color: var(--muted); text-align: center; }
.bp-selected-meta { min-height: 20px; margin: 7px 2px 0; color: var(--muted); font-size: .72rem; }

.bp-versus { height: 58px; display: grid; place-items: center; }
.bp-versus span { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--panel-border-strong); border-radius: 50%; background: var(--panel); color: var(--muted-strong); font-family: "Arial Black", sans-serif; font-style: italic; }
.bp-shell.has-one-team .bp-versus span { animation: bp-vs-await 1.6s ease-in-out infinite; }
.bp-shell.has-matchup .bp-versus span { border-color: color-mix(in srgb, var(--primary) 55%, var(--panel-border)); color: var(--text); animation: bp-matchup-ready 620ms cubic-bezier(.16, .84, .28, 1); }

.bp-empty,
.bp-loading,
.bp-error { min-height: 130px; align-items: center; justify-content: center; gap: 18px; padding: 28px; text-align: left; }
.bp-empty { display: flex; }
.bp-empty > span { width: 60px; height: 60px; display: grid; flex: 0 0 60px; place-items: center; border: 1px solid var(--panel-border); border-radius: 16px; background: var(--panel-soft); color: var(--primary); font-size: 1.7rem; }
.bp-empty > span { animation: bp-empty-float 3.8s ease-in-out infinite; }
.bp-empty h2,
.bp-empty p { margin: 0; }
.bp-empty p { margin-top: 5px; color: var(--muted); }
.bp-loading { display: flex; color: var(--muted-strong); font-weight: 800; }
.bp-loading > span { width: 24px; height: 24px; border: 3px solid var(--panel-border); border-top-color: var(--primary); border-radius: 50%; animation: bp-spin .8s linear infinite; }
@keyframes bp-spin { to { rotate: 360deg; } }
.bp-error { display: flex; color: var(--danger); font-weight: 800; }

.bp-results { display: grid; gap: 18px; }
.bp-results.is-entering > * { animation: bp-rise-in 560ms cubic-bezier(.16, .84, .28, 1) both; }
.bp-results.is-entering > :nth-child(2) { animation-delay: 60ms; }
.bp-results.is-entering > :nth-child(3) { animation-delay: 120ms; }
.bp-results.is-entering > :nth-child(4) { animation-delay: 180ms; }
.bp-results.is-entering > :nth-child(5) { animation-delay: 240ms; }
.bp-results.is-entering > :nth-child(6) { animation-delay: 300ms; }
.bp-refresh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 24px; border-color: color-mix(in srgb, var(--warning) 42%, var(--panel-border)); background: linear-gradient(100deg, color-mix(in srgb, var(--warning) 10%, var(--panel)), var(--panel)); }
.bp-refresh h2 { margin: 3px 0 5px; font-size: clamp(1.1rem, 2vw, 1.45rem); }
.bp-refresh p:not(.eyebrow) { margin: 0; color: var(--muted-strong); }
.bp-refresh small { display: block; min-height: 18px; margin-top: 7px; color: var(--muted); }
.bp-refresh small.is-negative { color: var(--danger); }
.bp-refresh small.is-positive { color: var(--success); }
.bp-refresh .btn { min-width: 220px; }
.bp-data-warning { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--warning) 40%, var(--panel-border)); border-radius: 13px; background: color-mix(in srgb, var(--warning) 10%, var(--panel)); color: var(--muted-strong); }
.bp-data-warning::before { width: 27px; height: 27px; display: grid; flex: 0 0 27px; place-items: center; content: '!'; border-radius: 50%; background: var(--warning); color: #17130b; font-weight: 950; }

.bp-verdict { position: relative; min-height: 190px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; overflow: hidden; padding: clamp(26px, 4vw, 48px); }
.bp-verdict::before { position: absolute; inset: 0; content: ''; opacity: .55; background: linear-gradient(90deg, var(--bp-a-soft), transparent 46% 54%, var(--bp-b-soft)); pointer-events: none; }
.bp-verdict::after { position: absolute; inset: 0; content: ''; pointer-events: none; translate: -125% 0; background: linear-gradient(105deg, transparent 38%, color-mix(in srgb, var(--text) 9%, transparent) 50%, transparent 62%); }
.bp-results.is-entering .bp-verdict::after { animation: bp-verdict-sweep 820ms 180ms ease-out both; }
.bp-verdict-team { position: relative; z-index: 1; min-width: 0; }
.bp-verdict-team.is-b { text-align: right; }
.bp-verdict-team small { display: block; color: var(--muted); font-weight: 800; text-transform: uppercase; }
.bp-verdict-team strong { display: block; overflow: hidden; margin-top: 3px; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(1.2rem, 2.5vw, 2.25rem); }
.bp-verdict-team span { color: var(--muted); }
.bp-verdict-core { position: relative; z-index: 1; min-width: min(420px, 40vw); text-align: center; }
.bp-verdict-core .bp-confidence { display: inline-flex; align-items: baseline; gap: 4px; color: var(--primary); }
.bp-confidence strong { font-size: clamp(2.8rem, 6vw, 5rem); line-height: .85; }
.bp-confidence strong { font-variant-numeric: tabular-nums; }
.bp-confidence { animation: bp-confidence-pop 360ms cubic-bezier(.2, .8, .2, 1); }
.bp-confidence span { font-size: 1.2rem; font-weight: 900; }
.bp-verdict-core h2 { margin: 9px 0 6px; font-size: clamp(1.25rem, 2.5vw, 2rem); }
.bp-verdict-core p { margin: 0; color: var(--muted); }

.bp-comparison,
.bp-chart-section { padding: clamp(20px, 3vw, 34px); }
.bp-comparison > header,
.bp-chart-section > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.bp-comparison h2,
.bp-chart-section h2 { margin: 3px 0 0; }
.bp-effective-weight { padding: 7px 10px; border: 1px solid var(--panel-border); border-radius: 999px; color: var(--muted); font-size: .7rem; font-weight: 850; }

.bp-category-table { display: grid; }
.bp-category-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 250px) minmax(0, 1fr); align-items: center; gap: 20px; min-height: 82px; padding: 12px 0; border-top: 1px solid var(--panel-border); opacity: 0; translate: 0 8px; }
.bp-category-table.is-animated .bp-category-row { opacity: 1; translate: 0 0; transition: opacity 340ms ease, translate 420ms cubic-bezier(.16, .84, .28, 1); transition-delay: calc(var(--bp-row-index, 0) * 38ms); }
.bp-category-side { min-width: 0; }
.bp-category-side.is-a { text-align: right; }
.bp-category-value { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.bp-category-side.is-a .bp-category-value { flex-direction: row-reverse; }
.bp-category-value strong { font-size: 1rem; }
.bp-category-value small { color: var(--muted); font-size: .64rem; white-space: nowrap; }
.bp-bar { height: 12px; overflow: hidden; border-radius: 999px; background: var(--panel-strong); }
.bp-category-side.is-a .bp-bar { transform: scaleX(-1); }
.bp-bar > span { position: relative; display: block; width: 0; height: 100%; overflow: hidden; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--bp-a) 68%, #fff), var(--bp-a)); transition: width 720ms cubic-bezier(.16, .84, .28, 1); transition-delay: calc(100ms + var(--bp-row-index, 0) * 42ms); }
.bp-category-table.is-animated .bp-bar > span { width: var(--bp-target-width, 0%); }
.bp-bar > span::after { position: absolute; inset: 0; content: ''; translate: -110% 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); }
.bp-category-table.is-animated .bp-bar > span::after { animation: bp-bar-sweep 650ms calc(360ms + var(--bp-row-index, 0) * 42ms) ease-out both; }
.bp-category-side.is-b .bp-bar > span { background: linear-gradient(90deg, var(--bp-b), color-mix(in srgb, var(--bp-b) 68%, #fff)); }
.bp-category-label { text-align: center; }
.bp-category-label strong { display: block; }
.bp-category-label span { color: var(--primary); font-size: .72rem; font-weight: 900; }
.bp-category-label small { display: block; margin-top: 3px; color: var(--muted); font-size: .63rem; line-height: 1.25; }
.bp-category-row.is-unavailable { opacity: .56; }

.bp-radar { min-height: 480px; display: grid; place-items: center; overflow-x: auto; }
.bp-radar svg { width: min(100%, 860px); min-width: 650px; height: auto; overflow: visible; }
.bp-radar-grid { fill: none; stroke: var(--panel-border-strong); stroke-width: 1; }
.bp-radar-axis { stroke: var(--panel-border); stroke-width: 1; }
.bp-radar-grid,
.bp-radar-axis,
.bp-radar-label { opacity: 0; }
.bp-radar.is-animated .bp-radar-grid,
.bp-radar.is-animated .bp-radar-axis,
.bp-radar.is-animated .bp-radar-label { animation: bp-fade-in 420ms ease both; }
.bp-radar-shape-a { fill: color-mix(in srgb, var(--bp-a) 18%, transparent); stroke: var(--bp-a); stroke-width: 2; }
.bp-radar-shape-b { fill: color-mix(in srgb, var(--bp-b) 14%, transparent); stroke: var(--bp-b); stroke-width: 2; }
.bp-radar-shape-a,
.bp-radar-shape-b { opacity: 0; transform: scale(.08); transform-box: view-box; transform-origin: 400px 205px; }
.bp-radar.is-animated .bp-radar-shape-a { animation: bp-radar-grow 720ms 100ms cubic-bezier(.16, .84, .28, 1) forwards; }
.bp-radar.is-animated .bp-radar-shape-b { animation: bp-radar-grow 720ms 190ms cubic-bezier(.16, .84, .28, 1) forwards; }
.bp-radar-dot-a { fill: var(--bp-a); }
.bp-radar-dot-b { fill: var(--bp-b); }
.bp-radar-dot-a,
.bp-radar-dot-b { opacity: 0; transform-box: fill-box; transform-origin: center; }
.bp-radar.is-animated .bp-radar-dot-a { animation: bp-dot-in 280ms 650ms ease forwards; }
.bp-radar.is-animated .bp-radar-dot-b { animation: bp-dot-in 280ms 740ms ease forwards; }
.bp-radar-label { fill: var(--muted-strong); font-size: 11px; font-weight: 750; }
.bp-radar-legend { display: flex; justify-content: center; gap: 22px; margin-top: -30px; }
.bp-radar.is-animated .bp-radar-legend { animation: bp-rise-in 360ms 420ms ease both; }
.bp-radar-legend span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-strong); font-weight: 800; }
.bp-radar-legend i { width: 13px; height: 13px; border-radius: 4px; background: var(--bp-a); }
.bp-radar-legend span:last-child i { background: var(--bp-b); }

.bp-weights { overflow: hidden; padding: 0; }
.bp-weights > summary { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; cursor: pointer; list-style: none; }
.bp-weights > summary::-webkit-details-marker { display: none; }
.bp-weights > summary span { display: grid; font-size: 1rem; font-weight: 900; }
.bp-weights > summary small { color: var(--muted); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.bp-weights > summary strong { color: var(--primary); font-size: .76rem; }
.bp-weight-controls { display: grid; gap: 14px; padding: 22px 24px; border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); background: color-mix(in srgb, var(--panel-soft) 58%, transparent); }
.bp-weight-row { display: grid; grid-template-columns: 190px minmax(180px, 1fr) 48px; align-items: center; gap: 18px; }
.bp-weight-row label { font-size: .78rem; font-weight: 800; }
.bp-weight-row output { color: var(--muted-strong); font-variant-numeric: tabular-nums; text-align: right; }
.bp-weight-row.is-adjusting output { animation: bp-output-pop 240ms ease; }
.bp-weight-row input[type='range'] { width: 100%; accent-color: var(--primary); }
.bp-weight-row.is-unavailable { opacity: .48; }
.bp-weights > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 24px; }
.bp-weights[open] .bp-weight-controls,
.bp-weights[open] > footer { animation: bp-details-in 280ms ease both; }
.bp-weights > footer p { margin: 0; color: var(--muted); font-size: .72rem; }

.bp-method { padding: clamp(24px, 4vw, 44px); }
.bp-method-intro { max-width: 820px; }
.bp-method-intro h2 { margin: 5px 0 12px; }
.bp-method-intro p:last-child { color: var(--muted-strong); }
.bp-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.bp-method-grid article { position: relative; min-height: 190px; overflow: hidden; padding: 24px; border: 1px solid var(--panel-border); border-radius: 15px; background: var(--panel-soft); }
.bp-method-grid article > span { position: absolute; top: 12px; right: 16px; color: color-mix(in srgb, var(--primary) 32%, transparent); font-family: "Arial Black", sans-serif; font-size: 3.2rem; }
.bp-method-grid h3 { position: relative; margin: 47px 0 9px; }
.bp-method-grid p { position: relative; margin: 0; color: var(--muted); }
.bp-disclaimer { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--warning); background: color-mix(in srgb, var(--warning) 7%, transparent); color: var(--muted-strong); }

.bp-faq { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: 36px; padding: clamp(24px, 4vw, 44px); }
.bp-faq h2 { margin-top: 5px; }
.bp-faq-list { display: grid; }
.bp-faq-list details { border-top: 1px solid var(--panel-border); }
.bp-faq-list details:last-child { border-bottom: 1px solid var(--panel-border); }
.bp-faq-list summary { padding: 17px 4px; font-weight: 850; cursor: pointer; }
.bp-faq-list p { margin: -3px 4px 18px; color: var(--muted); }
.bp-faq-list details[open] p { animation: bp-details-in 260ms ease both; }

@keyframes bp-rise-in {
  from { opacity: 0; translate: 0 18px; filter: blur(3px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}
@keyframes bp-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bp-grid-drift { to { background-position: 21px 42px, 42px 21px; } }
@keyframes bp-ring-turn { to { transform: rotate(360deg); } }
@keyframes bp-selection-confirm { 0% { scale: 1; } 35% { scale: 1.012; box-shadow: 0 0 0 5px var(--primary-soft); } 100% { scale: 1; } }
@keyframes bp-dropdown-in { from { opacity: 0; transform: translateY(-7px) scaleY(.97); } to { opacity: 1; transform: translateY(0) scaleY(1); } }
@keyframes bp-option-in { from { opacity: 0; translate: 0 -5px; } to { opacity: 1; translate: 0 0; } }
@keyframes bp-vs-await { 50% { border-color: color-mix(in srgb, var(--primary) 50%, var(--panel-border)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 6%, transparent); } }
@keyframes bp-matchup-ready { 0% { transform: scale(.76) rotate(-8deg); } 55% { transform: scale(1.1) rotate(3deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes bp-empty-float { 50% { transform: translateY(-4px); box-shadow: 0 9px 28px color-mix(in srgb, var(--primary) 12%, transparent); } }
@keyframes bp-verdict-sweep { to { translate: 125% 0; } }
@keyframes bp-confidence-pop { 0% { transform: scale(.9); opacity: .5; } 100% { transform: scale(1); opacity: 1; } }
@keyframes bp-bar-sweep { to { translate: 110% 0; } }
@keyframes bp-radar-grow { to { opacity: 1; transform: scale(1); } }
@keyframes bp-dot-in { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes bp-output-pop { 50% { color: var(--primary); transform: scale(1.12); } }
@keyframes bp-details-in { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1000px) {
  .bp-hero { grid-template-columns: 1fr 150px; }
  .bp-hero-mark { width: 140px; height: 140px; }
  .bp-hero-mark span { font-size: 2.6rem; }
  .bp-verdict { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .bp-verdict-team,
  .bp-verdict-team.is-b { text-align: center; }
  .bp-verdict-core { grid-row: 1; min-width: 0; }
  .bp-method-grid { grid-template-columns: 1fr; }
  .bp-method-grid article { min-height: 150px; }
  .bp-method-grid h3 { margin-top: 24px; }
}

@media (max-width: 760px) {
  body[data-page='battle-predictor'] main { width: min(100% - 20px, 1480px); }
  .bp-public-tabs { display: flex; width: 100%; justify-self: stretch; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
  .bp-public-tabs a { flex: 1 0 auto; text-align: center; }
  .bp-hero { grid-template-columns: 1fr; min-height: 0; padding: 26px 20px; }
  .bp-hero-mark { display: none; }
  .bp-hero-copy h1 { font-size: clamp(2.35rem, 14vw, 4.3rem); }
  .bp-hero-copy h1 span b { display: block; }
  .bp-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bp-section-heading > p { text-align: left; }
  .bp-selectors { grid-template-columns: 1fr; align-items: stretch; }
  .bp-refresh { grid-template-columns: 1fr; }
  .bp-refresh .btn { width: 100%; min-width: 0; }
  .bp-versus { height: 38px; }
  .bp-versus span { width: 38px; height: 38px; font-size: .72rem; }
  .bp-search-results { position: fixed; z-index: 1000; inset: auto 10px 90px; width: auto; max-height: min(54vh, 430px); }
  .bp-category-row { grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 0; }
  .bp-category-label { grid-column: 1 / -1; grid-row: 1; }
  .bp-category-side.is-a { text-align: left; }
  .bp-category-side.is-a .bp-category-value { flex-direction: row; }
  .bp-category-side.is-a .bp-bar { transform: none; }
  .bp-radar { min-height: 380px; justify-content: start; }
  .bp-weight-row { grid-template-columns: 1fr 46px; gap: 6px 12px; }
  .bp-weight-row input { grid-column: 1 / -1; grid-row: 2; }
  .bp-weights > footer { align-items: stretch; flex-direction: column; }
  .bp-faq { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 520px) {
  .bp-hero-facts { display: grid; }
  .bp-empty { align-items: flex-start; flex-direction: column; }
  .bp-comparison > header,
  .bp-chart-section > header { align-items: flex-start; flex-direction: column; }
  .bp-chart-section .btn { width: 100%; }
  .bp-category-value { align-items: flex-start; flex-direction: column !important; gap: 0; }
  .bp-category-side.is-b .bp-category-value { align-items: flex-end; }
  .bp-weight-controls { padding-inline: 16px; }
  .bp-weights > summary,
  .bp-weights > footer { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .bp-hero::before,
  .bp-hero::after,
  .bp-hero-copy > *,
  .bp-hero-mark,
  .bp-hero-mark::before,
  .bp-hero-mark span,
  .bp-search-results,
  .bp-search-option,
  .bp-versus span,
  .bp-empty > span,
  .bp-results.is-entering > *,
  .bp-results.is-entering .bp-verdict::after,
  .bp-confidence,
  .bp-bar > span::after,
  .bp-radar *,
  .bp-weight-row output,
  .bp-weights[open] .bp-weight-controls,
  .bp-weights[open] > footer,
  .bp-faq-list details[open] p { animation: none !important; }
  .bp-category-row { opacity: 1; translate: none; }
  .bp-bar > span { width: var(--bp-target-width, 0%); }
  .bp-radar-grid,
  .bp-radar-axis,
  .bp-radar-label,
  .bp-radar-shape-a,
  .bp-radar-shape-b,
  .bp-radar-dot-a,
  .bp-radar-dot-b { opacity: 1; transform: none; }
}
