.links-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% -12%, rgba(237, 118, 95, .19), transparent 38%),
    var(--bg);
}

.links-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 242, .96);
}

.links-header-inner {
  width: min(760px, calc(100% - 36px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .62);
  font-size: .82rem;
  font-weight: 850;
  transition: transform .18s ease, color .18s ease, background .18s ease;
}

.home-link:hover {
  transform: translateY(-2px);
  color: var(--text);
  background: white;
}

.links-main {
  width: min(650px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 86px) 0 70px;
  flex: 1;
}

.links-hero {
  margin-bottom: 34px;
  text-align: center;
}

.links-profile-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  background: linear-gradient(145deg, #ffe4d7, #f3a88d);
  box-shadow: 0 20px 46px rgba(116, 65, 43, .16);
  transform: rotate(-3deg);
}

.links-profile-mark span {
  font-size: 3.45rem;
  transform: rotate(3deg);
  filter: drop-shadow(0 10px 10px rgba(96, 46, 27, .16));
}

.links-eyebrow {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.links-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.06em;
}

.links-description {
  max-width: 460px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: .96rem;
}

.links-list {
  display: grid;
  gap: 12px;
}

.channel-link {
  min-height: 82px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, .86);
  box-shadow: 0 10px 30px rgba(83, 49, 34, .055);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.channel-link:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--channel-color) 48%, var(--line));
  background: white;
  box-shadow: 0 18px 40px rgba(83, 49, 34, .11);
}

.channel-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--channel-color);
  background: color-mix(in srgb, var(--channel-color) 13%, white);
}

.channel-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.channel-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  letter-spacing: -.02em;
}

.channel-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: .78rem;
}

.channel-arrow {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(92, 62, 49, .06);
  transition: transform .18s ease, color .18s ease, background .18s ease;
}

.channel-link:hover .channel-arrow {
  transform: translateX(3px);
  color: white;
  background: var(--channel-color);
}

.channel-link.is-placeholder {
  opacity: .58;
  cursor: not-allowed;
}

.channel-link.is-placeholder:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(83, 49, 34, .055);
}

.links-note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: .72rem;
}

.links-footer {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  background: rgba(255, 253, 249, .68);
}

.links-footer a:hover { color: var(--text); }

.links-noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 10;
  padding: 14px 16px;
  border-radius: 14px;
  color: white;
  text-align: center;
  background: var(--dark);
}

@media (max-width: 560px) {
  .links-header-inner { width: calc(100% - 28px); min-height: 64px; }
  .links-header .brand { font-size: .96rem; }
  .links-header .brand-mark { width: 35px; height: 35px; }
  .home-link { min-height: 38px; padding: 0 13px; font-size: .76rem; }
  .links-main { width: calc(100% - 28px); padding-top: 42px; }
  .links-profile-mark { width: 82px; height: 82px; border-radius: 27px; }
  .links-profile-mark span { font-size: 3.1rem; }
  .links-hero { margin-bottom: 28px; }
  .links-hero h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .links-description { margin-top: 13px; font-size: .88rem; }
  .channel-link { min-height: 75px; grid-template-columns: 42px 1fr auto; gap: 13px; padding: 14px; border-radius: 19px; }
  .channel-icon { width: 42px; height: 42px; border-radius: 13px; }
  .channel-copy strong { font-size: .94rem; }
  .channel-copy small { font-size: .73rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-link, .channel-link, .channel-arrow { transition: none; }
}
