@layer components {
  .table-scroll { overflow-x: auto; margin-block: var(--space-l) var(--space-3xl); }

  .table-scroll table {
    border-collapse: collapse;
    inline-size: 100%;
    font-size: var(--text-s);
  }

  .table-scroll th,
  .table-scroll td {
    text-align: left;
    padding: var(--space-xs) var(--space-inline-xs);
    border-block-end: 1px solid var(--card-border);
    vertical-align: top;
  }

  .table-scroll .offers td { font-family: var(--font-sans); }

  .offer-price {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ink);
  }

  .table-scroll .compare.offers > :is(thead, tbody) > tr > :is(th, td) { text-align: start; }

  .offers--other .offer-price {
    font-size: var(--text-m);
    white-space: nowrap;
  }

  .offers--other .offer-price--unknown {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 400;
  }

  .offers--other td { vertical-align: baseline; }

  .offers--other .offer-device { font-weight: 700; }

  .offers--other td.offer-details {
    display: table-cell;
    inline-size: 100%;
  }

  .offer-details {
    display: block;
    margin-block-start: var(--space-2xs);
    color: var(--ink-soft);
    font-size: var(--text-xs);
  }

  .table-scroll thead th {
    font-size: var(--text-xs);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--quiet-text);
  }

  .table-scroll tbody th {
    font-weight: 700;
    white-space: nowrap;
  }

  .table-scroll td { font-family: var(--font-mono); }

  .table-scroll table.modules td:first-of-type { font-family: var(--font-sans); }

  .blips td { text-align: center; vertical-align: middle; }

  .blips thead th { text-align: center; }
  .blips thead tr:first-child th { color: var(--ink); letter-spacing: 0.14em; }

  .blips thead tr:first-child th:nth-child(3),
  .blips thead tr:nth-child(2) th:nth-child(5),
  .blips tbody td:nth-child(5) {
    border-inline-start: 1px solid var(--card-border);
  }

  .blips tbody th { white-space: normal; min-inline-size: 9rem; }
  :is(.blips, .compare) tbody th span {
    display: block;
    font-weight: 400;
    font-size: var(--text-xs);
    color: var(--quiet-text);
  }

  .blips td img {
    inline-size: 38px;
    image-rendering: pixelated;
    margin-inline: auto;
  }

  .blips .blips-none {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    color: var(--quiet-text);
  }
}
