:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { background: #070b14; }
body {
  margin: 0;
  font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  background:
    radial-gradient(circle at 78% -10%, rgba(124,58,237,.13), transparent 32rem),
    radial-gradient(circle at 8% 18%, rgba(34,211,238,.06), transparent 30rem),
    #070b14;
}
button, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.glass-shell {
  border: 1px solid rgba(255,255,255,.075);
  background: linear-gradient(180deg, rgba(15,23,42,.74), rgba(7,11,20,.9));
  box-shadow: 0 30px 100px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.025);
  backdrop-filter: blur(16px);
}
.logo-mark { position: relative; width: 42px; height: 42px; border-radius: 15px; border: 1px solid rgba(167,139,250,.22); background: rgba(124,58,237,.09); box-shadow: 0 0 32px rgba(124,58,237,.12); }
.logo-mark span { position:absolute; width:7px; border-radius:99px; background:linear-gradient(#a78bfa,#22d3ee); bottom:10px; }
.logo-mark span:nth-child(1){height:10px;right:10px}.logo-mark span:nth-child(2){height:20px;right:18px}.logo-mark span:nth-child(3){height:14px;right:26px}
.mini-chip { display:inline-flex; align-items:center; gap:.4rem; border:1px solid rgba(255,255,255,.065); background:rgba(255,255,255,.025); border-radius:999px; padding:.45rem .7rem; }
.dot { width:6px; height:6px; border-radius:999px; display:inline-block; }.dot-green{background:#34d399; box-shadow:0 0 12px rgba(52,211,153,.7)}
.editor-shell { overflow:hidden; border:1px solid rgba(255,255,255,.075); border-radius:20px; background:#050811; box-shadow:inset 0 1px 0 rgba(255,255,255,.02); }
.editor-topbar { height:38px; display:flex; align-items:center; justify-content:space-between; direction:ltr; padding:0 13px; border-bottom:1px solid rgba(255,255,255,.055); font-size:9px; color:#475569; letter-spacing:.08em; }
.editor-topbar div span { display:inline-block; width:7px; height:7px; border-radius:50%; background:#283244 }.editor-topbar div span:first-child{background:#553c7d}.editor-topbar div span:nth-child(2){background:#245067}
#domainsInput { display:block; width:100%; min-height:340px; resize:vertical; border:0; outline:0; padding:16px 17px; background:transparent; color:#e2e8f0; font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; font-size:13px; line-height:2; font-weight:400; caret-color:#a78bfa; }
#domainsInput::placeholder{color:#283244}
.primary-btn,.secondary-btn,.ghost-btn,.icon-text-btn,.filter-btn { border:0; cursor:pointer; transition:.18s ease; }
.primary-btn { display:flex; align-items:center; justify-content:center; gap:.7rem; min-height:48px; border-radius:15px; background:linear-gradient(135deg,#7c3aed,#5b21b6 65%,#4338ca); color:white; font-size:13px; font-weight:500; box-shadow:0 12px 35px rgba(124,58,237,.2), inset 0 1px 0 rgba(255,255,255,.16); }
.primary-btn:hover{transform:translateY(-1px);filter:brightness(1.08)}.primary-btn:disabled{opacity:.55;cursor:wait;transform:none}.primary-btn.is-running .btn-label::after{content:'…'}
.kbd { direction:ltr; border:1px solid rgba(255,255,255,.12); border-radius:7px; padding:.15rem .35rem; color:#c4b5fd; font-size:9px; }
.secondary-btn { min-height:42px; border:1px solid rgba(255,255,255,.065); border-radius:13px; background:rgba(255,255,255,.025); color:#94a3b8; font-size:11px; }
.secondary-btn:hover,.ghost-btn:hover,.icon-text-btn:hover:not(:disabled){border-color:rgba(167,139,250,.22);color:#ddd6fe;background:rgba(124,58,237,.07)}
.ghost-btn { border:1px solid rgba(255,255,255,.055); border-radius:10px; padding:.35rem .65rem; background:rgba(255,255,255,.02); color:#64748b; font-size:10px; }
.setting-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; }.setting-row b{display:block;font-size:11px;font-weight:400;color:#cbd5e1}.setting-row small{display:block;margin-top:4px;font-size:9px;color:#475569}.setting-row select{direction:ltr;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#080d18;color:#cbd5e1;padding:.35rem .55rem;outline:none;font-size:11px}
.stat-card { min-width:64px; border:1px solid rgba(255,255,255,.055); border-radius:13px; background:rgba(255,255,255,.02); padding:.55rem .7rem; text-align:center; }.stat-card span{display:block;font-size:16px;font-weight:500;color:#e2e8f0}.stat-card small{display:block;margin-top:1px;font-size:9px;color:#475569}.stat-green span{color:#6ee7b7}.stat-red span{color:#fda4af}.stat-amber span{color:#fcd34d}
.filter-group{display:flex;padding:3px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:#080d18}.filter-btn{border-radius:9px;background:transparent;padding:.38rem .6rem;color:#64748b;font-size:10px}.filter-btn.is-active{background:rgba(124,58,237,.14);color:#ddd6fe;box-shadow:inset 0 0 0 1px rgba(167,139,250,.13)}
.icon-text-btn{min-height:34px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.02);padding:.4rem .65rem;color:#64748b;font-size:10px}.icon-text-btn:disabled{opacity:.35;cursor:not-allowed}
.result-row { display:flex; min-height:77px; align-items:center; gap:12px; padding:12px 16px; transition:.15s ease; }.result-row:hover{background:rgba(255,255,255,.018)}.result-row.hidden{display:none}.row-index{width:26px;flex:none;text-align:center;font:400 10px ui-monospace,SFMono-Regular,monospace;color:#334155}.domain-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace;color:#e2e8f0}.tld-chip{border:1px solid rgba(255,255,255,.055);border-radius:7px;background:rgba(255,255,255,.025);padding:.16rem .35rem;font:400 9px ui-monospace,monospace;color:#475569}.status-copy{display:flex;align-items:center;gap:9px;flex:none}.status-label{min-width:48px;text-align:left;font-size:10px;font-weight:400}.status-available{color:#6ee7b7}.status-taken{color:#fb7185}.status-unknown{color:#fbbf24}.status-checking{color:#818cf8}
.status-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:10px}.status-icon svg{width:14px;height:14px}.status-icon.status-available{border:1px solid rgba(52,211,153,.18);background:rgba(16,185,129,.09);box-shadow:0 0 22px rgba(16,185,129,.07)}.status-icon.status-taken{border:1px solid rgba(251,113,133,.18);background:rgba(244,63,94,.08)}.status-icon.status-unknown{border:1px solid rgba(251,191,36,.17);background:rgba(245,158,11,.07)}.status-icon.status-checking{border:1px solid rgba(129,140,248,.17);background:rgba(99,102,241,.08)}
.spinner{width:12px;height:12px;border:1.5px solid rgba(129,140,248,.22);border-top-color:#818cf8;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.toast{position:fixed;left:50%;bottom:24px;z-index:50;transform:translate(-50%,18px);opacity:0;pointer-events:none;border:1px solid rgba(167,139,250,.16);border-radius:12px;background:rgba(15,23,42,.94);padding:.65rem .9rem;color:#ddd6fe;box-shadow:0 15px 50px rgba(0,0,0,.35);font-size:11px;transition:.2s ease;backdrop-filter:blur(14px)}.toast.show{transform:translate(-50%,0);opacity:1}
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{border-radius:99px;background:rgba(100,116,139,.22)}
@media(max-width:1023px){#domainsInput{min-height:220px}.glass-shell{min-height:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
