:root {
  color-scheme: light;
  --paper: #ecebe3;
  --ink: #202b27;
  --muted: #626960;
  --line: #d0d2c8;
  --orange: #c54627;
  --card: #f8f7f1;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
::selection { background: #f6b08e; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 12px; padding: 12px 18px; background: var(--ink); color: white; z-index: 10; transform: translateY(-160%); border-radius: 6px; }
.skip-link:focus { transform: none; }

.link-page { width: min(100% - 40px, 420px); margin-inline: auto; padding-block: 36px 24px; }
.profile { text-align: center; margin-bottom: 26px; }
.avatar { display: block; width: 88px; height: 88px; margin: 0 auto 13px; border-radius: 50%; object-fit: cover; border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line); }
.profile h1 { font-size: 30px; font-weight: 750; letter-spacing: -.065em; line-height: 1.2; }
.profile h1 > span { color: var(--orange); }
.profile p { margin-top: 7px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.link-stack { display: grid; gap: 9px; }
.link-stack:focus { outline: none; }
.link-card {
  min-width: 0;
  min-height: 61px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 2px 0 #202b2707;
}
a.link-card { transition: transform .15s, border-color .15s, box-shadow .15s; }
a.link-card:hover { transform: translateY(-2px); border-color: #879087; box-shadow: 0 4px 12px #202b270b; }
.link-icon { width: 24px; flex: 0 0 24px; }
.link-icon svg { display: block; width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.link-copy { min-width: 0; flex: 1; display: grid; gap: 4px; }
.link-label { font-size: 14px; font-weight: 600; line-height: 1.3; }
.link-detail { font-size: 11px; line-height: 1.35; color: var(--muted); }
.link-arrow { font-size: 19px; line-height: 1; flex-shrink: 0; }
.social-youtube .link-icon { color: var(--orange); }
.is-pending { background: transparent; box-shadow: none; }
.pending-note { flex-shrink: 0; font-size: 10px; color: var(--muted); }
.discord-link { background: var(--ink); border-color: var(--ink); color: var(--card); }
.discord-link .link-detail { color: #c5cec2; }
a.discord-link:hover { border-color: var(--ink); box-shadow: 0 4px 12px #202b2726; }
.project-links { margin-top: 23px; }
.project-links h2 { margin-bottom: 12px; text-align: center; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
footer { margin-top: 26px; text-align: center; color: var(--muted); font-size: 10px; line-height: 1.5; }

@media (max-width: 370px) {
  .link-page { width: calc(100% - 32px); padding-top: 28px; }
  .link-card { padding-inline: 14px; gap: 12px; }
  .link-label { font-size: 13px; }
  .pending-note { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
