@charset "UTF-8";
/* 什么值得AI（smzdai）门户样式 */

@layer reset, theme, base, components, utilities;

/* 跨文档原生平滑转场（Django MPA 秒变类 SPA 丝滑切页） */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

@layer theme {
  :root {
    color-scheme: light;
    --site-header-height: 65px;
    --page-tabs-height: 0px;
    --anchor-offset: calc(var(--site-header-height) + var(--page-tabs-height) + 16px);

    /* Compatibility aliases for shared portal components. */
    --canvas: var(--bg);
    --canvas-deep: var(--surface-2);
    --surface-hover: var(--surface-2);
    --soft: var(--surface-2);
    --soft-2: var(--line);
    --pale: var(--surface-2);
    --dark: var(--text);
    --dark-2: var(--text-2);
    --dark-border: var(--line);
    --dark-muted: var(--text-3);
    --night: var(--text);
    --ink: var(--text);
    --ink-body: var(--text-2);
    --muted: var(--text-3);
    --subtle: var(--text-3);
    --blue: var(--accent);
    --blue-hover: var(--accent-text);
    --blue-soft: var(--surface-2);
    --accent-wash: var(--surface-2);
    --line-hover: var(--line-strong);

    --shadow-xs: 0 1px 2px rgba(17, 18, 21, 0.04);
    --shadow-sm: 0 1px 2px rgba(17, 18, 21, 0.04), 0 6px 20px rgba(17, 18, 21, 0.035);
    --shadow-md: 0 2px 6px rgba(17, 18, 21, 0.05), 0 14px 36px rgba(17, 18, 21, 0.06);
    --shadow-dark: 0 12px 40px rgba(17, 18, 21, 0.18), 0 2px 6px rgba(17, 18, 21, 0.12);

    /* 排版系统（流式 rem + 紧凑大标题字距 + 等宽索引数字） */
    --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Inter", "Segoe UI", sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

    --text-2xs: 0.6875rem;
    --text-xs: 0.75rem;
    --text-sm: 0.84375rem;
    --text-base: 0.9375rem;
    --text-md: 1.0625rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: clamp(1.75rem, 1.35rem + 1.35vw, 2.5rem);
    --text-hero: clamp(1.85rem, 1.35rem + 1.65vw, 2.75rem);

    /* 圆角与容器 */
    --wrap-max: 1220px;
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* Emil Kowalski 校准阻尼曲线 */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 150ms;
    --dur-med: 240ms;
  }
  :root:has(.page-tabs) { --page-tabs-height: 51px; }
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: var(--canvas);
  }
  body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font: 400 var(--text-base) / 1.7 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }
  h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
  img, svg, canvas { display: block; max-width: 100%; height: auto; }
  button, input, select, textarea { font: inherit; color: inherit; }
  button, a, input, select { touch-action: manipulation; }
}

@layer base {
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.025em;
    color: var(--ink);
    text-wrap: balance;
  }
  p { text-wrap: pretty; }
  ul, ol { padding-left: 20px; }
  a {
    color: inherit;
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out),
                background-color var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-med) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
  }
  a:hover { color: var(--accent); text-decoration:underline; }

  :is(a, button, input, select, textarea, summary, [tabindex="0"]):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  :is(button, input, select, textarea):disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  :is(input, select, textarea):user-invalid,
  :is(input, select, textarea)[aria-invalid="true"],
  .is-error {
    border-color: var(--text) !important;
    background: var(--surface-2) !important;
    color: var(--text);
  }
}

