/* 4.83: Domain lookup page (our own WHOIS). Matches the Domains page and the
   site's cards: cream panels, white cards, leaf green for good, amber for
   "worth a look", soft red for problems. Dark rules at the bottom. */
.hg-dl-form{margin-top:4px;max-width:640px}
.hg-dl-form .domain-form button{white-space:nowrap}
.hg-dl-form .domain-form button[disabled]{opacity:.75;cursor:progress}
.hg-dl-robot{margin-top:10px}
.hg-dl-robot:empty{display:none}
.hg-dl-try{margin:14px 0 0;font-size:15px;color:rgba(255,241,220,.78)}
.hg-dl-try a{color:#fff;margin-left:8px;text-decoration:underline;text-decoration-color:rgba(246,201,69,.6);text-underline-offset:3px}
.hg-dl-try a:hover{text-decoration-color:var(--amber)}

.hg-dl-result{margin-top:48px;scroll-margin-top:100px}
.hg-dl-alert{background:#fff4e5;border:1px solid #f0cf8f;border-radius:var(--r-md,18px);padding:20px 24px;font-size:17px}
.hg-dl-alert strong{display:block;margin-bottom:4px;font-family:var(--font-head);font-size:19px}

/* Summary */
.hg-dl-head{display:flex;gap:32px;align-items:flex-start;justify-content:space-between;background:var(--card,#fff);border:1px solid var(--hair);border-radius:var(--r-lg,24px);box-shadow:var(--shadow);padding:36px 40px}
.hg-dl-head__main{flex:1;min-width:0}
.hg-dl-badge{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;letter-spacing:.02em;padding:5px 12px;border-radius:999px;background:var(--mint);color:var(--leaf-dark)}
.hg-dl-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--leaf)}
.hg-dl-badge--free{background:#fff3cf;color:#7a5a00}
.hg-dl-badge--free::before{background:var(--amber-dark)}
.hg-dl-badge--bad{background:#fde8e4;color:#9c2b14}
.hg-dl-badge--bad::before{background:#d2492a}
.hg-dl-name{margin:12px 0 4px;font-size:clamp(30px,4vw,46px);font-weight:800;line-height:1.08;overflow-wrap:anywhere}
.hg-dl-puny{margin:0 0 6px;color:var(--muted);font-size:15px}
.hg-dl-lead{margin:6px 0 0;font-size:19px;color:var(--muted)}
.hg-dl-facts{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.hg-dl-facts li{background:var(--soft,#fbf6ec);border:1px solid var(--soft-line,rgba(64,36,8,.11));border-radius:var(--r-sm,12px);padding:14px 16px;display:flex;flex-direction:column;gap:2px;min-width:0}
.hg-dl-facts span{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.hg-dl-facts strong{font-family:var(--font-head);font-size:19px;line-height:1.25;overflow-wrap:anywhere}
.hg-dl-facts small{font-size:14px;color:var(--muted)}
.hg-dl-facts .is-good{box-shadow:inset 3px 0 0 var(--leaf)}
.hg-dl-facts .is-warn{box-shadow:inset 3px 0 0 var(--amber-dark)}
.hg-dl-facts .is-bad{box-shadow:inset 3px 0 0 #d2492a}
.hg-dl-facts .is-bad strong{color:#9c2b14}
.hg-dl-head--free{align-items:center}
.hg-dl-head__cta{flex:none;text-align:center;max-width:320px}
.hg-dl-head__cta .md-btn{display:block}
.hg-dl-price{margin:0 0 12px;font-size:15px;color:var(--muted)}
.hg-dl-price strong{display:block;font-family:var(--font-head);font-size:34px;color:var(--ink);line-height:1.1}
.hg-dl-small{margin:10px 0 0;font-size:14.5px;color:var(--muted)}
.hg-dl-small a,.hg-dl-source a,.hg-dl-note a{color:var(--leaf-dark)}

/* Detail cards */
.hg-dl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}
.hg-dl-card{background:var(--card,#fff);border:1px solid var(--hair);border-radius:var(--r-lg,24px);box-shadow:var(--shadow);padding:26px 26px 24px;min-width:0}
.hg-dl-card h3{margin:0;font-size:21px}
.hg-dl-hint{margin:2px 0 14px;font-size:14.5px;color:var(--muted)}
.hg-dl-dl{margin:0}
.hg-dl-dl > div{display:grid;grid-template-columns:108px minmax(0,1fr);gap:12px;padding:9px 0;border-top:1px solid var(--soft-line,rgba(64,36,8,.11));font-size:16px}
.hg-dl-dl > div:first-child{border-top:0;padding-top:0}
.hg-dl-dl dt{color:var(--muted);font-weight:500}
.hg-dl-dl dd{margin:0;font-weight:600;overflow-wrap:anywhere;min-width:0}
.hg-dl-dl dd a{color:var(--leaf-dark)}
.hg-dl-dl em{font-style:normal;font-weight:500;color:var(--muted)}
.hg-dl-mono,.hg-dl-mono-in,.hg-dl-status code,.hg-dl-raw pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.hg-dl-mono{list-style:none;margin:0;padding:0}
.hg-dl-mono li{padding:8px 12px;background:var(--soft,#fbf6ec);border-radius:10px;margin-bottom:6px;font-size:15px;overflow-wrap:anywhere}
.hg-dl-mono-in{font-size:14px;font-weight:500;overflow-wrap:anywhere}
.hg-dl-note{margin:12px 0 0;font-size:15px;color:var(--muted)}
.hg-dl-note--ok{display:flex;gap:8px;align-items:flex-start;color:var(--ink)}
.hg-dl-note--ok svg{flex:none;margin-top:2px;color:var(--leaf)}
.hg-dl-yes{color:var(--leaf-dark)}
.hg-dl-no{color:#9c5a00}
.hg-dl-status{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.hg-dl-status li{border-radius:12px;padding:10px 12px 10px 14px;background:var(--soft,#fbf6ec);box-shadow:inset 3px 0 0 var(--line);display:flex;flex-direction:column;gap:1px}
.hg-dl-status li.is-good{box-shadow:inset 3px 0 0 var(--leaf)}
.hg-dl-status li.is-warn{box-shadow:inset 3px 0 0 var(--amber-dark)}
.hg-dl-status li.is-bad{box-shadow:inset 3px 0 0 #d2492a;background:#fdf0ec}
.hg-dl-status strong{font-size:16px}
.hg-dl-status span{font-size:14.5px;color:var(--muted);line-height:1.45}
.hg-dl-status code{font-size:12.5px;color:var(--muted);opacity:.8;margin-top:3px}

/* Sales box */
.hg-dl-sell{display:flex;gap:28px;align-items:center;justify-content:space-between;margin-top:20px;padding:28px 32px;border-radius:var(--r-lg,24px);background:radial-gradient(70% 120% at 100% 0%,rgba(246,201,69,.14),transparent 60%),linear-gradient(160deg,#47290b,#2f1904);color:#fff6e6;box-shadow:var(--shadow)}
.hg-dl-sell h3{margin:0 0 6px;font-size:23px;color:#fff}
.hg-dl-sell p{margin:0;color:rgba(255,241,220,.88);font-size:16.5px;max-width:52em}
.hg-dl-sell__btns{flex:none;display:flex;flex-direction:column;align-items:center;gap:10px}
.hg-dl-sell__link{color:#fff;font-size:15px;text-decoration:underline;text-decoration-color:rgba(246,201,69,.6);text-underline-offset:3px}

/* Full record */
.hg-dl-raw{margin-top:20px;background:var(--card,#fff);border:1px solid var(--hair);border-radius:var(--r-md,18px);box-shadow:var(--shadow);padding:0 24px}
.hg-dl-raw summary{cursor:pointer;padding:18px 0;font-weight:600;color:var(--leaf-dark)}
.hg-dl-raw[open]{padding-bottom:20px}
.hg-dl-raw pre{margin:8px 0 0;max-height:460px;overflow:auto;background:#2b1a09;color:#f3e6cf;border-radius:12px;padding:16px 18px;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.hg-dl-source{margin:16px 4px 0;font-size:14.5px;color:var(--muted)}
.hg-dl-result + .md-panel{margin-top:56px}

@media (max-width:1100px){.hg-dl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .hg-dl-hero--done .deal-card{display:none}
  .hg-dl-head{flex-direction:column;padding:24px 20px;gap:20px}
  .hg-dl-head__cta{max-width:none;width:100%}
  .hg-dl-facts{grid-template-columns:1fr 1fr}
  .hg-dl-grid{grid-template-columns:1fr}
  .hg-dl-card{padding:22px 20px}
  .hg-dl-dl > div{grid-template-columns:104px 1fr}
  .hg-dl-sell{flex-direction:column;align-items:stretch;padding:24px 20px}
  .hg-dl-sell__btns .md-btn{text-align:center;width:100%}
  .hg-dl-raw{padding:0 16px}
  .hg-dl-result{margin-top:32px}
}
@media (max-width:420px){.hg-dl-facts{grid-template-columns:1fr}}

/* Dark mode */
html[data-theme="dark"] .hg-dl-alert{background:#2e2213;border-color:#5b4320;color:var(--ink)}
html[data-theme="dark"] .hg-dl-facts li,
html[data-theme="dark"] .hg-dl-mono li,
html[data-theme="dark"] .hg-dl-status li{background:var(--surface-2);border-color:var(--line)}
html[data-theme="dark"] .hg-dl-status li.is-bad{background:#3a1e15}
html[data-theme="dark"] .hg-dl-status li{box-shadow:inset 3px 0 0 var(--line)}
html[data-theme="dark"] .hg-dl-status li.is-good,html[data-theme="dark"] .hg-dl-facts .is-good{box-shadow:inset 3px 0 0 var(--leaf)}
html[data-theme="dark"] .hg-dl-status li.is-warn,html[data-theme="dark"] .hg-dl-facts .is-warn{box-shadow:inset 3px 0 0 var(--amber-dark)}
html[data-theme="dark"] .hg-dl-status li.is-bad,html[data-theme="dark"] .hg-dl-facts .is-bad{box-shadow:inset 3px 0 0 #e0694b}
html[data-theme="dark"] .hg-dl-facts .is-bad strong{color:#f19a82}
html[data-theme="dark"] .hg-dl-dl > div{border-color:var(--line)}
html[data-theme="dark"] .hg-dl-badge{background:#253520;color:#a6e57e}
html[data-theme="dark"] .hg-dl-badge--free{background:#3a2f12;color:#f6d67a}
html[data-theme="dark"] .hg-dl-badge--bad{background:#3a1e15;color:#f19a82}
html[data-theme="dark"] .hg-dl-no{color:#f2b65c}
html[data-theme="dark"] .hg-dl-raw pre{background:#0f0a05}

/* 4.85: "Hosted with The MonkeyPC" note when a domain uses our nameservers */
.hg-dl-ours{background:var(--mint);border-radius:12px;padding:10px 12px}
.hg-dl-ours strong{color:var(--leaf-dark)}
html[data-theme="dark"] .hg-dl-ours{background:#253520}
