@font-face {
  font-family: 'DM Sans';
  src: url('/static/fonts/dm-sans.ttf');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/static/fonts/instrument-serif.ttf');
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/static/fonts/ibm-plex-mono.ttf');
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #111412;
  --panel: #1b201d;
  --inset: #151a17;
  --rule: #343b34;
  --text: #f1f0e7;
  --muted: #b1b7ab;
  --subtle: #929c90;
  --gold: #e7c892;
  --green: #93d6b4;
  --red: #f0a298;
  --weapon: #e8b267;
  --vitality: #a8cd74;
  --spirit: #b699dc;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'IBM Plex Mono', monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
button {
  transition:
    background-color 0.14s,
    color 0.14s,
    border-color 0.14s;
}
button[hidden],
[hidden] {
  display: none !important;
}
.shell {
  max-width: 1500px;
  padding-inline: clamp(18px, 4vw, 66px);
  margin: auto;
}
.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 9;
  padding: 8px;
  background: var(--panel);
}
.skip:focus {
  top: 8px;
}
.masthead {
  height: 66px;
  border-bottom: 1px solid #30362e;
  background: #171b18;
}
.masthead > .shell {
  height: 100%;
}
.mast-left {
  height: 100%;
  gap: clamp(22px, 4.5vw, 74px);
}
.wordmark {
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.wordmark span {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.7px;
  line-height: 1;
}
.wordmark i {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-style: normal;
  vertical-align: middle;
  margin-left: 3px;
}
.masthead nav {
  height: 100%;
  gap: 28px;
}
.masthead nav > * {
  display: grid;
  align-items: center;
  height: 100%;
  font-size: 14px;
  color: var(--muted);
  background: none;
  position: relative;
}
.masthead nav a {
  color: var(--text);
  font-weight: 650;
}
.masthead nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
.local {
  color: var(--muted);
  font-size: 13px;
  gap: 9px;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: var(--green);
  border-radius: 50%;
}
.banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 176px;
  margin: 22px 0 16px;
  padding: 22px clamp(20px, 2.3vw, 35px);
  border: 1px solid #394238;
  border-radius: 9px;
  background: linear-gradient(105deg, #222b25 0%, #1c2821 53%, #2c3529 100%);
}
.banner:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, #584d37, transparent 60%);
}
.banner-copy {
  position: relative;
  z-index: 1;
}
.banner h1 {
  font: normal clamp(50px, 4.8vw, 78px) / 0.98 var(--serif);
  letter-spacing: -0.035em;
  color: #f9f1df;
}
.banner p {
  margin-top: 9px;
  font-size: 15px;
  color: #c7cdbf;
}
.dataset-meta {
  gap: 0;
  margin-top: 17px;
  font: 500 12px var(--mono);
  color: #d4cdbb;
}
.dataset-meta > span + span:before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 12px;
  background: #9e9580;
}
.banner-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.art-texture {
  position: absolute;
  inset: 0;
  background: url('/static/img/haze-background.webp') right 40% / cover no-repeat;
  opacity: 0.54;
}
.banner-art:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #1f2a23 0%, transparent 30%, transparent 98%),
    linear-gradient(0deg, #19221c75, transparent 48%);
}
.banner-art > img {
  height: 146%;
  position: absolute;
  max-width: none;
  object-fit: contain;
  filter: saturate(0.67);
  bottom: -49%;
}
.banner-art .art-wraith {
  right: 36%;
  transform: rotate(-4deg);
  filter: saturate(0.65) brightness(0.79);
}
.banner-art .art-abrams {
  right: 2%;
  height: 161%;
  bottom: -57%;
  filter: saturate(0.7) brightness(0.83);
}
.banner-art .art-haze {
  right: 18%;
  height: 160%;
  bottom: -60%;
}
.filters,
.table-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--panel);
}
.filter-main {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1.24fr 1fr;
  gap: clamp(16px, 2.4vw, 44px);
  padding: 19px 23px 16px;
}
.field {
  min-width: 0;
}
.field label,
.field-label,
.field legend {
  font-size: 13px;
  color: #c9cdc2;
  font-weight: 600;
  display: block;
  margin-bottom: 7px;
}
.select-wrap {
  position: relative;
}
.select-wrap:after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  right: 14px;
  top: 14px;
  border: solid var(--muted);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.select-wrap select {
  appearance: none;
  width: 100%;
  height: 37px;
  padding: 0 30px 0 12px;
  border: 1px solid #424a40;
  border-radius: 5px;
  background: var(--inset);
  font-size: 14px;
}
.patches {
  gap: 5px;
  min-height: 37px;
  align-items: center;
}
.patches button {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font: 500 12px var(--mono);
  background: var(--inset);
  color: var(--muted);
}
.patches button[aria-pressed='true'] {
  background: #363329;
  border-color: #766548;
  color: #f3d8a3;
}
.patches button[aria-pressed='true']:before {
  content: '✓';
  font: 600 11px 'DM Sans';
  margin-right: 4px;
}
.ranks {
  padding: 0;
  border: 0;
  margin: 0;
}
.range-track {
  position: relative;
  height: 18px;
  margin: 1px 6px 0;
  --min: 0%;
  --max: 100%;
}
.track-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 3px;
  background: linear-gradient(
    to right,
    #41493f 0 var(--min),
    var(--gold) var(--min) var(--max),
    #41493f var(--max) 100%
  );
}
.range-track input {
  appearance: none;
  position: absolute;
  width: calc(100% + 14px);
  height: 18px;
  left: -7px;
  top: 0;
  background: transparent;
  pointer-events: none;
  outline-offset: 2px;
}
.range-track input::-webkit-slider-thumb {
  pointer-events: auto;
  appearance: none;
  width: 13px;
  height: 13px;
  border: 2px solid #eed3a0;
  border-radius: 50%;
  background: #544b37;
  cursor: ew-resize;
}
.range-track input::-moz-range-thumb {
  pointer-events: auto;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #544b37;
}
.range-track input:focus-visible {
  z-index: 2;
}
.rank-labels {
  font-size: 12px;
  color: var(--muted);
  line-height: 16px;
}
.ranks:disabled .range-track,
.ranks:disabled .rank-labels {
  opacity: 0.36;
}
.rank-note {
  font-size: 12px;
  color: var(--gold);
  margin-top: 3px;
}
.filter-foot {
  border-top: 1px solid var(--rule);
  padding: 10px 23px;
  gap: 7px;
}
.switch-label {
  gap: 9px;
  font-size: 13px;
  cursor: pointer;
}
.switch-label input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.switch {
  width: 29px;
  height: 16px;
  border-radius: 10px;
  background: #444c43;
  border: 1px solid #60685e;
  position: relative;
}
.switch:after {
  content: '';
  width: 10px;
  height: 10px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #cad0c3;
}
.switch-label input:checked + .switch {
  background: #7b6b49;
  border-color: var(--gold);
}
.switch-label input:checked + .switch:after {
  transform: translateX(13px);
  background: #fff0d0;
}
.switch-label input:focus-visible + .switch {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.hidden-count,
.cohort-note {
  color: var(--subtle);
  font-size: 12px;
}
.hidden-count {
  margin-left: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--rule);
}
.results {
  margin-top: 27px;
}
.results-head h2,
dialog h2 {
  font: normal 36px/1.1 var(--serif);
  letter-spacing: -0.02em;
}
.count {
  font: 500 12px var(--mono);
  padding: 2px 7px;
  border: 1px solid #3b4339;
  border-radius: 4px;
  color: #c1c7b9;
}
.search {
  gap: 10px;
  border: 1px solid var(--rule);
  background: var(--panel);
  border-radius: 5px;
  height: 36px;
  padding: 0 12px;
  width: 230px;
}
.search:focus-within {
  border-color: var(--gold);
}
.search input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none !important;
  font-size: 14px;
}
.magnify {
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.magnify:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 1.5px;
  background: var(--muted);
  right: -4px;
  bottom: -2px;
  transform: rotate(46deg);
}
.facet-row {
  gap: 14px;
  margin: 17px 0 14px;
}
.facets {
  gap: 4px;
}
.facets button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--muted);
  font-size: 13px;
  padding: 5px 10px;
}
.facets button:hover,
.pager button:hover:enabled {
  background: #30372f;
}
.facets button[aria-pressed='true'] {
  color: #f2e5ca;
  background: #39372f;
  border-color: #5b5545;
}
.tiers {
  border-left: 1px solid var(--rule);
  padding-left: 14px;
}
.tiers button {
  min-width: 32px;
  padding-inline: 6px;
}
.cat-dot {
  width: 7px;
  height: 7px;
  vertical-align: middle;
  display: inline-block;
  background: var(--subtle);
  border-radius: 50%;
  flex: none;
}
.weapon {
  --cat: var(--weapon);
}
.vitality {
  --cat: var(--vitality);
}
.spirit {
  --cat: var(--spirit);
}
.cat-dot {
  background: var(--cat, var(--subtle));
}
.table-card {
  overflow: hidden;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
th {
  height: 41px;
  background: #242a25;
  color: #acb5a8;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  text-align: right;
}
th,
td {
  padding: 0 15px;
}
th:first-child,
td:first-child {
  padding-left: 20px;
  text-align: left;
}
th:last-child,
td:last-child {
  padding-right: 20px;
}
th button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
th[aria-sort='descending'],
th[aria-sort='ascending'] {
  color: var(--gold);
}
.sort-mark {
  font: normal 12px var(--mono);
  opacity: 0.82;
}
.item-row {
  height: 64px;
  cursor: pointer;
  transition: background 0.12s;
}
.item-row:hover {
  background: #242c25;
}
.item-row.open {
  background: #283028;
}
.item-row td {
  border-top: 1px solid #313830;
  text-align: right;
  font: 500 13px var(--mono);
  white-space: nowrap;
}
.item-button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  min-width: 182px;
  width: 100%;
}
.item-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  flex: none;
  background: color-mix(in srgb, var(--cat, #adb4a5) 18%, #20241f);
  border: 1px solid color-mix(in srgb, var(--cat, #adb4a5) 32%, #2c3029);
  overflow: hidden;
}
.item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.item-heading {
  font: 650 15px/1.25 'DM Sans';
  color: #f1f1e9;
}
.subline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--subtle);
  font: 400 12px 'DM Sans';
  margin-top: 3px;
}
.badge {
  font: 550 11px 'DM Sans';
  border-radius: 3px;
  padding: 1px 4px;
  border: 1px solid #665f47;
  color: #deca94;
  white-space: nowrap;
}
.badge.uncertain {
  color: #bdc5bb;
  border-color: #596156;
}
.row-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border: solid #8f9a8b;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
  margin-left: 12px;
}
.open .row-chevron {
  transform: rotate(45deg);
}
.positive {
  color: var(--green);
}
.negative {
  color: var(--red);
}
.wpa-cell {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.whisker {
  width: 57px;
  height: 12px;
  position: relative;
  display: inline-block;
}
.whisker:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px dashed #778072;
}
.whisker i {
  position: absolute;
  height: 5px;
  top: 4px;
  border-inline: 1px solid currentColor;
  left: var(--lo);
  width: var(--len);
}
.whisker i:before {
  content: '';
  position: absolute;
  background: currentColor;
  height: 1px;
  top: 2px;
  inset-inline: 0;
}
.whisker b {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  top: 4px;
  left: var(--mid);
  transform: translateX(-50%);
  background: currentColor;
}
.table-message {
  padding: 30px 20px;
  color: var(--muted);
  text-align: center;
}
.pager {
  border-top: 1px solid var(--rule);
  padding: 12px 18px;
  color: var(--subtle);
  font-size: 13px;
}
.pager button,
#method-close,
.retry {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 3px 9px;
  color: var(--text);
}
.pager button:disabled {
  opacity: 0.38;
}
.footer {
  color: var(--subtle);
  font-size: 12px;
  padding: 22px 0 34px;
}
.drawer > td {
  padding: 0 !important;
  text-align: left !important;
  border-top: 1px solid var(--rule);
}
.detail {
  padding: 22px;
  background: #151b17;
  border-left: 2px solid var(--gold);
  white-space: normal;
}
.detail-title {
  font: normal 25px var(--serif);
  margin-bottom: 12px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
}
.plot,
.metrics,
.list-box {
  background: #1c241e;
  border: 1px solid #354033;
  border-radius: 6px;
  padding: 13px 15px;
}
.plot h4,
.list-box h4 {
  font-size: 14px;
  font-weight: 600;
}
.chart-wrap {
  height: 208px;
  width: 100%;
  min-width: 0;
  position: relative;
  margin-top: 7px;
}
.chart-wrap canvas {
  display: block;
  position: absolute;
  inset: 0;
}
.detail-layout > *,
.detail-side,
.plot {
  min-width: 0;
}
.detail-side {
  display: grid;
  gap: 8px;
  align-content: start;
}
.sold-panel {
  border: 1px solid #354033;
  border-radius: 6px;
  background: #1c241e;
}
.sold-panel > summary {
  cursor: pointer;
  color: var(--text);
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
}
.sold-panel .plot {
  border: 0;
  padding-top: 0;
}
.view-switch {
  display: flex;
  margin-left: auto;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2px;
}
.view-switch button {
  padding: 3px 8px;
}
.number-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 22px;
  margin: 0 0 12px;
}
.number-filters fieldset {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.number-filters legend {
  float: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.number-filters fieldset div,
.page-options {
  display: flex;
  align-items: center;
  gap: 6px;
}
.number-filters fieldset span {
  color: var(--subtle);
}
.number-filters input,
.page-options select {
  color: var(--text);
  background: var(--inset);
  border: 1px solid var(--rule);
  border-radius: 4px;
  height: 30px;
  padding: 2px 6px;
  font-size: 13px;
}
.number-filters input {
  width: 68px;
}
.number-filters input::placeholder {
  color: var(--subtle);
}
#range-error {
  color: var(--red);
  font-size: 13px;
}
.page-options {
  flex-wrap: wrap;
}
.page-options select {
  padding-right: 6px;
}
.table-scroll table.compact {
  table-layout: fixed;
  min-width: 0;
  width: 100%;
}
.compact th:first-child {
  width: 46%;
}
.compact th:nth-child(2) {
  width: 33%;
}
.compact .item-button {
  min-width: 0;
  white-space: normal;
}
.compact .item-button > span:last-child {
  min-width: 0;
}
.compact .item-heading {
  overflow-wrap: anywhere;
}
.compact .subline {
  flex-wrap: wrap;
}
.compact .ci-text {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.compact .detail {
  width: 100%;
  min-width: 0;
  position: static;
}
.plot details {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}
.plot summary {
  cursor: pointer;
}
.plot ol {
  padding: 8px 0;
  max-height: 120px;
  overflow: auto;
  list-style: none;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  align-content: space-evenly;
}
.metric dt {
  font-size: 12px;
  color: var(--muted);
}
.metric dd {
  font: 500 21px var(--mono);
  margin: 3px 0;
}
.metric .tag {
  font: 500 11px 'DM Sans';
  color: var(--gold);
  margin-left: 6px;
}
.metric-basis {
  display: block;
  margin-top: 2px;
  font:
    12px/1.4 'DM Sans',
    sans-serif;
  color: var(--muted);
}
.detail-lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.drawer-evidence {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 16px;
  font-size: 13px;
}
.drawer-evidence input[type='number'] {
  width: 76px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--inset);
  padding: 4px 6px;
}
.drawer-evidence input:disabled {
  opacity: 0.45;
}
.drawer .list-name {
  flex-wrap: wrap;
}
.list-box ol {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.list-box li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 5px 0;
  border-top: 1px solid #303a30;
}
.list-box li:first-child {
  border: 0;
}
.list-box small {
  color: var(--muted);
  font-size: 11px;
}
.detail-note {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 10px;
}
.list-name {
  display: flex;
  align-items: center;
  gap: 6px;
}
.list-name img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 3px;
}
.method-link {
  color: var(--gold);
}
dialog {
  width: min(92vw, 550px);
  border: 1px solid #5b6556;
  border-radius: 10px;
  color: var(--text);
  background: #202820;
  padding: 25px;
  box-shadow: 0 12px 60px #0009;
}
dialog::backdrop {
  background: #080b09bf;
}
dialog dl {
  margin-top: 20px;
}
dialog dt {
  font-weight: 650;
  font-size: 15px;
  color: #e5d9be;
}
dialog dd {
  margin: 3px 0 15px;
  color: #c1c8bb;
  font-size: 14px;
}
.retry {
  margin: 8px;
}
@media (max-width: 1050px) {
  .shell {
    padding-inline: 22px;
  }
  th,
  td {
    padding-inline: 10px;
  }
  .filter-main {
    gap: 18px;
    padding-inline: 16px;
  }
  .patches button {
    padding-inline: 7px;
  }
  .banner-art {
    width: 45%;
  }
  .wpa-cell {
    gap: 6px;
  }
  .whisker {
    width: 43px;
  }
}
@media (max-width: 800px) {
  .filter-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 24px;
    grid-template-areas: 'hero queue' 'patches patches' 'ranks ranks';
  }
  .filter-main > :nth-child(1) {
    grid-area: hero;
  }
  .filter-main > :nth-child(2) {
    grid-area: patches;
  }
  .filter-main > :nth-child(3) {
    grid-area: ranks;
  }
  .filter-main > :nth-child(4) {
    grid-area: queue;
  }
  .banner-art {
    width: 42%;
    opacity: 0.77;
  }
  .banner-art .art-wraith {
    display: none;
  }
  .banner-art .art-haze {
    right: 17%;
  }
  .banner-art .art-abrams {
    right: -27%;
  }
  .banner p {
    max-width: 70%;
  }
  .table-scroll table {
    min-width: 795px;
  }
  .detail {
    width: calc(100vw - 48px);
    position: sticky;
    left: 0;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-lists {
    grid-template-columns: 1fr 1fr;
  }
  .filter-foot {
    padding-inline: 16px;
  }
}
@media (max-width: 580px) {
  .shell {
    padding-inline: 13px;
  }
  .masthead {
    height: 54px;
  }
  .wordmark span {
    font-size: 23px;
  }
  .wordmark img {
    width: 28px;
  }
  .mast-left {
    gap: 18px;
  }
  .masthead nav {
    gap: 13px;
  }
  .masthead nav > * {
    font-size: 12px;
  }
  .local {
    display: none;
  }
  .banner {
    min-height: 155px;
    margin: 12px 0;
    padding: 18px;
  }
  .banner h1 {
    font-size: 49px;
  }
  .banner p {
    font-size: 13px;
    max-width: 64%;
  }
  .banner-art {
    width: 42%;
    opacity: 0.7;
  }
  .banner-art .art-abrams {
    display: none;
  }
  .banner-art .art-haze {
    height: 115%;
    bottom: -20%;
    right: -13%;
  }
  .dataset-meta {
    font-size: 10px;
  }
  .dataset-meta > span + span:before {
    margin: 0 6px;
  }
  .filter-main {
    gap: 11px 13px;
    padding: 13px;
  }
  .filter-foot {
    padding: 9px 13px;
  }
  .cohort-note {
    font-size: 11px;
  }
  .patches button {
    font-size: 11px;
    height: 29px;
    padding: 0 5px;
  }
  .patches {
    gap: 3px;
  }
  .patches button[aria-pressed='true']:before {
    display: none;
  }
  .results {
    margin-top: 21px;
  }
  .results-head h2 {
    font-size: 30px;
  }
  .search {
    width: 145px;
    height: 32px;
  }
  .facet-row {
    gap: 6px 8px;
    margin: 13px 0 10px;
  }
  .facets {
    gap: 2px;
  }
  .facets button {
    padding: 4px 6px;
    font-size: 12px;
  }
  .tiers {
    padding-left: 6px;
  }
  .tiers button {
    min-width: 23px;
  }
  .detail {
    width: calc(100vw - 30px);
    padding: 14px;
  }
  .detail-lists {
    grid-template-columns: 1fr;
  }
  .compact .item-row td,
  .compact th {
    padding-inline: 6px;
  }
  .compact th:first-child,
  .compact .item-row td:first-child {
    padding-left: 9px;
  }
  .compact th:last-child,
  .compact .item-row td:last-child {
    padding-right: 9px;
  }
  .compact .item-icon {
    width: 26px;
    height: 30px;
  }
  .compact .item-button {
    gap: 6px;
  }
  .compact .item-row td {
    font-size: 12px;
  }
  .compact .item-heading {
    font-size: 14px;
  }
  .compact .subline {
    font-size: 11px;
    gap: 4px;
  }
  .compact .wpa-cell {
    display: inline-flex;
    flex-wrap: wrap-reverse;
    gap: 4px;
  }
  .compact .whisker {
    width: 22px;
  }
  .number-filters {
    justify-content: space-between;
    gap: 8px;
  }
  .number-filters fieldset {
    display: block;
  }
  .number-filters legend {
    float: none;
    margin-bottom: 3px;
  }
  .view-switch button {
    padding: 3px 6px;
  }
  .view-switch {
    margin-left: 0;
  }
  .detail {
    overflow: hidden;
  }
  .footer {
    padding-bottom: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.table-scroll {
  position: relative;
  max-width: 100%;
}
@media (max-width: 580px) {
  .select-wrap select {
    padding-left: 8px;
    padding-right: 19px;
    font-size: 13px;
  }
  .select-wrap:after {
    right: 9px;
  }
}

.filters > .purchase-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.85fr) minmax(155px, 0.85fr);
  align-items: center;
  gap: 8px 24px;
  padding: 14px 20px;
  border-top: 1px solid var(--rule);
}
.filters > .purchase-filters > p {
  grid-column: 1/-1;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.buy-range legend span {
  font-size: 12px;
  color: var(--muted);
}
.menu-popover {
  display: inline-block;
  position: relative;
  max-width: 100%;
  font-size: 13px;
}
.menu-popover > summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: #232923;
  color: var(--text);
  padding: 7px 11px;
  width: max-content;
  font-weight: 600;
}
.menu-popover > summary::-webkit-details-marker,
.column-help summary::-webkit-details-marker {
  display: none;
}
.menu-popover > summary::after {
  content: '▾';
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
}
.menu-popover[open] {
  z-index: 20;
}
.menu-popover .menu-panel {
  position: absolute;
  top: calc(100% + 5px);
  left: var(--shift, 0px);
  width: min(260px, calc(100vw - 24px));
  z-index: 20;
  background: #222923;
  border: 1px solid #59624e;
  box-shadow: 0 8px 28px #0009;
  padding: 12px;
  border-radius: 6px;
  color: var(--text);
  max-height: min(360px, 63vh);
  overflow: auto;
  white-space: normal;
}
.menu-panel > div:has(.column-help) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: start;
}
.menu-panel label,
.analysis-panel .menu-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  min-height: 34px;
  margin: 0;
}
.menu-panel p,
.menu-panel small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 4px 0;
}
.menu-panel input[type='checkbox'] {
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  margin: 0;
}
.menu-panel .column-help {
  display: contents;
}
.column-help summary {
  cursor: pointer;
  list-style: none;
  align-self: center;
  text-align: center;
  color: var(--gold);
}
.column-help small {
  grid-column: 1/-1;
}
.menu-panel #enemy-options label[hidden] {
  display: none;
}
#enemy-options {
  max-height: 180px;
  overflow: auto;
}
#enemy-clear {
  margin-top: 8px;
  color: var(--gold);
}
.settings-menu {
  margin-left: auto;
}
.settings-menu label + strong {
  display: block;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.archetype-filter {
  min-width: 0;
  margin: 0;
  padding: 0 20px 14px;
}
.archetype-filter legend {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}
.archetype-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.archetype-options button {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 5px 9px;
  background: #232923;
  font-size: 13px;
  font-weight: 600;
}
.archetype-options button[aria-pressed='true'] {
  color: var(--gold);
  border-color: #89774e;
  background: #302e24;
}
.focus-count {
  align-self: center;
  padding-inline: 5px;
  color: var(--muted);
  font: 11px var(--mono);
}
.brief-button {
  color: var(--text);
  background: var(--inset);
  border: 1px solid var(--rule);
  border-radius: 5px;
  font-size: 12px;
  padding: 5px 9px;
}
.brief-button:disabled { opacity: .5; }
.brief-feedback { color: var(--muted); font-size: 11px; }
.brief-feedback:empty { display: none; }
#brief-dialog { width: min(90vw, 42rem); padding: 18px; background: var(--inset); color: var(--text); }
#brief-dialog textarea { width: 100%; height: min(52vh, 440px); margin: 12px 0; background: var(--inset); color: var(--text); }
.archetype-help {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 0;
}
.archetype-help summary {
  width: fit-content;
  cursor: pointer;
}
.archetype-help p {
  max-width: 75ch;
  margin-top: 4px;
  line-height: 1.5;
}
.item-tags {
  display: flex;
  flex-wrap: wrap;
  max-width: 320px;
  gap: 3px;
  padding: 4px 0 6px 52px;
}
.item-tag {
  --tag-accent: #e0c48b;
  border: 1px solid color-mix(in srgb, var(--tag-accent) 42%, #27303a);
  border-radius: 4px;
  color: var(--tag-accent);
  background: #222a31;
  padding: 2px 5px;
  font: 600 11px/1.25 'DM Sans', sans-serif;
  cursor: help;
}
.item-tag[data-tag='strong_early'] { --tag-accent: #97d4b6; }
.item-tag[data-tag='strong_late'],
.item-tag[data-tag='better_ahead'] { --tag-accent: #a9cfef; }
.item-tag[data-tag='timing_cliff'] { --tag-accent: #e4aeae; }
.item-tag:focus-visible,
.item-tag:hover {
  border-color: var(--tag-accent);
}
.hide-item-tags .item-tags {
  display: none;
}
#item-tag-evidence {
  position: fixed;
  z-index: 40;
  max-width: min(320px, calc(100vw - 16px));
  padding: 9px 12px;
  border: 1px solid #69737b;
  border-radius: 5px;
  background: #242c33;
  box-shadow: 0 5px 18px #0009;
  color: #edf1f1;
  font: 500 13px/1.5 'DM Sans', sans-serif;
  overflow-wrap: anywhere;
}
.compact .item-tags { padding-left: 0; }
.upgrade-path {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
@media (max-width: 767px) {
  .archetype-filter { padding: 0 12px 12px; }
  .compact .item-tags { gap: 4px; }
  .compact .item-tag { min-height: 24px; white-space: normal; }
  .filters > .purchase-filters {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
    gap: 8px;
  }
  .filters > .purchase-filters .buy-range {
    grid-column: 1/-1;
  }
  .compact.with-comparison,
  .compact.with-comparison thead,
  .compact.with-comparison tbody,
  .compact.with-comparison tr.drawer,
  .compact.with-comparison tr.drawer > td {
    display: block;
    width: 100%;
  }
  .compact.with-comparison tr.item-row,
  .compact.with-comparison thead tr {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
  .compact.with-comparison tr.item-row > td,
  .compact.with-comparison thead tr > th {
    width: auto;
    min-width: 0;
  }
  .compact.with-comparison tr.item-row > td:last-child,
  .compact.with-comparison th:last-child {
    grid-column: 3;
    grid-row: 1;
  }
  .compact.with-comparison .comparison-cell,
  .compact.with-comparison .comparison-head {
    grid-row: 2;
    white-space: normal;
  }
  .compact.with-comparison .comparison-cell {
    padding: 3px 4px 8px;
  }
  .compact.with-comparison .comparison-cell::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    line-height: 1.2;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .compact.with-comparison th button {
    white-space: normal;
  }
}
