/* ============================================================
   docs.css — /zh-CN/docs, /zh-CN/models, /zh-CN/rankings
   Dark clone components. Reuses theme.css tokens only.
   ============================================================ */

/* ---------- shared: filter chips ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--p-text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: var(--s-2) var(--s-3);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.chip:hover { background: var(--p-base-300); color: var(--p-base-content); }

.chip.is-active {
  background: var(--p-surface-3);
  border-color: var(--p-border-default);
  color: var(--p-base-content);
}

.chip__count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--p-text-dim);
}

.chip.is-active .chip__count { color: var(--p-text-muted); }

.chip svg { width: 14px; height: 14px; flex-shrink: 0; }

/* segmented toggle (用量 / 占比 %, 7D / 30D) */
.seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--p-base-200);
  border: 1px solid var(--p-border-default);
  border-radius: var(--radius-control);
  padding: 2px;
}

.seg__btn {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--p-text-muted);
  border-radius: var(--radius-lg);
  padding: var(--s-1) var(--s-3);
  white-space: nowrap;
}

.seg__btn.is-active {
  background: var(--p-surface-3);
  color: var(--p-base-content);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

/* ---------- shared: card surface ---------- */
.panel {
  background: var(--p-surface-panel);
  border-radius: var(--radius-surface);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

/* ---------- shared: table scroll (inside card only) ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-surface);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  background: var(--p-surface-panel);
}

.table-scroll .price-table { min-width: 560px; }
.table-scroll .price-table th:first-child,
.table-scroll .price-table td:first-child { padding-left: var(--s-5); }

/* ============================================================
   DOCS page
   ============================================================ */

/* sub-nav tabs under the global header */
.docs-subnav {
  border-bottom: 1px solid var(--p-border-default);
  background: var(--p-base-100);
}

.docs-subnav__inner {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  overflow-x: auto;
  scrollbar-width: none;
}

.docs-subnav__link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--p-text-muted);
  padding: var(--s-3) var(--s-3);
  white-space: nowrap;
}

.docs-subnav__link:hover { color: var(--p-base-content); }

.docs-subnav__link.is-active { color: var(--p-base-content); }
.docs-subnav__link.is-active::after {
  content: "";
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: -1px;
  height: 2px;
  background: var(--p-primary);
  border-radius: 2px 2px 0 0;
}

/* three-column layout: left sidebar / article / on-this-page */
.docs-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 220px;
  gap: var(--s-10) var(--s-8);
  align-items: start;
  padding-top: var(--s-8);
  padding-bottom: var(--s-16);
}

.docs-side {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.docs-side__nav { display: flex; flex-direction: column; gap: var(--s-1); }

.docs-side__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--p-text-muted);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius-lg);
  line-height: 1.45;
}

.docs-side__link:hover { color: var(--p-base-content); background: var(--p-base-200); }

.docs-side__link.is-active {
  color: var(--p-primary);
  background: var(--p-accent-dim);
  font-weight: 500;
}

.docs-side__group {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--p-border-default);
}

.docs-side__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--p-text-dim);
  padding: 0 var(--s-3);
  margin-bottom: var(--s-2);
}

/* right "ON THIS PAGE" toc */
.docs-toc {
  position: sticky;
  top: 88px;
  padding: var(--s-5);
}

.docs-toc__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--p-text-dim);
  margin-bottom: var(--s-3);
}

.docs-toc__list { display: flex; flex-direction: column; gap: 2px; }

.docs-toc__link {
  display: block;
  font-size: var(--text-xs);
  color: var(--p-text-muted);
  padding: var(--s-1) var(--s-2);
  border-radius: var(--radius-md);
  line-height: 1.5;
}

.docs-toc__link:hover { color: var(--p-base-content); background: var(--p-base-200); }
.docs-toc__link.is-active { color: var(--p-primary); background: var(--p-accent-dim); }
.docs-toc__link--sub { padding-left: var(--s-5); }

/* article */
.docs-article { min-width: 0; max-width: 760px; }

.docs-article__head {
  padding-bottom: var(--s-8);
  margin-bottom: var(--s-8);
  border-bottom: 1px solid var(--p-border-default);
}

