/* /socials shares the main site's colors, typefaces and amber Steam button. */
body.socials {
  --profile-width: 22rem;
  --section-gap: clamp(1rem, 3svh, 1.75rem);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Top-aligned with the same top offset as the homepage hero, so the logo sits
     in exactly the same place on both pages. */
  justify-content: flex-start;
  padding: var(--logo-top) var(--gutter) clamp(1.25rem, 4svh, 3rem);
}

.profile,
.socials-footer {
  width: min(100%, var(--profile-width));
  text-align: center;
}

.profile__logo {
  display: block;
  width: var(--logo-w);
  margin: 0 auto var(--section-gap);
  border-radius: 0.75rem;
}

.profile__logo img { width: 100%; height: auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,0.6)); }
.profile__logo:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.links {
  display: grid;
  gap: clamp(0.5rem, 1.3svh, 0.75rem);
  list-style: none;
  padding: 0;
}

.link__icon {
  display: grid;
  place-items: center;
  flex: 0 0 1.15rem;
  height: 1.15rem;
}

.link__icon svg { width: 100%; height: 100%; }

.wishlist-cta .link__icon { flex-basis: 1.25rem; height: 1.25rem; }
.links li:nth-child(even) .pill-frame { transform: scaleX(-1); }

/* Each button gets a darker shade of its own colour as the 3D bottom edge,
   like the orange wishlist button. The default edge is near-black purple, which
   disappears into the background and makes these read as flat labels. */
.link--discord   { --pill-fill: #5865f2;      --pill-edge: #2c3392; }
.link--youtube   { --pill-fill: var(--red);   --pill-edge: #7a1c2f; }
.link--tiktok    { --pill-fill: var(--green); --pill-edge: #3a8a1f; color: var(--purple); }
/* Instagram magenta: the old dark purple sat too close to the page background,
   so neither the button nor its edge stood out. */
.link--instagram { --pill-fill: #c13584;      --pill-edge: #741d4e; }

.link[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.utilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.45rem, 2vw, 0.65rem);
  margin-top: var(--section-gap);
}

.utility-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 4rem;
  padding: 0.4rem 0.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--ink-soft);
  font: clamp(1rem, 4.25vw, 1.15rem)/1.1 var(--font-body);
  text-align: center;
  cursor: pointer;
  transition: color 0.18s ease;
}

.utility-link svg {
  width: 1.65rem;
  height: 1.65rem;
  color: var(--orange);
}

.utility-link:hover { color: var(--orange); }

.utility-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.socials-footer {
  flex-direction: column;
  gap: 0;
  margin-top: 0.75rem;
  padding: 0;
}

.socials-footer .footer__links { gap: 0 0.75rem; }
.socials-footer .footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.socials-footer .footer__links a,
.socials-footer .footer__by {
  color: #c5bdd7;
  font-size: 1.075rem;
}
.socials-footer .footer__links a:hover { color: var(--orange); }

.toast {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 10;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  padding: 0.5rem 1.1rem;
  border-radius: 0.65rem;
  background: var(--orange);
  color: var(--purple);
  font: 1.2rem/1.2 var(--font-body);
  transition: opacity 0.18s ease;
}
.toast.is-visible { opacity: 1; }
