@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #000000;
  --window: #000000;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --dim: #767676;
  --green: #43b581;
  --yellow: #faa61a;
  --red: #f04747;
  --gray: #747f8d;
  --accent: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text);
  padding: 24px;
}

.window {
  width: 100%;
  max-width: 560px;
  background: var(--window);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: visible;
  position: relative;
  box-shadow:
    0 0 40px 4px rgba(255, 255, 255, 0.12),
    0 0 90px 20px rgba(255, 255, 255, 0.08),
    0 30px 80px 10px rgba(255, 255, 255, 0.10);
  animation: underglow 4s ease-in-out infinite;
}

@keyframes underglow {
  0%, 100% {
    box-shadow:
      0 0 40px 4px rgba(255, 255, 255, 0.12),
      0 0 90px 20px rgba(255, 255, 255, 0.08),
      0 30px 80px 10px rgba(255, 255, 255, 0.10);
  }
  50% {
    box-shadow:
      0 0 55px 8px rgba(255, 255, 255, 0.18),
      0 0 120px 30px rgba(255, 255, 255, 0.12),
      0 30px 100px 16px rgba(255, 255, 255, 0.14);
  }
}

.screen {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin: 4px 0 20px;
  background: #000000;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #000000;
  object-fit: cover;
}

.who { display: flex; flex-direction: column; gap: 4px; }

.name-row { display: flex; align-items: center; gap: 8px; }

.username { font-weight: 700; font-size: 15px; }

.status-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray);
  box-shadow: 0 0 0 2px #000000;
}
.status-dot.online { background: var(--green); }
.status-dot.idle { background: transparent; box-shadow: none; }
.status-dot.dnd { background: var(--red); }
.status-dot.offline { background: var(--gray); }

.moon-icon {
  display: none;
  width: 12px;
  height: 12px;
}
.status-dot.idle .moon-icon {
  display: block;
  color: var(--yellow);
  transform: scaleX(-1);
}

.status-label {
  font-size: 12px;
  color: var(--dim);
  text-transform: capitalize;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.platform-row svg {
  width: 12px;
  height: 12px;
  color: var(--dim);
}

.custom-status {
  font-size: 12px;
  color: var(--text);
}
.custom-status:empty { display: none; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -10px 0 20px;
}
.badges:empty { margin: 0; }

.badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid var(--border);
  color: var(--accent);
}

.activity {
  padding: 12px 14px;
  margin: 4px 0 20px;
  background: #000000;
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 6px;
  font-size: 13px;
}

.activity .act-title { color: var(--accent); font-weight: 700; }
.activity .act-detail { color: var(--text); }
.activity .act-state { color: var(--dim); }

.dim { color: var(--dim); margin: 0; }

.footer {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: #000000;
  border-radius: 0 0 10px 10px;
  flex-wrap: wrap;
}

.pill {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid var(--border);
  color: var(--green);
}
.pill.dim { color: var(--dim); }