.docs-article__crumb {
  display: inline-flex;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--p-text-muted);
  background: var(--p-base-300);
  border-radius: 9999px;
  padding: 2px var(--s-3);
  margin-bottom: var(--s-4);
}

.docs-article__titlerow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.docs-article__title {
  font-size: var(--text-5xl);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.docs-article__sub {
  font-size: var(--text-lg);
  color: var(--p-text-secondary);
  line-height: 1.6;
  margin-top: var(--s-4);
  max-width: 60ch;
}

.copy-page {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--text-sm);
  color: var(--p-text-secondary);
  background: var(--p-base-200);
  border: 1px solid var(--p-border-default);
  border-radius: var(--radius-control);
  padding: var(--s-2) var(--s-3);
  white-space: nowrap;
}

.copy-page svg { width: 14px; height: 14px; }

/* two path cards */
.docs-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.docs-path {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  transition: box-shadow .15s ease;
}

.docs-path:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }

.docs-path__icons { display: flex; gap: var(--s-2); align-items: center; min-height: 24px; }
.docs-path__icons img { width: 22px; height: 22px; }
.docs-path__icons .mono-glyph {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  color: var(--p-text-secondary);
}

.docs-path__name {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  font-size: var(--text-lg);
  font-weight: 600;
}

.docs-path__name .arrow { margin-left: auto; color: var(--p-text-dim); }

.docs-path__badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--p-primary);
  background: var(--p-accent-dim);
  border: 1px solid var(--p-accent-glow);
  border-radius: 9999px;
  padding: 1px var(--s-2);
}

.docs-path__desc { font-size: var(--text-sm); color: var(--p-text-muted); line-height: 1.6; }

.docs-path__foot {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--p-border-default);
  font-size: var(--text-xs);
  color: var(--p-text-dim);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.docs-studio-note {
  font-size: var(--text-sm);
  color: var(--p-text-dim);
  margin-bottom: var(--s-8);
}

.docs-studio-note a { color: var(--p-info); }
.docs-studio-note a:hover { text-decoration: underline; }

/* prose */
.doc-prose { font-size: var(--text-base); color: var(--p-text-secondary); line-height: 1.7; }
.doc-prose > p { margin-bottom: var(--s-4); }
.doc-prose h2 {
  font-size: var(--text-2xl);
  color: var(--p-base-content);
  margin-top: var(--s-12);
  margin-bottom: var(--s-4);
  scroll-margin-top: 88px;
}
.doc-prose h3 {
  font-size: var(--text-xl);
  color: var(--p-base-content);
  margin-top: var(--s-8);
  margin-bottom: var(--s-3);
  scroll-margin-top: 88px;
}
.doc-prose a { color: var(--p-info); }
.doc-prose a:hover { text-decoration: underline; }
.doc-prose strong { color: var(--p-base-content); font-weight: 600; }

.doc-prose code {
  font-family: var(--font-mono);
  font-size: .9em;
  color: var(--p-accent-bright);
  background: var(--p-base-300);
  border-radius: var(--radius-sm);
  padding: 1px 5px;
}

.doc-prose ul { margin: 0 0 var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.doc-prose ul li { position: relative; padding-left: var(--s-5); }
.doc-prose ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .6em;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--p-text-dim);
}

.doc-prose .callout {
  background: rgba(255, 197, 51, .07);
  border: 1px solid rgba(255, 197, 51, .3);
  border-radius: var(--radius-xl);
  padding: var(--s-3) var(--s-4);
  font-size: var(--text-sm);
  margin-bottom: var(--s-4);
}

/* code blocks */
.codeblock {
  background: var(--p-base-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  margin-bottom: var(--s-4);
  overflow: hidden;
}

.codeblock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-4);
  border-bottom: 1px solid var(--p-border-default);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--p-text-dim);
}

.codeblock pre {
  overflow-x: auto;
  padding: var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--p-text-secondary);
  tab-size: 2;
}

.codeblock pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.codeblock .c-comment { color: var(--p-text-dim); }
.codeblock .c-str { color: var(--p-success); }
.codeblock .c-key { color: var(--p-info); }

/* endpoint table section */
.doc-endpoints { margin-top: var(--s-4); }
.doc-endpoints .price-table td .mono { font-size: var(--text-xs); }

