  :root {
    --bg: #FFE14D;
    --ink: #000000;
    --card: #FFFFFF;
    --muted: #3a3500;
    --shadow: #000000;
    --avatar-bg: #000000;
    --avatar-ink: #FFE14D;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #17160f;
      --ink: #FFE14D;
      --card: #FFFFFF;
      --muted: #cbbf6a;
      --shadow: #FFE14D;
      --avatar-bg: #FFE14D;
      --avatar-ink: #000000;
    }
  }
  :root[data-theme="dark"] {
    --bg: #17160f;
    --ink: #FFE14D;
    --card: #FFFFFF;
    --muted: #cbbf6a;
    --shadow: #FFE14D;
    --avatar-bg: #FFE14D;
    --avatar-ink: #000000;
  }
  html { scroll-padding-top: env(safe-area-inset-top, 0px); }
  *, *::before, *::after { box-sizing: border-box; }
  body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  .wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 56px 20px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .share {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    right: 14px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: var(--card);
    color: #000;
    display: grid; place-items: center;
    cursor: pointer;
  }
  .share svg { width: 20px; height: 20px; }
  .avatar {
    width: 104px; height: 104px;
    border-radius: 50%;
    background: var(--avatar-bg);
    color: var(--avatar-ink);
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 40px;
    letter-spacing: -0.02em;
    overflow: hidden;
  }
  .avatar img { width: 100%; height: 100%; object-fit: cover; }
  h1 {
    margin: 20px 0 6px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-align: center;
  }
  .bio {
    margin: 0 0 32px;
    max-width: 34ch;
    text-align: center;
    font-size: 17px;
    line-height: 1.4;
    color: var(--muted);
  }
  .links { width: 100%; display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; list-style: none; }
  .link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 0 22px 0 18px;
    background: var(--card);
    color: #000;
    border: 2px solid #000;
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--shadow);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .link .ico { width: 26px; height: 26px; flex: none; color: #000; }
  .link .ico svg { width: 100%; height: 100%; display: block; }
  .link .label { flex: 1; text-align: center; padding: 0 26px 0 12px; }
  .link:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shadow); }
  .link:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--shadow); }
  .link:focus-visible, .share:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
  .feature { background: #000; color: #fff; border-color: #000; }
  .feature .ico { color: #fff; }
  :root[data-theme="dark"] .feature, :root:not([data-theme="light"]) .feature { }
  .socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
  .socials a {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid #000;
    display: grid; place-items: center;
    color: #000;
    transition: transform .12s ease;
  }
  .socials a:hover { transform: translateY(-2px); }
  .socials a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
  .socials svg { width: 22px; height: 22px; }
  .toast {
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
    transform: translate(-50%, 20px);
    background: #000; color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600; font-size: 15px;
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }
  footer { margin-top: 40px; font-size: 14px; color: var(--muted); }
  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
  }
