/* ==========================================================================
   U02 — Link in bio (templates/link-in-bio.html)
   Narrow single column, sized for phones; centred on desktop.
   ========================================================================== */

/* ---- Page frame ------------------------------------------------------- */
.bio {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 440px;
  margin: 0 auto;
  padding: 40px 20px 110px;
}

/* ---- Profile ---------------------------------------------------------- */
.bio__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.bio__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, var(--ph) 0 10px, var(--ph-stripe) 10px 11px);
  filter: var(--img-filter);
}

.bio__name {
  font-size: 34px;
  line-height: 1;
}

.bio__tagline {
  margin: 0;
  color: var(--muted);
}

/* ---- Latest case ------------------------------------------------------ */
.bio-latest {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.bio-latest:hover {
  color: var(--ink);
}

.bio-latest__caption {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}

.bio-latest__title {
  font-weight: 600;
}

/* ---- Link buttons ----------------------------------------------------- */
.bio-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bio-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.bio-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.bio-link__title {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.bio-link__sub {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.bio-link--primary {
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
}

.bio-link--primary:hover {
  background: var(--accent-text);
  color: var(--on-accent);
}

.bio-link--primary .bio-link__sub {
  color: inherit;
}

/* ---- Social & footer -------------------------------------------------- */
.bio__social {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 15px;
}

.bio__footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