/* next page footer nav */
.docs-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-top: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid var(--p-border-default);
}

.docs-next__card {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-4) var(--s-5);
  transition: box-shadow .15s ease;
}

.docs-next__card:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.docs-next__card--next { text-align: right; align-items: flex-end; }
.docs-next__label { font-size: var(--text-xs); color: var(--p-text-dim); }
.docs-next__name { font-size: var(--text-base); font-weight: 600; color: var(--p-base-content); }

/* ============================================================
   MODELS page
   ============================================================ */
.models-main { padding-bottom: var(--s-16); }

.models-head {
  padding-top: var(--s-12);
  padding-bottom: var(--s-5);
}

.models-title {
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-2);
}

.models-sub {
  font-size: var(--text-base);
  color: var(--p-text-muted);
  margin-bottom: var(--s-6);
  max-width: 70ch;
}

.models-filter {
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--p-border-default);
  margin-bottom: var(--s-6);
}

.models-list { display: flex; flex-direction: column; gap: var(--s-4); }

.model-card {
  padding: var(--s-5) var(--s-6);
  scroll-margin-top: 88px;
  transition: box-shadow .15s ease;
}

.model-card:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }

.model-card__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-2);
}

.model-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--p-base-300);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
}

.model-card__icon img { width: 22px; height: 22px; object-fit: contain; }

.model-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.model-card__by {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--p-text-dim);
}

.model-card__desc {
  font-size: var(--text-sm);
  color: var(--p-text-muted);
  line-height: 1.6;
  margin-bottom: var(--s-3);
  max-width: 90ch;
}

.model-card__endpoints { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.ep-chip {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  flex-wrap: wrap;
  background: var(--p-base-200);
  border: 1px solid var(--p-border-default);
  border-radius: var(--radius-control);
  padding: var(--s-2) var(--s-3);
  font-size: var(--text-xs);
  color: var(--p-text-secondary);
  transition: border-color .15s ease;
}

.ep-chip:hover { border-color: var(--p-border-strong); }

.ep-chip__label { font-weight: 600; color: var(--p-base-content); white-space: nowrap; }

.ep-chip__price { font-family: var(--font-mono); color: var(--p-text-muted); white-space: nowrap; }
.ep-chip__price .now { color: var(--p-primary); font-weight: 600; }
.ep-chip__price .strike { color: var(--p-text-dim); text-decoration: line-through; margin-right: 4px; }

.models-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-top: var(--s-8);
  padding: var(--s-5) var(--s-6);
}

.models-alt__text { font-size: var(--text-base); color: var(--p-text-secondary); }
.models-alt__text strong { color: var(--p-base-content); }

/* ============================================================
   RANKINGS page
   ============================================================ */
.rank-main { padding-bottom: var(--s-16); }

.rank-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
  padding-top: var(--s-12);
  padding-bottom: var(--s-6);
}

.rank-title {
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-2);
}

.rank-sub { font-size: var(--text-sm); color: var(--p-text-muted); }
.rank-sub a { color: var(--p-base-content); text-decoration: underline; text-underline-offset: 3px; }
.rank-sub a:hover { color: var(--p-primary); }

.rank-stats { display: flex; gap: var(--s-8); flex-wrap: wrap; }

.rank-stat__label {
  display: block;
  font-size: var(--text-xs);
  color: var(--p-text-dim);
  margin-bottom: 2px;
}

.rank-stat__value {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--p-base-content);
}

.rank-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--p-border-default);
}

.rank-toolbar__toggles { display: flex; gap: var(--s-2); }

/* chart */
.rank-chart { padding: var(--s-6) 0 var(--s-2); }
.rank-chart svg { display: block; width: 100%; height: auto; }
.rank-chart__axis { font-family: var(--font-mono); font-size: 10px; fill: var(--p-text-dim); }
.rank-chart__grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }

/* leaderboard */
.rank-board { padding-top: var(--s-8); }

.rank-board__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--p-border-default);
  margin-bottom: var(--s-2);
}

.rank-board__title { font-size: var(--text-lg); font-weight: 600; }
.rank-board__sub { font-size: var(--text-sm); color: var(--p-text-muted); margin-top: 2px; }
.rank-board__count { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--p-text-dim); white-space: nowrap; }

