/* Гороскоп и бесплатные оракулы — в одной системе с zodiac.php (ui-6.6 + ui-6.9) */

.zodiac-tool-page .zodiac-form input[type="text"],
.zodiac-tool-page .zodiac-form input[type="search"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(15, 122, 130, .18);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}

.zodiac-tool-page .zodiac-form .primary-button {
  width: 100%;
  justify-content: center;
}

.hz-page .hz-hero-orbit {
  display: grid;
  place-items: center;
  min-width: 96px;
  line-height: 1;
  text-align: center;
}

.hz-hero-sign-art {
  width: clamp(72px, 12vw, 96px);
  height: clamp(72px, 12vw, 96px);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(71, 53, 199, .22);
  object-fit: cover;
}

.hz-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 16px;
}

.hz-periods a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #d8e7e8;
  text-decoration: none;
  color: #2a4050;
  font-size: .88rem;
  font-weight: 800;
  background: #fff;
  transition: .15s;
}

.hz-periods a.on,
.hz-periods a:hover {
  background: #4735c7;
  color: #fff;
  border-color: #4735c7;
  box-shadow: 0 8px 20px rgba(71, 53, 199, .18);
}

.hz-signs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.hz-sign-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px 10px;
  border-radius: 18px;
  border: 1px solid #e3ebec;
  background: #fff;
  text-decoration: none;
  color: #243640;
  transition: .15s;
  box-shadow: 0 8px 22px rgba(22, 78, 86, .05);
  min-width: 0;
}

.hz-sign-card:hover,
.hz-sign-card.on {
  border-color: var(--hz-hue, #684ee8);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--hz-hue, #684ee8) 24%, transparent);
  transform: translateY(-2px);
}

.hz-sign-card.on {
  background: linear-gradient(180deg, color-mix(in srgb, var(--hz-hue, #684ee8) 8%, #fff), #fff);
}

.hz-sign-art {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  box-shadow: 0 8px 18px rgba(38, 30, 82, .12);
  border: 2px solid rgba(255, 255, 255, .9);
}

.hz-sign-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hz-sign-name {
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

.hz-article {
  padding: 22px 24px;
  border: 1px solid #e3ebec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(22, 78, 86, .08);
  margin-bottom: 20px;
}

.hz-article h2 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: #1c2c34;
  letter-spacing: -.02em;
}

.hz-intro {
  margin: 0 0 18px;
  color: #4a5d66;
  line-height: 1.72;
  font-size: .97rem;
}

.hz-sky {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.hz-sky span {
  padding: 7px 13px;
  border-radius: 999px;
  background: #f4f2fb;
  border: 1px solid #e4dff7;
  font-size: .82rem;
  font-weight: 700;
  color: #5b46e8;
}

.hz-block {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #edf4f5;
}

.hz-block h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #1c2c34;
}

.hz-block p {
  margin: 0;
  color: #4a5d66;
  line-height: 1.72;
  font-size: .95rem;
}

.hz-lucky {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f5ff;
  border: 1px solid #ebe7f5;
  color: #4a5d66;
  line-height: 1.6;
  font-size: .9rem;
  font-weight: 700;
}

.hz-note {
  margin: 12px 0 0;
  color: #7a8b92;
  line-height: 1.55;
  font-size: .84rem;
}

.hz-cta {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .hz-signs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .hz-signs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hz-sign-art { width: 46px; height: 46px; border-radius: 14px; }
  .hz-article { padding: 18px 16px; border-radius: 20px; }
}