@layer components {
  .wrap {
    width: min(var(--wrap-max), calc(100% - 48px));
    margin-inline: auto;
  }
  .wrap-narrow {
    width: min(940px, calc(100% - 48px));
    margin-inline: auto;
  }

  .skip {
    position: absolute;
    inset-block-start: -120px;
    inset-inline-start: 16px;
    z-index: 90;
    background: var(--dark);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
  }
  .skip:focus { inset-block-start: 14px; }

  /* 1. 共用按钮 */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-block-size: 40px;
    padding: 8px 18px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    border-radius: var(--radius-xs);
    white-space: nowrap;
    transition: transform var(--dur-fast) var(--ease-out),
                background-color var(--dur-fast) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out),
                color var(--dur-fast) var(--ease-out);
  }
  .btn:hover {
    border-color: var(--line-hover);
    background: var(--surface-hover);
    color: var(--ink);
  }
  .btn:active { transform: scale(0.98); }

  .btn.primary {
    background: var(--text);
    border-color: var(--text);
    color: #ffffff;
  }
  .btn.primary:hover {
    background: var(--text-2);
    border-color: var(--text-2);
    color: #ffffff;
  }

  .btn.btn-light {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    font-weight: 600;
  }
  .btn.btn-light:hover {
    background: var(--surface-2);
    color: var(--dark);
    transform: translateY(-1px);
  }

  .btn.subtle {
    background: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink-body);
    box-shadow: none;
  }
  .btn.subtle:hover {
    background: var(--soft-2);
    color: var(--ink);
  }

  .btn.danger {
    border-color: var(--line-strong);
    color: var(--text);
    background: var(--surface);
  }
  .btn.danger:hover {
    background: var(--surface-2);
    border-color: var(--text);
    color: var(--text);
  }
  .btn.sm { min-block-size: 32px; padding: 5px 12px; font-size: var(--text-xs); }

  /* 2. 去“方框标签汤”：克制的胶囊微标 + 语义小圆点状态标 */
  .badge, .ev-badge, .form-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--text-2xs);
    line-height: 1.35;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    vertical-align: middle;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.01em;
  }
  .badge {
    color: var(--muted);
    background: var(--soft);
    border: 1px solid transparent;
  }
  .badge.blue { color: var(--ink); background: var(--soft); border-color: var(--line); }
  .badge.ok, .badge.warn, .form-badge, .ev-badge, .window-badge {
    color: var(--text-2);
    background: var(--surface-2);
  }
  .badge.withdrawn {color:var(--text-2);background:var(--surface-2);border:1px solid var(--line)}
  .window-badge {display:inline-flex;align-items:center;font-size:var(--text-xs);line-height:1.3;padding:2px 6px;border-radius:6px;white-space:nowrap}

  .meta-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xs);
    color: var(--muted);
    flex-wrap: wrap;
  }
  .meta-sep { color: var(--line-strong); }

  /* 3. 门户报头和全局导航 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--canvas);
    border-bottom: 1px solid var(--line-strong);
  }
  .header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-block-size: 64px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: none;
    white-space: nowrap;
    color: var(--ink);
  }
  .brand:hover { color: var(--ink); }
  .brand-emblem {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--text);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 700 0.72rem/1 var(--font-display);
    letter-spacing: -0.02em;
    flex: none;
  }
  .brand strong { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.02em; }
  .brand-ai { color: var(--ink); }
  .brand small {
    font: 500 0.7rem/1 var(--font-mono);
    color: var(--subtle);
    letter-spacing: 0.04em;
    margin-left: 2px;
  }

  .topnav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
    flex-wrap: wrap;
  }
  .topnav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-block-size: 36px;
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    font-size: 0.875rem;
    font-weight: 450;
    color: var(--muted);
    white-space: nowrap;
  }
  .topnav a:hover { color: var(--accent); background: var(--soft); }
  .topnav a[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    white-space: nowrap;
  }
  .search-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-block-size: 36px;
    padding: 5px 10px 5px 12px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--muted);
    font-size: var(--text-xs);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  }
  .search-trigger:hover {
    border-color: var(--line-hover);
    color: var(--ink);
  }
  .kbd-cap {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 5px;
    background: var(--soft);
    border: 1px solid var(--line);
    font: 500 0.6875rem/1.3 var(--font-mono);
    color: var(--subtle);
  }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-block-size: 36px;
    padding: 6px 14px;
    background: var(--accent-wash);
    color: var(--accent);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-xs);
  }
  .nav-cta:hover { background: var(--text); color: #fff; }
  .nav-cta:active { transform: scale(0.98); }

  /* 4. 搜索报头与页面标题 */
  .intent-ribbon,
  .entity-hero {
    position: relative;
    background-color: var(--canvas);
    border-bottom: 1px solid var(--line);
  }
  .intent-ribbon { padding: 36px 0 28px; }
  .intent-ribbon-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
  }
  .intent-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 500 var(--text-xs)/1.3 var(--font-mono);
    color: var(--muted);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
  }
  .intent-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-3);
    box-shadow: 0 0 0 3px transparent;
  }
  .intent-lead h1 {
    font-size: var(--text-hero);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.18;
    max-width: 22ch;
  }
  .intent-lead p {
    font-size: var(--text-sm);
    color: var(--muted);
    margin-top: 10px;
  }

  .hero-search {
    display: flex;
    align-items: center;
    width: min(460px, 100%);
    padding: 4px 4px 4px 14px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  }
  .hero-search:has(input:focus-visible) {
    border-color: var(--ink);
    box-shadow: 0 0 0 4px rgba(17, 18, 21, 0.07), var(--shadow-sm);
  }
  .hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 8px 8px 8px 0;
    font-size: var(--text-sm);
    background: transparent;
  }
  .hero-search input::placeholder { color: var(--subtle); }
  .hero-search input:focus-visible { outline: none; }
  .hero-search button {
    border: 0;
    background: var(--dark);
    color: #ffffff;
    min-block-size: 36px;
    padding: 6px 18px;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  }
  .hero-search button:hover { background: var(--text-2); }
  .hero-search button:active { transform: scale(0.98); }

  .capsule-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .capsule-strip::-webkit-scrollbar { display: none; }
  .capsule-label {
    font-size: var(--text-xs);
    color: var(--subtle);
    white-space: nowrap;
    margin-right: 4px;
  }
  .capsule {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--ink-body);
    border-radius: var(--radius-pill);
    white-space: nowrap;
    box-shadow: var(--shadow-xs);
  }
  .capsule:hover {
    border-color: var(--line-hover);
    color: var(--ink);
    transform: translateY(-1px);
  }
  .capsule.is-hot {
    background: var(--dark);
    border-color: var(--dark);
    color: #ffffff;
  }
  .capsule.is-hot:hover { background: var(--text-2); color: #ffffff; }

  /* 5. 首页 Bento 主视觉网格 */
  .home-wrap { padding: 36px 0 80px; }
  .front-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }
  .front-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* 哑光炭黑主推视觉锚点卡（借鉴 EianLu 编辑部画册美学） */
  .lead-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 32px 28px;
    box-shadow: var(--shadow-sm);
  }
  .lead-card > * { position: relative; z-index: 1; }
  .lead-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: var(--text-xs);
    color: var(--dark-muted);
  }
  .lead-index {
    font: 600 0.72rem/1 var(--font-mono);
    color: var(--text-2);
    letter-spacing: 0.08em;
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    border: 1px solid var(--line);
  }
  .lead-card .ev-badge,
  .lead-card .badge {
    background: var(--line);
    color: var(--text-2);
    border-color: var(--line);
  }
  .lead-meta time {
    margin-left: auto;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: var(--text-2xs);
    color: var(--dark-muted);
  }
  .lead-card h2 {
    font-size: var(--text-2xl);
    line-height: 1.26;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 18px 0 12px;
  }
  .lead-card h2 a:hover { color: var(--text-2); }
  .lead-card p {
    font-size: var(--text-base);
    color: var(--text-2);
    line-height: 1.75;
    max-width: 56ch;
  }
  .lead-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--dark-border);
    flex-wrap: wrap;
  }
  .lead-foot-note {
    font-size: var(--text-xs);
    color: var(--dark-muted);
  }
  .read-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark);
    background: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
  }
  .read-cta:hover { background: var(--surface-2); color: var(--text); transform: translateY(-1px); }

  /* 2×2 精致白底浮起精选卡 */
  .brief-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .brief-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-med) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-med) var(--ease-out);
  }
  .brief-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-hover);
    box-shadow: var(--shadow-md);
  }
  .brief-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .card-num {
    font: 600 0.72rem/1 var(--font-mono);
    color: var(--subtle);
    font-variant-numeric: tabular-nums;
  }
  .brief-card h3 { font-size: var(--text-md); line-height: 1.45; }
  .brief-card h3 a:hover { color: var(--blue); }
  .brief-card p { font-size: var(--text-xs); color: var(--muted); line-height: 1.72; }
  .brief-cond {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: var(--text-2xs);
    color: var(--subtle);
  }

  /* 右栏：暗色工作室 AI 自测卡 + 精致价格速查卡 */
  .front-side { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
  .game-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px 24px 22px;
    color: var(--text);
    box-shadow: var(--shadow-sm);
  }
  .game-card > * { position: relative; z-index: 1; }
  .game-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .game-card .eyebrow {
    font: 500 var(--text-2xs)/1.3 var(--font-mono);
    color: var(--text-2);
    letter-spacing: 0.04em;
  }
  .game-card h2 {
    font-size: 1.35rem;
    line-height: 1.32;
    color: var(--text);
    margin: 12px 0 8px;
  }
  .game-card p { font-size: var(--text-xs); color: var(--text-2); line-height: 1.72; }
  .game-card .btn.btn-light { width: 100%; justify-content: space-between; margin-top: 18px; }
  .game-card small {
    display: block;
    font-size: var(--text-2xs);
    color: var(--dark-muted);
    margin-top: 12px;
  }
  .game-card small a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
  .game-card small a:hover { color: var(--text-2); }

  .rank-compact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
  }
  .card-head-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
  }
  .card-head-line h2 { font-size: var(--text-md); }
  .card-head-line a { font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
  .card-head-line a:hover { color: var(--ink); }
  .mini-price-list { margin: 0; }
  .mini-price-list > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-xs);
  }
  .mini-price-list > div:last-child { border-bottom: 0; }
  .mini-price-list dt { font-weight: 600; color: var(--ink); }
  .mini-price-list dd {
    margin: 0;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    color: var(--muted);
    text-align: right;
    white-space: nowrap;
    font-size: 0.74rem;
  }
  .compact-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: var(--text-xs);
  }
  .compact-links-row a { font-weight: 600; color: var(--ink); }
  .compact-links-row a:hover { color: var(--blue); }

  /* 6. 瑞士编辑部区块标题（去掉 2px 粗黑横线，改用索引号 + 大留白呼吸感） */
  .portal-section {
    margin-top: 64px;
    scroll-margin-top: var(--anchor-offset);
    content-visibility: auto;
    contain-intrinsic-size: auto 420px;
  }
  .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .section-index {
    display: inline-block;
    font: 600 var(--text-2xs)/1 var(--font-mono);
    color: var(--subtle);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }
  .section-head h2 {
    font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.65rem);
    letter-spacing: -0.03em;
  }
  .section-head .sub {
    display: block;
    font-size: var(--text-xs);
    color: var(--muted);
    margin-top: 4px;
  }
  .section-head a {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--ink);
  }
  .section-head a:hover { color: var(--blue); }

  /* 专题路线 + 常见问题 */
  .collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .collection-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-med) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-med) var(--ease-out);
  }
  .collection-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-hover);
    box-shadow: var(--shadow-md);
  }
  .collection-card h3 { font-size: var(--text-md); line-height: 1.42; }
  .collection-card p { font-size: var(--text-xs); color: var(--muted); line-height: 1.72; }
  .collection-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: var(--text-xs);
    color: var(--subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .collection-meta a { font-weight: 600; color: var(--ink); }
  .collection-meta a:hover { color: var(--blue); }

  .scenario-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
  }
  .scenario-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: var(--text-sm);
    box-shadow: var(--shadow-xs);
  }
  .scenario-link:hover {
    border-color: var(--line-hover);
    background: var(--surface-hover);
    transform: translateY(-1px);
    color: var(--ink);
  }
  .scenario-link strong { font-weight: 600; display: block; line-height: 1.4; }
  .scenario-link small { display: block; font-size: var(--text-xs); color: var(--muted); margin-top: 3px; }

  /* 7. 行业动态、政策卡片与一人公司社区速览 */
  .pulse-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .pulse-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    box-shadow: var(--shadow-xs);
  }
  .voice-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .voice-item:first-child { padding-top: 0; }
  .voice-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .voice-who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--text-xs); color: var(--muted); margin-bottom: 6px; }
  .voice-who strong { font-size: var(--text-sm); color: var(--ink); font-weight: 600; }
  .voice-item h3 { font-size: var(--text-md); line-height: 1.48; }
  .voice-item p { font-size: var(--text-xs); color: var(--muted); margin-top: 6px; line-height: 1.72; }
  .voice-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
  .vote-group { display: inline-flex; gap: 6px; }
  .vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-block-size: 30px;
    padding: 4px 11px;
    font-size: var(--text-xs);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    border-radius: var(--radius-pill);
    transition: all var(--dur-fast) var(--ease-out);
  }
  .vote-btn:hover { border-color: var(--ink); color: var(--ink); }
  .vote-btn[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #ffffff; font-weight: 600; }
  .vote-btn:active { transform: scale(0.96); }

  .event-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
  }
  .event-card:first-child { padding-top: 0; }
  .event-card:last-child { border-bottom: 0; padding-bottom: 0; }
  .event-date {
    background: var(--soft);
    border-radius: var(--radius-sm);
    padding: 9px 6px;
    text-align: center;
    font: 600 0.95rem/1.25 var(--font-mono);
    font-variant-numeric: tabular-nums;
    color: var(--ink);
  }
  .event-date small { display: block; font: 400 var(--text-2xs)/1.3 var(--font-body); color: var(--muted); margin-top: 3px; }
  .event-card h3 { font-size: var(--text-base); line-height: 1.48; margin-top: 4px; }
  .event-card p { font-size: var(--text-xs); color: var(--muted); margin-top: 4px; }

  /* 政策卡片（零顶部彩条，悬浮白卡 + 语义状态圆点） */
  .policy-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .policy-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-med) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-med) var(--ease-out);
  }
  .policy-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-hover);
    box-shadow: var(--shadow-md);
  }
  .policy-card.is-closed { opacity: 0.65; }
  .policy-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }
  .policy-card-origin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    color: var(--muted);
    font-weight: 500;
  }
  .policy-card h3 { font-size: var(--text-md); line-height: 1.45; }
  .policy-card p { font-size: var(--text-xs); color: var(--muted); line-height: 1.72; }
  .policy-card-foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: var(--text-xs);
    color: var(--subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }
  .policy-card-foot a { color: var(--ink); font-weight: 600; }
  .policy-card-foot a:hover { color: var(--blue); }

  /* 一人公司社区速览条 */
  .opc-bar {
    margin-top: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-xs);
  }
  .opc-bar-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .opc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    color: var(--ink);
  }
  .opc-chip:hover {
    border-color: var(--ink);
    background: var(--dark);
    color: #ffffff;
  }
  .opc-chip:hover b { color: var(--text-2); }
  .opc-chip b { color: var(--subtle); font-weight: 500; }

  /* 开源与趋势 3 列卡 */
  .eco-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
  }
  .eco-col {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    box-shadow: var(--shadow-xs);
  }
  .eco-col h3 {
    font-size: var(--text-sm);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
  .eco-col h3 small { font: 400 var(--text-2xs)/1 var(--font-mono); color: var(--subtle); }
  .eco-list { list-style: none; padding: 0; margin: 0; }
  .eco-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    font-size: var(--text-xs);
  }
  .eco-list li:last-child { border-bottom: 0; padding-bottom: 0; }
  .eco-list strong { font-size: var(--text-sm); color: var(--ink); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
  .eco-list span { color: var(--muted); font-family: var(--font-mono); font-size: var(--text-2xs); white-space: nowrap; }

  /* 8. 筛选胶囊与工具事实卡（带定制色标单字微徽） */
  .filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
  .filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-block-size: 34px;
    padding: 5px 14px;
    font-size: var(--text-xs);
    font-weight: 500;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    border-radius: var(--radius-pill);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: all var(--dur-fast) var(--ease-out);
  }
  .filter-tab:hover { border-color: var(--line-hover); color: var(--ink); }
  .filter-tab.is-active, .filter-tab[aria-pressed="true"] {
    background: var(--dark);
    border-color: var(--dark);
    color: #ffffff;
  }
  .filter-tab:active { transform: scale(0.97); }

  .tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .grid-two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-fact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-med) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-med) var(--ease-out),
                opacity var(--dur-med) var(--ease-out);
  }
  .tool-fact-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-hover);
    box-shadow: var(--shadow-md);
  }
  .tool-fact-card.is-user-fit {
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink), var(--shadow-sm);
  }
  .tool-fact-card.is-dimmed { opacity: 0.36; }
  .tool-card-top { display: flex; align-items: center; gap: 11px; min-width: 0; }
  .tool-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: var(--soft);
    color: var(--ink);
    font: 700 0.95rem/1 var(--font-display);
    border: 1px solid var(--line);
  }
  .tool-mark {background:var(--surface-2);color:var(--text-2);border-color:var(--line)}

  .tool-card-top h3 { font-size: var(--text-md); font-weight: 600; overflow-wrap: anywhere; }
  .tool-card-top .form-badge { margin-left: auto; }
  .tool-card-desc { font-size: var(--text-xs); color: var(--muted); line-height: 1.7; }
  .tool-card-ruler {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: var(--text-2xs);
    color: var(--subtle);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
  }

  /* 9. 筛选坞与列表卡片 */
  .matrix-bar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-xs);
  }
  .matrix-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .matrix-label { font-size: var(--text-xs); font-weight: 600; color: var(--ink); min-width: 68px; }
  .fit-toggle-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: var(--text-xs);
  }
  .fit-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; color: var(--ink); }
  .fit-switch input { width: 16px; height: 16px; accent-color: var(--ink); }

  .directory-body { padding-block: 24px 56px; }
  .article-filters {
    margin-bottom: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
  }
  .article-filters summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-block-size: 46px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: var(--text-sm);
  }
  .article-filters summary::after {
    content: "";
    flex: none;
    inline-size: 7px;
    block-size: 7px;
    margin-inline: auto 2px;
    border: solid var(--muted);
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
  }
  .article-filters[open] summary::after { transform: translateY(2px) rotate(225deg); }
  .article-filter-title { font-weight: 700; white-space: nowrap; }
  .article-filter-selection { color: var(--muted); overflow-wrap: anywhere; }
  .article-filters .matrix-bar {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: none;
  }

  .method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .method-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-med) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-med) var(--ease-out);
  }
  .method-card:hover { transform: translateY(-2px); border-color: var(--line-hover); box-shadow: var(--shadow-md); }
  .method-card.is-user-fit { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow-sm); }
  .method-card.is-dimmed { opacity: 0.36; }
  .method-card h3 { font-size: var(--text-lg); line-height: 1.4; }
  .article-directory .method-card h2 { font-size: var(--text-lg); line-height: 1.4; }
  .method-card p { font-size: var(--text-sm); color: var(--muted); line-height: 1.72; }
  .method-precond {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: var(--text-xs);
    color: var(--subtle);
    display: flex;
    gap: 8px 16px;
    flex-wrap: wrap;
  }

  /* 10. 详情页头与次级分段页签 */
  .entity-hero { padding: 28px 0 32px; }
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: var(--text-xs);
    color: var(--subtle);
    margin-bottom: 14px;
  }
  .breadcrumb a:hover { color: var(--ink); }
  .entity-kind {
    font: 600 var(--text-2xs)/1.3 var(--font-mono);
    color: var(--text-2);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
  }
  .entity-hero h1 { font-size: var(--text-2xl); line-height: 1.24; overflow-wrap: anywhere; }
  .entity-lead { font-size: var(--text-base); color: var(--muted); margin-top: 12px; max-width: 64ch; line-height: 1.75; }
  .entity-meta-row {
    display: flex;
    align-items: center;
    gap: 8px 14px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: var(--text-xs);
    color: var(--muted);
  }
  .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; align-items: center; }

  .page-tabs {
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: var(--site-header-height);
    z-index: 20;
  }
  .page-tabs .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
    padding: 6px 0;
  }
  .page-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-block-size: 34px;
    padding: 5px 10px;
    border-radius: var(--radius-xs);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--muted);
    max-inline-size: 100%;
    overflow-wrap: anywhere;
  }
  .page-tabs a:hover { color: var(--accent); background: var(--soft); }
  .page-tabs a:is([aria-current="page"], [aria-current="location"]) {
    background: var(--accent-wash);
    color: var(--accent);
    font-weight: 700;
  }
  .badge-count {
    font: 600 0.7rem/1 var(--font-mono);
    font-variant-numeric: tabular-nums;
    opacity: 0.65;
  }
  .page-tabs a[aria-current="page"] .badge-count { opacity: 1; }

  /* 11. 双栏正文与侧边穿梭 */
  .wiki-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
    gap: 32px;
    padding: 32px 0 72px;
    align-items: start;
  }
  .wiki-main {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 34px;
    box-shadow: var(--shadow-xs);
  }
  .wiki-main section { margin-bottom: 36px; scroll-margin-top: var(--anchor-offset); }
  .ranking-board { margin-bottom: 36px; scroll-margin-top: var(--anchor-offset); }
  .wiki-main section:last-child { margin-bottom: 0; }
  .reading-layout :is(.wiki-main, .aside-block) {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .reading-layout .aside-block { border-block-start: 1px solid var(--line-strong); padding-block-start: 12px; }
  .reading-layout .wiki-main { font-size: max(1rem, var(--text-base)); line-height: 1.8; }
  .reading-layout .wiki-main :is(p, li) a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  .wiki-main h2 {
    font-size: 1.25rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
  }
  .wiki-main h3 { font-size: 1.0625rem; margin: 20px 0 8px; }
  .wiki-main p { max-width: 65ch; color: var(--ink-body); }
  .wiki-main p + p { margin-top: 12px; }
  .wiki-main hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
  .wiki-main blockquote {
    border-left: 2px solid var(--ink);
    background: var(--canvas);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px 18px;
    margin: 16px 0;
    color: var(--ink-body);
    font-size: var(--text-sm);
  }
  .wiki-main pre {
    background: var(--dark);
    color: #e5e7eb;
    padding: 16px 18px;
    overflow-x: auto;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 1.65;
    margin: 16px 0;
  }
  .wiki-main code {
    font-family: var(--font-mono);
    background: var(--soft);
    padding: 2px 6px;
    font-size: 0.86em;
    border-radius: 5px;
    overflow-wrap: anywhere;
  }
  .wiki-main pre code { background: none; padding: 0; }
  .wiki-main :is(h2, h3, h4)[id^="guide-"] { scroll-margin-top: var(--anchor-offset); }
  .wiki-main h2[id^="guide-"] { margin-block-start: 26px; }
  .prompt-example { margin-block: 12px 24px; }
  .prompt-example button:not([hidden]) {
    display: block;
    min-height: 44px;
    margin: 0 0 4px auto;
    padding: 4px 12px;
    color: var(--accent);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
  }
  .wiki-main .prompt-example pre {
    margin: 0;
    background: var(--pale);
    color: var(--ink);
    border: 1px solid var(--line);
    font: inherit;
    font-size: var(--text-base);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .wiki-main .prompt-example code { font: inherit; }

  .info-list { margin: 0; border-top: 1px solid var(--line); }
  .info-list > div {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-sm);
  }
  .info-list dt { color: var(--muted); font-weight: 500; }
  .info-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
  .detail-facts { border-top: 0; }
  .detail-facts > div:first-child { padding-top: 0; }
  .detail-chip-row { display: flex; flex-wrap: wrap; gap: 4px; }
  .detail-chip-row .badge { max-inline-size: 100%; white-space: normal; }
  .wiki-main .detail-check-date { margin-top: 10px; color: var(--muted); font-size: var(--text-xs); }

  .full-shot {
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px;
    margin: 20px 0;
  }
  .full-shot img { width: 100%; max-height: 620px; object-fit: contain; margin-inline: auto; border-radius: var(--radius-xs); }
  .full-shot figcaption { font-size: var(--text-xs); color: var(--muted); margin-top: 10px; }

  .evidence-box {
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 15px 18px;
    font-size: var(--text-xs);
    color: var(--ink-body);
    line-height: 1.75;
    margin-top: 18px;
  }
  .sources-list { font-size: var(--text-sm); line-height: 1.9; color: var(--ink-body); }
  .sources-list a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; overflow-wrap: anywhere; }
  .sources-list a:hover { color: var(--blue); text-decoration-color: var(--blue); }

  .wiki-aside {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .aside-block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    box-shadow: var(--shadow-xs);
  }
  .aside-block h2 {
    font-size: var(--text-sm);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
  }
  .aside-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-sm);
  }
  .aside-link-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .aside-link-item small { display: block; font-size: var(--text-xs); color: var(--muted); }
  .aside-link-item .arrow { color: var(--subtle); flex: none; transition: transform var(--dur-fast) var(--ease-out); }
  .aside-link-item:hover .arrow { transform: translateX(3px); color: var(--ink); }

  .playbook-step {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--canvas);
    padding: 18px 20px;
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }
  .step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 700 var(--text-xs)/1 var(--font-mono);
  }

  /* 12. 现代 SaaS 数据表 + 容器查询自适应卡片（GoogleChrome/modern-web-guidance） */
  .table-scroll {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    margin: 12px 0;
  }
  .opc-table-shell {
    container-type: inline-size;
    container-name: opc-table;
  }
  .rank-table, .doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    min-width: 540px;
  }
  .rank-table th, .rank-table td, .doc-table th, .doc-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
  }
  .rank-table tbody tr:last-child td,
  .doc-table tbody tr:last-child td { border-bottom: 0; }
  .rank-table tbody tr, .doc-table tbody tr { transition: background-color var(--dur-fast) var(--ease-out); }
  .rank-table tbody tr:hover, .doc-table tbody tr:hover { background: var(--surface-2); }
  .rank-table thead th, .doc-table thead th {
    background: var(--surface-2);
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
    text-wrap: balance;
  }
  .rank-score {
    font-family: var(--font-mono);
    font-weight: 600;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .unverified { color: var(--subtle); font-size: var(--text-xs); }

  .rankings-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 8px 24px;
    flex-wrap: wrap;
  }
  .rankings-price-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-block-size: 32px;
    color: var(--blue);
    font-size: var(--text-sm);
    font-weight: 600;
  }
  .rankings-price-link:hover { text-decoration: underline; text-underline-offset: 3px; }
  .rankings-tabs .rankings-all { color: var(--blue); }
  .ranking-title { font-size: var(--text-lg); line-height: 1.35; }
  .ranking-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 12px;
    margin-block: 5px 6px;
    color: var(--muted);
    font-size: var(--text-xs);
  }
  .ranking-purpose { font-size: var(--text-sm); color: var(--muted); }
  .leaderboard-scroll {
    container: leaderboard / inline-size;
    background: transparent;
    border: 0;
    border-block: 1px solid var(--line-strong);
    border-radius: 0;
    box-shadow: none;
  }
  .leaderboard-table thead :is(th, td) { background: var(--soft); }
  .leaderboard-table .leaderboard-rank { width: 4.5rem; }
  .leaderboard-table .rank-score { width: 7rem; color: var(--accent); }
  .leaderboard-table tbody tr:last-child th { border-bottom: 0; }
  .leaderboard-table tbody .leaderboard-note { font-size: var(--text-xs); color: var(--muted); }
  .leaderboard-model .badge { margin-inline-start: 4px; }
  .ranking-source {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 18px;
    font-size: var(--text-xs);
    color: var(--muted);
  }
  .ranking-source strong { color: var(--ink-body); margin-inline-end: 4px; }
  .ranking-source-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .ranking-source-links a {
    display: inline-flex;
    align-items: center;
    min-block-size: 28px;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .rankings-models { border-top: 2px solid var(--ink); padding-block-start: 18px; }
  .rankings-models h2 { font-size: var(--text-lg); }
  .ranking-model-list { margin-block-start: 10px; }
  .ranking-model-entry {
    display: grid;
    grid-template-columns: minmax(10rem, 1.2fr) minmax(0, 2.5fr) minmax(7rem, 0.8fr);
    column-gap: 24px;
    align-items: baseline;
    padding-block: 14px;
    border-block-end: 1px solid var(--line);
    overflow-wrap: anywhere;
  }
  .ranking-model-entry h3 { font-size: var(--text-md); }
  .ranking-model-entry :is(p, small) { color: var(--muted); }
  .ranking-model-entry p { font-size: var(--text-sm); }
  .ranking-model-entry small { font-size: var(--text-xs); }
  @container leaderboard (max-width: 44rem) {
    .leaderboard-table,
    .leaderboard-table :is(thead, tbody) { display: block; min-width: 0; }
    .leaderboard-table tr {
      display: grid;
      grid-template-columns: 2.25rem minmax(0, 1fr) clamp(4.75rem, 27cqi, 6rem);
      gap: 4px 9px;
      padding: 9px 12px;
    }
    .leaderboard-table tbody tr { border-top: 1px solid var(--line); }
    .leaderboard-table thead tr { background: var(--soft); }
    .leaderboard-table :is(th, td) {
      display: block;
      width: auto;
      min-width: 0;
      padding: 0;
      border: 0;
      line-height: 1.45;
      overflow-wrap: anywhere;
    }
    .leaderboard-table :is(.leaderboard-rank, .rank-score) { width: auto; white-space: normal; }
    .leaderboard-table thead th { text-wrap: wrap; }
    .leaderboard-table thead .leaderboard-note {
      position: absolute;
      inline-size: 1px;
      block-size: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
    .leaderboard-table tbody .leaderboard-note { grid-column: 2 / -1; }
    .leaderboard-table tbody .leaderboard-note:empty { display: none; }
    .leaderboard-model .badge { margin-inline-start: 2px; }
  }

  .model-price-shell { container: model-prices / inline-size; }
  .model-price-table thead th { text-wrap: nowrap; }
  .model-price-table td { overflow-wrap: anywhere; }
  .model-price-table tbody tr:last-child th { border-bottom: 0; }
  .model-price-value { font-variant-numeric: tabular-nums; }
  .model-price-value > span,
  .model-price-unit > span { display: none; }
  @container model-prices (max-width: 38rem) {
    .model-price-table,
    .model-price-table tbody { display: block; min-width: 0; }
    .model-price-table thead {
      position: absolute;
      inline-size: 1px;
      block-size: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
    .model-price-table tbody tr {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px 12px;
      padding: 12px;
    }
    .model-price-table tbody tr + tr { border-top: 1px solid var(--line); }
    .model-price-table tbody :is(th, td) { display: block; min-width: 0; border: 0; padding: 0; }
    .model-price-table th[scope="row"],
    .model-price-unit,
    .model-price-note { grid-column: 1 / -1; }
    .model-price-table th[scope="row"] { overflow-wrap: anywhere; }
    .model-price-value { font-weight: 600; }
    .model-price-value > span,
    .model-price-unit > span {
      color: var(--muted);
      font-size: var(--text-xs);
      font-weight: 500;
    }
    .model-price-value > span { display: block; }
    .model-price-unit > span { display: inline; margin-inline-end: 6px; }
    .model-price-note:empty { display: none; }
    .model-price-note { color: var(--muted); }
  }

  .opc-responsive-table th:last-child { white-space: nowrap; text-wrap: nowrap; }
  .opc-cell-val { min-width: 0; overflow-wrap: anywhere; }
  .opc-cell-badges { display: flex; flex-wrap: wrap; gap: 4px; }
  .opc-cell-badges .badge { max-width: 100%; white-space: normal; }
  .opc-cell-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }

  /* 单元格仅保留标签与值两项；多个徽标、链接在值容器内部排版。 */
  /* 窄容器下社区对比表自动重构为堆叠卡片，消除移动端横向滑表疲劳 */
  @container opc-table (max-width: 720px) {
    .opc-responsive-table { min-width: 0; }
    .opc-responsive-table thead { display: none; }
    .opc-responsive-table tbody { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: var(--canvas); }
    .opc-responsive-table tr {
      display: grid;
      gap: 6px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      padding: 14px;
    }
    .opc-responsive-table td {
      display: grid;
      grid-template-columns: 76px minmax(0, 1fr);
      gap: 8px;
      padding: 4px 0;
      border: 0;
      min-width: 0 !important;
      white-space: normal !important;
      align-items: start;
    }
    .opc-responsive-table td::before {
      content: attr(data-label);
      font-size: var(--text-2xs);
      color: var(--subtle);
      font-weight: 600;
    }
  }

  /* 模型价格可视化成本比例条 */
  .cost-cell { min-width: 120px; }
  .cost-val {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: var(--text-sm);
    color: var(--ink);
  }
  .cost-bar-track {
    height: 5px;
    width: 100%;
    max-width: 112px;
    background: var(--soft);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-top: 6px;
  }
  .cost-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: var(--radius-pill);
    background: var(--dark);
    transition: width 320ms var(--ease-out);
  }
  .cost-bar-fill.curr-CNY { background: var(--text-2); }
  .cost-bar-fill.curr-USD { background: var(--text-3); }

  .preset-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .estimator-bar {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-xs);
  }
  .estimator-bar label { display: flex; flex-direction: column; gap: 5px; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
  .estimator-bar input {
    width: 148px;
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xs);
    background: var(--canvas);
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
  }
  .estimator-bar input:focus-visible { background: var(--surface); border-color: var(--ink); }

  .price-directory .estimator-bar {
    padding: 14px 0;
    background: transparent;
    border: 0;
    border-block: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .price-control-label, #est-status { font-size: var(--text-xs); color: var(--muted); }
  .price-control-label { font-weight: 650; }
  #est-status { align-self: center; }
  .price-currency { display: flex; flex-wrap: wrap; gap: 6px; }
  .price-directory .filter-tab { border-radius: var(--radius-xs); }
  .price-directory .filter-tab.is-active { background: var(--accent-wash); color: var(--accent); border-color: var(--line-strong); }
  .price-compare-shell {
    container: price-compare / inline-size;
    background: transparent;
    border: 0;
    border-block: 1px solid var(--line-strong);
    border-radius: 0;
    box-shadow: none;
  }
  .price-compare-table tbody tr:last-child th { border-bottom: 0; }
  .price-version a { text-underline-offset: 3px; }
  .price-version a:hover { text-decoration: underline; }
  .price-version small, .price-note { color: var(--muted); font-size: var(--text-xs); }
  .price-version small { display: block; font-weight: 400; }
  .price-unit, .price-number { font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
  .price-mobile-label { display: none; }
  .price-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

  @container price-compare (max-width: 48rem) {
    .price-compare-table, .price-compare-table tbody { display: block; min-width: 0; }
    .price-compare-table thead {
      position: absolute;
      inline-size: 1px;
      block-size: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
    .price-compare-table tbody tr {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 9px 12px;
      padding-block: 14px;
    }
    .price-compare-table tbody tr + tr { border-top: 1px solid var(--line); }
    .price-compare-table tbody :is(th, td) { min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
    .price-compare-table :is(.price-version, .price-unit, .cost-cell, .price-note) { grid-column: 1 / -1; }
    .price-version strong { font-size: var(--text-md); }
    .price-mobile-label { display: block; color: var(--muted); font-size: var(--text-xs); }
    .price-unit .price-mobile-label { display: inline; margin-inline-end: 6px; }
    .price-number { font-size: var(--text-sm); }
  }

  /* 13. AI 指数小游戏与暗色画册结果卡 */
  .play-section { padding: 32px 0 72px; }
  .play-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: start; }
  .quiz-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    box-shadow: var(--shadow-sm);
  }
  .quiz-group-title {
    font: 600 var(--text-xs)/1.3 var(--font-mono);
    color: var(--text-2);
    margin: 22px 0 12px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .quiz-group-title:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
  .quiz-q { min-inline-size: 0; border: 0; padding: 0; margin: 0 0 20px; }
  .quiz-box .btn { white-space: normal; }
  .quiz-q legend { font-size: var(--text-base); font-weight: 600; margin-bottom: 10px; }
  .quiz-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    margin-bottom: 8px;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
  }
  .quiz-opt:hover { border-color: var(--line-hover); background: var(--surface-2); }
  .quiz-opt:has(input:checked) { border-color: var(--ink); background: var(--canvas); font-weight: 600; }
  .quiz-opt input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; flex: none; }

  .result-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 36px; align-items: start; padding: 36px 0 72px; }
  .share-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    color: var(--text);
    box-shadow: var(--shadow-sm);
  }
  .share-card > * { position: relative; z-index: 1; }
  .share-card-top { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-xs); color: var(--dark-muted); }
  .share-card-top .badge { background: var(--line) !important; color: var(--text-2); }
  .share-card h1 { text-align: center; font-size: 1.9rem; margin-top: 16px; color: var(--text); }
  .score-banner { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 4px; }
  .score-num { font: 700 3.75rem/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text); letter-spacing: -0.04em; }
  .score-stars { font-size: 1.125rem; color: var(--text-2); letter-spacing: 3px; }
  .pref-pills { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
  .pref-pills span {
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 3px 10px;
    font-size: var(--text-2xs);
    color: var(--text-2);
  }
  .card-qr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--dark-border);
    margin-top: 20px;
    padding-top: 16px;
    font-size: var(--text-xs);
    color: var(--text-2);
  }
  .qr-box {
    width: 74px;
    height: 74px;
    background: #ffffff;
    padding: 5px;
    border-radius: var(--radius-xs);
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 14. 页脚与 Raycast/Linear 风格 ⌘K 命令面板（原生 @starting-style 入出场动效） */
  .site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: 28px 0;
    font-size: var(--text-xs);
    color: var(--muted);
  }
  .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
  .footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
  .footer-links a { color: var(--muted); font-weight: 500; }
  .footer-links a:hover { color: var(--ink); }

  .search-dialog {
    width: min(640px, calc(100% - 28px));
    max-height: 82vh;
    overflow: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 20px 22px 16px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 24px 64px rgba(17, 18, 21, 0.22), 0 4px 16px rgba(17, 18, 21, 0.08);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 180ms var(--ease-out),
                transform 200ms var(--ease-out),
                display 180ms allow-discrete,
                overlay 180ms allow-discrete;
    transition-behavior: allow-discrete;
  }
  .search-dialog[open] { opacity: 1; transform: translateY(0) scale(1); }
  @starting-style {
    .search-dialog[open] { opacity: 0; transform: translateY(-8px) scale(0.98); }
  }
  .search-dialog::backdrop {
    background: rgba(17, 18, 21, 0.42);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 180ms var(--ease-out),
                display 180ms allow-discrete,
                overlay 180ms allow-discrete;
    transition-behavior: allow-discrete;
  }
  .search-dialog[open]::backdrop { opacity: 1; }
  @starting-style {
    .search-dialog[open]::backdrop { opacity: 0; }
  }

  .search-group-title {
    font: 600 var(--text-2xs)/1.3 var(--font-mono);
    color: var(--subtle);
    margin: 14px 0 6px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    letter-spacing: 0.03em;
  }
  .search-group-title:first-child { border-top: 0; margin-top: 4px; padding-top: 0; }
  .search-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 12px;
    margin-inline: -6px;
    border-radius: var(--radius-xs);
    font-size: var(--text-sm);
    color: var(--ink);
  }
  .search-row:hover,
  .search-row.is-kbd-active {
    background: var(--canvas);
    color: var(--ink);
  }
  .search-row small { color: var(--subtle); font-size: var(--text-xs); white-space: nowrap; }
  .dialog-kbd-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: var(--text-2xs);
    color: var(--subtle);
  }

  .notice {
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: var(--text-sm);
    margin: 14px 0;
  }
  .notice.warn { border-color: var(--line-strong); background: var(--surface-2); color: var(--text-2); }

  /* 纯 CSS 滚动入场微动效（GoogleChrome/modern-web-guidance） */
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      @keyframes smzdai-reveal {
        from { opacity: 0.01; transform: translateY(14px); }
        to { opacity: 1; transform: translateY(0); }
      }
      .portal-section {
        animation: smzdai-reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 24%;
      }
    }
  }
}

