:root {
  --text: #f2f3f5;
  --muted: #b5bac1;
  --subtle: #949ba4;
  --purple: #5865f2;
  --deep: #1e1f22;
  --panel: #2b2d31;
  --input: #383a40;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #111214;
  font: 15px/1.6 Arial, sans-serif;
}
main {
  width: min(680px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 55px 0;
}
.app-bar {
  position: relative;
  height: 120px;
  border-bottom: 1px solid #3b3d43;
  background: var(--panel);
  border-radius: 9px 9px 0 0;
}
.server-icon, .avatar {
  display: grid;
  place-items: center;
  color: white;
  background: var(--purple);
  font-weight: 700;
}
.server-icon { position: absolute; z-index: 2; top: 40px; left: 28px; width: 108px; height: 108px; border: 7px solid var(--panel); border-radius: 50%; object-fit: cover; }
.online-dot { position: absolute; z-index: 3; top: 118px; left: 112px; width: 30px; height: 30px; border: 5px solid var(--panel); border-radius: 50%; background: #23a559; }
.intro { padding: 70px 38px 36px; background: var(--deep); }
.profile-row { display: flex; align-items: center; gap: 16px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; font-size: 1.5rem; box-shadow: 0 0 0 4px var(--deep); object-fit: cover; }
h1 { margin: 0; font-size: 1.7rem; letter-spacing: -.04em; }
.handle, .muted { margin: 0; color: var(--muted); }
.handle { font-size: .82rem; }
.message { margin-top: 38px; padding: 19px 21px; border-radius: 5px; background: var(--panel); }
.message-label { margin: 0 0 12px; color: var(--subtle); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.detail { color: var(--muted); }
ul { margin: 7px 0 0; padding: 0; list-style: none; }
li { margin-top: 3px; }
li::before { content: "›"; display: inline-block; width: 21px; color: var(--subtle); font-weight: 700; }
a { color: #b8c4ff; text-decoration: none; }
a:hover { color: white; text-decoration: underline; }
.current { margin: 0; padding: 25px 38px; color: var(--muted); background: #313338; }
.hash { margin-right: 8px; color: var(--subtle); font-weight: 700; }
nav { display: flex; gap: 10px; padding: 20px 38px 25px; background: var(--deep); border-radius: 0 0 9px 9px; }
nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 4px; background: var(--input); color: var(--muted); font-size: .85rem; }
nav a:hover { background: #454850; color: var(--text); text-decoration: none; }
nav a > span:last-child { margin-left: 6px; color: var(--subtle); }
.nav-icon { color: var(--purple); font-weight: 700; }
@media (max-width: 520px) {
  main { width: calc(100% - 20px); padding-top: 15px; }
  .intro, .current, nav { padding-left: 22px; padding-right: 22px; }
  nav { flex-direction: column; }
}
