/* UsernameChecker — Social Existence style + snapat-like chrome */
:root {
  --se-bg: #4b1d6b;
  --se-bg-deep: #3a1456;
  --se-panel: rgba(20, 8, 36, 0.42);
  --se-green: #8cff2e;
  --se-green-dark: #62c918;
  --se-red: #ff4d6d;
  --se-ink: #ffffff;
  --se-muted: rgba(255, 255, 255, 0.78);
  --se-soft: rgba(255, 255, 255, 0.14);
  --se-radius: 10px;
  --font: "Segoe UI", "Trebuchet MS", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.se-body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--se-ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255,255,255,0.12), transparent 60%),
    linear-gradient(165deg, #5a2480 0%, var(--se-bg) 45%, var(--se-bg-deep) 100%);
}

a { color: var(--se-green); text-decoration: none; }
a:hover { text-decoration: underline; }

.se-wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.se-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.se-brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.se-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}
.se-nav a {
  color: var(--se-muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.se-nav a[aria-current="page"],
.se-nav a:hover { color: #fff; text-decoration: none; }

.se-hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
  animation: seFade 0.55s ease both;
}
.se-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  line-height: 1.2;
  font-weight: 800;
}
.se-hero p {
  margin: 0 auto 1.6rem;
  max-width: 38rem;
  color: var(--se-muted);
  font-size: 1.05rem;
}
.se-hero .accent { color: var(--se-green); }

.se-search {
  display: flex;
  gap: 0.55rem;
  max-width: 560px;
  margin: 0 auto;
}
.se-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 8px;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  color: #fff;
  background: var(--se-panel);
  outline: none;
}
.se-search input::placeholder { color: rgba(255,255,255,0.45); }
.se-search button {
  border: 0;
  border-radius: 8px;
  padding: 0.95rem 1.15rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #163000;
  background: var(--se-green);
  cursor: pointer;
  white-space: nowrap;
}
.se-search button:hover { background: #a6ff4d; }

.se-progress {
  text-align: center;
  padding: 4rem 0;
  animation: seFade 0.35s ease both;
}
.se-progress h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}
.se-progress .pct { color: var(--se-green); }
.se-progress p { color: var(--se-muted); margin: 0; }
.se-progress .hl { color: var(--se-green); font-weight: 700; }

.se-results-head {
  text-align: center;
  margin: 1rem 0 1.5rem;
  animation: seFade 0.45s ease both;
}
.se-results-head h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 3.6vw, 2.2rem);
}
.se-results-head .hl { color: var(--se-green); }
.se-results-head p { margin: 0; color: var(--se-muted); }

.se-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}
@media (max-width: 900px) {
  .se-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .se-grid { grid-template-columns: 1fr; }
}

.se-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--se-soft);
  border-radius: var(--se-radius);
  padding: 0.95rem 0.9rem;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.18s ease, background 0.18s ease;
  animation: sePop 0.35s ease both;
}
.se-card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.1); }
.se-card__url {
  font-size: 0.86rem;
  color: #fff;
  word-break: break-all;
  font-weight: 600;
}
.se-card__status { font-size: 0.92rem; font-weight: 800; }
.se-card.is-taken .se-card__status { color: var(--se-green); }
.se-card.is-available .se-card__status { color: var(--se-red); }
.se-card.is-unknown .se-card__status,
.se-card.is-pending .se-card__status { color: rgba(255,255,255,0.55); }

.se-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}
.se-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.se-btn--primary { background: var(--se-green); color: #163000; }
.se-btn--primary:hover { background: #a6ff4d; text-decoration: none; }
.se-btn--ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.se-btn--ghost:hover { background: rgba(255,255,255,0.16); text-decoration: none; }

.se-seo {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  background: rgba(0,0,0,0.18);
  border: 1px solid var(--se-soft);
  border-radius: 14px;
  color: var(--se-muted);
  line-height: 1.65;
}
.se-seo h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.15rem;
}
.se-seo p { margin: 0 0 0.75rem; }
.se-seo ul { margin: 0; padding-left: 1.15rem; }
.se-seo li { margin-bottom: 0.35rem; }
.se-seo code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: #fff;
  background: rgba(255,255,255,0.1);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.se-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.55rem;
}
@media (max-width: 900px) {
  .se-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  .se-list { grid-template-columns: 1fr !important; }
}
.se-list a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 700;
}
.se-list a:hover { background: rgba(255,255,255,0.14); text-decoration: none; }
.se-list--social { margin-top: 0.85rem; }
.se-pager { display:flex; flex-wrap:wrap; gap:0.45rem; justify-content:center; margin:1.25rem 0; }
.se-pager a, .se-pager span {
  min-width: 2.2rem; text-align:center; padding:0.45rem 0.55rem;
  border-radius: 6px; background: rgba(255,255,255,0.1); color:#fff; font-weight:700;
}
.se-pager .is-current { background: var(--se-green); color:#163000; }

.se-ad-slot {
  min-height: 100px;
  margin: 1.25rem 0;
  text-align: center;
  overflow: hidden;
}

.se-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--se-soft);
  text-align: center;
}
.se-footer__tagline {
  margin: 0 0 0.85rem;
  color: var(--se-muted);
}
.se-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  margin-bottom: 0.9rem;
}
.se-footer__nav a { color: rgba(255,255,255,0.88); font-size: 0.9rem; font-weight: 600; }
.se-footer__bglinks { margin: 0.75rem 0; }
.se-footer__bglinks-intro {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.se-footer__bglinks-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.85rem;
}
.se-footer__sep { color: rgba(255,255,255,0.35); }
.se-footer__copy { margin: 0.75rem 0 0.35rem; font-size: 0.9rem; }
.se-footer__disclaimer {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  max-width: 40rem;
  margin-inline: auto;
}

@keyframes seFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes sePop {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: none; }
}
