/* r1404: shared fighter identity and decision hierarchy. Presentation only.
   Blue/violet identify the two displayed sides, never the predicted winner.
   Existing numeric bars, outcome colors and navigation remain unchanged. */
#main-content {
  --fe-fighter-a:#9dcdff;
  --fe-fighter-b:#ddbcff;
  --fe-decision-value:#7bf0d8;
  --fe-decision-value-bg:#15352e;
  --fe-decision-caution:#ffda8a;
  --fe-decision-caution-bg:#352b19;
  --fe-decision-withheld:#ffbc97;
  --fe-decision-withheld-bg:#36271f;
  --fe-decision-research:#ddbcff;
  --fe-decision-research-bg:#2c2438;
  --fe-decision-upcoming:#9dcdff;
  --fe-decision-upcoming-bg:#1d2e41;
}
html[data-theme="light"] #main-content {
  --fe-fighter-a:#164f91;
  --fe-fighter-b:#6c329b;
  --fe-decision-value:#075b49;
  --fe-decision-value-bg:#e0f5ed;
  --fe-decision-caution:#674700;
  --fe-decision-caution-bg:#fff0c9;
  --fe-decision-withheld:#843900;
  --fe-decision-withheld-bg:#ffeadb;
  --fe-decision-research:#63318a;
  --fe-decision-research-bg:#f1e7ff;
  --fe-decision-upcoming:#164f91;
  --fe-decision-upcoming-bg:#e7f1ff;
}
#main-content .fe-fighter-name {
  color:var(--fe-fighter-a);
  font-weight:750;
  letter-spacing:.005em;
  line-height:1.45;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:none;
  text-shadow:none;
}
#main-content .fe-fighter-name--b { color:var(--fe-fighter-b); }
#main-content .fe-fighter-name--matchup { color:var(--fe-ink); font-weight:800; }
#main-content .fe-fighter-name--pick {
  color:var(--fe-ink);
  font-weight:800;
  text-decoration:none;
}
#main-content a:has(>.fe-fighter-name):hover .fe-fighter-name,
#main-content a:has(>.fe-fighter-name):focus-visible .fe-fighter-name {
  text-decoration:underline;
  text-underline-offset:4px;
}
/* Matchup and pick are the anchors of a row. Secondary book/source copy keeps
   its existing subdued weight so names do not compete with every number. */
