.catchips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(136px, 14vw, 168px), 1fr));
  gap: 10px;
  align-items: stretch;
  margin: 16px 0;
}

.catchips .catchip {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 64px;
  padding: 12px 13px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color .18s var(--ease, ease), transform .18s var(--ease, ease), box-shadow .18s var(--ease, ease);
}

.catchips .catchip b {
  display: block;
  font-size: calc(12.5px * var(--fz-base, 1));
  font-weight: 800;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.catchips .catchip span {
  font-size: calc(10px * var(--fz-base, 1));
  color: var(--muted);
  line-height: 1.6;
}

.catchips .catchip:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -14px rgba(15, 23, 42, .35);
}

.catchips.is-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.catchips.is-sub .catchip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-height: 36px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: calc(11.5px * var(--fz-base, 1));
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
  transition: border-color .18s var(--ease, ease), color .18s var(--ease, ease), background .18s var(--ease, ease);
}

.catchips.is-sub .catchip:hover {
  border-color: var(--green);
  color: var(--green);
  background: color-mix(in srgb, var(--green) 8%, var(--surface));
  transform: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  .catchips {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 8px;
    margin: 12px 0;
  }
  .catchips .catchip {
    min-height: 58px;
    padding: 10px 11px;
    border-radius: 12px;
  }
  .catchips.is-sub {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .catchips.is-sub::-webkit-scrollbar { display: none }
  .catchips.is-sub .catchip {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 13px;
  }
}