.rank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--s-10);
}

.rank-row {
  display: grid;
  grid-template-columns: 28px 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--p-border-default);
}

.rank-row__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--p-text-dim);
}

.rank-row__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--p-base-300);
  border-radius: var(--radius-lg);
}

.rank-row__icon img { width: 18px; height: 18px; object-fit: contain; }

.rank-row__name {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--p-base-content);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.rank-row__name:hover { color: var(--p-primary); }

.rank-row__meta {
  display: block;
  font-size: var(--text-xs);
  color: var(--p-text-dim);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row__meta .mono { font-family: var(--font-mono); }

.rank-row__credits { text-align: right; }

.rank-row__value {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--p-base-content);
  white-space: nowrap;
}

.rank-row__trend { display: block; font-family: var(--font-mono); font-size: var(--text-xs); margin-top: 2px; }
.rank-row__trend--up { color: var(--p-success); }
.rank-row__trend--down { color: var(--p-error); }

.rank-more { display: flex; justify-content: center; padding-top: var(--s-6); }

/* workflow recommendations */
.rank-workflows { padding-top: var(--s-12); }

.rank-workflows__head { margin-bottom: var(--s-5); }
.rank-workflows__title { font-size: var(--text-lg); font-weight: 600; }
.rank-workflows__sub { font-size: var(--text-sm); color: var(--p-text-muted); margin-top: 2px; }

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.workflow-card { padding: var(--s-5) var(--s-6); }

.workflow-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.workflow-card__title { font-size: var(--text-base); font-weight: 600; }

.workflow-card__share {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--p-text-dim);
  white-space: nowrap;
}

.workflow-card__desc {
  font-size: var(--text-xs);
  color: var(--p-text-muted);
  margin-top: 2px;
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--p-border-default);
}

.wf-row {
  display: grid;
  grid-template-columns: 20px 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) 0;
}

.wf-row + .wf-row { border-top: 1px solid rgba(255, 255, 255, .04); }

.wf-row__num { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--p-text-dim); }

.wf-row__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--p-base-300);
  border-radius: var(--radius-md);
}

.wf-row__icon img { width: 15px; height: 15px; object-fit: contain; }

.wf-row__name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--p-base-content);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.wf-row__name:hover { color: var(--p-primary); }

.wf-row__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--p-text-dim);
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wf-row__stats { text-align: right; }

.wf-row__pct { display: block; font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 600; color: var(--p-base-content); }
.wf-row__credits { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--p-text-dim); margin-top: 1px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1279px) {
  .docs-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .docs-toc { display: none; }
}

@media (max-width: 1023px) {
  /* left sidebar collapses into a top block */
  .docs-layout { display: block; padding-top: var(--s-5); }
  .docs-side {
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: var(--s-8);
    padding: var(--s-4);
    background: var(--p-surface-panel);
    border-radius: var(--radius-surface);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  }
  .docs-side__nav { flex-direction: row; flex-wrap: wrap; gap: var(--s-1); }
  .docs-side__group {
    margin-top: var(--s-3);
    padding-top: var(--s-3);
    width: 100%;
  }
  .docs-side__label { margin-bottom: var(--s-1); }
  .docs-side__group .docs-side__nav { display: flex; }
  .docs-article { max-width: none; }
  .docs-article__title { font-size: var(--text-4xl); }
  .rank-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .docs-paths { grid-template-columns: 1fr; }
  .docs-next { grid-template-columns: 1fr; }
  .docs-next__card--next { text-align: left; align-items: flex-start; }
  .docs-article__title { font-size: var(--text-3xl); }
  .model-card { padding: var(--s-4) var(--s-4); }
  .model-card__by { width: 100%; padding-left: 52px; margin-top: calc(-1 * var(--s-1)); }
  .rank-head { align-items: flex-start; flex-direction: column; }
  .rank-stats { gap: var(--s-5); }
  .rank-row { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .rank-row__icon { display: none; }
  .wf-row { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .wf-row__icon { display: none; }
  .models-title, .rank-title { font-size: var(--text-2xl); }
}

@media (max-width: 479px) {
  .rank-row__meta { white-space: normal; }
  .ep-chip { width: 100%; justify-content: space-between; }
  .model-card__by { padding-left: 0; }
}