.hpds-wrap{max-width:1180px;margin:32px auto}
.hpds-wrap *{box-sizing:border-box}

/* Default HostPlus theme: light, warm, fits hero/background sections better */
.hpds-card{position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(255,248,241,.96) 0%,rgba(255,255,255,.94) 100%);border:1px solid rgba(243,156,18,.16);border-radius:24px;padding:30px;color:#1f2937;box-shadow:0 18px 42px rgba(15,23,42,.10);backdrop-filter:blur(8px)}
.hpds-mode-minimal .hpds-card{background:#fff;color:#0f172a;border:1px solid #e2e8f0;box-shadow:0 18px 45px rgba(15,23,42,.08)}

.hpds-bg-orb{position:absolute;border-radius:999px;filter:blur(8px);opacity:.55;pointer-events:none}
.hpds-bg-orb-a{width:260px;height:260px;right:-90px;top:-110px;background:radial-gradient(circle,rgba(251,191,36,.34) 0%,rgba(251,191,36,0) 72%)}
.hpds-bg-orb-b{width:250px;height:250px;left:-90px;bottom:-130px;background:radial-gradient(circle,rgba(249,115,22,.18) 0%,rgba(249,115,22,0) 72%)}
.hpds-mode-minimal .hpds-bg-orb-a,.hpds-mode-minimal .hpds-bg-orb-b{opacity:.12}

.hpds-head,.hpds-form,.hpds-results{position:relative;z-index:2}
.hpds-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:22px;flex-wrap:wrap}
.hpds-kicker{display:inline-flex;padding:8px 12px;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#c2410c;font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:14px}
.hpds-mode-minimal .hpds-kicker{background:#eef6ff;color:#1d4ed8}

.hpds-title{margin:0 0 10px;font-size:38px;line-height:1.05;max-width:760px;color:#111827}
.hpds-subtitle{margin:0;max-width:760px;color:#4b5563;font-size:16px;line-height:1.6}
.hpds-mode-minimal .hpds-subtitle{color:#475569}

.hpds-badges{display:flex;gap:8px;flex-wrap:wrap}
.hpds-badge{padding:8px 12px;border-radius:999px;background:#ffffff;border:1px solid #e5e7eb;color:#374151;font-size:12px;font-weight:700;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.hpds-mode-minimal .hpds-badge{background:#f8fafc;color:#0f172a;border-color:#e2e8f0}

.hpds-form{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.hpds-input-wrap{flex:1 1 460px;min-width:290px;position:relative}
.hpds-input{width:100%;padding:18px 18px 18px 18px;border:1px solid #d1d5db;background:#fff;color:#111827;border-radius:16px;font-size:17px;outline:none;box-shadow:0 2px 10px rgba(15,23,42,.04)}
.hpds-input::placeholder{color:#9ca3af}
.hpds-input:focus{border-color:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.14)}
.hpds-mode-minimal .hpds-input{background:#fff;color:#0f172a;border-color:#cbd5e1}
.hpds-mode-minimal .hpds-input::placeholder{color:#64748b}
.hpds-mode-minimal .hpds-input:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12)}

.hpds-btn,.hpds-cart-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:16px;font-weight:800;transition:all .2s ease;border:none}
.hpds-btn{min-width:185px;padding:18px 24px;background:linear-gradient(180deg,#f59e0b 0%,#f97316 100%);color:#fff;cursor:pointer;box-shadow:0 12px 24px rgba(249,115,22,.22)}
.hpds-btn:hover,.hpds-cart-btn:hover{transform:translateY(-1px)}
.hpds-form.is-loading .hpds-btn{opacity:.7;pointer-events:none}

.hpds-helper{margin-top:12px;color:#6b7280;font-size:14px;position:relative;z-index:2}
.hpds-mode-minimal .hpds-helper{color:#64748b}

.hpds-results{margin-top:22px}
.hpds-loading,.hpds-alert,.hpds-searched{padding:16px 18px;border-radius:16px;border:1px solid #e5e7eb;background:rgba(255,255,255,.88);backdrop-filter:blur(8px)}
.hpds-mode-minimal .hpds-loading,.hpds-mode-minimal .hpds-alert,.hpds-mode-minimal .hpds-searched{background:#f8fafc;border-color:#e2e8f0}
.hpds-alert-error{background:#fff1f2;border-color:#fecdd3;color:#9f1239}
.hpds-mode-minimal .hpds-alert-error{background:#fff1f2;border-color:#fecdd3;color:#9f1239}

.hpds-searched{margin-bottom:14px;color:#374151}
.hpds-mode-minimal .hpds-searched{color:#334155}

.hpds-summary{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.hpds-summary-item{min-width:130px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.hpds-summary-item span{display:block;font-size:12px;color:#6b7280;margin-bottom:6px}
.hpds-summary-item strong{font-size:22px;line-height:1;color:#111827}
.hpds-summary-item.is-available{background:#f0fdf4;border-color:#bbf7d0}
.hpds-summary-item.is-unavailable{background:#fef2f2;border-color:#fecaca}
.hpds-mode-minimal .hpds-summary-item{background:#fff;border-color:#e2e8f0}
.hpds-mode-minimal .hpds-summary-item span{color:#64748b}
.hpds-mode-minimal .hpds-summary-item.is-available{background:#f0fdf4;border-color:#bbf7d0}
.hpds-mode-minimal .hpds-summary-item.is-unavailable{background:#fef2f2;border-color:#fecaca}

.hpds-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hpds-result-card{border:1px solid #e5e7eb;border-radius:20px;padding:18px;background:rgba(255,255,255,.92);box-shadow:0 8px 24px rgba(15,23,42,.05)}
.hpds-result-card.is-available{box-shadow:inset 0 0 0 1px rgba(34,197,94,.16),0 8px 24px rgba(15,23,42,.05)}
.hpds-result-card.is-unavailable{box-shadow:inset 0 0 0 1px rgba(239,68,68,.14),0 8px 24px rgba(15,23,42,.05)}
.hpds-mode-minimal .hpds-result-card{background:#fff;border-color:#e2e8f0}

.hpds-result-top{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.hpds-domain-wrap{min-width:0}
.hpds-domain{margin:0;font-size:22px;font-weight:800;line-height:1.2;word-break:break-word;color:#111827}
.hpds-domain-tld{margin-top:4px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6b7280}
.hpds-mode-minimal .hpds-domain-tld{color:#64748b}

.hpds-status{display:inline-flex;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}
.hpds-status.is-available{background:#dcfce7;color:#166534}
.hpds-status.is-unavailable{background:#fee2e2;color:#991b1b}
.hpds-status.is-unknown{background:#e5e7eb;color:#374151}

.hpds-meta{margin-bottom:16px}
.hpds-price-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa}
.hpds-mode-minimal .hpds-price-row{background:#f8fafc;border-color:#e2e8f0}
.hpds-meta-label{font-size:13px;color:#6b7280}
.hpds-mode-minimal .hpds-meta-label{color:#64748b}

.hpds-actions{margin-bottom:10px}
.hpds-actions-muted{color:#6b7280;font-size:14px}
.hpds-mode-minimal .hpds-actions-muted{color:#64748b}
.hpds-cart-btn{width:100%;padding:14px 16px;background:linear-gradient(180deg,#f59e0b 0%,#f97316 100%);color:#fff;box-shadow:0 10px 20px rgba(22,163,74,.0),0 12px 24px rgba(249,115,22,.20)}

.hpds-whois{margin-top:10px}
.hpds-whois summary{cursor:pointer;font-weight:700;color:#374151}
.hpds-mode-minimal .hpds-whois summary{color:#334155}
.hpds-whois pre{white-space:pre-wrap;word-break:break-word;max-height:260px;overflow:auto;background:#fff;color:#334155;border:1px solid #e5e7eb;border-radius:14px;padding:12px;margin-top:8px;font-size:12px;line-height:1.45}

.editor-styles-wrapper .hpds-wrap{margin:0}
.components-placeholder .hpds-wrap{margin:0}

@media (max-width:960px){.hpds-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hpds-title{font-size:32px}}
@media (max-width:640px){.hpds-card{padding:20px}.hpds-title{font-size:26px}.hpds-form{display:block}.hpds-input-wrap{min-width:0}.hpds-input{margin-bottom:10px}.hpds-btn{width:100%}.hpds-results-grid{grid-template-columns:1fr}}

.hpds-toolbar{margin-top:14px;display:flex;justify-content:flex-end;position:relative;z-index:2}
.hpds-only-available{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #fed7aa;background:rgba(255,255,255,.75);border-radius:999px;color:#7c2d12;font-size:14px;font-weight:600;backdrop-filter:blur(6px)}
.hpds-only-available input{margin:0;accent-color:#f97316}
.hpds-mode-minimal .hpds-only-available{background:#fff;border-color:#e2e8f0;color:#334155}
@media (max-width:640px){.hpds-toolbar{justify-content:flex-start}.hpds-only-available{width:100%;justify-content:center}}


/* strict layout adjustments */
.hpds-head{justify-content:center;text-align:center}
.hpds-copy,.hpds-copy-centered{width:100%;text-align:center}
.hpds-title{text-align:center;margin-left:auto;margin-right:auto}
.hpds-subtitle{display:none!important}
.hpds-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.hpds-summary{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;order:1;flex:1 1 auto}
.hpds-results-toolbar .hpds-only-available{order:2;margin-left:auto;white-space:nowrap}
.hpds-results-grid{display:flex!important;flex-direction:column;gap:12px}
.hpds-result-card{display:grid;grid-template-columns:minmax(220px,2fr) 140px 140px 170px 90px;align-items:center;gap:14px;padding:16px 18px;border-radius:18px}
.hpds-result-top,.hpds-meta,.hpds-actions,.hpds-whois{margin:0}
.hpds-result-top{display:block}
.hpds-domain{font-size:18px}
.hpds-status-wrap{display:flex;align-items:center}
.hpds-price-row{padding:0;background:transparent;border:0;border-radius:0}
.hpds-meta-label{display:none}
.hpds-actions{justify-self:stretch}
.hpds-cart-btn{display:block;width:100%;text-align:center;padding:12px 16px}
.hpds-actions-muted{font-size:14px;text-align:center}
.hpds-whois{justify-self:end;text-align:right;margin-left:auto}
.hpds-whois-empty{visibility:hidden}
.hpds-whois summary{list-style:none;display:inline-flex;align-items:center;justify-content:flex-end;cursor:pointer}
.hpds-whois summary::-webkit-details-marker{display:none}
.hpds-whois pre{text-align:left;max-width:520px}
@media (max-width:960px){.hpds-result-card{grid-template-columns:1.5fr 1fr 1fr}.hpds-actions{grid-column:1/3}.hpds-whois{grid-column:3/4}}
@media (max-width:760px){.hpds-results-toolbar{align-items:flex-start}.hpds-results-toolbar .hpds-only-available{margin-left:0}.hpds-result-card{grid-template-columns:1fr 1fr}.hpds-actions,.hpds-whois{grid-column:1/-1;justify-self:start;text-align:left}.hpds-actions-muted{text-align:left}}
@media (max-width:640px){.hpds-result-card{grid-template-columns:1fr}.hpds-summary{width:100%}.hpds-results-toolbar .hpds-only-available{width:100%;justify-content:center}.hpds-whois{justify-self:start;text-align:left}}

/* v1.3.4 strict + progressive UI */
.hpds-form{display:grid;grid-template-columns:minmax(0,1fr) 174px;gap:12px;align-items:center}
.hpds-helper{display:none!important}
.hpds-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:nowrap}
.hpds-summary{display:flex;gap:12px;flex-wrap:nowrap;align-items:stretch}
.hpds-results-toolbar .hpds-only-available{margin-left:0;flex:0 0 auto}
.hpds-results-grid{display:flex!important;flex-direction:column;gap:10px}
.hpds-result-card{display:grid;grid-template-columns:minmax(220px,2.2fr) 140px 120px minmax(180px,1.4fr) 90px;gap:14px;align-items:center;padding:14px 18px;border-radius:16px}
.hpds-col{min-width:0}
.hpds-col-domain .hpds-domain{font-size:18px;font-weight:800;line-height:1.2}
.hpds-col-status{text-align:left}
.hpds-col-price strong{font-size:16px;color:#1f2937}
.hpds-col-action{text-align:left}
.hpds-col-whois{text-align:right;justify-self:end}
.hpds-col-whois .hpds-whois{margin:0}
.hpds-col-whois .hpds-whois summary{justify-content:flex-end}
.hpds-col-whois .hpds-whois pre{max-width:520px;text-align:left}
.hpds-cart-btn{min-width:150px}
.hpds-actions-muted{font-size:13px;color:#6b7280}
@media (max-width:980px){.hpds-result-card{grid-template-columns:1.7fr 1fr 1fr}.hpds-col-action{grid-column:1/3}.hpds-col-whois{grid-column:3/4}}
@media (max-width:760px){.hpds-form{grid-template-columns:1fr}.hpds-results-toolbar{flex-wrap:wrap}.hpds-summary{flex-wrap:wrap}.hpds-results-toolbar .hpds-only-available{width:auto}.hpds-result-card{grid-template-columns:1fr 1fr}.hpds-col-action,.hpds-col-whois{grid-column:1/-1;text-align:left;justify-self:start}.hpds-col-whois .hpds-whois summary{justify-content:flex-start}}
@media (max-width:560px){.hpds-result-card{grid-template-columns:1fr}.hpds-col-action,.hpds-col-whois{grid-column:auto}}

/* v1.3.5 final fixes */
.hpds-results-toolbar{align-items:center;justify-content:space-between;gap:14px;flex-wrap:nowrap!important}
.hpds-summary{margin-bottom:0;flex-wrap:nowrap!important}
.hpds-results-grid{display:flex!important;flex-direction:column!important;gap:10px!important}
.hpds-result-card{display:grid!important;grid-template-columns:minmax(220px,2.2fr) 140px 120px minmax(180px,1.4fr) 90px!important}
@media (max-width:760px){.hpds-results-toolbar{flex-wrap:wrap!important}.hpds-summary{flex-wrap:wrap!important}}


/* v1.3.6 whois full-width slide-down */
.hpds-result-card{display:block!important}
.hpds-result-row{display:grid;grid-template-columns:minmax(220px,2.2fr) 140px 120px minmax(180px,1.4fr) 90px;gap:14px;align-items:center}
.hpds-col-whois{text-align:right;justify-self:end}
.hpds-whois-toggle{appearance:none;border:0;background:transparent;color:#334155;font-weight:800;cursor:pointer;padding:0;line-height:1.2}
.hpds-whois-toggle:hover{text-decoration:underline}
.hpds-whois-toggle[aria-expanded="true"]{color:#0f172a}
.hpds-whois-panel{margin-top:12px;padding:14px 16px;border-top:1px solid #e5e7eb;background:rgba(255,255,255,.55);border-radius:14px}
.hpds-whois-panel pre{margin:0;white-space:pre-wrap;word-break:break-word;max-height:280px;overflow:auto;background:#fff;color:#334155;border:1px solid #e5e7eb;border-radius:12px;padding:12px;font-size:12px;line-height:1.5}
.hpds-result-card.is-whois-open{box-shadow:inset 0 0 0 1px rgba(239,68,68,.10),0 8px 24px rgba(15,23,42,.05)}
@media (max-width:980px){.hpds-result-row{grid-template-columns:1.7fr 1fr 1fr}.hpds-col-action{grid-column:1/3}.hpds-col-whois{grid-column:3/4}}
@media (max-width:760px){.hpds-result-row{grid-template-columns:1fr 1fr}.hpds-col-action,.hpds-col-whois{grid-column:1/-1;text-align:left;justify-self:start}}
@media (max-width:560px){.hpds-result-row{grid-template-columns:1fr}.hpds-col-action,.hpds-col-whois{grid-column:auto}}


/* v1.3.7 lazy whois + faster first paint */
.hpds-loading{padding:10px 0;color:#6b7280}
.hpds-whois-loading{padding:8px 0;color:#6b7280;font-size:13px}
.hpds-whois-error{padding:8px 0;color:#991b1b;font-size:13px}


/* v1.3.8 fast-first progressive + inline summary */
.hpds-summary-item{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;min-width:auto!important}
.hpds-summary-item span,.hpds-summary-item strong{display:inline!important;margin:0!important}
.hpds-summary-item span{font-weight:700}
.hpds-summary-item strong{font-size:16px;font-weight:800}
.hpds-summary-found{background:rgba(255,255,255,.78);border-color:#e2e8f0}
.hpds-mode-minimal .hpds-summary-found{background:#fff;border-color:#e2e8f0}
@media (max-width:760px){.hpds-summary-item{justify-content:center}}


/* v1.3.8.4 input cleanup */
.hpds-input{padding-left:16px!important;background-image:none!important;text-indent:0!important;font-family:inherit!important}
.hpds-input::placeholder{opacity:0!important}
