:root {
  color-scheme: dark;
  --background: #0b090f;
  --surface: #121016;
  --surface-hover: #1b1522;
  --text: #f2eef6;
  --muted: #a89bb5;
  --border: #2a2332;
  --purple: #c737ff;
  --lavender: #d2b6ed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--background); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  color: var(--text);
  background: var(--background);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible { outline: 2px solid var(--purple); outline-offset: 5px; }
::selection { color: #fff; background: #77379e; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 20px; top: 12px; z-index: 5;
  padding: 12px 18px; border-radius: 6px;
  background: var(--lavender); color: var(--background);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.profile { width: min(100%, 456px); }
.profile-header { text-align: center; }
.avatar {
  display: block; width: 108px; height: 108px; margin: 0 auto;
  object-fit: contain; border: 1px solid #40304e; border-radius: 50%;
}
.wordmark {
  position: relative; width: 272px; height: 108px; max-width: 100%;
  margin: 14px auto 4px; overflow: hidden; line-height: 1;
}
.wordmark img { display: block; width: 100%; height: auto; transform: translateY(-14px); }
.social-links { display: grid; gap: 10px; margin-top: 32px; scroll-margin-top: 24px; }
.social-link {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 16px;
  min-height: 70px; padding: 18px 22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 9px;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.social-link:hover { background: var(--surface-hover); border-color: #705285; }
.social-link:active { background: #23182b; }
.twitch-link { border-color: #503260; }
.platform-icon { display: block; width: 23px; height: 23px; color: var(--lavender); }
.twitch-link .platform-icon { color: #d991fb; }
.platform-name { font-size: 1rem; font-weight: 600; }
.account { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.footer { margin-top: 32px; text-align: center; font-size: .8125rem; color: #968a9f; }
@media (max-width: 460px) {
  body { padding: 32px 24px; }
  .avatar { width: 96px; height: 96px; }
  .wordmark { width: 248px; height: 98px; margin-top: 10px; }
  .wordmark img { transform: translateY(-12px); }
  .social-links { margin-top: 28px; }
  .social-link { padding: 17px 18px; column-gap: 13px; }
  .footer { margin-top: 28px; }
}
@media (max-width: 390px) {
  .social-link { grid-template-columns: 24px 1fr; row-gap: 0; padding: 12px 18px; }
  .platform-icon { grid-row: 1 / 3; }
  .account { grid-column: 2; }
}
@media (max-height: 740px) and (min-width: 461px) {
  body { padding-block: 24px; }
  .avatar { width: 88px; height: 88px; }
  .wordmark { width: 248px; height: 98px; margin-top: 10px; }
  .social-links { margin-top: 24px; }
  .social-link { min-height: 64px; padding-block: 15px; }
  .footer { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
