.hot-tags {
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--ui-card-radius);
  box-shadow: var(--shadow-sm);
}

.hot-tags__label {
  padding: 0 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.hot-tags__label .i-svg {
  width: 17px;
  height: 17px;
  color: var(--accent-main);
}

.hot-tags__scroller {
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hot-tags__scroller::-webkit-scrollbar {
  display: none;
}

.hot-tags__scroller a {
  min-height: 36px;
  padding: 0 13px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.hot-tags__scroller a:hover {
  border-color: transparent;
  background: var(--accent-main-soft);
  color: var(--accent-main);
  text-decoration: none;
}

@media screen and (max-width: 640px) {
  .hot-tags {
    padding: 12px 0 12px 12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .hot-tags__scroller {
    padding-right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hot-tags__scroller a {
    transition: none;
  }
}
