:root {
  --bg: #0b0e12;
  --text: #e8eef8;
  --muted: #9aa8be;
  --border: rgba(255,255,255,0.12);
  --glow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 24px;
}

* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Fundo */
.bg-img {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 1;
}

/* Estrelas */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0 }
.star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: .8;
  animation: twinkle 3s infinite ease-in-out;
}
@keyframes twinkle { 0%,100% { opacity: .15; transform: translateY(0) } 50% { opacity: .95; transform: translateY(-1px) } }

/* Centro */
.wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 40px 18px;
  position: relative;
  z-index: 1;
}

.center { display: grid; place-items: center; gap: 12px }
.avatar {
  width: 160px; height: 160px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.18);
  box-shadow: var(--glow);
}
.avatar img { width: 100%; height: 100%; object-fit: cover }
.name { font-size: 30px; font-weight: 800; letter-spacing: .3px; margin: 8px 0 0; text-align: center }
.bio { margin: 2px 0 6px; color: var(--muted); text-align: center }


.np {
  margin-top: 14px;
  display: none;                 
  gap: 14px; align-items: center; justify-content: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0,0,0,.25);
}
.np img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #0b0e12 }
.np .meta { min-width: 0; max-width: 320px; text-align: left }
.np .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.np .a { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }

.embed {
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}


@media (max-width: 480px) {
  .avatar { width: 132px; height: 132px }
  .name { font-size: 24px }
}
