/* Name finder components, scoped under .nf. Colours come from site.css variables. */
.nf * { box-sizing: border-box; }
.nf .search { display: flex; gap: 8px; }
.nf .search input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.nf .search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.nf button { font: inherit; cursor: pointer; }
.nf .search button { padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-weight: 700; min-height: 48px; }
.nf .search button[disabled] { opacity: 0.6; cursor: progress; }
.nf .hint { color: var(--muted); font-size: 14px; }
.nf .eg { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 10px; font-size: 14px; margin: 2px 2px 0 0; }
.nf .status { margin: 20px 0 8px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.nf .status .small { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.nf .tools { display: flex; gap: 16px; margin: 8px 0; color: var(--muted); font-size: 14px; }
.nf .tools select { font: inherit; margin-left: 6px; padding: 4px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.nf .results { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nf .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.nf .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nf .domain { font-family: var(--mono); font-size: 18px; font-weight: 700; word-break: break-all; }
.nf .meta { display: block; color: var(--muted); font-size: 12px; }
.nf .score { text-align: center; min-width: 58px; }
.nf .score b { display: block; font-size: 22px; line-height: 1; }
.nf .score small { color: var(--muted); font-size: 11px; }
.nf .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.nf .check { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.nf .buy { display: flex; gap: 8px; flex-wrap: wrap; }
.nf .buy a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 14px; font-weight: 600; }
.nf .details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
.nf .details h4 { margin: 10px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.nf .check-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.nf .check-row:last-child { border-bottom: 0; }
.nf .check-row .what { flex: 1; }
.nf .check-row .note { display: block; color: var(--muted); font-size: 12px; }
.nf .pill { white-space: nowrap; align-self: start; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; text-decoration: none; }
.nf .pill.good { color: var(--good); background: var(--good-bg); }
.nf .pill.bad { color: var(--bad); background: var(--bad-bg); }
.nf .pill.warn { color: var(--warn); background: var(--warn-bg); }
.nf .pill.unk { color: var(--unk); background: var(--unk-bg); }
.nf .fine { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.nf .how { margin-top: 40px; color: var(--muted); font-size: 15px; }
.nf .how h2 { color: var(--ink); font-size: 18px; }
.nf .how li { margin-bottom: 8px; }
.nf .spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -2px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nf .spinner { animation: none; } }
.nf .tmline { margin-top: 8px; }
.nf .tmbadge { display: inline-block; white-space: normal; font-weight: 600; line-height: 1.35; padding: 5px 10px; border-radius: 10px; }
.nf .tmbadge .spinner { width: 10px; height: 10px; margin-right: 6px; }
.nf .hero { padding: 20px 0 0; }
.nf .hero .lede { font-size: 18px; }
.nf .domain[role=button] { cursor: pointer; text-decoration: underline dotted var(--line); text-underline-offset: 4px; }
.nf .search button { padding: 0 18px; }
