/* Blacklist4d link-in-bio page (links.html). Standalone, no side rail.
   Reuses shared tokens, .mark wordmark, .linkrow cards, theme toggle, age gate. */

body.links-page { margin: 0; min-height: 100vh; }
/* No bottom tab bar on this page, so drop the shared mobile padding meant for it. */
@media (max-width: 980px) {
  body.links-page { padding-bottom: 0; }
  .links-page .toast { bottom: 24px; }
}

.links-bar {
  position: fixed;
  top: 0; right: 0;
  z-index: 40;
  padding: max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 12px 12px;
}

.links-wrap {
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
@media (min-width: 800px) {
  .links-wrap { width: min(480px, calc(100% - 48px)); padding: 56px 0 72px; }
}

.links-head { text-align: center; margin-bottom: 22px; }
.links-head .prompt { margin: 0 0 22px; text-align: left; }

.links-pfp {
  width: 120px; height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 16px;
  background: var(--panel);
  /* subtle signal-red ring, with a hairline of page bg as a gap */
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--red), 0 0 22px rgba(var(--red-rgb), .28);
}
@media (min-width: 800px) {
  .links-pfp { width: 136px; height: 136px; margin-bottom: 18px; }
}
html[data-theme="light"] .links-pfp { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--red); }

.links-head .mark { font-size: clamp(28px, 8vw, 38px); justify-content: center; }
.links-tagline {
  margin: 12px auto 0;
  max-width: 28ch;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}
.links-18 {
  margin: 10px 0 0;
  font: 400 11px/1.4 var(--mono);
  letter-spacing: .04em;
  color: var(--muted);
}

.links-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.links-stack .linkrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 12px;
  min-height: 68px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.links-stack .linkrow .badge {
  grid-row: auto;
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}
.links-stack .l-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.links-stack .l-name { font-size: 16px; }
.links-stack .l-note {
  grid-column: auto;
  font-size: 12px;
  color: var(--muted);
}
.links-stack .l-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.links-stack .l-arrow {
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  transition: color .15s, transform .15s;
}
.links-stack .linkrow:hover .l-arrow,
.links-stack .linkrow:focus-visible .l-arrow { color: var(--acc); transform: translateX(2px); }
.links-stack .linkrow:active { transform: translateY(0) scale(.985); }
.links-stack .linkrow.is-soon {
  opacity: .72;
}
.links-stack .linkrow.is-soon:hover { opacity: .9; }
.links-stack .linkrow .soon-tag { margin-left: 0; }

.links-foot {
  margin-top: auto;
  padding-top: 28px;
  text-align: center;
}
.links-foot p { margin: 0; font-size: 12px; color: var(--muted); }
.links-foot p + p { margin-top: 4px; }
.links-foot strong { color: var(--text); }
.links-foot .eof { margin-top: 10px; }
