body.page-domain-details {
  position: relative;
  min-height: 100vh;
  background: var(--page-glow-background);
  background-attachment: fixed;
}

body.page-domain-details::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--page-glow-overlay);
  pointer-events: none;
}

.domain-detail-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 112px 24px 76px;
}

.domain-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.55fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
}

.domain-detail-kicker,
.domain-detail-card-kicker {
  margin: 0 0 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}

.domain-detail-title {
  margin: 0 0 14px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.domain-detail-copy,
.domain-detail-status,
.domain-detail-muted,
.domain-detail-meta,
.domain-detail-check-note {
  color: var(--text-secondary);
}

.domain-detail-copy {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.domain-detail-form,
.domain-detail-card,
.domain-detail-empty,
.domain-detail-summary,
.domain-detail-login {
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.06), transparent 34%),
    var(--bg-card-hover);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.domain-detail-form {
  padding: 20px;
}

.domain-detail-form__label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.domain-detail-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 8px 0 14px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-card);
}

.domain-detail-search svg {
  color: var(--text-muted);
}

.domain-detail-search input {
  min-width: 0;
  min-height: 50px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
}

.domain-detail-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
}

.domain-detail-status--success {
  color: var(--accent-emerald);
}

.domain-detail-status--error {
  color: var(--c-red, #ef4444);
}

.domain-detail-results {
  display: grid;
  gap: 22px;
}

.domain-detail-empty,
.domain-detail-login {
  padding: 28px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.domain-detail-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.domain-detail-login h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.domain-detail-login p {
  margin: 0;
}

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

.domain-detail-summary {
  padding: 26px;
}

.domain-detail-summary__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.domain-detail-summary h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.domain-detail-summary__actions,
.domain-detail-listing-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.domain-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.domain-detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 800;
}

.domain-detail-chip--inactive,
.domain-detail-chip--unavailable {
  border-color: rgba(239, 68, 68, 0.22);
  background: rgba(239, 68, 68, 0.1);
  color: var(--c-red, #ef4444);
}

.domain-detail-chip--current,
.domain-detail-chip--active,
.domain-detail-chip--available,
.domain-detail-chip--listed,
.domain-detail-chip--watchlist {
  border-color: rgba(16, 185, 129, 0.24);
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
}

.domain-detail-chip--unlisted {
  border-color: rgba(245, 158, 11, 0.26);
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
}

.domain-detail-chip--history {
  border-color: rgba(124, 58, 237, 0.22);
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
}

.domain-detail-chip--stage {
  border-color: rgba(245, 158, 11, 0.26);
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
}

.domain-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.domain-detail-stat {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 15px 16px;
}

.domain-detail-stat strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 25px;
  line-height: 1;
  color: var(--text-primary);
}

.domain-detail-stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.domain-detail-listing-group {
  display: grid;
  gap: 14px;
}

.domain-detail-listing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 2px 0;
}

.domain-detail-listing-head h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.domain-detail-listing-head p {
  margin: 0;
}

.domain-detail-card {
  padding: 22px;
}

.domain-detail-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.domain-detail-facts,
.domain-detail-checks {
  display: grid;
  gap: 10px;
}

.domain-detail-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.domain-detail-fact {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 14px;
}

.domain-detail-fact span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  color: var(--text-secondary);
}

.domain-detail-fact strong {
  display: block;
  color: var(--text-primary);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.domain-detail-check {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr) minmax(160px, 0.45fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
}

.domain-detail-check strong,
.domain-detail-check span {
  display: block;
}

.domain-detail-check strong {
  color: var(--text-primary);
}

.domain-detail-warning {
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.09);
  color: var(--text-primary);
  padding: 14px 16px;
  line-height: 1.65;
}

.domain-detail-warning + .domain-detail-warning {
  margin-top: -10px;
}

@media (max-width: 980px) {
  .domain-detail-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .domain-detail-stats,
  .domain-detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .domain-detail-summary__head,
  .domain-detail-listing-head,
  .domain-detail-login {
    flex-direction: column;
  }

  .domain-detail-summary__actions,
  .domain-detail-listing-actions,
  .domain-detail-login__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .domain-detail-shell {
    padding: 96px 16px 56px;
  }

  .domain-detail-search {
    grid-template-columns: auto minmax(0, 1fr);
    padding-bottom: 8px;
  }

  .domain-detail-search .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .domain-detail-stats,
  .domain-detail-facts,
  .domain-detail-check {
    grid-template-columns: 1fr;
  }

  .domain-detail-title {
    font-size: 38px;
  }
}
