.hhds-wrap {
  max-width: 860px;
  margin: 0 auto;
  font-family: inherit;
}

.hhds-form {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}

.hhds-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.hhds-copy p {
  margin: 0 0 22px;
  color: #59616a;
  font-size: 17px;
}

.hhds-search-row {
  display: flex;
  gap: 12px;
}

.hhds-query {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid #cfd7df;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 18px;
  line-height: 1.2;
  background: #fff;
}

.hhds-query:focus {
  outline: 3px solid rgba(50, 123, 154, 0.18);
  border-color: #327b9a;
}

.hhds-form button,
.hhds-actions button {
  border: 0;
  border-radius: 12px;
  padding: 16px 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  background: #327b9a;
  color: #ffffff;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
  white-space: nowrap;
}

.hhds-form button:hover,
.hhds-actions button:hover {
  transform: translateY(-1px);
}

.hhds-form button:disabled,
.hhds-actions button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hhds-small {
  margin: 14px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.hhds-message {
  margin: 18px 0 0;
  color: #59616a;
  font-size: 15px;
}

.hhds-results {
  margin-top: 22px;
}

.hhds-results-heading {
  margin-bottom: 12px;
}

.hhds-results-heading h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.hhds-results-heading p {
  margin: 0;
  color: #59616a;
}

.hhds-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
}

.hhds-card.hhds-recommended {
  border-color: rgba(50, 123, 154, 0.45);
}

.hhds-domain-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hhds-domain {
  font-size: 21px;
  word-break: break-word;
}

.hhds-pill,
.hhds-status-badge,
.hhds-price,
.hhds-note {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hhds-pill {
  background: rgba(50, 123, 154, 0.11);
  color: #245b72;
}

.hhds-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hhds-status-badge {
  background: #f1f5f9;
  color: #334155;
}

.hhds-status-available .hhds-status-badge {
  background: #e7f8ed;
  color: #176534;
}

.hhds-status-unavailable .hhds-status-badge {
  background: #fbeaea;
  color: #9f1d1d;
}

.hhds-status-unknown .hhds-status-badge {
  background: #fff5d7;
  color: #7a5200;
}

.hhds-price {
  background: #f7f7f8;
  color: #374151;
}

.hhds-note {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
}

.hhds-card-main {
  min-width: 0;
}

.hhds-actions {
  flex: 0 0 auto;
}

.hhds-empty {
  padding: 16px;
  border-radius: 12px;
  background: #fff5d7;
}

@media (max-width: 700px) {
  .hhds-form {
    padding: 20px;
  }

  .hhds-search-row,
  .hhds-card {
    flex-direction: column;
    align-items: stretch;
  }

  .hhds-form button,
  .hhds-actions button {
    width: 100%;
  }
}
