.skip-link {
  left: 16px;
  top: -120px;
}

.skip-link:focus {
  top: 16px;
}

@media (max-width: 980px) {
  .usecase-table-shell {
    max-width: 100%;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .usecase-table,
  .usecase-table tbody,
  .usecase-table tr,
  .usecase-table th,
  .usecase-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .usecase-table {
    border-collapse: separate;
  }

  .usecase-table thead {
    display: none;
  }

  .usecase-table tbody {
    display: grid;
    gap: 10px;
  }

  .usecase-table tr {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
  }

  .usecase-table th,
  .usecase-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 14px;
    text-align: left;
  }

  .usecase-table th {
    color: #fff;
    background: rgba(215, 255, 71, 0.08);
    font-weight: 1000;
  }

  .usecase-table td {
    display: grid;
    grid-template-columns: minmax(104px, 0.38fr) minmax(0, 1fr);
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.58;
  }

  .usecase-table td::before {
    color: var(--acid);
    font-size: 12px;
    font-weight: 1000;
  }

  .usecase-table td:nth-of-type(1)::before {
    content: "먼저 할 일";
  }

  .usecase-table td:nth-of-type(2)::before {
    content: "추천 시작점";
  }

  .usecase-table td:nth-of-type(3)::before {
    content: "주의할 점";
  }

  .usecase-table tr > *:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 980px) {
  .card-matrix-shell {
    max-width: 100%;
    overflow: visible;
    margin-right: 0;
    margin-left: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .card-matrix-table,
  .card-matrix-table tbody,
  .card-matrix-table tr,
  .card-matrix-table th,
  .card-matrix-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .card-matrix-table {
    border-collapse: separate;
  }

  .card-matrix-table thead {
    display: none;
  }

  .card-matrix-table tbody {
    display: grid;
    gap: 12px;
  }

  .card-matrix-table tr {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
  }

  .card-matrix-table tbody tr:nth-child(4n + 1),
  .card-matrix-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.045);
  }

  .card-matrix-table th,
  .card-matrix-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 14px;
    text-align: left;
  }

  .card-matrix-table tbody th {
    background: rgba(215, 255, 71, 0.08);
  }

  .card-matrix-table td {
    display: grid;
    grid-template-columns: minmax(96px, 0.36fr) minmax(0, 1fr);
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
  }

  .card-matrix-table td::before {
    color: var(--acid);
    font-size: 12px;
    font-weight: 1000;
  }

  .card-matrix-table td:nth-of-type(1)::before {
    content: "계열";
  }

  .card-matrix-table td:nth-of-type(2)::before {
    content: "연회비";
  }

  .card-matrix-table td:nth-of-type(3)::before {
    content: "실물카드";
  }

  .card-matrix-table td:nth-of-type(4)::before {
    content: "USD 캐시백";
  }

  .card-matrix-table td:nth-of-type(5)::before {
    content: "KAST 포인트";
  }

  .card-matrix-table td:nth-of-type(6)::before {
    content: "SOL 조건";
  }

  .card-matrix-table td:nth-of-type(7)::before {
    content: "카드 타입";
  }

  .card-matrix-table td:nth-of-type(8)::before {
    content: "추천 기준";
  }

  .card-matrix-table tr > *:last-child {
    border-bottom: 0;
  }

  .matrix-card-name {
    width: 100%;
    min-width: 0;
  }
}