@layer utilities {
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  [hidden] { display: none !important; }
}

@media (max-width: 1024px) {
  :root { --site-header-height: calc(61px + 2rem); }
  .header-inner {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding-block: 10px 4px;
    min-block-size: auto;
    reading-flow: flex-visual;
  }
  .header-actions { margin-left: auto; }
  .topnav {
    order: 3;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px 4px;
    padding-top: 3px;
    border-top: 1px solid var(--line);
  }
  .topnav a {
    justify-content: center;
    min-block-size: 2rem;
    padding: 4px;
    font-size: 0.8125rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .topnav a[aria-current="page"] { background: var(--accent-wash); text-decoration: none; }
}
@media (max-width: 960px) {
  .front-grid, .pulse-grid, .wiki-layout, .play-grid, .result-grid { grid-template-columns: minmax(0, 1fr); }
  .collection-grid, .tool-grid, .eco-grid, .scenario-strip, .policy-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --anchor-offset: calc(var(--site-header-height) + 12px); }
  .wrap, .wrap-narrow { width: calc(100% - 28px); }
  .rankings-hero .breadcrumb { display: none; }
  .page-tabs { position: static; }
  .page-tabs .wrap { padding-block: 4px; }
  .page-tabs a { min-block-size: 2rem; padding: 4px 8px; }
  .rankings-tabs .wrap {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px 4px;
  }
  .rankings-tabs a { justify-content: center; padding-inline: 4px; text-align: center; }
  .rankings-tabs .rankings-all { grid-column: 1 / -1; justify-content: start; }
  .ranking-model-entry { display: block; }
  .ranking-model-entry p { margin-block-start: 3px; }
  .lead-card { padding: 22px 20px; }
  .wiki-main { padding: 20px 18px; }
  .reading-layout .wiki-main { padding: 0; }
  .directory-hero { padding-block: 20px 18px; }
  .directory-hero .breadcrumb { margin-bottom: 10px; }
  .directory-hero .entity-lead { margin-top: 9px; line-height: 1.65; }
  .directory-body { padding-block: 16px 48px; }
  .article-directory .method-card { padding: 16px 18px; gap: 8px; }
  .entity-detail-hero { padding-block: 20px 22px; }
  .entity-detail-hero .breadcrumb { margin-bottom: 10px; }
  .entity-detail-hero .entity-lead { margin-top: 9px; line-height: 1.65; }
  .entity-detail-hero .entity-meta-row { margin-top: 10px; gap: 6px 10px; }
  .entity-detail-hero .hero-actions { margin-top: 14px; }
  .entity-detail-layout { padding-block: 18px 48px; gap: 16px; }
  .entity-detail-layout .wiki-main section:not(:last-child) { margin-bottom: 26px; }
  .entity-detail-layout .wiki-main h2 { margin-bottom: 12px; }
  .detail-facts > div { padding-block: 9px; }
  .detail-facts > .fact-compact { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  .brief-list, .method-grid, .collection-grid, .tool-grid, .eco-grid, .scenario-strip, .policy-strip-grid { grid-template-columns: 1fr; }
  .info-list > div { grid-template-columns: 1fr; gap: 4px; }
  .share-card { padding: 20px; }
  .portal-section { margin-top: 44px; }
}
@media (max-width: 500px) {
  :root { --site-header-height: calc(63px + 4rem); }
  .topnav, .rankings-tabs .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-actions { gap: 6px; }
  .nav-cta { padding-inline: 10px; }
  .search-trigger span.label-text,
  .search-trigger .kbd-cap { display: none; }
  .brand small { display: none; }
  .price-control-label { flex-basis: 100%; }
  .price-directory .estimator-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-directory .estimator-bar input { width: 100%; }
  .price-directory .estimator-bar :is(button, output) { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .intent-ribbon { padding: 24px 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
