.lookup-intro {
  padding-top: 72px;
  padding-bottom: 72px;
  background: linear-gradient(180deg, var(--hero-top), var(--hero-bottom));
}
.lookup-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr);
  align-items: end;
  gap: 48px;
}
.lookup-heading h1 {
  max-width: 850px;
  margin: 18px 0 20px;
}
.lookup-heading > p {
  max-width: 690px;
  color: var(--text-muted);
  font-size: 18px;
}
.lookup-note {
  padding: 24px;
}
.lookup-note-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font: 600 12px var(--f-mono);
  letter-spacing: .08em;
}
.lookup-note p {
  color: var(--text-muted);
}
.lookup-results .sec-head h2,
.lookup-guide .sec-head h2,
.lookup-dns h2 {
  margin: 10px 0 0;
}
.lookup-record {
  overflow: hidden;
}
.lookup-record-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--titlebar-b);
}
.lookup-status {
  margin-top: 8px;
  color: var(--text-muted);
}
.lookup-retry {
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: var(--bg-panel);
  font-weight: 600;
}
.lookup-retry:hover:not(:disabled) {
  background: var(--bg-panel-2);
}
.lookup-retry:disabled,
.lookup-copy:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.lookup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.lookup-field {
  min-width: 0;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.lookup-field:nth-child(odd) {
  border-right: 1px solid var(--line-soft);
}
.lookup-field dt {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 13px;
}
.lookup-field dd {
  min-width: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.lookup-field-ip dd {
  color: var(--accent-dark);
  font-size: clamp(20px, 2.4vw, 30px);
}
.lookup-field-ip code {
  font-family: var(--f-mono);
  font-size: inherit;
}
.lookup-record-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 20px 28px;
}
.lookup-copy-status {
  color: var(--text-muted);
  font-size: 14px;
}
.lookup-explain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.lookup-explain-card {
  padding: 28px;
}
.lookup-explain-card h3 {
  margin: 0 0 16px;
}
.lookup-explain-card p,
.lookup-dns-panel p {
  color: var(--text-muted);
}
.lookup-dns {
  padding-top: 0;
}
.lookup-dns-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr);
  align-items: start;
  gap: 44px;
  padding: 36px;
}
.lookup-dns-panel > div > p {
  margin-top: 18px;
}
.lookup-privacy {
  align-self: stretch;
}
.lookup-privacy strong {
  display: block;
  margin-bottom: 12px;
}
.lookup-privacy p {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .lookup-intro {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .lookup-intro-grid,
  .lookup-dns-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lookup-explain {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .lookup-heading > p {
    font-size: 16px;
  }
  .lookup-fields {
    grid-template-columns: 1fr;
  }
  .lookup-field:nth-child(odd) {
    border-right: 0;
  }
  .lookup-record-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .lookup-record-head,
  .lookup-field,
  .lookup-record-foot,
  .lookup-explain-card,
  .lookup-dns-panel {
    padding: 22px;
  }
}