#weekly-champions {
  color-scheme: dark;
  box-sizing: border-box;
  width: min(32rem, calc(100% - 1.25rem));
  max-height: calc(100dvh - 1.25rem);
  padding: clamp(16px, 4vw, 26px);
  overflow: auto;
  color: var(--ink);
  background: #102025;
  border: 1px solid #587074;
  border-radius: 6px;
  box-shadow: 0 18px 64px #030b0dd9;
}
#weekly-champions::backdrop { background: #061317ca }
.champions-head, .champions-fields, .champions-modes, .champions-pilot {
  display: flex;
  align-items: center;
  gap: 8px;
}
.champions-head { justify-content: space-between }
.champions-head h2 {
  font: 800 clamp(1.4rem, 5vw, 2rem)/1.05 system-ui, sans-serif;
  letter-spacing: -.035em;
  margin: 0;
}
.champions-close { min-width: 2.5rem; min-height: 2.5rem; font-size: 1.4rem }
.champions-reset, .champions-board-status { color: #bccfca; line-height: 1.4 }
.champions-modes { margin: 14px 0 10px }
.champions-modes .chip { padding: 6px 12px }
.champions-modes [aria-pressed=true] { border-color: var(--amber); color: var(--amber) }
.champions-entry {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #152a30;
  border-radius: 4px;
}
.champions-flight { color: var(--amber); margin-bottom: .65rem }
.champions-entry label { display: block; font-weight: 650; margin: .5rem 0 .25rem }
.champions-fields { flex-wrap: wrap; align-items: stretch }
.champions-fields .primary { margin-top: .7rem }
.champions-entry input, .champions-entry select {
  box-sizing: border-box; width: 100%; min-width: 0; padding: 7px 8px;
  font: inherit; border: 1px solid #587074; border-radius: 3px;
  background: #0b171b; color: var(--ink);
}
.champions-entry input:focus-visible, .champions-entry select:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px }
.champions-entry small { display: block; margin-top: .55rem; line-height: 1.35; color: #bdcec9 }
.champions-feedback { color: var(--amber) }
.champions-list { list-style: none; padding: 0; margin: 0 }
.champions-list li {
  display: grid; grid-template-columns: 2.2em minmax(0,1fr) auto;
  align-items: center; gap: 7px; border-top: 1px solid var(--line); min-height: 32px;
}
.champions-list li > span:first-child { font: 600 .75rem ui-monospace, monospace; color: var(--muted) }
.champions-list li:first-child { color: var(--amber) }
.champions-list bdi { overflow-wrap: anywhere }
.champions-list strong { font-variant-numeric: tabular-nums }
.champions-pilot { overflow: hidden }
.champions-pilot img, .champions-pilot svg { width: 20px; height: 14px; object-fit: contain; flex: none }
#weekly-champions [hidden] { display: none }
