.zehn-search-result,
.zehn-suggest {
  --zs-ink: var(--zl-ink, var(--zehn-ink, #0b1530));
  --zs-muted: var(--zl-muted, var(--zehn-muted, #56627a));
  --zs-line: var(--zl-line, var(--bs-border-color, #e6eaf2));
  --zs-card: var(--zl-card, var(--zehn-card, #fff));
  max-width: 46rem;
  margin: .75rem auto 0;
  border: 1px solid var(--zs-line);
  border-radius: 1.1rem;
  background: var(--zs-card);
  color: var(--zs-ink);
  box-shadow: 0 1px 2px rgba(11, 21, 48, .04), 0 8px 24px -12px rgba(11, 21, 48, .10);
  text-align: left;
}

.zehn-search-result { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: 1rem 1.1rem; }
.zehn-search-result::before { content: ""; flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--zs-line) center / 1.1rem no-repeat; }
.zehn-search-result.is-available::before { background-color: #19d3a2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.zehn-search-result.is-taken::before { background-color: #ffe4e5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.zehn-search-result.is-loading::before { display: none; }
.zehn-search-result.is-loading { color: var(--zs-muted); }
.zehn-search-domain { flex: 1 1 12rem; min-width: 0; font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.zehn-search-price { color: var(--zs-muted); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zehn-search-result .btn { border-radius: .7rem; }

.zehn-search-spinner { width: 1.1rem; height: 1.1rem; border: 2px solid var(--zs-line); border-top-color: #0774ff; border-radius: 50%; animation: zehn-spin .8s linear infinite; }
@keyframes zehn-spin { to { transform: rotate(360deg); } }

.zehn-suggest { padding: .35rem; }
.zehn .zehn-suggest h3 { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .75rem .85rem .5rem; font-size: .8125rem; font-weight: 600; color: var(--zs-muted); }
.zehn-suggest-status { margin: 0; padding: 0 .85rem .75rem; color: var(--zs-muted); font-size: .875rem; }
.zehn-suggest-list { list-style: none; margin: 0; padding: 0; }
.zehn-suggest-row { display: flex; align-items: center; gap: 1rem; width: 100%; padding: .6rem .85rem; border: 0; border-radius: .8rem; background: none; color: inherit; text-align: left; cursor: pointer; transition: background .2s ease; }
.zehn-suggest-row:hover, .zehn-suggest-row:focus-visible { background: color-mix(in srgb, #0774ff 6%, transparent); outline: none; }
.zehn-suggest-row:disabled { opacity: .6; cursor: progress; }
.zehn-suggest-row strong { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.zehn-suggest-row strong::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .6rem; border-radius: 50%; background: #19d3a2; vertical-align: middle; }
.zehn-suggest-price { color: var(--zs-muted); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zehn-suggest-go { color: #0774ff; font-size: .8125rem; font-weight: 600; opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
.zehn-suggest-go::after { content: " →"; }
.zehn-suggest-row:hover .zehn-suggest-go, .zehn-suggest-row:focus-visible .zehn-suggest-go { opacity: 1; transform: none; }
@media (hover: none) { .zehn-suggest-go { opacity: 1; transform: none; } }

.zehn .zehn-search select {
  flex: 0 0 auto;
  width: 5.75rem;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.7rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356627a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .5rem center / .85rem no-repeat;
  font-weight: 700;
  cursor: pointer;
}

@supports (field-sizing: content) { .zehn .zehn-search select { width: auto; field-sizing: content; } }

.zehn-search select option:disabled { color: #9aa4bd; }

@media (max-width: 575.98px) {
  .zehn-search-result .btn { width: 100%; }
  .zehn-suggest-list li:nth-child(n + 4) { display: none; }
}
