.tag-cloud-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 0 40px;
}

.tag-cloud-header {
  text-align: center;
  margin-bottom: 24px;
}

.tag-cloud-title {
  font-size: 28px;
  font-weight: 700;
  color: #33363b;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.tag-cloud-meta {
  margin: 0;
  font-size: 14px;
  color: #999;
}

.tag-cloud-meta-count {
  font-weight: 700;
  color: #fb6d19;
  font-size: 16px;
}

.tag-cloud-meta-sep {
  margin: 0 10px;
  opacity: 0.5;
}

.tag-cloud-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(251, 109, 25, 0.1) 0%, transparent 70%),
    linear-gradient(180deg, #fafbfc 0%, #ffffff 50%, #faf8f6 100%);
  border: 1px solid rgba(251, 109, 25, 0.14);
  box-shadow:
    0 16px 48px rgba(251, 109, 25, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tag-cloud-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 520px;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.tag-cloud-root {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.tag-cloud-root .tagcloud {
  position: relative;
  width: 100%;
  height: 100%;
}

.tag-cloud-root .tagcloud--item {
  cursor: pointer;
}

.tag-cloud-root .tag-cloud-link {
  color: #fb6d19;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.tag-cloud-root .tagcloud--item:hover .tag-cloud-link,
.tag-cloud-root .tag-cloud-link:hover {
  color: #e04e00;
  text-shadow: 0 0 12px rgba(251, 109, 25, 0.35);
}

.tag-cloud-fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  list-style: none;
  margin: 0;
  padding: 20px;
}

.tag-cloud-fallback[hidden] {
  display: none;
}

.tag-cloud-fallback a {
  display: inline-block;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  text-decoration: none;
  color: #fb6d19;
  background: rgba(251, 109, 25, 0.08);
  border: 1px solid rgba(251, 109, 25, 0.2);
  font-size: 14px;
}

.tag-cloud-fallback a:hover {
  color: #fff;
  background: #fb6d19;
}

.tag-cloud-hint {
  margin: 0;
  padding: 14px 20px 18px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid rgba(251, 109, 25, 0.08);
}

.tag-cloud-empty {
  text-align: center;
  color: #999;
  padding: 60px 20px;
}

.tag-cloud-list {
  margin-top: 36px;
}

@media screen and (max-width: 767px) {
  .tag-cloud-title {
    font-size: 22px;
  }

  .tag-cloud-stage {
    height: 380px;
  }
}
