:root {
  color-scheme: light;
  --logo-ink: #ffffff; --logo-anthropic: #c2410c; --logo-openai: #0f766e; --logo-google: #2563eb; --logo-bytedance: #1d4ed8; --logo-kuaishou: #ea580c; --logo-amazon: #b45309; --logo-microsoft: #0369a1; --logo-openrouter: #6d28d9; --logo-fal: #7c3aed; --logo-kie: #0891b2; --logo-minimax: #be123c; --logo-other: #475569;

  --bg: #f7f8f8; --surface: #ffffff; --ink: #14181b; --muted: #586369;
  --line: #d5dddd; --accent: #0d7a6f; --accent-bg: #e5f2ef; --on-accent: #ffffff;
  --llm: #3d5a80; --image: #a8590c; --video: #b5345e; --audio: #6b4bb5;
  --warning: #865400; --warning-bg: #fff2d8; --danger: #a52d39; --danger-bg: #fcebed;
  --focus: #0d7a6f; --clear: transparent;
  --body-font: 'Inter', system-ui, sans-serif;
  --mono-font: 'JetBrains Mono', ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

  --logo-ink: #ffffff; --logo-anthropic: #c2410c; --logo-openai: #0f766e; --logo-google: #2563eb; --logo-bytedance: #1d4ed8; --logo-kuaishou: #ea580c; --logo-amazon: #b45309; --logo-microsoft: #0369a1; --logo-openrouter: #6d28d9; --logo-fal: #7c3aed; --logo-kie: #0891b2; --logo-minimax: #be123c; --logo-other: #475569;

    --bg: #111719; --surface: #182124; --ink: #eef3f3; --muted: #a3b4ba;
    --line: #34464b; --accent: #3cc7b5; --accent-bg: #173c36; --on-accent: #111719;
    --llm: #9cbde9; --image: #f2b36d; --video: #f398b6; --audio: #c4a9f5;
    --warning: #f2c66c; --warning-bg: #3c3018; --danger: #ffa2aa; --danger-bg: #3c2229;
    --focus: #3cc7b5;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;

  --logo-ink: #ffffff; --logo-anthropic: #c2410c; --logo-openai: #0f766e; --logo-google: #2563eb; --logo-bytedance: #1d4ed8; --logo-kuaishou: #ea580c; --logo-amazon: #b45309; --logo-microsoft: #0369a1; --logo-openrouter: #6d28d9; --logo-fal: #7c3aed; --logo-kie: #0891b2; --logo-minimax: #be123c; --logo-other: #475569;
  --bg: #111719; --surface: #182124; --ink: #eef3f3; --muted: #a3b4ba;
  --line: #34464b; --accent: #3cc7b5; --accent-bg: #173c36; --on-accent: #111719;
  --llm: #9cbde9; --image: #f2b36d; --video: #f398b6; --audio: #c4a9f5;
  --warning: #f2c66c; --warning-bg: #3c3018; --danger: #ffa2aa; --danger-bg: #3c2229;
  --focus: #3cc7b5;
}
* { box-sizing: border-box; font-variant-numeric: tabular-nums; }
html { background: var(--bg); color: var(--ink); scroll-padding-top: 24px; }
body { margin: 0; font: 16px/1.65 var(--body-font); }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
button, .button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font: 500 14px/1.5 var(--body-font); cursor: pointer; }
button:hover, .button:hover { border-color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.primary { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
h1, h2, h3, p, ul, ol, dl, pre { margin: 0; }
h1 { font-size: 36px; line-height: 1.16; letter-spacing: -0.04em; max-width: 960px; }
h2 { font-size: 22px; line-height: 1.4; letter-spacing: -0.02em; }
h3 { font-size: 18px; line-height: 1.5; }
p + p { margin-top: 8px; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 8px; }
.container { width: min(1168px, 100%); margin-inline: auto; padding-inline: 32px; }
.site-header { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -0.04em; text-decoration: none; }
.brand-mark { margin-right: 8px; color: var(--accent); font-family: var(--mono-font); }
.brand-dot { color: var(--accent); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
.site-header nav a { font-size: 14px; color: var(--muted); text-decoration: none; padding-block: 8px; }
.site-header nav a:hover { color: var(--accent); }
.site-header button { font-size: 12px; }
.skip { position: absolute; top: 8px; left: 16px; padding: 12px; transform: translateY(-200%); background: var(--surface); z-index: 10; }
.skip:focus { transform: translateY(0); }
main { min-height: 60vh; padding-bottom: 48px; }
.page-heading { padding-block: 48px 32px; }
.page-heading > * + * { margin-top: 16px; }
.eyebrow, .group-label { font: 500 12px/1.6 var(--mono-font); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); max-width: 800px; }
.meta { color: var(--muted); font-size: 12px; }
.mono, time, .stat { font-family: var(--mono-font); }
.stat { color: var(--accent); font-size: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters button { background: var(--clear); border-color: var(--clear); }
.filters button[aria-pressed="true"] { background: var(--accent-bg); color: var(--accent); border-color: var(--accent); }
.filter-message:empty, [data-copy-status]:empty { display: none; }
[data-filter-status] { padding-block: 8px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 256px; gap: 48px; margin-top: 32px; }
.home-grid > *, .release-body { min-width: 0; }
.release-group + .release-group { margin-top: 32px; }
.group-label { padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.release { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 16px; align-items: start; padding-block: 24px; border-bottom: 1px solid var(--line); }
.release-date { color: var(--muted); font-size: 12px; padding-top: 4px; }
.release-heading { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.release h3 a { color: var(--ink); text-decoration: none; }
.release h3 a:hover { color: var(--accent); text-decoration: underline; }
.release-body p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.source-link { font-size: 12px; display: inline-block; margin-top: 8px; padding-block: 4px; }
.modality { display: inline-block; font: 500 12px/1.5 var(--mono-font); padding: 4px 8px; border: 1px solid currentColor; color: var(--accent); border-radius: 4px; }
[data-tone="llm"] { color: var(--llm); } [data-tone="image"] { color: var(--image); } [data-tone="video"] { color: var(--video); } [data-tone="audio"], [data-tone="music"] { color: var(--audio); }
.status { display: inline-block; color: var(--muted); font-size: 12px; padding: 4px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow-wrap: anywhere; }
[data-state="available"] { color: var(--accent); background: var(--accent-bg); border-color: var(--accent); }
[data-state="waitlist"], [data-state="partial"] { color: var(--warning); background: var(--warning-bg); border-color: var(--warning); }
[data-state="unavailable"] { color: var(--danger); background: var(--danger-bg); border-color: var(--danger); }
.upcoming { border-top: 2px solid var(--accent); padding-top: 16px; }
.upcoming h2 { margin-top: 8px; } .upcoming article { padding-block: 24px; border-bottom: 1px solid var(--line); } .upcoming article > * + * { margin-top: 8px; } .upcoming article p, .upcoming article a { font-size: 14px; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 24px; color: var(--muted); font-size: 12px; }
.breadcrumbs + .page-heading { padding-top: 24px; }
.key-facts { max-width: 880px; }
sup { font: 500 12px/1 var(--mono-font); margin-left: 4px; }
sup a { display: inline-block; padding: 4px; }
.availability { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.availability > div { padding: 16px; border-right: 1px solid var(--line); }
.availability > div:first-child { padding-left: 0; } .availability > div:last-child { border-right: 0; }
dt { color: var(--muted); font-size: 12px; font-weight: 500; } dd { margin: 4px 0 0; font-size: 14px; }
.availability .status { margin-right: 4px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.section { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 24px; }
.section > h2 { margin-bottom: 16px; }
.section > p + a { display: inline-block; margin-top: 12px; }
.diff-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.diff-head { color: var(--muted); font-size: 12px; }
.change { color: var(--ink); } [data-change="down"] { color: var(--ink); } [data-change="same"] { color: var(--muted); }
summary { cursor: pointer; padding-block: 16px; font-weight: 500; } details p { padding-bottom: 16px; } .faq details { border-bottom: 1px solid var(--line); }
.channels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.channel { border-top: 2px solid var(--line); padding-top: 16px; }
.channel[data-channel-type="official"] { border-top-color: var(--accent); }
.channel header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.channel dl > div, .specs > div { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 16px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.channel dl > div { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.channel .meta { margin-top: 12px; } .third-party { color: var(--danger); background: var(--danger-bg); padding: 12px; margin-bottom: 12px; font-size: 14px; }
.fit-grid, .compare-intro { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.compare-intro > div { border-left: 2px solid var(--accent); padding-left: 16px; }
.comparison { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.comparison th, .comparison td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 16px 12px; }
.comparison thead { background: var(--surface); } .comparison th:first-child { width: 28%; } .comparison tbody th { font-weight: 500; color: var(--muted); }
.choice { padding-block: 16px; border-bottom: 1px solid var(--line); } .pick { color: var(--accent); font-weight: 600; margin-block: 8px; }
.related { display: flex; flex-wrap: wrap; gap: 12px 32px; } .related li + li { margin-top: 0; }
.sources ol { list-style: none; padding: 0; } .sources li { padding: 12px; border-bottom: 1px solid var(--line); font-size: 14px; scroll-margin-top: 24px; } .sources li:target { background: var(--accent-bg); }
.correction { margin-top: 24px; font-size: 14px; color: var(--muted); }
.ai-summary { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.8 var(--mono-font); padding: 16px; border: 1px solid var(--accent); margin-top: 24px; background: var(--surface); }
.prose { max-width: 800px; margin-inline: auto; } .prose > * + * { margin-top: 24px; } .prose img { max-width: 100%; height: auto; } .prose pre { white-space: pre-wrap; overflow-wrap: anywhere; } .prose table { width: 100%; table-layout: fixed; }
.site-footer { border-top: 2px solid var(--ink); padding-block: 32px 48px; font-size: 12px; color: var(--muted); } .footer-brand { color: var(--ink); font-size: 16px; font-weight: 600; } .footer-brand span { font-size: 12px; margin-left: 8px; } .site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; }
h1, h2, h3, p, li, dd, th, td, .diff-row > *, .breadcrumbs { overflow-wrap: anywhere; }
@media (max-width: 800px) { .home-grid { grid-template-columns: minmax(0,1fr); gap: 32px; } .site-header { gap: 16px; } .site-header nav { order: 3; width: 100%; margin: 0; } .site-header button { margin-left: auto; } h1 { font-size: 36px; } }
@media (max-width: 640px) { .channels { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 480px) {
  .container { padding-inline: 16px; } .site-header { padding-block: 16px; gap: 8px; } .brand { font-size: 18px; } .site-header button { padding-inline: 8px; } .site-header nav { justify-content: space-between; gap: 8px; }
  .page-heading { padding-block: 32px 24px; } h1 { font-size: 28px; } h2 { font-size: 22px; }
  .release { grid-template-columns: 56px minmax(0,1fr); gap: 8px 12px; } .release > .status { grid-column: 2; justify-self: start; }
  .release h3 { font-size: 16px; } .availability, .channels, .fit-grid { grid-template-columns: minmax(0,1fr); gap: 0; } .availability > div { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); } .availability > div:last-child { border-bottom: 0; }
  .channel + .channel { margin-top: 24px; } .compare-intro { gap: 16px; } .compare-intro h2 { font-size: 16px; }
  .comparison { font-size: 12px; } .comparison th, .comparison td { padding: 12px 4px; }
  .diff-row { gap: 8px; font-size: 12px; } .diff-head { font-size: 12px; } .section { margin-top: 32px; }
}
/* CONTRACT v2: shared cards, tables, progressive enhancement. */
[hidden] { display: none !important; }
input, select { max-width: 100%; min-height: 44px; font: 14px/1.5 var(--body-font); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 8px; }
input[type="checkbox"] { min-height: 0; accent-color: var(--accent); }
.filters label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.filters > div { display: flex; flex-wrap: wrap; gap: 8px; }
fieldset { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); }
legend, h4 { font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.card { min-width: 0; padding: 16px; border: 1px solid var(--line); background: var(--surface); margin-top: 16px; }
.card > * + *, .code-panel + .code-panel { margin-top: 12px; }
.keybar { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 16px; padding-block: 16px; border-block: 1px solid var(--line); }
.verdict { border-left: 4px solid var(--accent); padding: 16px; background: var(--accent-bg); }
.toc { margin-block: 24px; padding-inline: 16px; border: 1px solid var(--line); }
.toc ul { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0 0 16px; list-style: none; font-size: 14px; }
.toc li + li { margin: 0; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; margin-block: 16px; }
.table-scroll .comparison { min-width: 640px; table-layout: auto; }
caption { text-align: left; padding-block: 12px; font-weight: 600; }
.sortable th:first-child { width: auto; }
.sortable th button { width: 100%; text-align: left; }
.sortable [aria-sort="ascending"] button::after { content: ' ↑'; }
.sortable [aria-sort="descending"] button::after { content: ' ↓'; }
.self { background: var(--accent-bg); }
.video { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--surface); margin-bottom: 12px; }
.video img, .video iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video button { position: absolute; inset: 0; margin: auto; width: max-content; height: 48px; background: var(--accent); color: var(--on-accent); }
.code-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; background: var(--bg); border: 1px solid var(--line); font: 14px/1.6 var(--mono-font); margin-block: 8px; }
.code-panel { min-width: 0; }
[data-tab-buttons] { display: flex; gap: 8px; margin-top: 16px; }
[data-code-tab][aria-selected="true"] { background: var(--accent-bg); border-color: var(--accent); }
.choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
[data-choice-column="either"] { grid-column: 1 / -1; }
.choice-column:empty { display: none; }
@media (max-width: 640px) { .cards, .choices { grid-template-columns: minmax(0,1fr); } }

/* Model v3: evidence-led compact layout. No content is hidden by CSS. */
.model-page { --toc-offset: calc(env(safe-area-inset-top, 0px) + 64px); }
.model-page .model-name { font-family: var(--body-font); font-size: 36px; }
.model-hero { padding-block: 24px; }
.hero-top { display: flex; align-items: flex-start; gap: 24px; justify-content: space-between; }
.hero-title { min-width: 0; flex: 1; }
.title-lockup, .hero-meta, .model-id, .platform-label { display: flex; align-items: center; gap: 8px; }
.title-lockup { margin-block: 8px 12px; }
.hero-meta { flex-wrap: wrap; margin-top: 16px; }
.model-id { flex-wrap: wrap; min-width: 0; padding: 4px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13px; }
.model-id code, code { font-family: var(--mono-font); overflow-wrap: anywhere; }
.model-id button { padding: 4px 8px; }
.hero-top .actions { flex: 0 1 auto; max-width: 52%; flex-direction: column; align-items: flex-end; gap: 4px; }
.model-ctas { display: flex; flex-wrap: wrap; align-items: center; max-width: 100%; gap: 8px; }
.model-ctas .button { white-space: nowrap; }
.hero-top [data-copy-ai] { min-height: 0; padding: 4px; border: 0; background: var(--clear); color: var(--muted); font-size: 13px; text-decoration: underline; }
.model-hero .keybar, .model-stats, .model-hero .caps, .model-hero .verdict { margin-top: 24px; }
.vendor-logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; background: var(--logo-other); color: var(--logo-ink); font-size: 16px; font-weight: 700; }
.title-lockup .vendor-logo { flex-basis: 44px; width: 44px; height: 44px; font-size: 22px; }
.model-stats { display: grid; align-items: start; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.stat-card, .scorecard { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.stat-card .stat-label { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: normal; margin: 0; }
.stat-card .stat-value, .score-value { font-size: 28px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.stat-unit { color: var(--muted); font-size: 12px; }
.stat-card p + p { margin: 0; }
.row-source { font-size: 12px; display: inline-block; padding-block: 4px; }
.stat-card .stat-value[data-display="text"] { font-size: 16px; line-height: 1.5; font-weight: 600; }
.caps { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.caps li { display: flex; align-items: center; gap: 4px; margin: 0; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 12px; position: relative; }
.caps svg { flex-shrink: 0; }
.caps [data-cap^="no_"] { color: var(--muted); }
/* Support quotes remain accessible without adding a paragraph to every chip. */
.cap-evidence { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.model-hero .verdict { border-radius: 10px; font-size: 14px; }
.model-hero .verdict strong { color: var(--accent); }
.model-hero .verdict p { margin-top: 4px; max-width: 72ch; }
.availability-inline { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; gap: 16px; margin-top: 16px; }
.availability-inline:empty { display: none; }
.availability-badge { flex: 0 1 auto; min-width: 0; font-size: 12px; }
.availability-badge summary { padding-block: 4px; }
.availability-badge .status { padding: 4px 0; }
.availability-badge p { padding: 8px 0; }
.model-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items: start; }
.model-content { min-width: 0; }
.model-toc { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-block: 1px solid var(--line); min-width: 0; }
.model-toc:not(:has(li)) { display: none; }
.model-toc ul { display: flex; gap: 4px; overflow-x: auto; list-style: none; padding: 4px 0; margin: 0; }
.model-toc li { flex-shrink: 0; margin: 0; }
.model-toc a { display: block; padding: 12px 8px; font-size: 13px; white-space: nowrap; text-decoration: none; color: var(--muted); }
.model-toc a:hover, .model-toc a:focus-visible { color: var(--accent); background: var(--accent-bg); }
.toc-label { display: none; }
.model-content .section { margin-top: 32px; padding-top: 24px; }
.model-content > .section:first-child { margin-top: 0; }
.model-content :is(section, footer, [id]) { scroll-margin-top: var(--toc-offset); }
.model-content .model-group > .section { margin-top: 24px; padding-top: 0; border: 0; }
.model-group > .section > :is(h2, h3) { font-size: 18px; margin-bottom: 16px; }
.model-content p, .model-content li { max-width: 72ch; }
.model-content p + p { margin-top: 12px; }
.model-content .comparison { font-size: 13px; background: var(--surface); }
.model-content .comparison th, .model-content .comparison td { padding: 12px; height: 44px; }
.model-content .comparison thead { background: var(--bg); }
.model-content .comparison caption { font-size: 13px; color: var(--muted); }
.model-content .comparison .numeric { text-align: right; white-space: nowrap; }
.table-unit { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.price-summary th:first-child { position: sticky; left: 0; z-index: 1; min-width: 160px; max-width: 240px; width: 232px; background: var(--surface); border-right: 1px solid var(--line); }
.price-summary thead th:first-child { background: var(--bg); z-index: 2; }
.price-summary .platform-label { align-items: center; }
.price-summary .vendor-logo { flex-basis: 24px; width: 24px; height: 24px; font-size: 13px; }
.platform-badges { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 4px; vertical-align: middle; }
.platform-badges .status { padding: 0 4px; white-space: nowrap; }
.model-content .price-summary :is(th, td) { padding-block: 8px; height: 48px; }
.model-content :is(.cost-tasks, .cost-plans) :is(th, td) { padding-block: 8px; }
.cost-tasks :is(th, td):nth-child(3), .cost-tasks :is(th, td):nth-child(5),
.cost-plans :is(th, td):nth-child(2), .cost-plans :is(th, td):nth-child(4) { white-space: nowrap; }
.cost-tasks :is(th, td):first-child, .cost-plans :is(th, td):first-child { width: 16%; }
.cost-plans :is(th, td):first-child { min-width: 128px; }
.cost-plans :is(th, td):nth-child(3) { min-width: 160px; }
.cost-plans .math { min-width: 240px; }
.model-content .math { font: 12px/1.6 var(--mono-font); }
.model-content .channels, .feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.model-content .channel { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: var(--surface); margin: 0; }
.model-content .channel header { margin-bottom: 8px; }
.model-content .channel h3 { font-size: 16px; }
.model-content .channel dd { margin: 0; text-align: right; font-size: 13px; }
.model-content .channel dl > div { gap: 8px; }
.model-content .specs { display: grid; grid-template-columns: minmax(0,1fr); gap: 0 24px; margin-block: 8px 16px; }
.model-content .specs > div { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: baseline; gap: 8px; }
.model-content .specs dd { margin: 0; text-align: right; font-size: 13px; }
.model-content .card { border-radius: 10px; }
.feature-grid .card { margin: 0; }
.feature-grid :is(h3, h4), .scorecard h3 { font-size: 14px; }
.scorecards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.scorecard > p { font-size: 13px; }
.scorecard > .score-value { font-size: 28px; }
.model-content .faq summary { padding-block: 12px; }
@media (min-width: 1100px) {
  .model-stats { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .model-layout { grid-template-columns: 200px minmax(0,1fr); }
  .model-toc { top: calc(env(safe-area-inset-top, 0px) + 24px); border: 1px solid var(--line); border-radius: 10px; padding: 12px; max-height: calc(100vh - 48px); overflow-y: auto; }
  .model-toc ul { display: block; overflow: visible; padding: 0; }
  .model-toc a { white-space: normal; padding: 8px; }
  .toc-label { display: block; font-size: 12px; font-weight: 600; padding: 8px; }
  .model-page { --toc-offset: 24px; }
  .model-layout:not(:has(.model-toc li)) { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  .hero-top { display: block; }
  .hero-top .actions { max-width: none; align-items: flex-start; margin-top: 16px; }
  .model-page .model-name { font-size: 28px; }
  .model-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat-card .stat-value { font-size: 22px; }
  .model-content .channels, .model-content .specs, .feature-grid, .scorecards { grid-template-columns: minmax(0,1fr); }
  .model-content .comparison th, .model-content .comparison td { padding: 8px; }
  .price-summary th:first-child { min-width: 160px; max-width: 180px; width: 180px; }
}
@media (max-width: 400px) {
  .price-summary th:first-child { min-width: 136px; max-width: 136px; width: 136px; overflow-wrap: anywhere; }
}
[data-logo-color="#c2410c"] { background: var(--logo-anthropic); }
[data-logo-color="#0f766e"] { background: var(--logo-openai); }
[data-logo-color="#2563eb"] { background: var(--logo-google); }
[data-logo-color="#1d4ed8"] { background: var(--logo-bytedance); }
[data-logo-color="#ea580c"] { background: var(--logo-kuaishou); }
[data-logo-color="#b45309"] { background: var(--logo-amazon); }
[data-logo-color="#0369a1"] { background: var(--logo-microsoft); }
[data-logo-color="#6d28d9"] { background: var(--logo-openrouter); }
[data-logo-color="#7c3aed"] { background: var(--logo-fal); }
[data-logo-color="#0891b2"] { background: var(--logo-kie); }
[data-logo-color="#be123c"] { background: var(--logo-minimax); }
[data-logo-color="#475569"] { background: var(--logo-other); }

/* UI audit: shared component rhythm and readable, intrinsic tables. */
button, .button { min-height: 40px; padding: 8px 16px; }
.status { display: inline-flex; align-items: center; min-height: 22px; padding: 4px 8px; border-radius: 6px; font-size: 12px; line-height: 1; white-space: nowrap; }
.hero-meta > .status, .caps li { height: 28px; padding: 4px 12px; font-size: 13px; border-radius: 999px; gap: 8px; }
.caps svg { width: 14px; height: 14px; }
.hero-top { position: relative; display: block; }
.hero-title { width: 100%; }
.hero-title > .eyebrow, .hero-title > .title-lockup, .hero-title > .lead { max-width: 72%; }
.hero-top .actions { position: absolute; top: 0; right: 0; max-width: 28%; }
.model-ctas { justify-content: flex-end; }
.hero-top [data-copy-ai] { min-height: 32px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); text-decoration: none; }
.hero-meta { align-items: flex-start; }
.model-id { height: 32px; flex-wrap: nowrap; padding: 0 8px; border-radius: 6px; gap: 8px; }
.model-id code { white-space: nowrap; }
.model-id button { height: 32px; min-height: 32px; min-width: 68px; padding: 4px 8px; border: 0; background: var(--clear); font-size: 12px; }
.model-id button:hover { background: var(--accent-bg); }
.model-id .row-source { margin-left: 0; }
[data-id-status], .code-language, [data-block-status], [data-copy-status] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.model-stats { align-items: stretch; }
.stat-card > .row-source { margin-top: auto; }
.stat-card .stat-label, .meta { font-size: 13px; }
.vendor-logo { aspect-ratio: 1; }
.availability-badge summary { display: flex; align-items: center; gap: 8px; height: 28px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--surface); }
.availability-badge .status { min-height: 0; padding: 0; border: 0; border-radius: 0; background: var(--clear); font-size: inherit; }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; display: block; width: 8px; height: 8px; flex: 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 4px 4px; }
details[open] > summary::after { transform: rotate(225deg); margin-block: 4px 0; }
.comparison { table-layout: auto; }
.comparison :is(th, td), .comparison a { overflow-wrap: normal; word-break: normal; hyphens: none; }
.comparison thead th { white-space: nowrap; }
.comparison time { white-space: nowrap; }
.comparison .numeric { text-align: right; white-space: nowrap; }
.row-source { white-space: nowrap; }
.model-content .comparison { font-size: 13px; }
.model-content .comparison :is(th, td) { padding: 8px; }
.platform-badges { display: block; margin: 4px 0 0; }
.platform-badges .status + .status { margin-left: 4px; }
.platform-badges .status { padding: 4px 8px; }
.price-summary .platform-label { align-items: flex-start; }
.price-summary .platform-name { overflow-wrap: normal; word-break: normal; }
.model-content .channel { display: flex; flex-direction: column; padding: 20px; }
.model-content .channel header { flex-wrap: nowrap; align-items: flex-start; }
.model-content .channel header h3 { flex: 1; min-width: 0; }
.model-content .channel :is(dt, dd), .model-content .specs :is(dt, dd) { font-family: var(--body-font); text-align: left; }
.model-content .channel dt, .model-content .specs dt { font-size: 13px; }
.model-content .channel dd, .model-content .specs dd { font-size: 14px; }
.model-content .specs > div { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
.model-content .channel > .meta:last-child { margin-top: auto; padding-top: 12px; }
.model-content .card { padding: 20px; display: flex; flex-direction: column; font-size: 14px; }
.model-content .card > :first-child { margin-top: 0; }
.model-content .card h4, .feature-grid :is(h3, h4), .scorecard h3 { font-size: 16px; font-weight: 600; line-height: 1.5; }
.model-content .card h4 a { font-size: inherit; }
.model-content .card > .meta:last-child { margin-top: auto; padding-top: 12px; }
h4 { margin: 0; }
.code-panel { position: relative; display: flex; flex-direction: column; }
.code-panel pre { margin: 0; padding: 48px 16px 16px; }
.code-panel [data-copy-block] { position: absolute; right: 8px; top: 8px; min-height: 32px; height: 32px; padding: 4px 12px; }
[data-code-tab] { min-height: 32px; height: 32px; padding: 4px 12px; }
.sortable th button { min-height: 32px; padding: 4px 0; border: 0; background: var(--clear); border-radius: 0; font-size: inherit; white-space: nowrap; }
[data-compare-table] fieldset { border: 0; padding: 0; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
[data-compare-table] legend { margin-bottom: 8px; font-size: 13px; color: var(--muted); }
[data-compare-table] fieldset label { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--surface); cursor: pointer; }
[data-compare-table] fieldset label:has(:checked) { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
.video { background: var(--line); }
.video img { color: var(--muted); }
.video button::before { content: '▶'; margin-right: 8px; }
@media (min-width: 1100px) {
  .table-scroll .comparison { min-width: 0; }
  .cost-plans :is(th, td):first-child, .cost-plans :is(th, td):nth-child(3), .cost-plans .math { min-width: 0; width: auto; }
  .cost-plans :is(th, td):nth-child(2), .cost-plans :is(th, td):nth-child(4) { white-space: normal; text-align: left; }
  .cost-tasks :is(th, td):first-child { width: auto; }
  .model-content .cost-tasks { font-size: 12px; }
}
@media (max-width: 1099px) {
  .model-layout { display: block; }
  .model-content { margin-top: 24px; }
  .table-scroll .comparison { min-width: 800px; }
  .table-scroll .price-summary { min-width: 720px; }
  .price-summary th:first-child { min-width: 180px; max-width: 180px; width: 180px; }
}
@media (max-width: 640px) {
  .hero-title > .eyebrow, .hero-title > .title-lockup, .hero-title > .lead { max-width: none; }
  .hero-top .actions { position: static; max-width: none; }
  .model-ctas { justify-content: flex-start; }
  .model-id { max-width: 100%; }
  .model-id code { min-width: 0; white-space: normal; font-size: 12px; }
  .model-content .channel header { flex-wrap: wrap; }
}
/* Dates and scores retain complete numeric tokens in benchmark rows. */
#benchmarks td:last-child { min-width: 112px; }
#benchmarks td:nth-child(4) { white-space: normal; }
.sortable tbody th { min-width: 112px; }
@media (max-width: 640px) {
  .hero-top [data-copy-ai] { min-height: 40px; }
}
.sortable thead th { min-width: 96px; }

/* Keep desktop badges in the platform name’s inline flow. */
@media (min-width: 1100px) {
  .platform-badges { display: inline; margin: 0; }
}
.model-content .comparison td.numeric { text-align: right; white-space: nowrap; }

/* Lead 11-21：价格摘要表数值列（含 Not published 等短文字）统一右对齐，最后一列 Source 除外 */
.price-summary td:not(:last-child) { text-align: right; white-space: nowrap; }
/* Lead 11-21：可用性胶囊箭头减重，与 13px 文字匹配 */
.availability-badge summary::after { width: 6px; height: 6px; flex: 0 0 6px; border-right-width: 1.5px; border-bottom-width: 1.5px; color: var(--muted); margin: 0 0 4px; }
.availability-badge[open] > summary::after { margin: 4px 0 0; }
/* Lead 11-21：文字型数据卡值首字母大写（只改显示，原文引用不变） */
.stat-card .stat-value[data-display="text"]::first-letter { text-transform: uppercase; }
/* Lead 11-21：模型页表格右侧还有列时右缘渐隐，提示可横滑 */
.model-content .table-scroll[data-more] { -webkit-mask-image: linear-gradient(to left, var(--clear) 0, var(--ink) 48px); mask-image: linear-gradient(to left, var(--clear) 0, var(--ink) 48px); }
.model-content .scroll-hint { margin: 8px 0 -8px; text-align: right; font-size: 12px; color: var(--muted); }
.model-content .scroll-hint[hidden] { display: none; }
@media (max-width: 600px) { .price-summary th:first-child { width: 150px; min-width: 140px; } }
/* Lead 11-21：窄屏价格表按内容定宽（至少铺满），避免列少时被 720px 撑开、只露一列 */
@media (max-width: 1099px) { .table-scroll .price-summary { min-width: 100%; width: max-content; } }
/* Lead 11-21：页头状态胶囊所有宽度都与型号 ID 组同高 32px（原仅 ≥1100px） */
.hero-meta > .status { height: 32px; }
/* Lead 11-21：平板宽度按钮组也落到页头信息下方横排（原 640–1099px 被挤在右侧 28% 宽、三行竖排） */
@media (max-width: 1099px) {
  .hero-title > .eyebrow, .hero-title > .title-lockup, .hero-title > .lead { max-width: none; }
  .hero-top .actions { position: static; max-width: none; align-items: flex-start; margin-top: 16px; }
  .model-ctas { justify-content: flex-start; }
}
/* Lead 11-21：对比表长表头在空间不够时可折两行（1100–1220px 原需横滑 19–69px） */
.model-content .sortable th button { white-space: normal; }

/* R3 — compact shared header/footer and model-only repairs. */
.site-header [data-theme-toggle] { height: 32px; min-height: 32px; padding: 4px 8px; border-radius: 8px; }
.site-header nav { flex-wrap: nowrap; overflow-x: auto; min-width: 0; }
.site-header nav a { flex-shrink: 0; }
.site-header nav[data-more], .model-toc ul[data-more] { mask-image: linear-gradient(to left, var(--clear), var(--ink) 24px); }
.site-footer { border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.footer-brand span { margin-left: 0; }
/* Disable programming ligatures on every typography path using --mono-font. */
code, pre, .mono, time, .stat, .brand-mark, .eyebrow, .group-label, .modality, sup, .model-content .math { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
.model-page .hero-title > :is(.eyebrow, .title-lockup, .lead) { max-width: none; }
.model-page .hero-top .actions { position: static; max-width: none; align-items: flex-start; margin-top: 16px; }
.model-page .hero-meta { align-items: center; gap: 8px; }
.model-page .hero-meta > :is(.model-id, .status, .info-chip) { display: inline-flex; align-items: center; height: 32px; min-height: 32px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 13px; line-height: 1; white-space: nowrap; }
.model-page .model-id code { font-size: 13px; white-space: nowrap; overflow-wrap: normal; }
.model-page .model-ctas { width: 100%; justify-content: flex-start; }
.model-page .model-ctas :is(.button, button) { display: inline-flex; justify-content: center; align-items: center; height: 40px; min-height: 40px; border-radius: 8px; padding: 8px 12px; font-size: 14px; white-space: nowrap; }
.model-page .model-ctas [data-copy-ai] { border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.model-page .code-example { min-width: 0; margin-top: 24px; font-size: 14px; }
.model-page .code-example > * + * { margin-top: 8px; }
.model-page .code-example h4 { font-size: 16px; }
.model-page .code-panel { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg); }
.model-page .code-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface); }
.model-page [data-tab-buttons] { display: flex; gap: 4px; margin: 0; }
.model-page [data-code-tab] { border: 0; border-radius: 4px; background: var(--clear); height: 32px; min-height: 32px; padding: 4px 8px; }
.model-page [data-code-tab][aria-selected="true"] { color: var(--accent); background: var(--accent-bg); }
.model-page .code-header [data-copy-block] { position: static; height: 28px; min-height: 28px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; color: var(--muted); background: var(--clear); }
.model-page .code-panel pre { white-space: pre; overflow-wrap: normal; word-break: normal; overflow-x: auto; max-width: 100%; border: 0; padding: 16px; margin: 0; font: 14px/1.6 var(--mono-font); font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
.model-page .code-panel code { white-space: inherit; overflow-wrap: normal; }
.model-page :is(time, code:not(pre code), .table-meta) { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.model-page sup { margin-left: 0; }
.model-page .price-unit { display: block; font: 13px/1.6 var(--body-font); color: var(--muted); margin-top: 4px; }
.model-page .specs .row-source { display: inline; font-size: 13px; color: var(--muted); }
.model-page .spec-token { white-space: nowrap; }
.model-page .spec-source { padding-left: 8px; white-space: nowrap; }
.model-page .specs dd { display: block; min-width: 0; font-family: var(--body-font); white-space: normal; overflow-wrap: anywhere; }
.model-page .table-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.model-page .table-title { flex: 1; font-weight: 600; min-width: 0; }
.model-page .table-heading .scroll-hint { flex: 0 0 auto; white-space: nowrap; margin: 0; font-size: 12px; }
.model-page .table-scroll { margin-top: 8px; }
.model-page .comparison caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
.model-page .table-scroll[data-more] { mask-image: linear-gradient(to left, var(--clear), var(--ink) 32px); }
.model-page .model-video { background: linear-gradient(135deg, var(--surface), var(--accent-bg)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.model-page .video-placeholder { min-height: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; gap: 8px; }
.model-page .video-title { font-size: 18px; font-weight: 600; }
.model-page .model-video button { position: static; margin: 8px 0 0; height: 40px; }
.model-page .related { list-style: none; padding: 0; gap: 8px; }
.model-page .related li > :is(a, span) { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; }
.model-page .related li > a { background: var(--surface); }
.model-page .related li > a:hover { border-color: var(--accent); }
.model-page .related li > span { color: var(--muted); background: var(--bg); }
.model-page #limits .status { display: inline-flex; vertical-align: middle; line-height: 1.2; padding: 4px 8px; }
@media (max-width: 640px) {
  .model-page .model-ctas .primary { flex-basis: 100%; }
  .model-page .model-ctas :is(.button, button) { font-size: 13px; padding-inline: 8px; }
  .model-page .specs > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .model-page .table-scroll:has(table:not(.price-summary, .sortable)) { overflow: visible; mask-image: none; }
  .model-page .comparison:not(.price-summary, .sortable), .model-page .comparison:not(.price-summary, .sortable) tbody { display: block; width: 100%; min-width: 0; }
  .model-page .comparison:not(.price-summary, .sortable) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .model-page .comparison:not(.price-summary, .sortable) tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-bottom: 8px; }
  .model-page .comparison:not(.price-summary, .sortable) tbody td { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-column: 1 / -1; gap: 8px; height: auto; width: auto; min-width: 0; max-width: none; padding: 0; border: 0; white-space: normal; text-align: left; font: 14px/1.3 var(--body-font); overflow-wrap: anywhere; }
  .model-page .comparison:not(.price-summary, .sortable) tbody td::before { content: attr(data-label); color: var(--muted); font: 13px/1.5 var(--body-font); }
  .model-page .comparison:not(.price-summary, .sortable) tbody td:first-child { display: block; grid-column: 1 / -1; font-weight: 600; }
  .model-page .comparison:not(.price-summary, .sortable) tbody td:first-child::before,
  .model-page .comparison:not(.price-summary, .sortable) td:is([data-label="Price"], [data-label="Score"], [data-label="As of"], [data-label="Checked / source"])::before { display: none; }
  .model-page :is(.cost-tasks, .cost-plans, #benchmarks .comparison) tbody tr { grid-template-columns: minmax(0, 1fr) minmax(64px, 42%); }
  .model-page :is(.cost-tasks, .cost-plans, #benchmarks .comparison) tbody td:first-child { grid-column: 1; grid-row: 1; }
  .model-page .comparison:not(.price-summary, .sortable) td:is([data-label="Price"], [data-label="Score"]) { display: block; grid-column: 2; grid-row: 1; justify-self: end; align-self: start; max-width: 100%; font-variant-numeric: tabular-nums; }
  .model-page .comparison:not(.price-summary, .sortable) td:is([data-label="Price"], [data-label="Score"]).numeric { text-align: right; }
  .model-page .comparison:not(.price-summary, .sortable) td:is([data-label="As of"], [data-label="Checked / source"]) { display: block; color: var(--muted); font-size: 13px; }
  .model-page .comparison:not(.price-summary, .sortable) .field-value { min-width: 0; }
  .model-page [data-cost-channel] .field-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
  .model-page [data-cost-channel] .status { vertical-align: middle; margin: 0; font-weight: 400; }
  .model-page [data-cost-channel] .channel-name { display: inline; }
  .model-page .table-scroll .sortable { min-width: 800px; }
  .model-page .sortable :is(th, td):first-child { position: sticky; left: 0; z-index: 1; width: 140px; min-width: 140px; max-width: 140px; background: var(--surface); border-right: 1px solid var(--line); }
  .model-page .sortable thead th:first-child { z-index: 2; background: var(--bg); }
  .model-page .model-video { aspect-ratio: auto; min-height: 224px; }
}

/* R4: the ID is one control group; inner dividers are not separate chips. */
.model-page .hero-meta > .model-id { padding: 0; gap: 0; max-width: 100%; }
.model-page .model-id code { padding: 4px 8px; overflow-x: auto; min-width: 0; }
.model-page .model-id :is(button, a) { display: inline-flex; align-items: center; flex: 0 0 auto; height: 24px; min-height: 24px; padding: 4px 8px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: var(--clear); font: 13px/1 var(--body-font); color: var(--muted); text-decoration: none; }
.model-page .model-id button { min-width: 64px; cursor: pointer; }
.model-page .model-id :is(button, a):hover { color: var(--accent); background: var(--accent-bg); }
.model-page #prompts .code-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.model-page #prompts .code-panel code { overflow-wrap: anywhere; }
.model-page .table-meta { display: inline-block; }
.model-page sup a { display: inline; }

.model-page .hero-meta > .status { gap: 4px; }
.model-page .channel-title { white-space: normal; overflow-wrap: normal; }
@media (max-width: 640px) {
  .model-page #claims td[data-label="What each channel offers"] { display: block; }
  .model-page #claims td[data-label="What each channel offers"]::before { display: none; }
  .model-page #claims .claim-reality { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
  .model-page #claims .claim-reality strong { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.3; }
  .model-page #claims .claim-reality + .claim-reality { margin-top: 4px; }
  .model-page .cost-tasks tbody tr { grid-template-columns: minmax(0, 1fr) auto; }
  .model-page .comparison:not(.price-summary, .sortable) .row-source { padding-block: 0; }
}
@media (min-width: 641px) {
  .model-page #claims .claim-state { font-weight: 700; }
  .model-page #benchmarks td[data-label="Leaderboard"] { min-width: 144px; }
}

/* R5: align comparison labels with the bottom of the tallest header. */
.model-page .sortable thead th { vertical-align: bottom; }

/* R6: complete channel headings and one platform identity layout. */
.model-page .channel header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.model-page .channel header .status { align-self: start; }
.model-page :is(.platform-identity, [data-cost-channel] .field-value) { display: inline-flex; flex-wrap: nowrap; align-items: baseline; gap: 8px; }
.model-page :is(.platform-identity, [data-cost-channel] .field-value) > .status { margin: 0; font-weight: 400; }
.model-page .platform-note { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.model-page .cost-plans td[data-label="Price"] { text-align: left; }
.model-page .cost-plans td[data-label="Source"] { color: var(--muted); font-size: 13px; }
.model-page .code-panel pre[data-more] { mask-image: linear-gradient(to left, var(--clear), var(--ink) 32px); }
.model-page .sources li { max-width: none; }
.model-page .model-video { max-height: 360px; }
.model-page .feature-grid .card > .meta:last-child { margin-top: 8px; padding-top: 0; }
.model-page .claim-state[data-claim-state="full"] { color: var(--accent); }
.model-page .claim-state[data-claim-state="partial"] { color: var(--warning); }
.model-page .claim-state[data-claim-state="no"] { color: var(--danger); }
@media (max-width: 1099px) {
  .model-page .model-content > .section:first-child { border-top: 0; }
}
@media (max-width: 640px) {
  .model-page .cost-plans td[data-label="Source"] { display: block; }
  .model-page .cost-plans td[data-label="Source"]::before { display: none; }
}
@media (min-width: 641px) {
  .model-page #benchmarks :is(th, td):first-child { width: 1%; white-space: nowrap; }
  .model-page #benchmarks :is(th, td):nth-child(5) { min-width: 120px; }
  .model-page #benchmarks :is(th, td):nth-child(6) { min-width: 180px; }
  .model-page .sortable :is(th, td):first-child, .model-page .cost-tasks :is(th, td):nth-child(2) { white-space: nowrap; }
}

.model-page :is(.platform-identity, [data-cost-channel] .field-value) > :first-child { min-width: 0; }

@media (max-width: 640px) {
  .model-page .model-toc li { flex: 0 0 calc((100% - 8px) / 2.5); }
}
@media (min-width: 641px) {
  .model-page #benchmarks :is(th, td) { padding-inline: 4px; }
  .model-page #benchmarks td[data-label="Leaderboard"] { min-width: 112px; }
  .model-page #benchmarks :is(th, td):nth-child(5) { min-width: 160px; }
}

@media (min-width: 641px) and (max-width: 1199px) {
  .model-page #benchmarks .comparison { font-size: 12px; }
  .model-page #benchmarks :is(th, td):nth-child(5) { min-width: 120px; }
}

.model-page .claim-reference { white-space: nowrap; }
.model-page .claim-reference code { font-size: 12px; }

@media (max-width: 400px) {
  .model-page .model-id code { font-size: 12px; padding-inline: 4px; }
  .model-page .model-id :is(button, a) { padding-inline: 4px; }
}

.model-page [data-cost-channel] .field-value { max-width: 100%; }
@media (max-width: 1099px) {
  .model-page .price-summary .platform-label { flex-direction: column; gap: 8px; }
  .model-page .price-summary .platform-identity { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .model-page #cost .cost-tasks tbody tr { grid-template-columns: minmax(0, 1fr) auto; }
}

.model-page .sr-only:not(:focus-within) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; white-space: nowrap; }

/* R7: channel identity and endpoint are separate lines; names stay intact on desktop. */
.model-page [data-cost-channel] > .field-value { display: block; }
.model-page #claims .claim-reality { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px; max-width: none; }
.model-page #claims .claim-reality strong { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.3; }
.model-page #claims .claim-reality + .claim-reality { margin-top: 4px; }
.model-page .claim-state[data-claim-state="unknown"] { color: var(--muted)

; }
@media (min-width: 641px) {
  .model-page .price-summary th:first-child, .model-page .cost-tasks :is(th, td):first-child { min-width: 240px; max-width: none; width: 240px; }
  .model-page .platform-title { white-space: nowrap; }
  .model-page .price-summary .platform-label { flex-direction: row; }
  .model-page .price-summary .platform-identity { flex-wrap: nowrap; }
}
@media (max-width: 640px) {
  .model-page #claims .claim-reality { grid-template-columns: 112px minmax(0, 1fr); }
  .model-page [data-cost-channel] .platform-identity { flex-wrap: wrap; }
}
/* Lead 11-22（复审 M1）：桌面成本表 Task 列允许换行、限宽，算式列保底宽度 */
@media (min-width: 641px) {
  .model-page .cost-tasks :is(th, td):nth-child(2) { white-space: normal; min-width: 128px; max-width: 168px; }
  .model-page .cost-tasks td.math { min-width: 220px; }
}

/* Round A: preserve table column minima; recover room from the desktop TOC gap. */
@media (min-width: 1100px) and (max-width: 1199px) {
  .model-layout { gap: 8px; }
}
/* Comparison v3 shares model tokens and the paired-bar primitive. */
.launch-link .unlisted { color: var(--muted); }
.launch-link:has(> a) > .unlisted { display: none; }
.compare-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
.compare-page .compare-hero { padding-bottom: 24px; }
.compare-heads, .compare-picks, .paired-values, .pair-conditions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare-head, .compare-pick { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); min-width: 0; }
.compare-lockup { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 8px; align-items: center; }
.compare-lockup h2 { font-size: 22px; }
.compare-head .vendor-logo { background: var(--accent); }
.compare-head[data-side="b"] .vendor-logo { background: var(--llm); }
.compare-head > p { margin-top: 8px; }
.compare-head dl { margin-top: 12px; display: grid; gap: 8px; }
.compare-head dt { font-size: 13px; }
.compare-head dd { font-size: 14px; }
.compare-head dd strong { font-size: 22px; }
.compare-page .row-source { font-size: 13px; color: var(--muted); }
.compare-decision h2 { margin-bottom: 12px; }
.compare-pick h3 { font-size: 16px; }
.compare-pick > p { margin-top: 8px; font-size: 14px; }
.compare-difference { margin-top: 12px; font-size: 14px; }
.compare-page .section { margin-top: 32px; padding-top: 24px; }
.compare-page .scroll-hint { font-size: 13px; color: var(--muted); margin-block: 8px; }
.compare-page .table-scroll .comparison { min-width: 640px; }
.compare-page .comparison { table-layout: fixed; }
.compare-page .comparison :is(th, td) { padding: 12px; }
.compare-page .comparison thead th { vertical-align: bottom; }
.compare-page .comparison :is(th, td):first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); border-right: 1px solid var(--line); }
.compare-page .comparison thead th { position: sticky; top: 0; z-index: 2; }
.compare-page .comparison thead th:first-child { z-index: 3; }
.compare-items th:first-child { width: 36%; }
.compare-items td { text-align: right; }
.compare-items td .row-source { display: block; }
.compare-items .winner { background: var(--accent-bg); }
.compare-items .winner .pair-number { color: var(--accent); font-weight: 700; }
.pair-number { font-size: 16px; font-variant-numeric: tabular-nums; }
.comparison-reason { display: block; font-size: 13px; color: var(--warning); margin-top: 8px; }
.paired-chart + .paired-chart { margin-top: 24px; }
.paired-chart h3 { font-size: 16px; }
.paired-values { margin-top: 12px; }
.paired-values > div { min-width: 0; }
.paired-bars { margin-top: 12px; display: grid; gap: 8px; }
.paired-bar-line { display: grid; grid-template-columns: 16px minmax(0, 1fr) 64px; gap: 8px; align-items: center; font-size: 13px; }
.bar-track { background: var(--line); height: 12px; border-radius: 4px; }
.value-bar { background: var(--accent); height: 12px; border-radius: 4px; }
.value-bar[data-side="b"] { background: var(--llm); }
.pair-conditions { margin-top: 12px; font-size: 13px; color: var(--muted); }
.pair-conditions p + p { margin-top: 0; }
.compare-page time { white-space: nowrap; }
.compare-page sup a { display: inline; }
.compare-page .compare-cost-ledger th:first-child { width: 20%; }
.compare-page .compare-score-ledger th:first-child { width: 16%; }
.compare-page .compare-full-details .choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.compare-page .compare-full-details .choice-column:last-child { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .compare-heads { gap: 8px; }
  .compare-head { padding: 12px; }
  .compare-lockup { grid-template-columns: minmax(0,1fr); }
  .compare-lockup h2 { font-size: 16px; }
  .compare-head dd strong { font-size: 18px; }
  .compare-head dd .row-source { display: block; }
  .compare-picks, .pair-conditions { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .compare-page .comparison th:first-child { width: 160px; }
  .compare-page .compare-score-ledger td:is([data-label="Conditions"],[data-label="As of"],[data-label="Leaderboard"]) { grid-column: 1 / -1; }
  .compare-page .compare-full-details .choices { grid-template-columns: minmax(0,1fr); }
}

.site-header nav .unlisted { font-size: 14px; padding-block: 8px; display: inline-block; }
.site-header nav .launch-link:has(> a) .unlisted { display: none; }
.compare-items td { text-align: left; }
.compare-items .pair-number:not([data-rule="none"]), .compare-items .row-source { display: block; text-align: right; }
.compare-ledger-cards { display: grid; gap: 8px; margin-top: 16px; }
.ledger-card { padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.ledger-card h3 { font-size: 14px; }
.ledger-card > p { margin-top: 8px; }
.compare-page #observations td p, .compare-page #specs td p { font-size: 14px; }
.compare-page .basis-row td:first-child { position: static; background: var(--bg); border-right: 0; }
.compare-page .basis-row p { font-size: 13px; color: var(--muted); }
/* Long legacy specification/observation columns retain readable widths on phones. */
.compare-page #observations .comparison, .compare-page #specs .comparison { min-width: 960px; }
.compare-page #specs td p, .compare-page .basis-row p { text-wrap: pretty; }
.compare-page #specs .comparison th:first-child { width: 28%; }
@media (min-width: 1100px) {
  .compare-page #observations .comparison th:first-child { width: 12%; }
}
@media (max-width: 1099px) {
  .compare-page #observations .comparison, .compare-page #specs .comparison { min-width: 1200px; }
  .compare-page #observations .comparison th:first-child, .compare-page #specs .comparison th:first-child { width: 160px; }
}

.compare-items .comparison-conditions summary { padding-block: 4px; font-size: 13px; font-weight: 400; }
.compare-items .comparison-conditions p { font-size: 13px; padding-bottom: 8px; }
@media (max-width: 640px) {
  /* One value column fits beside the sticky label; the second is one swipe away. */
  .compare-page .compare-scroll .compare-items { min-width: 0; width: calc(200% - 140px); }
  .compare-page .compare-items th:first-child { width: 140px; }
}
/* Round B: shared v3 ledger, modality comparison and reference pages. */
.unlisted { color: var(--muted); }
.site-header nav > .unlisted { font-size: 14px; padding-block: 8px; }
.home-v3 .page-heading, .type-v3 .page-heading { padding-block: 24px; }
.home-v3 .page-heading > * + *, .type-v3 .page-heading > * + * { margin-top: 8px; }
.release-filterbar { position: sticky; top: 0; z-index: 6; background: var(--surface); border-radius: 8px; }
.release-filterbar .filters { padding: 8px; align-items: center; }
.release-filterbar :is(button, select, input[type="search"]) { height: 40px; min-height: 40px; border-radius: 8px; }
.release-filterbar [data-filter-status] { padding: 4px 8px; }
.compact-ledger { margin-top: 16px; }
.compact-ledger h2 { margin-bottom: 8px; }
.compact-release { display: grid; grid-template-columns: 96px minmax(160px, 1.1fr) minmax(80px, .65fr) 52px 72px minmax(180px, 1.6fr) 44px; gap: 8px; align-items: center; min-height: 56px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.4; }
.compact-release > * { min-width: 0; overflow-wrap: anywhere; }
.compact-release time { white-space: nowrap; }
.compact-release h3 { font-size: 14px; line-height: 1.4; }
.compact-release .row-source { margin: 0; font-size: 12px; }
.compact-release .modality-tag { color: var(--muted); }
.original-release-notes > summary { font-size: 16px; }
.type-v3 .type-primary { margin-top: 0; }
.type-primary h2 { margin-bottom: 12px; }
.type-scroll { max-height: 560px; overflow: auto; margin-block: 12px; }
.type-scroll .comparison { min-width: 576px; width: 100%; table-layout: fixed; }
.type-scroll .comparison :is(th,td) { text-align: left; width: auto; white-space: normal; }
.type-scroll .comparison :is(th,td):first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); width: 192px; min-width: 192px; border-right: 1px solid var(--line); }
.type-scroll .comparison thead th { position: sticky; top: 0; z-index: 2; background: var(--surface); }
.type-scroll .comparison thead th:first-child { z-index: 3; }
.type-scroll .comparison th button { white-space: normal; text-align: left; }
.type-scroll .comparison th > .meta { display: block; }
.type-bar { display: block; width: 100%; height: 4px; margin-top: 8px; background: var(--line); }
.type-bar > span { display: block; height: 4px; background: var(--accent); }
.type-v3 .pick-number { font-size: 28px; color: var(--accent); }
.type-v3 .card > details { margin-top: 8px; }
.type-v3 .comparison th button { white-space: normal; }
.type-v3 #all-models .comparison { table-layout: fixed; min-width: 0; }
.type-v3 #all-models :is(th,td) { white-space: normal; overflow-wrap: anywhere; min-width: 0; font-size: 12px; text-align: left; }
.median-note { margin-top: 12px; font-size: 13px; max-width: 72ch; }
.model-toc a[aria-current="location"] { color: var(--accent); background: var(--accent-bg); box-shadow: inset 3px 0 var(--accent); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 22px; }
.prose h3 { font-size: 18px; }
.prose :is(p,li) { overflow-wrap: anywhere; }
@media (max-width: 1099px) {
  .compact-release { grid-template-columns: 96px minmax(0,1fr) 52px; gap: 4px 8px; }
  .compact-release .release-vendor { grid-column: 2; }
  .compact-release .modality-tag { grid-column: 3; grid-row: 1; }
  .compact-release .release-status { grid-column: 3; grid-row: 2; }
  .compact-release .release-cost { grid-column: 2; }
  .compact-release > .row-source { grid-column: 3; }
  .model-content [id] { scroll-margin-top: 88px; }
}
@media (min-width: 1100px) {
  .model-content [id] { scroll-margin-top: 24px; }
}
/* Dates/IDs remain complete without clipping or a DOM text-rewrite pass. */
time, .spec-token { white-space: nowrap; }
.model-id { flex-wrap: wrap; }
.model-id code { min-width: 0; }
.model-page .hero-meta > .model-id { height: auto; min-height: 32px; flex-wrap: wrap; }
@media (min-width: 1100px) {
  .model-layout { grid-template-columns: 160px minmax(0,1fr); gap: 8px; }
  .model-page #benchmarks :is(th,td):first-child { white-space: normal; }
  .model-page #benchmarks td[data-label="Leaderboard"] { min-width: 144px; }
}
.code-id-reference { white-space: nowrap; }
.subscription-details { margin-top: 16px; }
@media (min-width: 1100px) {
  .model-page #benchmarks :is(th,td):first-child { width: 160px; min-width: 160px; }
}
@media (max-width: 400px) {
  .model-page #claims .claim-reality { grid-template-columns: minmax(0,1fr); gap: 4px; }
}
.code-id-reference code { font-size: 13px; }
/* At the far right of a swipe, numbers and their headers remain beside the fixed model column. */
.type-scroll td > span:first-child { display: block; text-align: right; }
.type-scroll thead th:not(:first-child), .type-scroll thead th:not(:first-child) button { text-align: right; }
.type-scroll thead th:not(:first-child) button { width: 100%; }
@media (max-width: 640px) {
  .compare-page .compare-items th[scope="row"] { font-size: 12px; }
}

/* Round D: preserve numeric tokens and make off-screen comparisons discoverable. */
.model-page .stat-value:not([data-display="text"]) { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 1100px) {
  .model-page .stat-value:not([data-display="text"]) { font-size: clamp(20px, 2vw, 24px); }
}
@media (max-width: 1099px) {
  .model-page #compare .comparison :is(th,td) { min-width: 132px; }
  .model-page #compare .comparison :is(th,td):first-child { min-width: 140px; }
  .model-page #compare .comparison :is(th,td):nth-child(4),
  .model-page #compare .comparison :is(th,td):nth-child(5) { min-width: 180px; }
}
.compare-page .compare-items thead th:not(:first-child) { text-align: right; }
.compare-page .comparison-conditions { text-align: left; }
.compare-page .related { list-style: none; padding: 0; gap: 8px; }
.compare-page .related li > .launch-link { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.compare-page .related a { text-decoration: none; }
.compare-page .related .launch-link:has(a) { background: var(--surface); }
.compare-page .related .launch-link:has(a):hover { border-color: var(--accent); }
.type-v3 .release-heading { flex-wrap: wrap; }
.type-v3 .release-heading > [data-state] { margin-left: auto; }
@media (max-width: 640px) {
  .type-v3 .type-scroll .comparison { width: 100%; min-width: 0; }
  .type-v3 .type-scroll .comparison :is(th,td):first-child { width: 42%; }
  .type-v3 .type-scroll .comparison :is(th,td) { padding: 8px; }
  .type-v3 .type-scroll .comparison:has(th:nth-child(3)) { min-width: 510px; }
  .type-v3 .type-scroll .comparison:has(th:nth-child(3)) :is(th,td):first-child { width: 148px; }
  .type-v3 .type-scroll .comparison:has(th:nth-child(3)) :is(th,td):not(:first-child) { width: 181px; }
  .type-v3 .type-scroll td > span:first-child { text-align: left; }
  .type-v3 .type-scroll thead th:not(:first-child), .type-v3 .type-scroll thead th:not(:first-child) button { text-align: left; }
  .compare-page .compare-scroll .compare-items { width: calc(200% - 140px); }
  .compare-page .compare-items th:first-child { width: 140px; }
  .type-scroll:has(th:nth-child(3)), .compare-page :is(#item-comparison,#observations,#specs) .table-scroll {
    padding-right: 16px;
    mask-image: linear-gradient(to right, #000 calc(100% - 12px), transparent);
  }
}
@media (min-width: 1100px) {
  .type-v3 #shortlist .cards > .card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}
.type-v3 .release-heading > [data-state] { height: 28px; border-radius: 4px; }
/* Lead 11-23：导航里未上线的分类直接隐藏（灰字看起来像能点却点不了）；页面正文里的未上线模型仍按规则显示灰字 */
.site-header nav .launch-link:not(:has(> a)) { display: none; }

/* Round E: one compact score table per benchmark; shared conditions appear once. */
.benchmark-group + .benchmark-group { margin-top: 24px; }
.benchmark-summary th:first-child { width: 120px; min-width: 120px; }
.benchmark-summary td.numeric { white-space: nowrap; text-align: right; }
.benchmark-summary th:not(:first-child) { width: auto; }
.benchmark-summary td:last-child { text-align: left; }
@media (max-width: 1099px) {
  .benchmark-summary { min-width: 720px; }
  .benchmark-summary th:first-child { position: sticky; left: 0; z-index: 2; background: var(--bg); }
  .benchmark-summary th:nth-child(2), .benchmark-summary th:nth-child(3) { min-width: 180px; }
}

.benchmark-summary th, .benchmark-summary td { padding-block: 8px; }
@media (min-width: 1100px) { #score-pair .scroll-hint { display: none; } }
#score-pair > h2 { margin-bottom: 8px; }
#score-pair .table-scroll { margin-top: 4px; }
/* Lead 11-23：模态页比较表下的方法说明收进可展开区块（原 12px 长段在手机上约 25 行） */
.table-note { margin-top: 8px; }
.table-note > summary { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; font-weight: 500; cursor: pointer; }
