    :root {
      --bg: #f6f7f9;
      --panel: #ffffff;
      --text: #1d2430;
      --muted: #5c6878;
      --line: #d9dee7;
      --head: #202a37;
      --accent: #0a7a43;
      --accent-soft: #e8f5ee;
    }

    * { box-sizing: border-box; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
      line-height: 1.55;
    }
    header {
      background: var(--head);
      color: white;
      padding: 28px 32px;
    }
    h1 {
      margin: 0 0 8px;
      font-size: 28px;
      letter-spacing: 0;
    }
    h2 {
      margin: 28px 0 12px;
      font-size: 20px;
      letter-spacing: 0;
    }
    p { margin: 8px 0; }
    a { color: #075fbc; text-decoration: none; }
    a:hover { text-decoration: underline; }
    main {
      width: min(100%, 3840px);
      max-width: none;
      margin: 0 auto;
      padding: 24px 32px 40px;
    }
    .note {
      background: var(--panel);
      border: 1px solid var(--line);
      border-left: 4px solid var(--accent);
      padding: 14px 16px;
      margin-bottom: 18px;
    }
    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }
    .chip {
      background: var(--accent-soft);
      color: #075f39;
      border: 1px solid #c6e7d7;
      border-radius: 999px;
      padding: 4px 10px;
      font-size: 13px;
      white-space: nowrap;
    }
    .table-wrap {
      background: var(--panel);
      border: 1px solid var(--line);
      overflow-x: auto;
      box-shadow: 0 1px 2px rgba(0,0,0,0.04);
      scrollbar-gutter: stable;
    }
    table {
      width: 100%;
      min-width: 2500px;
      border-collapse: collapse;
      font-size: 13px;
    }
    th, td {
      border-bottom: 1px solid var(--line);
      border-right: 1px solid var(--line);
      padding: 10px 10px;
      vertical-align: top;
    }
    th:last-child, td:last-child { border-right: 0; }
    thead th {
      position: sticky;
      top: 0;
      background: #eef1f5;
      color: #18202c;
      z-index: 1;
      text-align: left;
      font-weight: 700;
      white-space: nowrap;
    }
    tbody tr:nth-child(even) { background: #fbfcfd; }
    .product-img {
      width: 132px;
      height: 86px;
      object-fit: contain;
      display: block;
      background: #fff;
      border: 1px solid #e6e9ef;
    }
    .model {
      font-weight: 700;
      min-width: 178px;
    }
    .muted { color: var(--muted); }
    .price {
      font-weight: 700;
      white-space: nowrap;
    }
    .term-cell {
      display: grid;
      gap: 4px;
    }
    .term-main {
      display: block;
      font-weight: 700;
      color: #1d2430;
    }
    .term-cn {
      display: block;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }
    .codec-engine { font-weight: 700; color: #183b6b; }
    .codec-hevc, .codec-av1 { min-width: 250px; }
    .codec-block {
      display: grid;
      gap: 3px;
      line-height: 1.45;
    }
    .codec-title {
      color: #183b6b;
      font-weight: 700;
    }
    .codec-detail { color: #1d2430; }
    .codec-note {
      color: var(--muted);
      font-size: 12px;
    }
    .codec-limited .codec-title { color: #8a4b00; }
    .feature-strip,
    .cell-highlights {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-top: 6px;
    }
    .feature-pill {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      border: 1px solid #cdd9ff;
      border-radius: 4px;
      background: #edf2ff;
      color: #244c9a;
      padding: 1px 6px;
      font-size: 11px;
      font-weight: 700;
      line-height: 1.45;
      white-space: nowrap;
    }
    .feature-pill.memory {
      background: #e8f5ee;
      border-color: #c6e7d7;
      color: #075f39;
    }
    .feature-pill.engine {
      background: #eaf3ff;
      border-color: #bed9ff;
      color: #0b4f8a;
    }
    .feature-pill.codec {
      background: #f1efff;
      border-color: #d8d0ff;
      color: #47358f;
    }
    .feature-pill.power {
      background: #fff6e6;
      border-color: #efd49a;
      color: #7a4c00;
    }
    .feature-pill.form {
      background: #edf7f7;
      border-color: #c8e4e4;
      color: #0d5961;
    }
    .feature-pill.warn {
      background: #fff0ea;
      border-color: #f2c5b2;
      color: #9a3a13;
    }
    .memory-cell,
    .power-cell,
    .engine-cell,
    .bandwidth-cell,
    .form-cell {
      display: grid;
      gap: 4px;
    }
    .memory-main,
    .power-main,
    .engine-main,
    .bandwidth-main {
      color: #102a43;
      font-weight: 800;
    }
    .memory-main.memory-xl { color: #08733f; }
    .memory-main.memory-lg { color: #075fbc; }
    .memory-main.memory-mid { color: #183b6b; }
    .cell-note {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }
    .tag {
      display: inline-block;
      padding: 2px 7px;
      border-radius: 4px;
      background: #edf2ff;
      color: #244c9a;
      font-size: 12px;
      margin-bottom: 4px;
    }
    .compare-bar {
      position: sticky;
      top: 0;
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: 12px 0;
      padding: 12px 14px;
      background: #ffffff;
      border: 1px solid var(--line);
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .compare-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }
    .compare-count {
      font-weight: 700;
      color: #0d5532;
    }
    button {
      border: 1px solid #bfc8d6;
      background: #ffffff;
      color: var(--text);
      padding: 7px 10px;
      border-radius: 4px;
      cursor: pointer;
      font: inherit;
      font-size: 13px;
    }
    button:hover { background: #f1f4f8; }
    button:focus-visible,
    a:focus-visible,
    input:focus-visible,
    select:focus-visible { outline: 3px solid #80b9f0; outline-offset: 2px; }
    #priceFreshness.stale { color: #9b3c00; font-weight: 700; }
    button.primary {
      background: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
    }
    button.primary:hover { background: #086b3b; }
    button:disabled {
      cursor: not-allowed;
      opacity: 0.5;
    }
    .select-cell {
      text-align: center;
      width: 54px;
    }
    .compare-check {
      width: 18px;
      height: 18px;
      cursor: pointer;
    }
    tr.is-selected {
      background: #f0fbf5 !important;
      outline: 2px solid #8fd5ae;
      outline-offset: -2px;
    }
    tr.is-hidden-by-compare {
      display: none;
    }
    tr.is-hidden-by-level {
      display: none;
    }
    .compare-panel {
      display: none;
      margin: 14px 0 24px;
    }
    .compare-panel.is-visible {
      display: block;
    }
    .compare-panel table {
      min-width: 960px;
    }
    .empty-compare {
      background: #fff9e8;
      border: 1px solid #efd489;
      color: #665011;
      padding: 10px 12px;
    }
    .hevc-shop {
      background: var(--panel);
      border: 1px solid var(--line);
      padding: 16px;
      margin: 12px 0 22px;
    }
    .hevc-shop-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 14px;
    }
    .hevc-shop-head p {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 13px;
    }
    .hevc-shop-result {
      min-width: 132px;
      text-align: right;
      font-size: 13px;
      color: var(--muted);
    }
    .hevc-shop-result strong {
      display: block;
      color: #0d5532;
      font-size: 22px;
      line-height: 1.1;
    }
    .hevc-controls {
      display: grid;
      grid-template-columns: minmax(220px, 1.4fr) repeat(6, minmax(138px, 1fr));
      gap: 10px;
      align-items: end;
      margin-bottom: 14px;
    }
    .hevc-control {
      display: grid;
      gap: 4px;
      font-size: 12px;
      color: var(--muted);
    }
    .hevc-control input,
    .hevc-control select {
      width: 100%;
      min-height: 34px;
      border: 1px solid #bfc8d6;
      border-radius: 4px;
      background: #ffffff;
      color: var(--text);
      padding: 6px 8px;
      font: inherit;
      font-size: 13px;
    }
    .hevc-checks {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 4px 0 14px;
    }
    .hevc-checks label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 32px;
      border: 1px solid var(--line);
      background: #fbfcfd;
      padding: 5px 9px;
      font-size: 13px;
      cursor: pointer;
    }
    .hevc-shelf-summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-top: 1px solid var(--line);
      padding-top: 12px;
      margin-bottom: 12px;
      font-size: 13px;
      color: var(--muted);
    }
    .hevc-shelf-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 12px;
    }
    .hevc-card {
      position: relative;
      display: grid;
      grid-template-columns: 124px minmax(0, 1fr);
      gap: 12px;
      min-height: 230px;
      border: 1px solid var(--line);
      background: #ffffff;
      padding: 12px;
    }
    .hevc-card.is-compared {
      border-color: #79c99a;
      box-shadow: inset 0 0 0 1px #79c99a;
    }
    .hevc-rank {
      position: absolute;
      top: 10px;
      left: 10px;
      z-index: 1;
      background: #202a37;
      color: #ffffff;
      padding: 2px 7px;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 800;
    }
    .hevc-media {
      display: grid;
      align-content: center;
      min-height: 116px;
      border: 1px solid #e6e9ef;
      background: #ffffff;
      padding: 8px;
    }
    .hevc-media img {
      width: 100%;
      height: 92px;
      object-fit: contain;
      display: block;
    }
    .hevc-title {
      min-height: 42px;
      font-weight: 800;
      line-height: 1.35;
      color: #122033;
    }
    .hevc-price {
      margin-top: 4px;
      color: #a03c10;
      font-weight: 800;
    }
    .hevc-score {
      display: grid;
      gap: 5px;
      margin: 9px 0;
    }
    .hevc-score-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-size: 12px;
      color: var(--muted);
    }
    .hevc-score-top strong {
      color: #0d5532;
      font-size: 18px;
    }
    .hevc-score-bar {
      height: 6px;
      background: #e7ebf2;
      overflow: hidden;
    }
    .hevc-score-bar span {
      display: block;
      height: 100%;
      background: var(--accent);
    }
    .hevc-spec-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
      margin-top: 8px;
    }
    .hevc-spec {
      border: 1px solid #e2e7ef;
      background: #fbfcfd;
      padding: 6px 7px;
      min-height: 47px;
    }
    .hevc-spec span {
      display: block;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.2;
    }
    .hevc-spec strong {
      display: block;
      color: #18202c;
      font-size: 13px;
      line-height: 1.25;
      margin-top: 2px;
    }
    .hevc-card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin: 9px 0;
    }
    .hevc-card-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
    }
    .hevc-card-actions a,
    .hevc-card-actions button {
      min-height: 32px;
    }
    .hevc-card-actions a {
      display: inline-flex;
      align-items: center;
      border: 1px solid #bfc8d6;
      padding: 6px 10px;
      color: var(--text);
      font-size: 13px;
    }
    .hevc-card-advice {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .hevc-card-test-summary {
      margin: 6px 0 0;
      color: #0b4f8a;
      font-size: 12px;
      line-height: 1.45;
    }
    .hevc-empty {
      grid-column: 1 / -1;
      border: 1px solid #efd489;
      background: #fff9e8;
      color: #665011;
      padding: 14px;
    }
    .view-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      margin: 10px 0 14px;
    }
    .view-btn.is-active {
      background: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
    }
    body.compact-view #gpuTable {
      min-width: 0;
      table-layout: fixed;
      font-size: 12px;
    }
    body.compact-view #gpuTable th,
    body.compact-view #gpuTable td {
      padding: 8px 7px;
    }
    body.compact-view #gpuTable th:nth-child(1),
    body.compact-view #gpuTable td:nth-child(1) { width: 42px; }
    body.compact-view #gpuTable th:nth-child(2),
    body.compact-view #gpuTable td:nth-child(2) { width: 96px; }
    body.compact-view #gpuTable th:nth-child(3),
    body.compact-view #gpuTable td:nth-child(3) { width: 185px; }
    body.compact-view #gpuTable th:nth-child(4),
    body.compact-view #gpuTable td:nth-child(4) { width: 76px; }
    body.compact-view #gpuTable th:nth-child(7),
    body.compact-view #gpuTable td:nth-child(7) { width: 108px; }
    body.compact-view #gpuTable th:nth-child(9),
    body.compact-view #gpuTable td:nth-child(9) { width: 62px; }
    body.compact-view #gpuTable th:nth-child(10),
    body.compact-view #gpuTable td:nth-child(10) { width: 130px; }
    body.compact-view #gpuTable th:nth-child(11),
    body.compact-view #gpuTable td:nth-child(11) { width: 210px; }
    body.compact-view #gpuTable th:nth-child(12),
    body.compact-view #gpuTable td:nth-child(12) { width: 180px; }
    body.compact-view #gpuTable th:nth-child(16),
    body.compact-view #gpuTable td:nth-child(16) { width: 122px; }
    body.compact-view #gpuTable th:nth-child(17),
    body.compact-view #gpuTable td:nth-child(17) { width: auto; }
    body.compact-view #gpuTable th:nth-child(5),
    body.compact-view #gpuTable td:nth-child(5),
    body.compact-view #gpuTable th:nth-child(6),
    body.compact-view #gpuTable td:nth-child(6),
    body.compact-view #gpuTable th:nth-child(8),
    body.compact-view #gpuTable td:nth-child(8),
    body.compact-view #gpuTable th:nth-child(13),
    body.compact-view #gpuTable td:nth-child(13),
    body.compact-view #gpuTable th:nth-child(14),
    body.compact-view #gpuTable td:nth-child(14),
    body.compact-view #gpuTable th:nth-child(15),
    body.compact-view #gpuTable td:nth-child(15) {
      display: none;
    }
    body.compact-view .product-img {
      width: 82px;
      height: 58px;
    }
    body.compact-view .model {
      min-width: 0;
    }
    body.compact-view .memory-cell .cell-highlights,
    body.compact-view .engine-cell .cell-highlights,
    body.compact-view .power-cell .cell-highlights,
    body.compact-view .bandwidth-cell .cell-highlights {
      display: none;
    }
    body.compact-view .table-wrap {
      overflow-x: visible;
    }
    @media (min-width: 2200px) {
      header { padding: 32px 48px; }
      main { padding-left: 48px; padding-right: 48px; }
      table { font-size: 14px; min-width: 0; }
      th, td { padding: 11px 12px; }
      .product-img { width: 150px; height: 96px; }
      .model { min-width: 210px; }
      .summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .level-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
      .hevc-controls { grid-template-columns: minmax(260px, 1.4fr) repeat(7, minmax(150px, 1fr)); }
      .hevc-shelf-grid { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
    }
    @media (max-width: 1500px) {
      body:not(.full-view) #gpuTable {
        min-width: 0;
        table-layout: fixed;
        font-size: 12px;
      }
      body:not(.full-view) #gpuTable th,
      body:not(.full-view) #gpuTable td {
        padding: 8px 7px;
      }
      body:not(.full-view) #gpuTable th:nth-child(1),
      body:not(.full-view) #gpuTable td:nth-child(1) { width: 42px; }
      body:not(.full-view) #gpuTable th:nth-child(2),
      body:not(.full-view) #gpuTable td:nth-child(2) { width: 96px; }
      body:not(.full-view) #gpuTable th:nth-child(3),
      body:not(.full-view) #gpuTable td:nth-child(3) { width: 185px; }
      body:not(.full-view) #gpuTable th:nth-child(4),
      body:not(.full-view) #gpuTable td:nth-child(4) { width: 76px; }
      body:not(.full-view) #gpuTable th:nth-child(7),
      body:not(.full-view) #gpuTable td:nth-child(7) { width: 108px; }
      body:not(.full-view) #gpuTable th:nth-child(9),
      body:not(.full-view) #gpuTable td:nth-child(9) { width: 62px; }
      body:not(.full-view) #gpuTable th:nth-child(10),
      body:not(.full-view) #gpuTable td:nth-child(10) { width: 130px; }
      body:not(.full-view) #gpuTable th:nth-child(11),
      body:not(.full-view) #gpuTable td:nth-child(11) { width: 210px; }
      body:not(.full-view) #gpuTable th:nth-child(12),
      body:not(.full-view) #gpuTable td:nth-child(12) { width: 180px; }
      body:not(.full-view) #gpuTable th:nth-child(16),
      body:not(.full-view) #gpuTable td:nth-child(16) { width: 122px; }
      body:not(.full-view) #gpuTable th:nth-child(17),
      body:not(.full-view) #gpuTable td:nth-child(17) { width: auto; }
      body:not(.full-view) #gpuTable th:nth-child(5),
      body:not(.full-view) #gpuTable td:nth-child(5),
      body:not(.full-view) #gpuTable th:nth-child(6),
      body:not(.full-view) #gpuTable td:nth-child(6),
      body:not(.full-view) #gpuTable th:nth-child(8),
      body:not(.full-view) #gpuTable td:nth-child(8),
      body:not(.full-view) #gpuTable th:nth-child(13),
      body:not(.full-view) #gpuTable td:nth-child(13),
      body:not(.full-view) #gpuTable th:nth-child(14),
      body:not(.full-view) #gpuTable td:nth-child(14),
      body:not(.full-view) #gpuTable th:nth-child(15),
      body:not(.full-view) #gpuTable td:nth-child(15) {
        display: none;
      }
      body:not(.full-view) .product-img {
        width: 82px;
        height: 58px;
      }
      body:not(.full-view) .model {
        min-width: 0;
      }
      body:not(.full-view) .memory-cell .cell-highlights,
      body:not(.full-view) .engine-cell .cell-highlights,
      body:not(.full-view) .power-cell .cell-highlights,
      body:not(.full-view) .bandwidth-cell .cell-highlights {
        display: none;
      }
      body:not(.full-view) .table-wrap {
        overflow-x: visible;
      }
      .hevc-controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }
    .level-panel {
      background: var(--panel);
      border: 1px solid var(--line);
      padding: 16px;
      margin: 16px 0 22px;
    }
    .level-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 12px 0 16px;
    }
    .level-btn.is-active {
      background: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
    }
    .level-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 10px;
    }
    .level-card {
      border: 1px solid var(--line);
      background: #fbfcfd;
      padding: 12px;
    }
    .level-card h3 {
      margin: 0 0 6px;
      font-size: 15px;
      letter-spacing: 0;
    }
    .level-card p {
      margin: 0;
      font-size: 12px;
      color: var(--muted);
    }
    .summary-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin: 16px 0 22px;
    }
    .summary-card {
      background: var(--panel);
      border: 1px solid var(--line);
      padding: 14px 16px;
    }
    .summary-card strong {
      display: block;
      font-size: 15px;
      margin-bottom: 4px;
    }
    ul { margin: 8px 0 0 20px; padding: 0; }
    @media (max-width: 900px) {
      header { padding: 22px 18px; }
      main { padding: 18px 14px 32px; }
      .summary-grid { grid-template-columns: 1fr; }
      .level-grid { grid-template-columns: 1fr; }
      .hevc-shop-head,
      .hevc-shelf-summary {
        display: block;
      }
      .hevc-shop-result {
        margin-top: 10px;
        text-align: left;
      }
      .hevc-controls {
        grid-template-columns: 1fr;
      }
      .hevc-card {
        grid-template-columns: 104px minmax(0, 1fr);
      }
      .hevc-spec-grid {
        grid-template-columns: 1fr;
      }
      h1 { font-size: 23px; }
    }