#main-content :is(.trust-primary,[data-label="Matchup"],[data-label="Fighter"],.fe-c-fight-card) .fe-fighter-name { font-size:1.06em; }
#main-content .lm-best-line-row { line-height:1.7; }
#main-content .lm-best-line-book { font-weight:400; }
#main-content td[data-label="Matchup"] .btn { white-space:nowrap; }
@media (min-width:769px) {
  #main-content .trust-table--sticky-first td[data-label="Matchup"] { min-width:160px; }
}
#main-content .fe-research-decision,
html[data-theme] body.fe-research-visuals #main-content .fe-viz-state[data-tone] {
  --decision-ink:var(--fe-secondary);
  --decision-bg:var(--fe-raised);
  display:inline-block;
  max-width:100%;
  box-sizing:border-box;
  padding:6px 9px !important;
  margin-block:4px;
  border:0 !important;
  border-inline-start:3px solid var(--decision-ink) !important;
  border-radius:3px !important;
  background:var(--decision-bg) !important;
  color:var(--decision-ink) !important;
  box-shadow:none !important;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
  letter-spacing:.025em;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:start;
  vertical-align:middle;
}
#main-content .fe-research-decision[data-decision-tone="value"],
html[data-theme] body.fe-research-visuals #main-content .fe-viz-state[data-tone="value"] { --decision-ink:var(--fe-decision-value); --decision-bg:var(--fe-decision-value-bg); }
#main-content .fe-research-decision[data-decision-tone="caution"],
html[data-theme] body.fe-research-visuals #main-content .fe-viz-state[data-tone="caution"] { --decision-ink:var(--fe-decision-caution); --decision-bg:var(--fe-decision-caution-bg); }
#main-content .fe-research-decision[data-decision-tone="withheld"],
html[data-theme] body.fe-research-visuals #main-content .fe-viz-state[data-tone="withheld"] { --decision-ink:var(--fe-decision-withheld); --decision-bg:var(--fe-decision-withheld-bg); border-inline-start-style:dashed !important; }
#main-content .fe-research-decision[data-decision-tone="research"],
html[data-theme] body.fe-research-visuals #main-content .fe-viz-state[data-tone="research"] { --decision-ink:var(--fe-decision-research); --decision-bg:var(--fe-decision-research-bg); }
#main-content .fe-research-decision[data-decision-tone="upcoming"],
html[data-theme] body.fe-research-visuals #main-content .fe-viz-state[data-tone="upcoming"] { --decision-ink:var(--fe-decision-upcoming); --decision-bg:var(--fe-decision-upcoming-bg); }
html[data-theme] body.fe-research-visuals #main-content .fe-viz-state[data-tone="negative"] { --decision-ink:var(--fe-negative); }
/* Avoid nested badges: a server-labeled decision already supplies its own box. */
html[data-theme] body.fe-research-visuals #main-content .fe-viz-state:has(>.fe-research-decision) {
  padding:0 !important; margin:0; border:0 !important; background:transparent !important;
}
html[data-theme] body.fe-research-visuals #main-content .fe-viz-state:has(>.fe-research-decision)::before { content:none; }
#main-content [data-label="Our Model"] .fe-fighter-name { display:inline; }
#main-content [data-label="Our Model"] .fe-research-decision { margin-top:7px; }
/* Lock/Fade's unchanged server-rendered buttons and their HTMX replacements
   expose the same semantic attributes; style these without touching gates. */
#main-content .pick-row button[data-pick-label] { opacity:1 !important; }
#main-content .pick-row button[data-pick-label] > span:first-child { color:var(--fe-fighter-a); font-weight:800; font-size:15px; }
#main-content .pick-row button[data-pick-label]:nth-of-type(2) > span:first-child { color:var(--fe-fighter-b); }
#main-content .pick-row button[data-pick-label][aria-pressed="true"] > span:first-child { color:var(--fe-on-interaction); }
/* Manual bet selectors replace their text after choosing a matchup. Keep the
   same identity treatment without changing that existing selection script. */
#main-content .fe-pick-buttons button { font-weight:800; }
#main-content .fe-pick-buttons #pick-btn-a[aria-pressed="false"] { color:var(--fe-fighter-a); }
#main-content .fe-pick-buttons #pick-btn-b[aria-pressed="false"] { color:var(--fe-fighter-b); }
#main-content .fe-pick-buttons button > .fe-fighter-name { color:inherit; }
#main-content[data-fe-research-page="fighter_profile"] .fe-c-page-header__title { color:var(--fe-fighter-a); }
/* The collectible keeps its paper face; its accessible list stays dark. */
#main-content .mp-card__front .mp-card__fighter { color:#164f91; font-weight:800; }
#main-content .mp-card__front .mp-card__pick { color:#182735; }
#main-content .mp-lite-card h3 { color:#9dcdff; font-weight:800; }
@media (max-width:768px) {
  #main-content :is(.trust-primary,[data-label="Matchup"],[data-label="Fighter"]) .fe-fighter-name { font-size:1.08em; }
  #main-content .fe-research-decision { max-width:100%; }
}
@media (forced-colors:active) {
  #main-content .fe-fighter-name { color:CanvasText; }
  #main-content .fe-fighter-name--b { text-decoration:underline; text-decoration-style:dotted; }
  #main-content .fe-research-decision { color:CanvasText !important; background:Canvas !important; border:1px solid CanvasText !important; border-inline-start-width:3px !important; }
}
@media print {
  #main-content .fe-fighter-name { color:#111; }
  #main-content .fe-research-decision { color:#111 !important; background:transparent !important; border:1px solid #555 !important; }
}
