body.page-champ-pw .content {
  padding-left: 0;
  padding-right: 72px;
}

.champ-pw {
  max-width: none;
  margin: 0;
  padding: 0 0 40px;
}
.champ-pw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.champ-pw-head .kicker {
  margin-bottom: 4px;
}
.champ-pw-head h1 {
  font-family: Inter, ui-sans-serif, system-ui, Segoe UI, sans-serif;
  font-weight: 900;
  letter-spacing: var(--title-page-tracking, -1.5px);
  margin: 6px 0 8px;
  color: var(--text);
  font-size: var(--title-page-size, clamp(28px, 4vw, 42px));
  line-height: 0.95;
}
.champ-pw-lead {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.page-champ-pw .champ-pw-togs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.page-champ-pw .champ-pw-tog {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.page-champ-pw .champ-pw-tog b {
  font-size: 10px;
  color: var(--cyan);
}
.page-champ-pw .champ-pw-tog.is-on {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
  background: color-mix(in srgb, var(--cyan) 12%, var(--panel));
}

.champ-pw-wait {
  text-align: center;
  padding: 48px 16px;
  font-weight: 800;
  color: var(--muted);
}
body:not(.champ-deeplink) #champDeeplinkWait[hidden] { display: none; }
body.champ-deeplink .champ-pw-head,
body.champ-deeplink #champHomeLayout { display: none; }
#champHomeLayout[hidden] { display: none !important; }

.champ-pw-sec-title {
  font-size: var(--title-block-size, 14px);
  letter-spacing: var(--title-block-tracking, 1.3px);
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 900;
  margin: 6px 0 12px;
  padding-left: 10px;
  position: relative;
}
.champ-pw-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 3px;
  border-radius: 99px;
  background: var(--red);
}
.champ-pw-sec-title b { color: var(--text); font-weight: 900; }
.champ-pw-sec-archive { margin-top: 26px; }

.champ-pw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.champ-pw-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  width: 100%;
  padding: 14px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.champ-pw-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 160px;
  height: 160px;
  border: 1px solid #ff304f44;
  border-radius: 50%;
  box-shadow: 0 0 0 24px #ff304f0d;
  pointer-events: none;
}
.champ-pw-card > * { position: relative; z-index: 1; }
.champ-pw-card.is-live { box-shadow: inset 3px 0 0 var(--cyan), var(--shadow); }
.champ-pw-card.is-done { box-shadow: inset 3px 0 0 var(--gold), var(--shadow); }
.champ-pw-card.is-100 { box-shadow: inset 3px 0 0 var(--red), var(--shadow); }
.champ-pw-card:hover { border-color: color-mix(in srgb, var(--cyan) 55%, var(--line)); }
.champ-pw-card-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}
.champ-pw-card-top .champ-pw-flag { justify-self: start; }
.champ-pw-card-top .champ-pw-chip,
.champ-pw-card-top .champ-pw-chip-slot { justify-self: center; }
.champ-pw-card-top .champ-pw-pin { justify-self: end; }
.champ-pw-pin {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.champ-pw-pin.is-on,
.champ-pw-card.is-pin .champ-pw-pin {
  color: var(--gold);
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, var(--panel));
}
.champ-pw-extra {
  display: grid;
  gap: 8px;
}
.champ-pw-extra span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: block;
  font-weight: 800;
}
.champ-pw-extra b,
.champ-pw-extra .champ-pw-pilot {
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}
.champ-pw-extra .is-last b,
.champ-pw-last { color: var(--cyan); }
.champ-pw-extra .is-next b { color: var(--gold); }
.champ-pw-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.champ-pw-foot .is-pod {
  margin: 0;
  text-align: center;
}
.champ-pw-stand {
  list-style: none;
  margin: 0;
  padding: 0 2px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-areas: "p2 p1 p3";
  align-items: end;
  gap: 8px;
}
.champ-pw-stand .is-p1 { grid-area: p1; }
.champ-pw-stand .is-p2 { grid-area: p2; }
.champ-pw-stand .is-p3 { grid-area: p3; }
.champ-pw-stand li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 6px;
}
.champ-pw-stand .champ-pw-pilot {
  width: 100%;
  max-width: 100%;
  min-height: 2.4em;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.champ-pw-step {
  display: grid;
  place-items: center;
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.champ-pw-stand .is-p1 .champ-pw-step {
  height: 44px;
  color: #1a1404;
  background: linear-gradient(180deg, #ffe27a, #f5c518);
}
.champ-pw-stand .is-p2 .champ-pw-step {
  height: 32px;
  color: #1a1f26;
  background: linear-gradient(180deg, #f4f7fa, #b8c4ce);
}
.champ-pw-stand .is-p3 .champ-pw-step {
  height: 24px;
  color: #2a1608;
  background: linear-gradient(180deg, #ffd8b5, #d0894a);
}
.champ-pw-stand .is-p1 .champ-pw-pilot { color: #f5c518; }
.champ-pw-stand .is-p2 .champ-pw-pilot { color: #8fa3b8; }
.champ-pw-stand .is-p3 .champ-pw-pilot { color: #d0894a; }
html[data-theme="day"] .champ-pw-stand .is-p1 .champ-pw-pilot { color: #c9a008; }
html[data-theme="day"] .champ-pw-stand .is-p2 .champ-pw-pilot { color: #4d5d6e; }
.champ-pw-last {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.champ-pw-last:hover { color: var(--text); }
.champ-pw-extra .is-me b { color: var(--gold); }
.champ-pw-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-self: stretch;
  margin: 0;
}
.champ-pw-acts.is-solo { grid-template-columns: 1fr; }
.champ-pw-go,
.champ-pw-plan {
  margin: 0;
  padding: 10px 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.2;
}
.champ-pw-go {
  color: #1a1408;
  background: #f5c518;
  border: 2px solid #f5c518;
}
.champ-pw-go:hover { filter: brightness(1.08); }
.champ-pw-plan {
  color: #082028;
  background: var(--cyan);
  border: 2px solid var(--cyan);
}
.champ-pw-plan:hover { filter: brightness(1.08); }
.champ-pw-card.is-pin { box-shadow: inset 3px 0 0 var(--gold), var(--shadow); }
.champ-pw-card.is-wait { opacity: 0.55; pointer-events: none; }
.champ-pw-flag {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 3px 8px;
}
.champ-pw-flag.is-live {
  color: var(--cyan);
  background: color-mix(in srgb, var(--cyan) 16%, transparent);
}
.champ-pw-flag.is-done {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 16%, transparent);
}
.champ-pw-title {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.2;
  color: var(--cyan);
  cursor: pointer;
}
.champ-pw-title:hover { color: var(--red); text-decoration: underline; }
.champ-pw-card.is-done .champ-pw-title { color: var(--gold); }
.champ-pw-card.is-done .champ-pw-title:hover { color: var(--red); }
.champ-pw-detail-head h2 {
  flex: 1;
  margin: 0;
  min-width: 0;
}
.champ-pw-detail-head .champ-pw-title {
  width: auto;
  font-size: 22px;
  text-align: center;
  color: var(--text);
}
.champ-pw-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.champ-pw-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 14px;
  font-size: 12px;
  font-weight: 800;
}
.champ-pw-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  min-width: 0;
}
.champ-pw-meta span { color: var(--muted); font-size: 9px; letter-spacing: 0.6px; text-transform: uppercase; display: block; }
.champ-pw-meta b { font-size: 16px; letter-spacing: -0.4px; }
.champ-pw-meta .is-races b { color: var(--cyan); }
.champ-pw-meta .is-pilots b { color: var(--green); }
.champ-pw-meta .is-teams b { color: var(--gold); }
.champ-pw-meta .is-me {
  margin-left: auto;
  text-align: right;
}
.champ-pw-meta .is-me b { color: var(--gold); font-size: 14px; }
.champ-pw-open {
  margin-top: auto;
  align-self: flex-start;
  border: 1px solid color-mix(in srgb, var(--cyan) 45%, var(--line));
  background: color-mix(in srgb, var(--cyan) 14%, var(--panel));
  color: var(--cyan);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  cursor: pointer;
}
.champ-pw-open:hover { background: var(--cyan); color: #082028; }
.champ-pw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.champ-pw-chip {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 99px;
  border: 1px solid transparent;
}
.champ-pw-chip.is-100 { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red); }
.champ-pw-chip.is-dnf { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.champ-pw-chip.is-essai { background: color-mix(in srgb, var(--cyan) 18%, transparent); color: var(--cyan); }
.champ-pw-chip.is-lap { background: color-mix(in srgb, #ed3dff 20%, transparent); color: #d98cff; }
.champ-pw-chip.is-bonus { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.champ-pw-chip.is-team { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.champ-pw-chip.is-scale { background: var(--panel2); color: var(--muted); border-color: var(--line); }
.champ-pw-open-layout { margin-top: 4px; }
.champ-pw-open-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.35fr) minmax(200px, 1.1fr);
  gap: 10px;
  align-items: stretch;
  margin: 0 0 12px;
}
.champ-pw-open-top .f1-dash { margin: 0; overflow: hidden; }
.champ-pw-open-dash {
  grid-template-columns: 1fr 1fr 1fr;
  padding: 10px 10px 14px;
}
.champ-pw-open-dash .f1-dash-item {
  cursor: default;
}
.champ-pw-rulebox {
  gap: 6px;
  padding: 10px 12px 12px;
  min-width: 0;
}
.champ-pw-leaders {
  gap: 6px;
  padding: 10px 12px 12px;
  margin: 0;
  min-width: 0;
}
.champ-pw-leaders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.champ-pw-leaders-head .f1-filters-title { margin-bottom: 0; }
.champ-pw-stats-open {
  border: 1px solid color-mix(in srgb, var(--cyan) 45%, var(--line));
  background: color-mix(in srgb, var(--cyan) 12%, var(--panel));
  color: var(--cyan);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.champ-pw-stats-open:hover { border-color: var(--cyan); }
.champ-pw-leader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 16px;
  min-width: 0;
}
.champ-pw-rule-desc,
.champ-pw-rule-note {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}
.champ-pw-rule-label {
  margin: 4px 0 0;
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.champ-pw-scale-more {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel2);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.champ-pw-scale-more:hover { border-color: var(--cyan); }
.champ-pw-rule-scales[hidden] { display: none !important; }
.champ-pw-rule-scales { display: grid; gap: 4px; }
.champ-pw-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.champ-pw-scale-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 28px;
  padding: 4px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
}
.champ-pw-scale-item em {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  color: var(--muted);
}
.champ-pw-scale-item b {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--cyan);
}
.champ-pw-rule-chips { margin-top: 4px; }
.champ-pw-leader {
  padding: 4px 2px 2px;
}
.champ-pw-leader h3 {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.champ-pw-leader.is-win h3 { color: var(--gold); }
.champ-pw-leader.is-pole h3 { color: var(--cyan); }
.champ-pw-leader.is-dnf h3 { color: var(--red); }
.champ-pw-leader ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.champ-pw-leader li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 0;
  min-width: 0;
}
.champ-pw-leader li .champ-pw-pilot {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.champ-pw-leader li b { font-weight: 900; }
.champ-pw-leader .champ-pw-rank {
  width: 22px;
  height: 22px;
  font-size: 11px;
  flex-shrink: 0;
}
.champ-pw-leader .champ-pw-pilot { font-size: 12px; }
.champ-pw-empty {
  color: var(--muted);
  font-weight: 700;
  padding: 8px 4px 12px;
}

.champ-pw-year {
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 2px 14px 12px;
}
.champ-pw-year.is-load > summary { color: var(--cyan); }
.champ-pw-year > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  padding: 12px 2px;
  color: var(--gold);
}
.champ-pw-year > summary::-webkit-details-marker { display: none; }
.champ-pw-year > summary b {
  color: var(--cyan);
  font-size: 13px;
}
.champ-pw-year > summary::after {
  content: "+";
  color: var(--red);
  font-weight: 900;
}
.champ-pw-year[open] > summary::after { content: "–"; }

.champ-pw-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
}
.champ-pw-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.champ-pw-detail-head h2 {
  flex: 1;
  margin: 0;
  min-width: 0;
  text-align: left;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: var(--title-block-tracking, 1.3px);
  text-transform: uppercase;
  color: var(--cyan);
  line-height: 1.05;
  padding-left: 14px;
  position: relative;
}
.champ-pw-detail-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  border-radius: 99px;
  background: var(--red);
}
.champ-pw-cal-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--cyan);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.champ-pw-cal-btn:hover {
  border-color: var(--cyan);
  color: var(--gold);
}
.champ-pw-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0 0 14px;
}
.champ-pw-stats {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .champ-pw-stats { grid-template-columns: 1fr 1fr; }
  .champ-pw-open-top { grid-template-columns: 1fr; }
  .champ-st-split { grid-template-columns: 1fr; }
}
.champ-pw-stat,
.champ-pw-pod {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 12px 14px;
}
.champ-pw-stat h3,
.champ-pw-pod h3 {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.champ-pw-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 0;
}
.champ-pw-pod ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.champ-pw-pod li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 0;
}
.champ-pw-pod li span { color: var(--muted); font-weight: 800; }

.champ-pw-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 10px;
}
.champ-pw-tabs button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
}
.champ-pw-tabs button.is-on {
  color: var(--text);
  border-color: var(--cyan);
  background: color-mix(in srgb, var(--cyan) 12%, var(--panel));
}
.champ-pw-board {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  margin-bottom: 10px;
  overflow: hidden;
}
.champ-pw-cal {
  overflow: auto;
  max-height: calc(84px + 10 * 70px + 18px);
  scrollbar-width: thin;
}
.champ-pw-row {
  display: flex;
  align-items: stretch;
  min-width: max-content;
  border-bottom: 1px solid var(--line);
}
.champ-pw-row.is-head {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--panel);
}
.champ-pw-id {
  position: sticky;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 40px minmax(180px, 236px) 52px 44px;
  gap: 6px;
  align-items: center;
  width: 394px;
  min-width: 394px;
  padding: 8px 10px;
  background: var(--panel);
  box-shadow: 8px 0 12px #0003;
}
.champ-pw-board.is-b100 .champ-pw-id {
  grid-template-columns: 40px minmax(188px, 268px) 52px;
  width: 378px;
  min-width: 378px;
}
.champ-pw-row.is-head .champ-pw-id {
  z-index: 7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}
.champ-pw-rounds {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px 6px 4px;
}
.champ-pw-row.is-head .champ-pw-rounds {
  align-items: flex-end;
}
.rd,
.rd-h {
  width: 72px;
  min-width: 72px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  font-weight: 900;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.rd {
  height: auto;
  min-height: 42px;
  flex-direction: column;
  gap: 2px;
  padding: 3px 2px 4px;
  line-height: 1;
}
.rd > b {
  font-size: 12px;
  font-weight: 900;
}
.rd-date {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #5a6574;
}
html[data-theme="night"] .rd-date {
  color: #d5deea;
}
html[data-theme="night"] .rd.is-win .rd-date {
  color: #2a1c00;
}
.rd-bits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  max-width: 100%;
}
.rd-bits i {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  min-width: 16px;
  padding: 2px 4px;
  border-radius: 4px;
  text-align: center;
}
.rd-bits i.is-race { background: color-mix(in srgb, var(--green) 28%, transparent); color: var(--green); }
.rd-bits i.is-essai { background: color-mix(in srgb, var(--cyan) 28%, transparent); color: var(--cyan); }
.rd-bits i.is-lap { background: color-mix(in srgb, #ed3dff 28%, transparent); color: #d98cff; }
.rd-bits i.is-bonus { background: color-mix(in srgb, var(--red) 28%, transparent); color: var(--red); }
.rd.is-win .rd-bits i {
  background: rgba(40, 26, 0, 0.55);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.rd.is-win .rd-bits i.is-race { color: #c8ff9a; }
.rd.is-win .rd-bits i.is-essai { color: #9ef4ff; }
.rd.is-win .rd-bits i.is-lap { color: #f0c0ff; }
.rd.is-win .rd-bits i.is-bonus { color: #ffc4c8; }
.rd.is-dnf .rd-bits i {
  background: rgba(0, 0, 0, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.rd.is-dnf .rd-bits i.is-race { color: #b8ff9a; }
.rd.is-dnf .rd-bits i.is-essai { color: #9ef4ff; }
.rd.is-dnf .rd-bits i.is-lap { color: #f0c0ff; }
.rd.is-dnf .rd-bits i.is-bonus { color: #ffd0d4; }
.champ-pw-rd-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
}
.rd-h {
  position: relative;
  height: calc(26px + 1.2em * 2 + 7px);
  min-height: calc(26px + 1.2em * 2 + 7px);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  cursor: default;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  color: var(--muted);
  overflow: hidden;
}
.rd-h .circ-gf {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 1;
  margin: 0;
  padding: 0 3px;
  font-size: 8px;
  pointer-events: none;
}
.rd-h.is-planned .rd-h-flag {
  opacity: 0.55;
}
.rd-h.is-planned .rd-h-name {
  font-style: italic;
}
.rd-h-flag {
  display: block;
  width: 100%;
  height: 26px;
  flex: 0 0 26px;
  align-self: stretch;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 7px 7px 0 0;
  background-color: transparent;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.12) saturate(1.08);
  cursor: pointer;
}
.rd-h-flag:hover {
  filter: brightness(1.28) saturate(1.15);
}
.rd-h-flag.is-empty {
  filter: none;
  background: transparent;
}
.rd-h-flag.is-empty:hover {
  background: color-mix(in srgb, var(--cyan) 16%, transparent);
}
.rd-h .rd-h-name {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: calc(1.2em * 2 + 7px);
  max-height: calc(1.2em * 2 + 7px);
  overflow: hidden;
  padding: 3px 4px 4px;
  text-align: center;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  color: var(--muted);
  font: inherit;
  white-space: normal;
  line-height: 1.2;
}
.rd-h .champ-pw-circ.rd-h-name:hover {
  color: var(--cyan);
}
.rd.is-skip {
  cursor: default;
  opacity: 0.28;
  background: transparent;
}
.rd.is-win {
  background: linear-gradient(180deg, #ffe14d, #f5c518 48%, #d4a20a);
  color: #3a2800;
  border-color: #c49200;
  box-shadow: none;
}
.rd.is-dnf {
  background: color-mix(in srgb, var(--red) 38%, var(--panel2));
  color: #fff;
  border-color: color-mix(in srgb, var(--red) 55%, var(--line));
  box-shadow: none;
}
html[data-theme="day"] .rd.is-win {
  background: linear-gradient(180deg, #ffe566, #f5c518 42%, #e0a800);
  color: #3a2800;
}
html[data-theme="day"] .rd.is-dnf {
  background: color-mix(in srgb, var(--red) 28%, #fff);
  color: #8a1020;
}
.rd.is-on { outline: 2px solid var(--cyan); }
.champ-pw-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-weight: 900;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}
.champ-pw-row.is-gold .champ-pw-rank,
.champ-st-ol li.is-gold .champ-pw-rank,
.champ-pw-leader li.is-gold .champ-pw-rank {
  color: #3a2800;
  background: linear-gradient(180deg, #ffe14d, #f5c518 48%, #d4a20a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
html[data-theme="day"] .champ-pw-row.is-gold .champ-pw-rank,
html[data-theme="day"] .champ-st-ol li.is-gold .champ-pw-rank,
html[data-theme="day"] .champ-pw-leader li.is-gold .champ-pw-rank {
  color: #3a2800;
  background: linear-gradient(180deg, #ffe566, #f5c518 42%, #e0a800);
  box-shadow: inset 0 1px 0 #fff6b0, 0 0 0 1px #c49200;
}
.champ-pw-row.is-silver .champ-pw-rank,
.champ-st-ol li.is-silver .champ-pw-rank,
.champ-pw-leader li.is-silver .champ-pw-rank { color: #1a1f26; background: #c5d0dc; }
.champ-pw-row.is-bronze .champ-pw-rank,
.champ-st-ol li.is-bronze .champ-pw-rank,
.champ-pw-leader li.is-bronze .champ-pw-rank { color: #1a1008; background: #d08a4a; }
.champ-pw-evo-up { color: var(--green); font-weight: 800; }
.champ-pw-evo-down { color: var(--red); font-weight: 800; }
.champ-pw-evo-zero { color: var(--muted); }
.champ-pw-tot { font-weight: 900; text-align: center; }
.champ-pw-who {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.champ-pw-who-txt {
  min-width: 0;
  flex: 1;
}
.champ-pw-who-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.champ-pw-who-line .champ-pw-pilot { display: inline; }
.champ-pw-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 99px;
  line-height: 1.4;
  flex-shrink: 0;
}
.champ-pw-badge.is-retire {
  background: color-mix(in srgb, var(--red) 22%, transparent);
  color: var(--red);
}
.champ-pw-badge.is-sub {
  background: color-mix(in srgb, var(--green) 22%, transparent);
  color: var(--green);
}
.champ-pw-who-stats {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding-left: 12px;
  flex-shrink: 0;
}
.champ-pw-who-stats .champ-pw-badge {
  font-size: 11px;
  padding: 3px 8px;
}
.champ-pw-badge.is-avg-top {
  background: color-mix(in srgb, var(--green) 26%, transparent);
  color: var(--green);
}
.champ-pw-badge.is-avg-hi {
  background: color-mix(in srgb, var(--gold) 30%, transparent);
  color: var(--gold);
}
.champ-pw-badge.is-avg-rest {
  background: color-mix(in srgb, var(--red) 24%, transparent);
  color: var(--red);
}
.champ-pw-badge.is-avg-none {
  background: var(--panel2);
  color: var(--muted);
}
.champ-pw-badge.is-races-n {
  background: var(--panel2);
  color: var(--text);
  text-transform: none;
}
.champ-pw-car-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
}
.champ-pw-car-btn .champ-pw-car { pointer-events: none; }
.champ-pw-sub-tip {
  position: fixed;
  z-index: 2400;
  min-width: 180px;
  max-width: 260px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px 10px;
  color: var(--text);
}
.champ-pw-sub-tip[hidden] { display: none !important; }
.champ-pw-sub-tip-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.champ-pw-sub-tip-x {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.champ-pw-sub-tip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.champ-pw-sub-tip li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
}
.champ-pw-sub-tip li span {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  padding-right: 12px;
}
.champ-pw-sub-tip li b {
  margin-left: auto;
  padding-left: 8px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  font-size: 12px;
}
.champ-pw-sub-tip li.is-empty {
  font-weight: 700;
  color: var(--muted);
  font-size: 12px;
}
.champ-pw-sub-tip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.champ-pw-car {
  width: 58px;
  height: 34px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  pointer-events: none;
}
.champ-pw-pilot,
.champ-pw-circ {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-weight: 800;
}
.champ-pw-pilot {
  display: block;
  color: var(--text);
  text-align: left;
}
.champ-pw-pilot:hover { color: var(--red); text-decoration: underline; }
.champ-pw-circ { color: var(--muted); }
.champ-pw-circ:hover { color: var(--cyan); }
.rd-h .champ-pw-circ.rd-h-name {
  padding: 3px 4px 4px;
  height: calc(1.2em * 2 + 7px);
  max-height: calc(1.2em * 2 + 7px);
}
.champ-pw-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  cursor: help;
  text-align: left;
}
#teamsPane .champ-pw-id {
  gap: 12px;
}
#teamsPane .champ-pw-team {
  gap: 12px;
}
.champ-pw-team-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: transparent;
  margin-left: 0;
  margin-right: 2px;
}
.champ-pw-team:hover { color: var(--cyan); }
#teamsPane .champ-pw-row:not(.is-head) .champ-pw-team {
  margin-top: 0;
  color: var(--text);
  font-size: inherit;
  font-weight: 800;
}
#teamsPane .champ-pw-row:not(.is-head) .champ-pw-team:hover {
  color: var(--red);
  text-decoration: underline;
}
.champ-pw-muted {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.champ-pw-pts { font-weight: 900; }
.champ-pw-bits { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.champ-pw-bit {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 99px;
}
.champ-pw-bit.is-race { background: color-mix(in srgb, var(--green) 22%, transparent); color: var(--green); }
.champ-pw-bit.is-essai { background: color-mix(in srgb, var(--cyan) 22%, transparent); color: var(--cyan); }
.champ-pw-bit.is-lap { background: color-mix(in srgb, #ed3dff 22%, transparent); color: #d98cff; }
.champ-pw-bit.is-bonus { background: color-mix(in srgb, var(--red) 22%, transparent); color: var(--red); }
.champ-pw-bit.is-date { background: var(--panel2); color: var(--muted); }
.champ-pw-bit.is-win-lg { background: color-mix(in srgb, var(--gold) 28%, transparent); color: var(--gold); }
.champ-pw-bit.is-dnf-lg { background: color-mix(in srgb, var(--red) 22%, transparent); color: var(--red); }
.champ-pw-board-tools {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: start;
  gap: 8px;
  margin: 0 0 10px;
}
.champ-pw-tools-left {
  justify-self: start;
  padding-top: 2px;
}
.champ-pw-tools-right { min-height: 1px; }
.champ-pw-tools-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.champ-pw-kind {
  display: flex;
  width: 100%;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
  text-transform: none;
  letter-spacing: 0;
}
.champ-pw-kind-btn {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--muted);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 5px 4px;
  line-height: 1.1;
}
.champ-pw-kind-btn.is-on {
  color: var(--cyan);
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--cyan);
}
.champ-pw-bm-open {
  border: 1px solid color-mix(in srgb, var(--red) 45%, var(--line));
  background: color-mix(in srgb, var(--red) 16%, var(--panel));
  color: var(--red);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  cursor: pointer;
}
.champ-pw-bm-open:hover { border-color: var(--red); }

#modal-bonus .modal-content {
  background: var(--panel) !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
#modal-bonus .modal-header,
#modal-bonus .modal-footer {
  background: var(--panel2) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
  align-items: center;
}
#modal-bonus .modal-header {
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 14px 16px;
}
#modal-bonus .modal-body {
  background: var(--panel) !important;
  color: var(--text) !important;
}
#modal-bonus .modal-footer {
  gap: 8px;
  padding: 12px 16px;
}
.champ-pw-bm-head { min-width: 0; }
.champ-pw-bm-kicker {
  display: block;
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}
#modal-bonus .modal-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.5px;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text) !important;
}
.champ-pw-bm-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 auto 0 4px;
  padding: 0;
}
.champ-pw-bm-step {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 99px;
  padding: 4px 10px;
}
.champ-pw-bm-step.is-on {
  color: var(--cyan);
  border-color: var(--cyan);
  background: color-mix(in srgb, var(--cyan) 12%, var(--panel));
  box-shadow: inset 0 0 0 1px var(--cyan);
}
.champ-pw-bm-step.is-done {
  color: var(--green);
  border-color: color-mix(in srgb, var(--green) 40%, var(--line));
}
.champ-pw-bm-lead {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
}
.champ-pw-bm-picks {
  display: grid;
  gap: 8px;
}
.champ-pw-bm-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  box-shadow: inset 3px 0 0 var(--cyan), var(--shadow);
}
.champ-pw-bm-pick::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 160px;
  height: 160px;
  border: 1px solid #ff304f44;
  border-radius: 50%;
  box-shadow: 0 0 0 24px #ff304f0d;
  pointer-events: none;
}
.champ-pw-bm-pick > * { position: relative; z-index: 1; }
.champ-pw-bm-pick:hover {
  border-color: color-mix(in srgb, var(--cyan) 55%, var(--line));
}
.champ-pw-bm-pick b {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.3px;
  display: block;
}
.champ-pw-bm-pick > span:last-child,
.champ-pw-bm-pick .champ-pw-bm-race-top > span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.champ-pw-bm-filter {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0 0 12px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}
.champ-pw-bm-empty {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.champ-pw-bm-race-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
.champ-pw-bm-names,
.champ-pw-bm-teams {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}
.champ-pw-bm-teams {
  color: var(--muted);
  font-size: 11px;
}
.champ-pw-bm-section {
  margin: 0 0 16px;
}
.champ-pw-bm-section h3 {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.champ-pw-bm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 700px) {
  .champ-pw-bm-grid { grid-template-columns: 1fr; }
  .champ-pw-leader-grid { grid-template-columns: 1fr; }
  .champ-st-grid { grid-template-columns: 1fr; }
}
.champ-pw-bm-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel2);
  cursor: pointer;
}
.champ-pw-bm-entry .champ-pw-who { flex: 1; min-width: 0; }
.champ-pw-bm-entry .champ-pw-pilot { cursor: default; }
.champ-pw-bm-entry .champ-pw-pilot:hover { color: var(--text); text-decoration: none; }
.champ-pw-bm-entry input {
  width: 64px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-weight: 900;
  text-align: center;
}
.champ-pw-bm-entry input.is-fill {
  border-color: var(--red);
  color: var(--red);
  background: color-mix(in srgb, var(--red) 12%, var(--panel));
}
#modal-bonus,
#modal-champ-stats,
#modal-champ-miss { z-index: 1085; }
.champ-st-tabs { margin: 0 0 14px; }
.champ-st-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.champ-st-split h4 {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--cyan);
}
.champ-st-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.champ-st-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel2);
  padding: 8px 10px 10px;
  min-width: 0;
}
.champ-st-card h3 {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  cursor: help;
  border-bottom: 1px dotted color-mix(in srgb, var(--muted) 55%, transparent);
  display: inline-block;
}
.champ-st-ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.champ-st-ol li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 2px 0;
}
.champ-st-who {
  flex: 1;
  min-width: 0;
}
.champ-st-who .champ-pw-pilot,
.champ-st-who .champ-pw-team,
.champ-st-who .champ-pw-circ {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.champ-st-ol b {
  font-size: 12px;
  font-weight: 900;
  color: var(--text);
}

.champ-pw-modal {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
}
.champ-pw-modal .modal-header,
.champ-pw-modal .modal-footer {
  border-color: var(--line);
}
.champ-pw-modal .modal-title { font-weight: 800; }
.champ-pw-bonus-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.champ-pw-bonus-row input {
  width: 72px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.mp-highlight { outline: 2px solid var(--gold); }
#mp-result-list .mp-circuit-badge { cursor: pointer; margin: 0 6px 6px 0; display: inline-block; }

.champ-pw-miss {
  margin: 0 0 12px;
}
.champ-pw-miss-tog {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
  color: var(--cyan);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  cursor: pointer;
  padding: 8px 12px;
}
.champ-pw-miss-lead {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}
.champ-pw-miss-slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
}
.champ-pw-miss-field {
  position: relative;
}
.champ-pw-miss-field .champ-pw-miss-inp {
  padding-right: 28px;
}
.champ-pw-miss-x {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.champ-pw-miss-x:hover { color: var(--red); }
.champ-pw-miss-slot-lab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}
.champ-pw-miss-sug {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  max-height: 180px;
  overflow: auto;
}
.champ-pw-miss-sug[hidden] { display: none !important; }
.champ-pw-miss-hit {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  color: var(--text);
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.champ-pw-miss-hit:hover { background: var(--panel2); color: var(--cyan); }
.champ-pw-miss-n {
  min-height: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cyan);
}
.champ-pw-miss-acts {
  margin: 12px 0;
}
.champ-pw-miss-out h4 {
  margin: 10px 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cyan);
}
.champ-pw-miss-out h4 span { color: var(--muted); font-weight: 700; }
.champ-pw-miss-out ul {
  margin: 0;
  padding: 0 0 0 16px;
  columns: 2;
  font-size: 13px;
}
.champ-pw-miss-empty { color: var(--muted); font-size: 12px; }
@media (max-width: 900px) {
  .champ-pw-miss-slots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .champ-pw-miss-slots { grid-template-columns: 1fr; }
  .champ-pw-miss-out ul { columns: 1; }
}

@media (max-width: 1100px) {
  body.page-champ-pw .content { padding-right: 16px; }
}
